netstar-ai-chat 1.0.0

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 (807) hide show
  1. package/README.md +112 -0
  2. package/dist/ChatPanel/AgentPicker.vue.d.ts +94 -0
  3. package/dist/ChatPanel/SubAgentNode.vue.d.ts +23 -0
  4. package/dist/ChatPanel/ToolCallNode.vue.d.ts +33 -0
  5. package/dist/ChatPanel/ToolRenders/SaveModuleDocsRenderer.vue.d.ts +33 -0
  6. package/dist/ChatPanel/ToolRenders/defaultToolRenderers.d.ts +4 -0
  7. package/dist/ChatPanel/WriteTodosTopPanel.vue.d.ts +20 -0
  8. package/dist/ChatPanel/index.vue.d.ts +117 -0
  9. package/dist/CodeBlockNode-CTasgSPs.cjs +1 -0
  10. package/dist/CodeBlockNode-DuMNoiwD.js +1245 -0
  11. package/dist/Serializer-CXJ0fE5z.js +249 -0
  12. package/dist/Serializer-fgUokho9.cjs +1 -0
  13. package/dist/StreamMarkdown/StreamMarkdown.vue.d.ts +29 -0
  14. package/dist/StreamMarkdown/components/CodeBlockNode.vue.d.ts +13 -0
  15. package/dist/StreamMarkdown/components/ThinkNode.vue.d.ts +20 -0
  16. package/dist/StreamMarkdown/components/copyToClipboard.d.ts +5 -0
  17. package/dist/StreamMarkdown/type.d.ts +9 -0
  18. package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-ConVUPun.cjs +1 -0
  19. package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-yxSn8jeO.js +5 -0
  20. package/dist/_baseClone-D3YkUt7B.cjs +1 -0
  21. package/dist/_baseClone-M9Eo-ngy.js +228 -0
  22. package/dist/abap-pyAsOErv.cjs +1 -0
  23. package/dist/abap-w3onj0rB.js +3 -0
  24. package/dist/abnfDiagram-VRR7QNED-BZIwESBc.js +89 -0
  25. package/dist/abnfDiagram-VRR7QNED-CbMhyWtU.cjs +1 -0
  26. package/dist/actionscript-3-BOqnK-sH.js +3 -0
  27. package/dist/actionscript-3-CzNUYu3T.cjs +1 -0
  28. package/dist/ada-BLw2DNCr.cjs +1 -0
  29. package/dist/ada-ZOYhNhP6.js +3 -0
  30. package/dist/andromeeda-BK7KK1TI.cjs +1 -0
  31. package/dist/andromeeda-D6zxFn77.js +4 -0
  32. package/dist/angular-html-CM15CIR-.js +16 -0
  33. package/dist/angular-html-CtqN3w77.cjs +1 -0
  34. package/dist/angular-ts-BZbyXOyX.cjs +1 -0
  35. package/dist/angular-ts-D_WjBMhi.js +18 -0
  36. package/dist/apache-DdGV2gIX.cjs +1 -0
  37. package/dist/apache-rcSYX-LI.js +3 -0
  38. package/dist/apex-BQsSAFNB.cjs +1 -0
  39. package/dist/apex-C-w0vHe4.js +3 -0
  40. package/dist/apl-CFUDRIMH.cjs +1 -0
  41. package/dist/apl-DEY32kA8.js +16 -0
  42. package/dist/applescript-BAJgLR5K.cjs +1 -0
  43. package/dist/applescript-BCUU8TOE.js +3 -0
  44. package/dist/ara-B4SncdQz.js +3 -0
  45. package/dist/ara-DSlRoA1z.cjs +1 -0
  46. package/dist/arc-BxwVc1OP.js +80 -0
  47. package/dist/arc-DcUn9_NX.cjs +1 -0
  48. package/dist/architecture-TIHT7OUA-BePVesqR.cjs +1 -0
  49. package/dist/architecture-TIHT7OUA-CdCN4XW2.js +3 -0
  50. package/dist/architectureDiagram-ZJ3FMSHR-DhyGcAG9.cjs +36 -0
  51. package/dist/architectureDiagram-ZJ3FMSHR-pJBnYWx2.js +4120 -0
  52. package/dist/array-CApNbSU9.js +6 -0
  53. package/dist/array-DZSRzHA_.cjs +1 -0
  54. package/dist/asciidoc-CSnR5M0p.cjs +1 -0
  55. package/dist/asciidoc-DZyZo06c.js +3 -0
  56. package/dist/asm-BmB_X3A_.js +3 -0
  57. package/dist/asm-zib-OSTh.cjs +1 -0
  58. package/dist/astro-BApYg9cK.cjs +1 -0
  59. package/dist/astro-Bk1s2QoB.js +16 -0
  60. package/dist/aurora-x-BF78MGx3.cjs +1 -0
  61. package/dist/aurora-x-Tc1Eqrl5.js +4 -0
  62. package/dist/awk-BYQNbw8p.cjs +1 -0
  63. package/dist/awk-C3bvZdNY.js +3 -0
  64. package/dist/ayu-dark-ClxspuCB.cjs +1 -0
  65. package/dist/ayu-dark-cVPWKu1C.js +4 -0
  66. package/dist/ballerina-BPk8Fg7E.cjs +1 -0
  67. package/dist/ballerina-Bp92mgFe.js +3 -0
  68. package/dist/bat-7FZ8F5O4.cjs +1 -0
  69. package/dist/bat-CXbg7Xg3.js +3 -0
  70. package/dist/beancount-DCtU0rYp.cjs +1 -0
  71. package/dist/beancount-DmmCjryt.js +3 -0
  72. package/dist/berry-D8ITycFg.cjs +1 -0
  73. package/dist/berry-DiFcr1nX.js +3 -0
  74. package/dist/bibtex-CmGvn0fl.js +3 -0
  75. package/dist/bibtex-YVvMHIoL.cjs +1 -0
  76. package/dist/bicep-DDIPSBse.cjs +1 -0
  77. package/dist/bicep-zPtP3CSU.js +3 -0
  78. package/dist/blade-aYJa4e4Z.js +18 -0
  79. package/dist/blade-s0X0QSRt.cjs +1 -0
  80. package/dist/blockDiagram-677ZJIJ3-BXsjcvEy.cjs +132 -0
  81. package/dist/blockDiagram-677ZJIJ3-DUfdZ59z.js +3160 -0
  82. package/dist/bsl-2e5sJ_f2.js +5 -0
  83. package/dist/bsl-Boo9Znnk.cjs +1 -0
  84. package/dist/c-CtSegEhe.cjs +1 -0
  85. package/dist/c-DOHa0HhF.js +5 -0
  86. package/dist/c4Diagram-LMCZKHZV-CupZJT9_.cjs +10 -0
  87. package/dist/c4Diagram-LMCZKHZV-XVBQkiBu.js +2962 -0
  88. package/dist/cadence-BdOzwJ16.cjs +1 -0
  89. package/dist/cadence-DKZt82SN.js +3 -0
  90. package/dist/cairo-D7N4wIlJ.js +5 -0
  91. package/dist/cairo-yxjWoJOX.cjs +1 -0
  92. package/dist/catppuccin-frappe-BgIo7C1L.js +4 -0
  93. package/dist/catppuccin-frappe-lMRSGXsq.cjs +1 -0
  94. package/dist/catppuccin-latte-DACltl2d.js +4 -0
  95. package/dist/catppuccin-latte-DvhQrqwX.cjs +1 -0
  96. package/dist/catppuccin-macchiato-D_87UlHU.js +4 -0
  97. package/dist/catppuccin-macchiato-SYJuf56p.cjs +1 -0
  98. package/dist/catppuccin-mocha-btILUzM9.js +4 -0
  99. package/dist/catppuccin-mocha-nV-o7gzF.cjs +1 -0
  100. package/dist/channel-B_58s50a.js +5 -0
  101. package/dist/channel-CftZUi3r.cjs +1 -0
  102. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  103. package/dist/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  104. package/dist/chunk-32BRIVSS-DUxAI9Oa.cjs +1 -0
  105. package/dist/chunk-32BRIVSS-O-rQI_k2.js +61 -0
  106. package/dist/chunk-52WLFC77-B-_tvcsL.js +590 -0
  107. package/dist/chunk-52WLFC77-SZUA2rNI.cjs +10 -0
  108. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
  109. package/dist/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  110. package/dist/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  111. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
  112. package/dist/chunk-C7G6YPKG-D1CB1CXU.js +67 -0
  113. package/dist/chunk-C7G6YPKG-HH-he6SO.cjs +1 -0
  114. package/dist/chunk-EX3LRPZG-D0TH5Vrj.js +2046 -0
  115. package/dist/chunk-EX3LRPZG-DgwSD7VR.cjs +231 -0
  116. package/dist/chunk-FWX5IMBZ-CCaqRbxb.cjs +1 -0
  117. package/dist/chunk-FWX5IMBZ-c8mJHkIt.js +57 -0
  118. package/dist/chunk-HOUHSVGY-CqEBw5yz.cjs +1 -0
  119. package/dist/chunk-HOUHSVGY-D13Pk7nF.js +277 -0
  120. package/dist/chunk-ICXQ74PX-Bq9mKzdP.js +1369 -0
  121. package/dist/chunk-ICXQ74PX-TcRXMN1n.cjs +2 -0
  122. package/dist/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  123. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  124. package/dist/chunk-KEIR6QF5-CNjhxe7N.cjs +161 -0
  125. package/dist/chunk-KEIR6QF5-yJg1YNda.js +21383 -0
  126. package/dist/chunk-MOJQB5TN-BOC0rggK.js +490 -0
  127. package/dist/chunk-MOJQB5TN-CSjPQYln.cjs +88 -0
  128. package/dist/chunk-OGEWGWER-BYjMhJGb.js +32 -0
  129. package/dist/chunk-OGEWGWER-Bzj7N4Ii.cjs +1 -0
  130. package/dist/chunk-PUDLZKDR-D18W-L-L.js +4142 -0
  131. package/dist/chunk-PUDLZKDR-JbFT5hiR.cjs +156 -0
  132. package/dist/chunk-Q4XR5HBZ-DATOcgxL.cjs +70 -0
  133. package/dist/chunk-Q4XR5HBZ-DwgV8nWo.js +1628 -0
  134. package/dist/chunk-RYQCIY6F-Budeukwp.cjs +1 -0
  135. package/dist/chunk-RYQCIY6F-CTIaeOkt.js +240 -0
  136. package/dist/chunk-V7JOEXUC-BYc3FcMK.js +3357 -0
  137. package/dist/chunk-V7JOEXUC-Wa1_qMKV.cjs +206 -0
  138. package/dist/chunk-VAUOI2AC-3AGHwQI8.cjs +1 -0
  139. package/dist/chunk-VAUOI2AC-D4COVrqB.js +10 -0
  140. package/dist/chunk-VR4S4FIN-BBKjPbG_.js +26 -0
  141. package/dist/chunk-VR4S4FIN-DXfCPsY8.cjs +1 -0
  142. package/dist/chunk-WYO6CB5R-DNtzmu_Z.cjs +127 -0
  143. package/dist/chunk-WYO6CB5R-DVUXWnvM.js +3736 -0
  144. package/dist/chunk-XXDRQBXY-DWq_A1Wb.js +9 -0
  145. package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
  146. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  147. package/dist/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  148. package/dist/chunk-ZGVPDNZ5-CYGK4FNM.js +3736 -0
  149. package/dist/chunk-ZGVPDNZ5-Ch-mMgcC.cjs +62 -0
  150. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
  151. package/dist/chunk-ZIRB5QZD-DLqc5SfA.js +1146 -0
  152. package/dist/clarity-DnwH_oaR.js +3 -0
  153. package/dist/clarity-mvj5EDZ5.cjs +1 -0
  154. package/dist/classDiagram-OUVF2IWQ-BPcmQYGc.js +30 -0
  155. package/dist/classDiagram-OUVF2IWQ-CMJ1dZOd.cjs +1 -0
  156. package/dist/classDiagram-v2-EOCWNBFH-CMJ1dZOd.cjs +1 -0
  157. package/dist/classDiagram-v2-EOCWNBFH-C_A6LIqp.js +30 -0
  158. package/dist/clojure-C64DxiGB.cjs +1 -0
  159. package/dist/clojure-DQex2ThW.js +3 -0
  160. package/dist/cmake-BvNQeWu_.cjs +1 -0
  161. package/dist/cmake-C4lGF15i.js +3 -0
  162. package/dist/cobol-B6D1w50i.cjs +1 -0
  163. package/dist/cobol-f_8vDiHm.js +10 -0
  164. package/dist/codeowners-a_Z0p9_y.js +3 -0
  165. package/dist/codeowners-jShtr2Jw.cjs +1 -0
  166. package/dist/codeql-B0nK9JGf.js +3 -0
  167. package/dist/codeql-svt7Eror.cjs +1 -0
  168. package/dist/coffee-CIzsduL9.cjs +1 -0
  169. package/dist/coffee-D2SRpDoy.js +5 -0
  170. package/dist/common-lisp-BX8N9UvD.js +3 -0
  171. package/dist/common-lisp-Dd1YOGnK.cjs +1 -0
  172. package/dist/coq-B9dKr70z.cjs +1 -0
  173. package/dist/coq-CvkpvpO8.js +3 -0
  174. package/dist/cose-bilkent-JH36ORCC-DpRqLdKD.js +2251 -0
  175. package/dist/cose-bilkent-JH36ORCC-J0CMLAR2.cjs +1 -0
  176. package/dist/cpp-9IaFKtqm.cjs +1 -0
  177. package/dist/cpp-BWBwL8H2.js +19 -0
  178. package/dist/crystal-Bu5wFOgG.cjs +1 -0
  179. package/dist/crystal-DZ0RRcQB.js +18 -0
  180. package/dist/csharp-BSn8IIds.js +3 -0
  181. package/dist/csharp-DL064tVH.cjs +1 -0
  182. package/dist/css-CARKKeVZ.js +5 -0
  183. package/dist/css-Dedc30a-.cjs +1 -0
  184. package/dist/csv-CyUbk12o.js +3 -0
  185. package/dist/csv-yb5ne98b.cjs +1 -0
  186. package/dist/cue-BMD_ZKqV.js +3 -0
  187. package/dist/cue-BsqD5mfq.cjs +1 -0
  188. package/dist/cynefin-VYW2F7L2-D56X6uF-.js +3 -0
  189. package/dist/cynefin-VYW2F7L2-DfMKgfBn.cjs +1 -0
  190. package/dist/cynefinDiagram-TSTJHNR4-Ccm1ka2e.cjs +62 -0
  191. package/dist/cynefinDiagram-TSTJHNR4-LkTzYNHk.js +349 -0
  192. package/dist/cypher-CmLM-pVb.cjs +1 -0
  193. package/dist/cypher-MBxXk8fI.js +3 -0
  194. package/dist/cytoscape.esm-BJfLlyzE.cjs +321 -0
  195. package/dist/cytoscape.esm-CjrrPC2e.js +18151 -0
  196. package/dist/d-B1zD62h2.cjs +1 -0
  197. package/dist/d-Dr6f0t8l.js +3 -0
  198. package/dist/d2_markstream-vue-C462TwwW.js +5 -0
  199. package/dist/d2_markstream-vue-hk4WzRHI.cjs +1 -0
  200. package/dist/dagre-Cdkj1zk3.js +1603 -0
  201. package/dist/dagre-RL-7--pi.cjs +1 -0
  202. package/dist/dagre-VKFMJZFB-BTuSjqsN.js +326 -0
  203. package/dist/dagre-VKFMJZFB-D-LL1taY.cjs +4 -0
  204. package/dist/dark-plus-BiFR5lqb.js +4 -0
  205. package/dist/dark-plus-g9uFu8Uo.cjs +1 -0
  206. package/dist/dart-B-IpsYek.cjs +1 -0
  207. package/dist/dart-BKVVcZnx.js +3 -0
  208. package/dist/dax-DGyoV51j.cjs +1 -0
  209. package/dist/dax-julDJwHn.js +3 -0
  210. package/dist/defaultLocale-aSMWOJHq.js +201 -0
  211. package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
  212. package/dist/desktop-C7pIXmgL.cjs +1 -0
  213. package/dist/desktop-DN7gePkB.js +3 -0
  214. package/dist/diagram-FQU43EPY-DXRLbyr1.cjs +3 -0
  215. package/dist/diagram-FQU43EPY-Nd_0dBIp.js +432 -0
  216. package/dist/diagram-G47NLZAW-C6QidYrt.cjs +24 -0
  217. package/dist/diagram-G47NLZAW-DsbgcrAn.js +525 -0
  218. package/dist/diagram-NH7WQ7WH-BIir8UdD.cjs +24 -0
  219. package/dist/diagram-NH7WQ7WH-LBvy80o5.js +134 -0
  220. package/dist/diagram-OA4YK3LP-B6zIeHZO.cjs +30 -0
  221. package/dist/diagram-OA4YK3LP-wIkZDLSU.js +300 -0
  222. package/dist/diagram-WEI45ONY-DoJT44KW.cjs +41 -0
  223. package/dist/diagram-WEI45ONY-DuODSE5u.js +214 -0
  224. package/dist/diff-Pd8fJfZO.cjs +1 -0
  225. package/dist/diff-jiFCwOef.js +3 -0
  226. package/dist/dist-BD0EaJeM.js +42 -0
  227. package/dist/dist-BPaCZ1IA.cjs +3 -0
  228. package/dist/dist-BtUTYFnJ.js +6360 -0
  229. package/dist/dist-BxWvDA4U.js +59 -0
  230. package/dist/dist-CCXt4qM3.cjs +8 -0
  231. package/dist/dist-CS9eMk17.js +1588 -0
  232. package/dist/dist-Cu0Z5KOd.cjs +12 -0
  233. package/dist/dist-DNGlMOWd.cjs +1 -0
  234. package/dist/docker-DMpUQ2UE.js +3 -0
  235. package/dist/docker-OqFhd4tF.cjs +1 -0
  236. package/dist/dotenv-BNXs3SVk.js +3 -0
  237. package/dist/dotenv-skQA6mID.cjs +1 -0
  238. package/dist/dracula-B9CfY-AT.cjs +1 -0
  239. package/dist/dracula-DiGCm6b4.js +4 -0
  240. package/dist/dracula-soft-C5LEeGj9.js +4 -0
  241. package/dist/dracula-soft-IAqLIxBv.cjs +1 -0
  242. package/dist/dream-maker-DMoKJVoA.js +3 -0
  243. package/dist/dream-maker-Kuay-eJE.cjs +1 -0
  244. package/dist/ebnfDiagram-CCIWWBDH-BPnqNNpq.js +100 -0
  245. package/dist/ebnfDiagram-CCIWWBDH-BVWfIZk7.cjs +1 -0
  246. package/dist/edge-DPKc6QBW.cjs +1 -0
  247. package/dist/edge-DewrpuZI.js +12 -0
  248. package/dist/elixir-BHncl6yR.js +5 -0
  249. package/dist/elixir-Bz8PD4t1.cjs +1 -0
  250. package/dist/elm-DFucj7BB.cjs +1 -0
  251. package/dist/elm-DQTVghsR.js +5 -0
  252. package/dist/emacs-lisp-BLYG10aJ.js +3 -0
  253. package/dist/emacs-lisp-DjdBmCDP.cjs +1 -0
  254. package/dist/erDiagram-Q63AITRT-BDhFo6C9.cjs +85 -0
  255. package/dist/erDiagram-Q63AITRT-DT6IAJLm.js +1727 -0
  256. package/dist/erb-BCBUKD2W.js +10 -0
  257. package/dist/erb-BrUkDVI_.cjs +1 -0
  258. package/dist/erlang-Dk9Hm-lN.cjs +1 -0
  259. package/dist/erlang-Hh_mGaXF.js +3 -0
  260. package/dist/eventmodeling-45OFAUF4-9NJTUpfs.cjs +1 -0
  261. package/dist/eventmodeling-45OFAUF4-DhmcBUQs.js +3 -0
  262. package/dist/everforest-dark-B8U5Kz_2.cjs +1 -0
  263. package/dist/everforest-dark-DPbo4JN4.js +4 -0
  264. package/dist/everforest-light-3-FCa2iD.cjs +1 -0
  265. package/dist/everforest-light-E_X_ZD6H.js +4 -0
  266. package/dist/exports-C67Wizt6.js +16990 -0
  267. package/dist/exports-C8Eu-cBn.cjs +261 -0
  268. package/dist/fennel-F2TJW9Cm.js +3 -0
  269. package/dist/fennel-RU1EYi0I.cjs +1 -0
  270. package/dist/find-8kzfNl8Q.js +107 -0
  271. package/dist/find-D49DDMOn.cjs +1 -0
  272. package/dist/fish--5Qbt4_-.cjs +1 -0
  273. package/dist/fish-Cl8O7-1O.js +3 -0
  274. package/dist/flowDiagram-23GEKE2U-BIAXSHCZ.cjs +1 -0
  275. package/dist/flowDiagram-23GEKE2U-FteV-tpU.js +17 -0
  276. package/dist/fluent-B0YyYoEC.js +3 -0
  277. package/dist/fluent-CqQ_wVqT.cjs +1 -0
  278. package/dist/fortran-fixed-form-BPVXUvGc.cjs +1 -0
  279. package/dist/fortran-fixed-form-Cxg1zLtO.js +5 -0
  280. package/dist/fortran-free-form-f48WwHdi.js +3 -0
  281. package/dist/fortran-free-form-wAUw7GO7.cjs +1 -0
  282. package/dist/fsharp-D4kfoNJ7.js +5 -0
  283. package/dist/fsharp-Dkh04On7.cjs +1 -0
  284. package/dist/ganttDiagram-NO4QXBWP-B8AFbqrz.js +3084 -0
  285. package/dist/ganttDiagram-NO4QXBWP-iuUxsjHH.cjs +292 -0
  286. package/dist/gdresource-C3LE_wel.js +10 -0
  287. package/dist/gdresource-DOgNDMAP.cjs +1 -0
  288. package/dist/gdscript-697ItOg3.js +3 -0
  289. package/dist/gdscript-AA2UfFO_.cjs +1 -0
  290. package/dist/gdshader-BahZb96R.js +3 -0
  291. package/dist/gdshader-Bf5fzism.cjs +1 -0
  292. package/dist/genie-DaIfgQYl.js +3 -0
  293. package/dist/genie-IAbcuR8x.cjs +1 -0
  294. package/dist/gherkin-0dxzekuL.js +3 -0
  295. package/dist/gherkin-BOoUZ55R.cjs +1 -0
  296. package/dist/git-commit-CQ35rNAw.js +5 -0
  297. package/dist/git-commit-CoIFbnBM.cjs +1 -0
  298. package/dist/git-rebase-BUotlrNG.js +5 -0
  299. package/dist/git-rebase-bioQjlhA.cjs +1 -0
  300. package/dist/gitGraph-TEB2WS4Q-DQ-Mge2t.cjs +1 -0
  301. package/dist/gitGraph-TEB2WS4Q-DuFCGfar.js +3 -0
  302. package/dist/gitGraphDiagram-IHSO6WYX-CpjxCJlh.js +729 -0
  303. package/dist/gitGraphDiagram-IHSO6WYX-TXisRU_i.cjs +106 -0
  304. package/dist/github-dark-BVSmXPiH.js +4 -0
  305. package/dist/github-dark-default-D_WiUS3j.cjs +1 -0
  306. package/dist/github-dark-default-VbvJ-ilw.js +4 -0
  307. package/dist/github-dark-dimmed-BVZ6NmlH.js +4 -0
  308. package/dist/github-dark-dimmed-CF-d-yzu.cjs +1 -0
  309. package/dist/github-dark-high-contrast-B28XrSlN.cjs +1 -0
  310. package/dist/github-dark-high-contrast-Cu_F5fce.js +4 -0
  311. package/dist/github-dark-lSLm2DGc.cjs +1 -0
  312. package/dist/github-light-5VJ9LmmZ.cjs +1 -0
  313. package/dist/github-light-Dtf7jHNG.js +4 -0
  314. package/dist/github-light-default-CfhvIofU.cjs +1 -0
  315. package/dist/github-light-default-ChKQp2aO.js +4 -0
  316. package/dist/github-light-high-contrast-2daONXzf.cjs +1 -0
  317. package/dist/github-light-high-contrast-CfdjYrkI.js +4 -0
  318. package/dist/gleam-DyHWdg1e.js +3 -0
  319. package/dist/gleam-uW2PZxh0.cjs +1 -0
  320. package/dist/glimmer-js-Ciof3QL9.js +14 -0
  321. package/dist/glimmer-js-DiIpfAHi.cjs +1 -0
  322. package/dist/glimmer-ts-BGK6t0VF.js +14 -0
  323. package/dist/glimmer-ts-D7kaiXm8.cjs +1 -0
  324. package/dist/glsl-BK7MJn4u.js +6 -0
  325. package/dist/glsl-QqXZ78Kg.cjs +1 -0
  326. package/dist/gnuplot-5XuWKCad.js +3 -0
  327. package/dist/gnuplot-CFHC6IzT.cjs +1 -0
  328. package/dist/go-Bv7fxmN-.cjs +1 -0
  329. package/dist/go-C_wi3fjb.js +3 -0
  330. package/dist/graphlib-B0pkl27u.cjs +1 -0
  331. package/dist/graphlib-DjREGp7-.js +340 -0
  332. package/dist/graphql--1t261Yk.js +15 -0
  333. package/dist/graphql-wVo4PHpT.cjs +1 -0
  334. package/dist/groovy-AC3I0XgS.cjs +1 -0
  335. package/dist/groovy-BmEdfp0z.js +3 -0
  336. package/dist/hack-C4FKqOSK.cjs +1 -0
  337. package/dist/hack-DK3t1k__.js +10 -0
  338. package/dist/haml-B3VLhRsZ.js +11 -0
  339. package/dist/haml-CQ-lzphw.cjs +1 -0
  340. package/dist/handlebars-POWurPLW.cjs +1 -0
  341. package/dist/handlebars-_qNUzqAO.js +14 -0
  342. package/dist/haskell-BVQlrU40.cjs +1 -0
  343. package/dist/haskell-CZshrN4v.js +3 -0
  344. package/dist/haxe-CIeDdEBx.js +3 -0
  345. package/dist/haxe-CidPNuKh.cjs +1 -0
  346. package/dist/hcl-BrEqO7Sq.cjs +1 -0
  347. package/dist/hcl-DRqyh8D_.js +3 -0
  348. package/dist/hjson-CVbBR8Ay.cjs +1 -0
  349. package/dist/hjson-D-HSEzgv.js +3 -0
  350. package/dist/hlsl-DQCtPnLa.js +3 -0
  351. package/dist/hlsl-ze_s5DJn.cjs +1 -0
  352. package/dist/houston-BscSB6JY.js +4 -0
  353. package/dist/houston-BtgI9cLW.cjs +1 -0
  354. package/dist/html-D_OBWe7R.js +11 -0
  355. package/dist/html-derivative-Dq3Sh7mm.cjs +1 -0
  356. package/dist/html-derivative-XT6VOD81.js +6 -0
  357. package/dist/html-mo6ldvys.cjs +1 -0
  358. package/dist/http-C2taPV9U.cjs +1 -0
  359. package/dist/http-CdMPSPdd.js +14 -0
  360. package/dist/hxml-CHo8HAT-.js +5 -0
  361. package/dist/hxml-Dkp_OvfK.cjs +1 -0
  362. package/dist/hy-DB6h75gj.js +3 -0
  363. package/dist/hy-JhxQ7Sq3.cjs +1 -0
  364. package/dist/imba-BMaY4ENg.cjs +1 -0
  365. package/dist/imba-B_ww4ZTP.js +5 -0
  366. package/dist/index.cjs +352 -0
  367. package/dist/index.d.ts +12 -0
  368. package/dist/index.mjs +25941 -0
  369. package/dist/index2-Db29305J.cjs +1 -0
  370. package/dist/index2-QpsswhC2.js +129 -0
  371. package/dist/index3-B9UVcR3x.cjs +1 -0
  372. package/dist/index3-CSFQ35FU.js +125 -0
  373. package/dist/index4-BjmzmXkZ.cjs +2 -0
  374. package/dist/index4-CzKbdrmD.js +1166 -0
  375. package/dist/index5-CjNnYoXJ.js +688 -0
  376. package/dist/index5-CvMqoYtf.cjs +1 -0
  377. package/dist/index6-BUkE1lni.js +468 -0
  378. package/dist/index6-DwZeyaka.cjs +1 -0
  379. package/dist/index7-CCL1p1Eh.cjs +1 -0
  380. package/dist/index7-D-76uUB1.js +7 -0
  381. package/dist/info-DKCQHKI2-CVAfu3m_.cjs +1 -0
  382. package/dist/info-DKCQHKI2-X1UEZeu5.js +3 -0
  383. package/dist/infoDiagram-FWYZ7A6U-BQ-pmobf.js +20 -0
  384. package/dist/infoDiagram-FWYZ7A6U-BTUkuUAu.cjs +2 -0
  385. package/dist/infographic_markstream-vue-DH5naZYC.js +5 -0
  386. package/dist/infographic_markstream-vue-DMdeL6IU.cjs +1 -0
  387. package/dist/ini-1ngrKrS7.js +3 -0
  388. package/dist/ini-DrnN5Bei.cjs +1 -0
  389. package/dist/init-07zIhv_j.cjs +1 -0
  390. package/dist/init-Co4dhKfe.js +15 -0
  391. package/dist/isEmpty-9fTBY8_5.js +929 -0
  392. package/dist/isEmpty-DaIHfoaK.cjs +1 -0
  393. package/dist/ishikawaDiagram-FXEZZL3T-DAFpMtyi.cjs +70 -0
  394. package/dist/ishikawaDiagram-FXEZZL3T-Dldh7OZP.js +719 -0
  395. package/dist/java-CCeor0rw.js +5 -0
  396. package/dist/java-DtOeEWAB.cjs +1 -0
  397. package/dist/javascript-1Zv2m4qT.cjs +1 -0
  398. package/dist/javascript-Bx27vxbw.js +5 -0
  399. package/dist/jinja-Bo4OY5rp.cjs +1 -0
  400. package/dist/jinja-DUV-rjqE.js +5 -0
  401. package/dist/jison-BHS26PqW.cjs +1 -0
  402. package/dist/jison-lY_a1uD8.js +5 -0
  403. package/dist/journeyDiagram-5HDEW3XC-BoJvuLAJ.cjs +139 -0
  404. package/dist/journeyDiagram-5HDEW3XC-DWc-P146.js +884 -0
  405. package/dist/json-As0Z6gXq.js +5 -0
  406. package/dist/json-B31_sYlO.cjs +1 -0
  407. package/dist/json5-B0AZLeeE.cjs +1 -0
  408. package/dist/json5-CkR44bl5.js +3 -0
  409. package/dist/jsonc-BhRQOhO0.js +3 -0
  410. package/dist/jsonc-zSGaK820.cjs +1 -0
  411. package/dist/jsonl-BWEDeKY6.js +3 -0
  412. package/dist/jsonl-mSW-3clM.cjs +1 -0
  413. package/dist/jsonnet-D8xj-VWe.js +3 -0
  414. package/dist/jsonnet-xnK8ISOr.cjs +1 -0
  415. package/dist/jssm-BqqNlOWn.js +3 -0
  416. package/dist/jssm-Dc68VWf8.cjs +1 -0
  417. package/dist/jsx-CHdPoawR.cjs +1 -0
  418. package/dist/jsx-DcWc-BUA.js +5 -0
  419. package/dist/julia-A2t8dw8p.cjs +1 -0
  420. package/dist/julia-JllIpLrt.js +16 -0
  421. package/dist/kanagawa-dragon-C_H008Ji.cjs +1 -0
  422. package/dist/kanagawa-dragon-CzUH0vOV.js +4 -0
  423. package/dist/kanagawa-lotus-CWHrabz1.js +4 -0
  424. package/dist/kanagawa-lotus-DuABjfU_.cjs +1 -0
  425. package/dist/kanagawa-wave-B27tzldJ.js +4 -0
  426. package/dist/kanagawa-wave-D93njvJc.cjs +1 -0
  427. package/dist/kanban-definition-HUTT4EX6-4QNogezI.js +975 -0
  428. package/dist/kanban-definition-HUTT4EX6-CSpYoE2w.cjs +89 -0
  429. package/dist/katex-mzuGQl-k.cjs +257 -0
  430. package/dist/katex-uQfgtQZ-.js +21962 -0
  431. package/dist/kotlin-CkALtvL4.js +3 -0
  432. package/dist/kotlin-x64ufdmW.cjs +1 -0
  433. package/dist/kusto-Cc3N9caa.js +3 -0
  434. package/dist/kusto-YvjJ-Hwr.cjs +1 -0
  435. package/dist/languageIconExtended-5rP5TRI7.cjs +116 -0
  436. package/dist/languageIconExtended-BKBNbfml.js +37 -0
  437. package/dist/laserwave-Q0rnzsLB.js +4 -0
  438. package/dist/laserwave-TFMEGQQo.cjs +1 -0
  439. package/dist/latex-B4owy79D.js +5 -0
  440. package/dist/latex-DPkqFaSl.cjs +1 -0
  441. package/dist/lean-CYVERefS.cjs +1 -0
  442. package/dist/lean-Dg5VYRtH.js +3 -0
  443. package/dist/less-BW5l_msz.js +3 -0
  444. package/dist/less-DKjtszmK.cjs +1 -0
  445. package/dist/light-plus-D1TTTooO.js +4 -0
  446. package/dist/light-plus-lbGw82Zw.cjs +1 -0
  447. package/dist/line-QnKkzT3y.js +34 -0
  448. package/dist/line-umMVu17Q.cjs +1 -0
  449. package/dist/linear-Cl2-QuPP.cjs +1 -0
  450. package/dist/linear-D5gAG4Dc.js +289 -0
  451. package/dist/liquid-DOhZfMRk.cjs +1 -0
  452. package/dist/liquid-DbDSSGUn.js +14 -0
  453. package/dist/log-C02Mufkv.js +3 -0
  454. package/dist/log-Dn7sU6Qz.cjs +1 -0
  455. package/dist/logo-CCpvPvYW.cjs +1 -0
  456. package/dist/logo-CESV6ppB.js +3 -0
  457. package/dist/lua-BWV9zmiO.js +6 -0
  458. package/dist/lua-BZylxbuX.cjs +1 -0
  459. package/dist/luau-CO1iqemL.js +3 -0
  460. package/dist/luau-D5ttg_a3.cjs +1 -0
  461. package/dist/make-BorM9pEX.js +3 -0
  462. package/dist/make-OoJyrwI_.cjs +1 -0
  463. package/dist/map-CnWYCApZ.cjs +1 -0
  464. package/dist/map-DmTyBWxT.js +16 -0
  465. package/dist/markdown-Dehhcpca.cjs +1 -0
  466. package/dist/markdown-bvZ2LFQ7.js +3 -0
  467. package/dist/marko-9qP7O73P.js +14 -0
  468. package/dist/marko-CkDNu79_.cjs +1 -0
  469. package/dist/material-theme-BkOXIsau.cjs +1 -0
  470. package/dist/material-theme-RBxZ7zcK.js +4 -0
  471. package/dist/material-theme-darker-CDq_a3lh.cjs +1 -0
  472. package/dist/material-theme-darker-CJJd5EpQ.js +4 -0
  473. package/dist/material-theme-lighter-0ylr_FPD.js +4 -0
  474. package/dist/material-theme-lighter-CSQ2VYal.cjs +1 -0
  475. package/dist/material-theme-ocean-BlU8W8uQ.js +4 -0
  476. package/dist/material-theme-ocean-kObtq4AQ.cjs +1 -0
  477. package/dist/material-theme-palenight-D1I1vvpR.cjs +1 -0
  478. package/dist/material-theme-palenight-Di4FHq0q.js +4 -0
  479. package/dist/matlab-CL6DKGr6.cjs +1 -0
  480. package/dist/matlab-CWaaTDe1.js +3 -0
  481. package/dist/mdc-D8ytkkcj.js +12 -0
  482. package/dist/mdc-DixMyBlq.cjs +1 -0
  483. package/dist/mdx-BYvRDPL7.cjs +1 -0
  484. package/dist/mdx-CwEa7e3y.js +3 -0
  485. package/dist/mermaid-CX3dK12k.cjs +1 -0
  486. package/dist/mermaid-Z3pEhdr4.js +3 -0
  487. package/dist/mermaid-parser.core-Bhhg_EMD.js +638 -0
  488. package/dist/mermaid-parser.core-C0weIoPn.cjs +6 -0
  489. package/dist/mermaid.core-CbBmSLjg.js +817 -0
  490. package/dist/mermaid.core-CsEkQu6v.cjs +10 -0
  491. package/dist/mhchem-CGx3NnwF.js +1762 -0
  492. package/dist/mhchem-DMzgkAws.cjs +1 -0
  493. package/dist/min-dark-BRRwK1lu.js +4 -0
  494. package/dist/min-dark-BVfJIgG3.cjs +1 -0
  495. package/dist/min-light-Bqm_Wy8m.js +4 -0
  496. package/dist/min-light-CpbVExmt.cjs +1 -0
  497. package/dist/mindmap-definition-LN4V7U3C-B29e6fR_.cjs +96 -0
  498. package/dist/mindmap-definition-LN4V7U3C-BUSRrZX0.js +1008 -0
  499. package/dist/mipsasm-CmvfwuBg.js +3 -0
  500. package/dist/mipsasm-Dmsj67N7.cjs +1 -0
  501. package/dist/mojo-CFCIR8gy.cjs +1 -0
  502. package/dist/mojo-emijrbEC.js +3 -0
  503. package/dist/monokai-BQ1cZfkR.cjs +1 -0
  504. package/dist/monokai-KOBwLR5r.js +4 -0
  505. package/dist/move-BtWg9WSG.js +3 -0
  506. package/dist/move-DFUk3AJ3.cjs +1 -0
  507. package/dist/narrat-CE6tJc3S.js +3 -0
  508. package/dist/narrat-DfhrkvLZ.cjs +1 -0
  509. package/dist/netstar-ai-chat.css +2 -0
  510. package/dist/nextflow-D8RM97Up.cjs +1 -0
  511. package/dist/nextflow-DIQqWNA9.js +3 -0
  512. package/dist/nginx-8x8qY3Vr.js +5 -0
  513. package/dist/nginx-DFfEIEnK.cjs +1 -0
  514. package/dist/night-owl-C0QObreH.cjs +1 -0
  515. package/dist/night-owl-DS6PHOBH.js +4 -0
  516. package/dist/nim-BIbchMrJ.cjs +1 -0
  517. package/dist/nim-nIS1y_GA.js +20 -0
  518. package/dist/nix-BeOLKLuV.js +3 -0
  519. package/dist/nix-D5-3ErHy.cjs +1 -0
  520. package/dist/nord-CA9ic6hU.cjs +1 -0
  521. package/dist/nord-CqaxQpqw.js +4 -0
  522. package/dist/nushell-BNdP_dr6.cjs +1 -0
  523. package/dist/nushell-BSiFk-Bi.js +3 -0
  524. package/dist/objective-c-BoPltVXU.cjs +1 -0
  525. package/dist/objective-c-D4ODnIJv.js +3 -0
  526. package/dist/objective-cpp-BC5VHuf6.cjs +1 -0
  527. package/dist/objective-cpp-CFzZBsJ8.js +3 -0
  528. package/dist/ocaml-DjzTWzJR.cjs +1 -0
  529. package/dist/ocaml-ygyAtqA3.js +3 -0
  530. package/dist/one-dark-pro-BiLpJ3Ut.cjs +1 -0
  531. package/dist/one-dark-pro-n87lL4ex.js +4 -0
  532. package/dist/one-light-BHJM53xo.cjs +1 -0
  533. package/dist/one-light-DHV5uJWg.js +4 -0
  534. package/dist/ordinal-95c16pGC.js +65 -0
  535. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  536. package/dist/packet-7NZHBO7P-CWI1wkgR.js +3 -0
  537. package/dist/packet-7NZHBO7P-olpQFy19.cjs +1 -0
  538. package/dist/pascal-BCxfk_0K.cjs +1 -0
  539. package/dist/pascal-Cp3o03W3.js +3 -0
  540. package/dist/path-BECm07xX.js +85 -0
  541. package/dist/path-Kklx0M1v.cjs +1 -0
  542. package/dist/pegDiagram-2B236MQR-5may-nQh.cjs +1 -0
  543. package/dist/pegDiagram-2B236MQR-BlS7jv2X.js +94 -0
  544. package/dist/perl-B32vckzd.cjs +1 -0
  545. package/dist/perl-Caha11sj.js +16 -0
  546. package/dist/php-BZdcwfk-.cjs +1 -0
  547. package/dist/php-Dd_dF-AL.js +18 -0
  548. package/dist/pie-RZYD4A2V-CyOF19CW.js +3 -0
  549. package/dist/pie-RZYD4A2V-KV7VmSAP.cjs +1 -0
  550. package/dist/pieDiagram-ENE6RG2P-B5uibzAn.js +205 -0
  551. package/dist/pieDiagram-ENE6RG2P-peGWddZk.cjs +39 -0
  552. package/dist/plastic-CFgeDarh.cjs +1 -0
  553. package/dist/plastic-CfcNj0mY.js +4 -0
  554. package/dist/plsql-ak2Z7rg2.cjs +1 -0
  555. package/dist/plsql-x7conUc6.js +3 -0
  556. package/dist/po--CQNV_Eo.js +3 -0
  557. package/dist/po-DPOakX0_.cjs +1 -0
  558. package/dist/poimandres-B2kS4VCU.cjs +1 -0
  559. package/dist/poimandres-CSgoTNSr.js +4 -0
  560. package/dist/polar-DZoPeUtu.js +3 -0
  561. package/dist/polar-MGc0OyxL.cjs +1 -0
  562. package/dist/postcss-BAYQYIpZ.js +3 -0
  563. package/dist/postcss-DwSR_Nna.cjs +1 -0
  564. package/dist/powerquery-B9PiNUFU.js +3 -0
  565. package/dist/powerquery-bShN3jEf.cjs +1 -0
  566. package/dist/powershell-DGeGpYK6.cjs +1 -0
  567. package/dist/powershell-DmbTGv4H.js +3 -0
  568. package/dist/prisma-DcdjiSgR.js +3 -0
  569. package/dist/prisma-qjGbhxmN.cjs +1 -0
  570. package/dist/prolog-3Sh8TEBQ.js +3 -0
  571. package/dist/prolog-DOzeE1gX.cjs +1 -0
  572. package/dist/proto-BKmbHU2z.js +3 -0
  573. package/dist/proto-CQtcOaoZ.cjs +1 -0
  574. package/dist/pug-CQRIElQa.cjs +1 -0
  575. package/dist/pug-PKxYWb_o.js +12 -0
  576. package/dist/puppet-CMc7WUL-.js +3 -0
  577. package/dist/puppet-DXMJeNAQ.cjs +1 -0
  578. package/dist/purescript-BmHbM-d_.cjs +1 -0
  579. package/dist/purescript-CJV-ANk0.js +3 -0
  580. package/dist/python-Dgo3Imqt.js +3 -0
  581. package/dist/python-y8JZoKTg.cjs +1 -0
  582. package/dist/qml-DGggscta.cjs +1 -0
  583. package/dist/qml-znAETRGB.js +5 -0
  584. package/dist/qmldir-BSWsNKCW.js +3 -0
  585. package/dist/qmldir-Wb6QN41x.cjs +1 -0
  586. package/dist/qss-P1EyCZ52.js +3 -0
  587. package/dist/qss-b49hd9Kf.cjs +1 -0
  588. package/dist/quadrantDiagram-ABIIQ3AL-0axZxxZT.cjs +7 -0
  589. package/dist/quadrantDiagram-ABIIQ3AL-el6K_cdK.js +2001 -0
  590. package/dist/r-Q1Syx2NF.js +5 -0
  591. package/dist/r-VgF6jsMr.cjs +1 -0
  592. package/dist/racket-DIriCx31.cjs +1 -0
  593. package/dist/racket-DKb_r0U5.js +3 -0
  594. package/dist/radar-I7S5WNFK-BjTQsjn9.cjs +1 -0
  595. package/dist/radar-I7S5WNFK-DXOk1lH0.js +3 -0
  596. package/dist/railroad-3IZDKUUU-BudmQt4z.js +3 -0
  597. package/dist/railroad-3IZDKUUU-CVKrVFrS.cjs +1 -0
  598. package/dist/railroad-abnf-AHOZXSZD-BEuRVGxN.cjs +1 -0
  599. package/dist/railroad-abnf-AHOZXSZD-Bs1OWkDS.js +3 -0
  600. package/dist/railroad-ebnf-EBAXGLYW-Cih63c2z.cjs +1 -0
  601. package/dist/railroad-ebnf-EBAXGLYW-DN3oF240.js +3 -0
  602. package/dist/railroad-peg-LSFZ7HO6--hTz8Aio.js +3 -0
  603. package/dist/railroad-peg-LSFZ7HO6-DbHn_Dfb.cjs +1 -0
  604. package/dist/railroadDiagram-RFXS5EU6-CCPPrI-t.js +76 -0
  605. package/dist/railroadDiagram-RFXS5EU6-DI-XxXi4.cjs +1 -0
  606. package/dist/raku-DM0xz1qH.js +3 -0
  607. package/dist/raku-aSFsj2VS.cjs +1 -0
  608. package/dist/razor-ClXepwCg.cjs +1 -0
  609. package/dist/razor-DoIrK7wH.js +10 -0
  610. package/dist/red-CuDZBeel.js +4 -0
  611. package/dist/red-utLotyz8.cjs +1 -0
  612. package/dist/reg-Bc7EZp_L.js +3 -0
  613. package/dist/reg-GmnSXO4L.cjs +1 -0
  614. package/dist/regexp-CjKnir1L.js +5 -0
  615. package/dist/regexp-CjwGKeJO.cjs +1 -0
  616. package/dist/rel-DMLolXbX.cjs +1 -0
  617. package/dist/rel-DT4yPypn.js +3 -0
  618. package/dist/requirementDiagram-TGXJPOKE-BxnKsGpN.cjs +84 -0
  619. package/dist/requirementDiagram-TGXJPOKE-FQoCKQHp.js +2223 -0
  620. package/dist/riscv-9-ahY7jN.js +3 -0
  621. package/dist/riscv-DWfvSg0U.cjs +1 -0
  622. package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
  623. package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
  624. package/dist/rose-pine-BTVbOgGM.cjs +1 -0
  625. package/dist/rose-pine-Dsg47IX4.js +4 -0
  626. package/dist/rose-pine-dawn-C49-oxm2.js +4 -0
  627. package/dist/rose-pine-dawn-y8-MyOw6.cjs +1 -0
  628. package/dist/rose-pine-moon-BZmq4QbO.cjs +1 -0
  629. package/dist/rose-pine-moon-D19T_UYY.js +4 -0
  630. package/dist/rough.esm-B7woRVjF.js +1352 -0
  631. package/dist/rough.esm-r0QOSzHM.cjs +1 -0
  632. package/dist/rst-9SsxKThC.cjs +1 -0
  633. package/dist/rst-Ct-G6CIi.js +22 -0
  634. package/dist/ruby-CHhXdqUe.js +30 -0
  635. package/dist/ruby-q98Sa-C-.cjs +1 -0
  636. package/dist/rust-BbRDDZlI.js +3 -0
  637. package/dist/rust-DhJ-EsMg.cjs +1 -0
  638. package/dist/sankeyDiagram-HTMAVEWB-1N6666do.cjs +40 -0
  639. package/dist/sankeyDiagram-HTMAVEWB-CRbnmmPK.js +970 -0
  640. package/dist/sas-DhbnVUXW.cjs +1 -0
  641. package/dist/sas-nwN47Ppz.js +5 -0
  642. package/dist/sass-C3mlvlBn.js +3 -0
  643. package/dist/sass-MDtHeILc.cjs +1 -0
  644. package/dist/scala-BV3NjK9f.cjs +1 -0
  645. package/dist/scala-GwvQo9dz.js +3 -0
  646. package/dist/scheme-C_T6Gr_E.js +3 -0
  647. package/dist/scheme-DaNTt7Ra.cjs +1 -0
  648. package/dist/scss-KLMxyv4f.js +6 -0
  649. package/dist/scss-KgcvXJOI.cjs +1 -0
  650. package/dist/sdbl-9Nf-vYL_.cjs +1 -0
  651. package/dist/sdbl-BGVcFmba.js +3 -0
  652. package/dist/sequenceDiagram-DBY2YBRQ-B0eyTzj-.js +4168 -0
  653. package/dist/sequenceDiagram-DBY2YBRQ-ouUfS-aJ.cjs +162 -0
  654. package/dist/shaderlab-AMREd5T9.cjs +1 -0
  655. package/dist/shaderlab-yvRlOGRS.js +5 -0
  656. package/dist/shellscript-BRXFilKi.cjs +1 -0
  657. package/dist/shellscript-DsmUQZdg.js +5 -0
  658. package/dist/shellsession-BtjfrBaH.cjs +1 -0
  659. package/dist/shellsession-DQ_F9Wr_.js +5 -0
  660. package/dist/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  661. package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
  662. package/dist/slack-dark-BzBaQ0xz.js +4 -0
  663. package/dist/slack-dark-DDeCEapU.cjs +1 -0
  664. package/dist/slack-ochin-Cnjuvrsj.js +4 -0
  665. package/dist/slack-ochin-DLKW_Bxr.cjs +1 -0
  666. package/dist/smalltalk-BN2TAEzt.js +3 -0
  667. package/dist/smalltalk-Dfg_7NMl.cjs +1 -0
  668. package/dist/snazzy-light-CO8ltd4m.js +4 -0
  669. package/dist/snazzy-light-Cb_pyD6_.cjs +1 -0
  670. package/dist/solarized-dark-CqgMwhwG.cjs +1 -0
  671. package/dist/solarized-dark-vcCVwuVC.js +4 -0
  672. package/dist/solarized-light-BgVA2R62.js +4 -0
  673. package/dist/solarized-light-U0ItNhXi.cjs +1 -0
  674. package/dist/solidity-bpqb7ojf.cjs +1 -0
  675. package/dist/solidity-idpkkykB.js +3 -0
  676. package/dist/soy-D11BGnGf.cjs +1 -0
  677. package/dist/soy-D5hACXEU.js +5 -0
  678. package/dist/sparql-D2f6sVo0.cjs +1 -0
  679. package/dist/sparql-DvWZ0oTn.js +5 -0
  680. package/dist/splunk-CC1SfDSs.cjs +1 -0
  681. package/dist/splunk-W3Nh1Gtf.js +3 -0
  682. package/dist/sql-BE7gM4sJ.js +5 -0
  683. package/dist/sql-CAKohXJZ.cjs +1 -0
  684. package/dist/src-CR--T_NF.cjs +1 -0
  685. package/dist/src-DR6txdQ-.js +2142 -0
  686. package/dist/ssh-config-Dn_5wFSU.cjs +1 -0
  687. package/dist/ssh-config-lL0vBG-J.js +3 -0
  688. package/dist/stata-DeV05m63.js +5 -0
  689. package/dist/stata-ckWyZ9G6.cjs +1 -0
  690. package/dist/stateDiagram-2N3HPSRC-DaporqgM.js +220 -0
  691. package/dist/stateDiagram-2N3HPSRC-DrVYkEQ-.cjs +1 -0
  692. package/dist/stateDiagram-v2-6OUMAXLB-DZ0YarTq.cjs +1 -0
  693. package/dist/stateDiagram-v2-6OUMAXLB-iNhJP0se.js +30 -0
  694. package/dist/stylus-7dQPGNPK.js +3 -0
  695. package/dist/stylus-CEIbUfUR.cjs +1 -0
  696. package/dist/svelte-BBzqqTAG.cjs +1 -0
  697. package/dist/svelte-DuClbIDV.js +14 -0
  698. package/dist/swift-BfppNwCZ.js +3 -0
  699. package/dist/swift-Dbq1ciSe.cjs +1 -0
  700. package/dist/swimlanes-5IMT3BWC-BkAqjD-a.cjs +1 -0
  701. package/dist/swimlanes-5IMT3BWC-Cl0MBCBd.js +5066 -0
  702. package/dist/swimlanesDiagram-G3AALYLV-Bh7l_29Y.cjs +8 -0
  703. package/dist/swimlanesDiagram-G3AALYLV-Bs_bljXb.js +31 -0
  704. package/dist/synthwave-84-CmyDaNXM.js +4 -0
  705. package/dist/synthwave-84-vhaAnDJD.cjs +1 -0
  706. package/dist/system-verilog-CBp9ww7I.js +3 -0
  707. package/dist/system-verilog-DyrRIUre.cjs +1 -0
  708. package/dist/systemd-CimDnTNX.cjs +1 -0
  709. package/dist/systemd-oFJVdchd.js +3 -0
  710. package/dist/talonscript-2QSX5qC5.cjs +1 -0
  711. package/dist/talonscript-BxIWRwbR.js +3 -0
  712. package/dist/tasl-Bxh5A0Un.js +3 -0
  713. package/dist/tasl-DkVK1Vvo.cjs +1 -0
  714. package/dist/tcl-CNIcTZox.cjs +1 -0
  715. package/dist/tcl-Yv5TG6Ev.js +3 -0
  716. package/dist/templ-BNN_ssr9.cjs +1 -0
  717. package/dist/templ-BxsPIKhr.js +12 -0
  718. package/dist/terraform-CGGCPjBs.cjs +1 -0
  719. package/dist/terraform-DLFpHj9I.js +3 -0
  720. package/dist/tex-DPBa3hMF.cjs +1 -0
  721. package/dist/tex-DZPZ_tE0.js +5 -0
  722. package/dist/timeline-definition-FHXFAJF6-Cb_8gFYP.cjs +120 -0
  723. package/dist/timeline-definition-FHXFAJF6-FkgzuuoZ.js +1069 -0
  724. package/dist/tokyo-night-BmmxIDHp.js +4 -0
  725. package/dist/tokyo-night-DXq-AiCd.cjs +1 -0
  726. package/dist/toml-CJQRMfJQ.cjs +1 -0
  727. package/dist/toml-Dm2pJ9O8.js +3 -0
  728. package/dist/treeView-QDETBFTQ-B_LvJjui.cjs +1 -0
  729. package/dist/treeView-QDETBFTQ-WaAklEEa.js +3 -0
  730. package/dist/treemap-6X3UGDF4-BZ8Ptxjo.cjs +1 -0
  731. package/dist/treemap-6X3UGDF4-TbJH_2rS.js +3 -0
  732. package/dist/ts-tags-BgTM9Oo9.js +38 -0
  733. package/dist/ts-tags-aCZsPrDI.cjs +1 -0
  734. package/dist/tsv-AfvsdcL-.js +3 -0
  735. package/dist/tsv-CrGD5YUm.cjs +1 -0
  736. package/dist/tsx-Bx4pCqLJ.js +5 -0
  737. package/dist/tsx-CqEtpJwc.cjs +1 -0
  738. package/dist/turtle-CSKPMBVG.js +3 -0
  739. package/dist/turtle-hKghkgYb.cjs +1 -0
  740. package/dist/twig-B4TBRIrX.cjs +1 -0
  741. package/dist/twig-BawUFy9o.js +18 -0
  742. package/dist/types/agent.d.ts +199 -0
  743. package/dist/typescript-BPkdvRNZ.js +5 -0
  744. package/dist/typescript-CjwIFskf.cjs +1 -0
  745. package/dist/typespec-BTz_JMOP.js +3 -0
  746. package/dist/typespec-DouelPXK.cjs +1 -0
  747. package/dist/typst-CE4u0InM.js +3 -0
  748. package/dist/typst-tWpJew-N.cjs +1 -0
  749. package/dist/v-BsQ8V6u8.js +3 -0
  750. package/dist/v-C8s-zsPQ.cjs +1 -0
  751. package/dist/vala-DM-_wXAy.cjs +1 -0
  752. package/dist/vala-YJiBqBnL.js +3 -0
  753. package/dist/vb-Bex0KYEQ.js +3 -0
  754. package/dist/vb-C9lJKj2z.cjs +1 -0
  755. package/dist/vennDiagram-L72KCM5P-DRanJu29.cjs +34 -0
  756. package/dist/vennDiagram-L72KCM5P-DigPDc3M.js +1880 -0
  757. package/dist/verilog-BGHQfpqH.js +3 -0
  758. package/dist/verilog-DirKIM6M.cjs +1 -0
  759. package/dist/vesper-B2O42csv.js +4 -0
  760. package/dist/vesper-DvpD9Vcf.cjs +1 -0
  761. package/dist/vhdl-BfmNQSSn.js +3 -0
  762. package/dist/vhdl-CNJHrCfd.cjs +1 -0
  763. package/dist/viml-B611mZED.cjs +1 -0
  764. package/dist/viml-CEz_TDNf.js +3 -0
  765. package/dist/vitesse-black-DC0QCRHA.js +4 -0
  766. package/dist/vitesse-black-NsXXFHlu.cjs +1 -0
  767. package/dist/vitesse-dark-Bv5Yx4Rj.js +4 -0
  768. package/dist/vitesse-dark-D0Ji9E-l.cjs +1 -0
  769. package/dist/vitesse-light-1Wh4YtKa.cjs +1 -0
  770. package/dist/vitesse-light-DYJDYLfk.js +4 -0
  771. package/dist/vue-DPEJC1L8.js +21 -0
  772. package/dist/vue-DwTH6YhB.cjs +1 -0
  773. package/dist/vue-html-CDRAOas6.js +10 -0
  774. package/dist/vue-html-THpxvSNU.cjs +1 -0
  775. package/dist/vue-i18n-3JaSdo8e.cjs +5 -0
  776. package/dist/vue-i18n-C_VfkvBa.js +3020 -0
  777. package/dist/vyper-9K4scKvw.js +3 -0
  778. package/dist/vyper-c-_n3oeH.cjs +1 -0
  779. package/dist/wardley-OPB4EBWU-B1lggTfF.cjs +1 -0
  780. package/dist/wardley-OPB4EBWU-GZ7F_2Eb.js +3 -0
  781. package/dist/wardleyDiagram-EHGQE667-DQE0RgUA.js +645 -0
  782. package/dist/wardleyDiagram-EHGQE667-ZqPLK5FR.cjs +78 -0
  783. package/dist/wasm-B9xa8Mue.js +4 -0
  784. package/dist/wasm-BIF3u71S.js +3 -0
  785. package/dist/wasm-DLWzvvDm.cjs +1 -0
  786. package/dist/wasm-DcRxl4j_.cjs +1 -0
  787. package/dist/wenyan-6FBHpKQQ.js +3 -0
  788. package/dist/wenyan-BQyJDXGi.cjs +1 -0
  789. package/dist/wgsl-0onuchT4.js +3 -0
  790. package/dist/wgsl-CZxSYjuU.cjs +1 -0
  791. package/dist/wikitext-C6FMYqyf.js +3 -0
  792. package/dist/wikitext-DKu5qD0V.cjs +1 -0
  793. package/dist/wolfram-B2KhbCjm.cjs +1 -0
  794. package/dist/wolfram-BuhvgrGp.js +3 -0
  795. package/dist/xml-B8vy9UOv.js +6 -0
  796. package/dist/xml-CQVcpGJ_.cjs +1 -0
  797. package/dist/xsl-B6FtdfnY.cjs +1 -0
  798. package/dist/xsl-DiaKo18G.js +5 -0
  799. package/dist/xychartDiagram-FW5EYKEG-9RCD4gzs.cjs +7 -0
  800. package/dist/xychartDiagram-FW5EYKEG-B_EUKZ5E.js +2102 -0
  801. package/dist/yaml-B-_wC7KV.cjs +1 -0
  802. package/dist/yaml-CANEFoqw.js +5 -0
  803. package/dist/zenscript-BSqTPUXj.cjs +1 -0
  804. package/dist/zenscript-DpMcKymA.js +3 -0
  805. package/dist/zig-DBCpOdKI.cjs +1 -0
  806. package/dist/zig-DWkMyyIZ.js +3 -0
  807. package/package.json +68 -0
