@marimo-team/islands 0.25.3-dev30 → 0.25.3-dev301

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1022) hide show
  1. package/dist/{ConnectedDataExplorerComponent-7EaP9VWb.js → ConnectedDataExplorerComponent-X-_Gsw0B.js} +153 -177
  2. package/dist/{ErrorBoundary-2Tp_7IgE.js → ErrorBoundary-D2XuUNty.js} +79 -85
  3. package/dist/{ImageComparisonComponent-uU8FSKZE.js → ImageComparisonComponent-DgvSuY9B.js} +20 -20
  4. package/dist/{Plot-DdYOe1UK.js → Plot-Bfd0pJea.js} +2474 -3107
  5. package/dist/_baseSet-Bd5zh2yg.js +327 -0
  6. package/dist/{abnfDiagram-VCTEODGH-z_OSynK8.js → abnfDiagram-VCTEODGH-B8nNWmL7.js} +5 -5
  7. package/dist/any-language-editor-DhAtCzlx.js +75 -0
  8. package/dist/{apl-GEW9-ZP1.js → apl-stFrI2NB.js} +1 -1
  9. package/dist/{arc-7ra3iNdN.js → arc-4W6H62B5.js} +1 -1
  10. package/dist/architecture-7GRP2DOG-GlkXha5_.js +2 -0
  11. package/dist/{architectureDiagram-5GKGNRK7-Cs8J8BZr.js → architectureDiagram-5GKGNRK7-DcfTzRDz.js} +48 -64
  12. package/dist/{arrays-CN1djC4k.js → arrays-DoQ-AILx.js} +15 -27
  13. package/dist/{asciiarmor-BWNxzkG7.js → asciiarmor-DHwFuaIC.js} +1 -1
  14. package/dist/{asn1-Bcn2QutK.js → asn1-KIH4fwAq.js} +1 -1
  15. package/dist/assertNever-De6m1Aro.js +507 -0
  16. package/dist/assets/__vite-browser-external-BzfoKXxV.js +1 -0
  17. package/dist/assets/worker-DVG30pr3.js +171 -0
  18. package/dist/{blockDiagram-I7D4REHJ-Cg25UrxT.js → blockDiagram-I7D4REHJ-B4cvqWJn.js} +28 -39
  19. package/dist/{brainfuck-BQCYDheZ.js → brainfuck-UPAij4U9.js} +1 -1
  20. package/dist/{button-CvjkwdSk.js → button-BuSV-mLI.js} +64 -64
  21. package/dist/{c4Diagram-7LVT6UL2-BxFgrnNV.js → c4Diagram-7LVT6UL2-k-4SLDdM.js} +8 -8
  22. package/dist/{capabilities-CQ5IjhzL.js → capabilities-BiN90k7v.js} +2 -2
  23. package/dist/{channel-CPObtJXj.js → channel-CuTaWMxU.js} +1 -1
  24. package/dist/{chat-ui-BeKQyQQI.js → chat-ui-CtbON6Zl.js} +2142 -1869
  25. package/dist/{check-BMKBBrdc.js → check-C7fmwkwt.js} +1 -1
  26. package/dist/{chunk-4HAMMTFA-D4eFPyFh.js → chunk-4HAMMTFA-Bk_5S_m9.js} +6 -6
  27. package/dist/{chunk-75Z2AOVW-D7gxIs2Q.js → chunk-75Z2AOVW-9jQIEAxd.js} +4 -4
  28. package/dist/{chunk-DU6HZSFF-BwiyaNpg.js → chunk-DU6HZSFF-B20LZ-hE.js} +14 -22
  29. package/dist/{chunk-F27PBJKO-ufseIn5y.js → chunk-F27PBJKO-YjRXlNkT.js} +3 -3
  30. package/dist/{chunk-FOHPRMQF-BpYR8RqP.js → chunk-FOHPRMQF-ezmr_yWy.js} +49 -58
  31. package/dist/{chunk-GMAD6QVW-BhaJx0X3.js → chunk-GMAD6QVW-DokpSFdf.js} +16 -75
  32. package/dist/{chunk-GVQU2GXP-Cwbt-lF0.js → chunk-GVQU2GXP-DGvySV5W.js} +3 -3
  33. package/dist/{chunk-IMKFNOWR-aoSFasqF.js → chunk-IMKFNOWR-BHJ3ZxAy.js} +8 -8
  34. package/dist/{chunk-L3NEJ4N5-n-zgIVSy.js → chunk-L3NEJ4N5-D9-ekjZc.js} +6 -6
  35. package/dist/{chunk-OSK3NFVY-DXa-Cxbn.js → chunk-OSK3NFVY-p7meGiY-.js} +8 -8
  36. package/dist/{chunk-P2QGCYS3-B_Zd3-X0.js → chunk-P2QGCYS3-74rxrEwb.js} +1 -1
  37. package/dist/{chunk-POPQ4Y6H-hYOXbYH_.js → chunk-POPQ4Y6H-EOTPk9Tj.js} +2 -2
  38. package/dist/{chunk-PWAF6VOD-CQw5qATZ.js → chunk-PWAF6VOD-oT_Qd2OU.js} +2 -2
  39. package/dist/{chunk-SHT3W25Y-CMaybO3O.js → chunk-SHT3W25Y-CkOPJgVC.js} +10 -10
  40. package/dist/{chunk-SVP7TREG-BNBrTAw1.js → chunk-SVP7TREG-rDd35EZ7.js} +3 -3
  41. package/dist/{chunk-TICWLB2K-DXNxvUJn.js → chunk-TICWLB2K-uKdr5PNy.js} +10 -10
  42. package/dist/{chunk-XXDRQBXY-Dnl5VBqG.js → chunk-XXDRQBXY-BM-YIt-_.js} +1 -1
  43. package/dist/{chunk-YOKDWASO-DKplTrBY.js → chunk-YOKDWASO-KxncHymC.js} +153 -378
  44. package/dist/classDiagram-ZZMXUADV-DctWoMRF.js +30 -0
  45. package/dist/classDiagram-v2-VYDZK3BY-DyanDjSq.js +30 -0
  46. package/dist/{clike-CxK9W55Z.js → clike-xU8sCVU1.js} +2 -6
  47. package/dist/{clojure-Dzcvwpxk.js → clojure-psoSEo36.js} +1 -1
  48. package/dist/{cmake-DYr-71zp.js → cmake-DDHBwlE7.js} +1 -1
  49. package/dist/{cobol-DC3g37Kq.js → cobol-C4qjDcIq.js} +1 -1
  50. package/dist/{code-visibility-891-xGjh.js → code-visibility-Y0zfGGT1.js} +43 -50
  51. package/dist/{coffeescript-C-eFwH5N.js → coffeescript-D6UgrGgo.js} +1 -1
  52. package/dist/{common-_IunO2z-.js → common-B_rBSwAA.js} +10624 -10120
  53. package/dist/{commonlisp-CyaNXrJR.js → commonlisp-B0ChVjnu.js} +1 -1
  54. package/dist/{compiler-runtime-CldRdSsv.js → compiler-runtime-DNezxW8I.js} +2 -2
  55. package/dist/config-C4oddKcw.js +633 -0
  56. package/dist/{copy-icon-BgUO8jsi.js → copy-icon-CVrC6aa6.js} +21 -22
  57. package/dist/{cose-bilkent-JH36ORCC-_LyRKVqm.js → cose-bilkent-JH36ORCC-B_Oz4vMP.js} +58 -71
  58. package/dist/createReducer-DzlYBqjn.js +67 -0
  59. package/dist/{crystal-ih5ax5tQ.js → crystal-DZsc9Ue0.js} +1 -1
  60. package/dist/{css-CN_wP7_R.js → css-DkYRnQ9U.js} +1 -1
  61. package/dist/{cubic-OaEBhQPK.js → cubic-CA80xY_e.js} +6 -7
  62. package/dist/cynefin-OW5HDTMX-0-HehVvH.js +2 -0
  63. package/dist/{cynefinDiagram-5FMLGOSQ-DWHuKJs8.js → cynefinDiagram-5FMLGOSQ-uEhVcLHR.js} +5 -5
  64. package/dist/{cypher-CqGRcmZo.js → cypher-CpWPqgvy.js} +1 -1
  65. package/dist/{cytoscape.esm-jJhXJpLB.js → cytoscape.esm-BbeMznK5.js} +411 -512
  66. package/dist/{d-Cj0sOW2z.js → d-Bx2ggfYO.js} +1 -1
  67. package/dist/{dagre-BGSfXNEb.js → dagre-CpjuekF1.js} +550 -700
  68. package/dist/{dagre-GXQ25YYZ-DYLu-OCU.js → dagre-GXQ25YYZ-B_NBKhOr.js} +14 -16
  69. package/dist/{data-grid-overlay-editor-TVf1Kaxm.js → data-grid-overlay-editor-04SWN9ol.js} +5 -5
  70. package/dist/{data-grid-types-0PJ-9N5n.js → data-grid-types-CSElxhxo.js} +1 -1
  71. package/dist/{debounce-C3jyATpc.js → debounce-DrhhziJv.js} +2 -2
  72. package/dist/{diagram-S7CK7UJ4-PwwcUOHP.js → diagram-S7CK7UJ4-BQr1iw91.js} +7 -15
  73. package/dist/{diagram-UQ7AKVKN-CvJbL_IM.js → diagram-UQ7AKVKN-DsAjdQ2j.js} +5 -5
  74. package/dist/{diagram-VSXAHHWV-BJWcVVJY.js → diagram-VSXAHHWV-CodTjaL3.js} +6 -6
  75. package/dist/{diagram-VX7I27RA-B5RkqnzN.js → diagram-VX7I27RA-0VAUrHmz.js} +7 -7
  76. package/dist/{diagram-Z3DM3KII-CyijwTR2.js → diagram-Z3DM3KII-C1aEuADo.js} +5 -5
  77. package/dist/{dialog-Cc479ZEH.js → dialog-U3stKkkL.js} +36 -36
  78. package/dist/{diff-B_hUkiat.js → diff-DNXaJS8v.js} +1 -1
  79. package/dist/{dist-D6d86eNJ.js → dist-B-Id1kt3.js} +48 -47
  80. package/dist/{dist-DiDibOYr.js → dist-BDw9g6PC.js} +152 -151
  81. package/dist/{dist-diIx5qJW.js → dist-B_EswY8r.js} +33 -32
  82. package/dist/{dist-DoE4XJBC.js → dist-B_xgcU0N.js} +9800 -10654
  83. package/dist/{dist-CLdpGQVr.js → dist-BcGGwW1q.js} +119 -121
  84. package/dist/dist-BdZQUzPS.js +850 -0
  85. package/dist/{dist-CN_BeG2I.js → dist-Bj8s59mu.js} +59 -58
  86. package/dist/{dist-CkTTIdBe.js → dist-C3dYgyiI.js} +337 -337
  87. package/dist/{dist-PXYI_yuP.js → dist-C6ttp2Iy.js} +24 -23
  88. package/dist/{dist-DUAh96QY.js → dist-CB9MzCXv.js} +1 -1
  89. package/dist/{dist-CSbh1PNP.js → dist-CCYz0qJ2.js} +24 -23
  90. package/dist/{dist-BMQf5zIS.js → dist-CDjivQ67.js} +124 -123
  91. package/dist/{dist-D-wwqlzJ.js → dist-CNT4u03u.js} +159 -158
  92. package/dist/{dist-F8Ep36rk.js → dist-DVVzH9mP.js} +60 -59
  93. package/dist/{dist-OR1OnN-y.js → dist-DlniJvh2.js} +32 -31
  94. package/dist/{dist-CSJ0MDRw.js → dist-Dq-hanx8.js} +57 -56
  95. package/dist/{dist-Lm-D-Vr6.js → dist-Du4PgaYp.js} +2 -2
  96. package/dist/{dist-C8fAKSH1.js → dist-FakvNY2e.js} +54 -53
  97. package/dist/{dist-BuaRHxOc.js → dist-K-qmZv0f.js} +45 -44
  98. package/dist/{dist-Cg7gzw-a.js → dist-NPImE_g9.js} +79 -78
  99. package/dist/{dist-CN8zI-XC.js → dist-PKX4HaX5.js} +239 -239
  100. package/dist/{dist-CrSP_H1M.js → dist-U4WlxEDL.js} +243 -243
  101. package/dist/{dist-BK4Oj99o.js → dist-UKKHsqHo.js} +19 -18
  102. package/dist/{dist-Bvs24R_E.js → dist-VRN9rDqa.js} +32 -31
  103. package/dist/{dist-BorMD-uX.js → dist-f1h5p-fp.js} +76 -75
  104. package/dist/{dist-BLfKmR-l.js → dist-h8Te4SvD.js} +17 -16
  105. package/dist/{dist-DBtSl3sf.js → dist-ymIUQ4tH.js} +48 -50
  106. package/dist/dropdown-menu-BMtxnyHc.js +5982 -0
  107. package/dist/{dtd-B8FGSWWe.js → dtd-D1YZQCVT.js} +1 -1
  108. package/dist/{dylan-DbIBYIrw.js → dylan-CxbG-PUm.js} +2 -2
  109. package/dist/{ebnfDiagram-PWID7BFC-DG90ELFp.js → ebnfDiagram-PWID7BFC-oBie_-vi.js} +5 -5
  110. package/dist/{ecl-DBmkdWAd.js → ecl-DIXH6vul.js} +1 -1
  111. package/dist/{eiffel-CcWSDDzK.js → eiffel-D0de-eQr.js} +1 -1
  112. package/dist/{elm-MC-b8a6C.js → elm-DrQrn4VD.js} +1 -1
  113. package/dist/{erDiagram-RLTQ6QDP-FMo_SpyX.js → erDiagram-RLTQ6QDP-DtWDCiaw.js} +14 -14
  114. package/dist/{erlang-AdO1-xtV.js → erlang-2KpKpfC7.js} +1 -1
  115. package/dist/{error-banner-CFPHFw4h.js → error-banner-CfIck83X.js} +91 -91
  116. package/dist/error-entries-CjsQY6ym.js +2581 -0
  117. package/dist/{esm-G4Fhsgng.js → esm-BUoz9Vvv.js} +4 -4
  118. package/dist/{esm-AMFssoNp.js → esm-BvhFNYzM.js} +333 -333
  119. package/dist/{esm-D2gTsXEV.js → esm-wKplZtOX.js} +580 -581
  120. package/dist/eventmodeling-NTZA5JFV-DoBvB4Lj.js +2 -0
  121. package/dist/{factor-Ys-13HOP.js → factor-Bwu3ZGOk.js} +1 -1
  122. package/dist/feedback-button-DoriP8b7.js +370 -0
  123. package/dist/flowDiagram-HODETNUW-EXK7bg_t.js +15 -0
  124. package/dist/{formats-DRHUWwSK.js → formats-G0-mQsFy.js} +9 -9
  125. package/dist/{forth-DiMuIXFe.js → forth-DYatDpr6.js} +2 -3
  126. package/dist/{fortran-hkrF2eM4.js → fortran-n8mcQPkL.js} +1 -1
  127. package/dist/{ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js → ganttDiagram-EL5Y4UJY-DyUab7aO.js} +17 -17
  128. package/dist/{gas-DlhqN9k8.js → gas-BUZOHBVw.js} +1 -1
  129. package/dist/{gherkin-0SlhEZ3t.js → gherkin-CrSjX26K.js} +1 -1
  130. package/dist/gitGraph-4MIJSDKK-Ch7kj-d2.js +2 -0
  131. package/dist/{gitGraphDiagram-WWUBYQGX-D5nSIzdE.js → gitGraphDiagram-WWUBYQGX-BPeDECwG.js} +4 -4
  132. package/dist/{glide-data-editor-ugYWecYd.js → glide-data-editor-BU_jOTDv.js} +6619 -2875
  133. package/dist/{glide-utils-pisbYVjH.js → glide-utils-BkcGyXLQ.js} +109 -78
  134. package/dist/{globals-BdBjL67a.js → globals-DziKJCFY.js} +3 -3
  135. package/dist/{graphlib-BmY_CCV9.js → graphlib-nlwT3Wvy.js} +177 -220
  136. package/dist/{groovy-YhcTMyvX.js → groovy-IgGNjeU9.js} +1 -1
  137. package/dist/hasIn-C20JsQ2m.js +28 -0
  138. package/dist/{haskell-CodLxrtT.js → haskell-Bs1k3a9s.js} +1 -1
  139. package/dist/{haxe-CiRWNFkH.js → haxe-CQ8Yb3XF.js} +1 -1
  140. package/dist/{highlighted-body-KPVGNVTW-3Ziwfz-V.js → highlighted-body-KPVGNVTW-XbLtWlYz.js} +4 -4
  141. package/dist/{error-entries-CnqKxhU9.js → html-to-image-CIm3PqDi.js} +26032 -26377
  142. package/dist/{idl-DZgBq75I.js → idl-DjnxoAWx.js} +1 -1
  143. package/dist/info-A6RAGUB7-DCz_Egh9.js +2 -0
  144. package/dist/{infoDiagram-27XIBGKW-CRSDtRrd.js → infoDiagram-27XIBGKW-N4ajFTXv.js} +4 -4
  145. package/dist/isArrayLikeObject-B-HXCsex.js +626 -0
  146. package/dist/isEmpty-CdX7MTE1.js +14 -0
  147. package/dist/{ishikawaDiagram-5VMMS53U-DxLEUldB.js → ishikawaDiagram-5VMMS53U-Bb2itmv5.js} +5 -7
  148. package/dist/{javascript-BfNytHiM.js → javascript-BQtCoAFy.js} +2 -2
  149. package/dist/{journeyDiagram-3NMN7TZE-BaLqn-dZ.js → journeyDiagram-3NMN7TZE-D7hcb3Vx.js} +4 -4
  150. package/dist/{jsx-runtime-3BD1kT0s.js → jsx-runtime-6ZiU38At.js} +1 -1
  151. package/dist/{julia--tLIAG7q.js → julia-BfgtHJE5.js} +1 -1
  152. package/dist/{kanban-definition-UXKFOSKX-BLhvu8o4.js → kanban-definition-UXKFOSKX-DWfkIEDX.js} +10 -10
  153. package/dist/{katex-BIdZGsyO.js → katex-BmPSeP5t.js} +15 -24
  154. package/dist/{linear-DWERh7eI.js → linear-BhKepphY.js} +2 -3
  155. package/dist/{livescript-CVPfYnY_.js → livescript-gIdRPKtg.js} +1 -1
  156. package/dist/{loader-BPdQhmlq.js → loader-BIlwkY0d.js} +3 -3
  157. package/dist/{lua-4Fa-T-qq.js → lua-CxFpWvnv.js} +2 -2
  158. package/dist/main.js +10380 -8501
  159. package/dist/{mathematica-CtYAy6GG.js → mathematica-QSveeEoW.js} +1 -1
  160. package/dist/{mbox-D0w9Ah1C.js → mbox-2JtaCPNT.js} +1 -1
  161. package/dist/{mermaid-Bjm6C1qN.js → mermaid-BEBd0PHi.js} +170 -176
  162. package/dist/mermaid-HWGCJPDP-_lKUMvTM.js +1 -0
  163. package/dist/{mermaid-parser.core-DxuSfYwJ.js → mermaid-parser.core-DtOnl7m4.js} +19 -25
  164. package/dist/{mhchem-CdWPJK6g.js → mhchem-CjWbCsjZ.js} +1 -1
  165. package/dist/{micromark-factory-space-DGxAzmw8.js → micromark-factory-space-C5soVmaM.js} +1 -1
  166. package/dist/{mindmap-definition-YA3MSWOX-g2LwxnYQ.js → mindmap-definition-YA3MSWOX-CmGSiRxU.js} +13 -13
  167. package/dist/{mirc-De9aSAZM.js → mirc-BqD6ade4.js} +1 -1
  168. package/dist/{mllike-BbugeaY_.js → mllike-CT0hgEOO.js} +1 -1
  169. package/dist/{modelica-BjJwWw1F.js → modelica-DKKebcvq.js} +1 -1
  170. package/dist/{mscgen-DwiRH5ma.js → mscgen-BJCCsWjR.js} +1 -1
  171. package/dist/{mumps--plbDM9o.js → mumps-DVQAXZkU.js} +1 -1
  172. package/dist/{nginx-C4Df7REc.js → nginx-AP4LH2NN.js} +1 -1
  173. package/dist/{node-sql-parser-BiZOJ-FS.js → node-sql-parser-C9dndbfr.js} +7184 -7195
  174. package/dist/{now-jM8-M7IR.js → now-BKZCLE5P.js} +12 -13
  175. package/dist/{nsis-fiiOqLc3.js → nsis-Cah9xkdT.js} +1 -1
  176. package/dist/{ntriples-jV77I4k8.js → ntriples-CQoaLOV6.js} +2 -2
  177. package/dist/{number-overlay-editor-I4AHjcHG.js → number-overlay-editor-BaZBWVbO.js} +14 -19
  178. package/dist/{objects-CzUgoMIF.js → objects-DCmMvZtn.js} +1 -3
  179. package/dist/{octave-Cztd01tF.js → octave-CeDj2bTn.js} +1 -1
  180. package/dist/{once-BtE-wKRL.js → once-NnpX_HnX.js} +1 -1
  181. package/dist/{oz-Bl8o3BDl.js → oz-BksQrg3k.js} +1 -1
  182. package/dist/packet-AYTQ26CC-DEMHgLPq.js +2 -0
  183. package/dist/{pascal-BO5JqysR.js → pascal-BKL17mpl.js} +1 -1
  184. package/dist/{pegDiagram-XKGWAZYB-CpMAt3Qs.js → pegDiagram-XKGWAZYB-dXflGNi0.js} +5 -5
  185. package/dist/pencil-BGy5pfXo.js +10 -0
  186. package/dist/{perl-Drlh9s6m.js → perl-CacqJ-Ss.js} +1 -1
  187. package/dist/pick-DgpAbcwP.js +35 -0
  188. package/dist/pie-WAS4IAKB-DMjTEeHd.js +2 -0
  189. package/dist/{pieDiagram-E7YTZNPT-CVTthoZo.js → pieDiagram-E7YTZNPT-Bl9G_NNa.js} +7 -7
  190. package/dist/{pig-BWGR8wZw.js → pig-CXSGZ_K9.js} +1 -1
  191. package/dist/{powershell-DT99xlz_.js → powershell-DY_yIxBM.js} +3 -6
  192. package/dist/{process-output-DgQrilBD.js → process-output-DAVapIAQ.js} +5 -5
  193. package/dist/{properties-Q-rkxld0.js → properties-Om0IDE07.js} +1 -1
  194. package/dist/{protobuf-DKyWZbs7.js → protobuf-B8nxxb4Q.js} +1 -1
  195. package/dist/{pug-42ZJUbEC.js → pug-lkUBPvVS.js} +3 -7
  196. package/dist/{puppet-B4UozHhh.js → puppet-DMkXsi4d.js} +1 -1
  197. package/dist/purify.es-DmnrIjg4.js +877 -0
  198. package/dist/{python-DREjAV__.js → python-JQVycMgr.js} +1 -1
  199. package/dist/{q-Bi63IpBO.js → q-DqE__nNB.js} +1 -1
  200. package/dist/{quadrantDiagram-AXDQQJYC-Blrm7V7_.js → quadrantDiagram-AXDQQJYC-DLJJzlPi.js} +3 -3
  201. package/dist/{r-DSwXWKMR.js → r-Cbliap7Q.js} +1 -1
  202. package/dist/radar-RG4KPBEZ-9PwdCvai.js +2 -0
  203. package/dist/railroad-74A4TZTK-8N9kF5jl.js +2 -0
  204. package/dist/railroad-abnf-HS5TGJTU-Sg6YmzlR.js +2 -0
  205. package/dist/railroad-ebnf-LZEXJU2U-CYwp2Oee.js +2 -0
  206. package/dist/railroad-peg-WCYAUIDC-BfDkAuQ3.js +2 -0
  207. package/dist/{railroadDiagram-O6MQD6OU-ao8cqqFB.js → railroadDiagram-O6MQD6OU-Dg7GUHj4.js} +5 -5
  208. package/dist/{react-sHtZdjeP.js → react-CHbZqgBF.js} +1 -1
  209. package/dist/{react-dom-DUmH0GXv.js → react-dom-DhWGW7e0.js} +3 -3
  210. package/dist/{react-vega-BDpbvBCb.js → react-vega-DVr24mNk.js} +8514 -8597
  211. package/dist/{requirementDiagram-BXWQKSXE--J8vyfm-.js → requirementDiagram-BXWQKSXE-JNZB3XKK.js} +13 -13
  212. package/dist/{reveal-component-Bb5vzlMs.js → reveal-component-vRQ0ZbEq.js} +1171 -1284
  213. package/dist/{rolldown-runtime-Cb76FRpK.js → rolldown-runtime-BPCzCO3I.js} +1 -1
  214. package/dist/{rpm-DPb1DeKM.js → rpm-DmT_LNpE.js} +1 -1
  215. package/dist/{ruby-U7fZA4DP.js → ruby-BHVZTtLW.js} +1 -1
  216. package/dist/{sankeyDiagram-P5KCCOFB-ELvOcnZH.js → sankeyDiagram-P5KCCOFB-Bd7wvmbF.js} +2 -2
  217. package/dist/{sas-CLk1JpTn.js → sas-CrG5N1he.js} +1 -1
  218. package/dist/{scheme-CT-2k2Tl.js → scheme-BHUnz-IB.js} +1 -1
  219. package/dist/select-Ba_tMQWZ.js +1200 -0
  220. package/dist/{semaphore-89jsoHtS.js → semaphore-8KhQouXt.js} +4 -5
  221. package/dist/{sequenceDiagram-WJ2MYXX4-CiQbn62x.js → sequenceDiagram-WJ2MYXX4-DekbwWOI.js} +6 -6
  222. package/dist/{shell-BLO7fcsk.js → shell-C5IBmRU5.js} +1 -1
  223. package/dist/{sieve-nG3C7WNH.js → sieve-BzCnt_E6.js} +2 -2
  224. package/dist/{sizeCapture-INFHLROL-Dx5SpkQF.js → sizeCapture-INFHLROL-DBeZ20mI.js} +1 -1
  225. package/dist/{smalltalk-BROcZybA.js → smalltalk-DQFAQul3.js} +1 -1
  226. package/dist/{solr-mVltHNc5.js → solr-BiapYPCk.js} +1 -1
  227. package/dist/{sparql-Cv1Ksr4v.js → sparql-BcUKO1is.js} +1 -1
  228. package/dist/{spec-D_u2ipzF.js → spec-CN3OxHz7.js} +42 -12
  229. package/dist/{src-CA_m4ONl.js → src-D5uZaZib.js} +8 -14
  230. package/dist/{stateDiagram-D77RDMKH-DVEeGs5b.js → stateDiagram-D77RDMKH-COzvSaN-.js} +18 -18
  231. package/dist/stateDiagram-v2-MP3YSRHH-rCvxZ0L8.js +30 -0
  232. package/dist/static-state-BJdfR8Bn.js +68 -0
  233. package/dist/{stex-Btf3omL8.js → stex-CQ_aCGTF.js} +1 -1
  234. package/dist/style.css +1 -1
  235. package/dist/{stylus-Dt4VvLXL.js → stylus-D4gHF5lg.js} +1 -1
  236. package/dist/{swift-DHsn_CVI.js → swift-CnvIBnbt.js} +1 -1
  237. package/dist/{swimlanes-42K2YHIH-CqkGoGqn.js → swimlanes-42K2YHIH-DX2mMlXc.js} +37 -59
  238. package/dist/swimlanesDiagram-VR7AAH4N-DswSPZ5e.js +30 -0
  239. package/dist/{swiper-component-DKntyn8p.js → swiper-component-FBPvIqLf.js} +45 -78
  240. package/dist/{tcl-CV0OLBOl.js → tcl-DkOjjZYO.js} +1 -1
  241. package/dist/{textile-D320oKVM.js → textile-DgzBVSEW.js} +1 -1
  242. package/dist/{tiki-BF2aDPlB.js → tiki-MighF8A_.js} +1 -1
  243. package/dist/{time-BaMbJs4z.js → time-Cc-G3e31.js} +2 -2
  244. package/dist/{timeline-definition-24CTP7MA-DLRUNVAx.js → timeline-definition-24CTP7MA-DAT9AlwV.js} +5 -5
  245. package/dist/toast-BRd_eTIj.js +491 -0
  246. package/dist/{toml-CaUN7UHo.js → toml-B0B7UAba.js} +1 -1
  247. package/dist/{tooltip-CtBZ5q8p.js → tooltip-CHvXUQVs.js} +326 -302
  248. package/dist/treeView-Q6P3EWNA-BQywp0E1.js +2 -0
  249. package/dist/treemap-WGGIJYW6-P2ZJnldw.js +2 -0
  250. package/dist/{troff-DQUFcClZ.js → troff-B4IRX71y.js} +1 -1
  251. package/dist/{ttcn-CQL1duJS.js → ttcn-B4tpvdJD.js} +1 -1
  252. package/dist/{ttcn-cfg-BMmEFJPu.js → ttcn-cfg-pfE-1FV8.js} +1 -1
  253. package/dist/{turtle-C3esgsRr.js → turtle-Bc97ufp6.js} +1 -1
  254. package/dist/use-restore-focus-Ckq0jQzc.js +7534 -0
  255. package/dist/{use-vega-container-remeasure-Bz4PZMtt.js → use-vega-container-remeasure-DFBTESqc.js} +4 -8
  256. package/dist/{useAsyncData-BneN349z.js → useAsyncData-DMBliR6D.js} +21 -20
  257. package/dist/{useDateFormatter-DkajGwwd.js → useDateFormatter-CIPe17AG.js} +4 -4
  258. package/dist/{useDeepCompareMemoize-Z_7R8wTt.js → useDeepCompareMemoize-Kg-7A4b-.js} +3 -3
  259. package/dist/useEvent-xDnF2X04.js +19 -0
  260. package/dist/{useIframeCapabilities-DBETvvPl.js → useIframeCapabilities--px_wpZL.js} +2 -2
  261. package/dist/useLifecycle-BKVRcyGu.js +112 -0
  262. package/dist/{vb-RK1eDXRl.js → vb-C5kpOY_q.js} +1 -1
  263. package/dist/{vbscript-BCOeM0de.js → vbscript-Ck0hgOg5.js} +1 -1
  264. package/dist/{vega-component-1lFfDE_8.js → vega-component-C23pVuni.js} +167 -172
  265. package/dist/{vega-embed-container-BgKnsDbB.js → vega-embed-container-DAT8OHp9.js} +7 -7
  266. package/dist/{vega-loader.browser-CpbZAXub.js → vega-loader.browser-Cnf7IHA8.js} +236 -239
  267. package/dist/{velocity-CZKOFbOI.js → velocity-2Doc6dgJ.js} +1 -1
  268. package/dist/{vennDiagram-4TSXK5OY-CypgoBVZ.js → vennDiagram-4TSXK5OY-E7CMtY2M.js} +4 -4
  269. package/dist/{verilog-DqQTzVn8.js → verilog-CmZmYe4R.js} +2 -2
  270. package/dist/{vhdl-vQr2bfmi.js → vhdl-esMnUHZm.js} +1 -1
  271. package/dist/wardley-WFR3VGLG-CIBJ6O2G.js +2 -0
  272. package/dist/{wardleyDiagram-VM6X3IG4-B6xjiQ_g.js → wardleyDiagram-VM6X3IG4-BjtOazpV.js} +5 -5
  273. package/dist/{webidl-DzX7N40e.js → webidl-G_RlXG7G.js} +1 -1
  274. package/dist/{xquery-Cw_Q_hGR.js → xquery-IUQpMoMl.js} +1 -1
  275. package/dist/{xychartDiagram-S5SC5T6Z-e0PefDVs.js → xychartDiagram-S5SC5T6Z-DC09jtph.js} +8 -8
  276. package/dist/{yacas-DiC4jJBE.js → yacas-ObL0t2h9.js} +1 -1
  277. package/dist/{z80-CUOQDEJO.js → z80-jyuJhy0k.js} +1 -1
  278. package/package.json +17 -21
  279. package/src/__mocks__/document.tsx +63 -0
  280. package/src/__mocks__/executions.ts +197 -0
  281. package/src/__mocks__/notebook.ts +3 -7
  282. package/src/__mocks__/partial.ts +26 -0
  283. package/src/__mocks__/requests.ts +1 -4
  284. package/src/__tests__/CellStatus.test.tsx +25 -26
  285. package/src/__tests__/fixtures/pair-config.ts +1 -1
  286. package/src/__tests__/main.test.tsx +24 -1
  287. package/src/__tests__/module-entry.test.ts +44 -0
  288. package/src/__tests__/mount.test.ts +1 -21
  289. package/src/__tests__/{host-imports.test.ts → replica-imports.test.ts} +12 -11
  290. package/src/components/ai/__tests__/ai-model-dropdown.test.tsx +63 -0
  291. package/src/components/ai/ai-model-dropdown.tsx +11 -6
  292. package/src/components/app-config/__tests__/state.test.tsx +50 -0
  293. package/src/components/app-config/ai-config.tsx +156 -150
  294. package/src/components/app-config/app-config-button.tsx +6 -5
  295. package/src/components/app-config/app-config-form.tsx +5 -9
  296. package/src/components/app-config/common.tsx +7 -9
  297. package/src/components/app-config/data-form.tsx +112 -113
  298. package/src/components/app-config/mcp-config.tsx +30 -53
  299. package/src/components/app-config/user-config-form.css +91 -0
  300. package/src/components/app-config/user-config-form.tsx +266 -349
  301. package/src/components/chat/__tests__/capabilities-popover.test.tsx +0 -1
  302. package/src/components/chat/__tests__/chat-display.test.tsx +196 -0
  303. package/src/components/chat/__tests__/chat-markdown.test.tsx +43 -0
  304. package/src/components/chat/__tests__/chat-utils.test.ts +93 -1
  305. package/src/components/chat/__tests__/message-queue.test.tsx +17 -0
  306. package/src/components/chat/__tests__/notebook-access-selector.test.tsx +64 -0
  307. package/src/components/chat/__tests__/turn-timing.test.ts +84 -0
  308. package/src/components/chat/__tests__/use-assistant-turn.test.ts +95 -0
  309. package/src/components/chat/__tests__/user-message.test.tsx +27 -0
  310. package/src/components/chat/acp/__tests__/agent-panel-initialization.test.tsx +1 -1
  311. package/src/components/chat/acp/__tests__/agent-panel.test.tsx +22 -17
  312. package/src/components/chat/acp/__tests__/session-tabs.test.tsx +43 -0
  313. package/src/components/chat/acp/__tests__/state.test.ts +2 -2
  314. package/src/components/chat/acp/agent-panel.tsx +6 -3
  315. package/src/components/chat/acp/blocks.tsx +13 -12
  316. package/src/components/chat/acp/common.tsx +4 -5
  317. package/src/components/chat/acp/model-selector.tsx +1 -1
  318. package/src/components/chat/acp/session-tabs.tsx +8 -3
  319. package/src/components/chat/agent-activity.tsx +132 -0
  320. package/src/components/chat/capabilities-popover.tsx +2 -11
  321. package/src/components/chat/chat-components.tsx +9 -4
  322. package/src/components/chat/chat-display.tsx +131 -57
  323. package/src/components/chat/chat-history-popover.tsx +6 -1
  324. package/src/components/chat/chat-markdown.tsx +15 -0
  325. package/src/components/chat/chat-panel.tsx +216 -294
  326. package/src/components/chat/chat-typography.css +108 -0
  327. package/src/components/chat/chat-utils.ts +24 -35
  328. package/src/components/chat/notebook-access-selector.stories.tsx +22 -0
  329. package/src/components/chat/notebook-access-selector.tsx +100 -0
  330. package/src/components/chat/tool-call/__tests__/tool-labels.test.ts +76 -0
  331. package/src/components/chat/tool-call/__tests__/tool-step.test.tsx +57 -0
  332. package/src/components/chat/tool-call/shared.ts +6 -0
  333. package/src/components/chat/tool-call/tool-call-view.tsx +22 -76
  334. package/src/components/chat/tool-call/tool-labels.ts +172 -0
  335. package/src/components/chat/tool-call/tool-result.tsx +1 -1
  336. package/src/components/chat/tool-call/tool-step.tsx +145 -0
  337. package/src/components/chat/turn-timing.ts +73 -0
  338. package/src/components/chat/use-assistant-turn.ts +65 -0
  339. package/src/components/chat/use-chat-generation.ts +20 -0
  340. package/src/components/chat/user-message.tsx +145 -0
  341. package/src/components/data-table/TableBottomBar.tsx +4 -1
  342. package/src/components/data-table/TableTopBar.tsx +2 -0
  343. package/src/components/data-table/__tests__/chart-spec-model.test.ts +195 -195
  344. package/src/components/data-table/__tests__/column-explorer.test.tsx +27 -1
  345. package/src/components/data-table/__tests__/columns.test.tsx +105 -0
  346. package/src/components/data-table/__tests__/context-menu-interaction.test.tsx +130 -0
  347. package/src/components/data-table/__tests__/data-table.test.tsx +1 -0
  348. package/src/components/data-table/__tests__/date-popover.test.tsx +72 -0
  349. package/src/components/data-table/__tests__/export-actions.test.tsx +105 -0
  350. package/src/components/data-table/__tests__/keyboard-selection.test.tsx +188 -0
  351. package/src/components/data-table/__tests__/pagination.test.tsx +28 -1
  352. package/src/components/data-table/__tests__/search-highlight.test.tsx +109 -0
  353. package/src/components/data-table/__tests__/url-detector.test.tsx +74 -0
  354. package/src/components/data-table/cell-selection/feature.ts +2 -2
  355. package/src/components/data-table/cell-selection/types.ts +2 -2
  356. package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +74 -1
  357. package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +20 -20
  358. package/src/components/data-table/charts/__tests__/spec.test.ts +78 -52
  359. package/src/components/data-table/charts/__tests__/storage.test.ts +4 -1
  360. package/src/components/data-table/charts/chart-spec/spec.ts +68 -43
  361. package/src/components/data-table/charts/charts.tsx +40 -30
  362. package/src/components/data-table/charts/storage.ts +16 -5
  363. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
  364. package/src/components/data-table/column-formatting/types.ts +1 -2
  365. package/src/components/data-table/column-summary/chart-spec-model.tsx +23 -16
  366. package/src/components/data-table/column-summary/column-summary.tsx +2 -4
  367. package/src/components/data-table/column-visibility-dropdown.tsx +8 -13
  368. package/src/components/data-table/columns.tsx +45 -46
  369. package/src/components/data-table/context-menu.tsx +36 -20
  370. package/src/components/data-table/data-table.tsx +17 -1
  371. package/src/components/data-table/date-popover.tsx +6 -4
  372. package/src/components/data-table/export-actions.tsx +76 -48
  373. package/src/components/data-table/pagination.tsx +44 -33
  374. package/src/components/data-table/range-focus/atoms.ts +4 -6
  375. package/src/components/data-table/range-focus/use-cell-range-selection.ts +65 -38
  376. package/src/components/data-table/range-focus/use-scroll-into-view.ts +21 -2
  377. package/src/components/data-table/renderers.tsx +16 -7
  378. package/src/components/data-table/row-viewer-panel/__tests__/row-viewer.test.tsx +24 -1
  379. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +4 -4
  380. package/src/components/data-table/search-highlight.tsx +79 -0
  381. package/src/components/data-table/types.ts +1 -0
  382. package/src/components/data-table/url-detector.tsx +49 -9
  383. package/src/components/datasources/__tests__/column-actions.test.tsx +97 -0
  384. package/src/components/datasources/__tests__/column-preview.test.tsx +96 -5
  385. package/src/components/datasources/__tests__/datasources-interactions.test.tsx +181 -0
  386. package/src/components/datasources/__tests__/table-list.test.tsx +118 -0
  387. package/src/components/datasources/__tests__/utils.test.ts +57 -6
  388. package/src/components/datasources/column-preview.tsx +17 -12
  389. package/src/components/datasources/datasources.tsx +56 -43
  390. package/src/components/datasources/utils.ts +32 -23
  391. package/src/components/debugger/debugger-code.tsx +5 -0
  392. package/src/components/dependency-graph/custom-node.tsx +1 -1
  393. package/src/components/dependency-graph/dependency-graph-tree.tsx +8 -8
  394. package/src/components/dependency-graph/elements.ts +24 -21
  395. package/src/components/dependency-graph/minimap-content.tsx +15 -20
  396. package/src/components/dependency-graph/panels.tsx +4 -2
  397. package/src/components/dependency-graph/utils/__tests__/layout.test.ts +18 -11
  398. package/src/components/editor/SortableCell.tsx +1 -3
  399. package/src/components/editor/__tests__/Output.test.tsx +50 -32
  400. package/src/{core/attachments/__tests__/toast.test.tsx → components/editor/__tests__/agent-toast.test.tsx} +1 -1
  401. package/src/components/editor/__tests__/data-attributes.test.tsx +28 -23
  402. package/src/components/editor/__tests__/output-persistence.test.tsx +28 -9
  403. package/src/components/editor/__tests__/package-alert.test.tsx +22 -1
  404. package/src/components/editor/actions/__tests__/name-cell-input.test.tsx +69 -0
  405. package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +21 -40
  406. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +41 -14
  407. package/src/components/editor/actions/__tests__/pair-with-agent.test.tsx +6 -24
  408. package/src/components/editor/actions/__tests__/useCellActionButton.test.tsx +131 -0
  409. package/src/components/editor/actions/name-cell-input.tsx +4 -3
  410. package/src/components/editor/actions/pair-with-agent-commands.ts +10 -7
  411. package/src/components/editor/actions/pair-with-agent-modal.tsx +29 -30
  412. package/src/components/editor/actions/pair-with-agent.tsx +16 -39
  413. package/src/components/editor/actions/useCellActionButton.tsx +47 -35
  414. package/src/components/editor/actions/useConfigActions.tsx +3 -4
  415. package/src/components/editor/actions/useNotebookActions.tsx +25 -29
  416. package/src/components/editor/actions/useRestartKernel.tsx +1 -1
  417. package/src/components/editor/actions/useSetCodeVisibility.ts +11 -12
  418. package/src/components/editor/actions/useSetOutputsExpanded.ts +14 -19
  419. package/src/components/editor/ai/ai-completion-editor.tsx +2 -1
  420. package/src/components/editor/ai/completion-handlers.tsx +0 -37
  421. package/src/components/editor/ai/prompt-input.tsx +189 -0
  422. package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +1 -1
  423. package/src/components/editor/alerts/connection-notice.tsx +1 -1
  424. package/src/components/editor/alerts/startup-logs-alert.tsx +1 -0
  425. package/src/components/editor/alerts/stdin-blocking-alert.tsx +4 -2
  426. package/src/components/editor/app-container.tsx +1 -1
  427. package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +1 -1
  428. package/src/components/editor/cell/CellStatus.tsx +28 -23
  429. package/src/components/editor/cell/CreateCellButton.tsx +15 -21
  430. package/src/components/editor/cell/DeleteButton.tsx +3 -2
  431. package/src/components/editor/cell/RunButton.tsx +18 -8
  432. package/src/components/editor/cell/StagedAICell.tsx +52 -137
  433. package/src/components/editor/cell/StopButton.tsx +2 -2
  434. package/src/components/editor/cell/__tests__/useRunCells.test.tsx +169 -0
  435. package/src/components/editor/cell/__tests__/useShouldShowInterrupt.test.ts +39 -0
  436. package/src/components/editor/cell/cell-actions.tsx +12 -1
  437. package/src/components/editor/cell/cell-context-menu.tsx +4 -1
  438. package/src/components/editor/cell/code/__tests__/language-toggle.test.tsx +54 -0
  439. package/src/components/editor/cell/code/cell-editor.tsx +65 -169
  440. package/src/components/editor/cell/code/language-toggle.tsx +8 -7
  441. package/src/components/editor/cell/collapse.tsx +16 -6
  442. package/src/components/editor/cell/useAddCell.ts +4 -8
  443. package/src/components/editor/cell/useDeleteCell.tsx +10 -36
  444. package/src/components/editor/cell/useRunCells.ts +49 -8
  445. package/src/components/editor/cell/useShouldShowInterrupt.ts +2 -12
  446. package/src/components/editor/cell/useSplitCell.tsx +10 -6
  447. package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +1 -1
  448. package/src/components/editor/chrome/components/feedback-button.tsx +2 -8
  449. package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +31 -2
  450. package/src/components/editor/chrome/panels/__tests__/runtime-details.test.tsx +1 -1
  451. package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +1 -1
  452. package/src/components/editor/chrome/panels/cache-panel.tsx +1 -0
  453. package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +1 -1
  454. package/src/components/editor/chrome/panels/logs-panel.tsx +2 -1
  455. package/src/components/editor/chrome/panels/outline/__tests__/outline-keyboard.test.tsx +84 -0
  456. package/src/components/editor/chrome/panels/outline/floating-outline.tsx +39 -14
  457. package/src/components/editor/chrome/panels/outline/useActiveOutline.tsx +3 -2
  458. package/src/components/editor/chrome/panels/packages-panel.tsx +4 -7
  459. package/src/components/editor/chrome/panels/panel-header.tsx +13 -0
  460. package/src/components/editor/chrome/panels/secrets-panel.tsx +1 -0
  461. package/src/components/editor/chrome/panels/session-panel.tsx +1 -1
  462. package/src/components/editor/chrome/panels/snippets-panel.tsx +10 -12
  463. package/src/components/editor/chrome/panels/variable-panel.tsx +1 -5
  464. package/src/components/editor/chrome/types.ts +1 -1
  465. package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +7 -9
  466. package/src/components/editor/chrome/wrapper/__tests__/document-sync-status.test.tsx +92 -0
  467. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +265 -37
  468. package/src/components/editor/chrome/wrapper/__tests__/useAskAiAboutCell.test.tsx +58 -0
  469. package/src/components/editor/chrome/wrapper/app-chrome.tsx +91 -74
  470. package/src/components/editor/chrome/wrapper/footer-items/attachment-status.tsx +4 -4
  471. package/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx +1 -1
  472. package/src/components/editor/chrome/wrapper/footer-items/document-sync-status.tsx +54 -0
  473. package/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx +1 -1
  474. package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +1 -1
  475. package/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx +1 -7
  476. package/src/components/editor/chrome/wrapper/footer.tsx +2 -2
  477. package/src/components/editor/chrome/wrapper/minimap-state.ts +1 -1
  478. package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +143 -72
  479. package/src/components/editor/chrome/wrapper/pending-ai-changes-badge.tsx +25 -0
  480. package/src/components/editor/chrome/wrapper/sidebar.tsx +8 -4
  481. package/src/components/editor/chrome/wrapper/storage.ts +1 -1
  482. package/src/components/editor/chrome/wrapper/useAskAiAboutCell.ts +36 -0
  483. package/src/components/editor/columns/__tests__/cell-column.test.tsx +1 -1
  484. package/src/components/editor/columns/cell-column.tsx +1 -1
  485. package/src/components/editor/columns/sortable-column.tsx +2 -2
  486. package/src/components/editor/connections/components.tsx +5 -10
  487. package/src/components/editor/controls/Controls.tsx +4 -4
  488. package/src/components/editor/controls/__tests__/keyboard-shortcuts.test.tsx +61 -0
  489. package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +10 -4
  490. package/src/components/editor/controls/keyboard-shortcuts.tsx +14 -5
  491. package/src/components/editor/documentation.css +34 -11
  492. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +26 -22
  493. package/src/components/editor/errors/auto-fix.tsx +4 -8
  494. package/src/components/editor/errors/send-error-report-button.tsx +3 -6
  495. package/src/components/editor/file-tree/__tests__/file-explorer-interactions.test.tsx +6 -0
  496. package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +47 -0
  497. package/src/components/editor/file-tree/__tests__/use-file-search.test.tsx +91 -0
  498. package/src/components/editor/file-tree/file-explorer.tsx +48 -15
  499. package/src/components/editor/file-tree/file-name-input.tsx +1 -0
  500. package/src/components/editor/file-tree/file-viewer.tsx +4 -2
  501. package/src/components/editor/file-tree/use-file-search.ts +35 -21
  502. package/src/components/editor/header/__tests__/filename-form.test.tsx +1 -4
  503. package/src/components/editor/header/__tests__/status.test.tsx +5 -3
  504. package/src/components/editor/header/app-header.tsx +1 -1
  505. package/src/components/editor/header/filename-form.tsx +1 -1
  506. package/src/components/editor/header/status.tsx +44 -22
  507. package/src/components/editor/links/__tests__/cell-link.test.tsx +148 -0
  508. package/src/components/editor/links/cell-link-list.tsx +1 -1
  509. package/src/components/editor/links/cell-link.tsx +21 -11
  510. package/src/components/editor/navigation/__tests__/clipboard.test.ts +60 -38
  511. package/src/components/editor/navigation/__tests__/navigation.test.ts +108 -85
  512. package/src/components/editor/navigation/__tests__/selection.test.ts +43 -21
  513. package/src/components/editor/navigation/clipboard.ts +17 -14
  514. package/src/components/editor/navigation/focus-utils.ts +23 -4
  515. package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +17 -33
  516. package/src/components/editor/navigation/navigation.ts +74 -72
  517. package/src/components/editor/navigation/selection.ts +30 -29
  518. package/src/components/editor/notebook-banner.tsx +1 -0
  519. package/src/components/editor/notebook-cell.tsx +126 -152
  520. package/src/components/editor/output/MarimoErrorOutput.tsx +41 -4
  521. package/src/components/editor/output/MarimoTracebackOutput.tsx +19 -17
  522. package/src/components/editor/output/Outputs.css +8 -0
  523. package/src/components/editor/output/VideoOutput.tsx +6 -0
  524. package/src/components/editor/output/__tests__/VideoOutput.test.tsx +131 -0
  525. package/src/components/editor/output/__tests__/traceback.test.tsx +27 -1
  526. package/src/components/editor/output/ansi-reduce.ts +33 -20
  527. package/src/components/editor/output/console/ConsoleOutput.tsx +19 -25
  528. package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +125 -69
  529. package/src/components/editor/package-alert.tsx +14 -7
  530. package/src/components/editor/renderers/__tests__/add-cell-buttons.test.tsx +18 -0
  531. package/src/components/editor/renderers/cell-array.tsx +32 -100
  532. package/src/components/editor/renderers/grid-layout/__tests__/grid-layout.test.tsx +75 -0
  533. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +28 -22
  534. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -4
  535. package/src/components/editor/renderers/slides-layout/slides-layout.tsx +1 -1
  536. package/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts +4 -4
  537. package/src/components/editor/renderers/vertical-layout/sidebar/toggle.tsx +7 -1
  538. package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +1 -1
  539. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -37
  540. package/src/components/editor/stdin-blocking-alert.tsx +4 -2
  541. package/src/components/home/components.tsx +17 -31
  542. package/src/components/icons/__tests__/large-spinner.test.tsx +39 -0
  543. package/src/components/icons/large-spinner.tsx +3 -14
  544. package/src/components/icons/spinner.tsx +1 -1
  545. package/src/components/markdown/__tests__/markdown-renderer.test.tsx +32 -2
  546. package/src/components/markdown/markdown-renderer.tsx +43 -28
  547. package/src/components/mcp/mcp-status-indicator.tsx +18 -14
  548. package/src/components/pages/__tests__/home-page.test.tsx +116 -0
  549. package/src/components/pages/edit-page.tsx +19 -17
  550. package/src/components/pages/home-page.tsx +164 -91
  551. package/src/components/scratchpad/scratchpad.test.tsx +89 -0
  552. package/src/components/scratchpad/scratchpad.tsx +47 -33
  553. package/src/components/scratchpad/state.ts +7 -0
  554. package/src/components/slides/__tests__/minimap-actions.test.tsx +22 -29
  555. package/src/components/slides/__tests__/minimap.test.ts +38 -19
  556. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +37 -0
  557. package/src/components/slides/minimap.tsx +22 -14
  558. package/src/components/slides/reveal-component.tsx +73 -36
  559. package/src/components/slides/reveal-slides.css +5 -4
  560. package/src/components/slides/slide-cell-view.tsx +37 -34
  561. package/src/components/slides/slide-form.tsx +1 -0
  562. package/src/components/slides/slide-scroll-hint.tsx +3 -1
  563. package/src/components/slides/slide.tsx +3 -4
  564. package/src/components/sort/SortableCellsProvider.tsx +8 -25
  565. package/src/components/tracing/tracing-keyboard.test.tsx +85 -0
  566. package/src/components/tracing/tracing.tsx +46 -42
  567. package/src/components/ui/__tests__/draggable-popover.test.tsx +24 -0
  568. package/src/components/ui/__tests__/fullscreen.test.tsx +44 -2
  569. package/src/components/ui/__tests__/range-slider.test.tsx +165 -0
  570. package/src/components/ui/alert-dialog.tsx +1 -1
  571. package/src/components/ui/draggable-popover.tsx +24 -2
  572. package/src/components/ui/fullscreen.tsx +25 -1
  573. package/src/components/ui/range-slider.tsx +22 -9
  574. package/src/components/ui/toast.tsx +1 -1
  575. package/src/core/MarimoApp.tsx +3 -1
  576. package/src/core/ai/__tests__/staged-cells.test.ts +89 -608
  577. package/src/core/ai/context/context.ts +2 -0
  578. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +8 -12
  579. package/src/core/ai/context/providers/__tests__/cell.test.ts +49 -0
  580. package/src/core/ai/context/providers/cell-output.ts +2 -2
  581. package/src/core/ai/context/providers/cell.ts +54 -0
  582. package/src/core/ai/context/providers/datasource.ts +6 -2
  583. package/src/core/ai/staged-cells.ts +56 -323
  584. package/src/core/ai/state.ts +3 -0
  585. package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +40 -88
  586. package/src/core/ai/tools/__tests__/registry.test.ts +17 -0
  587. package/src/core/ai/tools/base.ts +18 -15
  588. package/src/core/ai/tools/edit-notebook-tool.ts +86 -80
  589. package/src/core/ai/tools/registry.ts +13 -10
  590. package/src/core/ai/tools/sample-tool.ts +6 -7
  591. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +4 -529
  592. package/src/core/cells/__tests__/actions.test.ts +623 -35
  593. package/src/core/cells/__tests__/add-missing-import.test.ts +7 -8
  594. package/src/core/cells/__tests__/arrange.test.ts +432 -0
  595. package/src/core/cells/__tests__/cell.test.ts +148 -150
  596. package/src/core/cells/__tests__/cells.test.ts +390 -2925
  597. package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +54 -0
  598. package/src/core/cells/__tests__/document.test.ts +158 -0
  599. package/src/core/cells/__tests__/editor.test.ts +57 -0
  600. package/src/core/cells/__tests__/flush-document.test.ts +40 -0
  601. package/src/core/cells/__tests__/harness.ts +106 -0
  602. package/src/core/cells/__tests__/layout.test.ts +176 -0
  603. package/src/core/cells/__tests__/logs.test.ts +0 -13
  604. package/src/core/cells/__tests__/notebook-outline.test.ts +23 -14
  605. package/src/core/cells/__tests__/outputs.test.tsx +71 -53
  606. package/src/core/cells/__tests__/pending-delete-service.test.tsx +11 -20
  607. package/src/core/cells/__tests__/session.test.ts +546 -211
  608. package/src/core/cells/__tests__/utils.test.ts +135 -337
  609. package/src/core/cells/actions.ts +677 -6
  610. package/src/core/cells/add-missing-import.ts +47 -43
  611. package/src/core/cells/arrange.ts +529 -0
  612. package/src/core/cells/cell.ts +78 -146
  613. package/src/core/cells/cells.ts +107 -1459
  614. package/src/core/cells/columns.ts +38 -0
  615. package/src/core/cells/document.ts +167 -0
  616. package/src/core/cells/edit.ts +30 -0
  617. package/src/core/cells/editor.ts +82 -0
  618. package/src/core/cells/focus.ts +27 -6
  619. package/src/core/cells/layout.ts +221 -0
  620. package/src/core/cells/outputs.ts +12 -28
  621. package/src/core/cells/pending-delete-service.ts +8 -14
  622. package/src/core/cells/scrollCellIntoView.ts +6 -0
  623. package/src/core/cells/session.ts +166 -68
  624. package/src/core/cells/types.ts +21 -51
  625. package/src/core/cells/utils.ts +85 -87
  626. package/src/core/codemirror/__tests__/format.test.ts +0 -34
  627. package/src/core/codemirror/__tests__/setup.test.ts +61 -29
  628. package/src/core/codemirror/ai/__tests__/resources.test.ts +117 -0
  629. package/src/core/codemirror/ai/resources.ts +1 -1
  630. package/src/core/codemirror/cells/__tests__/extensions.test.ts +2 -6
  631. package/src/core/codemirror/cells/extensions.ts +18 -30
  632. package/src/core/codemirror/cells/state.ts +2 -6
  633. package/src/core/codemirror/cm.ts +5 -1
  634. package/src/core/codemirror/config/types.ts +1 -1
  635. package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +6 -7
  636. package/src/core/codemirror/copilot/getCodes.ts +2 -2
  637. package/src/core/codemirror/format.ts +6 -23
  638. package/src/core/codemirror/keymaps/vim.ts +4 -8
  639. package/src/core/codemirror/language/__tests__/sql.test.ts +22 -20
  640. package/src/core/codemirror/language/__tests__/utils.test.ts +187 -15
  641. package/src/core/codemirror/language/cell-code.ts +114 -0
  642. package/src/core/codemirror/language/extension.ts +52 -35
  643. package/src/core/codemirror/language/languages/markdown.ts +8 -6
  644. package/src/core/codemirror/language/languages/python.ts +19 -13
  645. package/src/core/codemirror/language/languages/sql/sql.ts +16 -24
  646. package/src/core/codemirror/language/panel/panel.tsx +1 -0
  647. package/src/core/codemirror/language/types.ts +7 -7
  648. package/src/core/codemirror/language/utils.ts +9 -39
  649. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +1 -2
  650. package/src/core/codemirror/lsp/notebook-lsp.ts +6 -5
  651. package/src/core/codemirror/lsp/utils.ts +1 -1
  652. package/src/core/codemirror/misc/__tests__/paste.test.ts +3 -1
  653. package/src/core/codemirror/misc/paste.ts +1 -1
  654. package/src/core/codemirror/placeholder/__tests__/extensions.test.ts +75 -0
  655. package/src/core/codemirror/placeholder/extensions.ts +80 -19
  656. package/src/core/codemirror/readonly/__tests__/extension.test.ts +1 -1
  657. package/src/core/codemirror/readonly/extension.ts +2 -2
  658. package/src/core/codemirror/utils.ts +1 -0
  659. package/src/core/config/__tests__/app-config.test.ts +64 -0
  660. package/src/core/config/__tests__/config-schema.test.ts +56 -6
  661. package/src/core/config/config-schema.ts +17 -4
  662. package/src/core/config/config.ts +65 -20
  663. package/src/core/config/feature-flag.tsx +0 -2
  664. package/src/core/datasets/__tests__/data-source-discovery.test.ts +5 -5
  665. package/src/core/datasets/data-source-discovery.ts +4 -6
  666. package/src/core/documentation/doc-lookup.ts +1 -1
  667. package/src/core/dom/outline.ts +4 -1
  668. package/src/core/edit-app.tsx +22 -28
  669. package/src/core/errors/__tests__/error-entries.test.ts +40 -1
  670. package/src/core/errors/error-entries.ts +6 -4
  671. package/src/core/executions/__tests__/atoms.test.ts +98 -0
  672. package/src/core/executions/__tests__/freshness.test.ts +482 -0
  673. package/src/core/executions/__tests__/hooks.test.tsx +151 -0
  674. package/src/core/executions/__tests__/output.test.ts +266 -0
  675. package/src/core/executions/__tests__/select.test.ts +268 -0
  676. package/src/core/executions/atoms.ts +263 -0
  677. package/src/core/executions/freshness.ts +171 -0
  678. package/src/core/executions/hooks.ts +86 -0
  679. package/src/core/executions/index.ts +48 -0
  680. package/src/core/executions/output.ts +242 -0
  681. package/src/core/executions/select.ts +175 -0
  682. package/src/core/export/__tests__/hooks.test.ts +0 -5
  683. package/src/core/export/hooks.ts +1 -1
  684. package/src/core/export/layout.ts +2 -2
  685. package/src/core/hotkeys/actions.ts +2 -4
  686. package/src/core/hotkeys/hotkeys.ts +2 -1
  687. package/src/core/islands/__tests__/bootstrap.test.ts +69 -17
  688. package/src/core/islands/__tests__/bridge.test.ts +85 -27
  689. package/src/core/islands/bootstrap.ts +49 -54
  690. package/src/core/islands/bridge.ts +84 -25
  691. package/src/core/islands/components/__tests__/IslandControls.test.tsx +7 -5
  692. package/src/core/islands/components/__tests__/web-components.test.tsx +63 -0
  693. package/src/core/islands/components/output-wrapper.tsx +5 -5
  694. package/src/core/islands/components/web-components.tsx +12 -1
  695. package/src/core/islands/worker/__tests__/controller.test.ts +62 -4
  696. package/src/core/islands/worker/controller.ts +4 -10
  697. package/src/core/islands/worker/worker.tsx +33 -33
  698. package/src/core/kernel/__tests__/RuntimeState.test.ts +1 -1
  699. package/src/core/kernel/__tests__/handlers.test.ts +7 -157
  700. package/src/core/kernel/handlers.ts +13 -79
  701. package/src/core/kernel/state.ts +0 -15
  702. package/src/core/lifecycle/render-policy.ts +12 -26
  703. package/src/core/meta/__tests__/code-visibility.test.tsx +78 -70
  704. package/src/core/meta/code-visibility.ts +18 -9
  705. package/src/core/network/__tests__/connection.test.ts +1 -1
  706. package/src/core/network/__tests__/requests-lazy.test.ts +6 -8
  707. package/src/core/network/connection-notice.ts +1 -1
  708. package/src/core/network/connection.ts +1 -1
  709. package/src/core/network/requests-lazy.ts +5 -8
  710. package/src/core/network/requests-network.ts +5 -31
  711. package/src/core/network/requests-static.ts +1 -4
  712. package/src/core/network/requests-toasting.tsx +1 -4
  713. package/src/core/network/types.ts +6 -14
  714. package/src/core/network/useConnectionNotice.ts +8 -2
  715. package/src/core/notebook/__tests__/operations.test.ts +51 -0
  716. package/src/core/notebook/attachments.ts +38 -0
  717. package/src/core/notebook/document/__tests__/codemirror.test.ts +759 -0
  718. package/src/core/notebook/document/__tests__/draft.test.ts +363 -0
  719. package/src/core/notebook/document/__tests__/fixtures.ts +92 -0
  720. package/src/core/notebook/document/__tests__/hooks.test.tsx +391 -0
  721. package/src/core/notebook/document/__tests__/lifecycle-scenarios.test.ts +61 -0
  722. package/src/core/notebook/document/__tests__/model.test.ts +247 -0
  723. package/src/core/notebook/document/__tests__/protocol-fixtures.ts +38 -0
  724. package/src/core/notebook/document/__tests__/recovery-scenarios.test.ts +230 -0
  725. package/src/core/notebook/document/__tests__/scenario-fixture.ts +43 -0
  726. package/src/core/notebook/document/__tests__/scenarios.test.ts +205 -0
  727. package/src/core/notebook/document/__tests__/state.test.ts +459 -0
  728. package/src/core/notebook/document/__tests__/submission.test.ts +203 -0
  729. package/src/core/notebook/document/__tests__/test-host.test.ts +92 -0
  730. package/src/core/notebook/document/__tests__/test-host.ts +247 -0
  731. package/src/core/notebook/document/__tests__/test-notebook.ts +149 -0
  732. package/src/core/notebook/document/__tests__/user.ts +61 -0
  733. package/src/core/notebook/document/codemirror.ts +216 -0
  734. package/src/core/notebook/document/draft.ts +502 -0
  735. package/src/core/notebook/document/hooks.tsx +118 -0
  736. package/src/core/notebook/document/index.ts +24 -0
  737. package/src/core/notebook/document/model.ts +102 -0
  738. package/src/core/notebook/document/select.ts +41 -0
  739. package/src/core/notebook/document/state.ts +378 -0
  740. package/src/core/notebook/document/sync.ts +369 -0
  741. package/src/core/notebook/index.ts +19 -0
  742. package/src/core/notebook/operations.ts +30 -0
  743. package/src/core/notebook/replica/AGENTS.md +11 -0
  744. package/src/core/{host → notebook/replica}/__tests__/attachments.test.ts +9 -10
  745. package/src/core/{host → notebook/replica}/__tests__/document.test.ts +18 -16
  746. package/src/core/notebook/replica/__tests__/executions.test.ts +200 -0
  747. package/src/core/notebook/replica/__tests__/fixtures.ts +79 -0
  748. package/src/core/notebook/replica/__tests__/replica.test.ts +559 -0
  749. package/src/core/notebook/replica/__tests__/results.test.ts +193 -0
  750. package/src/core/notebook/replica/__tests__/runtime.test.ts +78 -0
  751. package/src/core/notebook/replica/backend.ts +19 -0
  752. package/src/core/notebook/replica/connection.ts +42 -0
  753. package/src/core/notebook/replica/index.ts +20 -0
  754. package/src/core/notebook/replica/replica.ts +336 -0
  755. package/src/core/{host → notebook/replica}/resources/attachments.ts +6 -3
  756. package/src/core/{host → notebook/replica}/resources/document.ts +3 -3
  757. package/src/core/notebook/replica/resources/executions.ts +157 -0
  758. package/src/core/notebook/replica/resources/results.ts +48 -0
  759. package/src/core/notebook/replica/resources/runtime.ts +14 -0
  760. package/src/core/packages/__tests__/useSandboxController.test.tsx +1 -1
  761. package/src/core/packages/useSandboxController.ts +1 -1
  762. package/src/core/run-app.tsx +49 -51
  763. package/src/core/runtime/__tests__/adapter.test.ts +4 -4
  764. package/src/core/runtime/__tests__/createWsUrl.test.ts +77 -7
  765. package/src/core/runtime/__tests__/runtime.test.ts +32 -74
  766. package/src/core/runtime/adapter.ts +5 -5
  767. package/src/core/runtime/config.ts +2 -2
  768. package/src/core/runtime/runtime.ts +33 -46
  769. package/src/core/runtime/types.ts +0 -2
  770. package/src/core/saving/__tests__/document.test.tsx +123 -0
  771. package/src/core/saving/__tests__/state.test.ts +111 -0
  772. package/src/core/saving/__tests__/useAutoSave.test.tsx +67 -0
  773. package/src/core/saving/document.ts +33 -0
  774. package/src/core/saving/filename.ts +1 -1
  775. package/src/core/saving/save-component.tsx +39 -60
  776. package/src/core/saving/state.ts +38 -39
  777. package/src/core/saving/useAutoSave.ts +17 -53
  778. package/src/core/session/__tests__/backend.test.ts +236 -0
  779. package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +186 -0
  780. package/src/core/{websocket → session}/__tests__/useNotebookSession.hook.test.tsx +245 -262
  781. package/src/core/session/active-notebook.ts +28 -0
  782. package/src/core/session/backend.ts +123 -0
  783. package/src/core/session/embedded.ts +7 -0
  784. package/src/core/{websocket → session}/types.ts +2 -2
  785. package/src/core/session/useNotebookReplica.ts +74 -0
  786. package/src/core/{websocket → session}/useNotebookSession.tsx +80 -67
  787. package/src/core/state/__tests__/jotai.test.tsx +108 -0
  788. package/src/core/state/jotai.ts +1 -1
  789. package/src/core/static/__tests__/files.test.ts +38 -10
  790. package/src/core/static/files.ts +2 -0
  791. package/src/core/{websocket → transports}/__tests__/connection-state.test.ts +1 -13
  792. package/src/core/transports/__tests__/server.test.ts +408 -0
  793. package/src/core/transports/__tests__/static.test.ts +340 -0
  794. package/src/core/transports/__tests__/wasm.test.ts +166 -0
  795. package/src/core/{websocket → transports}/connection-state.ts +9 -16
  796. package/src/core/transports/server.ts +152 -0
  797. package/src/core/transports/static.ts +173 -0
  798. package/src/core/transports/wasm.ts +97 -0
  799. package/src/core/vscode/__tests__/vscode-bindings.test.ts +125 -0
  800. package/src/core/vscode/vscode-bindings.ts +14 -2
  801. package/src/core/wasm/__tests__/bridge.test.ts +210 -64
  802. package/src/core/wasm/__tests__/worker.test.ts +188 -0
  803. package/src/core/wasm/bridge.ts +120 -73
  804. package/src/core/wasm/rpc.ts +15 -3
  805. package/src/core/wasm/store.ts +3 -3
  806. package/src/core/wasm/worker/bootstrap.ts +55 -51
  807. package/src/core/wasm/worker/getMarimoWheel.ts +1 -1
  808. package/src/core/wasm/worker/save-worker.ts +9 -10
  809. package/src/core/wasm/worker/types.ts +30 -18
  810. package/src/core/wasm/worker/worker.ts +118 -72
  811. package/src/css/app/Cell.css +7 -36
  812. package/src/css/app/codemirror.css +1 -1
  813. package/src/css/common.css +1 -1
  814. package/src/css/globals.css +72 -24
  815. package/src/hooks/__tests__/useAsyncData.test.tsx +148 -0
  816. package/src/hooks/__tests__/useDebounce.test.tsx +51 -0
  817. package/src/hooks/__tests__/useDeepCompareMemoize.test.tsx +39 -0
  818. package/src/hooks/__tests__/useDelayElapsed.test.tsx +28 -0
  819. package/src/hooks/__tests__/useInternalStateWithSync.test.tsx +20 -0
  820. package/src/hooks/__tests__/useScript.test.tsx +77 -0
  821. package/src/hooks/__tests__/useStateForKey.test.tsx +257 -0
  822. package/src/hooks/useAsyncData.ts +3 -3
  823. package/src/hooks/useDataSourceDiscovery.ts +6 -4
  824. package/src/hooks/useDebounce.ts +6 -10
  825. package/src/hooks/useDeepCompareMemoize.ts +1 -1
  826. package/src/hooks/useDelayElapsed.ts +14 -10
  827. package/src/hooks/useElapsedTime.ts +3 -3
  828. package/src/hooks/useEventListener.ts +1 -2
  829. package/src/hooks/useInputHistory.ts +4 -7
  830. package/src/hooks/useInternalStateWithSync.ts +6 -6
  831. package/src/hooks/useResizeObserver.ts +4 -7
  832. package/src/hooks/useScript.ts +67 -70
  833. package/src/hooks/useStateForKey.ts +93 -0
  834. package/src/mount.tsx +20 -15
  835. package/src/plugins/__tests__/plugin-object-schemas.test.ts +104 -0
  836. package/src/plugins/core/RenderHTML.tsx +3 -5
  837. package/src/plugins/core/__test__/PluginSlot.test.tsx +202 -0
  838. package/src/plugins/core/__test__/RenderHTML-copy.test.tsx +60 -0
  839. package/src/plugins/core/__test__/registerReactComponent.test.ts +45 -0
  840. package/src/plugins/core/__test__/sanitize.test.ts +8 -0
  841. package/src/plugins/core/registerReactComponent.tsx +29 -29
  842. package/src/plugins/core/sanitize-html.ts +6 -0
  843. package/src/plugins/impl/CodeEditorPlugin.tsx +1 -1
  844. package/src/plugins/impl/DataEditorPlugin.tsx +34 -13
  845. package/src/plugins/impl/DataTablePlugin.tsx +69 -37
  846. package/src/plugins/impl/DropdownPlugin.tsx +2 -6
  847. package/src/plugins/impl/FileBrowserPlugin.tsx +4 -16
  848. package/src/plugins/impl/FormPlugin.tsx +1 -1
  849. package/src/plugins/impl/RangeSliderPlugin.tsx +16 -2
  850. package/src/plugins/impl/RefreshPlugin.tsx +1 -0
  851. package/src/plugins/impl/SliderPlugin.tsx +6 -8
  852. package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +93 -4
  853. package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +387 -1
  854. package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +45 -0
  855. package/src/plugins/impl/__tests__/RangeSliderPlugin.test.tsx +109 -0
  856. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +24 -3
  857. package/src/plugins/impl/anywidget/__tests__/registry.test.ts +153 -0
  858. package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +241 -2
  859. package/src/plugins/impl/anywidget/model.ts +3 -1
  860. package/src/plugins/impl/anywidget/registry.ts +18 -14
  861. package/src/plugins/impl/anywidget/runtime.ts +21 -9
  862. package/src/plugins/impl/anywidget/widget-binding.ts +160 -82
  863. package/src/plugins/impl/chat/__tests__/chat-prompts.test.tsx +93 -0
  864. package/src/plugins/impl/chat/chat-ui.tsx +17 -15
  865. package/src/plugins/impl/code/any-language-editor.tsx +2 -2
  866. package/src/plugins/impl/common/error-banner.tsx +5 -3
  867. package/src/plugins/impl/data-editor/__tests__/column-types.test.ts +42 -0
  868. package/src/plugins/impl/data-editor/__tests__/editor-state.test.ts +52 -1
  869. package/src/plugins/impl/data-editor/__tests__/glide-data-editor.test.tsx +120 -4
  870. package/src/plugins/impl/data-editor/__tests__/glide-utils.test.ts +116 -0
  871. package/src/plugins/impl/data-editor/column-types.ts +55 -0
  872. package/src/plugins/impl/data-editor/editor-state.ts +18 -2
  873. package/src/plugins/impl/data-editor/glide-data-editor.tsx +74 -12
  874. package/src/plugins/impl/data-editor/glide-utils.ts +39 -38
  875. package/src/plugins/impl/data-editor/types.ts +5 -0
  876. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +1 -1
  877. package/src/plugins/impl/data-explorer/components/column-summary.tsx +4 -2
  878. package/src/plugins/impl/data-explorer/state/reducer.ts +1 -1
  879. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -2
  880. package/src/plugins/impl/data-frames/__tests__/sidebar.test.tsx +160 -0
  881. package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +66 -66
  882. package/src/plugins/impl/data-frames/panel.tsx +44 -16
  883. package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +5 -3
  884. package/src/plugins/impl/panel/PanelPlugin.tsx +16 -17
  885. package/src/plugins/impl/panel/__tests__/utils.test.ts +39 -1
  886. package/src/plugins/impl/panel/utils.ts +17 -0
  887. package/src/plugins/impl/plotly/PlotlyPlugin.tsx +2 -5
  888. package/src/plugins/impl/plotly/selection.ts +25 -19
  889. package/src/plugins/impl/vega/VegaPlugin.tsx +2 -3
  890. package/src/plugins/impl/vega/make-selectable.ts +4 -7
  891. package/src/plugins/layout/DownloadPlugin.tsx +7 -11
  892. package/src/plugins/layout/LazyPlugin.tsx +7 -4
  893. package/src/plugins/layout/RoutesPlugin.tsx +1 -1
  894. package/src/plugins/layout/__test__/DownloadPlugin.test.tsx +205 -0
  895. package/src/plugins/layout/__tests__/LazyPlugin.test.tsx +98 -0
  896. package/src/stories/__tests__/editor-story.test.tsx +33 -0
  897. package/src/stories/button.stories.tsx +1 -0
  898. package/src/stories/cell-status.stories.tsx +29 -24
  899. package/src/stories/cell.stories.tsx +46 -46
  900. package/src/stories/data-table.stories.tsx +31 -0
  901. package/src/stories/editor.stories.tsx +24 -17
  902. package/src/stories/form-wrapper.stories.tsx +2 -2
  903. package/src/stories/layout/vertical/one-column.stories.tsx +28 -42
  904. package/src/stories/runtime-story.tsx +23 -17
  905. package/src/stories/select.stories.tsx +2 -2
  906. package/src/stories/switchable-multi-select.stories.tsx +1 -1
  907. package/src/theme/__tests__/islands-theme.test.tsx +276 -0
  908. package/src/theme/namespace.tsx +4 -3
  909. package/src/theme/useTheme.ts +71 -41
  910. package/src/utils/__tests__/arrays.test.ts +35 -0
  911. package/src/utils/__tests__/batch-requests.test.ts +3 -3
  912. package/src/utils/__tests__/{createReducer.test.ts → createReducer.test.tsx} +127 -1
  913. package/src/utils/__tests__/download.test.tsx +183 -23
  914. package/src/utils/__tests__/numbers.test.ts +105 -1
  915. package/src/utils/__tests__/objects.test.ts +21 -0
  916. package/src/utils/arrays.ts +11 -2
  917. package/src/utils/blob.ts +1 -1
  918. package/src/utils/createReducer.ts +115 -79
  919. package/src/utils/download.ts +67 -6
  920. package/src/utils/maps.ts +0 -3
  921. package/src/utils/numbers.ts +79 -18
  922. package/src/utils/objects.ts +4 -9
  923. package/src/utils/time.ts +10 -0
  924. package/src/utils/tracer.ts +9 -5
  925. package/src/utils/zod-utils.ts +1 -3
  926. package/dist/_baseMerge-BiGRwuqv.js +0 -165
  927. package/dist/any-language-editor-D4q-IFcM.js +0 -76
  928. package/dist/architecture-7GRP2DOG-BWLylgiA.js +0 -3
  929. package/dist/assets/__vite-browser-external-BXYkiFsk.js +0 -1
  930. package/dist/assets/worker-HPY9fbhz.js +0 -114
  931. package/dist/classDiagram-ZZMXUADV-DXdCCDOg.js +0 -30
  932. package/dist/classDiagram-v2-VYDZK3BY-DyZqrtLP.js +0 -30
  933. package/dist/cynefin-OW5HDTMX-obq-i80l.js +0 -3
  934. package/dist/dropdown-menu-BuE2b8Yb.js +0 -4678
  935. package/dist/eventmodeling-NTZA5JFV-D7nP7Uyu.js +0 -3
  936. package/dist/feedback-button-DlBBr16w.js +0 -379
  937. package/dist/flowDiagram-HODETNUW-DQ4JuadE.js +0 -16
  938. package/dist/gitGraph-4MIJSDKK-Dy9uQXGh.js +0 -3
  939. package/dist/hasIn-o2Us0uVx.js +0 -132
  940. package/dist/html-to-image-BsG_zyNW.js +0 -3251
  941. package/dist/info-A6RAGUB7-DKoayiHY.js +0 -3
  942. package/dist/isArrayLikeObject-BZl-15ir.js +0 -450
  943. package/dist/isEmpty-BSZ1LaUo.js +0 -35
  944. package/dist/isSymbol-kQcfYbNX.js +0 -8
  945. package/dist/label-DoysmLMW.js +0 -281
  946. package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +0 -2
  947. package/dist/packet-AYTQ26CC-Yw7ajchJ.js +0 -3
  948. package/dist/pick-CJeoxYOS.js +0 -51
  949. package/dist/pie-WAS4IAKB-BKdKOAkL.js +0 -3
  950. package/dist/purify.es-DMv5zIkJ.js +0 -866
  951. package/dist/radar-RG4KPBEZ-ScR_D_Ts.js +0 -3
  952. package/dist/railroad-74A4TZTK-DQvPSdo5.js +0 -3
  953. package/dist/railroad-abnf-HS5TGJTU-CsJQG2O8.js +0 -3
  954. package/dist/railroad-ebnf-LZEXJU2U-BgEobkSn.js +0 -3
  955. package/dist/railroad-peg-WCYAUIDC-DjLAjofI.js +0 -3
  956. package/dist/select-DemoKT4G.js +0 -1344
  957. package/dist/stateDiagram-v2-MP3YSRHH-1OQRe6iA.js +0 -30
  958. package/dist/swimlanesDiagram-VR7AAH4N-CszjkrKo.js +0 -30
  959. package/dist/toDate-gyi35XS2.js +0 -1185
  960. package/dist/toast-PkdZraM8.js +0 -1830
  961. package/dist/treeView-Q6P3EWNA-DuRV97YF.js +0 -3
  962. package/dist/treemap-WGGIJYW6-AsLq-uwC.js +0 -3
  963. package/dist/use-restore-focus-CKjfFjLM.js +0 -6369
  964. package/dist/useLifecycle-Dfq8UD-b.js +0 -169
  965. package/dist/useTheme-Bu5bBgrh.js +0 -904
  966. package/dist/wardley-WFR3VGLG-Na-tFhQJ.js +0 -3
  967. package/src/components/chat/reasoning-accordion.tsx +0 -61
  968. package/src/components/chat/tool-call/tool-error-card.tsx +0 -81
  969. package/src/components/chat/tool-call/tool-history-row.tsx +0 -174
  970. package/src/components/editor/ai/__tests__/staged-cell-submission.test.ts +0 -106
  971. package/src/components/editor/ai/add-cell-with-ai.tsx +0 -506
  972. package/src/components/editor/ai/staged-cell-submission.ts +0 -46
  973. package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +0 -64
  974. package/src/components/editor/cell/code/__tests__/rtc-editor-config.test.ts +0 -50
  975. package/src/components/editor/chrome/wrapper/footer-items/rtc-status.tsx +0 -65
  976. package/src/components/editor/navigation/__tests__/state.test.ts +0 -81
  977. package/src/components/editor/navigation/state.ts +0 -65
  978. package/src/components/icons/loading-ellipsis.tsx +0 -46
  979. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +0 -656
  980. package/src/core/ai/tools/run-cells-tool.ts +0 -303
  981. package/src/core/attachments/state.ts +0 -18
  982. package/src/core/cells/__tests__/apply-transaction.test.ts +0 -991
  983. package/src/core/cells/__tests__/document-changes.test.ts +0 -1140
  984. package/src/core/cells/__tests__/document-roundtrip.test.ts +0 -392
  985. package/src/core/cells/document-changes.ts +0 -944
  986. package/src/core/codemirror/rtc/extension.ts +0 -453
  987. package/src/core/codemirror/rtc/loro/__tests__/sync.test.ts +0 -52
  988. package/src/core/codemirror/rtc/loro/awareness.ts +0 -531
  989. package/src/core/codemirror/rtc/loro/colors.ts +0 -38
  990. package/src/core/codemirror/rtc/loro/sync.ts +0 -168
  991. package/src/core/host/AGENTS.md +0 -11
  992. package/src/core/host/__tests__/events.test.ts +0 -46
  993. package/src/core/host/__tests__/fixtures.ts +0 -39
  994. package/src/core/host/__tests__/notebook-client.test.ts +0 -433
  995. package/src/core/host/__tests__/protocol.test.ts +0 -229
  996. package/src/core/host/__tests__/stream.test.ts +0 -209
  997. package/src/core/host/connection.ts +0 -81
  998. package/src/core/host/events.ts +0 -61
  999. package/src/core/host/notebook-client.ts +0 -290
  1000. package/src/core/host/protocol.ts +0 -1948
  1001. package/src/core/host/resources/resource.ts +0 -47
  1002. package/src/core/host/stream.ts +0 -211
  1003. package/src/core/rtc/state.ts +0 -34
  1004. package/src/core/state/__tests__/jotai.test.ts +0 -25
  1005. package/src/core/wasm/worker/message-buffer.ts +0 -33
  1006. package/src/core/websocket/__tests__/createConnectionTransport.test.ts +0 -49
  1007. package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +0 -170
  1008. package/src/core/websocket/state.ts +0 -7
  1009. package/src/core/websocket/transports/__tests__/basic.test.ts +0 -275
  1010. package/src/core/websocket/transports/__tests__/sse.test.ts +0 -335
  1011. package/src/core/websocket/transports/__tests__/transport.test.ts +0 -308
  1012. package/src/core/websocket/transports/__tests__/ws.test.ts +0 -125
  1013. package/src/core/websocket/transports/basic.ts +0 -102
  1014. package/src/core/websocket/transports/create.ts +0 -31
  1015. package/src/core/websocket/transports/sse.ts +0 -308
  1016. package/src/core/websocket/transports/transport.ts +0 -50
  1017. package/src/core/websocket/transports/ws.ts +0 -98
  1018. package/src/core/websocket/useNotebookClient.ts +0 -88
  1019. package/src/utils/__tests__/id-tree.test.ts +0 -2145
  1020. package/src/utils/id-tree.tsx +0 -1134
  1021. /package/src/{core/attachments/toast.ts → components/editor/agent-toast.ts} +0 -0
  1022. /package/src/core/{websocket → session}/connection-utils.ts +0 -0
@@ -1,30 +1,30 @@
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-CvjkwdSk.js";
3
- import { t as o } from "./react-sHtZdjeP.js";
4
- import { t as s } from "./compiler-runtime-CldRdSsv.js";
5
- import { h as c, t as l } from "./tooltip-CtBZ5q8p.js";
6
- import { O as u } from "./error-entries-CnqKxhU9.js";
7
- import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-_IunO2z-.js";
8
- import { M as C } from "./select-DemoKT4G.js";
9
- import { q as ee } from "./dropdown-menu-BuE2b8Yb.js";
10
- import { _ as w } from "./toDate-gyi35XS2.js";
11
- import { t as T } from "./jsx-runtime-3BD1kT0s.js";
12
- import { X as E } from "./use-restore-focus-CKjfFjLM.js";
13
- import { A as D, C as O, b as k } from "./useTheme-Bu5bBgrh.js";
14
- import { a as A, n as te, t as ne } from "./code-visibility-891-xGjh.js";
1
+ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
+ import { g as t, h as n, i as r, m as i, t as a } from "./button-BuSV-mLI.js";
3
+ import { t as o } from "./react-CHbZqgBF.js";
4
+ import { t as s } from "./compiler-runtime-DNezxW8I.js";
5
+ import { h as c, t as l } from "./tooltip-CHvXUQVs.js";
6
+ import { $ as u, Q as d, _n as f, an as p, bn as m, et as h, gn as g, i as _, l as v, n as y, on as b, r as x, t as S, u as C } from "./common-B_rBSwAA.js";
7
+ import { M as w } from "./select-Ba_tMQWZ.js";
8
+ import { Y as T } from "./dropdown-menu-BMtxnyHc.js";
9
+ import { Ft as E } from "./error-entries-CjsQY6ym.js";
10
+ import { t as D } from "./jsx-runtime-6ZiU38At.js";
11
+ import { Ft as O, Rt as k, d as A, r as ee } from "./use-restore-focus-Ckq0jQzc.js";
12
+ import { t as j } from "./useEvent-xDnF2X04.js";
13
+ import { o as te } from "./static-state-BJdfR8Bn.js";
14
+ import { n as ne, t as re } from "./code-visibility-Y0zfGGT1.js";
15
15
  /* empty css */
16
- var j = c("sticky-note", [["path", {
16
+ var M = c("sticky-note", [["path", {
17
17
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
18
18
  key: "1dfntj"
19
19
  }], ["path", {
20
20
  d: "M15 3v5a1 1 0 0 0 1 1h5",
21
21
  key: "6s6qgf"
22
- }]]), M = /* @__PURE__ */ e(o(), 1), N = s(), re = (e, t) => {
22
+ }]]), N = /* @__PURE__ */ e(o(), 1), ie = s(), ae = (e, t) => {
23
23
  for (let n in t) e[n] = t[n];
24
24
  return e;
25
- }, P = (e, t) => Array.from(e.querySelectorAll(t)), ie = (e, t, n) => {
25
+ }, P = (e, t) => Array.from(e.querySelectorAll(t)), oe = (e, t, n) => {
26
26
  n ? e.classList.add(t) : e.classList.remove(t);
27
- }, ae = (e) => {
27
+ }, se = (e) => {
28
28
  if (typeof e == "string") {
29
29
  if (e === "null") return null;
30
30
  if (e === "true") return !0;
@@ -32,7 +32,7 @@ var j = c("sticky-note", [["path", {
32
32
  if (e.match(/^-?[\d\.]+$/)) return parseFloat(e);
33
33
  }
34
34
  return e;
35
- }, oe = (e, t) => {
35
+ }, ce = (e, t) => {
36
36
  e.style.transform = t;
37
37
  }, F = (e, t) => {
38
38
  let n = e.matches || e.matchesSelector || e.msMatchesSelector;
@@ -44,11 +44,11 @@ var j = c("sticky-note", [["path", {
44
44
  e = e.parentElement;
45
45
  }
46
46
  return null;
47
- }, se = (e) => {
47
+ }, le = (e) => {
48
48
  e ||= document.documentElement;
49
49
  let t = e.requestFullscreen || e.webkitRequestFullscreen || e.webkitRequestFullScreen || e.mozRequestFullScreen || e.msRequestFullscreen;
50
50
  t && t.apply(e);
51
- }, ce = (e, t, n, r = "") => {
51
+ }, ue = (e, t, n, r = "") => {
52
52
  let i = e.querySelectorAll("." + n);
53
53
  for (let t = 0; t < i.length; t++) {
54
54
  let n = i[t];
@@ -56,10 +56,10 @@ var j = c("sticky-note", [["path", {
56
56
  }
57
57
  let a = document.createElement(t);
58
58
  return a.className = n, a.innerHTML = r, e.appendChild(a), a;
59
- }, L = (e) => {
59
+ }, de = (e) => {
60
60
  let t = document.createElement("style");
61
61
  return e && e.length > 0 && t.appendChild(document.createTextNode(e)), document.head.appendChild(t), t;
62
- }, le = () => {
62
+ }, fe = () => {
63
63
  let e = {};
64
64
  location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi, (t) => {
65
65
  let n = t.split("=").shift(), r = t.split("=").pop();
@@ -67,27 +67,27 @@ var j = c("sticky-note", [["path", {
67
67
  });
68
68
  for (let t in e) {
69
69
  let n = e[t];
70
- e[t] = ae(unescape(n));
70
+ e[t] = se(unescape(n));
71
71
  }
72
72
  return e.dependencies !== void 0 && delete e.dependencies, e;
73
- }, ue = (e, t = 0) => {
73
+ }, pe = (e, t = 0) => {
74
74
  if (e) {
75
75
  let n, r = e.style.height;
76
76
  return e.style.height = "0px", e.parentElement && (e.parentElement.style.height = "auto"), n = t - (e.parentElement?.offsetHeight || 0), e.style.height = r + "px", e.parentElement && e.parentElement.style.removeProperty("height"), n;
77
77
  }
78
78
  return t;
79
- }, de = {
79
+ }, me = {
80
80
  mp4: "video/mp4",
81
81
  m4a: "video/mp4",
82
82
  ogv: "video/ogg",
83
83
  mpeg: "video/mpeg",
84
84
  webm: "video/webm"
85
- }, fe = (e = "") => {
85
+ }, he = (e = "") => {
86
86
  let t = e.split(".").pop();
87
- return t ? de[t] : void 0;
88
- }, pe = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), me = navigator.userAgent, he = /(iphone|ipod|ipad|android)/gi.test(me) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
- /chrome/i.test(me) && /edge/i.test(me);
90
- var R = /android/gi.test(me), ge = function(e) {
87
+ return t ? me[t] : void 0;
88
+ }, ge = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), _e = navigator.userAgent, ve = /(iphone|ipod|ipad|android)/gi.test(_e) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
+ /chrome/i.test(_e) && /edge/i.test(_e);
90
+ var ye = /android/gi.test(_e), be = function(e) {
91
91
  if (e) {
92
92
  var t = function(e) {
93
93
  return [].slice.call(e);
@@ -166,17 +166,17 @@ var R = /android/gi.test(me), ge = function(e) {
166
166
  childList: !0,
167
167
  characterData: !0
168
168
  }
169
- }, ee = null, w = function() {
170
- e.clearTimeout(ee), ee = e.setTimeout(l(i), D.observeWindowDelay);
171
- }, T = ["resize", "orientationchange"];
172
- return Object.defineProperty(D, "observeWindow", { set: function(t) {
169
+ }, w = null, T = function() {
170
+ e.clearTimeout(w), w = e.setTimeout(l(i), O.observeWindowDelay);
171
+ }, E = ["resize", "orientationchange"];
172
+ return Object.defineProperty(O, "observeWindow", { set: function(t) {
173
173
  var n = `${t ? "add" : "remove"}EventListener`;
174
- T.forEach((function(t) {
175
- e[n](t, w);
174
+ E.forEach((function(t) {
175
+ e[n](t, T);
176
176
  }));
177
- } }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
177
+ } }), O.observeWindow = !0, O.observeWindowDelay = 100, O.fitAll = l(a), O;
178
178
  }
179
- function E(e, t) {
179
+ function D(e, t) {
180
180
  var n = Object.assign({}, C, t), r = e.map((function(e) {
181
181
  var t = Object.assign({}, n, {
182
182
  element: e,
@@ -198,44 +198,44 @@ var R = /android/gi.test(me), ge = function(e) {
198
198
  }));
199
199
  return c(), r;
200
200
  }
201
- function D(e) {
201
+ function O(e) {
202
202
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
203
- return typeof e == "string" ? E(t(document.querySelectorAll(e)), n) : E([e], n)[0];
203
+ return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
204
204
  }
205
205
  }(typeof window > "u" ? null : window);
206
- function _e(e) {
206
+ function L(e) {
207
207
  "@babel/helpers - typeof";
208
- return _e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
208
+ return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
209
209
  return typeof e;
210
210
  } : function(e) {
211
211
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
212
- }, _e(e);
212
+ }, L(e);
213
213
  }
214
- function ve(e, t) {
215
- if (_e(e) != "object" || !e) return e;
214
+ function xe(e, t) {
215
+ if (L(e) != "object" || !e) return e;
216
216
  var n = e[Symbol.toPrimitive];
217
217
  if (n !== void 0) {
218
218
  var r = n.call(e, t || "default");
219
- if (_e(r) != "object") return r;
219
+ if (L(r) != "object") return r;
220
220
  throw TypeError("@@toPrimitive must return a primitive value.");
221
221
  }
222
222
  return (t === "string" ? String : Number)(e);
223
223
  }
224
- function ye(e) {
225
- var t = ve(e, "string");
226
- return _e(t) == "symbol" ? t : t + "";
224
+ function Se(e) {
225
+ var t = xe(e, "string");
226
+ return L(t) == "symbol" ? t : t + "";
227
227
  }
228
- function z(e, t, n) {
229
- return (t = ye(t)) in e ? Object.defineProperty(e, t, {
228
+ function Ce(e, t, n) {
229
+ return (t = Se(t)) in e ? Object.defineProperty(e, t, {
230
230
  value: n,
231
231
  enumerable: !0,
232
232
  configurable: !0,
233
233
  writable: !0
234
234
  }) : e[t] = n, e;
235
235
  }
236
- var be = class {
236
+ var R = class {
237
237
  constructor(e) {
238
- z(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
238
+ Ce(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
239
239
  }
240
240
  renderMediaPlayButton() {
241
241
  this.mediaPlayButton = document.createElement("button"), this.mediaPlayButton.className = "r-overlay-button r-media-play-button", this.mediaPlayButton.addEventListener("click", () => {
@@ -266,7 +266,7 @@ var be = class {
266
266
  let t = 0;
267
267
  P(e, "source[data-src]").forEach((e) => {
268
268
  e.setAttribute("src", e.getAttribute("data-src")), e.removeAttribute("data-src"), e.setAttribute("data-lazy-loaded", ""), t += 1;
269
- }), he && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
269
+ }), ve && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
270
270
  });
271
271
  let r = e.slideBackgroundElement;
272
272
  if (r) {
@@ -275,13 +275,13 @@ var be = class {
275
275
  if (r.hasAttribute("data-loaded") === !1) {
276
276
  r.setAttribute("data-loaded", "true");
277
277
  let a = e.getAttribute("data-background-image"), o = e.getAttribute("data-background-video"), s = e.hasAttribute("data-background-video-loop"), c = e.hasAttribute("data-background-video-muted");
278
- if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${pe(decodeURI(e.trim()))})`).join(",");
278
+ if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${ge(decodeURI(e.trim()))})`).join(",");
279
279
  else if (o) {
280
280
  let e = document.createElement("video");
281
- s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), he && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
281
+ s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), ve && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
282
282
  let n = document.createElement("source");
283
283
  n.setAttribute("src", t);
284
- let r = fe(t);
284
+ let r = he(t);
285
285
  r && n.setAttribute("type", r), e.appendChild(n);
286
286
  }), n.appendChild(e);
287
287
  } else if (i && t.excludeIframes !== !0) {
@@ -296,7 +296,7 @@ var be = class {
296
296
  }
297
297
  layout(e) {
298
298
  Array.from(e.querySelectorAll(".r-fit-text")).forEach((e) => {
299
- ge(e, {
299
+ be(e, {
300
300
  minSize: 24,
301
301
  maxSize: this.Reveal.getConfig().height * .8,
302
302
  observeMutations: !1,
@@ -334,7 +334,7 @@ var be = class {
334
334
  let n = this.Reveal.getConfig().autoPlayMedia;
335
335
  if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!I(e, ".slide-background")), n && typeof e.play == "function") {
336
336
  if (t && !e.muted) return;
337
- e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : he ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
337
+ e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : ve ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
338
338
  }
339
339
  }), t || (P(e, "iframe[src]").forEach((e) => {
340
340
  I(e, ".fragment") && !I(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
@@ -381,8 +381,8 @@ var be = class {
381
381
  }
382
382
  }
383
383
  stopEmbeddedContent(e, t = {}) {
384
- t = re({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
385
- !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), he && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
384
+ t = ae({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
385
+ !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), ve && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
386
386
  }), P(e, "iframe").forEach((e) => {
387
387
  e.contentWindow && e.contentWindow.postMessage("slide:stop", "*"), e.removeEventListener("load", this.preventIframeAutoFocus), e.removeEventListener("load", this.startEmbeddedIframe);
388
388
  }), P(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
@@ -433,7 +433,7 @@ var be = class {
433
433
  afterSlideChanged() {
434
434
  this.clearMediaPlaybackErrors();
435
435
  }
436
- }, B = ".slides section", xe = ".slides>section", Se = ".slides>section.present>section", Ce = ".backgrounds>.slide-background", we = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Te = class {
436
+ }, z = ".slides section", B = ".slides>section", we = ".slides>section.present>section", Te = ".backgrounds>.slide-background", Ee = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, De = class {
437
437
  constructor(e) {
438
438
  this.Reveal = e;
439
439
  }
@@ -482,7 +482,7 @@ var be = class {
482
482
  destroy() {
483
483
  this.element.remove();
484
484
  }
485
- }, V = class {
485
+ }, Oe = class {
486
486
  constructor(e) {
487
487
  this.Reveal = e, this.onInput = this.onInput.bind(this), this.onBlur = this.onBlur.bind(this), this.onKeyDown = this.onKeyDown.bind(this);
488
488
  }
@@ -535,7 +535,7 @@ var be = class {
535
535
  onBlur() {
536
536
  setTimeout(() => this.hide(), 1);
537
537
  }
538
- }, Ee = (e) => {
538
+ }, V = (e) => {
539
539
  let t = e.match(/^#([0-9a-f]{3})$/i);
540
540
  if (t && t[1]) {
541
541
  let e = t[1];
@@ -567,7 +567,7 @@ var be = class {
567
567
  b: parseInt(i[3], 10),
568
568
  a: parseFloat(i[4])
569
569
  } : null;
570
- }, De = (e) => (typeof e == "string" && (e = Ee(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Oe = class {
570
+ }, ke = (e) => (typeof e == "string" && (e = V(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Ae = class {
571
571
  constructor(e) {
572
572
  this.Reveal = e;
573
573
  }
@@ -610,13 +610,13 @@ var be = class {
610
610
  }
611
611
  getContrastClass(e) {
612
612
  let t = e.slideBackgroundElement, n = e.getAttribute("data-background-color");
613
- if (!n || !Ee(n)) {
613
+ if (!n || !V(n)) {
614
614
  let e = window.getComputedStyle(t);
615
615
  e && e.backgroundColor && (n = e.backgroundColor);
616
616
  }
617
617
  if (n) {
618
- let e = Ee(n);
619
- if (e && e.a !== 0) return De(n) < 128 ? "has-dark-background" : "has-light-background";
618
+ let e = V(n);
619
+ if (e && e.a !== 0) return ke(n) < 128 ? "has-dark-background" : "has-light-background";
620
620
  }
621
621
  return null;
622
622
  }
@@ -672,7 +672,7 @@ var be = class {
672
672
  destroy() {
673
673
  this.element.remove();
674
674
  }
675
- }, ke = 0, Ae = class {
675
+ }, je = 0, Me = class {
676
676
  constructor(e) {
677
677
  this.Reveal = e;
678
678
  }
@@ -680,17 +680,17 @@ var be = class {
680
680
  this.reset();
681
681
  let n = this.Reveal.getSlides(), r = n.indexOf(t), i = n.indexOf(e);
682
682
  if (e && t && e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(r > i ? t : e).hasAttribute("data-auto-animate-restart")) {
683
- this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || L();
683
+ this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || de();
684
684
  let n = this.getAutoAnimateOptions(t);
685
685
  e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
686
686
  let a = e.style.display === "none";
687
687
  a && (e.style.display = this.Reveal.getConfig().display);
688
- let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, ke++));
688
+ let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, je++));
689
689
  if (a && (e.style.display = "none"), t.dataset.autoAnimateUnmatched !== "false" && this.Reveal.getConfig().autoAnimateUnmatched === !0) {
690
690
  let e = n.duration * .8, r = n.duration * .2;
691
691
  this.getUnmatchedAutoAnimateElements(t).forEach((e) => {
692
692
  let t = this.getAutoAnimateOptions(e, n), r = "unmatched";
693
- (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + ke++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
693
+ (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + je++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
694
694
  }, this), o.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${e}s ease ${r}s; }`);
695
695
  }
696
696
  this.autoAnimateStyleSheet.innerHTML = o.join(""), requestAnimationFrame(() => {
@@ -749,7 +749,7 @@ var be = class {
749
749
  duration: this.Reveal.getConfig().autoAnimateDuration,
750
750
  delay: 0
751
751
  };
752
- if (n = re(n, t), e.parentNode) {
752
+ if (n = ae(n, t), e.parentNode) {
753
753
  let t = I(e.parentNode, "[data-auto-animate-target]");
754
754
  t && (n = this.getAutoAnimateOptions(t, n));
755
755
  }
@@ -842,7 +842,7 @@ var be = class {
842
842
  return !t.hasAttribute("data-auto-animate-target") && !n && e.push(t), t.querySelector("[data-auto-animate-target]") && (e = e.concat(this.getUnmatchedAutoAnimateElements(t))), e;
843
843
  }, []);
844
844
  }
845
- }, je = 500, Me = 4, Ne = 6, Pe = 8, Fe = class {
845
+ }, Ne = 500, Pe = 4, Fe = 6, Ie = 8, Le = class {
846
846
  constructor(e) {
847
847
  this.Reveal = e, this.active = !1, this.activeProgressBarPage = null, this.activeProgressBarTrigger = null, this.activatedCallbacks = [], this.onScroll = this.onScroll.bind(this);
848
848
  }
@@ -850,7 +850,7 @@ var be = class {
850
850
  if (this.active) return;
851
851
  let e = this.Reveal.getState();
852
852
  this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
853
- let t = P(this.Reveal.getRevealElement(), xe), n = P(this.Reveal.getRevealElement(), Ce);
853
+ let t = P(this.Reveal.getRevealElement(), B), n = P(this.Reveal.getRevealElement(), Te);
854
854
  this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
855
855
  let r, i = window.getComputedStyle(this.viewportElement);
856
856
  i && i.background && (r = i.background);
@@ -975,9 +975,9 @@ var be = class {
975
975
  e.progressBarSlide = null, e.scrollTriggers.forEach((e) => e.progressBarElement = null);
976
976
  });
977
977
  let e = this.viewportElement.scrollHeight, t = this.viewportElement.offsetHeight, n = t / e;
978
- this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Pe), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
- let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Me);
980
- this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Ne && this.slideTriggers.forEach((e) => {
978
+ this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Ie), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
+ let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Pe);
980
+ this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Fe && this.slideTriggers.forEach((e) => {
981
981
  let { page: t } = e;
982
982
  t.progressBarSlide = document.createElement("div"), t.progressBarSlide.className = "scrollbar-slide", t.progressBarSlide.style.top = e.range[0] * this.progressBarHeight + "px", t.progressBarSlide.style.height = (e.range[1] - e.range[0]) * this.progressBarHeight - i + "px", t.progressBarSlide.classList.toggle("has-triggers", t.scrollTriggers.length > 0), this.progressBarInner.appendChild(t.progressBarSlide), t.scrollTriggers.forEach((n, r) => {
983
983
  let a = document.createElement("div");
@@ -1010,7 +1010,7 @@ var be = class {
1010
1010
  showProgressBar() {
1011
1011
  this.progressBar.classList.add("visible"), clearTimeout(this.hideProgressBarTimeout), this.Reveal.getConfig().scrollProgress === "auto" && !this.draggingProgressBar && (this.hideProgressBarTimeout = setTimeout(() => {
1012
1012
  this.progressBar && this.progressBar.classList.remove("visible");
1013
- }, je));
1013
+ }, Ne));
1014
1014
  }
1015
1015
  prev() {
1016
1016
  this.viewportElement.scrollTop -= this.scrollTriggerHeight;
@@ -1071,7 +1071,7 @@ var be = class {
1071
1071
  return this.Reveal.getViewportElement();
1072
1072
  }
1073
1073
  };
1074
- function Ie(e, t, n, r, i, a, o) {
1074
+ function H(e, t, n, r, i, a, o) {
1075
1075
  try {
1076
1076
  var s = e[a](o), c = s.value;
1077
1077
  } catch (e) {
@@ -1080,30 +1080,30 @@ function Ie(e, t, n, r, i, a, o) {
1080
1080
  }
1081
1081
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1082
1082
  }
1083
- function Le(e) {
1083
+ function Re(e) {
1084
1084
  return function() {
1085
1085
  var t = this, n = arguments;
1086
1086
  return new Promise(function(r, i) {
1087
1087
  var a = e.apply(t, n);
1088
1088
  function o(e) {
1089
- Ie(a, r, i, o, s, "next", e);
1089
+ H(a, r, i, o, s, "next", e);
1090
1090
  }
1091
1091
  function s(e) {
1092
- Ie(a, r, i, o, s, "throw", e);
1092
+ H(a, r, i, o, s, "throw", e);
1093
1093
  }
1094
1094
  o(void 0);
1095
1095
  });
1096
1096
  };
1097
1097
  }
1098
- var Re = class {
1098
+ var ze = class {
1099
1099
  constructor(e) {
1100
1100
  this.Reveal = e;
1101
1101
  }
1102
1102
  activate() {
1103
1103
  var e = this;
1104
- return Le(function* () {
1105
- let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), B), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
- yield new Promise(requestAnimationFrame), L("@page{size:" + a + "px " + o + "px; margin: 0px;}"), L(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1104
+ return Re(function* () {
1105
+ let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), z), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
+ yield new Promise(requestAnimationFrame), de("@page{size:" + a + "px " + o + "px; margin: 0px;}"), de(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1107
1107
  let l = e.Reveal.getViewportElement(), u;
1108
1108
  if (l) {
1109
1109
  let e = window.getComputedStyle(l);
@@ -1156,7 +1156,7 @@ var Re = class {
1156
1156
  isActive() {
1157
1157
  return this.Reveal.getConfig().view === "print";
1158
1158
  }
1159
- }, ze = class {
1159
+ }, Be = class {
1160
1160
  constructor(e) {
1161
1161
  this.Reveal = e;
1162
1162
  }
@@ -1279,13 +1279,13 @@ var Re = class {
1279
1279
  prev() {
1280
1280
  return this.goto(null, -1);
1281
1281
  }
1282
- }, Be = class {
1282
+ }, Ve = class {
1283
1283
  constructor(e) {
1284
1284
  this.Reveal = e, this.active = !1, this.onSlideClicked = this.onSlideClicked.bind(this);
1285
1285
  }
1286
1286
  activate() {
1287
1287
  if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
1288
- this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), B).forEach((e) => {
1288
+ this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), z).forEach((e) => {
1289
1289
  e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
1290
1290
  });
1291
1291
  let e = this.Reveal.getComputedSlideSize();
@@ -1303,12 +1303,12 @@ var Re = class {
1303
1303
  }
1304
1304
  layout() {
1305
1305
  this.Reveal.getHorizontalSlides().forEach((e, t) => {
1306
- e.setAttribute("data-index-h", t), oe(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1307
- e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), oe(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1306
+ e.setAttribute("data-index-h", t), ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1307
+ e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), ce(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1308
1308
  });
1309
1309
  }), Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((e, t) => {
1310
- oe(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1311
- oe(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1310
+ ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1311
+ ce(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1312
1312
  });
1313
1313
  });
1314
1314
  }
@@ -1324,10 +1324,10 @@ var Re = class {
1324
1324
  if (this.Reveal.getConfig().overview) {
1325
1325
  this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
1326
1326
  this.Reveal.getRevealElement().classList.remove("overview-deactivating");
1327
- }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), B).forEach((e) => {
1328
- oe(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1327
+ }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), z).forEach((e) => {
1328
+ ce(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1329
1329
  }), P(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1330
- oe(e, "");
1330
+ ce(e, "");
1331
1331
  }), this.Reveal.transformSlides({ overview: "" });
1332
1332
  let e = this.Reveal.getIndices();
1333
1333
  this.Reveal.slide(e.h, e.v), this.Reveal.layout(), this.Reveal.cueAutoSlide(), this.Reveal.dispatchEvent({
@@ -1357,7 +1357,7 @@ var Re = class {
1357
1357
  }
1358
1358
  }
1359
1359
  }
1360
- }, Ve = class {
1360
+ }, He = class {
1361
1361
  constructor(e) {
1362
1362
  this.Reveal = e, this.shortcuts = {}, this.bindings = {}, this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
1363
1363
  }
@@ -1447,10 +1447,10 @@ var Re = class {
1447
1447
  66,
1448
1448
  86,
1449
1449
  190
1450
- ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? se(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1450
+ ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? le(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1451
1451
  }
1452
1452
  };
1453
- function H(e, t) {
1453
+ function Ue(e, t) {
1454
1454
  var n = Object.keys(e);
1455
1455
  if (Object.getOwnPropertySymbols) {
1456
1456
  var r = Object.getOwnPropertySymbols(e);
@@ -1463,17 +1463,17 @@ function H(e, t) {
1463
1463
  function U(e) {
1464
1464
  for (var t = 1; t < arguments.length; t++) {
1465
1465
  var n = arguments[t] == null ? {} : arguments[t];
1466
- t % 2 ? H(Object(n), !0).forEach(function(t) {
1467
- z(e, t, n[t]);
1468
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(t) {
1466
+ t % 2 ? Ue(Object(n), !0).forEach(function(t) {
1467
+ Ce(e, t, n[t]);
1468
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
1469
1469
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1470
1470
  });
1471
1471
  }
1472
1472
  return e;
1473
1473
  }
1474
- var He = class {
1474
+ var We = class {
1475
1475
  constructor(e) {
1476
- z(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1476
+ Ce(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1477
1477
  }
1478
1478
  bind() {
1479
1479
  window.addEventListener("hashchange", this.onWindowHashChange, !1);
@@ -1533,7 +1533,7 @@ var He = class {
1533
1533
  onWindowHashChange(e) {
1534
1534
  this.readURL();
1535
1535
  }
1536
- }, Ue = class {
1536
+ }, Ge = class {
1537
1537
  constructor(e) {
1538
1538
  this.Reveal = e, this.onNavigateLeftClicked = this.onNavigateLeftClicked.bind(this), this.onNavigateRightClicked = this.onNavigateRightClicked.bind(this), this.onNavigateUpClicked = this.onNavigateUpClicked.bind(this), this.onNavigateDownClicked = this.onNavigateDownClicked.bind(this), this.onNavigatePrevClicked = this.onNavigatePrevClicked.bind(this), this.onNavigateNextClicked = this.onNavigateNextClicked.bind(this), this.onEnterFullscreen = this.onEnterFullscreen.bind(this);
1539
1539
  }
@@ -1550,7 +1550,7 @@ var He = class {
1550
1550
  }
1551
1551
  bind() {
1552
1552
  let e = ["touchstart", "click"];
1553
- R && (e = ["touchend"]), e.forEach((e) => {
1553
+ ye && (e = ["touchend"]), e.forEach((e) => {
1554
1554
  this.controlsLeft.forEach((t) => t.addEventListener(e, this.onNavigateLeftClicked, !1)), this.controlsRight.forEach((t) => t.addEventListener(e, this.onNavigateRightClicked, !1)), this.controlsUp.forEach((t) => t.addEventListener(e, this.onNavigateUpClicked, !1)), this.controlsDown.forEach((t) => t.addEventListener(e, this.onNavigateDownClicked, !1)), this.controlsPrev.forEach((t) => t.addEventListener(e, this.onNavigatePrevClicked, !1)), this.controlsNext.forEach((t) => t.addEventListener(e, this.onNavigateNextClicked, !1)), this.controlsFullscreen.forEach((t) => t.addEventListener(e, this.onEnterFullscreen, !1));
1555
1555
  });
1556
1556
  }
@@ -1634,9 +1634,9 @@ var He = class {
1634
1634
  }
1635
1635
  onEnterFullscreen(e) {
1636
1636
  let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
1637
- se(t.embedded ? n : n.parentElement);
1637
+ le(t.embedded ? n : n.parentElement);
1638
1638
  }
1639
- }, We = class {
1639
+ }, Ke = class {
1640
1640
  constructor(e) {
1641
1641
  this.Reveal = e, this.onProgressClicked = this.onProgressClicked.bind(this);
1642
1642
  }
@@ -1671,7 +1671,7 @@ var He = class {
1671
1671
  destroy() {
1672
1672
  this.element.remove();
1673
1673
  }
1674
- }, Ge = class {
1674
+ }, qe = class {
1675
1675
  constructor(e) {
1676
1676
  this.Reveal = e, this.lastMouseWheelStep = 0, this.cursorHidden = !1, this.cursorInactiveTimeout = 0, this.onDocumentCursorActive = this.onDocumentCursorActive.bind(this), this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind(this);
1677
1677
  }
@@ -1697,7 +1697,7 @@ var He = class {
1697
1697
  t > 0 ? this.Reveal.next() : t < 0 && this.Reveal.prev();
1698
1698
  }
1699
1699
  }
1700
- }, Ke = (e, t) => {
1700
+ }, Je = (e, t) => {
1701
1701
  let n = document.createElement("script");
1702
1702
  n.type = "text/javascript", n.async = !1, n.defer = !1, n.src = e, typeof t == "function" && (n.onload = (e) => {
1703
1703
  e.type === "load" && (n.onload = n.onerror = null, t());
@@ -1706,7 +1706,7 @@ var He = class {
1706
1706
  });
1707
1707
  let r = document.querySelector("head");
1708
1708
  r && r.insertBefore(n, r.lastChild);
1709
- }, qe = class {
1709
+ }, Ye = class {
1710
1710
  constructor(e) {
1711
1711
  this.Reveal = e, this.state = "idle", this.registeredPlugins = {}, this.asyncDependencies = [];
1712
1712
  }
@@ -1721,7 +1721,7 @@ var He = class {
1721
1721
  t && typeof t.callback == "function" && t.callback(), --r === 0 && this.initPlugins().then(e);
1722
1722
  };
1723
1723
  n.forEach((e) => {
1724
- typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Ke(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1724
+ typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Je(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1725
1725
  });
1726
1726
  } else this.initPlugins().then(e);
1727
1727
  });
@@ -1746,7 +1746,7 @@ var He = class {
1746
1746
  }
1747
1747
  loadAsync() {
1748
1748
  return this.state = "loaded", this.asyncDependencies.length && this.asyncDependencies.forEach((e) => {
1749
- Ke(e.src, e.callback);
1749
+ Je(e.src, e.callback);
1750
1750
  }), Promise.resolve();
1751
1751
  }
1752
1752
  registerPlugin(e) {
@@ -1768,7 +1768,7 @@ var He = class {
1768
1768
  typeof e.destroy == "function" && e.destroy();
1769
1769
  }), this.registeredPlugins = {}, this.asyncDependencies = [];
1770
1770
  }
1771
- }, Je = class {
1771
+ }, Xe = class {
1772
1772
  constructor(e) {
1773
1773
  this.Reveal = e, this.onSlidesClicked = this.onSlidesClicked.bind(this), this.iframeTriggerSelector = null, this.mediaTriggerSelector = "[data-preview-image], [data-preview-video]", this.stateProps = [
1774
1774
  "previewIframe",
@@ -1916,7 +1916,7 @@ var He = class {
1916
1916
  destroy() {
1917
1917
  this.close();
1918
1918
  }
1919
- }, Ye = 40, Xe = 1.03, Ze = class {
1919
+ }, Ze = 40, Qe = 1.03, $e = class {
1920
1920
  constructor(e) {
1921
1921
  this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.activePointers = /* @__PURE__ */ new Map(), this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onPointerCancel = this.onPointerCancel.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
1922
1922
  }
@@ -1939,7 +1939,7 @@ var He = class {
1939
1939
  isViewportZoomed() {
1940
1940
  if (!window.visualViewport || typeof window.visualViewport.scale != "number") return !1;
1941
1941
  let e = window.visualViewport.scale;
1942
- return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Xe;
1942
+ return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Qe;
1943
1943
  }
1944
1944
  onTouchStart(e) {
1945
1945
  if (this.touchCaptured = !1, this.isSwipePrevented(e.target)) return !0;
@@ -1948,13 +1948,13 @@ var He = class {
1948
1948
  onTouchMove(e) {
1949
1949
  if (this.isSwipePrevented(e.target)) return !0;
1950
1950
  let t = this.Reveal.getConfig();
1951
- if (this.touchCaptured) R && e.preventDefault();
1951
+ if (this.touchCaptured) ye && e.preventDefault();
1952
1952
  else {
1953
1953
  this.Reveal.onUserInput(e);
1954
1954
  let n = e.touches[0].clientX, r = e.touches[0].clientY;
1955
1955
  if (e.touches.length === 1 && this.touchStartCount !== 2) {
1956
1956
  let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
1957
- a > Ye && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -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 > Ye && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1957
+ a > Ze && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -40 && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Ze && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1958
1958
  }
1959
1959
  }
1960
1960
  }
@@ -1979,7 +1979,7 @@ var He = class {
1979
1979
  onPointerCancel(e) {
1980
1980
  e.pointerType === "touch" && (this.activePointers.delete(e.pointerId), e.touches = this.getActiveTouches(), this.onTouchEnd(e));
1981
1981
  }
1982
- }, Qe = "focus", $e = "blur", et = class {
1982
+ }, et = "focus", tt = "blur", nt = class {
1983
1983
  constructor(e) {
1984
1984
  this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
1985
1985
  }
@@ -1993,13 +1993,13 @@ var He = class {
1993
1993
  this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
1994
1994
  }
1995
1995
  focus() {
1996
- this.state !== Qe && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = Qe;
1996
+ this.state !== et && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = et;
1997
1997
  }
1998
1998
  blur() {
1999
- this.state !== $e && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = $e;
1999
+ this.state !== tt && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = tt;
2000
2000
  }
2001
2001
  isFocused() {
2002
- return this.state === Qe;
2002
+ return this.state === et;
2003
2003
  }
2004
2004
  destroy() {
2005
2005
  this.Reveal.getRevealElement().classList.remove("focused");
@@ -2011,7 +2011,7 @@ var He = class {
2011
2011
  let t = I(e.target, ".reveal");
2012
2012
  (!t || t !== this.Reveal.getRevealElement()) && this.blur();
2013
2013
  }
2014
- }, tt = class {
2014
+ }, rt = class {
2015
2015
  constructor(e) {
2016
2016
  this.Reveal = e;
2017
2017
  }
@@ -2041,7 +2041,7 @@ var He = class {
2041
2041
  destroy() {
2042
2042
  this.element.remove();
2043
2043
  }
2044
- }, nt = class {
2044
+ }, it = class {
2045
2045
  constructor(e, t) {
2046
2046
  this.diameter = 100, this.diameter2 = this.diameter / 2, this.thickness = 6, this.playing = !1, this.progress = 0, this.progressOffset = 1, this.container = e, this.progressCheck = t, this.canvas = document.createElement("canvas"), this.canvas.className = "playback", this.canvas.width = this.diameter, this.canvas.height = this.diameter, this.canvas.style.width = this.diameter2 + "px", this.canvas.style.height = this.diameter2 + "px", this.context = this.canvas.getContext("2d"), this.container.appendChild(this.canvas), this.render();
2047
2047
  }
@@ -2068,7 +2068,7 @@ var He = class {
2068
2068
  destroy() {
2069
2069
  this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
2070
2070
  }
2071
- }, rt = {
2071
+ }, at = {
2072
2072
  width: 960,
2073
2073
  height: 700,
2074
2074
  margin: .04,
@@ -2158,8 +2158,8 @@ var He = class {
2158
2158
  pdfPageHeightOffset: -1,
2159
2159
  dependencies: [],
2160
2160
  plugins: []
2161
- }, it = "6.0.2";
2162
- function at(e, t) {
2161
+ }, ot = "6.0.2";
2162
+ function st(e, t) {
2163
2163
  arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
2164
2164
  let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
2165
2165
  hasNavigatedHorizontally: !1,
@@ -2167,18 +2167,18 @@ function at(e, t) {
2167
2167
  }, d = [], f = 1, p = {
2168
2168
  layout: "",
2169
2169
  overview: ""
2170
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new be(n), S = new Te(n), C = new V(n), ee = new Ae(n), w = new Oe(n), T = new Fe(n), E = new Re(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new He(n), te = new Ue(n), ne = new We(n), j = new Ge(n), M = new qe(n), N = new Je(n), F = new et(n), se = new Ze(n), L = new tt(n);
2171
- function de(a) {
2170
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new R(n), S = new De(n), C = new Oe(n), w = new Me(n), T = new Ae(n), E = new Le(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new He(n), ee = new We(n), j = new Ge(n), te = new Ke(n), ne = new qe(n), re = new Ye(n), M = new Xe(n), N = new nt(n), ie = new $e(n), F = new rt(n);
2171
+ function le(a) {
2172
2172
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2173
2173
  if (i) throw "Reveal.js has already been initialized.";
2174
2174
  if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
2175
- return r = U(U(U(U(U({}, rt), r), t), a), le()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), fe(), window.addEventListener("load", Xe, !1), M.load(r.plugins, r.dependencies).then(pe), new Promise((e) => n.on("ready", e));
2175
+ return r = U(U(U(U(U({}, at), r), t), a), fe()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), de(), window.addEventListener("load", Je, !1), re.load(r.plugins, r.dependencies).then(me), new Promise((e) => n.on("ready", e));
2176
2176
  }
2177
- function fe() {
2177
+ function de() {
2178
2178
  r.embedded === !0 ? m.viewport = I(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2179
2179
  }
2180
- function pe() {
2181
- i !== !1 && (a = !0, R(), ge(), De(), Ce(), Ee(), xt(), ke(), w.update(!0), me(), A.readURL(), setTimeout(() => {
2180
+ function me() {
2181
+ i !== !1 && (a = !0, ge(), _e(), Te(), Se(), Ce(), St(), V(), T.update(!0), he(), ee.readURL(), setTimeout(() => {
2182
2182
  m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2183
2183
  type: "ready",
2184
2184
  data: {
@@ -2189,27 +2189,27 @@ function at(e, t) {
2189
2189
  });
2190
2190
  }, 1));
2191
2191
  }
2192
- function me() {
2192
+ function he() {
2193
2193
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2194
- (e || t) && (e ? Me() : se.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? E.activate() : window.addEventListener("load", () => E.activate()) : T.activate());
2194
+ (e || t) && (e ? je() : ie.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2195
2195
  }
2196
- function R() {
2196
+ function ge() {
2197
2197
  r.showHiddenSlides || P(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2198
2198
  let t = e.parentNode;
2199
2199
  t.childElementCount === 1 && /section/i.test(t.nodeName) ? t.remove() : e.remove();
2200
2200
  });
2201
2201
  }
2202
- function ge() {
2203
- m.slides.classList.add("no-transition"), he ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), w.render(), S.render(), C.render(), te.render(), ne.render(), L.render(), m.pauseOverlay = ce(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = _e(), m.wrapper.setAttribute("role", "application");
2204
- }
2205
2202
  function _e() {
2203
+ m.slides.classList.add("no-transition"), ve ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), j.render(), te.render(), F.render(), m.pauseOverlay = ue(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2204
+ }
2205
+ function ye() {
2206
2206
  let e = m.wrapper.querySelector(".aria-status");
2207
2207
  return e || (e = document.createElement("div"), e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.overflow = "hidden", e.style.clip = "rect( 1px, 1px, 1px, 1px )", e.classList.add("aria-status"), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), m.wrapper.appendChild(e)), e;
2208
2208
  }
2209
- function ve(e) {
2209
+ function be(e) {
2210
2210
  m.statusElement.textContent = e;
2211
2211
  }
2212
- function ye(e) {
2212
+ function L(e) {
2213
2213
  let t = "";
2214
2214
  if (e.nodeType === 3) t += e.textContent.trim();
2215
2215
  else if (e.nodeType === 1) {
@@ -2217,10 +2217,10 @@ function at(e, t) {
2217
2217
  if (n !== "true" && !r) {
2218
2218
  if (e.tagName === "IMG" || e.tagName === "VIDEO") {
2219
2219
  let n = e.getAttribute("alt");
2220
- n && (t += z(n));
2220
+ n && (t += xe(n));
2221
2221
  }
2222
2222
  Array.from(e.childNodes).forEach((e) => {
2223
- t += ye(e);
2223
+ t += L(e);
2224
2224
  }), [
2225
2225
  "P",
2226
2226
  "DIV",
@@ -2234,57 +2234,57 @@ function at(e, t) {
2234
2234
  "H5",
2235
2235
  "H6",
2236
2236
  "BLOCKQUOTE"
2237
- ].includes(e.tagName) && t.trim() !== "" && (t = z(t));
2237
+ ].includes(e.tagName) && t.trim() !== "" && (t = xe(t));
2238
2238
  }
2239
2239
  }
2240
2240
  return t = t.trim(), t === "" ? "" : t + " ";
2241
2241
  }
2242
- function z(e) {
2242
+ function xe(e) {
2243
2243
  let t = e.trim();
2244
2244
  return t === "" ? e : /[.!?]$/.test(t) ? t : t + ".";
2245
2245
  }
2246
- function Ce() {
2246
+ function Se() {
2247
2247
  setInterval(() => {
2248
- (!T.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2248
+ (!E.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2249
2249
  }, 1e3);
2250
2250
  }
2251
- function Ee() {
2252
- document.addEventListener("fullscreenchange", rn), document.addEventListener("webkitfullscreenchange", rn);
2251
+ function Ce() {
2252
+ document.addEventListener("fullscreenchange", nn), document.addEventListener("webkitfullscreenchange", nn);
2253
2253
  }
2254
- function De() {
2255
- r.postMessage && window.addEventListener("message", Qt, !1);
2254
+ function Te() {
2255
+ r.postMessage && window.addEventListener("message", Zt, !1);
2256
2256
  }
2257
- function ke(e) {
2257
+ function V(e) {
2258
2258
  let t = U({}, r);
2259
- if (typeof e == "object" && re(r, e), n.isReady() === !1) return;
2260
- let i = m.wrapper.querySelectorAll(B).length;
2261
- m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && J(), ie(m.wrapper, "embedded", r.embedded), ie(m.wrapper, "rtl", r.rtl), ie(m.wrapper, "center", r.center), r.pause === !1 && ft(), ee.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new nt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), L.configure(r, t), F.configure(r, t), j.configure(r, t), te.configure(r, t), ne.configure(r, t), k.configure(r, t), D.configure(r, t), S.configure(r, t), q();
2259
+ if (typeof e == "object" && ae(r, e), n.isReady() === !1) return;
2260
+ let i = m.wrapper.querySelectorAll(z).length;
2261
+ m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && Ct(), oe(m.wrapper, "embedded", r.embedded), oe(m.wrapper, "rtl", r.rtl), oe(m.wrapper, "center", r.center), r.pause === !1 && ft(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new it(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", rn), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), F.configure(r, t), N.configure(r, t), ne.configure(r, t), j.configure(r, t), te.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), bt();
2262
2262
  }
2263
- function je() {
2264
- window.addEventListener("resize", tn, !1), r.touch && se.bind(), r.keyboard && k.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), F.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", ft, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2263
+ function ke() {
2264
+ window.addEventListener("resize", en, !1), r.touch && ie.bind(), r.keyboard && A.bind(), r.progress && te.bind(), r.respondToHashChanges && ee.bind(), j.bind(), N.bind(), m.slides.addEventListener("click", $t, !1), m.slides.addEventListener("transitionend", Qt, !1), m.pauseOverlay.addEventListener("click", ft, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", tn, !1);
2265
2265
  }
2266
- function Me() {
2267
- se.unbind(), F.unbind(), k.unbind(), te.unbind(), ne.unbind(), A.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", ft, !1);
2266
+ function je() {
2267
+ ie.unbind(), N.unbind(), A.unbind(), j.unbind(), te.unbind(), ee.unbind(), window.removeEventListener("resize", en, !1), m.slides.removeEventListener("click", $t, !1), m.slides.removeEventListener("transitionend", Qt, !1), m.pauseOverlay.removeEventListener("click", ft, !1);
2268
2268
  }
2269
2269
  function Ne() {
2270
- i = !1, a !== !1 && (Me(), Ht(), L.destroy(), F.destroy(), N.destroy(), M.destroy(), j.destroy(), te.destroy(), ne.destroy(), w.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", Xe, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(B)).forEach((e) => {
2270
+ i = !1, a !== !1 && (je(), Vt(), F.destroy(), N.destroy(), M.destroy(), re.destroy(), ne.destroy(), j.destroy(), te.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", nn), document.removeEventListener("webkitfullscreenchange", nn), document.removeEventListener("visibilitychange", tn, !1), window.removeEventListener("message", Zt, !1), window.removeEventListener("load", Je, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(z)).forEach((e) => {
2271
2271
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), e.removeAttribute("inert");
2272
2272
  }));
2273
2273
  }
2274
2274
  function Pe(t, n, r) {
2275
2275
  e.addEventListener(t, n, r);
2276
2276
  }
2277
- function Ie(t, n, r) {
2277
+ function Fe(t, n, r) {
2278
2278
  e.removeEventListener(t, n, r);
2279
2279
  }
2280
- function Le(e) {
2281
- typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? oe(m.slides, p.layout + " " + p.overview) : oe(m.slides, p.overview);
2280
+ function Ie(e) {
2281
+ typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? ce(m.slides, p.layout + " " + p.overview) : ce(m.slides, p.overview);
2282
2282
  }
2283
2283
  function H({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2284
2284
  let i = document.createEvent("HTMLEvents", 1, 2);
2285
- return i.initEvent(t, r, !0), re(i, n), e.dispatchEvent(i), e === m.wrapper && Ye(t), i;
2285
+ return i.initEvent(t, r, !0), ae(i, n), e.dispatchEvent(i), e === m.wrapper && Ue(t), i;
2286
2286
  }
2287
- function Ke(e) {
2287
+ function Re(e) {
2288
2288
  H({
2289
2289
  type: "slidechanged",
2290
2290
  data: {
@@ -2296,24 +2296,24 @@ function at(e, t) {
2296
2296
  }
2297
2297
  });
2298
2298
  }
2299
- function Ye(e, t) {
2299
+ function Ue(e, t) {
2300
2300
  if (r.postMessageEvents && window.parent !== window.self) {
2301
2301
  let n = {
2302
2302
  namespace: "reveal",
2303
2303
  eventName: e,
2304
- state: zt()
2304
+ state: Rt()
2305
2305
  };
2306
- re(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2306
+ ae(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2307
2307
  }
2308
2308
  }
2309
- function Xe() {
2310
- if (m.wrapper && !E.isActive()) {
2309
+ function Je() {
2310
+ if (m.wrapper && !D.isActive()) {
2311
2311
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2312
2312
  if (!r.disableLayout) {
2313
- he && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
- let n = T.isActive() ? at(e, t) : at(), i = f;
2315
- Qe(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || T.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
- let a = Array.from(m.wrapper.querySelectorAll(B)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2313
+ ve && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
+ let n = E.isActive() ? et(e, t) : et(), i = f;
2315
+ Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Ie({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Ie({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
+ let a = Array.from(m.wrapper.querySelectorAll(z)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2317
2317
  for (let e = 0, t = a.length; e < t; e++) {
2318
2318
  let t = a[e];
2319
2319
  r.center || t.classList.contains("center") ? t.classList.contains("stack") ? o[e] = 0 : o[e] = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : o[e] = "";
@@ -2328,25 +2328,25 @@ function at(e, t) {
2328
2328
  }
2329
2329
  });
2330
2330
  }
2331
- $e(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), T.layout(), ne.update(), w.updateParallax(), O.isActive() && O.update();
2331
+ Qe(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), te.update(), T.updateParallax(), k.isActive() && k.update();
2332
2332
  }
2333
2333
  }
2334
- function Qe(e, t) {
2334
+ function Ze(e, t) {
2335
2335
  P(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2336
- let r = ue(n, t);
2336
+ let r = pe(n, t);
2337
2337
  if (/(img|video)/gi.test(n.nodeName)) {
2338
2338
  let t = n.naturalWidth || n.videoWidth, i = n.naturalHeight || n.videoHeight, a = Math.min(e / t, r / i);
2339
2339
  n.style.width = t * a + "px", n.style.height = i * a + "px";
2340
2340
  } else n.style.width = e + "px", n.style.height = r + "px";
2341
2341
  });
2342
2342
  }
2343
- function $e() {
2344
- if (m.wrapper && !r.disableLayout && !E.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
- let e = at();
2346
- e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? T.isActive() || (w.create(), T.activate()) : T.isActive() && T.deactivate();
2343
+ function Qe() {
2344
+ if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
+ let e = et();
2346
+ e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
2347
2347
  }
2348
2348
  }
2349
- function at(e, t) {
2349
+ function et(e, t) {
2350
2350
  let n = r.width, i = r.height;
2351
2351
  r.disableLayout && (n = m.slides.offsetWidth, i = m.slides.offsetHeight);
2352
2352
  let a = {
@@ -2357,40 +2357,40 @@ function at(e, t) {
2357
2357
  };
2358
2358
  return a.presentationWidth -= a.presentationWidth * r.margin, a.presentationHeight -= a.presentationHeight * r.margin, typeof a.width == "string" && /%$/.test(a.width) && (a.width = parseInt(a.width, 10) / 100 * a.presentationWidth), typeof a.height == "string" && /%$/.test(a.height) && (a.height = parseInt(a.height, 10) / 100 * a.presentationHeight), a;
2359
2359
  }
2360
- function W(e, t) {
2360
+ function tt(e, t) {
2361
2361
  typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
2362
2362
  }
2363
- function ot(e) {
2363
+ function st(e) {
2364
2364
  if (typeof e == "object" && typeof e.setAttribute == "function" && e.classList.contains("stack")) {
2365
2365
  let t = e.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2366
2366
  return parseInt(e.getAttribute(t) || 0, 10);
2367
2367
  }
2368
2368
  return 0;
2369
2369
  }
2370
- function G(e = l) {
2370
+ function W(e = l) {
2371
2371
  return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
2372
2372
  }
2373
- function st(e = l) {
2373
+ function ct(e = l) {
2374
2374
  return e.classList.contains(".stack") || e.querySelector("section") !== null;
2375
2375
  }
2376
- function ct() {
2377
- return l && G(l) ? !l.nextElementSibling : !1;
2376
+ function G() {
2377
+ return l && W(l) ? !l.nextElementSibling : !1;
2378
2378
  }
2379
2379
  function lt() {
2380
2380
  return o === 0 && s === 0;
2381
2381
  }
2382
2382
  function ut() {
2383
- return l ? !(l.nextElementSibling || G(l) && l.parentNode.nextElementSibling) : !1;
2383
+ return l ? !(l.nextElementSibling || W(l) && l.parentNode.nextElementSibling) : !1;
2384
2384
  }
2385
2385
  function dt() {
2386
2386
  if (r.pause) {
2387
2387
  let e = m.wrapper.classList.contains("paused");
2388
- Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2388
+ Vt(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2389
2389
  }
2390
2390
  }
2391
2391
  function ft() {
2392
2392
  let e = m.wrapper.classList.contains("paused");
2393
- m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
2393
+ m.wrapper.classList.remove("paused"), Bt(), e && H({ type: "resumed" });
2394
2394
  }
2395
2395
  function pt(e) {
2396
2396
  typeof e == "boolean" ? e ? dt() : ft() : mt() ? ft() : dt();
@@ -2402,10 +2402,10 @@ function at(e, t) {
2402
2402
  typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
2403
2403
  }
2404
2404
  function gt(e) {
2405
- typeof e == "boolean" ? e ? Wt() : Ut() : b ? Wt() : Ut();
2405
+ typeof e == "boolean" ? e ? Ut() : Ht() : b ? Ut() : Ht();
2406
2406
  }
2407
2407
  function _t() {
2408
- return !!(g && !b);
2408
+ return !(!g || b);
2409
2409
  }
2410
2410
  function K(t, n, i, a) {
2411
2411
  if (H({
@@ -2417,26 +2417,26 @@ function at(e, t) {
2417
2417
  }
2418
2418
  }).defaultPrevented) return;
2419
2419
  c = l;
2420
- let u = m.wrapper.querySelectorAll(xe);
2421
- if (T.isActive()) {
2422
- let e = T.getSlideByIndices(t, n);
2423
- e && T.scrollToSlide(e);
2420
+ let u = m.wrapper.querySelectorAll(B);
2421
+ if (E.isActive()) {
2422
+ let e = E.getSlideByIndices(t, n);
2423
+ e && E.scrollToSlide(e);
2424
2424
  return;
2425
2425
  }
2426
2426
  if (u.length === 0) return;
2427
- n === void 0 && !O.isActive() && (n = ot(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && W(c.parentNode, s);
2427
+ n === void 0 && !k.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && tt(c.parentNode, s);
2428
2428
  let f = d.concat();
2429
2429
  d.length = 0;
2430
2430
  let p = o || 0, g = s || 0;
2431
- o = St(xe, t === void 0 ? o : t), s = St(Se, n === void 0 ? s : n);
2431
+ o = q(B, t === void 0 ? o : t), s = q(we, n === void 0 ? s : n);
2432
2432
  let _ = o !== p || s !== g;
2433
2433
  _ || (c = null);
2434
2434
  let v = u[o], y = v.querySelectorAll("section");
2435
2435
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2436
2436
  let b = !1;
2437
- _ && c && l && !O.isActive() && (h = "running", b = vt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), wt(), Xe(), O.isActive() && O.update(), i !== void 0 && D.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), lt() && setTimeout(() => {
2438
- Mt().forEach((e) => {
2439
- W(e, 0);
2437
+ _ && c && l && !k.isActive() && (h = "running", b = vt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Y(), Je(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), lt() && setTimeout(() => {
2438
+ jt().forEach((e) => {
2439
+ tt(e, 0);
2440
2440
  });
2441
2441
  }, 0));
2442
2442
  stateLoop: for (let e = 0, t = d.length; e < t; e++) {
@@ -2447,11 +2447,11 @@ function at(e, t) {
2447
2447
  m.viewport.classList.add(d[e]), H({ type: d[e] });
2448
2448
  }
2449
2449
  for (; f.length;) m.viewport.classList.remove(f.pop());
2450
- _ && (x.afterSlideChanged(), Ke(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
- ve(ye(l));
2452
- }), ne.update(), te.update(), L.update(), w.update(), w.updateParallax(), S.update(), D.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2450
+ _ && (x.afterSlideChanged(), Re(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
+ be(L(l));
2452
+ }), te.update(), j.update(), F.update(), T.update(), T.updateParallax(), S.update(), O.update(), ee.writeURL(), Bt(), b && (setTimeout(() => {
2453
2453
  m.slides.classList.remove("disable-slide-transitions");
2454
- }, 0), r.autoAnimate && ee.run(c, l));
2454
+ }, 0), r.autoAnimate && w.run(c, l));
2455
2455
  }
2456
2456
  function vt(e, t, n, r) {
2457
2457
  return e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(o > n || s > r ? t : e).hasAttribute("data-auto-animate-restart");
@@ -2460,45 +2460,41 @@ function at(e, t) {
2460
2460
  let i = o || 0;
2461
2461
  o = t, s = n;
2462
2462
  let a = l !== e;
2463
- c = l, l = e, l && c && r.autoAnimate && vt(c, l, i, s) && ee.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2464
- ve(ye(l));
2465
- }), Ke();
2463
+ c = l, l = e, l && c && r.autoAnimate && vt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2464
+ be(L(l));
2465
+ }), Re();
2466
2466
  }
2467
- function q() {
2468
- Me(), je(), Xe(), g = r.autoSlide, Vt(), w.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && D.sortAll(), o !== void 0 && (o = St(xe, o), s = St(Se, s)), te.update(), ne.update(), wt(), L.update(), L.updateVisibility(), N.update(), w.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), O.isActive() && O.layout(), H({ type: "sync" });
2467
+ function bt() {
2468
+ je(), ke(), Je(), g = r.autoSlide, Bt(), T.create(), ee.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = q(B, o), s = q(we, s)), j.update(), te.update(), Y(), F.update(), F.updateVisibility(), M.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), H({ type: "sync" });
2469
2469
  }
2470
- function bt(e = l) {
2471
- w.sync(e), D.sync(e), x.load(e), w.update(), L.update(), H({
2470
+ function xt(e = l) {
2471
+ T.sync(e), O.sync(e), x.load(e), T.update(), F.update(), H({
2472
2472
  type: "slidesync",
2473
2473
  data: { slide: e }
2474
2474
  });
2475
2475
  }
2476
- function xt() {
2477
- At().forEach((e) => {
2476
+ function St() {
2477
+ kt().forEach((e) => {
2478
2478
  P(e, "section").forEach((e, t) => {
2479
2479
  t > 0 && (e.classList.remove("present"), e.classList.remove("past"), e.classList.add("future"), e.setAttribute("aria-hidden", "true"));
2480
2480
  });
2481
2481
  });
2482
2482
  }
2483
- function J(e = At()) {
2483
+ function Ct(e = kt()) {
2484
2484
  e.forEach((t, n) => {
2485
2485
  let r = e[Math.floor(Math.random() * e.length)];
2486
2486
  r.parentNode === t.parentNode && t.parentNode.insertBefore(t, r);
2487
2487
  let i = t.querySelectorAll("section");
2488
- i.length && J(i);
2488
+ i.length && Ct(i);
2489
2489
  });
2490
2490
  }
2491
- function St(e, t) {
2492
- let n = P(m.wrapper, e), i = n.length, a = T.isActive() || E.isActive(), o = !1, s = !1;
2491
+ function q(e, t) {
2492
+ let n = P(m.wrapper, e), i = n.length, a = E.isActive() || D.isActive(), o = !1, s = !1;
2493
2493
  if (i) {
2494
2494
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2495
2495
  for (let e = 0; e < i; e++) {
2496
- let i = n[e], c = r.rtl && !G(i);
2497
- 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) {
2498
- i.classList.add("present");
2499
- continue;
2500
- }
2501
- e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && Y(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && Ct(i)) : e === t && r.fragments && (o ? Ct(i) : s && Y(i));
2496
+ let i = n[e], c = r.rtl && !W(i);
2497
+ i.classList.remove("past"), i.classList.remove("present"), i.classList.remove("future"), i.setAttribute("hidden", ""), i.setAttribute("aria-hidden", "true"), i.querySelector("section") && i.classList.add("stack"), a ? i.classList.add("present") : e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && J(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && wt(i)) : e === t && r.fragments && (o ? wt(i) : s && J(i));
2502
2498
  }
2503
2499
  let e = n[t], c = e.classList.contains("present");
2504
2500
  e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || H({
@@ -2511,47 +2507,47 @@ function at(e, t) {
2511
2507
  } else t = 0;
2512
2508
  return t;
2513
2509
  }
2514
- function Y(e) {
2510
+ function J(e) {
2515
2511
  P(e, ".fragment").forEach((e) => {
2516
2512
  e.classList.add("visible"), e.classList.remove("current-fragment");
2517
2513
  });
2518
2514
  }
2519
- function Ct(e) {
2515
+ function wt(e) {
2520
2516
  P(e, ".fragment.visible").forEach((e) => {
2521
2517
  e.classList.remove("visible", "current-fragment");
2522
2518
  });
2523
2519
  }
2524
- function wt() {
2525
- let e = At(), t = e.length, n, i;
2520
+ function Y() {
2521
+ let e = kt(), t = e.length, n, i;
2526
2522
  if (t && o !== void 0) {
2527
- let a = O.isActive(), c = a ? 10 : r.viewDistance;
2528
- he && (c = a ? 6 : r.mobileViewDistance), E.isActive() && (c = Number.MAX_VALUE);
2523
+ let a = k.isActive(), c = a ? 10 : r.viewDistance;
2524
+ ve && (c = a ? 6 : r.mobileViewDistance), D.isActive() && (c = Number.MAX_VALUE);
2529
2525
  for (let l = 0; l < t; l++) {
2530
2526
  let u = e[l], d = P(u, "section"), f = d.length;
2531
2527
  if (n = Math.abs((o || 0) - l) || 0, r.loop && (n = Math.abs(((o || 0) - l) % (t - c)) || 0), n < c ? x.load(u) : x.unload(u), f) {
2532
- let e = a ? 0 : ot(u);
2528
+ let e = a ? 0 : st(u);
2533
2529
  for (let t = 0; t < f; t++) {
2534
2530
  let r = d[t];
2535
2531
  i = Math.abs(l === (o || 0) ? (s || 0) - t : t - e), n + i < c ? x.load(r) : x.unload(r);
2536
2532
  }
2537
2533
  }
2538
2534
  }
2539
- Pt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Nt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2535
+ Nt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Mt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2540
2536
  }
2541
- let a = O.isActive() || T.isActive() || E.isActive();
2542
- P(m.wrapper, B).forEach((e) => {
2537
+ let a = k.isActive() || E.isActive() || D.isActive();
2538
+ P(m.wrapper, z).forEach((e) => {
2543
2539
  e.toggleAttribute("inert", !a && e !== l && !e.contains(l));
2544
2540
  });
2545
2541
  }
2546
- function Tt({ includeFragments: e = !1 } = {}) {
2547
- let t = m.wrapper.querySelectorAll(xe), n = m.wrapper.querySelectorAll(Se), i = {
2542
+ function X({ includeFragments: e = !1 } = {}) {
2543
+ let t = m.wrapper.querySelectorAll(B), n = m.wrapper.querySelectorAll(we), i = {
2548
2544
  left: o > 0,
2549
2545
  right: o < t.length - 1,
2550
2546
  up: s > 0,
2551
2547
  down: s < n.length - 1
2552
2548
  };
2553
2549
  if (r.loop && (t.length > 1 && (i.left = !0, i.right = !0), n.length > 1 && (i.up = !0, i.down = !0)), t.length > 1 && r.navigationMode === "linear" && (i.right = i.right || i.down, i.left = i.left || i.up), e === !0) {
2554
- let e = D.availableRoutes();
2550
+ let e = O.availableRoutes();
2555
2551
  i.left = i.left || e.prev, i.up = i.up || e.prev, i.down = i.down || e.next, i.right = i.right || e.next;
2556
2552
  }
2557
2553
  if (r.rtl) {
@@ -2560,8 +2556,8 @@ function at(e, t) {
2560
2556
  }
2561
2557
  return i;
2562
2558
  }
2563
- function Et(e = l) {
2564
- let t = At(), n = 0;
2559
+ function Tt(e = l) {
2560
+ let t = kt(), n = 0;
2565
2561
  mainLoop: for (let r = 0; r < t.length; r++) {
2566
2562
  let i = t[r], a = i.querySelectorAll("section");
2567
2563
  for (let t = 0; t < a.length; t++) {
@@ -2573,8 +2569,8 @@ function at(e, t) {
2573
2569
  }
2574
2570
  return n;
2575
2571
  }
2576
- function Dt() {
2577
- let e = It(), t = Et();
2572
+ function Et() {
2573
+ let e = Ft(), t = Tt();
2578
2574
  if (l) {
2579
2575
  let e = l.querySelectorAll(".fragment");
2580
2576
  if (e.length > 0) {
@@ -2584,12 +2580,12 @@ function at(e, t) {
2584
2580
  }
2585
2581
  return Math.min(t / (e - 1), 1);
2586
2582
  }
2587
- function Ot(e) {
2583
+ function Dt(e) {
2588
2584
  let t = o, n = s, r;
2589
2585
  if (e) {
2590
- if (T.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2586
+ if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2591
2587
  else {
2592
- let r = G(e), i = r ? e.parentNode : e, a = At();
2588
+ let r = W(e), i = r ? e.parentNode : e, a = kt();
2593
2589
  t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(P(e.parentNode, "section").indexOf(e), 0));
2594
2590
  }
2595
2591
  }
@@ -2603,26 +2599,26 @@ function at(e, t) {
2603
2599
  f: r
2604
2600
  };
2605
2601
  }
2602
+ function Ot() {
2603
+ return P(m.wrapper, z + ":not(.stack):not([data-visibility=\"uncounted\"])");
2604
+ }
2606
2605
  function kt() {
2607
- return P(m.wrapper, B + ":not(.stack):not([data-visibility=\"uncounted\"])");
2606
+ return P(m.wrapper, B);
2608
2607
  }
2609
2608
  function At() {
2610
- return P(m.wrapper, xe);
2609
+ return P(m.wrapper, ".slides>section>section");
2611
2610
  }
2612
2611
  function jt() {
2613
- return P(m.wrapper, ".slides>section>section");
2612
+ return P(m.wrapper, B + ".stack");
2614
2613
  }
2615
2614
  function Mt() {
2616
- return P(m.wrapper, xe + ".stack");
2615
+ return kt().length > 1;
2617
2616
  }
2618
2617
  function Nt() {
2619
2618
  return At().length > 1;
2620
2619
  }
2621
2620
  function Pt() {
2622
- return jt().length > 1;
2623
- }
2624
- function Ft() {
2625
- return kt().map((e) => {
2621
+ return Ot().map((e) => {
2626
2622
  let t = {};
2627
2623
  for (let n = 0; n < e.attributes.length; n++) {
2628
2624
  let r = e.attributes[n];
@@ -2631,105 +2627,105 @@ function at(e, t) {
2631
2627
  return t;
2632
2628
  });
2633
2629
  }
2634
- function It() {
2635
- return kt().length;
2630
+ function Ft() {
2631
+ return Ot().length;
2636
2632
  }
2637
- function Lt(e, t) {
2638
- let n = At()[e], r = n && n.querySelectorAll("section");
2633
+ function It(e, t) {
2634
+ let n = kt()[e], r = n && n.querySelectorAll("section");
2639
2635
  return r && r.length && typeof t == "number" ? r ? r[t] : void 0 : n;
2640
2636
  }
2641
- function Rt(e, t) {
2642
- let n = typeof e == "number" ? Lt(e, t) : e;
2637
+ function Lt(e, t) {
2638
+ let n = typeof e == "number" ? It(e, t) : e;
2643
2639
  if (n) return n.slideBackgroundElement;
2644
2640
  }
2645
- function zt() {
2646
- let e = Ot();
2641
+ function Rt() {
2642
+ let e = Dt();
2647
2643
  return U({
2648
2644
  indexh: e.h,
2649
2645
  indexv: e.v,
2650
2646
  indexf: e.f,
2651
2647
  paused: mt(),
2652
- overview: O.isActive()
2653
- }, N.getState());
2648
+ overview: k.isActive()
2649
+ }, M.getState());
2654
2650
  }
2655
- function Bt(e) {
2651
+ function zt(e) {
2656
2652
  if (typeof e == "object") {
2657
- K(ae(e.indexh), ae(e.indexv), ae(e.indexf));
2658
- let t = ae(e.paused), n = ae(e.overview);
2659
- typeof t == "boolean" && t !== mt() && pt(t), typeof n == "boolean" && n !== O.isActive() && O.toggle(n), N.setState(e);
2653
+ K(se(e.indexh), se(e.indexv), se(e.indexf));
2654
+ let t = se(e.paused), n = se(e.overview);
2655
+ typeof t == "boolean" && t !== mt() && pt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), M.setState(e);
2660
2656
  }
2661
2657
  }
2662
- function Vt() {
2663
- if (Ht(), l && r.autoSlide !== !1) {
2658
+ function Bt() {
2659
+ if (Vt(), l && r.autoSlide !== !1) {
2664
2660
  let e = l.querySelector(".current-fragment[data-autoslide]"), t = e ? e.getAttribute("data-autoslide") : null, n = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i = l.getAttribute("data-autoslide");
2665
2661
  t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && P(l, "video, audio").forEach((e) => {
2666
2662
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2667
- })), g && !b && !mt() && !O.isActive() && (!ut() || D.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2668
- typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2663
+ })), g && !b && !mt() && !k.isActive() && (!ut() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2664
+ typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Yt(), Bt();
2669
2665
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2670
2666
  }
2671
2667
  }
2672
- function Ht() {
2668
+ function Vt() {
2673
2669
  clearTimeout(v), v = -1;
2674
2670
  }
2675
- function Ut() {
2671
+ function Ht() {
2676
2672
  g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2677
2673
  }
2678
- function Wt() {
2679
- g && b && (b = !1, H({ type: "autoslideresumed" }), Vt());
2674
+ function Ut() {
2675
+ g && b && (b = !1, H({ type: "autoslideresumed" }), Bt());
2676
+ }
2677
+ function Wt({ skipFragments: e = !1 } = {}) {
2678
+ if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
2679
+ r.rtl ? (k.isActive() || e || O.next() === !1) && X().left && K(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && X().left && K(o - 1, r.navigationMode === "grid" ? s : void 0);
2680
2680
  }
2681
2681
  function Gt({ skipFragments: e = !1 } = {}) {
2682
- if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.prev();
2683
- r.rtl ? (O.isActive() || e || D.next() === !1) && Tt().left && K(o + 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.prev() === !1) && Tt().left && K(o - 1, r.navigationMode === "grid" ? s : void 0);
2682
+ if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
2683
+ r.rtl ? (k.isActive() || e || O.prev() === !1) && X().right && K(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && X().right && K(o + 1, r.navigationMode === "grid" ? s : void 0);
2684
2684
  }
2685
2685
  function Kt({ skipFragments: e = !1 } = {}) {
2686
- if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.next();
2687
- r.rtl ? (O.isActive() || e || D.prev() === !1) && Tt().right && K(o - 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.next() === !1) && Tt().right && K(o + 1, r.navigationMode === "grid" ? s : void 0);
2686
+ if (E.isActive()) return E.prev();
2687
+ (k.isActive() || e || O.prev() === !1) && X().up && K(o, s - 1);
2688
2688
  }
2689
2689
  function qt({ skipFragments: e = !1 } = {}) {
2690
- if (T.isActive()) return T.prev();
2691
- (O.isActive() || e || D.prev() === !1) && Tt().up && K(o, s - 1);
2690
+ if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2691
+ (k.isActive() || e || O.next() === !1) && X().down && K(o, s + 1);
2692
2692
  }
2693
2693
  function Jt({ skipFragments: e = !1 } = {}) {
2694
- if (u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2695
- (O.isActive() || e || D.next() === !1) && Tt().down && K(o, s + 1);
2696
- }
2697
- function Yt({ skipFragments: e = !1 } = {}) {
2698
- if (T.isActive()) return T.prev();
2699
- if (e || D.prev() === !1) {
2700
- if (Tt().up) qt({ skipFragments: e });
2694
+ if (E.isActive()) return E.prev();
2695
+ if (e || O.prev() === !1) {
2696
+ if (X().up) Kt({ skipFragments: e });
2701
2697
  else {
2702
2698
  let t;
2703
- if (t = r.rtl ? P(m.wrapper, xe + ".future").pop() : P(m.wrapper, xe + ".past").pop(), t && t.classList.contains("stack")) {
2699
+ if (t = r.rtl ? P(m.wrapper, B + ".future").pop() : P(m.wrapper, B + ".past").pop(), t && t.classList.contains("stack")) {
2704
2700
  let e = t.querySelectorAll("section").length - 1 || void 0;
2705
2701
  K(o - 1, e);
2706
- } else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
2702
+ } else r.rtl ? Gt({ skipFragments: e }) : Wt({ skipFragments: e });
2707
2703
  }
2708
2704
  }
2709
2705
  }
2710
- function Xt({ skipFragments: e = !1 } = {}) {
2711
- if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2712
- if (e || D.next() === !1) {
2713
- let t = Tt();
2714
- t.down && t.right && r.loop && ct() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2706
+ function Yt({ skipFragments: e = !1 } = {}) {
2707
+ if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2708
+ if (e || O.next() === !1) {
2709
+ let t = X();
2710
+ t.down && t.right && r.loop && G() && (t.down = !1), t.down ? qt({ skipFragments: e }) : r.rtl ? Wt({ skipFragments: e }) : Gt({ skipFragments: e });
2715
2711
  }
2716
2712
  }
2717
- function Zt(e) {
2718
- r.autoSlideStoppable && Ut();
2713
+ function Xt(e) {
2714
+ r.autoSlideStoppable && Ht();
2719
2715
  }
2720
- function Qt(e) {
2716
+ function Zt(e) {
2721
2717
  let t = e.data;
2722
2718
  if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
2723
- if (we.test(t.method) === !1) {
2719
+ if (Ee.test(t.method) === !1) {
2724
2720
  let e = n[t.method].apply(n, t.args);
2725
- Ye("callback", {
2721
+ Ue("callback", {
2726
2722
  method: t.method,
2727
2723
  result: e
2728
2724
  });
2729
2725
  } else console.warn("reveal.js: \"" + t.method + "\" is is blacklisted from the postMessage API");
2730
2726
  }
2731
2727
  }
2732
- function $t(e) {
2728
+ function Qt(e) {
2733
2729
  h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", H({
2734
2730
  type: "slidetransitionend",
2735
2731
  data: {
@@ -2740,159 +2736,159 @@ function at(e, t) {
2740
2736
  }
2741
2737
  }));
2742
2738
  }
2743
- function en(e) {
2739
+ function $t(e) {
2744
2740
  let t = I(e.target, "a[href^=\"#\"]");
2745
2741
  if (t) {
2746
- let r = t.getAttribute("href"), i = A.getIndicesFromHash(r);
2742
+ let r = t.getAttribute("href"), i = ee.getIndicesFromHash(r);
2747
2743
  i && (n.slide(i.h, i.v, i.f), e.preventDefault());
2748
2744
  }
2749
2745
  }
2750
- function tn(e) {
2751
- Xe();
2746
+ function en(e) {
2747
+ Je();
2752
2748
  }
2753
- function nn(e) {
2749
+ function tn(e) {
2754
2750
  document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
2755
2751
  }
2756
- function rn(e) {
2752
+ function nn(e) {
2757
2753
  (document.fullscreenElement || document.webkitFullscreenElement) === m.wrapper && (e.stopImmediatePropagation(), setTimeout(() => {
2758
2754
  n.layout(), n.focus.focus();
2759
2755
  }, 1));
2760
2756
  }
2761
- function an(e) {
2762
- ut() && r.loop === !1 ? (K(0, 0), Wt()) : b ? Wt() : Ut();
2757
+ function rn(e) {
2758
+ ut() && r.loop === !1 ? (K(0, 0), Ut()) : b ? Ut() : Ht();
2763
2759
  }
2764
- let on = {
2765
- VERSION: it,
2766
- initialize: de,
2767
- configure: ke,
2760
+ let an = {
2761
+ VERSION: ot,
2762
+ initialize: le,
2763
+ configure: V,
2768
2764
  destroy: Ne,
2769
- sync: q,
2770
- syncSlide: bt,
2771
- syncFragments: D.sync.bind(D),
2765
+ sync: bt,
2766
+ syncSlide: xt,
2767
+ syncFragments: O.sync.bind(O),
2772
2768
  slide: K,
2773
- left: Gt,
2774
- right: Kt,
2775
- up: qt,
2776
- down: Jt,
2777
- prev: Yt,
2778
- next: Xt,
2779
- navigateLeft: Gt,
2780
- navigateRight: Kt,
2781
- navigateUp: qt,
2782
- navigateDown: Jt,
2783
- navigatePrev: Yt,
2784
- navigateNext: Xt,
2785
- navigateFragment: D.goto.bind(D),
2786
- prevFragment: D.prev.bind(D),
2787
- nextFragment: D.next.bind(D),
2769
+ left: Wt,
2770
+ right: Gt,
2771
+ up: Kt,
2772
+ down: qt,
2773
+ prev: Jt,
2774
+ next: Yt,
2775
+ navigateLeft: Wt,
2776
+ navigateRight: Gt,
2777
+ navigateUp: Kt,
2778
+ navigateDown: qt,
2779
+ navigatePrev: Jt,
2780
+ navigateNext: Yt,
2781
+ navigateFragment: O.goto.bind(O),
2782
+ prevFragment: O.prev.bind(O),
2783
+ nextFragment: O.next.bind(O),
2788
2784
  on: Pe,
2789
- off: Ie,
2785
+ off: Fe,
2790
2786
  addEventListener: Pe,
2791
- removeEventListener: Ie,
2792
- layout: Xe,
2793
- shuffle: J,
2794
- availableRoutes: Tt,
2795
- availableFragments: D.availableRoutes.bind(D),
2796
- toggleHelp: N.toggleHelp.bind(N),
2797
- toggleOverview: O.toggle.bind(O),
2798
- toggleScrollView: T.toggle.bind(T),
2787
+ removeEventListener: Fe,
2788
+ layout: Je,
2789
+ shuffle: Ct,
2790
+ availableRoutes: X,
2791
+ availableFragments: O.availableRoutes.bind(O),
2792
+ toggleHelp: M.toggleHelp.bind(M),
2793
+ toggleOverview: k.toggle.bind(k),
2794
+ toggleScrollView: E.toggle.bind(E),
2799
2795
  togglePause: pt,
2800
2796
  toggleAutoSlide: gt,
2801
2797
  toggleJumpToSlide: ht,
2802
2798
  isFirstSlide: lt,
2803
2799
  isLastSlide: ut,
2804
- isLastVerticalSlide: ct,
2805
- isVerticalSlide: G,
2806
- isVerticalStack: st,
2800
+ isLastVerticalSlide: G,
2801
+ isVerticalSlide: W,
2802
+ isVerticalStack: ct,
2807
2803
  isPaused: mt,
2808
2804
  isAutoSliding: _t,
2809
- isSpeakerNotes: L.isSpeakerNotesWindow.bind(L),
2810
- isOverview: O.isActive.bind(O),
2811
- isFocused: F.isFocused.bind(F),
2812
- isOverlayOpen: N.isOpen.bind(N),
2813
- isScrollView: T.isActive.bind(T),
2814
- isPrintView: E.isActive.bind(E),
2805
+ isSpeakerNotes: F.isSpeakerNotesWindow.bind(F),
2806
+ isOverview: k.isActive.bind(k),
2807
+ isFocused: N.isFocused.bind(N),
2808
+ isOverlayOpen: M.isOpen.bind(M),
2809
+ isScrollView: E.isActive.bind(E),
2810
+ isPrintView: D.isActive.bind(D),
2815
2811
  isReady: () => a,
2816
2812
  loadSlide: x.load.bind(x),
2817
2813
  unloadSlide: x.unload.bind(x),
2818
2814
  startEmbeddedContent: () => x.startEmbeddedContent(l),
2819
2815
  stopEmbeddedContent: () => x.stopEmbeddedContent(l, { unloadIframes: !1 }),
2820
- previewIframe: N.previewIframe.bind(N),
2821
- previewImage: N.previewImage.bind(N),
2822
- previewVideo: N.previewVideo.bind(N),
2823
- showPreview: N.previewIframe.bind(N),
2824
- hidePreview: N.close.bind(N),
2825
- addEventListeners: je,
2826
- removeEventListeners: Me,
2816
+ previewIframe: M.previewIframe.bind(M),
2817
+ previewImage: M.previewImage.bind(M),
2818
+ previewVideo: M.previewVideo.bind(M),
2819
+ showPreview: M.previewIframe.bind(M),
2820
+ hidePreview: M.close.bind(M),
2821
+ addEventListeners: ke,
2822
+ removeEventListeners: je,
2827
2823
  dispatchEvent: H,
2828
- getState: zt,
2829
- setState: Bt,
2830
- getProgress: Dt,
2831
- getIndices: Ot,
2832
- getSlidesAttributes: Ft,
2833
- getSlidePastCount: Et,
2834
- getTotalSlides: It,
2835
- getSlide: Lt,
2824
+ getState: Rt,
2825
+ setState: zt,
2826
+ getProgress: Et,
2827
+ getIndices: Dt,
2828
+ getSlidesAttributes: Pt,
2829
+ getSlidePastCount: Tt,
2830
+ getTotalSlides: Ft,
2831
+ getSlide: It,
2836
2832
  getPreviousSlide: () => c,
2837
2833
  getCurrentSlide: () => l,
2838
- getSlideBackground: Rt,
2839
- getSlideNotes: L.getSlideNotes.bind(L),
2840
- getSlides: kt,
2841
- getHorizontalSlides: At,
2842
- getVerticalSlides: jt,
2843
- hasHorizontalSlides: Nt,
2844
- hasVerticalSlides: Pt,
2834
+ getSlideBackground: Lt,
2835
+ getSlideNotes: F.getSlideNotes.bind(F),
2836
+ getSlides: Ot,
2837
+ getHorizontalSlides: kt,
2838
+ getVerticalSlides: At,
2839
+ hasHorizontalSlides: Mt,
2840
+ hasVerticalSlides: Nt,
2845
2841
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2846
2842
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2847
2843
  shouldAutoAnimateBetween: vt,
2848
- addKeyBinding: k.addKeyBinding.bind(k),
2849
- removeKeyBinding: k.removeKeyBinding.bind(k),
2850
- triggerKey: k.triggerKey.bind(k),
2851
- registerKeyboardShortcut: k.registerKeyboardShortcut.bind(k),
2852
- getComputedSlideSize: at,
2844
+ addKeyBinding: A.addKeyBinding.bind(A),
2845
+ removeKeyBinding: A.removeKeyBinding.bind(A),
2846
+ triggerKey: A.triggerKey.bind(A),
2847
+ registerKeyboardShortcut: A.registerKeyboardShortcut.bind(A),
2848
+ getComputedSlideSize: et,
2853
2849
  setCurrentScrollPage: yt,
2854
- removeHiddenSlides: R,
2850
+ removeHiddenSlides: ge,
2855
2851
  getScale: () => f,
2856
2852
  getConfig: () => r,
2857
- getQueryHash: le,
2858
- getSlidePath: A.getHash.bind(A),
2853
+ getQueryHash: fe,
2854
+ getSlidePath: ee.getHash.bind(ee),
2859
2855
  getRevealElement: () => e,
2860
2856
  getSlidesElement: () => m.slides,
2861
2857
  getViewportElement: () => m.viewport,
2862
- getBackgroundsElement: () => w.element,
2863
- registerPlugin: M.registerPlugin.bind(M),
2864
- hasPlugin: M.hasPlugin.bind(M),
2865
- getPlugin: M.getPlugin.bind(M),
2866
- getPlugins: M.getRegisteredPlugins.bind(M)
2858
+ getBackgroundsElement: () => T.element,
2859
+ registerPlugin: re.registerPlugin.bind(re),
2860
+ hasPlugin: re.hasPlugin.bind(re),
2861
+ getPlugin: re.getPlugin.bind(re),
2862
+ getPlugins: re.getRegisteredPlugins.bind(re)
2867
2863
  };
2868
- return re(n, U(U({}, on), {}, {
2869
- announceStatus: ve,
2870
- getStatusText: ye,
2871
- focus: F,
2872
- scroll: T,
2873
- progress: ne,
2874
- controls: te,
2875
- location: A,
2876
- overview: O,
2877
- keyboard: k,
2878
- fragments: D,
2879
- backgrounds: w,
2864
+ return ae(n, U(U({}, an), {}, {
2865
+ announceStatus: be,
2866
+ getStatusText: L,
2867
+ focus: N,
2868
+ scroll: E,
2869
+ progress: te,
2870
+ controls: j,
2871
+ location: ee,
2872
+ overview: k,
2873
+ keyboard: A,
2874
+ fragments: O,
2875
+ backgrounds: T,
2880
2876
  slideContent: x,
2881
2877
  slideNumber: S,
2882
- onUserInput: Zt,
2883
- closeOverlay: N.close.bind(N),
2884
- updateSlidesVisibility: wt,
2885
- layoutSlideContents: Qe,
2886
- transformSlides: Le,
2887
- cueAutoSlide: Vt,
2888
- cancelAutoSlide: Ht
2889
- })), on;
2878
+ onUserInput: Xt,
2879
+ closeOverlay: M.close.bind(M),
2880
+ updateSlidesVisibility: Y,
2881
+ layoutSlideContents: Ze,
2882
+ transformSlides: Ie,
2883
+ cueAutoSlide: Bt,
2884
+ cancelAutoSlide: Vt
2885
+ })), an;
2890
2886
  }
2891
- var W = at, ot = [];
2887
+ var W = st, ct = [];
2892
2888
  W.initialize = (e) => {
2893
2889
  let t = document.querySelector(".reveal");
2894
2890
  if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
2895
- return Object.assign(W, new at(t, e)), ot.map((e) => e(W)), W.initialize();
2891
+ return Object.assign(W, new st(t, e)), ct.map((e) => e(W)), W.initialize();
2896
2892
  }, [
2897
2893
  "configure",
2898
2894
  "on",
@@ -2902,13 +2898,13 @@ W.initialize = (e) => {
2902
2898
  "registerPlugin"
2903
2899
  ].forEach((e) => {
2904
2900
  W[e] = (...t) => {
2905
- ot.push((n) => n[e].call(null, ...t));
2901
+ ct.push((n) => n[e].call(null, ...t));
2906
2902
  };
2907
- }), W.isReady = () => !1, W.VERSION = it;
2903
+ }), W.isReady = () => !1, W.VERSION = ot;
2908
2904
  //#endregion
2909
2905
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.2_react-dom@19.3.0_react@19.3.0__react@19.3.0_reveal.js@6.0.2/node_modules/@revealjs/react/dist/index.mjs
2910
- var G = T(), st = (0, M.createContext)(null), ct = [];
2911
- function lt(e, t) {
2906
+ var G = D(), lt = (0, N.createContext)(null), ut = [];
2907
+ function dt(e, t) {
2912
2908
  if (e === t) return !1;
2913
2909
  if (!e || !t) return e !== t;
2914
2910
  let n = Object.keys(e), r = Object.keys(t);
@@ -2916,43 +2912,43 @@ function lt(e, t) {
2916
2912
  for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
2917
2913
  return !1;
2918
2914
  }
2919
- function ut(e, t) {
2915
+ function ft(e, t) {
2920
2916
  e && (typeof e == "function" ? e(t) : e.current = t);
2921
2917
  }
2922
- function dt(e) {
2918
+ function pt(e) {
2923
2919
  return e.tagName === "SECTION";
2924
2920
  }
2925
- function ft(e, t, n) {
2926
- return Array.from(e.children).filter(dt).map((e) => {
2921
+ function mt(e, t, n) {
2922
+ return Array.from(e.children).filter(pt).map((e) => {
2927
2923
  let r = t.get(e);
2928
2924
  r === void 0 && (r = n.current++, t.set(e, r));
2929
- let i = ft(e, t, n);
2925
+ let i = mt(e, t, n);
2930
2926
  return i.length > 0 ? [r, i] : r;
2931
2927
  });
2932
2928
  }
2933
- function pt(e, t, n) {
2934
- return e ? JSON.stringify(ft(e, t, n)) : "[]";
2929
+ function ht(e, t, n) {
2930
+ return e ? JSON.stringify(mt(e, t, n)) : "[]";
2935
2931
  }
2936
- function mt({ config: e, plugins: t = ct, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2937
- let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), ee = (0, M.useRef)(e), w = (0, M.useRef)(null), T = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), E = (0, M.useRef)(1), D = (0, M.useRef)(!1), O = (0, M.useRef)(0);
2938
- return (0, M.useEffect)(() => {
2939
- if (D.current = !0, O.current += 1, y.current) y.current.isReady() && x(y.current);
2932
+ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2933
+ let _ = (0, N.useRef)(null), v = (0, N.useRef)(null), y = (0, N.useRef)(null), [b, x] = (0, N.useState)(null), S = (0, N.useRef)(t), C = (0, N.useRef)(!1), w = (0, N.useRef)(e), T = (0, N.useRef)(null), E = (0, N.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, N.useRef)(1), O = (0, N.useRef)(!1), k = (0, N.useRef)(0);
2934
+ return (0, N.useEffect)(() => {
2935
+ if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
2940
2936
  else {
2941
2937
  let t = new W(_.current, {
2942
2938
  ...e,
2943
2939
  plugins: S.current
2944
2940
  });
2945
- ee.current = e, y.current = t, t.initialize().then(() => {
2946
- D.current && y.current === t && (x(t), n?.(t));
2941
+ w.current = e, y.current = t, t.initialize().then(() => {
2942
+ O.current && y.current === t && (x(t), n?.(t));
2947
2943
  });
2948
2944
  }
2949
2945
  return () => {
2950
- D.current = !1;
2946
+ O.current = !1;
2951
2947
  let e = y.current;
2952
2948
  if (!e) return;
2953
- let t = ++O.current;
2949
+ let t = ++k.current;
2954
2950
  Promise.resolve().then(() => {
2955
- if (!(D.current || O.current !== t) && y.current === e) {
2951
+ if (!(O.current || k.current !== t) && y.current === e) {
2956
2952
  try {
2957
2953
  e.destroy();
2958
2954
  } catch {}
@@ -2960,7 +2956,7 @@ function mt({ config: e, plugins: t = ct, onReady: n, onSync: r, onSlideSync: i,
2960
2956
  }
2961
2957
  });
2962
2958
  };
2963
- }, []), (0, M.useEffect)(() => (ut(p, b), () => ut(p, null)), [p, b]), (0, M.useEffect)(() => {
2959
+ }, []), (0, N.useEffect)(() => (ft(p, b), () => ft(p, null)), [p, b]), (0, N.useEffect)(() => {
2964
2960
  if (!b) return;
2965
2961
  let e = [
2966
2962
  ["sync", r],
@@ -2990,18 +2986,14 @@ function mt({ config: e, plugins: t = ct, onReady: n, onSync: r, onSlideSync: i,
2990
2986
  u,
2991
2987
  d,
2992
2988
  f
2993
- ]), (0, M.useLayoutEffect)(() => {
2994
- b && y.current?.isReady() && lt(ee.current, e) && (C.current = !0, y.current.configure(e ?? {}), ee.current = e);
2995
- }, [b, e]), (0, M.useLayoutEffect)(() => {
2989
+ ]), (0, N.useLayoutEffect)(() => {
2990
+ b && y.current?.isReady() && dt(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2991
+ }, [b, e]), (0, N.useLayoutEffect)(() => {
2996
2992
  let e = C.current;
2997
2993
  C.current = !1;
2998
- let t = pt(v.current, T.current, E);
2999
- if (e) {
3000
- w.current = t;
3001
- return;
3002
- }
3003
- y.current?.isReady() && w.current !== t && (y.current.sync(), w.current = t);
3004
- }), /* @__PURE__ */ (0, G.jsx)(st.Provider, {
2994
+ let t = ht(v.current, E.current, D);
2995
+ e ? T.current = t : y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
2996
+ }), /* @__PURE__ */ (0, G.jsx)(lt.Provider, {
3005
2997
  value: b,
3006
2998
  children: /* @__PURE__ */ (0, G.jsx)("div", {
3007
2999
  className: m ? `reveal ${m}` : "reveal",
@@ -3015,7 +3007,7 @@ function mt({ config: e, plugins: t = ct, onReady: n, onSync: r, onSlideSync: i,
3015
3007
  })
3016
3008
  });
3017
3009
  }
3018
- var ht = {
3010
+ var _t = {
3019
3011
  background: "data-background",
3020
3012
  backgroundImage: "data-background-image",
3021
3013
  backgroundVideo: "data-background-video",
@@ -3044,12 +3036,12 @@ var ht = {
3044
3036
  backgroundInteractive: "data-background-interactive",
3045
3037
  preload: "data-preload"
3046
3038
  };
3047
- function gt(e) {
3039
+ function K(e) {
3048
3040
  return JSON.stringify(Object.entries(e).filter(([e]) => e.startsWith("data-")).sort(([e], [t]) => e.localeCompare(t)));
3049
3041
  }
3050
- function _t(e, t) {
3042
+ function vt(e, t) {
3051
3043
  let n = { ...e }, r = n;
3052
- for (let [e, n] of Object.entries(ht)) {
3044
+ for (let [e, n] of Object.entries(_t)) {
3053
3045
  if (r[n] !== void 0) continue;
3054
3046
  let i = t[e];
3055
3047
  if (i !== void 0) {
@@ -3062,8 +3054,8 @@ function _t(e, t) {
3062
3054
  }
3063
3055
  return n;
3064
3056
  }
3065
- function K({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: ee, notes: w, backgroundInteractive: T, preload: E, ...D }) {
3066
- let O = (0, M.useContext)(st), k = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = _t(D, {
3057
+ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3058
+ let k = (0, N.useContext)(lt), A = (0, N.useRef)(null), ee = (0, N.useRef)(null), j = (0, N.useRef)(null), te = vt(O, {
3067
3059
  background: t,
3068
3060
  backgroundImage: n,
3069
3061
  backgroundVideo: r,
@@ -3087,35 +3079,35 @@ function K({ children: e, background: t, backgroundImage: n, backgroundVideo: r,
3087
3079
  autoAnimateDelay: x,
3088
3080
  transition: S,
3089
3081
  transitionSpeed: C,
3090
- autoSlide: ee,
3091
- notes: w,
3092
- backgroundInteractive: T,
3093
- preload: E
3094
- }), j = gt(ne);
3095
- return (0, M.useLayoutEffect)(() => {
3096
- let e = k.current;
3097
- if (!O || !e || typeof O.syncSlide != "function") return;
3098
- if (A.current !== O) {
3099
- A.current = O, te.current = j;
3082
+ autoSlide: w,
3083
+ notes: T,
3084
+ backgroundInteractive: E,
3085
+ preload: D
3086
+ }), ne = K(te);
3087
+ return (0, N.useLayoutEffect)(() => {
3088
+ let e = A.current;
3089
+ if (!k || !e || typeof k.syncSlide != "function") return;
3090
+ if (ee.current !== k) {
3091
+ ee.current = k, j.current = ne;
3100
3092
  return;
3101
3093
  }
3102
- if (j === "[]") return;
3103
- let t = A.current === O, n = te.current === j;
3104
- t && n || (O.syncSlide(e), A.current = O, te.current = j);
3105
- }, [O, j]), /* @__PURE__ */ (0, G.jsx)("section", {
3106
- ref: k,
3107
- ...ne,
3094
+ if (ne === "[]") return;
3095
+ let t = ee.current === k, n = j.current === ne;
3096
+ t && n || (k.syncSlide(e), ee.current = k, j.current = ne);
3097
+ }, [k, ne]), /* @__PURE__ */ (0, G.jsx)("section", {
3098
+ ref: A,
3099
+ ...te,
3108
3100
  children: e
3109
3101
  });
3110
3102
  }
3111
- function vt({ className: e, style: t, children: n }) {
3103
+ function bt({ className: e, style: t, children: n }) {
3112
3104
  return /* @__PURE__ */ (0, G.jsx)("section", {
3113
3105
  className: e,
3114
3106
  style: t,
3115
3107
  children: n
3116
3108
  });
3117
3109
  }
3118
- function yt() {
3110
+ function xt() {
3119
3111
  return {
3120
3112
  async: !1,
3121
3113
  breaks: !1,
@@ -3129,11 +3121,11 @@ function yt() {
3129
3121
  walkTokens: null
3130
3122
  };
3131
3123
  }
3132
- var q = yt();
3133
- function bt(e) {
3134
- q = e;
3124
+ var St = xt();
3125
+ function Ct(e) {
3126
+ St = e;
3135
3127
  }
3136
- var xt = { exec: () => null };
3128
+ var q = { exec: () => null };
3137
3129
  function J(e, t = "") {
3138
3130
  let n = typeof e == "string" ? e : e.source, r = {
3139
3131
  replace: (e, t) => {
@@ -3144,7 +3136,7 @@ function J(e, t = "") {
3144
3136
  };
3145
3137
  return r;
3146
3138
  }
3147
- var St = (() => {
3139
+ var wt = (() => {
3148
3140
  try {
3149
3141
  return !0;
3150
3142
  } catch {
@@ -3207,96 +3199,96 @@ var St = (() => {
3207
3199
  headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
3208
3200
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i"),
3209
3201
  blockquoteBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}>`)
3210
- }, Ct = /^(?:[ \t]*(?:\n|$))+/, wt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Tt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Et = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Dt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ot = / {0,3}(?:[*+-]|\d{1,9}[.)])/, kt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, At = J(kt).replace(/bull/g, Ot).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), jt = J(kt).replace(/bull/g, Ot).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Mt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Nt = /^[^\n]+/, Pt = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Ft = J(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Pt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), It = J(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ot).getRegex(), Lt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Rt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, zt = J("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Rt).replace("tag", Lt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Bt = J(Mt).replace("hr", Et).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Lt).getRegex(), Vt = {
3211
- blockquote: J(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Bt).getRegex(),
3212
- code: wt,
3213
- def: Ft,
3214
- fences: Tt,
3215
- heading: Dt,
3216
- hr: Et,
3217
- html: zt,
3218
- lheading: At,
3219
- list: It,
3220
- newline: Ct,
3221
- paragraph: Bt,
3222
- table: xt,
3223
- text: Nt
3224
- }, Ht = J("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Et).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", Lt).getRegex(), Ut = {
3225
- ...Vt,
3202
+ }, X = /^(?:[ \t]*(?:\n|$))+/, Tt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Et = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ot = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, kt = / {0,3}(?:[*+-]|\d{1,9}[.)])/, At = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, jt = J(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Mt = J(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pt = /^[^\n]+/, Ft = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, It = J(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ft).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Lt = J(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, kt).getRegex(), Rt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", zt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Bt = J("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", zt).replace("tag", Rt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vt = J(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rt).getRegex(), Ht = {
3203
+ blockquote: J(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vt).getRegex(),
3204
+ code: Tt,
3205
+ def: It,
3206
+ fences: Et,
3207
+ heading: Ot,
3208
+ hr: Dt,
3209
+ html: Bt,
3226
3210
  lheading: jt,
3227
- table: Ht,
3228
- paragraph: J(Mt).replace("hr", Et).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ht).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Lt).getRegex()
3229
- }, Wt = {
3230
- ...Vt,
3231
- html: J("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Rt).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(),
3211
+ list: Lt,
3212
+ newline: X,
3213
+ paragraph: Vt,
3214
+ table: q,
3215
+ text: Pt
3216
+ }, Ut = J("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rt).getRegex(), Wt = {
3217
+ ...Ht,
3218
+ lheading: Mt,
3219
+ table: Ut,
3220
+ paragraph: J(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ut).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rt).getRegex()
3221
+ }, Gt = {
3222
+ ...Ht,
3223
+ html: J("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", zt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3232
3224
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3233
3225
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3234
- fences: xt,
3226
+ fences: q,
3235
3227
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3236
- paragraph: J(Mt).replace("hr", Et).replace("heading", " *#{1,6} *[^\n]").replace("lheading", At).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3237
- }, Gt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Kt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, qt = /^( {2,}|\\)\n(?!\s*$)/, Jt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Yt = /[\p{P}\p{S}]/u, Xt = /[\s\p{P}\p{S}]/u, Zt = /[^\s\p{P}\p{S}]/u, Qt = J(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Xt).getRegex(), $t = /(?!~)[\p{P}\p{S}]/u, en = /(?!~)[\s\p{P}\p{S}]/u, tn = /(?:[^\s\p{P}\p{S}]|~)/u, nn = J(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", St ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), rn = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, an = J(rn, "u").replace(/punct/g, Yt).getRegex(), on = J(rn, "u").replace(/punct/g, $t).getRegex(), sn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", cn = J(sn, "gu").replace(/notPunctSpace/g, Zt).replace(/punctSpace/g, Xt).replace(/punct/g, Yt).getRegex(), ln = J(sn, "gu").replace(/notPunctSpace/g, tn).replace(/punctSpace/g, en).replace(/punct/g, $t).getRegex(), un = J("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Zt).replace(/punctSpace/g, Xt).replace(/punct/g, Yt).getRegex(), dn = J(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Yt).getRegex(), fn = J("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Zt).replace(/punctSpace/g, Xt).replace(/punct/g, Yt).getRegex(), pn = J(/\\(punct)/, "gu").replace(/punct/g, Yt).getRegex(), mn = 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(), hn = J(Rt).replace("(?:-->|$)", "-->").getRegex(), gn = 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", hn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), _n = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, vn = J(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", _n).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), yn = J(/^!?\[(label)\]\[(ref)\]/).replace("label", _n).replace("ref", Pt).getRegex(), bn = J(/^!?\[(ref)\](?:\[\])?/).replace("ref", Pt).getRegex(), xn = J("reflink|nolink(?!\\()", "g").replace("reflink", yn).replace("nolink", bn).getRegex(), Sn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Cn = {
3238
- _backpedal: xt,
3239
- anyPunctuation: pn,
3240
- autolink: mn,
3241
- blockSkip: nn,
3242
- br: qt,
3243
- code: Kt,
3244
- del: xt,
3245
- delLDelim: xt,
3246
- delRDelim: xt,
3247
- emStrongLDelim: an,
3248
- emStrongRDelimAst: cn,
3249
- emStrongRDelimUnd: un,
3250
- escape: Gt,
3251
- link: vn,
3252
- nolink: bn,
3253
- punctuation: Qt,
3254
- reflink: yn,
3255
- reflinkSearch: xn,
3256
- tag: gn,
3257
- text: Jt,
3258
- url: xt
3259
- }, wn = {
3260
- ...Cn,
3261
- link: J(/^!?\[(label)\]\((.*?)\)/).replace("label", _n).getRegex(),
3262
- reflink: J(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", _n).getRegex()
3263
- }, Tn = {
3264
- ...Cn,
3265
- emStrongRDelimAst: ln,
3228
+ paragraph: J(Nt).replace("hr", Dt).replace("heading", " *#{1,6} *[^\n]").replace("lheading", jt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3229
+ }, Kt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, qt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Jt = /^( {2,}|\\)\n(?!\s*$)/, Yt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Xt = /[\p{P}\p{S}]/u, Zt = /[\s\p{P}\p{S}]/u, Qt = /[^\s\p{P}\p{S}]/u, $t = J(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Zt).getRegex(), en = /(?!~)[\p{P}\p{S}]/u, tn = /(?!~)[\s\p{P}\p{S}]/u, nn = /(?:[^\s\p{P}\p{S}]|~)/u, rn = J(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", wt ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), an = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, on = J(an, "u").replace(/punct/g, Xt).getRegex(), sn = J(an, "u").replace(/punct/g, en).getRegex(), cn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ln = J(cn, "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), un = J(cn, "gu").replace(/notPunctSpace/g, nn).replace(/punctSpace/g, tn).replace(/punct/g, en).getRegex(), dn = J("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), fn = J(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Xt).getRegex(), pn = J("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), mn = J(/\\(punct)/, "gu").replace(/punct/g, Xt).getRegex(), hn = J(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), gn = J(zt).replace("(?:-->|$)", "-->").getRegex(), _n = J("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", gn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), vn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, yn = J(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", vn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bn = J(/^!?\[(label)\]\[(ref)\]/).replace("label", vn).replace("ref", Ft).getRegex(), xn = J(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ft).getRegex(), Sn = J("reflink|nolink(?!\\()", "g").replace("reflink", bn).replace("nolink", xn).getRegex(), Cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, wn = {
3230
+ _backpedal: q,
3231
+ anyPunctuation: mn,
3232
+ autolink: hn,
3233
+ blockSkip: rn,
3234
+ br: Jt,
3235
+ code: qt,
3236
+ del: q,
3237
+ delLDelim: q,
3238
+ delRDelim: q,
3266
3239
  emStrongLDelim: on,
3267
- delLDelim: dn,
3268
- delRDelim: fn,
3269
- url: J(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Sn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3240
+ emStrongRDelimAst: ln,
3241
+ emStrongRDelimUnd: dn,
3242
+ escape: Kt,
3243
+ link: yn,
3244
+ nolink: xn,
3245
+ punctuation: $t,
3246
+ reflink: bn,
3247
+ reflinkSearch: Sn,
3248
+ tag: _n,
3249
+ text: Yt,
3250
+ url: q
3251
+ }, Tn = {
3252
+ ...wn,
3253
+ link: J(/^!?\[(label)\]\((.*?)\)/).replace("label", vn).getRegex(),
3254
+ reflink: J(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", vn).getRegex()
3255
+ }, En = {
3256
+ ...wn,
3257
+ emStrongRDelimAst: un,
3258
+ emStrongLDelim: sn,
3259
+ delLDelim: fn,
3260
+ delRDelim: pn,
3261
+ url: J(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3270
3262
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
3271
3263
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
3272
- text: J(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Sn).getRegex()
3273
- }, En = {
3274
- ...Tn,
3275
- br: J(qt).replace("{2,}", "*").getRegex(),
3276
- text: J(Tn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3264
+ text: J(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Cn).getRegex()
3277
3265
  }, Dn = {
3278
- normal: Vt,
3279
- gfm: Ut,
3280
- pedantic: Wt
3266
+ ...En,
3267
+ br: J(Jt).replace("{2,}", "*").getRegex(),
3268
+ text: J(En.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3281
3269
  }, On = {
3282
- normal: Cn,
3283
- gfm: Tn,
3284
- breaks: En,
3285
- pedantic: wn
3270
+ normal: Ht,
3271
+ gfm: Wt,
3272
+ pedantic: Gt
3286
3273
  }, kn = {
3274
+ normal: wn,
3275
+ gfm: En,
3276
+ breaks: Dn,
3277
+ pedantic: Tn
3278
+ }, An = {
3287
3279
  "&": "&amp;",
3288
3280
  "<": "&lt;",
3289
3281
  ">": "&gt;",
3290
3282
  "\"": "&quot;",
3291
3283
  "'": "&#39;"
3292
- }, An = (e) => kn[e];
3293
- function jn(e, t) {
3284
+ }, jn = (e) => An[e];
3285
+ function Mn(e, t) {
3294
3286
  if (t) {
3295
- if (Y.escapeTest.test(e)) return e.replace(Y.escapeReplace, An);
3296
- } else if (Y.escapeTestNoEncode.test(e)) return e.replace(Y.escapeReplaceNoEncode, An);
3287
+ if (Y.escapeTest.test(e)) return e.replace(Y.escapeReplace, jn);
3288
+ } else if (Y.escapeTestNoEncode.test(e)) return e.replace(Y.escapeReplaceNoEncode, jn);
3297
3289
  return e;
3298
3290
  }
3299
- function Mn(e) {
3291
+ function Nn(e) {
3300
3292
  try {
3301
3293
  e = encodeURI(e).replace(Y.percentDecode, "%");
3302
3294
  } catch {
@@ -3304,7 +3296,7 @@ function Mn(e) {
3304
3296
  }
3305
3297
  return e;
3306
3298
  }
3307
- function Nn(e, t) {
3299
+ function Pn(e, t) {
3308
3300
  let n = e.replace(Y.findPipe, (e, t, n) => {
3309
3301
  let r = !1, i = t;
3310
3302
  for (; --i >= 0 && n[i] === "\\";) r = !r;
@@ -3317,7 +3309,7 @@ function Nn(e, t) {
3317
3309
  for (; r < n.length; r++) n[r] = n[r].trim().replace(Y.slashPipe, "|");
3318
3310
  return n;
3319
3311
  }
3320
- function Pn(e, t, n) {
3312
+ function Fn(e, t, n) {
3321
3313
  let r = e.length;
3322
3314
  if (r === 0) return "";
3323
3315
  let i = 0;
@@ -3329,7 +3321,7 @@ function Pn(e, t, n) {
3329
3321
  }
3330
3322
  return e.slice(0, r - i);
3331
3323
  }
3332
- function Fn(e, t) {
3324
+ function In(e, t) {
3333
3325
  if (e.indexOf(t[1]) === -1) return -1;
3334
3326
  let n = 0;
3335
3327
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -3337,7 +3329,7 @@ function Fn(e, t) {
3337
3329
  else if (e[r] === t[1] && (n--, n < 0)) return r;
3338
3330
  return n > 0 ? -2 : -1;
3339
3331
  }
3340
- function In(e, t = 0) {
3332
+ function Ln(e, t = 0) {
3341
3333
  let n = t, r = "";
3342
3334
  for (let t of e) if (t === " ") {
3343
3335
  let e = 4 - n % 4;
@@ -3345,7 +3337,7 @@ function In(e, t = 0) {
3345
3337
  } else r += t, n++;
3346
3338
  return r;
3347
3339
  }
3348
- function Ln(e, t, n, r, i) {
3340
+ function Rn(e, t, n, r, i) {
3349
3341
  let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
3350
3342
  r.state.inLink = !0;
3351
3343
  let c = {
@@ -3358,7 +3350,7 @@ function Ln(e, t, n, r, i) {
3358
3350
  };
3359
3351
  return r.state.inLink = !1, c;
3360
3352
  }
3361
- function Rn(e, t, n) {
3353
+ function zn(e, t, n) {
3362
3354
  let r = e.match(n.other.indentCodeCompensation);
3363
3355
  if (r === null) return t;
3364
3356
  let i = r[1];
@@ -3369,12 +3361,12 @@ function Rn(e, t, n) {
3369
3361
  return r.length >= i.length ? e.slice(i.length) : e;
3370
3362
  }).join("\n");
3371
3363
  }
3372
- var zn = class {
3364
+ var Bn = class {
3373
3365
  options;
3374
3366
  rules;
3375
3367
  lexer;
3376
3368
  constructor(e) {
3377
- this.options = e || q;
3369
+ this.options = e || St;
3378
3370
  }
3379
3371
  space(e) {
3380
3372
  let t = this.rules.block.newline.exec(e);
@@ -3391,14 +3383,14 @@ var zn = class {
3391
3383
  type: "code",
3392
3384
  raw: t[0],
3393
3385
  codeBlockStyle: "indented",
3394
- text: this.options.pedantic ? e : Pn(e, "\n")
3386
+ text: this.options.pedantic ? e : Fn(e, "\n")
3395
3387
  };
3396
3388
  }
3397
3389
  }
3398
3390
  fences(e) {
3399
3391
  let t = this.rules.block.fences.exec(e);
3400
3392
  if (t) {
3401
- let e = t[0], n = Rn(e, t[3] || "", this.rules);
3393
+ let e = t[0], n = zn(e, t[3] || "", this.rules);
3402
3394
  return {
3403
3395
  type: "code",
3404
3396
  raw: e,
@@ -3412,7 +3404,7 @@ var zn = class {
3412
3404
  if (t) {
3413
3405
  let e = t[2].trim();
3414
3406
  if (this.rules.other.endingHash.test(e)) {
3415
- let t = Pn(e, "#");
3407
+ let t = Fn(e, "#");
3416
3408
  (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
3417
3409
  }
3418
3410
  return {
@@ -3428,13 +3420,13 @@ var zn = class {
3428
3420
  let t = this.rules.block.hr.exec(e);
3429
3421
  if (t) return {
3430
3422
  type: "hr",
3431
- raw: Pn(t[0], "\n")
3423
+ raw: Fn(t[0], "\n")
3432
3424
  };
3433
3425
  }
3434
3426
  blockquote(e) {
3435
3427
  let t = this.rules.block.blockquote.exec(e);
3436
3428
  if (t) {
3437
- let e = Pn(t[0], "\n").split("\n"), n = "", r = "", i = [];
3429
+ let e = Fn(t[0], "\n").split("\n"), n = "", r = "", i = [];
3438
3430
  for (; e.length > 0;) {
3439
3431
  let t = !1, a = [], o = 0;
3440
3432
  for (; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
@@ -3457,7 +3449,6 @@ ${c}` : c;
3457
3449
  if (u?.type === "list") {
3458
3450
  let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
3459
3451
  i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
3460
- continue;
3461
3452
  }
3462
3453
  }
3463
3454
  return {
@@ -3485,7 +3476,7 @@ ${c}` : c;
3485
3476
  let n = !1, r = "", s = "";
3486
3477
  if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
3487
3478
  r = t[0], e = e.substring(r.length);
3488
- let c = In(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
3479
+ let c = Ln(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
3489
3480
  if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
3490
3481
  let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
3491
3482
  for (; e;) {
@@ -3574,7 +3565,7 @@ ${c}` : c;
3574
3565
  table(e) {
3575
3566
  let t = this.rules.block.table.exec(e);
3576
3567
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
3577
- let n = Nn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
3568
+ let n = Pn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
3578
3569
  type: "table",
3579
3570
  raw: t[0],
3580
3571
  header: [],
@@ -3589,7 +3580,7 @@ ${c}` : c;
3589
3580
  header: !0,
3590
3581
  align: a.align[e]
3591
3582
  });
3592
- for (let e of i) a.rows.push(Nn(e, a.header.length).map((e, t) => ({
3583
+ for (let e of i) a.rows.push(Pn(e, a.header.length).map((e, t) => ({
3593
3584
  text: e,
3594
3585
  tokens: this.lexer.inline(e),
3595
3586
  header: !1,
@@ -3657,10 +3648,10 @@ ${c}` : c;
3657
3648
  let e = t[2].trim();
3658
3649
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
3659
3650
  if (!this.rules.other.endAngleBracket.test(e)) return;
3660
- let t = Pn(e.slice(0, -1), "\\");
3651
+ let t = Fn(e.slice(0, -1), "\\");
3661
3652
  if ((e.length - t.length) % 2 == 0) return;
3662
3653
  } else {
3663
- let e = Fn(t[2], "()");
3654
+ let e = In(t[2], "()");
3664
3655
  if (e === -2) return;
3665
3656
  if (e > -1) {
3666
3657
  let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
@@ -3672,7 +3663,7 @@ ${c}` : c;
3672
3663
  let e = this.rules.other.pedanticHrefTitle.exec(n);
3673
3664
  e && (n = e[1], r = e[3]);
3674
3665
  } else r = t[3] ? t[3].slice(1, -1) : "";
3675
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Ln(t, {
3666
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Rn(t, {
3676
3667
  href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
3677
3668
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
3678
3669
  }, t[0], this.lexer, this.rules);
@@ -3690,7 +3681,7 @@ ${c}` : c;
3690
3681
  text: e
3691
3682
  };
3692
3683
  }
3693
- return Ln(n, e, n[0], this.lexer, this.rules);
3684
+ return Rn(n, e, n[0], this.lexer, this.rules);
3694
3685
  }
3695
3686
  }
3696
3687
  emStrong(e, t, n = "") {
@@ -3823,29 +3814,29 @@ ${c}` : c;
3823
3814
  };
3824
3815
  }
3825
3816
  }
3826
- }, Bn = class e {
3817
+ }, Vn = class e {
3827
3818
  tokens;
3828
3819
  options;
3829
3820
  state;
3830
3821
  inlineQueue;
3831
3822
  tokenizer;
3832
3823
  constructor(e) {
3833
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || q, this.options.tokenizer = this.options.tokenizer || new zn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3824
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || St, this.options.tokenizer = this.options.tokenizer || new Bn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3834
3825
  inLink: !1,
3835
3826
  inRawBlock: !1,
3836
3827
  top: !0
3837
3828
  };
3838
3829
  let t = {
3839
3830
  other: Y,
3840
- block: Dn.normal,
3841
- inline: On.normal
3831
+ block: On.normal,
3832
+ inline: kn.normal
3842
3833
  };
3843
- this.options.pedantic ? (t.block = Dn.pedantic, t.inline = On.pedantic) : this.options.gfm && (t.block = Dn.gfm, t.inline = this.options.breaks ? On.breaks : On.gfm), this.tokenizer.rules = t;
3834
+ this.options.pedantic ? (t.block = On.pedantic, t.inline = kn.pedantic) : this.options.gfm && (t.block = On.gfm, t.inline = this.options.breaks ? kn.breaks : kn.gfm), this.tokenizer.rules = t;
3844
3835
  }
3845
3836
  static get rules() {
3846
3837
  return {
3847
- block: Dn,
3848
- inline: On
3838
+ block: On,
3839
+ inline: kn
3849
3840
  };
3850
3841
  }
3851
3842
  static lex(t, n) {
@@ -3878,27 +3869,7 @@ ${c}` : c;
3878
3869
  n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
3879
3870
  continue;
3880
3871
  }
3881
- if (r = this.tokenizer.fences(e)) {
3882
- e = e.substring(r.raw.length), t.push(r);
3883
- continue;
3884
- }
3885
- if (r = this.tokenizer.heading(e)) {
3886
- e = e.substring(r.raw.length), t.push(r);
3887
- continue;
3888
- }
3889
- if (r = this.tokenizer.hr(e)) {
3890
- e = e.substring(r.raw.length), t.push(r);
3891
- continue;
3892
- }
3893
- if (r = this.tokenizer.blockquote(e)) {
3894
- e = e.substring(r.raw.length), t.push(r);
3895
- continue;
3896
- }
3897
- if (r = this.tokenizer.list(e)) {
3898
- e = e.substring(r.raw.length), t.push(r);
3899
- continue;
3900
- }
3901
- if (r = this.tokenizer.html(e)) {
3872
+ if ((r = this.tokenizer.fences(e)) || (r = this.tokenizer.heading(e)) || (r = this.tokenizer.hr(e)) || (r = this.tokenizer.blockquote(e)) || (r = this.tokenizer.list(e)) || (r = this.tokenizer.html(e))) {
3902
3873
  e = e.substring(r.raw.length), t.push(r);
3903
3874
  continue;
3904
3875
  }
@@ -3911,11 +3882,7 @@ ${c}` : c;
3911
3882
  }, t.push(r));
3912
3883
  continue;
3913
3884
  }
3914
- if (r = this.tokenizer.table(e)) {
3915
- e = e.substring(r.raw.length), t.push(r);
3916
- continue;
3917
- }
3918
- if (r = this.tokenizer.lheading(e)) {
3885
+ if ((r = this.tokenizer.table(e)) || (r = this.tokenizer.lheading(e))) {
3919
3886
  e = e.substring(r.raw.length), t.push(r);
3920
3887
  continue;
3921
3888
  }
@@ -3929,15 +3896,11 @@ ${c}` : c;
3929
3896
  if (this.state.top && (r = this.tokenizer.paragraph(i))) {
3930
3897
  let a = t.at(-1);
3931
3898
  n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
3932
- continue;
3933
- }
3934
- if (r = this.tokenizer.text(e)) {
3899
+ } else if (r = this.tokenizer.text(e)) {
3935
3900
  e = e.substring(r.raw.length);
3936
3901
  let n = t.at(-1);
3937
3902
  n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
3938
- continue;
3939
- }
3940
- if (e) {
3903
+ } else if (e) {
3941
3904
  let t = "Infinite loop on byte: " + e.charCodeAt(0);
3942
3905
  if (this.options.silent) {
3943
3906
  console.error(t);
@@ -3970,15 +3933,7 @@ ${c}` : c;
3970
3933
  a || (o = ""), a = !1;
3971
3934
  let r;
3972
3935
  if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
3973
- if (r = this.tokenizer.escape(e)) {
3974
- e = e.substring(r.raw.length), t.push(r);
3975
- continue;
3976
- }
3977
- if (r = this.tokenizer.tag(e)) {
3978
- e = e.substring(r.raw.length), t.push(r);
3979
- continue;
3980
- }
3981
- if (r = this.tokenizer.link(e)) {
3936
+ if ((r = this.tokenizer.escape(e)) || (r = this.tokenizer.tag(e)) || (r = this.tokenizer.link(e))) {
3982
3937
  e = e.substring(r.raw.length), t.push(r);
3983
3938
  continue;
3984
3939
  }
@@ -3988,27 +3943,7 @@ ${c}` : c;
3988
3943
  r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
3989
3944
  continue;
3990
3945
  }
3991
- if (r = this.tokenizer.emStrong(e, n, o)) {
3992
- e = e.substring(r.raw.length), t.push(r);
3993
- continue;
3994
- }
3995
- if (r = this.tokenizer.codespan(e)) {
3996
- e = e.substring(r.raw.length), t.push(r);
3997
- continue;
3998
- }
3999
- if (r = this.tokenizer.br(e)) {
4000
- e = e.substring(r.raw.length), t.push(r);
4001
- continue;
4002
- }
4003
- if (r = this.tokenizer.del(e, n, o)) {
4004
- e = e.substring(r.raw.length), t.push(r);
4005
- continue;
4006
- }
4007
- if (r = this.tokenizer.autolink(e)) {
4008
- e = e.substring(r.raw.length), t.push(r);
4009
- continue;
4010
- }
4011
- if (!this.state.inLink && (r = this.tokenizer.url(e))) {
3946
+ if ((r = this.tokenizer.emStrong(e, n, o)) || (r = this.tokenizer.codespan(e)) || (r = this.tokenizer.br(e)) || (r = this.tokenizer.del(e, n, o)) || (r = this.tokenizer.autolink(e)) || !this.state.inLink && (r = this.tokenizer.url(e))) {
4012
3947
  e = e.substring(r.raw.length), t.push(r);
4013
3948
  continue;
4014
3949
  }
@@ -4023,9 +3958,7 @@ ${c}` : c;
4023
3958
  e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
4024
3959
  let n = t.at(-1);
4025
3960
  n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
4026
- continue;
4027
- }
4028
- if (e) {
3961
+ } else if (e) {
4029
3962
  let t = "Infinite loop on byte: " + e.charCodeAt(0);
4030
3963
  if (this.options.silent) {
4031
3964
  console.error(t);
@@ -4036,18 +3969,18 @@ ${c}` : c;
4036
3969
  }
4037
3970
  return t;
4038
3971
  }
4039
- }, Vn = class {
3972
+ }, Hn = class {
4040
3973
  options;
4041
3974
  parser;
4042
3975
  constructor(e) {
4043
- this.options = e || q;
3976
+ this.options = e || St;
4044
3977
  }
4045
3978
  space(e) {
4046
3979
  return "";
4047
3980
  }
4048
3981
  code({ text: e, lang: t, escaped: n }) {
4049
3982
  let r = (t || "").match(Y.notSpaceStart)?.[0], i = e.replace(Y.endingNewline, "") + "\n";
4050
- return r ? "<pre><code class=\"language-" + jn(r) + "\">" + (n ? i : jn(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : jn(i, !0)) + "</code></pre>\n";
3983
+ return r ? "<pre><code class=\"language-" + Mn(r) + "\">" + (n ? i : Mn(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : Mn(i, !0)) + "</code></pre>\n";
4051
3984
  }
4052
3985
  blockquote({ tokens: e }) {
4053
3986
  return `<blockquote>
@@ -4117,7 +4050,7 @@ ${e}</tr>
4117
4050
  return `<em>${this.parser.parseInline(e)}</em>`;
4118
4051
  }
4119
4052
  codespan({ text: e }) {
4120
- return `<code>${jn(e, !0)}</code>`;
4053
+ return `<code>${Mn(e, !0)}</code>`;
4121
4054
  }
4122
4055
  br(e) {
4123
4056
  return "<br>";
@@ -4126,24 +4059,24 @@ ${e}</tr>
4126
4059
  return `<del>${this.parser.parseInline(e)}</del>`;
4127
4060
  }
4128
4061
  link({ href: e, title: t, tokens: n }) {
4129
- let r = this.parser.parseInline(n), i = Mn(e);
4062
+ let r = this.parser.parseInline(n), i = Nn(e);
4130
4063
  if (i === null) return r;
4131
4064
  e = i;
4132
4065
  let a = "<a href=\"" + e + "\"";
4133
- return t && (a += " title=\"" + jn(t) + "\""), a += ">" + r + "</a>", a;
4066
+ return t && (a += " title=\"" + Mn(t) + "\""), a += ">" + r + "</a>", a;
4134
4067
  }
4135
4068
  image({ href: e, title: t, text: n, tokens: r }) {
4136
4069
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
4137
- let i = Mn(e);
4138
- if (i === null) return jn(n);
4070
+ let i = Nn(e);
4071
+ if (i === null) return Mn(n);
4139
4072
  e = i;
4140
- let a = `<img src="${e}" alt="${jn(n)}"`;
4141
- return t && (a += ` title="${jn(t)}"`), a += ">", a;
4073
+ let a = `<img src="${e}" alt="${Mn(n)}"`;
4074
+ return t && (a += ` title="${Mn(t)}"`), a += ">", a;
4142
4075
  }
4143
4076
  text(e) {
4144
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : jn(e.text);
4077
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : Mn(e.text);
4145
4078
  }
4146
- }, Hn = class {
4079
+ }, Un = class {
4147
4080
  strong({ text: e }) {
4148
4081
  return e;
4149
4082
  }
@@ -4174,12 +4107,12 @@ ${e}</tr>
4174
4107
  checkbox({ raw: e }) {
4175
4108
  return e;
4176
4109
  }
4177
- }, Un = class e {
4110
+ }, Wn = class e {
4178
4111
  options;
4179
4112
  renderer;
4180
4113
  textRenderer;
4181
4114
  constructor(e) {
4182
- this.options = e || q, this.options.renderer = this.options.renderer || new Vn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Hn();
4115
+ this.options = e || St, this.options.renderer = this.options.renderer || new Hn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Un();
4183
4116
  }
4184
4117
  static parse(t, n) {
4185
4118
  return new e(n).parse(t);
@@ -4325,11 +4258,11 @@ ${e}</tr>
4325
4258
  }
4326
4259
  return n;
4327
4260
  }
4328
- }, Wn = class {
4261
+ }, Gn = class {
4329
4262
  options;
4330
4263
  block;
4331
4264
  constructor(e) {
4332
- this.options = e || q;
4265
+ this.options = e || St;
4333
4266
  }
4334
4267
  static passThroughHooks = /* @__PURE__ */ new Set([
4335
4268
  "preprocess",
@@ -4355,22 +4288,22 @@ ${e}</tr>
4355
4288
  return e;
4356
4289
  }
4357
4290
  provideLexer() {
4358
- return this.block ? Bn.lex : Bn.lexInline;
4291
+ return this.block ? Vn.lex : Vn.lexInline;
4359
4292
  }
4360
4293
  provideParser() {
4361
- return this.block ? Un.parse : Un.parseInline;
4294
+ return this.block ? Wn.parse : Wn.parseInline;
4362
4295
  }
4363
- }, Gn = new class {
4364
- defaults = yt();
4296
+ }, Kn = new class {
4297
+ defaults = xt();
4365
4298
  options = this.setOptions;
4366
4299
  parse = this.parseMarkdown(!0);
4367
4300
  parseInline = this.parseMarkdown(!1);
4368
- Parser = Un;
4369
- Renderer = Vn;
4370
- TextRenderer = Hn;
4371
- Lexer = Bn;
4372
- Tokenizer = zn;
4373
- Hooks = Wn;
4301
+ Parser = Wn;
4302
+ Renderer = Hn;
4303
+ TextRenderer = Un;
4304
+ Lexer = Vn;
4305
+ Tokenizer = Bn;
4306
+ Hooks = Gn;
4374
4307
  constructor(...e) {
4375
4308
  this.use(...e);
4376
4309
  }
@@ -4421,7 +4354,7 @@ ${e}</tr>
4421
4354
  }
4422
4355
  "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
4423
4356
  }), n.extensions = t), e.renderer) {
4424
- let t = this.defaults.renderer || new Vn(this.defaults);
4357
+ let t = this.defaults.renderer || new Hn(this.defaults);
4425
4358
  for (let n in e.renderer) {
4426
4359
  if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
4427
4360
  if (["options", "parser"].includes(n)) continue;
@@ -4434,7 +4367,7 @@ ${e}</tr>
4434
4367
  n.renderer = t;
4435
4368
  }
4436
4369
  if (e.tokenizer) {
4437
- let t = this.defaults.tokenizer || new zn(this.defaults);
4370
+ let t = this.defaults.tokenizer || new Bn(this.defaults);
4438
4371
  for (let n in e.tokenizer) {
4439
4372
  if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
4440
4373
  if ([
@@ -4451,13 +4384,13 @@ ${e}</tr>
4451
4384
  n.tokenizer = t;
4452
4385
  }
4453
4386
  if (e.hooks) {
4454
- let t = this.defaults.hooks || new Wn();
4387
+ let t = this.defaults.hooks || new Gn();
4455
4388
  for (let n in e.hooks) {
4456
4389
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
4457
4390
  if (["options", "block"].includes(n)) continue;
4458
4391
  let r = n, i = e.hooks[r], a = t[r];
4459
- t[r] = Wn.passThroughHooks.has(n) ? (e) => {
4460
- if (this.defaults.async && Wn.passThroughHooksRespectAsync.has(n)) return (async () => {
4392
+ t[r] = Gn.passThroughHooks.has(n) ? (e) => {
4393
+ if (this.defaults.async && Gn.passThroughHooksRespectAsync.has(n)) return (async () => {
4461
4394
  let n = await i.call(t, e);
4462
4395
  return a.call(t, n);
4463
4396
  })();
@@ -4494,10 +4427,10 @@ ${e}</tr>
4494
4427
  }, this;
4495
4428
  }
4496
4429
  lexer(e, t) {
4497
- return Bn.lex(e, t ?? this.defaults);
4430
+ return Vn.lex(e, t ?? this.defaults);
4498
4431
  }
4499
4432
  parser(e, t) {
4500
- return Un.parse(e, t ?? this.defaults);
4433
+ return Wn.parse(e, t ?? this.defaults);
4501
4434
  }
4502
4435
  parseMarkdown(e) {
4503
4436
  return (t, n) => {
@@ -4509,16 +4442,16 @@ ${e}</tr>
4509
4442
  if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
4510
4443
  if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
4511
4444
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
4512
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? Bn.lex : Bn.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
4445
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? Vn.lex : Vn.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
4513
4446
  i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
4514
- let o = await (i.hooks ? await i.hooks.provideParser() : e ? Un.parse : Un.parseInline)(a, i);
4447
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? Wn.parse : Wn.parseInline)(a, i);
4515
4448
  return i.hooks ? await i.hooks.postprocess(o) : o;
4516
4449
  })().catch(a);
4517
4450
  try {
4518
4451
  i.hooks && (t = i.hooks.preprocess(t));
4519
- let n = (i.hooks ? i.hooks.provideLexer() : e ? Bn.lex : Bn.lexInline)(t, i);
4452
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? Vn.lex : Vn.lexInline)(t, i);
4520
4453
  i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
4521
- let r = (i.hooks ? i.hooks.provideParser() : e ? Un.parse : Un.parseInline)(n, i);
4454
+ let r = (i.hooks ? i.hooks.provideParser() : e ? Wn.parse : Wn.parseInline)(n, i);
4522
4455
  return i.hooks && (r = i.hooks.postprocess(r)), r;
4523
4456
  } catch (e) {
4524
4457
  return a(e);
@@ -4528,7 +4461,7 @@ ${e}</tr>
4528
4461
  onError(e, t) {
4529
4462
  return (n) => {
4530
4463
  if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
4531
- let e = "<p>An error occurred:</p><pre>" + jn(n.message + "", !0) + "</pre>";
4464
+ let e = "<p>An error occurred:</p><pre>" + Mn(n.message + "", !0) + "</pre>";
4532
4465
  return t ? Promise.resolve(e) : e;
4533
4466
  }
4534
4467
  if (t) return Promise.reject(n);
@@ -4536,40 +4469,40 @@ ${e}</tr>
4536
4469
  };
4537
4470
  }
4538
4471
  }();
4539
- function X(e, t) {
4540
- return Gn.parse(e, t);
4472
+ function Z(e, t) {
4473
+ return Kn.parse(e, t);
4541
4474
  }
4542
- X.options = X.setOptions = function(e) {
4543
- return Gn.setOptions(e), X.defaults = Gn.defaults, bt(X.defaults), X;
4544
- }, X.getDefaults = yt, X.defaults = q, X.use = function(...e) {
4545
- return Gn.use(...e), X.defaults = Gn.defaults, bt(X.defaults), X;
4546
- }, X.walkTokens = function(e, t) {
4547
- return Gn.walkTokens(e, t);
4548
- }, X.parseInline = Gn.parseInline, X.Parser = Un, X.parser = Un.parse, X.Renderer = Vn, X.TextRenderer = Hn, X.Lexer = Bn, X.lexer = Bn.lex, X.Tokenizer = zn, X.Hooks = Wn, X.parse = X, X.options, X.setOptions, X.use, X.walkTokens, X.parseInline, Un.parse, Bn.lex;
4549
- function Kn(...e) {
4475
+ Z.options = Z.setOptions = function(e) {
4476
+ return Kn.setOptions(e), Z.defaults = Kn.defaults, Ct(Z.defaults), Z;
4477
+ }, Z.getDefaults = xt, Z.defaults = St, Z.use = function(...e) {
4478
+ return Kn.use(...e), Z.defaults = Kn.defaults, Ct(Z.defaults), Z;
4479
+ }, Z.walkTokens = function(e, t) {
4480
+ return Kn.walkTokens(e, t);
4481
+ }, Z.parseInline = Kn.parseInline, Z.Parser = Wn, Z.parser = Wn.parse, Z.Renderer = Hn, Z.TextRenderer = Un, Z.Lexer = Vn, Z.lexer = Vn.lex, Z.Tokenizer = Bn, Z.Hooks = Gn, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, Wn.parse, Vn.lex;
4482
+ function qn(...e) {
4550
4483
  return e.filter(Boolean).join(" ");
4551
4484
  }
4552
- function qn(e, t) {
4485
+ function Jn(e, t) {
4553
4486
  return e ? t ? {
4554
4487
  ...e,
4555
4488
  ...t
4556
4489
  } : e : t;
4557
4490
  }
4558
- function Jn({ animation: e, index: t, as: n, asChild: r, className: i, style: a, children: o }) {
4559
- let s = Kn("fragment", e, i);
4491
+ function Yn({ animation: e, index: t, as: n, asChild: r, className: i, style: a, children: o }) {
4492
+ let s = qn("fragment", e, i);
4560
4493
  if (r) {
4561
4494
  let e;
4562
4495
  try {
4563
- e = M.Children.only(o);
4496
+ e = N.Children.only(o);
4564
4497
  } catch {
4565
4498
  throw Error("Fragment with asChild expects exactly one React element child.");
4566
4499
  }
4567
- if (!(0, M.isValidElement)(e) || e.type === M.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4500
+ if (!(0, N.isValidElement)(e) || e.type === N.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4568
4501
  let n = {
4569
- className: Kn(e.props.className, s),
4570
- style: qn(e.props.style, a)
4502
+ className: qn(e.props.className, s),
4503
+ style: Jn(e.props.style, a)
4571
4504
  };
4572
- return t !== void 0 && (n["data-fragment-index"] = t), (0, M.cloneElement)(e, n);
4505
+ return t !== void 0 && (n["data-fragment-index"] = t), (0, N.cloneElement)(e, n);
4573
4506
  }
4574
4507
  return /* @__PURE__ */ (0, G.jsx)(n ?? "span", {
4575
4508
  className: s,
@@ -4580,24 +4513,26 @@ function Jn({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
4580
4513
  }
4581
4514
  //#endregion
4582
4515
  //#region src/components/slides/slide-scroll-hint.tsx
4583
- var Yn = 8, Xn = 1;
4584
- function Zn(e) {
4516
+ var Xn = 8, Zn = 1;
4517
+ function Qn(e) {
4585
4518
  let { scrollHeight: t, clientHeight: n, scrollTop: r } = e;
4586
- return t > n + Xn && r <= Yn;
4519
+ return t > n + Zn && r <= Xn;
4587
4520
  }
4588
- function Qn(e) {
4521
+ function $n(e) {
4589
4522
  let t = e.querySelector(".fragment:not(.visible)");
4590
- return t ? t.getBoundingClientRect().top - e.getBoundingClientRect().top + e.scrollTop : e.scrollHeight;
4523
+ if (!t) return e.scrollHeight;
4524
+ let n = e.getBoundingClientRect(), r = e.offsetHeight > 0 ? n.height / e.offsetHeight : 1;
4525
+ return (t.getBoundingClientRect().top - n.top) / (r || 1) + e.scrollTop;
4591
4526
  }
4592
- function $n(e, t) {
4593
- let n = (0, N.c)(4), [r, i] = (0, M.useState)(!1), a, o;
4527
+ function er(e, t) {
4528
+ let n = (0, ie.c)(4), [r, i] = (0, N.useState)(!1), a, o;
4594
4529
  return n[0] !== t || n[1] !== e ? (a = () => {
4595
4530
  let n = e.current, r = t.current;
4596
4531
  if (!n || !r) return;
4597
4532
  let a = 0, o = () => {
4598
4533
  cancelAnimationFrame(a), a = requestAnimationFrame(() => {
4599
- i(Zn({
4600
- scrollHeight: Qn(n),
4534
+ i(Qn({
4535
+ scrollHeight: $n(n),
4601
4536
  clientHeight: n.clientHeight,
4602
4537
  scrollTop: n.scrollTop
4603
4538
  }));
@@ -4614,17 +4549,17 @@ function $n(e, t) {
4614
4549
  }), n.addEventListener("scroll", o, { passive: !0 }), () => {
4615
4550
  cancelAnimationFrame(a), s.disconnect(), c?.disconnect(), n.removeEventListener("scroll", o);
4616
4551
  };
4617
- }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, M.useEffect)(a, o), r;
4552
+ }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, N.useEffect)(a, o), r;
4618
4553
  }
4619
- var er = (e) => {
4620
- let t = (0, N.c)(6), { className: n } = e, i;
4621
- 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);
4554
+ var tr = (e) => {
4555
+ let t = (0, ie.c)(6), { className: r } = e, i;
4556
+ t[0] === r ? i = t[1] : (i = n("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", r), t[0] = r, t[1] = i);
4622
4557
  let a;
4623
4558
  t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, G.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4624
4559
  let o;
4625
4560
  t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, G.jsxs)("div", {
4626
4561
  className: "absolute bottom-3 flex items-center gap-1 rounded-full border border-border/60 bg-background/90 px-2.5 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur-sm",
4627
- children: [/* @__PURE__ */ (0, G.jsx)(C, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
4562
+ children: [/* @__PURE__ */ (0, G.jsx)(w, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
4628
4563
  }), t[3] = o) : o = t[3];
4629
4564
  let s;
4630
4565
  return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, G.jsxs)("div", {
@@ -4633,22 +4568,22 @@ var er = (e) => {
4633
4568
  "aria-hidden": !0,
4634
4569
  children: [a, o]
4635
4570
  }), t[4] = i, t[5] = s), s;
4636
- }, tr = (e) => {
4637
- let t = (0, N.c)(10), { children: n, className: i } = e, a = (0, M.useRef)(null), o = (0, M.useRef)(null), s = $n(a, o), c;
4638
- t[0] === i ? c = t[1] : (c = r("relative h-full w-full", i), t[0] = i, t[1] = c);
4571
+ }, nr = (e) => {
4572
+ let t = (0, ie.c)(10), { children: r, className: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = er(a, o), c;
4573
+ t[0] === i ? c = t[1] : (c = n("relative h-full w-full", i), t[0] = i, t[1] = c);
4639
4574
  let l;
4640
- t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
4575
+ t[2] === r ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
4641
4576
  ref: a,
4642
4577
  className: "h-full w-full overflow-auto",
4643
4578
  "data-testid": "slide-scroll-container",
4644
4579
  children: /* @__PURE__ */ (0, G.jsx)("div", {
4645
4580
  ref: o,
4646
4581
  className: "flex w-full min-h-full",
4647
- children: n
4582
+ children: r
4648
4583
  })
4649
- }), t[2] = n, t[3] = l);
4584
+ }), t[2] = r, t[3] = l);
4650
4585
  let u;
4651
- t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)(er, {}), t[4] = s, t[5] = u);
4586
+ t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)(tr, {}), t[4] = s, t[5] = u);
4652
4587
  let d;
4653
4588
  return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, G.jsxs)("div", {
4654
4589
  className: c,
@@ -4657,7 +4592,7 @@ var er = (e) => {
4657
4592
  };
4658
4593
  //#endregion
4659
4594
  //#region src/components/slides/compose-slides.ts
4660
- function nr({ cells: e, getType: t }) {
4595
+ function rr({ cells: e, getType: t }) {
4661
4596
  let n = [], r = null, i = null, a = () => {
4662
4597
  let e = { subslides: [] };
4663
4598
  return n.push(e), r = e, i = null, e;
@@ -4683,7 +4618,7 @@ function nr({ cells: e, getType: t }) {
4683
4618
  }
4684
4619
  return { stacks: n };
4685
4620
  }
4686
- function rr({ composition: e, cells: t, getId: n }) {
4621
+ function ir({ composition: e, cells: t, getId: n }) {
4687
4622
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
4688
4623
  for (let [e, r] of t.entries()) a.set(n(r), e);
4689
4624
  return e.stacks.forEach((e, t) => {
@@ -4726,27 +4661,27 @@ function rr({ composition: e, cells: t, getId: n }) {
4726
4661
  targetToCellIndex: i
4727
4662
  };
4728
4663
  }
4729
- function ir(e, t) {
4664
+ function ar(e, t) {
4730
4665
  let { h: n, v: r, f: i } = t;
4731
4666
  return e.get(`${n},${r},${i}`) ?? e.get(`${n},${r},-1`);
4732
4667
  }
4733
- function ar({ start: e, stop: t, step: n, cells: r, cellToTarget: i, getId: a }) {
4668
+ function or({ start: e, stop: t, step: n, cells: r, cellToTarget: i, getId: a }) {
4734
4669
  for (let o = e; o !== t; o += n) {
4735
4670
  let e = i.get(a(r[o]));
4736
4671
  if (e) return e;
4737
4672
  }
4738
4673
  }
4739
- function or({ activeIndex: e, cells: t, cellToTarget: n, getId: r }) {
4674
+ function sr({ activeIndex: e, cells: t, cellToTarget: n, getId: r }) {
4740
4675
  if (e == null) return;
4741
4676
  let i = t[e];
4742
- return i ? n.get(r(i)) || (ar({
4677
+ return i ? n.get(r(i)) || (or({
4743
4678
  start: e - 1,
4744
4679
  stop: -1,
4745
4680
  step: -1,
4746
4681
  cells: t,
4747
4682
  cellToTarget: n,
4748
4683
  getId: r
4749
- }) ?? ar({
4684
+ }) ?? or({
4750
4685
  start: e + 1,
4751
4686
  stop: t.length,
4752
4687
  step: 1,
@@ -4755,7 +4690,7 @@ function or({ activeIndex: e, cells: t, cellToTarget: n, getId: r }) {
4755
4690
  getId: r
4756
4691
  })) : void 0;
4757
4692
  }
4758
- function sr(e, t) {
4693
+ function cr(e, t) {
4759
4694
  let n = {
4760
4695
  h: t.h,
4761
4696
  v: t.v,
@@ -4765,48 +4700,44 @@ function sr(e, t) {
4765
4700
  }
4766
4701
  //#endregion
4767
4702
  //#region src/core/islands/stubs/slide-cell-view.tsx
4768
- var cr = (e) => (n.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), lr = (e) => (n.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), ur = 300, dr = (e) => {
4769
- let t = (0, N.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e, c = o ? n.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, M.useState)(c), d = (0, M.useRef)(!1), f;
4770
- t[0] !== n || t[1] !== a ? (f = (e, t) => {
4703
+ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), ur = (e) => (t.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), dr = 300, fr = (e) => {
4704
+ let t = (0, ie.c)(25), { layout: r, setLayout: a, cellId: o, className: s } = e, c = o ? r.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, N.useState)(c), d = (0, N.useRef)(!1), f;
4705
+ t[0] !== r || t[1] !== a ? (f = (e, t) => {
4771
4706
  d.current = !1;
4772
- let r = n.cells.get(e);
4773
- if ((r?.speakerNotes ?? "") === t) return;
4774
- let i = new Map(n.cells);
4707
+ let n = r.cells.get(e);
4708
+ if ((n?.speakerNotes ?? "") === t) return;
4709
+ let i = new Map(r.cells);
4775
4710
  i.set(e, {
4776
- ...r,
4711
+ ...n,
4777
4712
  speakerNotes: t
4778
4713
  }), a({
4779
- ...n,
4714
+ ...r,
4780
4715
  cells: i
4781
4716
  });
4782
- }, t[0] = n, t[1] = a, t[2] = f) : f = t[2];
4783
- let p = D(f), m = ee(p, ur), h = (0, M.useRef)(o), g, _;
4717
+ }, t[0] = r, t[1] = a, t[2] = f) : f = t[2];
4718
+ let p = j(f), m = T(p, dr), h = (0, N.useRef)(o), g, _;
4784
4719
  t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== m ? (g = () => {
4785
- if (h.current !== o) {
4786
- m.flush(), d.current = !1, u(c), h.current = o;
4787
- return;
4788
- }
4789
- !d.current && c !== l && u(c);
4720
+ h.current === o ? !d.current && c !== l && u(c) : (m.flush(), d.current = !1, u(c), h.current = o);
4790
4721
  }, _ = [
4791
4722
  o,
4792
4723
  c,
4793
4724
  l,
4794
4725
  m
4795
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, M.useEffect)(g, _);
4726
+ ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, N.useEffect)(g, _);
4796
4727
  let v, y;
4797
4728
  t[9] === m ? (v = t[10], y = t[11]) : (v = () => () => {
4798
4729
  m.flush();
4799
- }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, M.useEffect)(v, y);
4730
+ }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, N.useEffect)(v, y);
4800
4731
  let b;
4801
4732
  t[12] !== o || t[13] !== m ? (b = (e) => {
4802
4733
  u(e), o && (d.current = !0, m(o, e));
4803
4734
  }, t[12] = o, t[13] = m, t[14] = b) : b = t[14];
4804
4735
  let x = b, S;
4805
- 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);
4736
+ t[15] === s ? S = t[16] : (S = n("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
4806
4737
  let C;
4807
4738
  t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, G.jsxs)("header", {
4808
4739
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4809
- children: [/* @__PURE__ */ (0, G.jsx)(j, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
4740
+ children: [/* @__PURE__ */ (0, G.jsx)(M, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
4810
4741
  }), t[17] = C) : C = t[17];
4811
4742
  let w;
4812
4743
  t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, G.jsx)("div", {
@@ -4816,40 +4747,40 @@ var cr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4816
4747
  onChange: (e) => x(e.target.value),
4817
4748
  onClick: i.stopPropagation(),
4818
4749
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4819
- 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"),
4750
+ className: n("h-full w-full resize-none rounded-sm border border-input/25 bg-background", "px-3 py-2 text-sm leading-relaxed text-foreground placeholder:text-muted-foreground", "ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent"),
4820
4751
  "aria-label": "Speaker notes for the current slide"
4821
4752
  }) : /* @__PURE__ */ (0, G.jsx)("div", {
4822
4753
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4823
4754
  children: "Select a slide to add notes."
4824
4755
  })
4825
4756
  }), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
4826
- let T;
4827
- return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, G.jsxs)("section", {
4757
+ let E;
4758
+ return t[22] !== S || t[23] !== w ? (E = /* @__PURE__ */ (0, G.jsxs)("section", {
4828
4759
  className: S,
4829
4760
  "aria-label": "Speaker notes",
4830
- onKeyDown: fr,
4761
+ onKeyDown: pr,
4831
4762
  children: [C, w]
4832
- }), t[22] = S, t[23] = w, t[24] = T) : T = t[24], T;
4763
+ }), t[22] = S, t[23] = w, t[24] = E) : E = t[24], E;
4833
4764
  };
4834
- function fr(e) {
4765
+ function pr(e) {
4835
4766
  return e.stopPropagation();
4836
4767
  }
4837
- var pr = "\n\n---\n\n", mr = (e, t) => e.map((e) => t.get(e.id)?.speakerNotes ?? "").filter((e) => e.trim().length > 0).join("\n\n"), hr = (e, t) => {
4838
- let n = e.blocks.map((e) => mr(e.cells, t)), r = e.blocks.map((e, t) => e.isFragment ? "" : n[t]).filter((e) => e.length > 0).join("\n\n"), i = /* @__PURE__ */ new Map(), a = [];
4768
+ var mr = "\n\n---\n\n", hr = (e, t) => e.map((e) => t.get(e.id)?.speakerNotes ?? "").filter((e) => e.trim().length > 0).join("\n\n"), gr = (e, t) => {
4769
+ let n = e.blocks.map((e) => hr(e.cells, t)), r = e.blocks.map((e, t) => e.isFragment ? "" : n[t]).filter((e) => e.length > 0).join("\n\n"), i = /* @__PURE__ */ new Map(), a = [];
4839
4770
  return e.blocks.forEach((e, t) => {
4840
4771
  if (!e.isFragment) return;
4841
4772
  let o = n[t];
4842
4773
  o.length > 0 && a.push(o);
4843
- let s = [r, ...a].filter((e) => e.length > 0).join(pr);
4774
+ let s = [r, ...a].filter((e) => e.length > 0).join(mr);
4844
4775
  s.length > 0 && i.set(t, s);
4845
4776
  }), {
4846
4777
  slideLevel: r,
4847
4778
  cumulativeByBlock: i
4848
4779
  };
4849
- };
4780
+ }, _r = k(!1);
4850
4781
  //#endregion
4851
4782
  //#region ../node_modules/.pnpm/reveal.js@6.0.2/node_modules/reveal.js/dist/plugin/notes.mjs
4852
- function gr() {
4783
+ function vr() {
4853
4784
  return {
4854
4785
  async: !1,
4855
4786
  breaks: !1,
@@ -4863,28 +4794,28 @@ function gr() {
4863
4794
  walkTokens: null
4864
4795
  };
4865
4796
  }
4866
- var _r = gr();
4867
- function vr(e) {
4868
- _r = e;
4797
+ var yr = vr();
4798
+ function br(e) {
4799
+ yr = e;
4869
4800
  }
4870
- var yr = { exec: () => null };
4871
- function Z(e, t = "") {
4801
+ var xr = { exec: () => null };
4802
+ function Q(e, t = "") {
4872
4803
  let n = typeof e == "string" ? e : e.source, r = {
4873
4804
  replace: (e, t) => {
4874
4805
  let i = typeof t == "string" ? t : t.source;
4875
- return i = i.replace(Q.caret, "$1"), n = n.replace(e, i), r;
4806
+ return i = i.replace(Cr.caret, "$1"), n = n.replace(e, i), r;
4876
4807
  },
4877
4808
  getRegex: () => new RegExp(n, t)
4878
4809
  };
4879
4810
  return r;
4880
4811
  }
4881
- var br = (() => {
4812
+ var Sr = (() => {
4882
4813
  try {
4883
4814
  return !0;
4884
4815
  } catch {
4885
4816
  return !1;
4886
4817
  }
4887
- })(), Q = {
4818
+ })(), Cr = {
4888
4819
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
4889
4820
  outputLinkReplace: /\\([\[\]])/g,
4890
4821
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -4941,117 +4872,117 @@ var br = (() => {
4941
4872
  headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
4942
4873
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i"),
4943
4874
  blockquoteBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}>`)
4944
- }, xr = /^(?:[ \t]*(?:\n|$))+/, Sr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Cr = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, wr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Tr = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Er = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Dr = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Or = Z(Dr).replace(/bull/g, Er).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), kr = Z(Dr).replace(/bull/g, Er).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Ar = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, jr = /^[^\n]+/, Mr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Nr = Z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Mr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pr = Z(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Er).getRegex(), Fr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ir = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Lr = Z("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Ir).replace("tag", Fr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Rr = Z(Ar).replace("hr", wr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Fr).getRegex(), zr = {
4945
- blockquote: Z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Rr).getRegex(),
4946
- code: Sr,
4947
- def: Nr,
4948
- fences: Cr,
4949
- heading: Tr,
4950
- hr: wr,
4951
- html: Lr,
4952
- lheading: Or,
4953
- list: Pr,
4954
- newline: xr,
4955
- paragraph: Rr,
4956
- table: yr,
4957
- text: jr
4958
- }, Br = Z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", wr).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", Fr).getRegex(), Vr = {
4959
- ...zr,
4960
- lheading: kr,
4961
- table: Br,
4962
- paragraph: Z(Ar).replace("hr", wr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Br).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Fr).getRegex()
4963
- }, Hr = {
4964
- ...zr,
4965
- html: Z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Ir).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(),
4875
+ }, wr = /^(?:[ \t]*(?:\n|$))+/, Tr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Er = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Or = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, kr = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Ar = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, jr = Q(Ar).replace(/bull/g, kr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Mr = Q(Ar).replace(/bull/g, kr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pr = /^[^\n]+/, Fr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Ir = Q(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Fr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Lr = Q(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, kr).getRegex(), Rr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", zr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Br = Q("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", zr).replace("tag", Rr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vr = Q(Nr).replace("hr", Dr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rr).getRegex(), Hr = {
4876
+ blockquote: Q(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vr).getRegex(),
4877
+ code: Tr,
4878
+ def: Ir,
4879
+ fences: Er,
4880
+ heading: Or,
4881
+ hr: Dr,
4882
+ html: Br,
4883
+ lheading: jr,
4884
+ list: Lr,
4885
+ newline: wr,
4886
+ paragraph: Vr,
4887
+ table: xr,
4888
+ text: Pr
4889
+ }, Ur = Q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Dr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rr).getRegex(), Wr = {
4890
+ ...Hr,
4891
+ lheading: Mr,
4892
+ table: Ur,
4893
+ paragraph: Q(Nr).replace("hr", Dr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ur).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rr).getRegex()
4894
+ }, Gr = {
4895
+ ...Hr,
4896
+ html: Q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", zr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
4966
4897
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
4967
4898
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
4968
- fences: yr,
4899
+ fences: xr,
4969
4900
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
4970
- paragraph: Z(Ar).replace("hr", wr).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Or).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4971
- }, Ur = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Wr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gr = /^( {2,}|\\)\n(?!\s*$)/, Kr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, qr = /[\p{P}\p{S}]/u, Jr = /[\s\p{P}\p{S}]/u, Yr = /[^\s\p{P}\p{S}]/u, Xr = Z(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Jr).getRegex(), Zr = /(?!~)[\p{P}\p{S}]/u, Qr = /(?!~)[\s\p{P}\p{S}]/u, $r = /(?:[^\s\p{P}\p{S}]|~)/u, ei = Z(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", br ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ti = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ni = Z(ti, "u").replace(/punct/g, qr).getRegex(), ri = Z(ti, "u").replace(/punct/g, Zr).getRegex(), ii = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ai = Z(ii, "gu").replace(/notPunctSpace/g, Yr).replace(/punctSpace/g, Jr).replace(/punct/g, qr).getRegex(), oi = Z(ii, "gu").replace(/notPunctSpace/g, $r).replace(/punctSpace/g, Qr).replace(/punct/g, Zr).getRegex(), si = Z("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Yr).replace(/punctSpace/g, Jr).replace(/punct/g, qr).getRegex(), ci = Z(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, qr).getRegex(), li = Z("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Yr).replace(/punctSpace/g, Jr).replace(/punct/g, qr).getRegex(), ui = Z(/\\(punct)/, "gu").replace(/punct/g, qr).getRegex(), di = Z(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), fi = Z(Ir).replace("(?:-->|$)", "-->").getRegex(), pi = Z("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", fi).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), mi = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, hi = Z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", mi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gi = Z(/^!?\[(label)\]\[(ref)\]/).replace("label", mi).replace("ref", Mr).getRegex(), _i = Z(/^!?\[(ref)\](?:\[\])?/).replace("ref", Mr).getRegex(), vi = Z("reflink|nolink(?!\\()", "g").replace("reflink", gi).replace("nolink", _i).getRegex(), yi = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, bi = {
4972
- _backpedal: yr,
4973
- anyPunctuation: ui,
4974
- autolink: di,
4975
- blockSkip: ei,
4976
- br: Gr,
4977
- code: Wr,
4978
- del: yr,
4979
- delLDelim: yr,
4980
- delRDelim: yr,
4981
- emStrongLDelim: ni,
4982
- emStrongRDelimAst: ai,
4983
- emStrongRDelimUnd: si,
4984
- escape: Ur,
4985
- link: hi,
4986
- nolink: _i,
4987
- punctuation: Xr,
4988
- reflink: gi,
4989
- reflinkSearch: vi,
4990
- tag: pi,
4991
- text: Kr,
4992
- url: yr
4993
- }, xi = {
4994
- ...bi,
4995
- link: Z(/^!?\[(label)\]\((.*?)\)/).replace("label", mi).getRegex(),
4996
- reflink: Z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", mi).getRegex()
4997
- }, Si = {
4998
- ...bi,
4999
- emStrongRDelimAst: oi,
5000
- emStrongLDelim: ri,
5001
- delLDelim: ci,
5002
- delRDelim: li,
5003
- url: Z(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", yi).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
5004
- _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5005
- del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
5006
- text: Z(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", yi).getRegex()
5007
- }, Ci = {
5008
- ...Si,
5009
- br: Z(Gr).replace("{2,}", "*").getRegex(),
5010
- text: Z(Si.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4901
+ paragraph: Q(Nr).replace("hr", Dr).replace("heading", " *#{1,6} *[^\n]").replace("lheading", jr).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4902
+ }, Kr = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, qr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Jr = /^( {2,}|\\)\n(?!\s*$)/, Yr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Xr = /[\p{P}\p{S}]/u, Zr = /[\s\p{P}\p{S}]/u, Qr = /[^\s\p{P}\p{S}]/u, $r = Q(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Zr).getRegex(), ei = /(?!~)[\p{P}\p{S}]/u, ti = /(?!~)[\s\p{P}\p{S}]/u, ni = /(?:[^\s\p{P}\p{S}]|~)/u, ri = Q(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Sr ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ii = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ai = Q(ii, "u").replace(/punct/g, Xr).getRegex(), oi = Q(ii, "u").replace(/punct/g, ei).getRegex(), si = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ci = Q(si, "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), li = Q(si, "gu").replace(/notPunctSpace/g, ni).replace(/punctSpace/g, ti).replace(/punct/g, ei).getRegex(), ui = Q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), di = Q(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Xr).getRegex(), fi = Q("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), pi = Q(/\\(punct)/, "gu").replace(/punct/g, Xr).getRegex(), mi = Q(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), hi = Q(zr).replace("(?:-->|$)", "-->").getRegex(), gi = Q("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", hi).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), _i = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, vi = Q(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", _i).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), yi = Q(/^!?\[(label)\]\[(ref)\]/).replace("label", _i).replace("ref", Fr).getRegex(), bi = Q(/^!?\[(ref)\](?:\[\])?/).replace("ref", Fr).getRegex(), xi = Q("reflink|nolink(?!\\()", "g").replace("reflink", yi).replace("nolink", bi).getRegex(), Si = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Ci = {
4903
+ _backpedal: xr,
4904
+ anyPunctuation: pi,
4905
+ autolink: mi,
4906
+ blockSkip: ri,
4907
+ br: Jr,
4908
+ code: qr,
4909
+ del: xr,
4910
+ delLDelim: xr,
4911
+ delRDelim: xr,
4912
+ emStrongLDelim: ai,
4913
+ emStrongRDelimAst: ci,
4914
+ emStrongRDelimUnd: ui,
4915
+ escape: Kr,
4916
+ link: vi,
4917
+ nolink: bi,
4918
+ punctuation: $r,
4919
+ reflink: yi,
4920
+ reflinkSearch: xi,
4921
+ tag: gi,
4922
+ text: Yr,
4923
+ url: xr
5011
4924
  }, wi = {
5012
- normal: zr,
5013
- gfm: Vr,
5014
- pedantic: Hr
4925
+ ...Ci,
4926
+ link: Q(/^!?\[(label)\]\((.*?)\)/).replace("label", _i).getRegex(),
4927
+ reflink: Q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", _i).getRegex()
5015
4928
  }, Ti = {
5016
- normal: bi,
5017
- gfm: Si,
5018
- breaks: Ci,
5019
- pedantic: xi
4929
+ ...Ci,
4930
+ emStrongRDelimAst: li,
4931
+ emStrongLDelim: oi,
4932
+ delLDelim: di,
4933
+ delRDelim: fi,
4934
+ url: Q(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Si).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
4935
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
4936
+ del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
4937
+ text: Q(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Si).getRegex()
5020
4938
  }, Ei = {
4939
+ ...Ti,
4940
+ br: Q(Jr).replace("{2,}", "*").getRegex(),
4941
+ text: Q(Ti.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4942
+ }, Di = {
4943
+ normal: Hr,
4944
+ gfm: Wr,
4945
+ pedantic: Gr
4946
+ }, Oi = {
4947
+ normal: Ci,
4948
+ gfm: Ti,
4949
+ breaks: Ei,
4950
+ pedantic: wi
4951
+ }, ki = {
5021
4952
  "&": "&amp;",
5022
4953
  "<": "&lt;",
5023
4954
  ">": "&gt;",
5024
4955
  "\"": "&quot;",
5025
4956
  "'": "&#39;"
5026
- }, Di = (e) => Ei[e];
5027
- function Oi(e, t) {
4957
+ }, Ai = (e) => ki[e];
4958
+ function ji(e, t) {
5028
4959
  if (t) {
5029
- if (Q.escapeTest.test(e)) return e.replace(Q.escapeReplace, Di);
5030
- } else if (Q.escapeTestNoEncode.test(e)) return e.replace(Q.escapeReplaceNoEncode, Di);
4960
+ if (Cr.escapeTest.test(e)) return e.replace(Cr.escapeReplace, Ai);
4961
+ } else if (Cr.escapeTestNoEncode.test(e)) return e.replace(Cr.escapeReplaceNoEncode, Ai);
5031
4962
  return e;
5032
4963
  }
5033
- function ki(e) {
4964
+ function Mi(e) {
5034
4965
  try {
5035
- e = encodeURI(e).replace(Q.percentDecode, "%");
4966
+ e = encodeURI(e).replace(Cr.percentDecode, "%");
5036
4967
  } catch {
5037
4968
  return null;
5038
4969
  }
5039
4970
  return e;
5040
4971
  }
5041
- function Ai(e, t) {
5042
- let n = e.replace(Q.findPipe, (e, t, n) => {
4972
+ function Ni(e, t) {
4973
+ let n = e.replace(Cr.findPipe, (e, t, n) => {
5043
4974
  let r = !1, i = t;
5044
4975
  for (; --i >= 0 && n[i] === "\\";) r = !r;
5045
4976
  return r ? "|" : " |";
5046
- }).split(Q.splitPipe), r = 0;
4977
+ }).split(Cr.splitPipe), r = 0;
5047
4978
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
5048
4979
  if (n.length > t) n.splice(t);
5049
4980
  else for (; n.length < t;) n.push("");
5050
4981
  }
5051
- for (; r < n.length; r++) n[r] = n[r].trim().replace(Q.slashPipe, "|");
4982
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(Cr.slashPipe, "|");
5052
4983
  return n;
5053
4984
  }
5054
- function ji(e, t, n) {
4985
+ function Pi(e, t, n) {
5055
4986
  let r = e.length;
5056
4987
  if (r === 0) return "";
5057
4988
  let i = 0;
@@ -5063,7 +4994,7 @@ function ji(e, t, n) {
5063
4994
  }
5064
4995
  return e.slice(0, r - i);
5065
4996
  }
5066
- function Mi(e, t) {
4997
+ function Fi(e, t) {
5067
4998
  if (e.indexOf(t[1]) === -1) return -1;
5068
4999
  let n = 0;
5069
5000
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -5071,7 +5002,7 @@ function Mi(e, t) {
5071
5002
  else if (e[r] === t[1] && (n--, n < 0)) return r;
5072
5003
  return n > 0 ? -2 : -1;
5073
5004
  }
5074
- function Ni(e, t = 0) {
5005
+ function Ii(e, t = 0) {
5075
5006
  let n = t, r = "";
5076
5007
  for (let t of e) if (t === " ") {
5077
5008
  let e = 4 - n % 4;
@@ -5079,7 +5010,7 @@ function Ni(e, t = 0) {
5079
5010
  } else r += t, n++;
5080
5011
  return r;
5081
5012
  }
5082
- function Pi(e, t, n, r, i) {
5013
+ function Li(e, t, n, r, i) {
5083
5014
  let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
5084
5015
  r.state.inLink = !0;
5085
5016
  let c = {
@@ -5092,7 +5023,7 @@ function Pi(e, t, n, r, i) {
5092
5023
  };
5093
5024
  return r.state.inLink = !1, c;
5094
5025
  }
5095
- function Fi(e, t, n) {
5026
+ function Ri(e, t, n) {
5096
5027
  let r = e.match(n.other.indentCodeCompensation);
5097
5028
  if (r === null) return t;
5098
5029
  let i = r[1];
@@ -5103,12 +5034,12 @@ function Fi(e, t, n) {
5103
5034
  return r.length >= i.length ? e.slice(i.length) : e;
5104
5035
  }).join("\n");
5105
5036
  }
5106
- var Ii = class {
5037
+ var zi = class {
5107
5038
  options;
5108
5039
  rules;
5109
5040
  lexer;
5110
5041
  constructor(e) {
5111
- this.options = e || _r;
5042
+ this.options = e || yr;
5112
5043
  }
5113
5044
  space(e) {
5114
5045
  let t = this.rules.block.newline.exec(e);
@@ -5125,14 +5056,14 @@ var Ii = class {
5125
5056
  type: "code",
5126
5057
  raw: t[0],
5127
5058
  codeBlockStyle: "indented",
5128
- text: this.options.pedantic ? e : ji(e, "\n")
5059
+ text: this.options.pedantic ? e : Pi(e, "\n")
5129
5060
  };
5130
5061
  }
5131
5062
  }
5132
5063
  fences(e) {
5133
5064
  let t = this.rules.block.fences.exec(e);
5134
5065
  if (t) {
5135
- let e = t[0], n = Fi(e, t[3] || "", this.rules);
5066
+ let e = t[0], n = Ri(e, t[3] || "", this.rules);
5136
5067
  return {
5137
5068
  type: "code",
5138
5069
  raw: e,
@@ -5146,7 +5077,7 @@ var Ii = class {
5146
5077
  if (t) {
5147
5078
  let e = t[2].trim();
5148
5079
  if (this.rules.other.endingHash.test(e)) {
5149
- let t = ji(e, "#");
5080
+ let t = Pi(e, "#");
5150
5081
  (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
5151
5082
  }
5152
5083
  return {
@@ -5162,16 +5093,16 @@ var Ii = class {
5162
5093
  let t = this.rules.block.hr.exec(e);
5163
5094
  if (t) return {
5164
5095
  type: "hr",
5165
- raw: ji(t[0], "\n")
5096
+ raw: Pi(t[0], "\n")
5166
5097
  };
5167
5098
  }
5168
5099
  blockquote(e) {
5169
5100
  let t = this.rules.block.blockquote.exec(e);
5170
5101
  if (t) {
5171
- let e = ji(t[0], "\n").split("\n"), n = "", r = "", i = [];
5102
+ let e = Pi(t[0], "\n").split("\n"), n = "", r = "", i = [];
5172
5103
  for (; e.length > 0;) {
5173
- let t = !1, a = [], o;
5174
- for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
5104
+ let t = !1, a = [], o = 0;
5105
+ for (; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
5175
5106
  else if (!t) a.push(e[o]);
5176
5107
  else break;
5177
5108
  e = e.slice(o);
@@ -5191,7 +5122,6 @@ ${c}` : c;
5191
5122
  if (u?.type === "list") {
5192
5123
  let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
5193
5124
  i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
5194
- continue;
5195
5125
  }
5196
5126
  }
5197
5127
  return {
@@ -5219,7 +5149,7 @@ ${c}` : c;
5219
5149
  let n = !1, r = "", s = "";
5220
5150
  if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
5221
5151
  r = t[0], e = e.substring(r.length);
5222
- let c = Ni(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
5152
+ let c = Ii(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
5223
5153
  if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
5224
5154
  let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
5225
5155
  for (; e;) {
@@ -5308,7 +5238,7 @@ ${c}` : c;
5308
5238
  table(e) {
5309
5239
  let t = this.rules.block.table.exec(e);
5310
5240
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
5311
- let n = Ai(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
5241
+ let n = Ni(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
5312
5242
  type: "table",
5313
5243
  raw: t[0],
5314
5244
  header: [],
@@ -5323,7 +5253,7 @@ ${c}` : c;
5323
5253
  header: !0,
5324
5254
  align: a.align[e]
5325
5255
  });
5326
- for (let e of i) a.rows.push(Ai(e, a.header.length).map((e, t) => ({
5256
+ for (let e of i) a.rows.push(Ni(e, a.header.length).map((e, t) => ({
5327
5257
  text: e,
5328
5258
  tokens: this.lexer.inline(e),
5329
5259
  header: !1,
@@ -5391,10 +5321,10 @@ ${c}` : c;
5391
5321
  let e = t[2].trim();
5392
5322
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
5393
5323
  if (!this.rules.other.endAngleBracket.test(e)) return;
5394
- let t = ji(e.slice(0, -1), "\\");
5324
+ let t = Pi(e.slice(0, -1), "\\");
5395
5325
  if ((e.length - t.length) % 2 == 0) return;
5396
5326
  } else {
5397
- let e = Mi(t[2], "()");
5327
+ let e = Fi(t[2], "()");
5398
5328
  if (e === -2) return;
5399
5329
  if (e > -1) {
5400
5330
  let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
@@ -5406,7 +5336,7 @@ ${c}` : c;
5406
5336
  let e = this.rules.other.pedanticHrefTitle.exec(n);
5407
5337
  e && (n = e[1], r = e[3]);
5408
5338
  } else r = t[3] ? t[3].slice(1, -1) : "";
5409
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Pi(t, {
5339
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Li(t, {
5410
5340
  href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
5411
5341
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5412
5342
  }, t[0], this.lexer, this.rules);
@@ -5424,7 +5354,7 @@ ${c}` : c;
5424
5354
  text: e
5425
5355
  };
5426
5356
  }
5427
- return Pi(n, e, n[0], this.lexer, this.rules);
5357
+ return Li(n, e, n[0], this.lexer, this.rules);
5428
5358
  }
5429
5359
  }
5430
5360
  emStrong(e, t, n = "") {
@@ -5557,29 +5487,29 @@ ${c}` : c;
5557
5487
  };
5558
5488
  }
5559
5489
  }
5560
- }, Li = class e {
5490
+ }, Bi = class e {
5561
5491
  tokens;
5562
5492
  options;
5563
5493
  state;
5564
5494
  inlineQueue;
5565
5495
  tokenizer;
5566
5496
  constructor(e) {
5567
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || _r, this.options.tokenizer = this.options.tokenizer || new Ii(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5497
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || yr, this.options.tokenizer = this.options.tokenizer || new zi(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5568
5498
  inLink: !1,
5569
5499
  inRawBlock: !1,
5570
5500
  top: !0
5571
5501
  };
5572
5502
  let t = {
5573
- other: Q,
5574
- block: wi.normal,
5575
- inline: Ti.normal
5503
+ other: Cr,
5504
+ block: Di.normal,
5505
+ inline: Oi.normal
5576
5506
  };
5577
- this.options.pedantic ? (t.block = wi.pedantic, t.inline = Ti.pedantic) : this.options.gfm && (t.block = wi.gfm, t.inline = this.options.breaks ? Ti.breaks : Ti.gfm), this.tokenizer.rules = t;
5507
+ this.options.pedantic ? (t.block = Di.pedantic, t.inline = Oi.pedantic) : this.options.gfm && (t.block = Di.gfm, t.inline = this.options.breaks ? Oi.breaks : Oi.gfm), this.tokenizer.rules = t;
5578
5508
  }
5579
5509
  static get rules() {
5580
5510
  return {
5581
- block: wi,
5582
- inline: Ti
5511
+ block: Di,
5512
+ inline: Oi
5583
5513
  };
5584
5514
  }
5585
5515
  static lex(t, n) {
@@ -5589,7 +5519,7 @@ ${c}` : c;
5589
5519
  return new e(n).inlineTokens(t);
5590
5520
  }
5591
5521
  lex(e) {
5592
- e = e.replace(Q.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
5522
+ e = e.replace(Cr.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
5593
5523
  for (let e = 0; e < this.inlineQueue.length; e++) {
5594
5524
  let t = this.inlineQueue[e];
5595
5525
  this.inlineTokens(t.src, t.tokens);
@@ -5597,7 +5527,7 @@ ${c}` : c;
5597
5527
  return this.inlineQueue = [], this.tokens;
5598
5528
  }
5599
5529
  blockTokens(e, t = [], n = !1) {
5600
- for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(Q.tabCharGlobal, " ").replace(Q.spaceLine, "")); e;) {
5530
+ for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(Cr.tabCharGlobal, " ").replace(Cr.spaceLine, "")); e;) {
5601
5531
  let r;
5602
5532
  if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
5603
5533
  if (r = this.tokenizer.space(e)) {
@@ -5612,27 +5542,7 @@ ${c}` : c;
5612
5542
  n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
5613
5543
  continue;
5614
5544
  }
5615
- if (r = this.tokenizer.fences(e)) {
5616
- e = e.substring(r.raw.length), t.push(r);
5617
- continue;
5618
- }
5619
- if (r = this.tokenizer.heading(e)) {
5620
- e = e.substring(r.raw.length), t.push(r);
5621
- continue;
5622
- }
5623
- if (r = this.tokenizer.hr(e)) {
5624
- e = e.substring(r.raw.length), t.push(r);
5625
- continue;
5626
- }
5627
- if (r = this.tokenizer.blockquote(e)) {
5628
- e = e.substring(r.raw.length), t.push(r);
5629
- continue;
5630
- }
5631
- if (r = this.tokenizer.list(e)) {
5632
- e = e.substring(r.raw.length), t.push(r);
5633
- continue;
5634
- }
5635
- if (r = this.tokenizer.html(e)) {
5545
+ if ((r = this.tokenizer.fences(e)) || (r = this.tokenizer.heading(e)) || (r = this.tokenizer.hr(e)) || (r = this.tokenizer.blockquote(e)) || (r = this.tokenizer.list(e)) || (r = this.tokenizer.html(e))) {
5636
5546
  e = e.substring(r.raw.length), t.push(r);
5637
5547
  continue;
5638
5548
  }
@@ -5645,11 +5555,7 @@ ${c}` : c;
5645
5555
  }, t.push(r));
5646
5556
  continue;
5647
5557
  }
5648
- if (r = this.tokenizer.table(e)) {
5649
- e = e.substring(r.raw.length), t.push(r);
5650
- continue;
5651
- }
5652
- if (r = this.tokenizer.lheading(e)) {
5558
+ if ((r = this.tokenizer.table(e)) || (r = this.tokenizer.lheading(e))) {
5653
5559
  e = e.substring(r.raw.length), t.push(r);
5654
5560
  continue;
5655
5561
  }
@@ -5663,15 +5569,11 @@ ${c}` : c;
5663
5569
  if (this.state.top && (r = this.tokenizer.paragraph(i))) {
5664
5570
  let a = t.at(-1);
5665
5571
  n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
5666
- continue;
5667
- }
5668
- if (r = this.tokenizer.text(e)) {
5572
+ } else if (r = this.tokenizer.text(e)) {
5669
5573
  e = e.substring(r.raw.length);
5670
5574
  let n = t.at(-1);
5671
5575
  n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
5672
- continue;
5673
- }
5674
- if (e) {
5576
+ } else if (e) {
5675
5577
  let t = "Infinite loop on byte: " + e.charCodeAt(0);
5676
5578
  if (this.options.silent) {
5677
5579
  console.error(t);
@@ -5704,15 +5606,7 @@ ${c}` : c;
5704
5606
  a || (o = ""), a = !1;
5705
5607
  let r;
5706
5608
  if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
5707
- if (r = this.tokenizer.escape(e)) {
5708
- e = e.substring(r.raw.length), t.push(r);
5709
- continue;
5710
- }
5711
- if (r = this.tokenizer.tag(e)) {
5712
- e = e.substring(r.raw.length), t.push(r);
5713
- continue;
5714
- }
5715
- if (r = this.tokenizer.link(e)) {
5609
+ if ((r = this.tokenizer.escape(e)) || (r = this.tokenizer.tag(e)) || (r = this.tokenizer.link(e))) {
5716
5610
  e = e.substring(r.raw.length), t.push(r);
5717
5611
  continue;
5718
5612
  }
@@ -5722,27 +5616,7 @@ ${c}` : c;
5722
5616
  r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
5723
5617
  continue;
5724
5618
  }
5725
- if (r = this.tokenizer.emStrong(e, n, o)) {
5726
- e = e.substring(r.raw.length), t.push(r);
5727
- continue;
5728
- }
5729
- if (r = this.tokenizer.codespan(e)) {
5730
- e = e.substring(r.raw.length), t.push(r);
5731
- continue;
5732
- }
5733
- if (r = this.tokenizer.br(e)) {
5734
- e = e.substring(r.raw.length), t.push(r);
5735
- continue;
5736
- }
5737
- if (r = this.tokenizer.del(e, n, o)) {
5738
- e = e.substring(r.raw.length), t.push(r);
5739
- continue;
5740
- }
5741
- if (r = this.tokenizer.autolink(e)) {
5742
- e = e.substring(r.raw.length), t.push(r);
5743
- continue;
5744
- }
5745
- if (!this.state.inLink && (r = this.tokenizer.url(e))) {
5619
+ if ((r = this.tokenizer.emStrong(e, n, o)) || (r = this.tokenizer.codespan(e)) || (r = this.tokenizer.br(e)) || (r = this.tokenizer.del(e, n, o)) || (r = this.tokenizer.autolink(e)) || !this.state.inLink && (r = this.tokenizer.url(e))) {
5746
5620
  e = e.substring(r.raw.length), t.push(r);
5747
5621
  continue;
5748
5622
  }
@@ -5757,9 +5631,7 @@ ${c}` : c;
5757
5631
  e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
5758
5632
  let n = t.at(-1);
5759
5633
  n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
5760
- continue;
5761
- }
5762
- if (e) {
5634
+ } else if (e) {
5763
5635
  let t = "Infinite loop on byte: " + e.charCodeAt(0);
5764
5636
  if (this.options.silent) {
5765
5637
  console.error(t);
@@ -5770,18 +5642,18 @@ ${c}` : c;
5770
5642
  }
5771
5643
  return t;
5772
5644
  }
5773
- }, Ri = class {
5645
+ }, Vi = class {
5774
5646
  options;
5775
5647
  parser;
5776
5648
  constructor(e) {
5777
- this.options = e || _r;
5649
+ this.options = e || yr;
5778
5650
  }
5779
5651
  space(e) {
5780
5652
  return "";
5781
5653
  }
5782
5654
  code({ text: e, lang: t, escaped: n }) {
5783
- let r = (t || "").match(Q.notSpaceStart)?.[0], i = e.replace(Q.endingNewline, "") + "\n";
5784
- return r ? "<pre><code class=\"language-" + Oi(r) + "\">" + (n ? i : Oi(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : Oi(i, !0)) + "</code></pre>\n";
5655
+ let r = (t || "").match(Cr.notSpaceStart)?.[0], i = e.replace(Cr.endingNewline, "") + "\n";
5656
+ return r ? "<pre><code class=\"language-" + ji(r) + "\">" + (n ? i : ji(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : ji(i, !0)) + "</code></pre>\n";
5785
5657
  }
5786
5658
  blockquote({ tokens: e }) {
5787
5659
  return `<blockquote>
@@ -5851,7 +5723,7 @@ ${e}</tr>
5851
5723
  return `<em>${this.parser.parseInline(e)}</em>`;
5852
5724
  }
5853
5725
  codespan({ text: e }) {
5854
- return `<code>${Oi(e, !0)}</code>`;
5726
+ return `<code>${ji(e, !0)}</code>`;
5855
5727
  }
5856
5728
  br(e) {
5857
5729
  return "<br>";
@@ -5860,24 +5732,24 @@ ${e}</tr>
5860
5732
  return `<del>${this.parser.parseInline(e)}</del>`;
5861
5733
  }
5862
5734
  link({ href: e, title: t, tokens: n }) {
5863
- let r = this.parser.parseInline(n), i = ki(e);
5735
+ let r = this.parser.parseInline(n), i = Mi(e);
5864
5736
  if (i === null) return r;
5865
5737
  e = i;
5866
5738
  let a = "<a href=\"" + e + "\"";
5867
- return t && (a += " title=\"" + Oi(t) + "\""), a += ">" + r + "</a>", a;
5739
+ return t && (a += " title=\"" + ji(t) + "\""), a += ">" + r + "</a>", a;
5868
5740
  }
5869
5741
  image({ href: e, title: t, text: n, tokens: r }) {
5870
5742
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
5871
- let i = ki(e);
5872
- if (i === null) return Oi(n);
5743
+ let i = Mi(e);
5744
+ if (i === null) return ji(n);
5873
5745
  e = i;
5874
- let a = `<img src="${e}" alt="${Oi(n)}"`;
5875
- return t && (a += ` title="${Oi(t)}"`), a += ">", a;
5746
+ let a = `<img src="${e}" alt="${ji(n)}"`;
5747
+ return t && (a += ` title="${ji(t)}"`), a += ">", a;
5876
5748
  }
5877
5749
  text(e) {
5878
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : Oi(e.text);
5750
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : ji(e.text);
5879
5751
  }
5880
- }, zi = class {
5752
+ }, Hi = class {
5881
5753
  strong({ text: e }) {
5882
5754
  return e;
5883
5755
  }
@@ -5908,12 +5780,12 @@ ${e}</tr>
5908
5780
  checkbox({ raw: e }) {
5909
5781
  return e;
5910
5782
  }
5911
- }, Bi = class e {
5783
+ }, Ui = class e {
5912
5784
  options;
5913
5785
  renderer;
5914
5786
  textRenderer;
5915
5787
  constructor(e) {
5916
- this.options = e || _r, this.options.renderer = this.options.renderer || new Ri(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new zi();
5788
+ this.options = e || yr, this.options.renderer = this.options.renderer || new Vi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Hi();
5917
5789
  }
5918
5790
  static parse(t, n) {
5919
5791
  return new e(n).parse(t);
@@ -6059,11 +5931,11 @@ ${e}</tr>
6059
5931
  }
6060
5932
  return n;
6061
5933
  }
6062
- }, Vi = class {
5934
+ }, Wi = class {
6063
5935
  options;
6064
5936
  block;
6065
5937
  constructor(e) {
6066
- this.options = e || _r;
5938
+ this.options = e || yr;
6067
5939
  }
6068
5940
  static passThroughHooks = /* @__PURE__ */ new Set([
6069
5941
  "preprocess",
@@ -6089,22 +5961,22 @@ ${e}</tr>
6089
5961
  return e;
6090
5962
  }
6091
5963
  provideLexer() {
6092
- return this.block ? Li.lex : Li.lexInline;
5964
+ return this.block ? Bi.lex : Bi.lexInline;
6093
5965
  }
6094
5966
  provideParser() {
6095
- return this.block ? Bi.parse : Bi.parseInline;
5967
+ return this.block ? Ui.parse : Ui.parseInline;
6096
5968
  }
6097
- }, Hi = new class {
6098
- defaults = gr();
5969
+ }, Gi = new class {
5970
+ defaults = vr();
6099
5971
  options = this.setOptions;
6100
5972
  parse = this.parseMarkdown(!0);
6101
5973
  parseInline = this.parseMarkdown(!1);
6102
- Parser = Bi;
6103
- Renderer = Ri;
6104
- TextRenderer = zi;
6105
- Lexer = Li;
6106
- Tokenizer = Ii;
6107
- Hooks = Vi;
5974
+ Parser = Ui;
5975
+ Renderer = Vi;
5976
+ TextRenderer = Hi;
5977
+ Lexer = Bi;
5978
+ Tokenizer = zi;
5979
+ Hooks = Wi;
6108
5980
  constructor(...e) {
6109
5981
  this.use(...e);
6110
5982
  }
@@ -6155,7 +6027,7 @@ ${e}</tr>
6155
6027
  }
6156
6028
  "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
6157
6029
  }), n.extensions = t), e.renderer) {
6158
- let t = this.defaults.renderer || new Ri(this.defaults);
6030
+ let t = this.defaults.renderer || new Vi(this.defaults);
6159
6031
  for (let n in e.renderer) {
6160
6032
  if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
6161
6033
  if (["options", "parser"].includes(n)) continue;
@@ -6168,7 +6040,7 @@ ${e}</tr>
6168
6040
  n.renderer = t;
6169
6041
  }
6170
6042
  if (e.tokenizer) {
6171
- let t = this.defaults.tokenizer || new Ii(this.defaults);
6043
+ let t = this.defaults.tokenizer || new zi(this.defaults);
6172
6044
  for (let n in e.tokenizer) {
6173
6045
  if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
6174
6046
  if ([
@@ -6185,13 +6057,13 @@ ${e}</tr>
6185
6057
  n.tokenizer = t;
6186
6058
  }
6187
6059
  if (e.hooks) {
6188
- let t = this.defaults.hooks || new Vi();
6060
+ let t = this.defaults.hooks || new Wi();
6189
6061
  for (let n in e.hooks) {
6190
6062
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
6191
6063
  if (["options", "block"].includes(n)) continue;
6192
6064
  let r = n, i = e.hooks[r], a = t[r];
6193
- t[r] = Vi.passThroughHooks.has(n) ? (e) => {
6194
- if (this.defaults.async && Vi.passThroughHooksRespectAsync.has(n)) return (async () => {
6065
+ t[r] = Wi.passThroughHooks.has(n) ? (e) => {
6066
+ if (this.defaults.async && Wi.passThroughHooksRespectAsync.has(n)) return (async () => {
6195
6067
  let n = await i.call(t, e);
6196
6068
  return a.call(t, n);
6197
6069
  })();
@@ -6228,10 +6100,10 @@ ${e}</tr>
6228
6100
  }, this;
6229
6101
  }
6230
6102
  lexer(e, t) {
6231
- return Li.lex(e, t ?? this.defaults);
6103
+ return Bi.lex(e, t ?? this.defaults);
6232
6104
  }
6233
6105
  parser(e, t) {
6234
- return Bi.parse(e, t ?? this.defaults);
6106
+ return Ui.parse(e, t ?? this.defaults);
6235
6107
  }
6236
6108
  parseMarkdown(e) {
6237
6109
  return (t, n) => {
@@ -6243,16 +6115,16 @@ ${e}</tr>
6243
6115
  if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
6244
6116
  if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
6245
6117
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
6246
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? Li.lex : Li.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
6118
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? Bi.lex : Bi.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
6247
6119
  i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
6248
- let o = await (i.hooks ? await i.hooks.provideParser() : e ? Bi.parse : Bi.parseInline)(a, i);
6120
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? Ui.parse : Ui.parseInline)(a, i);
6249
6121
  return i.hooks ? await i.hooks.postprocess(o) : o;
6250
6122
  })().catch(a);
6251
6123
  try {
6252
6124
  i.hooks && (t = i.hooks.preprocess(t));
6253
- let n = (i.hooks ? i.hooks.provideLexer() : e ? Li.lex : Li.lexInline)(t, i);
6125
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? Bi.lex : Bi.lexInline)(t, i);
6254
6126
  i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
6255
- let r = (i.hooks ? i.hooks.provideParser() : e ? Bi.parse : Bi.parseInline)(n, i);
6127
+ let r = (i.hooks ? i.hooks.provideParser() : e ? Ui.parse : Ui.parseInline)(n, i);
6256
6128
  return i.hooks && (r = i.hooks.postprocess(r)), r;
6257
6129
  } catch (e) {
6258
6130
  return a(e);
@@ -6262,7 +6134,7 @@ ${e}</tr>
6262
6134
  onError(e, t) {
6263
6135
  return (n) => {
6264
6136
  if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
6265
- let e = "<p>An error occurred:</p><pre>" + Oi(n.message + "", !0) + "</pre>";
6137
+ let e = "<p>An error occurred:</p><pre>" + ji(n.message + "", !0) + "</pre>";
6266
6138
  return t ? Promise.resolve(e) : e;
6267
6139
  }
6268
6140
  if (t) return Promise.reject(n);
@@ -6271,16 +6143,16 @@ ${e}</tr>
6271
6143
  }
6272
6144
  }();
6273
6145
  function $(e, t) {
6274
- return Hi.parse(e, t);
6146
+ return Gi.parse(e, t);
6275
6147
  }
6276
6148
  $.options = $.setOptions = function(e) {
6277
- return Hi.setOptions(e), $.defaults = Hi.defaults, vr($.defaults), $;
6278
- }, $.getDefaults = gr, $.defaults = _r, $.use = function(...e) {
6279
- return Hi.use(...e), $.defaults = Hi.defaults, vr($.defaults), $;
6149
+ return Gi.setOptions(e), $.defaults = Gi.defaults, br($.defaults), $;
6150
+ }, $.getDefaults = vr, $.defaults = yr, $.use = function(...e) {
6151
+ return Gi.use(...e), $.defaults = Gi.defaults, br($.defaults), $;
6280
6152
  }, $.walkTokens = function(e, t) {
6281
- return Hi.walkTokens(e, t);
6282
- }, $.parseInline = Hi.parseInline, $.Parser = Bi, $.parser = Bi.parse, $.Renderer = Ri, $.TextRenderer = zi, $.Lexer = Li, $.lexer = Li.lex, $.Tokenizer = Ii, $.Hooks = Vi, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, Bi.parse, Li.lex;
6283
- var Ui = () => {
6153
+ return Gi.walkTokens(e, t);
6154
+ }, $.parseInline = Gi.parseInline, $.Parser = Ui, $.parser = Ui.parse, $.Renderer = Vi, $.TextRenderer = Hi, $.Lexer = Bi, $.lexer = Bi.lex, $.Tokenizer = zi, $.Hooks = Wi, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, Ui.parse, Bi.lex;
6155
+ var Ki = () => {
6284
6156
  let e, t = null, n;
6285
6157
  function r() {
6286
6158
  if (t && !t.closed) t.focus();
@@ -6367,61 +6239,61 @@ var Ui = () => {
6367
6239
  },
6368
6240
  open: r
6369
6241
  };
6370
- }, Wi = 16 / 9, Gi = 67;
6371
- function Ki({ deck: e, enabled: t, onToggle: n }) {
6372
- e.removeKeyBinding(Gi), t && e.addKeyBinding({
6373
- keyCode: Gi,
6242
+ }, qi = 16 / 9, Ji = 1280, Yi = Ji / qi, Xi = 67;
6243
+ function Zi({ deck: e, enabled: t, onToggle: n }) {
6244
+ e.removeKeyBinding(Xi), t && e.addKeyBinding({
6245
+ keyCode: Xi,
6374
6246
  key: "C",
6375
6247
  description: "Toggle code editor"
6376
6248
  }, n);
6377
6249
  }
6378
- function qi(e) {
6250
+ function Qi(e) {
6379
6251
  let t = e.getSlidesElement();
6380
6252
  if (t) for (let e of t.querySelectorAll("section.stack[data-previous-indexv]")) e.removeAttribute("data-previous-indexv");
6381
6253
  }
6382
- var Ji = /* @__PURE__ */ new Set([
6254
+ var $i = /* @__PURE__ */ new Set([
6383
6255
  " ",
6384
6256
  "Spacebar",
6385
6257
  "ArrowRight",
6386
6258
  "ArrowDown",
6387
6259
  "PageDown"
6388
- ]), Yi = /* @__PURE__ */ new Set([
6260
+ ]), ea = /* @__PURE__ */ new Set([
6389
6261
  "ArrowLeft",
6390
6262
  "ArrowUp",
6391
6263
  "PageUp"
6392
6264
  ]);
6393
- function Xi(e) {
6394
- return Ji.has(e.key) ? 1 : Yi.has(e.key) ? -1 : 0;
6265
+ function ta(e) {
6266
+ return $i.has(e.key) ? 1 : ea.has(e.key) ? -1 : 0;
6395
6267
  }
6396
- function Zi(e) {
6397
- let t = (0, N.c)(4), n;
6268
+ function na(e) {
6269
+ let t = (0, ie.c)(4), n;
6398
6270
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
6399
- width: 960,
6400
- height: 540
6271
+ width: Ji,
6272
+ height: Yi
6401
6273
  }, t[0] = n) : n = t[0];
6402
- let [r, i] = (0, M.useState)(n), a, o;
6274
+ let [r, i] = (0, N.useState)(n), a, o;
6403
6275
  return t[1] === e ? (a = t[2], o = t[3]) : (a = () => {
6404
6276
  let t = e.current;
6405
6277
  if (!t) return;
6406
6278
  let n = new ResizeObserver((e) => {
6407
6279
  let { width: t, height: n } = e[0].contentRect;
6408
6280
  if (t <= 0 || n <= 0) return;
6409
- let r = Math.min(t, n * Wi), a = r / Wi;
6281
+ let r = Math.min(t, n * qi), a = r / qi;
6410
6282
  i({
6411
6283
  width: Math.round(r),
6412
6284
  height: Math.round(a)
6413
6285
  });
6414
6286
  });
6415
6287
  return n.observe(t), () => n.disconnect();
6416
- }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, M.useEffect)(a, o), r;
6288
+ }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, N.useEffect)(a, o), r;
6417
6289
  }
6418
- var Qi = (e) => {
6419
- let t = (0, N.c)(6), { text: n } = e, r, i;
6290
+ var ra = (e) => {
6291
+ let t = (0, ie.c)(6), { text: n } = e, r, i;
6420
6292
  if (t[0] !== n) {
6421
6293
  let e = n.split("\n");
6422
6294
  r = "notes", i = e.map((t, n) => {
6423
6295
  let r = n === e.length - 1;
6424
- return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(M.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
6296
+ return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(N.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
6425
6297
  }), t[0] = n, t[1] = r, t[2] = i;
6426
6298
  } else r = t[1], i = t[2];
6427
6299
  let a;
@@ -6430,23 +6302,23 @@ var Qi = (e) => {
6430
6302
  children: i
6431
6303
  }), t[3] = r, t[4] = i, t[5] = a) : a = t[5], a;
6432
6304
  };
6433
- function $i(e) {
6305
+ function ia(e) {
6434
6306
  let { cells: t, cellId: n, showCodeOverrides: r, codeAvailable: i } = e;
6435
6307
  return n == null || !i ? !1 : (t.get(n)?.showCode ?? !1) || r.has(n);
6436
6308
  }
6437
- function ea(e) {
6309
+ function aa(e) {
6438
6310
  let { cell: t, noOutputIds: n, heldEditCellId: r, slideConfigs: i } = e;
6439
6311
  return n.has(t.id) || t.id === r ? "skip" : i.get(t.id)?.type ?? "slide";
6440
6312
  }
6441
- function ta(e) {
6442
- let t = (0, N.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6313
+ function oa(e) {
6314
+ let t = (0, ie.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6443
6315
  t[0] !== n || t[1] !== i ? (o = n != null && i.has(n.id), t[0] = n, t[1] = i, t[2] = o) : o = t[2];
6444
6316
  let s = o, c = n != null && r.get(n.id)?.type === "skip" || s, l;
6445
6317
  t[3] === a ? l = t[4] : (l = {
6446
6318
  activeCellId: a,
6447
6319
  cellId: null
6448
6320
  }, t[3] = a, t[4] = l);
6449
- let [u, d] = (0, M.useState)(l), f = u.cellId;
6321
+ let [u, d] = (0, N.useState)(l), f = u.cellId;
6450
6322
  u.activeCellId === a ? s && f !== a && (f = a, d({
6451
6323
  activeCellId: a,
6452
6324
  cellId: f
@@ -6459,14 +6331,14 @@ function ta(e) {
6459
6331
  cellId: m,
6460
6332
  show: !0
6461
6333
  }, t[5] = m, t[6] = h);
6462
- let [g, _] = (0, M.useState)(h), v = g.show;
6334
+ let [g, _] = (0, N.useState)(h), v = g.show;
6463
6335
  g.cellId !== m && (v = !0, _({
6464
6336
  cellId: m,
6465
6337
  show: !0
6466
6338
  }));
6467
6339
  let y;
6468
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(na), t[7] = y) : y = t[7];
6469
- let b = D(y), x = c || p ? n ?? null : null, S;
6340
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(sa), t[7] = y) : y = t[7];
6341
+ let b = j(y), x = c || p ? n ?? null : null, S;
6470
6342
  return t[8] !== m || t[9] !== v || t[10] !== p || t[11] !== s || t[12] !== x || t[13] !== b ? (S = {
6471
6343
  parkedPreviewCell: x,
6472
6344
  isHeldEdit: p,
@@ -6476,53 +6348,53 @@ function ta(e) {
6476
6348
  toggleHeldShowsCode: b
6477
6349
  }, t[8] = m, t[9] = v, t[10] = p, t[11] = s, t[12] = x, t[13] = b, t[14] = S) : S = t[14], S;
6478
6350
  }
6479
- function na(e) {
6351
+ function sa(e) {
6480
6352
  return {
6481
6353
  ...e,
6482
6354
  show: !e.show
6483
6355
  };
6484
6356
  }
6485
- function ra(e) {
6357
+ function ca(e) {
6486
6358
  switch (e ?? "center") {
6487
6359
  case "top": return { margin: "0 20px auto" };
6488
6360
  case "bottom": return { margin: "auto 20px 0" };
6489
6361
  default: return { margin: "auto 20px" };
6490
6362
  }
6491
6363
  }
6492
- var ia = (e) => {
6493
- let t = (0, N.c)(13), { cell: n } = e, r;
6494
- 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];
6495
- let i = n.id, a = n.status, o = n.output, s;
6496
- t[3] === n ? s = t[4] : (s = u(n, !1), t[3] = n, t[4] = s);
6497
- let c;
6498
- t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, G.jsx)(S, {
6499
- cellId: i,
6500
- status: a,
6501
- output: o,
6502
- stale: s
6503
- }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = s, t[9] = c) : c = t[9];
6504
- let l;
6505
- return t[10] !== r || t[11] !== c ? (l = /* @__PURE__ */ (0, G.jsx)("div", {
6364
+ var la = (e) => {
6365
+ let t = (0, ie.c)(14), { cell: n } = e, r = p(n.id), i = b(n.id), a;
6366
+ t[0] !== n.id || t[1] !== n.name ? (a = S(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = a) : a = t[2];
6367
+ let o = n.id, s = r.status, c = n.output, l;
6368
+ t[3] !== r || t[4] !== i ? (l = E(r, i, !1), t[3] = r, t[4] = i, t[5] = l) : l = t[5];
6369
+ let u;
6370
+ t[6] !== n.id || t[7] !== n.output || t[8] !== r.status || t[9] !== l ? (u = /* @__PURE__ */ (0, G.jsx)(C, {
6371
+ cellId: o,
6372
+ status: s,
6373
+ output: c,
6374
+ stale: l
6375
+ }), t[6] = n.id, t[7] = n.output, t[8] = r.status, t[9] = l, t[10] = u) : u = t[10];
6376
+ let d;
6377
+ return t[11] !== a || t[12] !== u ? (d = /* @__PURE__ */ (0, G.jsx)("div", {
6506
6378
  className: "flex flex-col",
6507
- ...r,
6508
- children: c
6509
- }), t[10] = r, t[11] = c, t[12] = l) : l = t[12], l;
6510
- }, aa = (e) => {
6511
- let t = (0, N.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6379
+ ...a,
6380
+ children: u
6381
+ }), t[11] = a, t[12] = u, t[13] = d) : d = t[13], d;
6382
+ }, ua = (e) => {
6383
+ let t = (0, ie.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6512
6384
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
6513
- let { slideLevel: e, cumulativeByBlock: p } = hr(n, a);
6385
+ let { slideLevel: e, cumulativeByBlock: p } = gr(n, a);
6514
6386
  l = e;
6515
6387
  let m = n.blocks.some((e) => e.cells.some((e) => r(e.id)));
6516
- c = K, s = tr, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6517
- let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(cr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(lr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ia, { cell: e }, e.id));
6388
+ c = yt, s = nr, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6389
+ let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(lr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ur, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(la, { cell: e }, e.id));
6518
6390
  if (e.isFragment) {
6519
- let e = p.get(t);
6520
- return /* @__PURE__ */ (0, G.jsxs)(Jn, {
6391
+ let r = p.get(t);
6392
+ return /* @__PURE__ */ (0, G.jsxs)(Yn, {
6521
6393
  as: "div",
6522
- children: [n, e && /* @__PURE__ */ (0, G.jsx)(Qi, { text: e })]
6523
- }, t);
6394
+ children: [n, r && /* @__PURE__ */ (0, G.jsx)(ra, { text: r })]
6395
+ }, e.cells[0].id);
6524
6396
  }
6525
- return /* @__PURE__ */ (0, G.jsx)(M.Fragment, { children: n }, t);
6397
+ return /* @__PURE__ */ (0, G.jsx)(N.Fragment, { children: n }, e.cells[0].id);
6526
6398
  }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = l, t[8] = u, t[9] = d, t[10] = f;
6527
6399
  } else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
6528
6400
  let p;
@@ -6534,255 +6406,270 @@ var ia = (e) => {
6534
6406
  let m;
6535
6407
  t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, G.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6536
6408
  let h;
6537
- t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(Qi, { text: l }), t[18] = l, t[19] = h);
6409
+ t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(ra, { text: l }), t[18] = l, t[19] = h);
6538
6410
  let g;
6539
6411
  return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, G.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6540
6412
  };
6541
- function oa(e) {
6413
+ function da(e) {
6542
6414
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
6543
6415
  return t && n || r;
6544
6416
  }
6545
- var sa = (e) => {
6546
- let t = (0, N.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6547
- if (oa({
6417
+ var fa = (e) => {
6418
+ let t = (0, ie.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6419
+ if (da({
6548
6420
  isNoOutputPreview: r,
6549
6421
  isEditable: i,
6550
6422
  showCode: a
6551
6423
  })) {
6552
6424
  let e;
6553
- return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(cr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(lr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6425
+ return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(lr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(ur, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6554
6426
  }
6555
6427
  let o;
6556
- return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(ia, { cell: n }), t[3] = n, t[4] = o), o;
6557
- }, ca = (e) => {
6558
- let n = (0, N.c)(160), { slideCells: o, layout: s, setLayout: c, noOutputIds: u, activeIndex: x, onSlideChange: S, mode: C, configWidth: ee, isEditable: T } = e, j = T !== void 0 && T, re = (0, M.useRef)(null), P = (0, M.useRef)(null), { width: ie, height: ae } = Zi(re), oe = E() != null, F = O(w), I = O(te).kind, se = O(A), ce = I !== "wasm" || se, L;
6559
- n[0] !== F || n[1] !== I ? (L = F || !h(I) ? [] : [Ui], n[0] = F, n[1] = I, n[2] = L) : L = n[2];
6560
- let le = L, [ue, de] = (0, M.useState)(la), fe = ne(o), pe;
6561
- n[3] === fe ? pe = n[4] : (pe = !k() && fe, n[3] = fe, n[4] = pe);
6562
- let me = pe, he;
6563
- n[5] === F ? he = n[6] : (he = b(F, window.location.search), n[5] = F, n[6] = he);
6564
- let R = !he && me, ge = x == null ? void 0 : o[x], _e;
6565
- n[7] !== ge || n[8] !== o ? (_e = ge ?? o.at(0), n[7] = ge, n[8] = o, n[9] = _e) : _e = n[9];
6428
+ return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(la, { cell: n }), t[3] = n, t[4] = o), o;
6429
+ }, pa = (e) => {
6430
+ let t = (0, ie.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: p, activeIndex: b, onSlideChange: S, mode: C, configWidth: w, isEditable: T } = e, E = T !== void 0 && T, D = (0, N.useRef)(null), k = (0, N.useRef)(null), { width: M, height: ae } = na(D), P = ee() != null, [oe, se] = (0, N.useState)(1), ce;
6431
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
6432
+ let e = requestAnimationFrame(() => {
6433
+ let e = k.current;
6434
+ e && (e.layout(), se(e.getScale()));
6435
+ });
6436
+ return () => cancelAnimationFrame(e);
6437
+ }, t[0] = ce) : ce = t[0];
6438
+ let F;
6439
+ t[1] !== ae || t[2] !== P || t[3] !== M ? (F = [
6440
+ M,
6441
+ ae,
6442
+ P
6443
+ ], t[1] = ae, t[2] = P, t[3] = M, t[4] = F) : F = t[4], (0, N.useEffect)(ce, F);
6444
+ let I = O(te), le = O(ne).kind, ue = O(_r), de = le !== "wasm" || ue, fe;
6445
+ t[5] !== I || t[6] !== le ? (fe = I || !_(le) ? [] : [Ki], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6446
+ let pe = fe, [me, he] = (0, N.useState)(ma), ge = re(), _e;
6447
+ t[8] === ge ? _e = t[9] : (_e = !A() && ge, t[8] = ge, t[9] = _e);
6566
6448
  let ve = _e, ye;
6567
- n[10] !== ge || n[11] !== s.cells || n[12] !== u ? (ye = {
6568
- activeCell: ge,
6449
+ t[10] === I ? ye = t[11] : (ye = x(I, window.location.search), t[10] = I, t[11] = ye);
6450
+ let be = !ye && ve, L = b == null ? void 0 : o[b], xe;
6451
+ t[12] !== L || t[13] !== o ? (xe = L ?? o.at(0), t[12] = L, t[13] = o, t[14] = xe) : xe = t[14];
6452
+ let Se = xe, Ce;
6453
+ t[15] !== L || t[16] !== s.cells || t[17] !== p ? (Ce = {
6454
+ activeCell: L,
6569
6455
  slideConfigs: s.cells,
6570
- noOutputIds: u
6571
- }, n[10] = ge, n[11] = s.cells, n[12] = u, n[13] = ye) : ye = n[13];
6572
- let { parkedPreviewCell: z, isHeldEdit: be, isNoOutputPreview: B, heldEditCellId: xe, heldShowsCode: Se, toggleHeldShowsCode: Ce } = ta(ye), we;
6573
- n[14] !== me || n[15] !== s.cells || n[16] !== ue ? (we = (e) => $i({
6456
+ noOutputIds: p
6457
+ }, t[15] = L, t[16] = s.cells, t[17] = p, t[18] = Ce) : Ce = t[18];
6458
+ let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview: B, heldEditCellId: we, heldShowsCode: Te, toggleHeldShowsCode: Ee } = oa(Ce), De;
6459
+ t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (De = (e) => ia({
6574
6460
  cells: s.cells,
6575
6461
  cellId: e,
6576
- showCodeOverrides: ue,
6577
- codeAvailable: me
6578
- }), n[14] = me, n[15] = s.cells, n[16] = ue, n[17] = we) : we = n[17];
6579
- let Te = we, V = ge?.id ?? ve?.id, Ee;
6580
- n[18] !== V || n[19] !== Se || n[20] !== be || n[21] !== Te ? (Ee = be ? Se : Te(V), n[18] = V, n[19] = Se, n[20] = be, n[21] = Te, n[22] = Ee) : Ee = n[22];
6581
- let De = Ee, Oe;
6582
- n[23] !== V || n[24] !== me || n[25] !== s.cells ? (Oe = me && V != null && (s.cells.get(V)?.showCode ?? !1), n[23] = V, n[24] = me, n[25] = s.cells, n[26] = Oe) : Oe = n[26];
6583
- let ke = Oe, Ae;
6584
- n[27] !== xe || n[28] !== s.cells || n[29] !== u ? (Ae = (e) => ea({
6462
+ showCodeOverrides: me,
6463
+ codeAvailable: ve
6464
+ }), t[19] = ve, t[20] = s.cells, t[21] = me, t[22] = De) : De = t[22];
6465
+ let Oe = De, V = L?.id ?? Se?.id, ke;
6466
+ t[23] !== V || t[24] !== Te || t[25] !== z || t[26] !== Oe ? (ke = z ? Te : Oe(V), t[23] = V, t[24] = Te, t[25] = z, t[26] = Oe, t[27] = ke) : ke = t[27];
6467
+ let Ae = ke, je;
6468
+ t[28] !== V || t[29] !== ve || t[30] !== s.cells ? (je = ve && V != null && (s.cells.get(V)?.showCode ?? !1), t[28] = V, t[29] = ve, t[30] = s.cells, t[31] = je) : je = t[31];
6469
+ let Me = je, Ne;
6470
+ t[32] !== we || t[33] !== s.cells || t[34] !== p ? (Ne = (e) => aa({
6585
6471
  cell: e,
6586
- noOutputIds: u,
6587
- heldEditCellId: xe,
6472
+ noOutputIds: p,
6473
+ heldEditCellId: we,
6588
6474
  slideConfigs: s.cells
6589
- }), n[27] = xe, n[28] = s.cells, n[29] = u, n[30] = Ae) : Ae = n[30];
6590
- let je;
6591
- n[31] !== o || n[32] !== Ae ? (je = nr({
6475
+ }), t[32] = we, t[33] = s.cells, t[34] = p, t[35] = Ne) : Ne = t[35];
6476
+ let Pe;
6477
+ t[36] !== o || t[37] !== Ne ? (Pe = rr({
6592
6478
  cells: o,
6593
- getType: Ae
6594
- }), n[31] = o, n[32] = Ae, n[33] = je) : je = n[33];
6595
- let Me = je, Ne;
6596
- n[34] !== Me || n[35] !== o ? (Ne = rr({
6597
- composition: Me,
6479
+ getType: Ne
6480
+ }), t[36] = o, t[37] = Ne, t[38] = Pe) : Pe = t[38];
6481
+ let Fe = Pe, Ie;
6482
+ t[39] !== Fe || t[40] !== o ? (Ie = ir({
6483
+ composition: Fe,
6598
6484
  cells: o,
6599
- getId: ua
6600
- }), n[34] = Me, n[35] = o, n[36] = Ne) : Ne = n[36];
6601
- let { cellToTarget: Pe, targetToCellIndex: Fe } = Ne, Ie = s.deck?.transition ?? "slide", Le = s.deck?.verticalAlign, Re;
6602
- n[37] === Le ? Re = n[38] : (Re = ra(Le), n[37] = Le, n[38] = Re);
6603
- let ze = Re, Be;
6604
- n[39] === Symbol.for("react.memo_cache_sentinel") ? (Be = v(window.location.href), n[39] = Be) : Be = n[39];
6605
- let Ve = Be, H;
6606
- n[40] !== Ie || n[41] !== ae || n[42] !== ie ? (H = {
6485
+ getId: ha
6486
+ }), t[39] = Fe, t[40] = o, t[41] = Ie) : Ie = t[41];
6487
+ let { cellToTarget: Le, targetToCellIndex: H } = Ie, Re = s.deck?.transition ?? "slide", ze = s.deck?.verticalAlign, Be;
6488
+ t[42] === ze ? Be = t[43] : (Be = ca(ze), t[42] = ze, t[43] = Be);
6489
+ let Ve = Be, He;
6490
+ t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = y(window.location.href), t[44] = He) : He = t[44];
6491
+ let Ue = He, U;
6492
+ t[45] === Re ? U = t[46] : (U = {
6607
6493
  embedded: !0,
6608
- width: ie,
6609
- height: ae,
6494
+ width: Ji,
6495
+ height: Yi,
6610
6496
  center: !1,
6611
- minScale: .2,
6497
+ minScale: 0,
6612
6498
  maxScale: 2,
6613
- transition: Ie,
6614
- keyboardCondition: da,
6615
- url: Ve,
6499
+ transition: Re,
6500
+ keyboardCondition: ga,
6501
+ url: Ue,
6616
6502
  scrollActivationWidth: 0
6617
- }, n[40] = Ie, n[41] = ae, n[42] = ie, n[43] = H) : H = n[43];
6618
- let U = H, He;
6619
- n[44] !== x || n[45] !== ce || n[46] !== Pe || n[47] !== o ? (He = (e) => {
6620
- if (x == null && window.location.hash.startsWith("#/")) {
6621
- if (!ce) return;
6622
- window.dispatchEvent(new HashChangeEvent("hashchange")), qi(e);
6503
+ }, t[45] = Re, t[46] = U);
6504
+ let We = U, Ge;
6505
+ t[47] !== b || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ge = (e) => {
6506
+ if (b == null && window.location.hash.startsWith("#/")) {
6507
+ if (!de) return;
6508
+ window.dispatchEvent(new HashChangeEvent("hashchange")), Qi(e);
6623
6509
  return;
6624
6510
  }
6625
- let t = or({
6626
- activeIndex: x,
6511
+ let t = sr({
6512
+ activeIndex: b,
6627
6513
  cells: o,
6628
- cellToTarget: Pe,
6629
- getId: fa
6630
- }), n = t && sr(e.getIndices(), t);
6631
- n && (e.slide(n.h, n.v, n.f), qi(e));
6632
- }, n[44] = x, n[45] = ce, n[46] = Pe, n[47] = o, n[48] = He) : He = n[48];
6633
- let Ue = D(He), We;
6634
- n[49] === Ue ? We = n[50] : (We = () => {
6635
- let e = P.current;
6636
- e != null && Ue(e);
6637
- }, n[49] = Ue, n[50] = We);
6638
- let Ge;
6639
- n[51] !== x || n[52] !== ce || n[53] !== Pe || n[54] !== Ue || n[55] !== o ? (Ge = [
6640
- x,
6641
- ce,
6642
- Pe,
6514
+ cellToTarget: Le,
6515
+ getId: _a
6516
+ }), n = t && cr(e.getIndices(), t);
6517
+ n && (e.slide(n.h, n.v, n.f), Qi(e));
6518
+ }, t[47] = b, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ge) : Ge = t[51];
6519
+ let Ke = j(Ge), qe;
6520
+ t[52] === Ke ? qe = t[53] : (qe = () => {
6521
+ let e = k.current;
6522
+ e != null && Ke(e);
6523
+ }, t[52] = Ke, t[53] = qe);
6524
+ let Je;
6525
+ t[54] !== b || t[55] !== de || t[56] !== Le || t[57] !== Ke || t[58] !== o ? (Je = [
6526
+ b,
6527
+ de,
6528
+ Le,
6643
6529
  o,
6644
- Ue
6645
- ], n[51] = x, n[52] = ce, n[53] = Pe, n[54] = Ue, n[55] = o, n[56] = Ge) : Ge = n[56], (0, M.useEffect)(We, Ge);
6646
- let Ke;
6647
- n[57] !== V || n[58] !== ke || n[59] !== be || n[60] !== Ce ? (Ke = () => {
6648
- if (!(V == null || ke)) {
6649
- if (be) {
6650
- Ce();
6651
- return;
6652
- }
6653
- (0, M.startTransition)(() => de((e) => {
6654
- let t = new Set(e);
6655
- return t.has(V) ? t.delete(V) : t.add(V), t;
6656
- }));
6657
- }
6658
- }, n[57] = V, n[58] = ke, n[59] = be, n[60] = Ce, n[61] = Ke) : Ke = n[61];
6659
- let qe = D(Ke), Je, Ye;
6660
- n[62] !== R || n[63] !== qe ? (Je = () => {
6661
- let e = P.current;
6662
- return e && Ki({
6530
+ Ke
6531
+ ], t[54] = b, t[55] = de, t[56] = Le, t[57] = Ke, t[58] = o, t[59] = Je) : Je = t[59], (0, N.useEffect)(qe, Je);
6532
+ let Ye;
6533
+ t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !== Ee ? (Ye = () => {
6534
+ V == null || Me || (z ? Ee() : (0, N.startTransition)(() => he((e) => {
6535
+ let t = new Set(e);
6536
+ return t.has(V) ? t.delete(V) : t.add(V), t;
6537
+ })));
6538
+ }, t[60] = V, t[61] = Me, t[62] = z, t[63] = Ee, t[64] = Ye) : Ye = t[64];
6539
+ let Xe = j(Ye), Ze, Qe;
6540
+ t[65] !== be || t[66] !== Xe ? (Ze = () => {
6541
+ let e = k.current;
6542
+ return e && Zi({
6663
6543
  deck: e,
6664
- enabled: R,
6665
- onToggle: qe
6544
+ enabled: be,
6545
+ onToggle: Xe
6666
6546
  }), () => {
6667
- P.current?.removeKeyBinding(Gi);
6547
+ k.current?.removeKeyBinding(Xi);
6668
6548
  };
6669
- }, Ye = [R, qe], n[62] = R, n[63] = qe, n[64] = Je, n[65] = Ye) : (Je = n[64], Ye = n[65]), (0, M.useEffect)(Je, Ye);
6670
- let Xe;
6671
- n[66] !== S || n[67] !== z || n[68] !== Fe ? (Xe = (e) => {
6672
- if (z != null) return;
6673
- let t = ir(Fe, e.getIndices());
6549
+ }, Qe = [be, Xe], t[65] = be, t[66] = Xe, t[67] = Ze, t[68] = Qe) : (Ze = t[67], Qe = t[68]), (0, N.useEffect)(Ze, Qe);
6550
+ let $e;
6551
+ t[69] !== S || t[70] !== R || t[71] !== H ? ($e = (e) => {
6552
+ if (R != null) return;
6553
+ let t = ar(H, e.getIndices());
6674
6554
  t != null && S?.(t);
6675
- }, n[66] = S, n[67] = z, n[68] = Fe, n[69] = Xe) : Xe = n[69];
6676
- let Ze = D(Xe), Qe;
6677
- n[70] === Ze ? Qe = n[71] : (Qe = () => {
6678
- let e = P.current;
6679
- e && Ze(e);
6680
- }, n[70] = Ze, n[71] = Qe);
6681
- let $e = D(Qe), et;
6682
- n[72] !== ce || n[73] !== R || n[74] !== Ue || n[75] !== Ze || n[76] !== qe ? (et = (e) => {
6683
- Ue(e), ce && Ze(e), Ki({
6555
+ }, t[69] = S, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6556
+ let et = j($e), tt;
6557
+ t[73] === et ? tt = t[74] : (tt = () => {
6558
+ let e = k.current;
6559
+ e && et(e);
6560
+ }, t[73] = et, t[74] = tt);
6561
+ let nt = j(tt), rt;
6562
+ t[75] !== de || t[76] !== be || t[77] !== Ke || t[78] !== et || t[79] !== Xe ? (rt = (e) => {
6563
+ se(e.getScale()), Ke(e), de && et(e), Zi({
6684
6564
  deck: e,
6685
- enabled: R,
6686
- onToggle: qe
6565
+ enabled: be,
6566
+ onToggle: Xe
6687
6567
  });
6688
6568
  let t = e.getSlidesElement()?.closest(".reveal");
6689
6569
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6690
- }, n[72] = ce, n[73] = R, n[74] = Ue, n[75] = Ze, n[76] = qe, n[77] = et) : et = n[77];
6691
- let tt = D(et), nt;
6692
- n[78] !== x || n[79] !== S || n[80] !== z || n[81] !== o ? (nt = (e) => {
6693
- if (!z || x == null || i.fromInput(e)) return;
6694
- let t = Xi(e);
6570
+ }, t[75] = de, t[76] = be, t[77] = Ke, t[78] = et, t[79] = Xe, t[80] = rt) : rt = t[80];
6571
+ let it = j(rt), at;
6572
+ t[81] !== b || t[82] !== S || t[83] !== R || t[84] !== o ? (at = (e) => {
6573
+ if (!R || b == null || i.fromInput(e)) return;
6574
+ let t = ta(e);
6695
6575
  if (t === 0) return;
6696
6576
  e.preventDefault(), e.stopPropagation();
6697
- let n = x + t;
6577
+ let n = b + t;
6698
6578
  n < 0 || n >= o.length || S?.(n);
6699
- }, n[78] = x, n[79] = S, n[80] = z, n[81] = o, n[82] = nt) : nt = n[82];
6700
- let rt = D(nt), it;
6701
- n[83] === $e ? it = n[84] : (it = () => {
6702
- $e();
6703
- }, n[83] = $e, n[84] = it);
6704
- let at = D(it), W;
6705
- n[85] === Symbol.for("react.memo_cache_sentinel") ? (W = { capture: !0 }, n[85] = W) : W = n[85], t(document, "keydown", rt, W);
6706
- let ot = be ? null : B ? "Hidden as there is no output" : "Skipped in presentation", st;
6707
- n[86] !== Se || n[87] !== be || n[88] !== z?.id || n[89] !== Te ? (st = be ? Se : Te(z?.id), n[86] = Se, n[87] = be, n[88] = z?.id, n[89] = Te, n[90] = st) : st = n[90];
6708
- let ct = st, lt;
6709
- n[91] !== j || n[92] !== B || n[93] !== ct ? (lt = oa({
6579
+ }, t[81] = b, t[82] = S, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6580
+ let ot = j(at), st;
6581
+ t[86] === nt ? st = t[87] : (st = () => {
6582
+ nt();
6583
+ }, t[86] = nt, t[87] = st);
6584
+ let W = j(st), ct;
6585
+ t[88] === Symbol.for("react.memo_cache_sentinel") ? (ct = { capture: !0 }, t[88] = ct) : ct = t[88], r(document, "keydown", ot, ct);
6586
+ let lt = z ? null : B ? "Hidden as there is no output" : "Skipped in presentation", ut;
6587
+ t[89] !== Te || t[90] !== z || t[91] !== R?.id || t[92] !== Oe ? (ut = z ? Te : Oe(R?.id), t[89] = Te, t[90] = z, t[91] = R?.id, t[92] = Oe, t[93] = ut) : ut = t[93];
6588
+ let dt = ut, ft;
6589
+ t[94] !== E || t[95] !== B || t[96] !== dt ? (ft = da({
6710
6590
  isNoOutputPreview: B,
6711
- isEditable: j,
6712
- showCode: ct
6713
- }), n[91] = j, n[92] = B, n[93] = ct, n[94] = lt) : lt = n[94];
6714
- let ut = lt, dt;
6715
- n[95] !== ae || n[96] !== ie ? (dt = {
6716
- width: ie,
6591
+ isEditable: E,
6592
+ showCode: dt
6593
+ }), t[94] = E, t[95] = B, t[96] = dt, t[97] = ft) : ft = t[97];
6594
+ let pt = ft, mt;
6595
+ t[98] !== ae || t[99] !== M ? (mt = {
6596
+ width: M,
6717
6597
  height: ae
6718
- }, n[95] = ae, n[96] = ie, n[97] = dt) : dt = n[97];
6719
- let ft;
6720
- if (n[98] !== Me.stacks || n[99] !== j || n[100] !== s.cells || n[101] !== Te || n[102] !== ze) {
6598
+ }, t[98] = ae, t[99] = M, t[100] = mt) : mt = t[100];
6599
+ let ht;
6600
+ if (t[101] !== Fe.stacks || t[102] !== E || t[103] !== s.cells || t[104] !== Oe || t[105] !== Ve) {
6721
6601
  let e;
6722
- n[104] !== j || n[105] !== s.cells || n[106] !== Te || n[107] !== ze ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(aa, {
6602
+ t[107] !== E || t[108] !== s.cells || t[109] !== Oe || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(ua, {
6723
6603
  subslide: e.subslides[0],
6724
- resolveShowCode: Te,
6725
- isEditable: j,
6604
+ resolveShowCode: Oe,
6605
+ isEditable: E,
6726
6606
  slideConfigs: s.cells,
6727
- contentStyle: ze
6728
- }, t) : /* @__PURE__ */ (0, G.jsx)(vt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(aa, {
6607
+ contentStyle: Ve
6608
+ }, t) : /* @__PURE__ */ (0, G.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(ua, {
6729
6609
  subslide: e,
6730
- resolveShowCode: Te,
6731
- isEditable: j,
6610
+ resolveShowCode: Oe,
6611
+ isEditable: E,
6732
6612
  slideConfigs: s.cells,
6733
- contentStyle: ze
6734
- }, t)) }, t), n[104] = j, n[105] = s.cells, n[106] = Te, n[107] = ze, n[108] = e) : e = n[108], ft = Me.stacks.map(e), n[98] = Me.stacks, n[99] = j, n[100] = s.cells, n[101] = Te, n[102] = ze, n[103] = ft;
6735
- } else ft = n[103];
6736
- let pt;
6737
- n[109] !== le || n[110] !== tt || n[111] !== at || n[112] !== $e || n[113] !== U || n[114] !== ft ? (pt = /* @__PURE__ */ (0, G.jsx)(mt, {
6738
- deckRef: P,
6613
+ contentStyle: Ve
6614
+ }, t)) }, t), t[107] = E, t[108] = s.cells, t[109] = Oe, t[110] = Ve, t[111] = e) : e = t[111], ht = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = E, t[103] = s.cells, t[104] = Oe, t[105] = Ve, t[106] = ht;
6615
+ } else ht = t[106];
6616
+ let _t;
6617
+ t[112] !== pe || t[113] !== it || t[114] !== W || t[115] !== nt || t[116] !== We || t[117] !== ht ? (_t = /* @__PURE__ */ (0, G.jsx)(gt, {
6618
+ deckRef: k,
6739
6619
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
6740
- config: U,
6741
- onReady: tt,
6742
- onSlideChange: at,
6743
- onFragmentShown: $e,
6744
- onFragmentHidden: $e,
6745
- plugins: le,
6746
- children: ft
6747
- }), n[109] = le, n[110] = tt, n[111] = at, n[112] = $e, n[113] = U, n[114] = ft, n[115] = pt) : pt = n[115];
6748
- let ht;
6749
- n[116] !== j || n[117] !== B || n[118] !== z || n[119] !== ot || n[120] !== ct || n[121] !== ut || n[122] !== ze ? (ht = z && /* @__PURE__ */ (0, G.jsxs)("div", {
6620
+ config: We,
6621
+ onReady: it,
6622
+ onSlideChange: W,
6623
+ onFragmentShown: nt,
6624
+ onFragmentHidden: nt,
6625
+ plugins: pe,
6626
+ children: ht
6627
+ }), t[112] = pe, t[113] = it, t[114] = W, t[115] = nt, t[116] = We, t[117] = ht, t[118] = _t) : _t = t[118];
6628
+ let K;
6629
+ t[119] !== E || t[120] !== B || t[121] !== R || t[122] !== lt || t[123] !== dt || t[124] !== pt || t[125] !== Ve || t[126] !== oe ? (K = R && /* @__PURE__ */ (0, G.jsxs)("div", {
6750
6630
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6751
- "aria-label": ot ?? void 0,
6752
- children: [ot && /* @__PURE__ */ (0, G.jsxs)("div", {
6631
+ "aria-label": lt ?? void 0,
6632
+ children: [lt && /* @__PURE__ */ (0, G.jsxs)("div", {
6753
6633
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
6754
- children: [/* @__PURE__ */ (0, G.jsx)(m, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: ot })]
6634
+ children: [/* @__PURE__ */ (0, G.jsx)(g, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: lt })]
6755
6635
  }), /* @__PURE__ */ (0, G.jsx)("div", {
6756
- className: "flex-1 overflow-auto flex",
6757
- children: /* @__PURE__ */ (0, G.jsx)("div", {
6758
- className: ut ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6759
- style: ze,
6760
- children: /* @__PURE__ */ (0, G.jsx)(sa, {
6761
- cell: z,
6636
+ className: "reveal mo-slides-theme prose-slides absolute left-1/2 top-1/2",
6637
+ "data-testid": "slide-preview-canvas",
6638
+ style: {
6639
+ position: "absolute",
6640
+ width: Ji,
6641
+ height: Yi,
6642
+ transform: `translate(-50%, -50%) scale(${oe})`
6643
+ },
6644
+ children: /* @__PURE__ */ (0, G.jsx)(nr, { children: /* @__PURE__ */ (0, G.jsx)("div", {
6645
+ className: pt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6646
+ style: Ve,
6647
+ children: /* @__PURE__ */ (0, G.jsx)(fa, {
6648
+ cell: R,
6762
6649
  isNoOutputPreview: B,
6763
- isEditable: j,
6764
- showCode: ct
6650
+ isEditable: E,
6651
+ showCode: dt
6765
6652
  })
6766
- })
6653
+ }) })
6767
6654
  })]
6768
- }, z.id), n[116] = j, n[117] = B, n[118] = z, n[119] = ot, n[120] = ct, n[121] = ut, n[122] = ze, n[123] = ht) : ht = n[123];
6769
- let gt;
6770
- n[124] !== De || n[125] !== ke || n[126] !== R || n[127] !== qe ? (gt = R && /* @__PURE__ */ (0, G.jsx)(l, {
6771
- content: ke ? "Code is always shown for this slide" : De ? "Hide code (C)" : "Show code (C)",
6655
+ }, R.id), t[119] = E, t[120] = B, t[121] = R, t[122] = lt, t[123] = dt, t[124] = pt, t[125] = Ve, t[126] = oe, t[127] = K) : K = t[127];
6656
+ let vt;
6657
+ t[128] !== Ae || t[129] !== Me || t[130] !== be || t[131] !== Xe ? (vt = be && /* @__PURE__ */ (0, G.jsx)(l, {
6658
+ content: Me ? "Code is always shown for this slide" : Ae ? "Hide code (C)" : "Show code (C)",
6772
6659
  children: /* @__PURE__ */ (0, G.jsx)(a, {
6773
6660
  "data-testid": "marimo-plugin-slides-toggle-code",
6774
6661
  variant: "ghost",
6775
6662
  size: "icon",
6776
- className: r("text-muted-foreground h-7 w-7", De && "text-foreground bg-muted", ke && "opacity-50 cursor-not-allowed"),
6777
- "aria-pressed": De,
6778
- "aria-disabled": ke,
6779
- "aria-label": ke ? "Code always shown" : De ? "Hide code" : "Show code",
6780
- onClick: qe,
6781
- children: /* @__PURE__ */ (0, G.jsx)(_, { className: "h-4 w-4" })
6663
+ className: n("text-muted-foreground h-7 w-7", Ae && "text-foreground bg-muted", Me && "opacity-50 cursor-not-allowed"),
6664
+ "aria-pressed": Ae,
6665
+ "aria-disabled": Me,
6666
+ "aria-label": Me ? "Code always shown" : Ae ? "Hide code" : "Show code",
6667
+ onClick: Xe,
6668
+ children: /* @__PURE__ */ (0, G.jsx)(m, { className: "h-4 w-4" })
6782
6669
  })
6783
- }), n[124] = De, n[125] = ke, n[126] = R, n[127] = qe, n[128] = gt) : gt = n[128];
6784
- let _t;
6785
- n[129] === Symbol.for("react.memo_cache_sentinel") ? (_t = /* @__PURE__ */ (0, G.jsx)(l, {
6670
+ }), t[128] = Ae, t[129] = Me, t[130] = be, t[131] = Xe, t[132] = vt) : vt = t[132];
6671
+ let yt;
6672
+ t[133] === Symbol.for("react.memo_cache_sentinel") ? (yt = /* @__PURE__ */ (0, G.jsx)(l, {
6786
6673
  content: "Fullscreen (F)",
6787
6674
  children: /* @__PURE__ */ (0, G.jsx)(a, {
6788
6675
  "data-testid": "marimo-plugin-slides-fullscreen",
@@ -6791,105 +6678,105 @@ var sa = (e) => {
6791
6678
  className: "text-muted-foreground h-7 w-7",
6792
6679
  "aria-label": "Enter fullscreen",
6793
6680
  onClick: () => {
6794
- P.current?.getViewportElement()?.requestFullscreen().catch(pa);
6681
+ k.current?.getViewportElement()?.requestFullscreen().catch(va);
6795
6682
  },
6796
- children: /* @__PURE__ */ (0, G.jsx)(y, { className: "h-4 w-4" })
6683
+ children: /* @__PURE__ */ (0, G.jsx)(f, { className: "h-4 w-4" })
6797
6684
  })
6798
- }), n[129] = _t) : _t = n[129];
6799
- let K;
6800
- n[130] === gt ? K = n[131] : (K = /* @__PURE__ */ (0, G.jsxs)("div", {
6685
+ }), t[133] = yt) : yt = t[133];
6686
+ let xt;
6687
+ t[134] === vt ? xt = t[135] : (xt = /* @__PURE__ */ (0, G.jsxs)("div", {
6801
6688
  className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6802
- children: [gt, _t]
6803
- }), n[130] = gt, n[131] = K);
6804
- let yt;
6805
- n[132] !== dt || n[133] !== pt || n[134] !== ht || n[135] !== K ? (yt = /* @__PURE__ */ (0, G.jsx)("div", {
6806
- ref: re,
6689
+ children: [vt, yt]
6690
+ }), t[134] = vt, t[135] = xt);
6691
+ let St;
6692
+ t[136] !== mt || t[137] !== _t || t[138] !== K || t[139] !== xt ? (St = /* @__PURE__ */ (0, G.jsx)("div", {
6693
+ ref: D,
6807
6694
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6808
6695
  children: /* @__PURE__ */ (0, G.jsxs)("div", {
6809
6696
  className: "group relative",
6810
- style: dt,
6697
+ style: mt,
6811
6698
  children: [
6812
- pt,
6813
- ht,
6814
- K
6699
+ _t,
6700
+ K,
6701
+ xt
6815
6702
  ]
6816
6703
  })
6817
- }), n[132] = dt, n[133] = pt, n[134] = ht, n[135] = K, n[136] = yt) : yt = n[136];
6818
- let q = yt;
6704
+ }), t[136] = mt, t[137] = _t, t[138] = K, t[139] = xt, t[140] = St) : St = t[140];
6705
+ let Ct = St;
6819
6706
  if (C === "read") {
6820
6707
  let e;
6821
- return n[137] === q ? e = n[138] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
6708
+ return t[141] === Ct ? e = t[142] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
6822
6709
  className: "flex-1 min-w-0 flex flex-row gap-3",
6823
- children: q
6824
- }), n[137] = q, n[138] = e), e;
6710
+ children: Ct
6711
+ }), t[141] = Ct, t[142] = e), e;
6825
6712
  }
6826
- let bt;
6827
- n[139] === q ? bt = n[140] : (bt = /* @__PURE__ */ (0, G.jsx)(p, {
6713
+ let q;
6714
+ t[143] === Ct ? q = t[144] : (q = /* @__PURE__ */ (0, G.jsx)(d, {
6828
6715
  defaultSize: 92,
6829
6716
  minSize: 60,
6830
- children: q
6831
- }), n[139] = q, n[140] = bt);
6832
- let xt;
6833
- n[141] === Symbol.for("react.memo_cache_sentinel") ? (xt = {
6717
+ children: Ct
6718
+ }), t[143] = Ct, t[144] = q);
6719
+ let J;
6720
+ t[145] === Symbol.for("react.memo_cache_sentinel") ? (J = {
6834
6721
  coarse: 12,
6835
6722
  fine: 4
6836
- }, n[141] = xt) : xt = n[141];
6837
- let J;
6838
- n[142] === oe ? J = n[143] : (J = /* @__PURE__ */ (0, G.jsx)(d, {
6723
+ }, t[145] = J) : J = t[145];
6724
+ let wt;
6725
+ t[146] === P ? wt = t[147] : (wt = /* @__PURE__ */ (0, G.jsx)(h, {
6839
6726
  className: "mo-slides-notes-resize",
6840
- hitAreaMargins: xt,
6841
- disabled: oe
6842
- }), n[142] = oe, n[143] = J);
6843
- let St = ve?.id, Y;
6844
- n[144] !== s || n[145] !== c || n[146] !== St ? (Y = /* @__PURE__ */ (0, G.jsx)(p, {
6727
+ hitAreaMargins: J,
6728
+ disabled: P
6729
+ }), t[146] = P, t[147] = wt);
6730
+ let Y = Se?.id, X;
6731
+ t[148] !== s || t[149] !== c || t[150] !== Y ? (X = /* @__PURE__ */ (0, G.jsx)(d, {
6845
6732
  defaultSize: 10,
6846
6733
  minSize: 4,
6847
6734
  collapsible: !0,
6848
6735
  collapsedSize: 4,
6849
- children: /* @__PURE__ */ (0, G.jsx)(dr, {
6736
+ children: /* @__PURE__ */ (0, G.jsx)(fr, {
6850
6737
  layout: s,
6851
6738
  setLayout: c,
6852
- cellId: St
6739
+ cellId: Y
6853
6740
  })
6854
- }), n[144] = s, n[145] = c, n[146] = St, n[147] = Y) : Y = n[147];
6855
- let Ct;
6856
- n[148] !== bt || n[149] !== J || n[150] !== Y ? (Ct = /* @__PURE__ */ (0, G.jsxs)(f, {
6741
+ }), t[148] = s, t[149] = c, t[150] = Y, t[151] = X) : X = t[151];
6742
+ let Tt;
6743
+ t[152] !== q || t[153] !== wt || t[154] !== X ? (Tt = /* @__PURE__ */ (0, G.jsxs)(u, {
6857
6744
  direction: "vertical",
6858
6745
  autoSaveId: "marimo:slides:notes-panel",
6859
6746
  className: "flex-1 min-w-0",
6860
6747
  children: [
6861
- bt,
6862
- J,
6863
- Y
6748
+ q,
6749
+ wt,
6750
+ X
6864
6751
  ]
6865
- }), n[148] = bt, n[149] = J, n[150] = Y, n[151] = Ct) : Ct = n[151];
6866
- let wt;
6867
- n[152] !== ve || n[153] !== ee || n[154] !== s || n[155] !== c ? (wt = /* @__PURE__ */ (0, G.jsx)(g, {
6868
- configWidth: ee,
6752
+ }), t[152] = q, t[153] = wt, t[154] = X, t[155] = Tt) : Tt = t[155];
6753
+ let Et;
6754
+ t[156] !== Se || t[157] !== w || t[158] !== s || t[159] !== c ? (Et = /* @__PURE__ */ (0, G.jsx)(v, {
6755
+ configWidth: w,
6869
6756
  layout: s,
6870
6757
  setLayout: c,
6871
- activeConfigCell: ve
6872
- }), n[152] = ve, n[153] = ee, n[154] = s, n[155] = c, n[156] = wt) : wt = n[156];
6873
- let Tt;
6874
- return n[157] !== Ct || n[158] !== wt ? (Tt = /* @__PURE__ */ (0, G.jsxs)("div", {
6758
+ activeConfigCell: Se
6759
+ }), t[156] = Se, t[157] = w, t[158] = s, t[159] = c, t[160] = Et) : Et = t[160];
6760
+ let Dt;
6761
+ return t[161] !== Tt || t[162] !== Et ? (Dt = /* @__PURE__ */ (0, G.jsxs)("div", {
6875
6762
  className: "flex-1 min-w-0 flex flex-row gap-3",
6876
- children: [Ct, wt]
6877
- }), n[157] = Ct, n[158] = wt, n[159] = Tt) : Tt = n[159], Tt;
6763
+ children: [Tt, Et]
6764
+ }), t[161] = Tt, t[162] = Et, t[163] = Dt) : Dt = t[163], Dt;
6878
6765
  };
6879
- function la() {
6766
+ function ma() {
6880
6767
  return /* @__PURE__ */ new Set();
6881
6768
  }
6882
- function ua(e) {
6769
+ function ha(e) {
6883
6770
  return e.id;
6884
6771
  }
6885
- function da(e) {
6772
+ function ga(e) {
6886
6773
  return !i.fromInput(e);
6887
6774
  }
6888
- function fa(e) {
6775
+ function _a(e) {
6889
6776
  return e.id;
6890
6777
  }
6891
- function pa(e) {
6892
- n.error("Failed to request fullscreen", e);
6778
+ function va(e) {
6779
+ t.error("Failed to request fullscreen", e);
6893
6780
  }
6894
6781
  //#endregion
6895
- export { ia as CellOutputBlock, ea as deckSlideType, ca as default, oa as parkedRendersSource, $i as shouldShowCode, Ki as syncCodeToggleKeyBinding, ta as useParkedPreview };
6782
+ export { la as CellOutputBlock, aa as deckSlideType, pa as default, da as parkedRendersSource, ia as shouldShowCode, Zi as syncCodeToggleKeyBinding, oa as useParkedPreview };