@marimo-team/islands 0.23.17-dev54 → 0.23.17-dev55

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 (558) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BBZRR1-C.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
  2. package/dist/{ErrorBoundary-CptUP1_t.js → ErrorBoundary-BniTEhHn.js} +7 -7
  3. package/dist/{ImageComparisonComponent-fdY0LUuf.js → ImageComparisonComponent-B7b8DcJI.js} +4 -4
  4. package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
  5. package/dist/_initCloneObject-DNUst5Cg.js +91 -0
  6. package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
  7. package/dist/{any-language-editor-BnIS9Mvg.js → any-language-editor-LHl8ZmVN.js} +26 -26
  8. package/dist/apl-Cwo7GIH7.js +4 -0
  9. package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
  10. package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
  11. package/dist/{architectureDiagram-VXUJARFQ-CfGr729i.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
  12. package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
  13. package/dist/asciiarmor-jrfEZ3j_.js +4 -0
  14. package/dist/asn1-BNEiJ4nQ.js +4 -0
  15. package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
  16. package/dist/brainfuck-BCunvTbd.js +4 -0
  17. package/dist/{button-8aS1QcHr.js → button-Dr2uAwhT.js} +5 -5
  18. package/dist/{c4Diagram-YG6GDRKO-C_3ITiA6.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
  19. package/dist/{capabilities-D23lgbH_.js → capabilities-BilXeZ7p.js} +2 -2
  20. package/dist/{channel-Bg4StoYP.js → channel-CuV_jmG4.js} +1 -1
  21. package/dist/{chat-ui-JS5FK7Ls.js → chat-ui-o-tATfmW.js} +32 -33
  22. package/dist/{check-D-BaEjEh.js → check-58HHfHKy.js} +1 -1
  23. package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
  24. package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
  25. package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
  26. package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
  27. package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
  28. package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
  29. package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
  30. package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
  31. package/dist/{chunk-DI55MBZ5-CFmDWujZ.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
  32. package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
  33. package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
  34. package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
  35. package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
  36. package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
  37. package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
  38. package/dist/chunk-Bfp04NdC.js +25 -0
  39. package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
  40. package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
  41. package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
  42. package/dist/{chunk-B4BG7PRW-C0gy-pwj.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
  43. package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
  44. package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
  45. package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
  46. package/dist/{flowDiagram-NV44I4VS-C4JhRtt8.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
  47. package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
  48. package/dist/{chunk-QN33PNHL-D3s0CL4V.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
  49. package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
  50. package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
  51. package/dist/{chunk-S3R3BYOJ-eotljhmB.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
  52. package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
  53. package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
  54. package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
  55. package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
  56. package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
  57. package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
  58. package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
  59. package/dist/{chunk-ATLVNIR6-BPcuM5bj.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
  60. package/dist/{chunk-JA3XYJ7Z-Bpyllnke.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
  61. package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
  62. package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
  63. package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
  64. package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
  65. package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
  66. package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
  67. package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
  68. package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
  69. package/dist/clojure-2X0Rfij9.js +4 -0
  70. package/dist/cmake-DEwzCy9U.js +4 -0
  71. package/dist/cobol-Ck4eCoAB.js +4 -0
  72. package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
  73. package/dist/coffeescript-bB1IDwhg.js +4 -0
  74. package/dist/{common-BlDVQnXS.js → common-D2ngWI-H.js} +36 -36
  75. package/dist/commonlisp-BDYrVBNC.js +4 -0
  76. package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
  77. package/dist/{copy-BkA3t7rJ.js → copy-C7ZKMKox.js} +5 -5
  78. package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
  79. package/dist/crystal-BSoiVUiH.js +4 -0
  80. package/dist/css-w1h9i21f.js +4 -0
  81. package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
  82. package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
  83. package/dist/cypher-B4xzuKGP.js +4 -0
  84. package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
  85. package/dist/d-D50Bz34p.js +4 -0
  86. package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
  87. package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
  88. package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
  89. package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
  90. package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
  91. package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
  92. package/dist/{diagram-S2PKOQOG-B1wW-oRg.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
  93. package/dist/{diagram-PSM6KHXK-DK8uv8Yo.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
  94. package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
  95. package/dist/diff-BMdzfXq-.js +4 -0
  96. package/dist/{dist-DQj6A7SE.js → dist-72nb8Uag.js} +3 -3
  97. package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
  98. package/dist/{dist-BNeJ8P-4.js → dist-Awj73yUw.js} +3 -3
  99. package/dist/{dist-v-kAJfMq.js → dist-B0Ctcrt9.js} +1 -1
  100. package/dist/{dist-DjQRRttD.js → dist-B1Donbpk.js} +2 -2
  101. package/dist/dist-BC6wzWNb.js +5 -0
  102. package/dist/dist-BMd_RcOy.js +5 -0
  103. package/dist/dist-BZEWjN6r.js +5 -0
  104. package/dist/{dist-B-upo54Y.js → dist-B_K4AAkc.js} +1 -1
  105. package/dist/dist-BeuGjR3n.js +6 -0
  106. package/dist/dist-BfDQCUe6.js +5 -0
  107. package/dist/dist-BhNblTOV.js +8 -0
  108. package/dist/{dist-DGQmYLkh.js → dist-C0ifRfXi.js} +1 -1
  109. package/dist/{dist-BxR-g1ig.js → dist-C3mEki35.js} +2 -2
  110. package/dist/{dist-BT96P4oR.js → dist-CNfV2vDI.js} +2 -2
  111. package/dist/{dist-CBraAJlT.js → dist-COcQ5Vyc.js} +4 -4
  112. package/dist/dist-CRCm4Fuo.js +5 -0
  113. package/dist/{dist-Slyx4vXr.js → dist-CSZpLb9d.js} +1 -1
  114. package/dist/{dist-BvvQUFUK.js → dist-CWswQBvu.js} +1 -1
  115. package/dist/{dist-DFQ91Mx1.js → dist-CXYro_Nw.js} +4 -4
  116. package/dist/{dist-BrKNRKC8.js → dist-Ckfsc8C3.js} +2 -2
  117. package/dist/{dist-CWYsUX_O.js → dist-Cyq6Pxtv.js} +1 -1
  118. package/dist/{dist-Ba1WFESi.js → dist-D-BWPyoX.js} +5 -5
  119. package/dist/{dist-BDwn6WIk.js → dist-D-YB6j-O.js} +2 -2
  120. package/dist/{dist-dJeh9ef4.js → dist-D1vYHETp.js} +2 -2
  121. package/dist/{dist-3F1XDSYc.js → dist-D9-ePb6D.js} +2 -2
  122. package/dist/dist-DBPEbGkd.js +8 -0
  123. package/dist/{dist-DK0pFEmc.js → dist-DC409ROm.js} +1 -1
  124. package/dist/{dist-B1W12VzQ.js → dist-DJRUd9aM.js} +2 -2
  125. package/dist/{dist-Ddb0VFS3.js → dist-DLvxZEAK.js} +2 -2
  126. package/dist/dist-DSsl8IAI.js +5 -0
  127. package/dist/{dist-B6au1PTB.js → dist-D_ulymry.js} +2 -2
  128. package/dist/{dist-DgkJegw4.js → dist-DgY27bJ4.js} +3 -3
  129. package/dist/{dist-CDBV8n0I.js → dist-DiwVZiK7.js} +1 -1
  130. package/dist/{dist-CdKRSqjo.js → dist-DnYHhW6c.js} +2 -2
  131. package/dist/dist-Dx0kkrek.js +5 -0
  132. package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
  133. package/dist/dist-NKA1TU8a.js +6 -0
  134. package/dist/dist-ZFcsIdHj.js +8 -0
  135. package/dist/{dist-D8SX5Qdg.js → dist-iZ8-rtUy.js} +2 -2
  136. package/dist/{dist-DarwE0ZO.js → dist-j30bBjjN.js} +6 -6
  137. package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
  138. package/dist/{dist-BUzxp0Xf.js → dist-sxRUVPmt.js} +1 -1
  139. package/dist/dist-uA2RbGmY.js +5 -0
  140. package/dist/{dist-PQDZaPEo.js → dist-xVU82Nq7.js} +2 -2
  141. package/dist/dist-zSCo-xCB.js +8 -0
  142. package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
  143. package/dist/dtd-B9dCT0pu.js +4 -0
  144. package/dist/dylan-DLghDyuR.js +4 -0
  145. package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
  146. package/dist/ecl-w0qdPHDB.js +4 -0
  147. package/dist/eiffel-C5AWRCNP.js +4 -0
  148. package/dist/elm-CT8FZrOm.js +4 -0
  149. package/dist/{erDiagram-Q2GNP2WA-Cj186Id-.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
  150. package/dist/erlang-DPD-9M5g.js +4 -0
  151. package/dist/{error-banner-dmkbm21G.js → error-banner-BwCLtmkH.js} +6 -6
  152. package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
  153. package/dist/{esm-DEQU-LUO.js → esm-Dusmf6uu.js} +105 -105
  154. package/dist/{esm-D8vjxCyn.js → esm-QLUgkqzZ.js} +6 -6
  155. package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
  156. package/dist/{extends-DDOVg_b8.js → extends-iFBneQO_.js} +9 -9
  157. package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
  158. package/dist/factor-rFfeJu3r.js +4 -0
  159. package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
  160. package/dist/{formats-xc-Msa0v.js → formats-HSfYlcA8.js} +7 -7
  161. package/dist/forth-C-3AyQx4.js +4 -0
  162. package/dist/fortran-BSN9TeT7.js +4 -0
  163. package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
  164. package/dist/gas-DwmuvQpB.js +4 -0
  165. package/dist/gherkin-gmCjL-Sn.js +4 -0
  166. package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
  167. package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
  168. package/dist/{glide-data-editor-CyTNN635.js → glide-data-editor-BI2i_IEE.js} +18 -18
  169. package/dist/graphlib-DMVIRZap.js +614 -0
  170. package/dist/groovy-DCjvesOy.js +4 -0
  171. package/dist/hasIn-synBnXn4.js +119 -0
  172. package/dist/haskell-C1p0D9L8.js +4 -0
  173. package/dist/haxe-q-fgv0zr.js +5 -0
  174. package/dist/{html-to-image-BHmg0rCT.js → html-to-image-BOiFHx3u.js} +7464 -2995
  175. package/dist/idl-Bmg4bsnK.js +4 -0
  176. package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
  177. package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
  178. package/dist/{input-B4ddy8Jy.js → input-BRE2a7Ay.js} +13 -13
  179. package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
  180. package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
  181. package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
  182. package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
  183. package/dist/javascript-BY5QZ-eN.js +4 -0
  184. package/dist/{journeyDiagram-XKPGCS4Q-C2o4LTpc.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
  185. package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
  186. package/dist/julia-DbR1YalK.js +4 -0
  187. package/dist/{kanban-definition-3W4ZIXB7-jhGlnPMR.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
  188. package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
  189. package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
  190. package/dist/{label-CzHncDvS.js → label-CMh2d8pJ.js} +6 -6
  191. package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
  192. package/dist/{linear-BOGUO8Cd.js → linear-6pDlrp1I.js} +4 -4
  193. package/dist/livescript-BDUooIeL.js +4 -0
  194. package/dist/{loader-C7SfUdOD.js → loader-DTnbNSVZ.js} +3 -3
  195. package/dist/lua-CswAWSkH.js +4 -0
  196. package/dist/main.js +70 -71
  197. package/dist/map-BQ_Xp80D.js +137 -0
  198. package/dist/mathematica-Bw7v11B5.js +4 -0
  199. package/dist/mbox-j35IMz1j.js +4 -0
  200. package/dist/merge-CDbSrd9f.js +69 -0
  201. package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
  202. package/dist/mermaid-DpAz2sTy.js +1265 -0
  203. package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
  204. package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
  205. package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
  206. package/dist/{mindmap-definition-VGOIOE7T-5xLUaD4Q.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
  207. package/dist/mirc-Ba_RHVXO.js +4 -0
  208. package/dist/mllike-DbTP2dPp.js +6 -0
  209. package/dist/modelica-lpT3V1X6.js +4 -0
  210. package/dist/mscgen-BN4ZSJMx.js +6 -0
  211. package/dist/mumps-uI5g1A0g.js +4 -0
  212. package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
  213. package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
  214. package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
  215. package/dist/nsis-Df56GiRg.js +4 -0
  216. package/dist/ntriples-B3LWuG7W.js +4 -0
  217. package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
  218. package/dist/octave-CovfQgOx.js +4 -0
  219. package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
  220. package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
  221. package/dist/oz-DQQAvVFb.js +4 -0
  222. package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
  223. package/dist/pascal-xz94P9sf.js +4 -0
  224. package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
  225. package/dist/perl-aEWKE-1n.js +4 -0
  226. package/dist/pick-CaEWivSF.js +47 -0
  227. package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
  228. package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
  229. package/dist/pig-DB6DOZl7.js +4 -0
  230. package/dist/powershell-DM5saUx1.js +4 -0
  231. package/dist/{precisionRound-Bq50n-bG.js → precisionRound-BOoJTbDj.js} +1 -1
  232. package/dist/{process-output-hGrYEMdn.js → process-output-HrsM52f8.js} +7 -7
  233. package/dist/properties-BGjYQuGo.js +4 -0
  234. package/dist/protobuf-BPpEyPud.js +4 -0
  235. package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
  236. package/dist/pug-uJzB88ft.js +4 -0
  237. package/dist/puppet-oIm2d_Lg.js +4 -0
  238. package/dist/python-WE57eUzD.js +4 -0
  239. package/dist/q-CR8xPodo.js +4 -0
  240. package/dist/{quadrantDiagram-AYHSOK5B-_dxtOvzG.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
  241. package/dist/r-CJdmQZNj.js +4 -0
  242. package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
  243. package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
  244. package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
  245. package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
  246. package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
  247. package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
  248. package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
  249. package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
  250. package/dist/{react-vega-Cg17A6rO.js → react-vega-zyfTF9SY.js} +26 -26
  251. package/dist/{requirementDiagram-UZGBJVZJ-D13iq26A.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
  252. package/dist/{reveal-component-C-bXmcGz.js → reveal-component-BnID65Ih.js} +27 -28
  253. package/dist/rough.esm-lGyFQ0B-.js +1363 -0
  254. package/dist/rpm-Cm5K4RH9.js +5 -0
  255. package/dist/ruby-ArsuTozQ.js +4 -0
  256. package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
  257. package/dist/sas-DShligrE.js +4 -0
  258. package/dist/scheme-kDLirQL7.js +4 -0
  259. package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
  260. package/dist/shell-CVQuWP_N.js +4 -0
  261. package/dist/sieve-BW-ePwnq.js +4 -0
  262. package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
  263. package/dist/smalltalk-DI4aAXxY.js +4 -0
  264. package/dist/sparql-B2sp0oiz.js +4 -0
  265. package/dist/{spec-uMKNvMRZ.js → spec-BL1GSUUF.js} +4 -4
  266. package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
  267. package/dist/{stateDiagram-FKZM4ZOC-D5HAk2nG.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
  268. package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
  269. package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
  270. package/dist/stex-D2rme5UG.js +4 -0
  271. package/dist/{strings-BUDhKc0s.js → strings-DMLVGXRo.js} +10 -10
  272. package/dist/stylus-xxO-85eO.js +4 -0
  273. package/dist/swift-Ctg533nZ.js +4 -0
  274. package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
  275. package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
  276. package/dist/{swiper-component-dl1H9WIW.js → swiper-component-Cx0cRWLk.js} +6 -6
  277. package/dist/tcl-phm9c5Nd.js +4 -0
  278. package/dist/textile-CphjAg90.js +4 -0
  279. package/dist/{time-CQnohwNM.js → time-DAJu9fnj.js} +4 -4
  280. package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
  281. package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
  282. package/dist/{toDate-BiyuFdnT.js → toDate-BGM7kFtQ.js} +6 -6
  283. package/dist/toml-BUuMK772.js +4 -0
  284. package/dist/{tooltip-CkCWlUOf.js → tooltip-BtUxZT5h.js} +7 -7
  285. package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
  286. package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
  287. package/dist/troff-lCtc05A3.js +4 -0
  288. package/dist/ttcn-CcykzBcW.js +4 -0
  289. package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
  290. package/dist/turtle-CpfVZs8G.js +4 -0
  291. package/dist/{types-uENjXsiC.js → types-DT8UHI5w.js} +1 -1
  292. package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
  293. package/dist/{useAsyncData-DqJLysjC.js → useAsyncData-CDcbh-Qv.js} +5 -5
  294. package/dist/{useDateFormatter-BeN3fHMH.js → useDateFormatter-B_vTzxpm.js} +4 -4
  295. package/dist/{useDeepCompareMemoize-CvlmHAmy.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
  296. package/dist/{useIframeCapabilities-pLC-ceDP.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
  297. package/dist/{useLifecycle-D4N02q82.js → useLifecycle-Bw4wRj_O.js} +7 -7
  298. package/dist/{useTheme-Dur2p3iC.js → useTheme-BzEXeAR5.js} +6 -6
  299. package/dist/vb-VOIzXwm9.js +4 -0
  300. package/dist/vbscript-D0WfcnVk.js +4 -0
  301. package/dist/{vega-component-Cft458Sr.js → vega-component-CJug-VdR.js} +24 -24
  302. package/dist/{vega-embed-container-S9gRu4TZ.js → vega-embed-container-BRjjqRGz.js} +9 -9
  303. package/dist/{vega-loader.browser-CmLRI3wk.js → vega-loader.browser-CGb-2Kwi.js} +4 -4
  304. package/dist/velocity-CCrc5n-0.js +4 -0
  305. package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
  306. package/dist/verilog-BLFhaDBH.js +4 -0
  307. package/dist/vhdl-DjuqPE9b.js +4 -0
  308. package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
  309. package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
  310. package/dist/webidl-Cc7RrfeK.js +4 -0
  311. package/dist/xquery-BiCRLnNG.js +4 -0
  312. package/dist/{xychartDiagram-PRI3JC2R-BteofzPY.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
  313. package/dist/yacas-CWcjav-O.js +4 -0
  314. package/dist/z80-DpYS2lE7.js +4 -0
  315. package/dist/{zod-yTHHzJiv.js → zod-BFY2SnzC.js} +6 -6
  316. package/package.json +1 -1
  317. package/dist/_baseUniq-B_2Hw7zG.js +0 -380
  318. package/dist/apl-e1B5LPEL.js +0 -4
  319. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
  320. package/dist/asciiarmor-B-gwgesP.js +0 -4
  321. package/dist/asn1-DF2ckRB4.js +0 -4
  322. package/dist/blockDiagram-VD42YOAC-hD9KGMwe.js +0 -3131
  323. package/dist/brainfuck-4G-7_gq_.js +0 -4
  324. package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
  325. package/dist/chunk-ABZYJK2D-BK1Rtvs7.js +0 -2438
  326. package/dist/chunk-BNovOVIE.js +0 -28
  327. package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
  328. package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
  329. package/dist/chunk-EXTU4WIE-7ui7-6r0.js +0 -10
  330. package/dist/chunk-JZLCHNYA-B4cRqwyW.js +0 -4901
  331. package/dist/chunk-N4CR4FBY-B3gMBPd2.js +0 -65
  332. package/dist/chunk-QXUST7PY-Dd6bFvvl.js +0 -498
  333. package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
  334. package/dist/chunk-TZMSLE5B-CA_LyLfN.js +0 -63
  335. package/dist/classDiagram-2ON5EDUG-DX1IPeNG.js +0 -30
  336. package/dist/classDiagram-v2-WZHVMYZB-BOkyBkSn.js +0 -30
  337. package/dist/clojure-CUybM11R.js +0 -4
  338. package/dist/clone-Q4Fqwn6q.js +0 -9
  339. package/dist/cmake-BPjGcuDL.js +0 -4
  340. package/dist/cobol-BETk_nb6.js +0 -4
  341. package/dist/coffeescript-CManZxXL.js +0 -4
  342. package/dist/commonlisp-DWkn7GW8.js +0 -4
  343. package/dist/crystal-CCbg5EUH.js +0 -4
  344. package/dist/css-By8eo-XS.js +0 -4
  345. package/dist/cypher-DwfHg3nP.js +0 -4
  346. package/dist/d-Brs1wNbw.js +0 -4
  347. package/dist/dagre-6UL2VRFP-Dtksc2Ic.js +0 -296
  348. package/dist/diagram-QEK2KX5R-BiGjCFD8.js +0 -228
  349. package/dist/diff-DJIRmJ1g.js +0 -4
  350. package/dist/dist-BDzVdDo2.js +0 -8
  351. package/dist/dist-BH2Tq1S1.js +0 -5
  352. package/dist/dist-BIhBrzqg.js +0 -5
  353. package/dist/dist-BLCsvXTG.js +0 -6
  354. package/dist/dist-BNVtuFdd.js +0 -5
  355. package/dist/dist-CEJ6Lowi.js +0 -5
  356. package/dist/dist-CYoa69kj.js +0 -5
  357. package/dist/dist-CnZyXFq3.js +0 -8
  358. package/dist/dist-D-4HaJKc.js +0 -8
  359. package/dist/dist-DIGyvbg3.js +0 -5
  360. package/dist/dist-DIhaoCL4.js +0 -5
  361. package/dist/dist-DgQleHmb.js +0 -8
  362. package/dist/dist-JaoLzZmt.js +0 -5
  363. package/dist/dist-pEX0t8ZV.js +0 -6
  364. package/dist/dtd-Dyiazv4N.js +0 -4
  365. package/dist/dylan-D8Fcw7NA.js +0 -4
  366. package/dist/ecl-CjKp8Vii.js +0 -4
  367. package/dist/eiffel-K9ViOX5r.js +0 -4
  368. package/dist/elm-B5NVtRco.js +0 -4
  369. package/dist/erlang-BnLzgk7R.js +0 -4
  370. package/dist/factor-C7f9Jz5R.js +0 -4
  371. package/dist/flatten-Bbw7g6-K.js +0 -8
  372. package/dist/forth-rGM8jLao.js +0 -4
  373. package/dist/fortran-B3acSe0i.js +0 -4
  374. package/dist/ganttDiagram-JELNMOA3-BajNb0ER.js +0 -2170
  375. package/dist/gas-Bb1Vmv_N.js +0 -4
  376. package/dist/gherkin-C9Lyidgd.js +0 -4
  377. package/dist/gitGraphDiagram-V2S2FVAM-DOqdyiwH.js +0 -652
  378. package/dist/graphlib-Ns7y5crs.js +0 -359
  379. package/dist/groovy-DQk6XcGH.js +0 -4
  380. package/dist/hasIn-Deg7jl_j.js +0 -108
  381. package/dist/haskell-mV0Vw9gv.js +0 -4
  382. package/dist/haxe-DqxN89zH.js +0 -5
  383. package/dist/idl-ya8W561J.js +0 -4
  384. package/dist/infoDiagram-HS3SLOUP-BH1Wx7lK.js +0 -30
  385. package/dist/javascript-CgqgptVu.js +0 -4
  386. package/dist/julia-CFQ-HusI.js +0 -4
  387. package/dist/livescript-D__3TmDo.js +0 -4
  388. package/dist/lua-Bytcgj_W.js +0 -4
  389. package/dist/main-B1Jo_8pC.js +0 -4321
  390. package/dist/mathematica-DJhvVKvl.js +0 -4
  391. package/dist/mbox-IGHPCjfR.js +0 -4
  392. package/dist/memoize-BOtf2yFf.js +0 -17
  393. package/dist/merge-Be1CqGnU.js +0 -222
  394. package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
  395. package/dist/mermaid-CcP2SLvE.js +0 -1100
  396. package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
  397. package/dist/min-Dtgc8txR.js +0 -38
  398. package/dist/mirc-tcwvVugm.js +0 -4
  399. package/dist/mllike-Dx91i62r.js +0 -6
  400. package/dist/modelica-_SRt-yU5.js +0 -4
  401. package/dist/mscgen-GZrGS9gt.js +0 -6
  402. package/dist/mumps-Cv3ygyod.js +0 -4
  403. package/dist/nsis-BU7GeGbI.js +0 -4
  404. package/dist/ntriples-CL-FCYXb.js +0 -4
  405. package/dist/octave-Dc6_3DIu.js +0 -4
  406. package/dist/oz-DpUAJCXf.js +0 -4
  407. package/dist/pascal-B17mncXs.js +0 -4
  408. package/dist/perl-BTpK97q9.js +0 -4
  409. package/dist/pick-D1Qo8s2C.js +0 -43
  410. package/dist/pieDiagram-ADFJNKIX-QtR5ck48.js +0 -170
  411. package/dist/pig-CFb638Ap.js +0 -4
  412. package/dist/powershell-Cxo-_2A5.js +0 -4
  413. package/dist/properties-BPgT1xTB.js +0 -4
  414. package/dist/protobuf-BgHBaIIK.js +0 -4
  415. package/dist/pug-25-oS0SG.js +0 -4
  416. package/dist/puppet-DarIr20S.js +0 -4
  417. package/dist/python-BqmOsBsi.js +0 -4
  418. package/dist/q-D3QJCTup.js +0 -4
  419. package/dist/r-Cz_yBX4z.js +0 -4
  420. package/dist/rpm-DGOtYwAI.js +0 -5
  421. package/dist/ruby-DBZu4rPc.js +0 -4
  422. package/dist/sankeyDiagram-TZEHDZUN-DH-_Uzcr.js +0 -892
  423. package/dist/sas-Dd1D9qTq.js +0 -4
  424. package/dist/scheme-BmDjvTHX.js +0 -4
  425. package/dist/sequenceDiagram-WL72ISMW-DZrj5IJC.js +0 -3652
  426. package/dist/shell-BL8zFSaj.js +0 -4
  427. package/dist/sieve-BAx2WqUP.js +0 -4
  428. package/dist/smalltalk-CYRzF7VV.js +0 -4
  429. package/dist/sparql-YWaDRO4A.js +0 -4
  430. package/dist/stateDiagram-v2-4FDKWEC3-DAfwaV0Z.js +0 -29
  431. package/dist/stex-B5O-env2.js +0 -4
  432. package/dist/stylus-lYsyLFc1.js +0 -4
  433. package/dist/swift-ClQz9z1n.js +0 -4
  434. package/dist/tcl-B3jhsfqY.js +0 -4
  435. package/dist/textile-Cb1Dw7Aq.js +0 -4
  436. package/dist/timeline-definition-IT6M3QCI-O5etBvZb.js +0 -856
  437. package/dist/toml-nHZhetdO.js +0 -4
  438. package/dist/troff-DuJAGWKH.js +0 -4
  439. package/dist/ttcn-BxrcwP21.js +0 -4
  440. package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
  441. package/dist/turtle-zCq949as.js +0 -4
  442. package/dist/vb-De5hElus.js +0 -4
  443. package/dist/vbscript-Cypcpv4F.js +0 -4
  444. package/dist/velocity-Di7l-yhe.js +0 -4
  445. package/dist/verilog-Bzi-S3g2.js +0 -4
  446. package/dist/vhdl-B0ZZITaW.js +0 -4
  447. package/dist/webidl-0sviiRcN.js +0 -4
  448. package/dist/xquery-B4qMVWaB.js +0 -4
  449. package/dist/yacas-Jt25Fuv8.js +0 -4
  450. package/dist/z80-CrcbYzmp.js +0 -4
  451. /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
  452. /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
  453. /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
  454. /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
  455. /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
  456. /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
  457. /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
  458. /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
  459. /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
  460. /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
  461. /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
  462. /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
  463. /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
  464. /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
  465. /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
  466. /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
  467. /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
  468. /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
  469. /package/dist/{defaultLocale-BsfI21d_.js → defaultLocale-CMezyvMc.js} +0 -0
  470. /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
  471. /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
  472. /package/dist/{dist-Cds3J-EE.js → dist-BJ2IUa0l.js} +0 -0
  473. /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
  474. /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
  475. /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
  476. /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
  477. /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
  478. /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
  479. /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
  480. /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
  481. /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
  482. /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
  483. /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
  484. /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
  485. /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
  486. /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
  487. /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
  488. /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
  489. /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
  490. /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
  491. /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
  492. /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
  493. /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
  494. /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
  495. /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
  496. /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
  497. /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
  498. /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
  499. /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
  500. /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
  501. /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
  502. /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
  503. /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
  504. /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
  505. /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
  506. /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
  507. /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
  508. /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
  509. /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
  510. /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
  511. /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
  512. /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
  513. /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
  514. /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
  515. /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
  516. /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
  517. /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
  518. /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
  519. /package/dist/{purify.es-dp2utXxY.js → purify.es-DR5PNXwx.js} +0 -0
  520. /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
  521. /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
  522. /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
  523. /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
  524. /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
  525. /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
  526. /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
  527. /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
  528. /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
  529. /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
  530. /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
  531. /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
  532. /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
  533. /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
  534. /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
  535. /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
  536. /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
  537. /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
  538. /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
  539. /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
  540. /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
  541. /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
  542. /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
  543. /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
  544. /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
  545. /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
  546. /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
  547. /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
  548. /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
  549. /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
  550. /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
  551. /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
  552. /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
  553. /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
  554. /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
  555. /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
  556. /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
  557. /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
  558. /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
@@ -2,204 +2,11 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a;
5
- import { a as decodeEntities } from "./chunk-S3R3BYOJ-eotljhmB.js";
6
- import { i as log, r as __name, t as select_default } from "./src-DV3ha_nA.js";
7
- import { I as sanitizeText, N as renderKatexSanitized, O as hasKatex, s as common_default, y as getConfig } from "./chunk-ABZYJK2D-BK1Rtvs7.js";
8
- var defaultIconDimensions = Object.freeze({
9
- left: 0,
10
- top: 0,
11
- width: 16,
12
- height: 16
13
- }), defaultIconTransformations = Object.freeze({
14
- rotate: 0,
15
- vFlip: false,
16
- hFlip: false
17
- }), defaultIconProps = Object.freeze({
18
- ...defaultIconDimensions,
19
- ...defaultIconTransformations
20
- }), defaultExtendedIconProps = Object.freeze({
21
- ...defaultIconProps,
22
- body: "",
23
- hidden: false
24
- }), defaultIconSizeCustomisations = Object.freeze({
25
- width: null,
26
- height: null
27
- }), defaultIconCustomisations = Object.freeze({
28
- ...defaultIconSizeCustomisations,
29
- ...defaultIconTransformations
30
- }), stringToIcon = (e3, o, s, c = "") => {
31
- let l = e3.split(":");
32
- if (e3.slice(0, 1) === "@") {
33
- if (l.length < 2 || l.length > 3) return null;
34
- c = l.shift().slice(1);
35
- }
36
- if (l.length > 3 || !l.length) return null;
37
- if (l.length > 1) {
38
- let e4 = l.pop(), s2 = l.pop(), u2 = {
39
- provider: l.length > 0 ? l[0] : c,
40
- prefix: s2,
41
- name: e4
42
- };
43
- return o && !validateIconName(u2) ? null : u2;
44
- }
45
- let u = l[0], f = u.split("-");
46
- if (f.length > 1) {
47
- let e4 = {
48
- provider: c,
49
- prefix: f.shift(),
50
- name: f.join("-")
51
- };
52
- return o && !validateIconName(e4) ? null : e4;
53
- }
54
- if (s && c === "") {
55
- let e4 = {
56
- provider: c,
57
- prefix: "",
58
- name: u
59
- };
60
- return o && !validateIconName(e4, s) ? null : e4;
61
- }
62
- return null;
63
- }, validateIconName = (e3, o) => e3 ? !!((o && e3.prefix === "" || e3.prefix) && e3.name) : false;
64
- function mergeIconTransformations(e3, o) {
65
- let s = {};
66
- !e3.hFlip != !o.hFlip && (s.hFlip = true), !e3.vFlip != !o.vFlip && (s.vFlip = true);
67
- let c = ((e3.rotate || 0) + (o.rotate || 0)) % 4;
68
- return c && (s.rotate = c), s;
69
- }
70
- function mergeIconData(e3, o) {
71
- let s = mergeIconTransformations(e3, o);
72
- for (let c in defaultExtendedIconProps) c in defaultIconTransformations ? c in e3 && !(c in s) && (s[c] = defaultIconTransformations[c]) : c in o ? s[c] = o[c] : c in e3 && (s[c] = e3[c]);
73
- return s;
74
- }
75
- function getIconsTree(e3, o) {
76
- let s = e3.icons, c = e3.aliases || /* @__PURE__ */ Object.create(null), l = /* @__PURE__ */ Object.create(null);
77
- function u(e4) {
78
- if (s[e4]) return l[e4] = [];
79
- if (!(e4 in l)) {
80
- l[e4] = null;
81
- let o2 = c[e4] && c[e4].parent, s2 = o2 && u(o2);
82
- s2 && (l[e4] = [o2].concat(s2));
83
- }
84
- return l[e4];
85
- }
86
- return (o || Object.keys(s).concat(Object.keys(c))).forEach(u), l;
87
- }
88
- function internalGetIconData(e3, o, s) {
89
- let c = e3.icons, l = e3.aliases || /* @__PURE__ */ Object.create(null), u = {};
90
- function f(e4) {
91
- u = mergeIconData(c[e4] || l[e4], u);
92
- }
93
- return f(o), s.forEach(f), mergeIconData(e3, u);
94
- }
95
- function getIconData(e3, o) {
96
- if (e3.icons[o]) return internalGetIconData(e3, o, []);
97
- let s = getIconsTree(e3, [o])[o];
98
- return s ? internalGetIconData(e3, o, s) : null;
99
- }
100
- var unitsSplit = /(-?[0-9.]*[0-9]+[0-9.]*)/g, unitsTest = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
101
- function calculateSize(e3, o, s) {
102
- if (o === 1) return e3;
103
- if (s || (s = 100), typeof e3 == "number") return Math.ceil(e3 * o * s) / s;
104
- if (typeof e3 != "string") return e3;
105
- let c = e3.split(unitsSplit);
106
- if (c === null || !c.length) return e3;
107
- let l = [], u = c.shift(), f = unitsTest.test(u);
108
- for (; ; ) {
109
- if (f) {
110
- let e4 = parseFloat(u);
111
- isNaN(e4) ? l.push(u) : l.push(Math.ceil(e4 * o * s) / s);
112
- } else l.push(u);
113
- if (u = c.shift(), u === void 0) return l.join("");
114
- f = !f;
115
- }
116
- }
117
- function splitSVGDefs(e3, o = "defs") {
118
- let s = "", c = e3.indexOf("<" + o);
119
- for (; c >= 0; ) {
120
- let l = e3.indexOf(">", c), u = e3.indexOf("</" + o);
121
- if (l === -1 || u === -1) break;
122
- let f = e3.indexOf(">", u);
123
- if (f === -1) break;
124
- s += e3.slice(l + 1, u).trim(), e3 = e3.slice(0, c).trim() + e3.slice(f + 1);
125
- }
126
- return {
127
- defs: s,
128
- content: e3
129
- };
130
- }
131
- function mergeDefsAndContent(e3, o) {
132
- return e3 ? "<defs>" + e3 + "</defs>" + o : o;
133
- }
134
- function wrapSVGContent(e3, o, s) {
135
- let c = splitSVGDefs(e3);
136
- return mergeDefsAndContent(c.defs, o + c.content + s);
137
- }
138
- var isUnsetKeyword = (e3) => e3 === "unset" || e3 === "undefined" || e3 === "none";
139
- function iconToSVG(e3, o) {
140
- let s = {
141
- ...defaultIconProps,
142
- ...e3
143
- }, c = {
144
- ...defaultIconCustomisations,
145
- ...o
146
- }, l = {
147
- left: s.left,
148
- top: s.top,
149
- width: s.width,
150
- height: s.height
151
- }, u = s.body;
152
- [s, c].forEach((e4) => {
153
- let o2 = [], s2 = e4.hFlip, c2 = e4.vFlip, f2 = e4.rotate;
154
- s2 ? c2 ? f2 += 2 : (o2.push("translate(" + (l.width + l.left).toString() + " " + (0 - l.top).toString() + ")"), o2.push("scale(-1 1)"), l.top = l.left = 0) : c2 && (o2.push("translate(" + (0 - l.left).toString() + " " + (l.height + l.top).toString() + ")"), o2.push("scale(1 -1)"), l.top = l.left = 0);
155
- let p2;
156
- switch (f2 < 0 && (f2 -= Math.floor(f2 / 4) * 4), f2 %= 4, f2) {
157
- case 1:
158
- p2 = l.height / 2 + l.top, o2.unshift("rotate(90 " + p2.toString() + " " + p2.toString() + ")");
159
- break;
160
- case 2:
161
- o2.unshift("rotate(180 " + (l.width / 2 + l.left).toString() + " " + (l.height / 2 + l.top).toString() + ")");
162
- break;
163
- case 3:
164
- p2 = l.width / 2 + l.left, o2.unshift("rotate(-90 " + p2.toString() + " " + p2.toString() + ")");
165
- break;
166
- }
167
- f2 % 2 == 1 && (l.left !== l.top && (p2 = l.left, l.left = l.top, l.top = p2), l.width !== l.height && (p2 = l.width, l.width = l.height, l.height = p2)), o2.length && (u = wrapSVGContent(u, '<g transform="' + o2.join(" ") + '">', "</g>"));
168
- });
169
- let f = c.width, p = c.height, g = l.width, x = l.height, T, A;
170
- f === null ? (A = p === null ? "1em" : p === "auto" ? x : p, T = calculateSize(A, g / x)) : (T = f === "auto" ? g : f, A = p === null ? calculateSize(T, x / g) : p === "auto" ? x : p);
171
- let B = {}, Y = (e4, o2) => {
172
- isUnsetKeyword(o2) || (B[e4] = o2.toString());
173
- };
174
- Y("width", T), Y("height", A);
175
- let Z = [
176
- l.left,
177
- l.top,
178
- g,
179
- x
180
- ];
181
- return B.viewBox = Z.join(" "), {
182
- attributes: B,
183
- viewBox: Z,
184
- body: u
185
- };
186
- }
187
- var regex = /\sid="(\S+)"/g, randomPrefix = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), counter = 0;
188
- function replaceIDs(e3, o = randomPrefix) {
189
- let s = [], c;
190
- for (; c = regex.exec(e3); ) s.push(c[1]);
191
- if (!s.length) return e3;
192
- let l = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
193
- return s.forEach((s2) => {
194
- let c2 = typeof o == "function" ? o(s2) : o + (counter++).toString(), u = s2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
195
- e3 = e3.replace(RegExp('([#;"])(' + u + ')([")]|\\.[a-z])', "g"), "$1" + c2 + l + "$3");
196
- }), e3 = e3.replace(new RegExp(l, "g"), ""), e3;
197
- }
198
- function iconToHTML(e3, o) {
199
- let s = e3.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
200
- for (let e4 in o) s += " " + e4 + '="' + o[e4] + '"';
201
- return '<svg xmlns="http://www.w3.org/2000/svg"' + s + ">" + e3 + "</svg>";
202
- }
5
+ import { o as decodeEntities } from "./chunk-NSK5VX7P-BmmoJBbx.js";
6
+ import { n as log, t as select_default } from "./src-BwVZVGyf.js";
7
+ import { n as __name } from "./chunk-Y2CYZVJY-DX3DSigL.js";
8
+ import { A as hasKatex, F as renderKatexSanitized, b as getConfig, s as common_default, z as sanitizeText } from "./chunk-I66GZJ75-9xAsFrdW.js";
9
+ import { n as isIconAvailable, t as getIconSVG } from "./chunk-4I5QYGJK-CYJC3pkC.js";
203
10
  function L() {
204
11
  return {
205
12
  async: false,
@@ -214,12 +21,12 @@ function L() {
214
21
  walkTokens: null
215
22
  };
216
23
  }
217
- var O = L();
218
- function H(e3) {
219
- O = e3;
24
+ var T = L();
25
+ function G(e3) {
26
+ T = e3;
220
27
  }
221
28
  var E = { exec: () => null };
222
- function h(e3, o = "") {
29
+ function d(e3, o = "") {
223
30
  let s = typeof e3 == "string" ? e3 : e3.source, c = {
224
31
  replace: (e4, o2) => {
225
32
  let l = typeof o2 == "string" ? o2 : o2.source;
@@ -229,7 +36,13 @@ function h(e3, o = "") {
229
36
  };
230
37
  return c;
231
38
  }
232
- var m = {
39
+ var be = (() => {
40
+ try {
41
+ return true;
42
+ } catch {
43
+ return false;
44
+ }
45
+ })(), m = {
233
46
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
234
47
  outputLinkReplace: /\\([\[\]])/g,
235
48
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -286,89 +99,89 @@ var m = {
286
99
  fencesBeginRegex: (e3) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e3 - 1)}}(?:\`\`\`|~~~)`),
287
100
  headingBeginRegex: (e3) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e3 - 1)}}#`),
288
101
  htmlBeginRegex: (e3) => RegExp(`^ {0,${Math.min(3, e3 - 1)}}<(?:[a-z].*>|!--)`, "i")
289
- }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie = h(se).replace(/bull/g, j).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(), Te = h(se).replace(/bull/g, j).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(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ye = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pe = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), v = "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", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Se = h("^ {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", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), oe = h(F).replace("hr", C).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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), K = {
290
- blockquote: h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex(),
291
- code: be,
292
- def: ye,
293
- fences: Re,
294
- heading: Oe,
295
- hr: C,
296
- html: Se,
297
- lheading: ie,
298
- list: Pe,
299
- newline: xe,
300
- paragraph: oe,
102
+ }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, I = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d(ie).replace(/bull/g, F).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(), ye = d(ie).replace(/bull/g, F).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(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "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", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d("^ {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", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d(j).replace("hr", I).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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), K = {
103
+ blockquote: d(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(),
104
+ code: Te,
105
+ def: Se,
106
+ fences: Oe,
107
+ heading: we,
108
+ hr: I,
109
+ html: _e,
110
+ lheading: oe,
111
+ list: $e,
112
+ newline: Re,
113
+ paragraph: ae,
301
114
  table: E,
302
- text: we
303
- }, re = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), _e = {
115
+ text: Pe
116
+ }, re = d("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", I).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[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = {
304
117
  ...K,
305
- lheading: Te,
118
+ lheading: ye,
306
119
  table: re,
307
- paragraph: h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex()
308
- }, Le = {
120
+ paragraph: d(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex()
121
+ }, ze = {
309
122
  ...K,
310
- html: h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).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(),
123
+ html: d(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).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(),
311
124
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
312
125
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
313
126
  fences: E,
314
127
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
315
- paragraph: h(F).replace("hr", C).replace("heading", " *#{1,6} *[^\n]").replace("lheading", ie).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
316
- }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, pe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, qe = h(pe, "u").replace(/punct/g, D).getRegex(), ve = h(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ze = h(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ge = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h(/^<(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(), je = h(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h("^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", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he = h(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), de = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), X = {
128
+ paragraph: d(j).replace("hr", I).replace("heading", " *#{1,6} *[^\n]").replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
129
+ }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d(ce, "u").replace(/punct/g, D).getRegex(), He = d(ce, "u").replace(/punct/g, pe).getRegex(), he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d(he, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d(he, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d(/^<(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(), Qe = d(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d("^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", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = {
317
130
  _backpedal: E,
318
- anyPunctuation: He,
319
- autolink: Ne,
320
- blockSkip: Be,
321
- br: ae,
322
- code: ze,
131
+ anyPunctuation: Fe,
132
+ autolink: je,
133
+ blockSkip: ve,
134
+ br: le,
135
+ code: Ee,
323
136
  del: E,
324
- emStrongLDelim: qe,
325
- emStrongRDelimAst: De,
326
- emStrongRDelimUnd: Ge,
327
- escape: Me,
328
- link: Qe,
329
- nolink: de,
330
- punctuation: Ee,
331
- reflink: he,
332
- reflinkSearch: h("reflink|nolink(?!\\()", "g").replace("reflink", he).replace("nolink", de).getRegex(),
333
- tag: Fe,
334
- text: Ae,
137
+ emStrongLDelim: De,
138
+ emStrongRDelimAst: Ze,
139
+ emStrongRDelimUnd: Ne,
140
+ escape: Ae,
141
+ link: Ke,
142
+ nolink: ke,
143
+ punctuation: Ce,
144
+ reflink: de,
145
+ reflinkSearch: We,
146
+ tag: Ue,
147
+ text: Ie,
335
148
  url: E
336
- }, Ke = {
149
+ }, Xe = {
337
150
  ...X,
338
- link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(),
339
- reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex()
151
+ link: d(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(),
152
+ reflink: d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex()
340
153
  }, N = {
341
154
  ...X,
342
- emStrongRDelimAst: Ze,
343
- emStrongLDelim: ve,
344
- url: h(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
155
+ emStrongRDelimAst: Ge,
156
+ emStrongLDelim: He,
157
+ url: d(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
345
158
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
346
159
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
347
- text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
348
- }, We = {
160
+ text: d(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex()
161
+ }, Je = {
349
162
  ...N,
350
- br: h(ae).replace("{2,}", "*").getRegex(),
351
- text: h(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
352
- }, I = {
163
+ br: d(le).replace("{2,}", "*").getRegex(),
164
+ text: d(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
165
+ }, C = {
353
166
  normal: K,
354
- gfm: _e,
355
- pedantic: Le
167
+ gfm: Me,
168
+ pedantic: ze
356
169
  }, M = {
357
170
  normal: X,
358
171
  gfm: N,
359
- breaks: We,
360
- pedantic: Ke
361
- }, Xe = {
172
+ breaks: Je,
173
+ pedantic: Xe
174
+ }, Ve = {
362
175
  "&": "&amp;",
363
176
  "<": "&lt;",
364
177
  ">": "&gt;",
365
178
  '"': "&quot;",
366
179
  "'": "&#39;"
367
- }, ke = (e3) => Xe[e3];
180
+ }, ge = (e3) => Ve[e3];
368
181
  function w(e3, o) {
369
182
  if (o) {
370
- if (m.escapeTest.test(e3)) return e3.replace(m.escapeReplace, ke);
371
- } else if (m.escapeTestNoEncode.test(e3)) return e3.replace(m.escapeReplaceNoEncode, ke);
183
+ if (m.escapeTest.test(e3)) return e3.replace(m.escapeReplace, ge);
184
+ } else if (m.escapeTestNoEncode.test(e3)) return e3.replace(m.escapeReplaceNoEncode, ge);
372
185
  return e3;
373
186
  }
374
187
  function J(e3) {
@@ -403,7 +216,7 @@ function z(e3, o, s) {
403
216
  }
404
217
  return e3.slice(0, c - l);
405
218
  }
406
- function ge(e3, o) {
219
+ function fe(e3, o) {
407
220
  if (e3.indexOf(o[1]) === -1) return -1;
408
221
  let s = 0;
409
222
  for (let c = 0; c < e3.length; c++) if (e3[c] === "\\") c++;
@@ -411,10 +224,10 @@ function ge(e3, o) {
411
224
  else if (e3[c] === o[1] && (s--, s < 0)) return c;
412
225
  return s > 0 ? -2 : -1;
413
226
  }
414
- function fe(e3, o, s, c, l) {
227
+ function me(e3, o, s, c, l) {
415
228
  let u = o.href, f = o.title || null, p = e3[1].replace(l.other.outputLinkReplace, "$1");
416
229
  c.state.inLink = true;
417
- let g = {
230
+ let h = {
418
231
  type: e3[0].charAt(0) === "!" ? "image" : "link",
419
232
  raw: s,
420
233
  href: u,
@@ -422,9 +235,9 @@ function fe(e3, o, s, c, l) {
422
235
  text: p,
423
236
  tokens: c.inlineTokens(p)
424
237
  };
425
- return c.state.inLink = false, g;
238
+ return c.state.inLink = false, h;
426
239
  }
427
- function Je(e3, o, s) {
240
+ function Ye(e3, o, s) {
428
241
  let c = e3.match(s.other.indentCodeCompensation);
429
242
  if (c === null) return o;
430
243
  let l = c[1];
@@ -440,7 +253,7 @@ var y = class {
440
253
  __publicField(this, "options");
441
254
  __publicField(this, "rules");
442
255
  __publicField(this, "lexer");
443
- this.options = e3 || O;
256
+ this.options = e3 || T;
444
257
  }
445
258
  space(e3) {
446
259
  let o = this.rules.block.newline.exec(e3);
@@ -464,7 +277,7 @@ var y = class {
464
277
  fences(e3) {
465
278
  let o = this.rules.block.fences.exec(e3);
466
279
  if (o) {
467
- let e4 = o[0], s = Je(e4, o[3] || "", this.rules);
280
+ let e4 = o[0], s = Ye(e4, o[3] || "", this.rules);
468
281
  return {
469
282
  type: "code",
470
283
  raw: e4,
@@ -507,21 +320,21 @@ var y = class {
507
320
  else if (!o2) u.push(e4[f]);
508
321
  else break;
509
322
  e4 = e4.slice(f);
510
- let p = u.join("\n"), g = p.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
323
+ let p = u.join("\n"), h = p.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
511
324
  s = s ? `${s}
512
325
  ${p}` : p, c = c ? `${c}
513
- ${g}` : g;
514
- let x = this.lexer.state.top;
515
- if (this.lexer.state.top = true, this.lexer.blockTokens(g, l, true), this.lexer.state.top = x, e4.length === 0) break;
516
- let T = l.at(-1);
517
- if ((T == null ? void 0 : T.type) === "code") break;
518
- if ((T == null ? void 0 : T.type) === "blockquote") {
519
- let o3 = T, u2 = o3.raw + "\n" + e4.join("\n"), f2 = this.blockquote(u2);
326
+ ${h}` : h;
327
+ let g = this.lexer.state.top;
328
+ if (this.lexer.state.top = true, this.lexer.blockTokens(h, l, true), this.lexer.state.top = g, e4.length === 0) break;
329
+ let O = l.at(-1);
330
+ if ((O == null ? void 0 : O.type) === "code") break;
331
+ if ((O == null ? void 0 : O.type) === "blockquote") {
332
+ let o3 = O, u2 = o3.raw + "\n" + e4.join("\n"), f2 = this.blockquote(u2);
520
333
  l[l.length - 1] = f2, s = s.substring(0, s.length - o3.raw.length) + f2.raw, c = c.substring(0, c.length - o3.text.length) + f2.text;
521
334
  break;
522
- } else if ((T == null ? void 0 : T.type) === "list") {
523
- let o3 = T, u2 = o3.raw + "\n" + e4.join("\n"), f2 = this.list(u2);
524
- l[l.length - 1] = f2, s = s.substring(0, s.length - T.raw.length) + f2.raw, c = c.substring(0, c.length - o3.raw.length) + f2.raw, e4 = u2.substring(l.at(-1).raw.length).split("\n");
335
+ } else if ((O == null ? void 0 : O.type) === "list") {
336
+ let o3 = O, u2 = o3.raw + "\n" + e4.join("\n"), f2 = this.list(u2);
337
+ l[l.length - 1] = f2, s = s.substring(0, s.length - O.raw.length) + f2.raw, c = c.substring(0, c.length - o3.raw.length) + f2.raw, e4 = u2.substring(l.at(-1).raw.length).split("\n");
525
338
  continue;
526
339
  }
527
340
  }
@@ -550,26 +363,26 @@ ${g}` : g;
550
363
  let s2 = false, c2 = "", p2 = "";
551
364
  if (!(o = u.exec(e3)) || this.rules.block.hr.test(e3)) break;
552
365
  c2 = o[0], e3 = e3.substring(c2.length);
553
- let g = o[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e4) => " ".repeat(3 * e4.length)), x = e3.split("\n", 1)[0], T = !g.trim(), k = 0;
554
- if (this.options.pedantic ? (k = 2, p2 = g.trimStart()) : T ? k = o[1].length + 1 : (k = o[2].search(this.rules.other.nonSpaceChar), k = k > 4 ? 1 : k, p2 = g.slice(k), k += o[1].length), T && this.rules.other.blankLine.test(x) && (c2 += x + "\n", e3 = e3.substring(x.length + 1), s2 = true), !s2) {
555
- let o2 = this.rules.other.nextBulletRegex(k), s3 = this.rules.other.hrRegex(k), l2 = this.rules.other.fencesBeginRegex(k), u2 = this.rules.other.headingBeginRegex(k), f2 = this.rules.other.htmlBeginRegex(k);
366
+ let h = o[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e4) => " ".repeat(3 * e4.length)), g = e3.split("\n", 1)[0], O = !h.trim(), A = 0;
367
+ if (this.options.pedantic ? (A = 2, p2 = h.trimStart()) : O ? A = o[1].length + 1 : (A = o[2].search(this.rules.other.nonSpaceChar), A = A > 4 ? 1 : A, p2 = h.slice(A), A += o[1].length), O && this.rules.other.blankLine.test(g) && (c2 += g + "\n", e3 = e3.substring(g.length + 1), s2 = true), !s2) {
368
+ let o2 = this.rules.other.nextBulletRegex(A), s3 = this.rules.other.hrRegex(A), l2 = this.rules.other.fencesBeginRegex(A), u2 = this.rules.other.headingBeginRegex(A), f2 = this.rules.other.htmlBeginRegex(A);
556
369
  for (; e3; ) {
557
- let A2 = e3.split("\n", 1)[0], B2;
558
- if (x = A2, this.options.pedantic ? (x = x.replace(this.rules.other.listReplaceNesting, " "), B2 = x) : B2 = x.replace(this.rules.other.tabCharGlobal, " "), l2.test(x) || u2.test(x) || f2.test(x) || o2.test(x) || s3.test(x)) break;
559
- if (B2.search(this.rules.other.nonSpaceChar) >= k || !x.trim()) p2 += "\n" + B2.slice(k);
370
+ let R2 = e3.split("\n", 1)[0], B2;
371
+ if (g = R2, this.options.pedantic ? (g = g.replace(this.rules.other.listReplaceNesting, " "), B2 = g) : B2 = g.replace(this.rules.other.tabCharGlobal, " "), l2.test(g) || u2.test(g) || f2.test(g) || o2.test(g) || s3.test(g)) break;
372
+ if (B2.search(this.rules.other.nonSpaceChar) >= A || !g.trim()) p2 += "\n" + B2.slice(A);
560
373
  else {
561
- if (T || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || l2.test(g) || u2.test(g) || s3.test(g)) break;
562
- p2 += "\n" + x;
374
+ if (O || h.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || l2.test(h) || u2.test(h) || s3.test(h)) break;
375
+ p2 += "\n" + g;
563
376
  }
564
- !T && !x.trim() && (T = true), c2 += A2 + "\n", e3 = e3.substring(A2.length + 1), g = B2.slice(k);
377
+ !O && !g.trim() && (O = true), c2 += R2 + "\n", e3 = e3.substring(R2.length + 1), h = B2.slice(A);
565
378
  }
566
379
  }
567
380
  l.loose || (f ? l.loose = true : this.rules.other.doubleBlankLine.test(c2) && (f = true));
568
- let A = null, B;
569
- this.options.gfm && (A = this.rules.other.listIsTask.exec(p2), A && (B = A[0] !== "[ ] ", p2 = p2.replace(this.rules.other.listReplaceTask, ""))), l.items.push({
381
+ let R = null, B;
382
+ this.options.gfm && (R = this.rules.other.listIsTask.exec(p2), R && (B = R[0] !== "[ ] ", p2 = p2.replace(this.rules.other.listReplaceTask, ""))), l.items.push({
570
383
  type: "list_item",
571
384
  raw: c2,
572
- task: !!A,
385
+ task: !!R,
573
386
  checked: B,
574
387
  loose: false,
575
388
  text: p2,
@@ -698,7 +511,7 @@ ${g}` : g;
698
511
  let o2 = z(e4.slice(0, -1), "\\");
699
512
  if ((e4.length - o2.length) % 2 == 0) return;
700
513
  } else {
701
- let e5 = ge(o[2], "()");
514
+ let e5 = fe(o[2], "()");
702
515
  if (e5 === -2) return;
703
516
  if (e5 > -1) {
704
517
  let s2 = (o[0].indexOf("!") === 0 ? 5 : 4) + o[1].length + e5;
@@ -710,7 +523,7 @@ ${g}` : g;
710
523
  let e5 = this.rules.other.pedanticHrefTitle.exec(s);
711
524
  e5 && (s = e5[1], c = e5[3]);
712
525
  } else c = o[3] ? o[3].slice(1, -1) : "";
713
- return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (s = this.options.pedantic && !this.rules.other.endAngleBracket.test(e4) ? s.slice(1) : s.slice(1, -1)), fe(o, {
526
+ return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (s = this.options.pedantic && !this.rules.other.endAngleBracket.test(e4) ? s.slice(1) : s.slice(1, -1)), me(o, {
714
527
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
715
528
  title: c && c.replace(this.rules.inline.anyPunctuation, "$1")
716
529
  }, o[0], this.lexer, this.rules);
@@ -728,14 +541,14 @@ ${g}` : g;
728
541
  text: e5
729
542
  };
730
543
  }
731
- return fe(s, e4, s[0], this.lexer, this.rules);
544
+ return me(s, e4, s[0], this.lexer, this.rules);
732
545
  }
733
546
  }
734
547
  emStrong(e3, o, s = "") {
735
548
  let c = this.rules.inline.emStrongLDelim.exec(e3);
736
549
  if (!(!c || c[3] && s.match(this.rules.other.unicodeAlphaNumeric)) && (!(c[1] || c[2]) || !s || this.rules.inline.punctuation.exec(s))) {
737
- let s2 = [...c[0]].length - 1, l, u, f = s2, p = 0, g = c[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
738
- for (g.lastIndex = 0, o = o.slice(-1 * e3.length + s2); (c = g.exec(o)) != null; ) {
550
+ let s2 = [...c[0]].length - 1, l, u, f = s2, p = 0, h = c[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
551
+ for (h.lastIndex = 0, o = o.slice(-1 * e3.length + s2); (c = h.exec(o)) != null; ) {
739
552
  if (l = c[1] || c[2] || c[3] || c[4] || c[5] || c[6], !l) continue;
740
553
  if (u = [...l].length, c[3] || c[4]) {
741
554
  f += u;
@@ -746,22 +559,22 @@ ${g}` : g;
746
559
  }
747
560
  if (f -= u, f > 0) continue;
748
561
  u = Math.min(u, u + f + p);
749
- let o2 = [...c[0]][0].length, g2 = e3.slice(0, s2 + c.index + o2 + u);
562
+ let o2 = [...c[0]][0].length, h2 = e3.slice(0, s2 + c.index + o2 + u);
750
563
  if (Math.min(s2, u) % 2) {
751
- let e4 = g2.slice(1, -1);
564
+ let e4 = h2.slice(1, -1);
752
565
  return {
753
566
  type: "em",
754
- raw: g2,
567
+ raw: h2,
755
568
  text: e4,
756
569
  tokens: this.lexer.inlineTokens(e4)
757
570
  };
758
571
  }
759
- let x = g2.slice(2, -2);
572
+ let g = h2.slice(2, -2);
760
573
  return {
761
574
  type: "strong",
762
- raw: g2,
763
- text: x,
764
- tokens: this.lexer.inlineTokens(x)
575
+ raw: h2,
576
+ text: g,
577
+ tokens: this.lexer.inlineTokens(g)
765
578
  };
766
579
  }
767
580
  }
@@ -848,28 +661,28 @@ ${g}` : g;
848
661
  };
849
662
  }
850
663
  }
851
- }, b = class e {
664
+ }, x = class e {
852
665
  constructor(e3) {
853
666
  __publicField(this, "tokens");
854
667
  __publicField(this, "options");
855
668
  __publicField(this, "state");
856
669
  __publicField(this, "tokenizer");
857
670
  __publicField(this, "inlineQueue");
858
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e3 || O, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
671
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e3 || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
859
672
  inLink: false,
860
673
  inRawBlock: false,
861
674
  top: true
862
675
  };
863
676
  let o = {
864
677
  other: m,
865
- block: I.normal,
678
+ block: C.normal,
866
679
  inline: M.normal
867
680
  };
868
- this.options.pedantic ? (o.block = I.pedantic, o.inline = M.pedantic) : this.options.gfm && (o.block = I.gfm, this.options.breaks ? o.inline = M.breaks : o.inline = M.gfm), this.tokenizer.rules = o;
681
+ this.options.pedantic ? (o.block = C.pedantic, o.inline = M.pedantic) : this.options.gfm && (o.block = C.gfm, this.options.breaks ? o.inline = M.breaks : o.inline = M.gfm), this.tokenizer.rules = o;
869
682
  }
870
683
  static get rules() {
871
684
  return {
872
- block: I,
685
+ block: C,
873
686
  inline: M
874
687
  };
875
688
  }
@@ -980,19 +793,21 @@ ${g}` : g;
980
793
  }), o;
981
794
  }
982
795
  inlineTokens(e3, o = []) {
983
- var _a2, _b, _c;
796
+ var _a2, _b, _c, _d, _e2;
984
797
  let s = e3, c = null;
985
798
  if (this.tokens.links) {
986
799
  let e4 = Object.keys(this.tokens.links);
987
800
  if (e4.length > 0) for (; (c = this.tokenizer.rules.inline.reflinkSearch.exec(s)) != null; ) e4.includes(c[0].slice(c[0].lastIndexOf("[") + 1, -1)) && (s = s.slice(0, c.index) + "[" + "a".repeat(c[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
988
801
  }
989
802
  for (; (c = this.tokenizer.rules.inline.anyPunctuation.exec(s)) != null; ) s = s.slice(0, c.index) + "++" + s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
990
- for (; (c = this.tokenizer.rules.inline.blockSkip.exec(s)) != null; ) s = s.slice(0, c.index) + "[" + "a".repeat(c[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
991
- let l = false, u = "";
803
+ let l;
804
+ for (; (c = this.tokenizer.rules.inline.blockSkip.exec(s)) != null; ) l = c[2] ? c[2].length : 0, s = s.slice(0, c.index + l) + "[" + "a".repeat(c[0].length - l - 2) + "]" + s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
805
+ s = ((_b = (_a2 = this.options.hooks) == null ? void 0 : _a2.emStrongMask) == null ? void 0 : _b.call({ lexer: this }, s)) ?? s;
806
+ let u = false, f = "";
992
807
  for (; e3; ) {
993
- l || (u = ""), l = false;
808
+ u || (f = ""), u = false;
994
809
  let c2;
995
- if ((_b = (_a2 = this.options.extensions) == null ? void 0 : _a2.inline) == null ? void 0 : _b.some((s2) => (c2 = s2.call({ lexer: this }, e3, o)) ? (e3 = e3.substring(c2.raw.length), o.push(c2), true) : false)) continue;
810
+ if ((_d = (_c = this.options.extensions) == null ? void 0 : _c.inline) == null ? void 0 : _d.some((s2) => (c2 = s2.call({ lexer: this }, e3, o)) ? (e3 = e3.substring(c2.raw.length), o.push(c2), true) : false)) continue;
996
811
  if (c2 = this.tokenizer.escape(e3)) {
997
812
  e3 = e3.substring(c2.raw.length), o.push(c2);
998
813
  continue;
@@ -1011,7 +826,7 @@ ${g}` : g;
1011
826
  c2.type === "text" && (s2 == null ? void 0 : s2.type) === "text" ? (s2.raw += c2.raw, s2.text += c2.text) : o.push(c2);
1012
827
  continue;
1013
828
  }
1014
- if (c2 = this.tokenizer.emStrong(e3, s, u)) {
829
+ if (c2 = this.tokenizer.emStrong(e3, s, f)) {
1015
830
  e3 = e3.substring(c2.raw.length), o.push(c2);
1016
831
  continue;
1017
832
  }
@@ -1035,15 +850,15 @@ ${g}` : g;
1035
850
  e3 = e3.substring(c2.raw.length), o.push(c2);
1036
851
  continue;
1037
852
  }
1038
- let f = e3;
1039
- if ((_c = this.options.extensions) == null ? void 0 : _c.startInline) {
853
+ let l2 = e3;
854
+ if ((_e2 = this.options.extensions) == null ? void 0 : _e2.startInline) {
1040
855
  let o2 = Infinity, s2 = e3.slice(1), c3;
1041
856
  this.options.extensions.startInline.forEach((e4) => {
1042
857
  c3 = e4.call({ lexer: this }, s2), typeof c3 == "number" && c3 >= 0 && (o2 = Math.min(o2, c3));
1043
- }), o2 < Infinity && o2 >= 0 && (f = e3.substring(0, o2 + 1));
858
+ }), o2 < Infinity && o2 >= 0 && (l2 = e3.substring(0, o2 + 1));
1044
859
  }
1045
- if (c2 = this.tokenizer.inlineText(f)) {
1046
- e3 = e3.substring(c2.raw.length), c2.raw.slice(-1) !== "_" && (u = c2.raw.slice(-1)), l = true;
860
+ if (c2 = this.tokenizer.inlineText(l2)) {
861
+ e3 = e3.substring(c2.raw.length), c2.raw.slice(-1) !== "_" && (f = c2.raw.slice(-1)), u = true;
1047
862
  let s2 = o.at(-1);
1048
863
  (s2 == null ? void 0 : s2.type) === "text" ? (s2.raw += c2.raw, s2.text += c2.text) : o.push(c2);
1049
864
  continue;
@@ -1062,7 +877,7 @@ ${g}` : g;
1062
877
  constructor(e3) {
1063
878
  __publicField(this, "options");
1064
879
  __publicField(this, "parser");
1065
- this.options = e3 || O;
880
+ this.options = e3 || T;
1066
881
  }
1067
882
  space(e3) {
1068
883
  return "";
@@ -1177,7 +992,7 @@ ${e3}</tr>
1177
992
  text(e3) {
1178
993
  return "tokens" in e3 && e3.tokens ? this.parser.parseInline(e3.tokens) : "escaped" in e3 && e3.escaped ? e3.text : w(e3.text);
1179
994
  }
1180
- }, S = class {
995
+ }, $ = class {
1181
996
  strong({ text: e3 }) {
1182
997
  return e3;
1183
998
  }
@@ -1205,12 +1020,12 @@ ${e3}</tr>
1205
1020
  br() {
1206
1021
  return "";
1207
1022
  }
1208
- }, R = class e2 {
1023
+ }, b = class e2 {
1209
1024
  constructor(e3) {
1210
1025
  __publicField(this, "options");
1211
1026
  __publicField(this, "renderer");
1212
1027
  __publicField(this, "textRenderer");
1213
- this.options = e3 || O, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new S();
1028
+ this.options = e3 || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
1214
1029
  }
1215
1030
  static parse(o, s) {
1216
1031
  return new e2(s).parse(o);
@@ -1363,11 +1178,11 @@ ${e3}</tr>
1363
1178
  }
1364
1179
  return s;
1365
1180
  }
1366
- }, $ = (_a = class {
1181
+ }, S = (_a = class {
1367
1182
  constructor(e3) {
1368
1183
  __publicField(this, "options");
1369
1184
  __publicField(this, "block");
1370
- this.options = e3 || O;
1185
+ this.options = e3 || T;
1371
1186
  }
1372
1187
  preprocess(e3) {
1373
1188
  return e3;
@@ -1378,13 +1193,21 @@ ${e3}</tr>
1378
1193
  processAllTokens(e3) {
1379
1194
  return e3;
1380
1195
  }
1196
+ emStrongMask(e3) {
1197
+ return e3;
1198
+ }
1381
1199
  provideLexer() {
1382
- return this.block ? b.lex : b.lexInline;
1200
+ return this.block ? x.lex : x.lexInline;
1383
1201
  }
1384
1202
  provideParser() {
1385
- return this.block ? R.parse : R.parseInline;
1203
+ return this.block ? b.parse : b.parseInline;
1386
1204
  }
1387
1205
  }, __publicField(_a, "passThroughHooks", /* @__PURE__ */ new Set([
1206
+ "preprocess",
1207
+ "postprocess",
1208
+ "processAllTokens",
1209
+ "emStrongMask"
1210
+ ])), __publicField(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set([
1388
1211
  "preprocess",
1389
1212
  "postprocess",
1390
1213
  "processAllTokens"
@@ -1394,12 +1217,12 @@ ${e3}</tr>
1394
1217
  __publicField(this, "options", this.setOptions);
1395
1218
  __publicField(this, "parse", this.parseMarkdown(true));
1396
1219
  __publicField(this, "parseInline", this.parseMarkdown(false));
1397
- __publicField(this, "Parser", R);
1220
+ __publicField(this, "Parser", b);
1398
1221
  __publicField(this, "Renderer", P);
1399
- __publicField(this, "TextRenderer", S);
1400
- __publicField(this, "Lexer", b);
1222
+ __publicField(this, "TextRenderer", $);
1223
+ __publicField(this, "Lexer", x);
1401
1224
  __publicField(this, "Tokenizer", y);
1402
- __publicField(this, "Hooks", $);
1225
+ __publicField(this, "Hooks", S);
1403
1226
  this.use(...e3);
1404
1227
  }
1405
1228
  walkTokens(e3, o) {
@@ -1480,16 +1303,23 @@ ${e3}</tr>
1480
1303
  s.tokenizer = o2;
1481
1304
  }
1482
1305
  if (e4.hooks) {
1483
- let o2 = this.defaults.hooks || new $();
1306
+ let o2 = this.defaults.hooks || new S();
1484
1307
  for (let s2 in e4.hooks) {
1485
1308
  if (!(s2 in o2)) throw Error(`hook '${s2}' does not exist`);
1486
1309
  if (["options", "block"].includes(s2)) continue;
1487
1310
  let c = s2, l = e4.hooks[c], u = o2[c];
1488
- $.passThroughHooks.has(s2) ? o2[c] = (e5) => {
1489
- if (this.defaults.async) return Promise.resolve(l.call(o2, e5)).then((e6) => u.call(o2, e6));
1490
- let s3 = l.call(o2, e5);
1491
- return u.call(o2, s3);
1311
+ S.passThroughHooks.has(s2) ? o2[c] = (e5) => {
1312
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
1313
+ let s3 = await l.call(o2, e5);
1314
+ return u.call(o2, s3);
1315
+ })();
1316
+ let c2 = l.call(o2, e5);
1317
+ return u.call(o2, c2);
1492
1318
  } : o2[c] = (...e5) => {
1319
+ if (this.defaults.async) return (async () => {
1320
+ let s4 = await l.apply(o2, e5);
1321
+ return s4 === false && (s4 = await u.apply(o2, e5)), s4;
1322
+ })();
1493
1323
  let s3 = l.apply(o2, e5);
1494
1324
  return s3 === false && (s3 = u.apply(o2, e5)), s3;
1495
1325
  };
@@ -1516,10 +1346,10 @@ ${e3}</tr>
1516
1346
  }, this;
1517
1347
  }
1518
1348
  lexer(e3, o) {
1519
- return b.lex(e3, o ?? this.defaults);
1349
+ return x.lex(e3, o ?? this.defaults);
1520
1350
  }
1521
1351
  parser(e3, o) {
1522
- return R.parse(e3, o ?? this.defaults);
1352
+ return b.parse(e3, o ?? this.defaults);
1523
1353
  }
1524
1354
  parseMarkdown(e3) {
1525
1355
  return (o, s) => {
@@ -1530,15 +1360,18 @@ ${e3}</tr>
1530
1360
  if (this.defaults.async === true && c.async === false) return u(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
1531
1361
  if (typeof o > "u" || o === null) return u(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1532
1362
  if (typeof o != "string") return u(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(o) + ", string expected"));
1533
- l.hooks && (l.hooks.options = l, l.hooks.block = e3);
1534
- let f = l.hooks ? l.hooks.provideLexer() : e3 ? b.lex : b.lexInline, p = l.hooks ? l.hooks.provideParser() : e3 ? R.parse : R.parseInline;
1535
- if (l.async) return Promise.resolve(l.hooks ? l.hooks.preprocess(o) : o).then((e4) => f(e4, l)).then((e4) => l.hooks ? l.hooks.processAllTokens(e4) : e4).then((e4) => l.walkTokens ? Promise.all(this.walkTokens(e4, l.walkTokens)).then(() => e4) : e4).then((e4) => p(e4, l)).then((e4) => l.hooks ? l.hooks.postprocess(e4) : e4).catch(u);
1363
+ if (l.hooks && (l.hooks.options = l, l.hooks.block = e3), l.async) return (async () => {
1364
+ let s2 = l.hooks ? await l.hooks.preprocess(o) : o, c2 = await (l.hooks ? await l.hooks.provideLexer() : e3 ? x.lex : x.lexInline)(s2, l), u2 = l.hooks ? await l.hooks.processAllTokens(c2) : c2;
1365
+ l.walkTokens && await Promise.all(this.walkTokens(u2, l.walkTokens));
1366
+ let f = await (l.hooks ? await l.hooks.provideParser() : e3 ? b.parse : b.parseInline)(u2, l);
1367
+ return l.hooks ? await l.hooks.postprocess(f) : f;
1368
+ })().catch(u);
1536
1369
  try {
1537
1370
  l.hooks && (o = l.hooks.preprocess(o));
1538
- let e4 = f(o, l);
1539
- l.hooks && (e4 = l.hooks.processAllTokens(e4)), l.walkTokens && this.walkTokens(e4, l.walkTokens);
1540
- let s2 = p(e4, l);
1541
- return l.hooks && (s2 = l.hooks.postprocess(s2)), s2;
1371
+ let s2 = (l.hooks ? l.hooks.provideLexer() : e3 ? x.lex : x.lexInline)(o, l);
1372
+ l.hooks && (s2 = l.hooks.processAllTokens(s2)), l.walkTokens && this.walkTokens(s2, l.walkTokens);
1373
+ let c2 = (l.hooks ? l.hooks.provideParser() : e3 ? b.parse : b.parseInline)(s2, l);
1374
+ return l.hooks && (c2 = l.hooks.postprocess(c2)), c2;
1542
1375
  } catch (e4) {
1543
1376
  return u(e4);
1544
1377
  }
@@ -1555,16 +1388,16 @@ ${e3}</tr>
1555
1388
  };
1556
1389
  }
1557
1390
  }();
1558
- function d(e3, o) {
1391
+ function k(e3, o) {
1559
1392
  return _.parse(e3, o);
1560
1393
  }
1561
- d.options = d.setOptions = function(e3) {
1562
- return _.setOptions(e3), d.defaults = _.defaults, H(d.defaults), d;
1563
- }, d.getDefaults = L, d.defaults = O, d.use = function(...e3) {
1564
- return _.use(...e3), d.defaults = _.defaults, H(d.defaults), d;
1565
- }, d.walkTokens = function(e3, o) {
1394
+ k.options = k.setOptions = function(e3) {
1395
+ return _.setOptions(e3), k.defaults = _.defaults, G(k.defaults), k;
1396
+ }, k.getDefaults = L, k.defaults = T, k.use = function(...e3) {
1397
+ return _.use(...e3), k.defaults = _.defaults, G(k.defaults), k;
1398
+ }, k.walkTokens = function(e3, o) {
1566
1399
  return _.walkTokens(e3, o);
1567
- }, d.parseInline = _.parseInline, d.Parser = R, d.parser = R.parse, d.Renderer = P, d.TextRenderer = S, d.Lexer = b, d.lexer = b.lex, d.Tokenizer = y, d.Hooks = $, d.parse = d, d.options, d.setOptions, d.use, d.walkTokens, d.parseInline, R.parse, b.lex;
1400
+ }, k.parseInline = _.parseInline, k.Parser = b, k.parser = b.parse, k.Renderer = P, k.TextRenderer = $, k.Lexer = x, k.lexer = x.lex, k.Tokenizer = y, k.Hooks = S, k.parse = k, k.options, k.setOptions, k.use, k.walkTokens, k.parseInline, b.parse, x.lex;
1568
1401
  function dedent(e3) {
1569
1402
  var o = [...arguments].slice(1), s = Array.from(typeof e3 == "string" ? [e3] : e3);
1570
1403
  s[s.length - 1] = s[s.length - 1].replace(/\r?\n([\t ]*)$/, "");
@@ -1576,7 +1409,8 @@ function dedent(e3) {
1576
1409
  })) : e4;
1577
1410
  }, []);
1578
1411
  if (c.length) {
1579
- var l = RegExp("\n[ ]{" + Math.min.apply(Math, c) + "}", "g");
1412
+ var l = RegExp(`
1413
+ [ ]{${Math.min.apply(Math, c)}}`, "g");
1580
1414
  s = s.map(function(e4) {
1581
1415
  return e4.replace(l, "\n");
1582
1416
  });
@@ -1586,71 +1420,29 @@ function dedent(e3) {
1586
1420
  return o.forEach(function(e4, o2) {
1587
1421
  var c2 = u.match(/(?:^|\n)( *)$/), l2 = c2 ? c2[1] : "", f = e4;
1588
1422
  typeof e4 == "string" && e4.includes("\n") && (f = String(e4).split("\n").map(function(e5, o3) {
1589
- return o3 === 0 ? e5 : "" + l2 + e5;
1423
+ return o3 === 0 ? e5 : `${l2}${e5}`;
1590
1424
  }).join("\n")), u += f + s[o2 + 1];
1591
1425
  }), u;
1592
1426
  }
1593
- var unknownIcon = {
1594
- body: '<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',
1595
- height: 80,
1596
- width: 80
1597
- }, iconsStore = /* @__PURE__ */ new Map(), loaderStore = /* @__PURE__ */ new Map(), registerIconPacks = /* @__PURE__ */ __name((e3) => {
1598
- for (let s of e3) {
1599
- if (!s.name) throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
1600
- if (log.debug("Registering icon pack:", s.name), "loader" in s) loaderStore.set(s.name, s.loader);
1601
- else if ("icons" in s) iconsStore.set(s.name, s.icons);
1602
- else throw log.error("Invalid icon loader:", s), Error('Invalid icon loader. Must have either "icons" or "loader" property.');
1603
- }
1604
- }, "registerIconPacks"), getRegisteredIconData = /* @__PURE__ */ __name(async (e3, s) => {
1605
- let c = stringToIcon(e3, true, s !== void 0);
1606
- if (!c) throw Error(`Invalid icon name: ${e3}`);
1607
- let l = c.prefix || s;
1608
- if (!l) throw Error(`Icon name must contain a prefix: ${e3}`);
1609
- let u = iconsStore.get(l);
1610
- if (!u) {
1611
- let e4 = loaderStore.get(l);
1612
- if (!e4) throw Error(`Icon set not found: ${c.prefix}`);
1613
- try {
1614
- u = {
1615
- ...await e4(),
1616
- prefix: l
1617
- }, iconsStore.set(l, u);
1618
- } catch (e5) {
1619
- throw log.error(e5), Error(`Failed to load icon set: ${c.prefix}`);
1620
- }
1621
- }
1622
- let f = getIconData(u, c.name);
1623
- if (!f) throw Error(`Icon not found: ${e3}`);
1624
- return f;
1625
- }, "getRegisteredIconData"), isIconAvailable = /* @__PURE__ */ __name(async (e3) => {
1626
- try {
1627
- return await getRegisteredIconData(e3), true;
1628
- } catch {
1629
- return false;
1630
- }
1631
- }, "isIconAvailable"), getIconSVG = /* @__PURE__ */ __name(async (e3, s, c) => {
1632
- let u;
1633
- try {
1634
- u = await getRegisteredIconData(e3, s == null ? void 0 : s.fallbackPrefix);
1635
- } catch (e4) {
1636
- log.error(e4), u = unknownIcon;
1637
- }
1638
- let f = iconToSVG(u, s);
1639
- return sanitizeText(iconToHTML(replaceIDs(f.body), {
1640
- ...f.attributes,
1641
- ...c
1642
- }), getConfig());
1643
- }, "getIconSVG");
1644
1427
  function preprocessMarkdown(e3, { markdownAutoWrap: o }) {
1645
- let s = dedent(e3.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1646
- return o === false ? s.replace(/ /g, "&nbsp;") : s;
1428
+ return dedent(e3.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1647
1429
  }
1648
1430
  __name(preprocessMarkdown, "preprocessMarkdown");
1431
+ function nonMarkdownToLines(e3) {
1432
+ return e3.split(/\\n|\n|<br\s*\/?>/gi).map((e4) => {
1433
+ var _a2;
1434
+ return ((_a2 = e4.trim().match(/<[^>]+>|[^\s<>]+/g)) == null ? void 0 : _a2.map((e5) => ({
1435
+ content: e5,
1436
+ type: "normal"
1437
+ }))) ?? [];
1438
+ });
1439
+ }
1440
+ __name(nonMarkdownToLines, "nonMarkdownToLines");
1649
1441
  function markdownToLines(e3, o = {}) {
1650
- let c = preprocessMarkdown(e3, o), l = d.lexer(c), u = [[]], f = 0;
1442
+ let s = preprocessMarkdown(e3, o), l = k.lexer(s), u = [[]], f = 0;
1651
1443
  function p(e4, o2 = "normal") {
1652
- e4.type === "text" ? e4.text.split("\n").forEach((e5, s) => {
1653
- s !== 0 && (f++, u.push([])), e5.split(" ").forEach((e6) => {
1444
+ e4.type === "text" ? e4.text.split("\n").forEach((e5, s2) => {
1445
+ s2 !== 0 && (f++, u.push([])), e5.split(" ").forEach((e6) => {
1654
1446
  e6 = e6.replace(/&#39;/g, "'"), e6 && u[f].push({
1655
1447
  content: e6,
1656
1448
  type: o2
@@ -1677,11 +1469,15 @@ function markdownToLines(e3, o = {}) {
1677
1469
  }), u;
1678
1470
  }
1679
1471
  __name(markdownToLines, "markdownToLines");
1680
- function markdownToHTML(e3, { markdownAutoWrap: c } = {}) {
1681
- let l = d.lexer(e3);
1472
+ function nonMarkdownToHTML(e3) {
1473
+ return e3 ? `<p>${e3.replace(/\\n|\n/g, "<br />")}</p>` : "";
1474
+ }
1475
+ __name(nonMarkdownToHTML, "nonMarkdownToHTML");
1476
+ function markdownToHTML(e3, { markdownAutoWrap: s } = {}) {
1477
+ let l = k.lexer(e3);
1682
1478
  function u(e4) {
1683
1479
  var _a2, _b, _c;
1684
- return e4.type === "text" ? c === false ? e4.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e4.text.replace(/\n */g, "<br/>") : e4.type === "strong" ? `<strong>${(_a2 = e4.tokens) == null ? void 0 : _a2.map(u).join("")}</strong>` : e4.type === "em" ? `<em>${(_b = e4.tokens) == null ? void 0 : _b.map(u).join("")}</em>` : e4.type === "paragraph" ? `<p>${(_c = e4.tokens) == null ? void 0 : _c.map(u).join("")}</p>` : e4.type === "space" ? "" : e4.type === "html" ? `${e4.text}` : e4.type === "escape" ? e4.text : (log.warn(`Unsupported markdown: ${e4.type}`), e4.raw);
1480
+ return e4.type === "text" ? s === false ? e4.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e4.text.replace(/\n */g, "<br/>") : e4.type === "strong" ? `<strong>${(_a2 = e4.tokens) == null ? void 0 : _a2.map(u).join("")}</strong>` : e4.type === "em" ? `<em>${(_b = e4.tokens) == null ? void 0 : _b.map(u).join("")}</em>` : e4.type === "paragraph" ? `<p>${(_c = e4.tokens) == null ? void 0 : _c.map(u).join("")}</p>` : e4.type === "space" ? "" : e4.type === "html" ? `${e4.text}` : e4.type === "escape" ? e4.text : (log.warn(`Unsupported markdown: ${e4.type}`), e4.raw);
1685
1481
  }
1686
1482
  return __name(u, "output"), l.map(u).join("");
1687
1483
  }
@@ -1744,17 +1540,19 @@ function applyStyle(e3, o) {
1744
1540
  o && e3.attr("style", o);
1745
1541
  }
1746
1542
  __name(applyStyle, "applyStyle");
1747
- async function addHtmlSpan(e3, o, s, c, x = false, T = getConfig()) {
1748
- let k = e3.append("foreignObject");
1749
- k.attr("width", `${10 * s}px`), k.attr("height", `${10 * s}px`);
1750
- let A = k.append("xhtml:div"), B = hasKatex(o.label) ? await renderKatexSanitized(o.label.replace(common_default.lineBreakRegex, "\n"), T) : sanitizeText(o.label, T), G = o.isNode ? "nodeLabel" : "edgeLabel", Y = A.append("span");
1751
- Y.html(B), applyStyle(Y, o.labelStyle), Y.attr("class", `${G} ${c}`), applyStyle(A, o.labelStyle), A.style("display", "table-cell"), A.style("white-space", "nowrap"), A.style("line-height", "1.5"), A.style("max-width", s + "px"), A.style("text-align", "center"), A.attr("xmlns", "http://www.w3.org/1999/xhtml"), x && A.attr("class", "labelBkg");
1752
- let Z = A.node().getBoundingClientRect();
1753
- return Z.width === s && (A.style("display", "table"), A.style("white-space", "break-spaces"), A.style("width", s + "px"), Z = A.node().getBoundingClientRect()), k.node();
1543
+ var maxSafeSizeForWidth = 16384;
1544
+ async function addHtmlSpan(e3, o, s, c, g = false, O = getConfig()) {
1545
+ let A = e3.append("foreignObject");
1546
+ A.attr("width", `${Math.min(10 * s, maxSafeSizeForWidth)}px`), A.attr("height", `${Math.min(10 * s, maxSafeSizeForWidth)}px`);
1547
+ let R = A.append("xhtml:div"), B = hasKatex(o.label) ? await renderKatexSanitized(o.label.replace(common_default.lineBreakRegex, "\n"), O) : sanitizeText(o.label, O), H = o.isNode ? "nodeLabel" : "edgeLabel", Y = R.append("span");
1548
+ Y.html(B), applyStyle(Y, o.labelStyle), Y.attr("class", `${H} ${c}`), applyStyle(R, o.labelStyle), R.style("display", "table-cell"), R.style("white-space", "nowrap"), R.style("line-height", "1.5"), s !== Infinity && (R.style("max-width", s + "px"), R.style("text-align", "center")), R.attr("xmlns", "http://www.w3.org/1999/xhtml"), g && R.attr("class", "labelBkg");
1549
+ let Z = R.node().getBoundingClientRect();
1550
+ return Z.width === s && (R.style("display", "table"), R.style("white-space", "break-spaces"), R.style("width", s + "px"), Z = R.node().getBoundingClientRect()), A.node();
1754
1551
  }
1755
1552
  __name(addHtmlSpan, "addHtmlSpan");
1756
- function createTspan(e3, o, s) {
1757
- return e3.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", o * s - 0.1 + "em").attr("dy", s + "em");
1553
+ function createTspan(e3, o, s, c = false) {
1554
+ let l = e3.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", o * s - 0.1 + "em").attr("dy", s + "em");
1555
+ return c && l.attr("text-anchor", "middle"), l;
1758
1556
  }
1759
1557
  __name(createTspan, "createTspan");
1760
1558
  function computeWidthOfText(e3, o, s) {
@@ -1775,64 +1573,77 @@ function computeDimensionOfText(e3, o, s) {
1775
1573
  return u && c.remove(), u;
1776
1574
  }
1777
1575
  __name(computeDimensionOfText, "computeDimensionOfText");
1778
- function createFormattedText(e3, o, c, l = false) {
1779
- let u = 1.1, f = o.append("g"), p = f.insert("rect").attr("class", "background").attr("style", "stroke: none"), g = f.append("text").attr("y", "-10.1"), x = 0;
1780
- for (let o2 of c) {
1781
- let c2 = /* @__PURE__ */ __name((o3) => computeWidthOfText(f, u, o3) <= e3, "checkWidth"), l2 = c2(o2) ? [o2] : splitLineToFitWidth(o2, c2);
1782
- for (let e4 of l2) updateTextContentAndStyles(createTspan(g, x, u), e4), x++;
1576
+ function createFormattedText(e3, o, s, l = false, u = false) {
1577
+ let f = 1.1, p = o.append("g"), h = p.insert("rect").attr("class", "background").attr("style", "stroke: none"), g = p.append("text").attr("y", "-10.1");
1578
+ u && g.attr("text-anchor", "middle");
1579
+ let O = 0;
1580
+ for (let o2 of s) {
1581
+ let s2 = /* @__PURE__ */ __name((o3) => computeWidthOfText(p, f, o3) <= e3, "checkWidth"), l2 = s2(o2) ? [o2] : splitLineToFitWidth(o2, s2);
1582
+ for (let e4 of l2) updateTextContentAndStyles(createTspan(g, O, f, u), e4), O++;
1783
1583
  }
1784
1584
  if (l) {
1785
1585
  let e4 = g.node().getBBox();
1786
- return p.attr("x", e4.x - 2).attr("y", e4.y - 2).attr("width", e4.width + 4).attr("height", e4.height + 4), f.node();
1586
+ return h.attr("x", e4.x - 2).attr("y", e4.y - 2).attr("width", e4.width + 4).attr("height", e4.height + 4), p.node();
1787
1587
  } else return g.node();
1788
1588
  }
1789
1589
  __name(createFormattedText, "createFormattedText");
1590
+ function decodeHTMLEntities(e3) {
1591
+ return e3.replace(/&(amp|lt|gt);/g, (e4, o) => {
1592
+ switch (o) {
1593
+ case "amp":
1594
+ return "&";
1595
+ case "lt":
1596
+ return "<";
1597
+ case "gt":
1598
+ return ">";
1599
+ default:
1600
+ return e4;
1601
+ }
1602
+ });
1603
+ }
1604
+ __name(decodeHTMLEntities, "decodeHTMLEntities");
1790
1605
  function updateTextContentAndStyles(e3, o) {
1791
1606
  e3.text(""), o.forEach((o2, s) => {
1792
1607
  let c = e3.append("tspan").attr("font-style", o2.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", o2.type === "strong" ? "bold" : "normal");
1793
- s === 0 ? c.text(o2.content) : c.text(" " + o2.content);
1608
+ s === 0 ? c.text(decodeHTMLEntities(o2.content)) : c.text(" " + decodeHTMLEntities(o2.content));
1794
1609
  });
1795
1610
  }
1796
1611
  __name(updateTextContentAndStyles, "updateTextContentAndStyles");
1797
1612
  async function replaceIconSubstring(e3, o = {}) {
1798
1613
  let s = [];
1799
- e3.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e4, c2, u) => (s.push((async () => {
1800
- let s2 = `${c2}:${u}`;
1614
+ e3.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e4, c2, l) => (s.push((async () => {
1615
+ let s2 = `${c2}:${l}`;
1801
1616
  return await isIconAvailable(s2) ? await getIconSVG(s2, void 0, { class: "label-icon" }) : `<i class='${sanitizeText(e4, o).replace(":", " ")}'></i>`;
1802
1617
  })()), e4));
1803
1618
  let c = await Promise.all(s);
1804
1619
  return e3.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => c.shift() ?? "");
1805
1620
  }
1806
1621
  __name(replaceIconSubstring, "replaceIconSubstring");
1807
- var createText = /* @__PURE__ */ __name(async (s, l = "", { style: u = "", isTitle: p = false, classes: g = "", useHtmlLabels: x = true, isNode: T = true, width: k = 200, addSvgBackground: A = false } = {}, B) => {
1808
- if (log.debug("XYZ createText", l, u, p, g, x, T, "addSvgBackground: ", A), x) {
1809
- let o = await replaceIconSubstring(decodeEntities(markdownToHTML(l, B)), B), c = l.replace(/\\\\/g, "\\");
1810
- return await addHtmlSpan(s, {
1811
- isNode: T,
1812
- label: hasKatex(l) ? c : o,
1813
- labelStyle: u.replace("fill:", "color:")
1814
- }, k, g, A, B);
1622
+ var createText = /* @__PURE__ */ __name(async (c, u = "", { style: f = "", isTitle: p = false, classes: h = "", useHtmlLabels: g = true, markdown: O = true, isNode: A = true, width: R = 200, addSvgBackground: B = false } = {}, H) => {
1623
+ if (log.debug("XYZ createText", u, f, p, h, g, A, "addSvgBackground: ", B), g) {
1624
+ let o = await replaceIconSubstring(decodeEntities(O ? markdownToHTML(u, H) : nonMarkdownToHTML(u)), H), s = u.replace(/\\\\/g, "\\");
1625
+ return await addHtmlSpan(c, {
1626
+ isNode: A,
1627
+ label: hasKatex(u) ? s : o,
1628
+ labelStyle: f.replace("fill:", "color:")
1629
+ }, R, h, B, H);
1815
1630
  } else {
1816
- let e3 = createFormattedText(k, s, markdownToLines(l.replace(/<br\s*\/?>/g, "<br/>").replace("<br>", "<br/>"), B), l ? A : false);
1817
- if (T) {
1818
- /stroke:/.exec(u) && (u = u.replace("stroke:", "lineColor:"));
1819
- let o = u.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1820
- select_default(e3).attr("style", o);
1631
+ let o = decodeEntities(u.replace(/<br\s*\/?>/g, "<br/>")), l = createFormattedText(R, c, O ? markdownToLines(o.replace("<br>", "<br/>"), H) : nonMarkdownToLines(o), u ? B : false, !A);
1632
+ if (A) {
1633
+ /stroke:/.exec(f) && (f = f.replace("stroke:", "lineColor:"));
1634
+ let e3 = f.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1635
+ select_default(l).attr("style", e3);
1821
1636
  } else {
1822
- let o = u.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1823
- select_default(e3).select("rect").attr("style", o.replace(/background:/g, "fill:"));
1824
- let s2 = u.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1825
- select_default(e3).select("text").attr("style", s2);
1637
+ let e3 = f.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1638
+ select_default(l).select("rect").attr("style", e3.replace(/background:/g, "fill:"));
1639
+ let o2 = f.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1640
+ select_default(l).select("text").attr("style", o2);
1826
1641
  }
1827
- return e3;
1642
+ return p ? select_default(l).selectAll("tspan.text-outer-tspan").classed("title-row", true) : select_default(l).selectAll("tspan.text-outer-tspan").classed("row", true), l;
1828
1643
  }
1829
1644
  }, "createText");
1830
1645
  export {
1831
- replaceIconSubstring as a,
1832
- registerIconPacks as i,
1833
1646
  createText as n,
1834
- unknownIcon as o,
1835
- getIconSVG as r,
1836
- dedent as s,
1647
+ dedent as r,
1837
1648
  computeDimensionOfText as t
1838
1649
  };