@@ -0,0 +1,1628 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
2
+ import { m as t, p as n } from "./src-DR6txdQ-.js";
3
+ import { A as r, F as i, b as a, s as o, z as s } from "./chunk-WYO6CB5R-DVUXWnvM.js";
4
+ import { a as c } from "./chunk-ICXQ74PX-Bq9mKzdP.js";
5
+ import { n as l, t as u } from "./chunk-HOUHSVGY-D13Pk7nF.js";
6
+ //#region ../../node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.js
7
+ function d() {
8
+ return {
9
+ async: !1,
10
+ breaks: !1,
11
+ extensions: null,
12
+ gfm: !0,
13
+ hooks: null,
14
+ pedantic: !1,
15
+ renderer: null,
16
+ silent: !1,
17
+ tokenizer: null,
18
+ walkTokens: null
19
+ };
20
+ }
21
+ var f = d();
22
+ function p(e) {
23
+ f = e;
24
+ }
25
+ var m = { exec: () => null };
26
+ function h(e, t = "") {
27
+ let n = typeof e == "string" ? e : e.source, r = {
28
+ replace: (e, t) => {
29
+ let i = typeof t == "string" ? t : t.source;
30
+ return i = i.replace(_.caret, "$1"), n = n.replace(e, i), r;
31
+ },
32
+ getRegex: () => new RegExp(n, t)
33
+ };
34
+ return r;
35
+ }
36
+ var g = (() => {
37
+ try {
38
+ return !0;
39
+ } catch {
40
+ return !1;
41
+ }
42
+ })(), _ = {
43
+ codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
44
+ outputLinkReplace: /\\([\[\]])/g,
45
+ indentCodeCompensation: /^(\s+)(?:```)/,
46
+ beginningSpace: /^\s+/,
47
+ endingHash: /#$/,
48
+ startingSpaceChar: /^ /,
49
+ endingSpaceChar: / $/,
50
+ nonSpaceChar: /[^ ]/,
51
+ newLineCharGlobal: /\n/g,
52
+ tabCharGlobal: /\t/g,
53
+ multipleSpaceGlobal: /\s+/g,
54
+ blankLine: /^[ \t]*$/,
55
+ doubleBlankLine: /\n[ \t]*\n[ \t]*$/,
56
+ blockquoteStart: /^ {0,3}>/,
57
+ blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g,
58
+ blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm,
59
+ listReplaceTabs: /^\t+/,
60
+ listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,
61
+ listIsTask: /^\[[ xX]\] /,
62
+ listReplaceTask: /^\[[ xX]\] +/,
63
+ anyLine: /\n.*\n/,
64
+ hrefBrackets: /^<(.*)>$/,
65
+ tableDelimiter: /[:|]/,
66
+ tableAlignChars: /^\||\| *$/g,
67
+ tableRowBlankLine: /\n[ \t]*$/,
68
+ tableAlignRight: /^ *-+: *$/,
69
+ tableAlignCenter: /^ *:-+: *$/,
70
+ tableAlignLeft: /^ *:-+ *$/,
71
+ startATag: /^<a /i,
72
+ endATag: /^<\/a>/i,
73
+ startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i,
74
+ endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i,
75
+ startAngleBracket: /^</,
76
+ endAngleBracket: />$/,
77
+ pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/,
78
+ unicodeAlphaNumeric: /[\p{L}\p{N}]/u,
79
+ escapeTest: /[&<>"']/,
80
+ escapeReplace: /[&<>"']/g,
81
+ escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
82
+ escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
83
+ unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,
84
+ caret: /(^|[^\[])\^/g,
85
+ percentDecode: /%25/g,
86
+ findPipe: /\|/g,
87
+ splitPipe: / \|/,
88
+ slashPipe: /\\\|/g,
89
+ carriageReturn: /\r\n|\r/g,
90
+ spaceLine: /^ +$/gm,
91
+ notSpaceStart: /^\S*/,
92
+ endingNewline: /\n$/,
93
+ listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
94
+ nextBulletRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),
95
+ hrRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
96
+ fencesBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
97
+ headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
98
+ htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
99
+ }, ee = /^(?:[ \t]*(?:\n|$))+/, te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ne = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, v = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, re = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, y = /(?:[*+-]|\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+|$)/, ae = h(ie).replace(/bull/g, y).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(), oe = h(ie).replace(/bull/g, y).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(), b = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, se = /^[^\n]+/, x = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ce = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", x).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), le = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, y).getRegex(), S = "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", C = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ue = 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", C).replace("tag", S).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), de = h(b).replace("hr", v).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", S).getRegex(), w = {
100
+ blockquote: h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", de).getRegex(),
101
+ code: te,
102
+ def: ce,
103
+ fences: ne,
104
+ heading: re,
105
+ hr: v,
106
+ html: ue,
107
+ lheading: ae,
108
+ list: le,
109
+ newline: ee,
110
+ paragraph: de,
111
+ table: m,
112
+ text: se
113
+ }, fe = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", v).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", S).getRegex(), pe = {
114
+ ...w,
115
+ lheading: oe,
116
+ table: fe,
117
+ paragraph: h(b).replace("hr", v).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", fe).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", S).getRegex()
118
+ }, me = {
119
+ ...w,
120
+ html: h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", C).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(),
121
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
122
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
123
+ fences: m,
124
+ lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
125
+ paragraph: h(b).replace("hr", v).replace("heading", " *#{1,6} *[^\n]").replace("lheading", ae).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
126
+ }, he = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ge = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, _e = /^( {2,}|\\)\n(?!\s*$)/, ve = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, T = /[\p{P}\p{S}]/u, E = /[\s\p{P}\p{S}]/u, ye = /[^\s\p{P}\p{S}]/u, be = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, E).getRegex(), xe = /(?!~)[\p{P}\p{S}]/u, Se = /(?!~)[\s\p{P}\p{S}]/u, Ce = /(?:[^\s\p{P}\p{S}]|~)/u, we = h(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", g ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), D = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Te = h(D, "u").replace(/punct/g, T).getRegex(), Ee = h(D, "u").replace(/punct/g, xe).getRegex(), O = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h(O, "gu").replace(/notPunctSpace/g, ye).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), Oe = h(O, "gu").replace(/notPunctSpace/g, Ce).replace(/punctSpace/g, Se).replace(/punct/g, xe).getRegex(), ke = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ye).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), Ae = h(/\\(punct)/, "gu").replace(/punct/g, T).getRegex(), je = 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(), Me = h(C).replace("(?:-->|$)", "-->").getRegex(), Ne = 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", Me).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), k = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Pe = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", k).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), A = h(/^!?\[(label)\]\[(ref)\]/).replace("label", k).replace("ref", x).getRegex(), j = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", x).getRegex(), Fe = h("reflink|nolink(?!\\()", "g").replace("reflink", A).replace("nolink", j).getRegex(), Ie = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, M = {
127
+ _backpedal: m,
128
+ anyPunctuation: Ae,
129
+ autolink: je,
130
+ blockSkip: we,
131
+ br: _e,
132
+ code: ge,
133
+ del: m,
134
+ emStrongLDelim: Te,
135
+ emStrongRDelimAst: De,
136
+ emStrongRDelimUnd: ke,
137
+ escape: he,
138
+ link: Pe,
139
+ nolink: j,
140
+ punctuation: be,
141
+ reflink: A,
142
+ reflinkSearch: Fe,
143
+ tag: Ne,
144
+ text: ve,
145
+ url: m
146
+ }, Le = {
147
+ ...M,
148
+ link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", k).getRegex(),
149
+ reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", k).getRegex()
150
+ }, N = {
151
+ ...M,
152
+ emStrongRDelimAst: Oe,
153
+ emStrongLDelim: Ee,
154
+ url: h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Ie).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
155
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
156
+ del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
157
+ text: h(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Ie).getRegex()
158
+ }, Re = {
159
+ ...N,
160
+ br: h(_e).replace("{2,}", "*").getRegex(),
161
+ text: h(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
162
+ }, P = {
163
+ normal: w,
164
+ gfm: pe,
165
+ pedantic: me
166
+ }, F = {
167
+ normal: M,
168
+ gfm: N,
169
+ breaks: Re,
170
+ pedantic: Le
171
+ }, ze = {
172
+ "&": "&amp;",
173
+ "<": "&lt;",
174
+ ">": "&gt;",
175
+ "\"": "&quot;",
176
+ "'": "&#39;"
177
+ }, Be = (e) => ze[e];
178
+ function I(e, t) {
179
+ if (t) {
180
+ if (_.escapeTest.test(e)) return e.replace(_.escapeReplace, Be);
181
+ } else if (_.escapeTestNoEncode.test(e)) return e.replace(_.escapeReplaceNoEncode, Be);
182
+ return e;
183
+ }
184
+ function Ve(e) {
185
+ try {
186
+ e = encodeURI(e).replace(_.percentDecode, "%");
187
+ } catch {
188
+ return null;
189
+ }
190
+ return e;
191
+ }
192
+ function He(e, t) {
193
+ let n = e.replace(_.findPipe, (e, t, n) => {
194
+ let r = !1, i = t;
195
+ for (; --i >= 0 && n[i] === "\\";) r = !r;
196
+ return r ? "|" : " |";
197
+ }).split(_.splitPipe), r = 0;
198
+ if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
199
+ else for (; n.length < t;) n.push("");
200
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(_.slashPipe, "|");
201
+ return n;
202
+ }
203
+ function L(e, t, n) {
204
+ let r = e.length;
205
+ if (r === 0) return "";
206
+ let i = 0;
207
+ for (; i < r;) {
208
+ let a = e.charAt(r - i - 1);
209
+ if (a === t && !n) i++;
210
+ else if (a !== t && n) i++;
211
+ else break;
212
+ }
213
+ return e.slice(0, r - i);
214
+ }
215
+ function Ue(e, t) {
216
+ if (e.indexOf(t[1]) === -1) return -1;
217
+ let n = 0;
218
+ for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
219
+ else if (e[r] === t[0]) n++;
220
+ else if (e[r] === t[1] && (n--, n < 0)) return r;
221
+ return n > 0 ? -2 : -1;
222
+ }
223
+ function We(e, t, n, r, i) {
224
+ let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
225
+ r.state.inLink = !0;
226
+ let c = {
227
+ type: e[0].charAt(0) === "!" ? "image" : "link",
228
+ raw: n,
229
+ href: a,
230
+ title: o,
231
+ text: s,
232
+ tokens: r.inlineTokens(s)
233
+ };
234
+ return r.state.inLink = !1, c;
235
+ }
236
+ function Ge(e, t, n) {
237
+ let r = e.match(n.other.indentCodeCompensation);
238
+ if (r === null) return t;
239
+ let i = r[1];
240
+ return t.split("\n").map((e) => {
241
+ let t = e.match(n.other.beginningSpace);
242
+ if (t === null) return e;
243
+ let [r] = t;
244
+ return r.length >= i.length ? e.slice(i.length) : e;
245
+ }).join("\n");
246
+ }
247
+ var R = class {
248
+ options;
249
+ rules;
250
+ lexer;
251
+ constructor(e) {
252
+ this.options = e || f;
253
+ }
254
+ space(e) {
255
+ let t = this.rules.block.newline.exec(e);
256
+ if (t && t[0].length > 0) return {
257
+ type: "space",
258
+ raw: t[0]
259
+ };
260
+ }
261
+ code(e) {
262
+ let t = this.rules.block.code.exec(e);
263
+ if (t) {
264
+ let e = t[0].replace(this.rules.other.codeRemoveIndent, "");
265
+ return {
266
+ type: "code",
267
+ raw: t[0],
268
+ codeBlockStyle: "indented",
269
+ text: this.options.pedantic ? e : L(e, "\n")
270
+ };
271
+ }
272
+ }
273
+ fences(e) {
274
+ let t = this.rules.block.fences.exec(e);
275
+ if (t) {
276
+ let e = t[0], n = Ge(e, t[3] || "", this.rules);
277
+ return {
278
+ type: "code",
279
+ raw: e,
280
+ lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
281
+ text: n
282
+ };
283
+ }
284
+ }
285
+ heading(e) {
286
+ let t = this.rules.block.heading.exec(e);
287
+ if (t) {
288
+ let e = t[2].trim();
289
+ if (this.rules.other.endingHash.test(e)) {
290
+ let t = L(e, "#");
291
+ (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
292
+ }
293
+ return {
294
+ type: "heading",
295
+ raw: t[0],
296
+ depth: t[1].length,
297
+ text: e,
298
+ tokens: this.lexer.inline(e)
299
+ };
300
+ }
301
+ }
302
+ hr(e) {
303
+ let t = this.rules.block.hr.exec(e);
304
+ if (t) return {
305
+ type: "hr",
306
+ raw: L(t[0], "\n")
307
+ };
308
+ }
309
+ blockquote(e) {
310
+ let t = this.rules.block.blockquote.exec(e);
311
+ if (t) {
312
+ let e = L(t[0], "\n").split("\n"), n = "", r = "", i = [];
313
+ for (; e.length > 0;) {
314
+ let t = !1, a = [], o;
315
+ for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
316
+ else if (!t) a.push(e[o]);
317
+ else break;
318
+ e = e.slice(o);
319
+ let s = a.join("\n"), c = s.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
320
+ n = n ? `${n}
321
+ ${s}` : s, r = r ? `${r}
322
+ ${c}` : c;
323
+ let l = this.lexer.state.top;
324
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
325
+ let u = i.at(-1);
326
+ if (u?.type === "code") break;
327
+ if (u?.type === "blockquote") {
328
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
329
+ i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
330
+ break;
331
+ } else if (u?.type === "list") {
332
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
333
+ i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
334
+ continue;
335
+ }
336
+ }
337
+ return {
338
+ type: "blockquote",
339
+ raw: n,
340
+ tokens: i,
341
+ text: r
342
+ };
343
+ }
344
+ }
345
+ list(e) {
346
+ let t = this.rules.block.list.exec(e);
347
+ if (t) {
348
+ let n = t[1].trim(), r = n.length > 1, i = {
349
+ type: "list",
350
+ raw: "",
351
+ ordered: r,
352
+ start: r ? +n.slice(0, -1) : "",
353
+ loose: !1,
354
+ items: []
355
+ };
356
+ n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
357
+ let a = this.rules.other.listItemRegex(n), o = !1;
358
+ for (; e;) {
359
+ let n = !1, r = "", s = "";
360
+ if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
361
+ r = t[0], e = e.substring(r.length);
362
+ let c = t[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e) => " ".repeat(3 * e.length)), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
363
+ if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = t[2].search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
364
+ let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d);
365
+ for (; e;) {
366
+ let f = e.split("\n", 1)[0], p;
367
+ if (l = f, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
368
+ if (p.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + p.slice(d);
369
+ else {
370
+ if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
371
+ s += "\n" + l;
372
+ }
373
+ !u && !l.trim() && (u = !0), r += f + "\n", e = e.substring(f.length + 1), c = p.slice(d);
374
+ }
375
+ }
376
+ i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0));
377
+ let f = null, p;
378
+ this.options.gfm && (f = this.rules.other.listIsTask.exec(s), f && (p = f[0] !== "[ ] ", s = s.replace(this.rules.other.listReplaceTask, ""))), i.items.push({
379
+ type: "list_item",
380
+ raw: r,
381
+ task: !!f,
382
+ checked: p,
383
+ loose: !1,
384
+ text: s,
385
+ tokens: []
386
+ }), i.raw += r;
387
+ }
388
+ let s = i.items.at(-1);
389
+ if (s) s.raw = s.raw.trimEnd(), s.text = s.text.trimEnd();
390
+ else return;
391
+ i.raw = i.raw.trimEnd();
392
+ for (let e = 0; e < i.items.length; e++) if (this.lexer.state.top = !1, i.items[e].tokens = this.lexer.blockTokens(i.items[e].text, []), !i.loose) {
393
+ let t = i.items[e].tokens.filter((e) => e.type === "space");
394
+ i.loose = t.length > 0 && t.some((e) => this.rules.other.anyLine.test(e.raw));
395
+ }
396
+ if (i.loose) for (let e = 0; e < i.items.length; e++) i.items[e].loose = !0;
397
+ return i;
398
+ }
399
+ }
400
+ html(e) {
401
+ let t = this.rules.block.html.exec(e);
402
+ if (t) return {
403
+ type: "html",
404
+ block: !0,
405
+ raw: t[0],
406
+ pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
407
+ text: t[0]
408
+ };
409
+ }
410
+ def(e) {
411
+ let t = this.rules.block.def.exec(e);
412
+ if (t) {
413
+ let e = t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), n = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
414
+ return {
415
+ type: "def",
416
+ tag: e,
417
+ raw: t[0],
418
+ href: n,
419
+ title: r
420
+ };
421
+ }
422
+ }
423
+ table(e) {
424
+ let t = this.rules.block.table.exec(e);
425
+ if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
426
+ let n = He(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
427
+ type: "table",
428
+ raw: t[0],
429
+ header: [],
430
+ align: [],
431
+ rows: []
432
+ };
433
+ if (n.length === r.length) {
434
+ for (let e of r) this.rules.other.tableAlignRight.test(e) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? a.align.push("left") : a.align.push(null);
435
+ for (let e = 0; e < n.length; e++) a.header.push({
436
+ text: n[e],
437
+ tokens: this.lexer.inline(n[e]),
438
+ header: !0,
439
+ align: a.align[e]
440
+ });
441
+ for (let e of i) a.rows.push(He(e, a.header.length).map((e, t) => ({
442
+ text: e,
443
+ tokens: this.lexer.inline(e),
444
+ header: !1,
445
+ align: a.align[t]
446
+ })));
447
+ return a;
448
+ }
449
+ }
450
+ lheading(e) {
451
+ let t = this.rules.block.lheading.exec(e);
452
+ if (t) return {
453
+ type: "heading",
454
+ raw: t[0],
455
+ depth: t[2].charAt(0) === "=" ? 1 : 2,
456
+ text: t[1],
457
+ tokens: this.lexer.inline(t[1])
458
+ };
459
+ }
460
+ paragraph(e) {
461
+ let t = this.rules.block.paragraph.exec(e);
462
+ if (t) {
463
+ let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
464
+ return {
465
+ type: "paragraph",
466
+ raw: t[0],
467
+ text: e,
468
+ tokens: this.lexer.inline(e)
469
+ };
470
+ }
471
+ }
472
+ text(e) {
473
+ let t = this.rules.block.text.exec(e);
474
+ if (t) return {
475
+ type: "text",
476
+ raw: t[0],
477
+ text: t[0],
478
+ tokens: this.lexer.inline(t[0])
479
+ };
480
+ }
481
+ escape(e) {
482
+ let t = this.rules.inline.escape.exec(e);
483
+ if (t) return {
484
+ type: "escape",
485
+ raw: t[0],
486
+ text: t[1]
487
+ };
488
+ }
489
+ tag(e) {
490
+ let t = this.rules.inline.tag.exec(e);
491
+ if (t) return !this.lexer.state.inLink && this.rules.other.startATag.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
492
+ type: "html",
493
+ raw: t[0],
494
+ inLink: this.lexer.state.inLink,
495
+ inRawBlock: this.lexer.state.inRawBlock,
496
+ block: !1,
497
+ text: t[0]
498
+ };
499
+ }
500
+ link(e) {
501
+ let t = this.rules.inline.link.exec(e);
502
+ if (t) {
503
+ let e = t[2].trim();
504
+ if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
505
+ if (!this.rules.other.endAngleBracket.test(e)) return;
506
+ let t = L(e.slice(0, -1), "\\");
507
+ if ((e.length - t.length) % 2 == 0) return;
508
+ } else {
509
+ let e = Ue(t[2], "()");
510
+ if (e === -2) return;
511
+ if (e > -1) {
512
+ let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
513
+ t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
514
+ }
515
+ }
516
+ let n = t[2], r = "";
517
+ if (this.options.pedantic) {
518
+ let e = this.rules.other.pedanticHrefTitle.exec(n);
519
+ e && (n = e[1], r = e[3]);
520
+ } else r = t[3] ? t[3].slice(1, -1) : "";
521
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), We(t, {
522
+ href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
523
+ title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
524
+ }, t[0], this.lexer, this.rules);
525
+ }
526
+ }
527
+ reflink(e, t) {
528
+ let n;
529
+ if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
530
+ let e = t[(n[2] || n[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
531
+ if (!e) {
532
+ let e = n[0].charAt(0);
533
+ return {
534
+ type: "text",
535
+ raw: e,
536
+ text: e
537
+ };
538
+ }
539
+ return We(n, e, n[0], this.lexer, this.rules);
540
+ }
541
+ }
542
+ emStrong(e, t, n = "") {
543
+ let r = this.rules.inline.emStrongLDelim.exec(e);
544
+ if (!(!r || r[3] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[2]) || !n || this.rules.inline.punctuation.exec(n))) {
545
+ let n = [...r[0]].length - 1, i, a, o = n, s = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
546
+ for (c.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = c.exec(t)) != null;) {
547
+ if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i) continue;
548
+ if (a = [...i].length, r[3] || r[4]) {
549
+ o += a;
550
+ continue;
551
+ } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
552
+ s += a;
553
+ continue;
554
+ }
555
+ if (o -= a, o > 0) continue;
556
+ a = Math.min(a, a + o + s);
557
+ let t = [...r[0]][0].length, c = e.slice(0, n + r.index + t + a);
558
+ if (Math.min(n, a) % 2) {
559
+ let e = c.slice(1, -1);
560
+ return {
561
+ type: "em",
562
+ raw: c,
563
+ text: e,
564
+ tokens: this.lexer.inlineTokens(e)
565
+ };
566
+ }
567
+ let l = c.slice(2, -2);
568
+ return {
569
+ type: "strong",
570
+ raw: c,
571
+ text: l,
572
+ tokens: this.lexer.inlineTokens(l)
573
+ };
574
+ }
575
+ }
576
+ }
577
+ codespan(e) {
578
+ let t = this.rules.inline.code.exec(e);
579
+ if (t) {
580
+ let e = t[2].replace(this.rules.other.newLineCharGlobal, " "), n = this.rules.other.nonSpaceChar.test(e), r = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
581
+ return n && r && (e = e.substring(1, e.length - 1)), {
582
+ type: "codespan",
583
+ raw: t[0],
584
+ text: e
585
+ };
586
+ }
587
+ }
588
+ br(e) {
589
+ let t = this.rules.inline.br.exec(e);
590
+ if (t) return {
591
+ type: "br",
592
+ raw: t[0]
593
+ };
594
+ }
595
+ del(e) {
596
+ let t = this.rules.inline.del.exec(e);
597
+ if (t) return {
598
+ type: "del",
599
+ raw: t[0],
600
+ text: t[2],
601
+ tokens: this.lexer.inlineTokens(t[2])
602
+ };
603
+ }
604
+ autolink(e) {
605
+ let t = this.rules.inline.autolink.exec(e);
606
+ if (t) {
607
+ let e, n;
608
+ return t[2] === "@" ? (e = t[1], n = "mailto:" + e) : (e = t[1], n = e), {
609
+ type: "link",
610
+ raw: t[0],
611
+ text: e,
612
+ href: n,
613
+ tokens: [{
614
+ type: "text",
615
+ raw: e,
616
+ text: e
617
+ }]
618
+ };
619
+ }
620
+ }
621
+ url(e) {
622
+ let t;
623
+ if (t = this.rules.inline.url.exec(e)) {
624
+ let e, n;
625
+ if (t[2] === "@") e = t[0], n = "mailto:" + e;
626
+ else {
627
+ let r;
628
+ do
629
+ r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
630
+ while (r !== t[0]);
631
+ e = t[0], n = t[1] === "www." ? "http://" + t[0] : t[0];
632
+ }
633
+ return {
634
+ type: "link",
635
+ raw: t[0],
636
+ text: e,
637
+ href: n,
638
+ tokens: [{
639
+ type: "text",
640
+ raw: e,
641
+ text: e
642
+ }]
643
+ };
644
+ }
645
+ }
646
+ inlineText(e) {
647
+ let t = this.rules.inline.text.exec(e);
648
+ if (t) {
649
+ let e = this.lexer.state.inRawBlock;
650
+ return {
651
+ type: "text",
652
+ raw: t[0],
653
+ text: t[0],
654
+ escaped: e
655
+ };
656
+ }
657
+ }
658
+ }, z = class e {
659
+ tokens;
660
+ options;
661
+ state;
662
+ tokenizer;
663
+ inlineQueue;
664
+ constructor(e) {
665
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || f, this.options.tokenizer = this.options.tokenizer || new R(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
666
+ inLink: !1,
667
+ inRawBlock: !1,
668
+ top: !0
669
+ };
670
+ let t = {
671
+ other: _,
672
+ block: P.normal,
673
+ inline: F.normal
674
+ };
675
+ this.options.pedantic ? (t.block = P.pedantic, t.inline = F.pedantic) : this.options.gfm && (t.block = P.gfm, this.options.breaks ? t.inline = F.breaks : t.inline = F.gfm), this.tokenizer.rules = t;
676
+ }
677
+ static get rules() {
678
+ return {
679
+ block: P,
680
+ inline: F
681
+ };
682
+ }
683
+ static lex(t, n) {
684
+ return new e(n).lex(t);
685
+ }
686
+ static lexInline(t, n) {
687
+ return new e(n).inlineTokens(t);
688
+ }
689
+ lex(e) {
690
+ e = e.replace(_.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
691
+ for (let e = 0; e < this.inlineQueue.length; e++) {
692
+ let t = this.inlineQueue[e];
693
+ this.inlineTokens(t.src, t.tokens);
694
+ }
695
+ return this.inlineQueue = [], this.tokens;
696
+ }
697
+ blockTokens(e, t = [], n = !1) {
698
+ for (this.options.pedantic && (e = e.replace(_.tabCharGlobal, " ").replace(_.spaceLine, "")); e;) {
699
+ let r;
700
+ if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
701
+ if (r = this.tokenizer.space(e)) {
702
+ e = e.substring(r.raw.length);
703
+ let n = t.at(-1);
704
+ r.raw.length === 1 && n !== void 0 ? n.raw += "\n" : t.push(r);
705
+ continue;
706
+ }
707
+ if (r = this.tokenizer.code(e)) {
708
+ e = e.substring(r.raw.length);
709
+ let n = t.at(-1);
710
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
711
+ continue;
712
+ }
713
+ if (r = this.tokenizer.fences(e)) {
714
+ e = e.substring(r.raw.length), t.push(r);
715
+ continue;
716
+ }
717
+ if (r = this.tokenizer.heading(e)) {
718
+ e = e.substring(r.raw.length), t.push(r);
719
+ continue;
720
+ }
721
+ if (r = this.tokenizer.hr(e)) {
722
+ e = e.substring(r.raw.length), t.push(r);
723
+ continue;
724
+ }
725
+ if (r = this.tokenizer.blockquote(e)) {
726
+ e = e.substring(r.raw.length), t.push(r);
727
+ continue;
728
+ }
729
+ if (r = this.tokenizer.list(e)) {
730
+ e = e.substring(r.raw.length), t.push(r);
731
+ continue;
732
+ }
733
+ if (r = this.tokenizer.html(e)) {
734
+ e = e.substring(r.raw.length), t.push(r);
735
+ continue;
736
+ }
737
+ if (r = this.tokenizer.def(e)) {
738
+ e = e.substring(r.raw.length);
739
+ let n = t.at(-1);
740
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.raw, this.inlineQueue.at(-1).src = n.text) : this.tokens.links[r.tag] || (this.tokens.links[r.tag] = {
741
+ href: r.href,
742
+ title: r.title
743
+ }, t.push(r));
744
+ continue;
745
+ }
746
+ if (r = this.tokenizer.table(e)) {
747
+ e = e.substring(r.raw.length), t.push(r);
748
+ continue;
749
+ }
750
+ if (r = this.tokenizer.lheading(e)) {
751
+ e = e.substring(r.raw.length), t.push(r);
752
+ continue;
753
+ }
754
+ let i = e;
755
+ if (this.options.extensions?.startBlock) {
756
+ let t = Infinity, n = e.slice(1), r;
757
+ this.options.extensions.startBlock.forEach((e) => {
758
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
759
+ }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
760
+ }
761
+ if (this.state.top && (r = this.tokenizer.paragraph(i))) {
762
+ let a = t.at(-1);
763
+ n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
764
+ continue;
765
+ }
766
+ if (r = this.tokenizer.text(e)) {
767
+ e = e.substring(r.raw.length);
768
+ let n = t.at(-1);
769
+ n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
770
+ continue;
771
+ }
772
+ if (e) {
773
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
774
+ if (this.options.silent) {
775
+ console.error(t);
776
+ break;
777
+ } else throw Error(t);
778
+ }
779
+ }
780
+ return this.state.top = !0, t;
781
+ }
782
+ inline(e, t = []) {
783
+ return this.inlineQueue.push({
784
+ src: e,
785
+ tokens: t
786
+ }), t;
787
+ }
788
+ inlineTokens(e, t = []) {
789
+ let n = e, r = null;
790
+ if (this.tokens.links) {
791
+ let e = Object.keys(this.tokens.links);
792
+ if (e.length > 0) for (; (r = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null;) e.includes(r[0].slice(r[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r.index) + "[" + "a".repeat(r[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
793
+ }
794
+ for (; (r = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null;) n = n.slice(0, r.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
795
+ let i;
796
+ for (; (r = this.tokenizer.rules.inline.blockSkip.exec(n)) != null;) i = r[2] ? r[2].length : 0, n = n.slice(0, r.index + i) + "[" + "a".repeat(r[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
797
+ n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
798
+ let a = !1, o = "";
799
+ for (; e;) {
800
+ a || (o = ""), a = !1;
801
+ let r;
802
+ if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
803
+ if (r = this.tokenizer.escape(e)) {
804
+ e = e.substring(r.raw.length), t.push(r);
805
+ continue;
806
+ }
807
+ if (r = this.tokenizer.tag(e)) {
808
+ e = e.substring(r.raw.length), t.push(r);
809
+ continue;
810
+ }
811
+ if (r = this.tokenizer.link(e)) {
812
+ e = e.substring(r.raw.length), t.push(r);
813
+ continue;
814
+ }
815
+ if (r = this.tokenizer.reflink(e, this.tokens.links)) {
816
+ e = e.substring(r.raw.length);
817
+ let n = t.at(-1);
818
+ r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
819
+ continue;
820
+ }
821
+ if (r = this.tokenizer.emStrong(e, n, o)) {
822
+ e = e.substring(r.raw.length), t.push(r);
823
+ continue;
824
+ }
825
+ if (r = this.tokenizer.codespan(e)) {
826
+ e = e.substring(r.raw.length), t.push(r);
827
+ continue;
828
+ }
829
+ if (r = this.tokenizer.br(e)) {
830
+ e = e.substring(r.raw.length), t.push(r);
831
+ continue;
832
+ }
833
+ if (r = this.tokenizer.del(e)) {
834
+ e = e.substring(r.raw.length), t.push(r);
835
+ continue;
836
+ }
837
+ if (r = this.tokenizer.autolink(e)) {
838
+ e = e.substring(r.raw.length), t.push(r);
839
+ continue;
840
+ }
841
+ if (!this.state.inLink && (r = this.tokenizer.url(e))) {
842
+ e = e.substring(r.raw.length), t.push(r);
843
+ continue;
844
+ }
845
+ let i = e;
846
+ if (this.options.extensions?.startInline) {
847
+ let t = Infinity, n = e.slice(1), r;
848
+ this.options.extensions.startInline.forEach((e) => {
849
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
850
+ }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
851
+ }
852
+ if (r = this.tokenizer.inlineText(i)) {
853
+ e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
854
+ let n = t.at(-1);
855
+ n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
856
+ continue;
857
+ }
858
+ if (e) {
859
+ let t = "Infinite loop on byte: " + e.charCodeAt(0);
860
+ if (this.options.silent) {
861
+ console.error(t);
862
+ break;
863
+ } else throw Error(t);
864
+ }
865
+ }
866
+ return t;
867
+ }
868
+ }, B = class {
869
+ options;
870
+ parser;
871
+ constructor(e) {
872
+ this.options = e || f;
873
+ }
874
+ space(e) {
875
+ return "";
876
+ }
877
+ code({ text: e, lang: t, escaped: n }) {
878
+ let r = (t || "").match(_.notSpaceStart)?.[0], i = e.replace(_.endingNewline, "") + "\n";
879
+ return r ? "<pre><code class=\"language-" + I(r) + "\">" + (n ? i : I(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : I(i, !0)) + "</code></pre>\n";
880
+ }
881
+ blockquote({ tokens: e }) {
882
+ return `<blockquote>
883
+ ${this.parser.parse(e)}</blockquote>
884
+ `;
885
+ }
886
+ html({ text: e }) {
887
+ return e;
888
+ }
889
+ def(e) {
890
+ return "";
891
+ }
892
+ heading({ tokens: e, depth: t }) {
893
+ return `<h${t}>${this.parser.parseInline(e)}</h${t}>
894
+ `;
895
+ }
896
+ hr(e) {
897
+ return "<hr>\n";
898
+ }
899
+ list(e) {
900
+ let t = e.ordered, n = e.start, r = "";
901
+ for (let t = 0; t < e.items.length; t++) {
902
+ let n = e.items[t];
903
+ r += this.listitem(n);
904
+ }
905
+ let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
906
+ return "<" + i + a + ">\n" + r + "</" + i + ">\n";
907
+ }
908
+ listitem(e) {
909
+ let t = "";
910
+ if (e.task) {
911
+ let n = this.checkbox({ checked: !!e.checked });
912
+ e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + I(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
913
+ type: "text",
914
+ raw: n + " ",
915
+ text: n + " ",
916
+ escaped: !0
917
+ }) : t += n + " ";
918
+ }
919
+ return t += this.parser.parse(e.tokens, !!e.loose), `<li>${t}</li>
920
+ `;
921
+ }
922
+ checkbox({ checked: e }) {
923
+ return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\">";
924
+ }
925
+ paragraph({ tokens: e }) {
926
+ return `<p>${this.parser.parseInline(e)}</p>
927
+ `;
928
+ }
929
+ table(e) {
930
+ let t = "", n = "";
931
+ for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
932
+ t += this.tablerow({ text: n });
933
+ let r = "";
934
+ for (let t = 0; t < e.rows.length; t++) {
935
+ let i = e.rows[t];
936
+ n = "";
937
+ for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
938
+ r += this.tablerow({ text: n });
939
+ }
940
+ return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
941
+ }
942
+ tablerow({ text: e }) {
943
+ return `<tr>
944
+ ${e}</tr>
945
+ `;
946
+ }
947
+ tablecell(e) {
948
+ let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
949
+ return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>
950
+ `;
951
+ }
952
+ strong({ tokens: e }) {
953
+ return `<strong>${this.parser.parseInline(e)}</strong>`;
954
+ }
955
+ em({ tokens: e }) {
956
+ return `<em>${this.parser.parseInline(e)}</em>`;
957
+ }
958
+ codespan({ text: e }) {
959
+ return `<code>${I(e, !0)}</code>`;
960
+ }
961
+ br(e) {
962
+ return "<br>";
963
+ }
964
+ del({ tokens: e }) {
965
+ return `<del>${this.parser.parseInline(e)}</del>`;
966
+ }
967
+ link({ href: e, title: t, tokens: n }) {
968
+ let r = this.parser.parseInline(n), i = Ve(e);
969
+ if (i === null) return r;
970
+ e = i;
971
+ let a = "<a href=\"" + e + "\"";
972
+ return t && (a += " title=\"" + I(t) + "\""), a += ">" + r + "</a>", a;
973
+ }
974
+ image({ href: e, title: t, text: n, tokens: r }) {
975
+ r && (n = this.parser.parseInline(r, this.parser.textRenderer));
976
+ let i = Ve(e);
977
+ if (i === null) return I(n);
978
+ e = i;
979
+ let a = `<img src="${e}" alt="${n}"`;
980
+ return t && (a += ` title="${I(t)}"`), a += ">", a;
981
+ }
982
+ text(e) {
983
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : I(e.text);
984
+ }
985
+ }, V = class {
986
+ strong({ text: e }) {
987
+ return e;
988
+ }
989
+ em({ text: e }) {
990
+ return e;
991
+ }
992
+ codespan({ text: e }) {
993
+ return e;
994
+ }
995
+ del({ text: e }) {
996
+ return e;
997
+ }
998
+ html({ text: e }) {
999
+ return e;
1000
+ }
1001
+ text({ text: e }) {
1002
+ return e;
1003
+ }
1004
+ link({ text: e }) {
1005
+ return "" + e;
1006
+ }
1007
+ image({ text: e }) {
1008
+ return "" + e;
1009
+ }
1010
+ br() {
1011
+ return "";
1012
+ }
1013
+ }, H = class e {
1014
+ options;
1015
+ renderer;
1016
+ textRenderer;
1017
+ constructor(e) {
1018
+ this.options = e || f, this.options.renderer = this.options.renderer || new B(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new V();
1019
+ }
1020
+ static parse(t, n) {
1021
+ return new e(n).parse(t);
1022
+ }
1023
+ static parseInline(t, n) {
1024
+ return new e(n).parseInline(t);
1025
+ }
1026
+ parse(e, t = !0) {
1027
+ let n = "";
1028
+ for (let r = 0; r < e.length; r++) {
1029
+ let i = e[r];
1030
+ if (this.options.extensions?.renderers?.[i.type]) {
1031
+ let e = i, t = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1032
+ if (t !== !1 || ![
1033
+ "space",
1034
+ "hr",
1035
+ "heading",
1036
+ "code",
1037
+ "table",
1038
+ "blockquote",
1039
+ "list",
1040
+ "html",
1041
+ "def",
1042
+ "paragraph",
1043
+ "text"
1044
+ ].includes(e.type)) {
1045
+ n += t || "";
1046
+ continue;
1047
+ }
1048
+ }
1049
+ let a = i;
1050
+ switch (a.type) {
1051
+ case "space":
1052
+ n += this.renderer.space(a);
1053
+ continue;
1054
+ case "hr":
1055
+ n += this.renderer.hr(a);
1056
+ continue;
1057
+ case "heading":
1058
+ n += this.renderer.heading(a);
1059
+ continue;
1060
+ case "code":
1061
+ n += this.renderer.code(a);
1062
+ continue;
1063
+ case "table":
1064
+ n += this.renderer.table(a);
1065
+ continue;
1066
+ case "blockquote":
1067
+ n += this.renderer.blockquote(a);
1068
+ continue;
1069
+ case "list":
1070
+ n += this.renderer.list(a);
1071
+ continue;
1072
+ case "html":
1073
+ n += this.renderer.html(a);
1074
+ continue;
1075
+ case "def":
1076
+ n += this.renderer.def(a);
1077
+ continue;
1078
+ case "paragraph":
1079
+ n += this.renderer.paragraph(a);
1080
+ continue;
1081
+ case "text": {
1082
+ let i = a, o = this.renderer.text(i);
1083
+ for (; r + 1 < e.length && e[r + 1].type === "text";) i = e[++r], o += "\n" + this.renderer.text(i);
1084
+ t ? n += this.renderer.paragraph({
1085
+ type: "paragraph",
1086
+ raw: o,
1087
+ text: o,
1088
+ tokens: [{
1089
+ type: "text",
1090
+ raw: o,
1091
+ text: o,
1092
+ escaped: !0
1093
+ }]
1094
+ }) : n += o;
1095
+ continue;
1096
+ }
1097
+ default: {
1098
+ let e = "Token with \"" + a.type + "\" type was not found.";
1099
+ if (this.options.silent) return console.error(e), "";
1100
+ throw Error(e);
1101
+ }
1102
+ }
1103
+ }
1104
+ return n;
1105
+ }
1106
+ parseInline(e, t = this.renderer) {
1107
+ let n = "";
1108
+ for (let r = 0; r < e.length; r++) {
1109
+ let i = e[r];
1110
+ if (this.options.extensions?.renderers?.[i.type]) {
1111
+ let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
1112
+ if (e !== !1 || ![
1113
+ "escape",
1114
+ "html",
1115
+ "link",
1116
+ "image",
1117
+ "strong",
1118
+ "em",
1119
+ "codespan",
1120
+ "br",
1121
+ "del",
1122
+ "text"
1123
+ ].includes(i.type)) {
1124
+ n += e || "";
1125
+ continue;
1126
+ }
1127
+ }
1128
+ let a = i;
1129
+ switch (a.type) {
1130
+ case "escape":
1131
+ n += t.text(a);
1132
+ break;
1133
+ case "html":
1134
+ n += t.html(a);
1135
+ break;
1136
+ case "link":
1137
+ n += t.link(a);
1138
+ break;
1139
+ case "image":
1140
+ n += t.image(a);
1141
+ break;
1142
+ case "strong":
1143
+ n += t.strong(a);
1144
+ break;
1145
+ case "em":
1146
+ n += t.em(a);
1147
+ break;
1148
+ case "codespan":
1149
+ n += t.codespan(a);
1150
+ break;
1151
+ case "br":
1152
+ n += t.br(a);
1153
+ break;
1154
+ case "del":
1155
+ n += t.del(a);
1156
+ break;
1157
+ case "text":
1158
+ n += t.text(a);
1159
+ break;
1160
+ default: {
1161
+ let e = "Token with \"" + a.type + "\" type was not found.";
1162
+ if (this.options.silent) return console.error(e), "";
1163
+ throw Error(e);
1164
+ }
1165
+ }
1166
+ }
1167
+ return n;
1168
+ }
1169
+ }, U = class {
1170
+ options;
1171
+ block;
1172
+ constructor(e) {
1173
+ this.options = e || f;
1174
+ }
1175
+ static passThroughHooks = /* @__PURE__ */ new Set([
1176
+ "preprocess",
1177
+ "postprocess",
1178
+ "processAllTokens",
1179
+ "emStrongMask"
1180
+ ]);
1181
+ static passThroughHooksRespectAsync = /* @__PURE__ */ new Set([
1182
+ "preprocess",
1183
+ "postprocess",
1184
+ "processAllTokens"
1185
+ ]);
1186
+ preprocess(e) {
1187
+ return e;
1188
+ }
1189
+ postprocess(e) {
1190
+ return e;
1191
+ }
1192
+ processAllTokens(e) {
1193
+ return e;
1194
+ }
1195
+ emStrongMask(e) {
1196
+ return e;
1197
+ }
1198
+ provideLexer() {
1199
+ return this.block ? z.lex : z.lexInline;
1200
+ }
1201
+ provideParser() {
1202
+ return this.block ? H.parse : H.parseInline;
1203
+ }
1204
+ }, W = new class {
1205
+ defaults = d();
1206
+ options = this.setOptions;
1207
+ parse = this.parseMarkdown(!0);
1208
+ parseInline = this.parseMarkdown(!1);
1209
+ Parser = H;
1210
+ Renderer = B;
1211
+ TextRenderer = V;
1212
+ Lexer = z;
1213
+ Tokenizer = R;
1214
+ Hooks = U;
1215
+ constructor(...e) {
1216
+ this.use(...e);
1217
+ }
1218
+ walkTokens(e, t) {
1219
+ let n = [];
1220
+ for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
1221
+ case "table": {
1222
+ let e = r;
1223
+ for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
1224
+ for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
1225
+ break;
1226
+ }
1227
+ case "list": {
1228
+ let e = r;
1229
+ n = n.concat(this.walkTokens(e.items, t));
1230
+ break;
1231
+ }
1232
+ default: {
1233
+ let e = r;
1234
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1235
+ let i = e[r].flat(Infinity);
1236
+ n = n.concat(this.walkTokens(i, t));
1237
+ }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1238
+ }
1239
+ }
1240
+ return n;
1241
+ }
1242
+ use(...e) {
1243
+ let t = this.defaults.extensions || {
1244
+ renderers: {},
1245
+ childTokens: {}
1246
+ };
1247
+ return e.forEach((e) => {
1248
+ let n = { ...e };
1249
+ if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
1250
+ if (!e.name) throw Error("extension name required");
1251
+ if ("renderer" in e) {
1252
+ let n = t.renderers[e.name];
1253
+ n ? t.renderers[e.name] = function(...t) {
1254
+ let r = e.renderer.apply(this, t);
1255
+ return r === !1 && (r = n.apply(this, t)), r;
1256
+ } : t.renderers[e.name] = e.renderer;
1257
+ }
1258
+ if ("tokenizer" in e) {
1259
+ if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1260
+ let n = t[e.level];
1261
+ n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
1262
+ }
1263
+ "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1264
+ }), n.extensions = t), e.renderer) {
1265
+ let t = this.defaults.renderer || new B(this.defaults);
1266
+ for (let n in e.renderer) {
1267
+ if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1268
+ if (["options", "parser"].includes(n)) continue;
1269
+ let r = n, i = e.renderer[r], a = t[r];
1270
+ t[r] = (...e) => {
1271
+ let n = i.apply(t, e);
1272
+ return n === !1 && (n = a.apply(t, e)), n || "";
1273
+ };
1274
+ }
1275
+ n.renderer = t;
1276
+ }
1277
+ if (e.tokenizer) {
1278
+ let t = this.defaults.tokenizer || new R(this.defaults);
1279
+ for (let n in e.tokenizer) {
1280
+ if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1281
+ if ([
1282
+ "options",
1283
+ "rules",
1284
+ "lexer"
1285
+ ].includes(n)) continue;
1286
+ let r = n, i = e.tokenizer[r], a = t[r];
1287
+ t[r] = (...e) => {
1288
+ let n = i.apply(t, e);
1289
+ return n === !1 && (n = a.apply(t, e)), n;
1290
+ };
1291
+ }
1292
+ n.tokenizer = t;
1293
+ }
1294
+ if (e.hooks) {
1295
+ let t = this.defaults.hooks || new U();
1296
+ for (let n in e.hooks) {
1297
+ if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1298
+ if (["options", "block"].includes(n)) continue;
1299
+ let r = n, i = e.hooks[r], a = t[r];
1300
+ U.passThroughHooks.has(n) ? t[r] = (e) => {
1301
+ if (this.defaults.async && U.passThroughHooksRespectAsync.has(n)) return (async () => {
1302
+ let n = await i.call(t, e);
1303
+ return a.call(t, n);
1304
+ })();
1305
+ let r = i.call(t, e);
1306
+ return a.call(t, r);
1307
+ } : t[r] = (...e) => {
1308
+ if (this.defaults.async) return (async () => {
1309
+ let n = await i.apply(t, e);
1310
+ return n === !1 && (n = await a.apply(t, e)), n;
1311
+ })();
1312
+ let n = i.apply(t, e);
1313
+ return n === !1 && (n = a.apply(t, e)), n;
1314
+ };
1315
+ }
1316
+ n.hooks = t;
1317
+ }
1318
+ if (e.walkTokens) {
1319
+ let t = this.defaults.walkTokens, r = e.walkTokens;
1320
+ n.walkTokens = function(e) {
1321
+ let n = [];
1322
+ return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
1323
+ };
1324
+ }
1325
+ this.defaults = {
1326
+ ...this.defaults,
1327
+ ...n
1328
+ };
1329
+ }), this;
1330
+ }
1331
+ setOptions(e) {
1332
+ return this.defaults = {
1333
+ ...this.defaults,
1334
+ ...e
1335
+ }, this;
1336
+ }
1337
+ lexer(e, t) {
1338
+ return z.lex(e, t ?? this.defaults);
1339
+ }
1340
+ parser(e, t) {
1341
+ return H.parse(e, t ?? this.defaults);
1342
+ }
1343
+ parseMarkdown(e) {
1344
+ return (t, n) => {
1345
+ let r = { ...n }, i = {
1346
+ ...this.defaults,
1347
+ ...r
1348
+ }, a = this.onError(!!i.silent, !!i.async);
1349
+ if (this.defaults.async === !0 && r.async === !1) return a(/* @__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."));
1350
+ if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1351
+ if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
1352
+ if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
1353
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? z.lex : z.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1354
+ i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
1355
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? H.parse : H.parseInline)(a, i);
1356
+ return i.hooks ? await i.hooks.postprocess(o) : o;
1357
+ })().catch(a);
1358
+ try {
1359
+ i.hooks && (t = i.hooks.preprocess(t));
1360
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? z.lex : z.lexInline)(t, i);
1361
+ i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
1362
+ let r = (i.hooks ? i.hooks.provideParser() : e ? H.parse : H.parseInline)(n, i);
1363
+ return i.hooks && (r = i.hooks.postprocess(r)), r;
1364
+ } catch (e) {
1365
+ return a(e);
1366
+ }
1367
+ };
1368
+ }
1369
+ onError(e, t) {
1370
+ return (n) => {
1371
+ if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1372
+ let e = "<p>An error occurred:</p><pre>" + I(n.message + "", !0) + "</pre>";
1373
+ return t ? Promise.resolve(e) : e;
1374
+ }
1375
+ if (t) return Promise.reject(n);
1376
+ throw n;
1377
+ };
1378
+ }
1379
+ }();
1380
+ function G(e, t) {
1381
+ return W.parse(e, t);
1382
+ }
1383
+ G.options = G.setOptions = function(e) {
1384
+ return W.setOptions(e), G.defaults = W.defaults, p(G.defaults), G;
1385
+ }, G.getDefaults = d, G.defaults = f, G.use = function(...e) {
1386
+ return W.use(...e), G.defaults = W.defaults, p(G.defaults), G;
1387
+ }, G.walkTokens = function(e, t) {
1388
+ return W.walkTokens(e, t);
1389
+ }, G.parseInline = W.parseInline, G.Parser = H, G.parser = H.parse, G.Renderer = B, G.TextRenderer = V, G.Lexer = z, G.lexer = z.lex, G.Tokenizer = R, G.Hooks = U, G.parse = G, G.options, G.setOptions, G.use, G.walkTokens, G.parseInline, H.parse, z.lex;
1390
+ //#endregion
1391
+ //#region ../../node_modules/.pnpm/ts-dedent@2.3.0/node_modules/ts-dedent/esm/index.js
1392
+ function Ke(e) {
1393
+ var t = [...arguments].slice(1), n = Array.from(typeof e == "string" ? [e] : e);
1394
+ n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
1395
+ var r = n.reduce(function(e, t) {
1396
+ var n = t.match(/\n([\t ]+|(?!\s).)/g);
1397
+ return n ? e.concat(n.map(function(e) {
1398
+ return e.match(/[\t ]/g)?.length ?? 0;
1399
+ })) : e;
1400
+ }, []);
1401
+ if (r.length) {
1402
+ var i = RegExp(`
1403
+ [ ]{${Math.min.apply(Math, r)}}`, "g");
1404
+ n = n.map(function(e) {
1405
+ return e.replace(i, "\n");
1406
+ });
1407
+ }
1408
+ n[0] = n[0].replace(/^\r?\n/, "");
1409
+ var a = n[0];
1410
+ return t.forEach(function(e, t) {
1411
+ var r = a.match(/(?:^|\n)( *)$/), i = r ? r[1] : "", o = e;
1412
+ typeof e == "string" && e.includes("\n") && (o = String(e).split("\n").map(function(e, t) {
1413
+ return t === 0 ? e : `${i}${e}`;
1414
+ }).join("\n")), a += o + n[t + 1];
1415
+ }), a;
1416
+ }
1417
+ //#endregion
1418
+ //#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-Q4XR5HBZ.mjs
1419
+ function qe(e, { markdownAutoWrap: t }) {
1420
+ return Ke(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1421
+ }
1422
+ e(qe, "preprocessMarkdown");
1423
+ function Je(e) {
1424
+ return e.split(/\\n|\n|<br\s*\/?>/gi).map((e) => e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map((e) => ({
1425
+ content: e,
1426
+ type: "normal"
1427
+ })) ?? []);
1428
+ }
1429
+ e(Je, "nonMarkdownToLines");
1430
+ function Ye(t, n = {}) {
1431
+ let r = qe(t, n), i = G.lexer(r), a = [[]], o = 0;
1432
+ function s(e, t = "normal") {
1433
+ e.type === "text" ? e.text.split("\n").forEach((e, n) => {
1434
+ n !== 0 && (o++, a.push([])), e.split(" ").forEach((e) => {
1435
+ e = e.replace(/&#39;/g, "'"), e && a[o].push({
1436
+ content: e,
1437
+ type: t
1438
+ });
1439
+ });
1440
+ }) : e.type === "strong" || e.type === "em" ? e.tokens.forEach((t) => {
1441
+ s(t, e.type);
1442
+ }) : e.type === "html" && a[o].push({
1443
+ content: e.text,
1444
+ type: "normal"
1445
+ });
1446
+ }
1447
+ return e(s, "processNode"), i.forEach((e) => {
1448
+ e.type === "paragraph" ? e.tokens?.forEach((e) => {
1449
+ s(e);
1450
+ }) : e.type === "html" ? a[o].push({
1451
+ content: e.text,
1452
+ type: "normal"
1453
+ }) : a[o].push({
1454
+ content: e.raw,
1455
+ type: "normal"
1456
+ });
1457
+ }), a;
1458
+ }
1459
+ e(Ye, "markdownToLines");
1460
+ function Xe(e) {
1461
+ return e ? `<p>${e.replace(/\\n|\n/g, "<br />")}</p>` : "";
1462
+ }
1463
+ e(Xe, "nonMarkdownToHTML");
1464
+ function Ze(n, { markdownAutoWrap: r } = {}) {
1465
+ let i = G.lexer(n);
1466
+ function a(e) {
1467
+ return e.type === "text" ? r === !1 ? e.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e.text.replace(/\n */g, "<br/>") : e.type === "strong" ? `<strong>${e.tokens?.map(a).join("")}</strong>` : e.type === "em" ? `<em>${e.tokens?.map(a).join("")}</em>` : e.type === "paragraph" ? `<p>${e.tokens?.map(a).join("")}</p>` : e.type === "space" ? "" : e.type === "html" ? `${e.text}` : e.type === "escape" ? e.text : (t.warn(`Unsupported markdown: ${e.type}`), e.raw);
1468
+ }
1469
+ return e(a, "output"), i.map(a).join("");
1470
+ }
1471
+ e(Ze, "markdownToHTML");
1472
+ function Qe(e) {
1473
+ return Intl.Segmenter ? [...new Intl.Segmenter().segment(e)].map((e) => e.segment) : [...e];
1474
+ }
1475
+ e(Qe, "splitTextToChars");
1476
+ function $e(e, t) {
1477
+ return K(e, [], Qe(t.content), t.type);
1478
+ }
1479
+ e($e, "splitWordToFitWidth");
1480
+ function K(e, t, n, r) {
1481
+ if (n.length === 0) return [{
1482
+ content: t.join(""),
1483
+ type: r
1484
+ }, {
1485
+ content: "",
1486
+ type: r
1487
+ }];
1488
+ let [i, ...a] = n, o = [...t, i];
1489
+ return e([{
1490
+ content: o.join(""),
1491
+ type: r
1492
+ }]) ? K(e, o, a, r) : (t.length === 0 && i && (t.push(i), n.shift()), [{
1493
+ content: t.join(""),
1494
+ type: r
1495
+ }, {
1496
+ content: n.join(""),
1497
+ type: r
1498
+ }]);
1499
+ }
1500
+ e(K, "splitWordToFitWidthRecursion");
1501
+ function et(e, t) {
1502
+ if (e.some(({ content: e }) => e.includes("\n"))) throw Error("splitLineToFitWidth does not support newlines in the line");
1503
+ return q(e, t);
1504
+ }
1505
+ e(et, "splitLineToFitWidth");
1506
+ function q(e, t, n = [], r = []) {
1507
+ if (e.length === 0) return r.length > 0 && n.push(r), n.length > 0 ? n : [];
1508
+ let i = "";
1509
+ e[0].content === " " && (i = " ", e.shift());
1510
+ let a = e.shift() ?? {
1511
+ content: " ",
1512
+ type: "normal"
1513
+ }, o = [...r];
1514
+ if (i !== "" && o.push({
1515
+ content: i,
1516
+ type: "normal"
1517
+ }), o.push(a), t(o)) return q(e, t, n, o);
1518
+ if (r.length > 0) n.push(r), e.unshift(a);
1519
+ else if (a.content) {
1520
+ let [r, i] = $e(t, a);
1521
+ n.push([r]), i.content && e.unshift(i);
1522
+ }
1523
+ return q(e, t, n);
1524
+ }
1525
+ e(q, "splitLineToFitWidthRecursion");
1526
+ function J(e, t) {
1527
+ t && e.attr("style", t);
1528
+ }
1529
+ e(J, "applyStyle");
1530
+ var tt = 16384;
1531
+ async function Y(e, t, n, c, l = !1, u = a()) {
1532
+ let d = e.append("foreignObject");
1533
+ d.attr("width", `${Math.min(10 * n, tt)}px`), d.attr("height", `${Math.min(10 * n, tt)}px`);
1534
+ let f = d.append("xhtml:div"), p = r(t.label) ? await i(t.label.replace(o.lineBreakRegex, "\n"), u) : s(t.label, u), m = t.isNode ? "nodeLabel" : "edgeLabel", h = f.append("span");
1535
+ h.html(p), J(h, t.labelStyle), h.attr("class", `${m} ${c}`), J(f, t.labelStyle), f.style("display", "table-cell"), f.style("white-space", "nowrap"), f.style("line-height", "1.5"), n !== Infinity && (f.style("max-width", n + "px"), f.style("text-align", "center")), f.attr("xmlns", "http://www.w3.org/1999/xhtml"), l && f.attr("class", "labelBkg");
1536
+ let g = f.node().getBoundingClientRect();
1537
+ return g.width === n && (f.style("display", "table"), f.style("white-space", "break-spaces"), f.style("width", n + "px"), g = f.node().getBoundingClientRect()), d.node();
1538
+ }
1539
+ e(Y, "addHtmlSpan");
1540
+ function X(e, t, n, r = !1) {
1541
+ let i = e.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", t * n - .1 + "em").attr("dy", n + "em");
1542
+ return r && i.attr("text-anchor", "middle"), i;
1543
+ }
1544
+ e(X, "createTspan");
1545
+ function nt(e, t, n) {
1546
+ let r = e.append("text"), i = X(r, 1, t);
1547
+ Q(i, n);
1548
+ let a = i.node().getComputedTextLength();
1549
+ return r.remove(), a;
1550
+ }
1551
+ e(nt, "computeWidthOfText");
1552
+ function rt(e, t, n) {
1553
+ let r = e.append("text"), i = X(r, 1, t);
1554
+ Q(i, [{
1555
+ content: n,
1556
+ type: "normal"
1557
+ }]);
1558
+ let a = i.node()?.getBoundingClientRect();
1559
+ return a && r.remove(), a;
1560
+ }
1561
+ e(rt, "computeDimensionOfText");
1562
+ function it(t, n, r, i = !1, a = !1) {
1563
+ let o = 1.1, s = n.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1564
+ a && l.attr("text-anchor", "middle");
1565
+ let u = 0;
1566
+ for (let n of r) {
1567
+ let r = /* @__PURE__ */ e((e) => nt(s, o, e) <= t, "checkWidth"), i = r(n) ? [n] : et(n, r);
1568
+ for (let e of i) Q(X(l, u, o, a), e), u++;
1569
+ }
1570
+ if (i) {
1571
+ let e = l.node().getBBox();
1572
+ return c.attr("x", e.x - 2).attr("y", e.y - 2).attr("width", e.width + 4).attr("height", e.height + 4), s.node();
1573
+ } else return l.node();
1574
+ }
1575
+ e(it, "createFormattedText");
1576
+ function Z(e) {
1577
+ return e.replace(/&(amp|lt|gt);/g, (e, t) => {
1578
+ switch (t) {
1579
+ case "amp": return "&";
1580
+ case "lt": return "<";
1581
+ case "gt": return ">";
1582
+ default: return e;
1583
+ }
1584
+ });
1585
+ }
1586
+ e(Z, "decodeHTMLEntities");
1587
+ function Q(e, t) {
1588
+ e.text(""), t.forEach((t, n) => {
1589
+ let r = e.append("tspan").attr("font-style", t.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", t.type === "strong" ? "bold" : "normal");
1590
+ n === 0 ? r.text(Z(t.content)) : r.text(" " + Z(t.content));
1591
+ });
1592
+ }
1593
+ e(Q, "updateTextContentAndStyles");
1594
+ async function $(e, t = {}) {
1595
+ let n = [];
1596
+ e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e, r, i) => (n.push((async () => {
1597
+ let n = `${r}:${i}`;
1598
+ return await l(n) ? await u(n, void 0, { class: "label-icon" }) : `<i class='${s(e, t).replace(":", " ")}'></i>`;
1599
+ })()), e));
1600
+ let r = await Promise.all(n);
1601
+ return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => r.shift() ?? "");
1602
+ }
1603
+ e($, "replaceIconSubstring");
1604
+ var at = /* @__PURE__ */ e(async (e, i = "", { style: a = "", isTitle: o = !1, classes: s = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1605
+ if (t.debug("XYZ createText", i, a, o, s, l, d, "addSvgBackground: ", p), l) {
1606
+ let t = await $(c(u ? Ze(i, m) : Xe(i)), m), n = i.replace(/\\\\/g, "\\");
1607
+ return await Y(e, {
1608
+ isNode: d,
1609
+ label: r(i) ? n : t,
1610
+ labelStyle: a.replace("fill:", "color:")
1611
+ }, f, s, p, m);
1612
+ } else {
1613
+ let t = c(i.replace(/<br\s*\/?>/g, "<br/>")), r = it(f, e, u ? Ye(t.replace("<br>", "<br/>"), m) : Je(t), i ? p : !1, !d);
1614
+ if (d) {
1615
+ /stroke:/.exec(a) && (a = a.replace("stroke:", "lineColor:"));
1616
+ let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1617
+ n(r).attr("style", e);
1618
+ } else {
1619
+ let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1620
+ n(r).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1621
+ let t = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1622
+ n(r).select("text").attr("style", t);
1623
+ }
1624
+ return o ? n(r).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : n(r).selectAll("tspan.text-outer-tspan").classed("row", !0), r;
1625
+ }
1626
+ }, "createText");
1627
+ //#endregion
1628
+ export { at as n, Ke as r, rt as t };