@aiquants/markdown 12.2.3 → 13.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 (265) hide show
  1. package/README.md +383 -75
  2. package/dist/{abnfDiagram-VRR7QNED-DQ52KUbH.js → abnfDiagram-VRR7QNED-B3Q9attM.js} +9 -9
  3. package/dist/abnfDiagram-VRR7QNED-QW4YM2AY.cjs +1 -0
  4. package/dist/arc-BBLXr5EU.js +83 -0
  5. package/dist/arc-Cn8XXgbN.cjs +1 -0
  6. package/dist/{architectureDiagram-ZJ3FMSHR-Cc9gQRX2.js → architectureDiagram-ZJ3FMSHR-BaSp0hC2.js} +2 -2
  7. package/dist/architectureDiagram-ZJ3FMSHR-BfmjNYww.cjs +36 -0
  8. package/dist/{blockDiagram-677ZJIJ3-DIpIE77y.js → blockDiagram-677ZJIJ3-DFcPQ19k.js} +3 -3
  9. package/dist/{blockDiagram-677ZJIJ3-BCgCtZXM.cjs → blockDiagram-677ZJIJ3-u7d3VCxA.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-jgR25uUP.js → c4Diagram-LMCZKHZV-DW0yo5tR.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-q0iHoZqg.cjs → c4Diagram-LMCZKHZV-nScsMUE3.cjs} +1 -1
  12. package/dist/{channel-Bw3o-12p.js → channel-B2FBCr9X.js} +1 -1
  13. package/dist/channel-DlkTPSf_.cjs +1 -0
  14. package/dist/{chunk-2Q5K7J3B-0amJDSXB.js → chunk-2Q5K7J3B-BkE4Fsuz.js} +1 -1
  15. package/dist/chunk-2Q5K7J3B-evSha-HP.cjs +1 -0
  16. package/dist/{chunk-32BRIVSS-BMqTi8UH.js → chunk-32BRIVSS-CqpDiZD2.js} +1 -1
  17. package/dist/chunk-32BRIVSS-rIw6tBRO.cjs +1 -0
  18. package/dist/{chunk-5VM5RSS4-C0OtlojA.cjs → chunk-5VM5RSS4-CYVpj2mc.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-EGE3VaH8.js → chunk-5VM5RSS4-DAgNhPcU.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-4qSuVZkz.cjs → chunk-EX3LRPZG-Ct2cyGh-.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-wasnZ2h7.js → chunk-EX3LRPZG-QFjD28UF.js} +37 -37
  22. package/dist/{chunk-JWPE2WC7-O891tu2Q.js → chunk-JWPE2WC7-Bj2m1SXZ.js} +1 -1
  23. package/dist/chunk-JWPE2WC7-Dgw1ILoe.cjs +1 -0
  24. package/dist/{chunk-MOJQB5TN-BzuZr6pz.js → chunk-MOJQB5TN-B1fdnpCz.js} +121 -121
  25. package/dist/{chunk-MOJQB5TN-BSfpWEVd.cjs → chunk-MOJQB5TN-yjlPYCh4.cjs} +3 -3
  26. package/dist/{chunk-PUDLZKDR-DNbm7Xzd.cjs → chunk-PUDLZKDR-BlQ3qKcC.cjs} +4 -4
  27. package/dist/{chunk-PUDLZKDR-BRL3efwE.js → chunk-PUDLZKDR-CIcw3cpm.js} +16 -16
  28. package/dist/chunk-RYQCIY6F-B-V6UOJy.cjs +1 -0
  29. package/dist/{chunk-RYQCIY6F-DwmsCCiA.js → chunk-RYQCIY6F-DyVk8fNp.js} +1 -1
  30. package/dist/{chunk-V7JOEXUC-BowEdIo-.cjs → chunk-V7JOEXUC-B1EgagKh.cjs} +3 -3
  31. package/dist/{chunk-V7JOEXUC-D0oynREN.js → chunk-V7JOEXUC-C776k7_V.js} +5 -5
  32. package/dist/{chunk-VR4S4FIN-Dg_3SNs1.js → chunk-VR4S4FIN-CyqARa17.js} +3 -3
  33. package/dist/chunk-VR4S4FIN-Sx71KwIQ.cjs +1 -0
  34. package/dist/{chunk-XXDRQBXY-Byo5u3b_.js → chunk-XXDRQBXY-B-99Fbs_.js} +3 -3
  35. package/dist/chunk-XXDRQBXY-BgeRIUG1.cjs +1 -0
  36. package/dist/classDiagram-OUVF2IWQ-BLAiuPPL.cjs +1 -0
  37. package/dist/{classDiagram-v2-EOCWNBFH-CVu4_B8x.js → classDiagram-OUVF2IWQ-DJ0hW16Q.js} +2 -2
  38. package/dist/classDiagram-v2-EOCWNBFH-BLAiuPPL.cjs +1 -0
  39. package/dist/{classDiagram-OUVF2IWQ-CVu4_B8x.js → classDiagram-v2-EOCWNBFH-DJ0hW16Q.js} +2 -2
  40. package/dist/{code-blocks-BWr5Xg1I.js → code-blocks-C6J8rVTc.js} +23 -22
  41. package/dist/{code-blocks-BdKjppKq.cjs → code-blocks-CTESwslp.cjs} +3 -3
  42. package/dist/code-blocks.cjs +1 -1
  43. package/dist/code-blocks.d.ts +1 -0
  44. package/dist/code-blocks.js +15 -14
  45. package/dist/components/CopyButton.d.ts +8 -0
  46. package/dist/components/HostedScrollArea.d.ts +2 -1
  47. package/dist/components/MarkdownRenderer.d.ts +37 -3
  48. package/dist/components/MarkdownViewer.d.ts +15 -4
  49. package/dist/components/MermaidDiagram.d.ts +1 -0
  50. package/dist/components/ReadingPlaceKeeper.d.ts +32 -0
  51. package/dist/components/SelectionKeeper.d.ts +38 -0
  52. package/dist/components/SpreadsheetBlock.d.ts +4 -2
  53. package/dist/components/blockKeys.d.ts +9 -2
  54. package/dist/components/blockOffsets.d.ts +3 -0
  55. package/dist/components/clipboard.d.ts +1 -0
  56. package/dist/components/codeBlockLabels.d.ts +9 -0
  57. package/dist/components/cssLength.d.ts +1 -0
  58. package/dist/components/displayMathLabels.d.ts +11 -0
  59. package/dist/components/embeds/ClientFrame.d.ts +1 -0
  60. package/dist/components/embeds/ProviderEmbed.d.ts +2 -1
  61. package/dist/components/embeds/embedLabels.d.ts +1 -1
  62. package/dist/components/embeds/linkCardFetch.d.ts +2 -0
  63. package/dist/components/embeds.d.ts +5 -0
  64. package/dist/components/headingLevels.d.ts +6 -0
  65. package/dist/components/htmlNodes.d.ts +2 -0
  66. package/dist/components/htmlSanitizer.d.ts +15 -2
  67. package/dist/components/labels.d.ts +3 -2
  68. package/dist/components/links.d.ts +1 -0
  69. package/dist/components/mathRendering.d.ts +3 -1
  70. package/dist/components/mdastNodes/CodeNode.d.ts +5 -1
  71. package/dist/components/mdastNodes/MathNode.d.ts +6 -5
  72. package/dist/components/mermaidLabels.d.ts +5 -0
  73. package/dist/components/mermaidSetup.d.ts +10 -0
  74. package/dist/components/missingImageLabels.d.ts +2 -0
  75. package/dist/components/ownPixels.d.ts +4 -0
  76. package/dist/components/rawHtml.d.ts +7 -3
  77. package/dist/components/spreadsheetModel.d.ts +1 -0
  78. package/dist/components/toolbarOverlap.d.ts +4 -1
  79. package/dist/components/viewerLabels.d.ts +22 -3
  80. package/dist/components/viewerToolbarStyles.d.ts +2 -0
  81. package/dist/contentColors.d.ts +21 -0
  82. package/dist/conversion.d.ts +7 -0
  83. package/dist/converter/NOTICES.md +6 -6
  84. package/dist/converter/createMarkdownConverter.d.ts +1 -0
  85. package/dist/converter/protocol.d.ts +4 -0
  86. package/dist/converter.cjs +1 -1
  87. package/dist/converter.js +89 -71
  88. package/dist/converter.wasm +0 -0
  89. package/dist/{cose-bilkent-JH36ORCC-BmM-AQ-j.js → cose-bilkent-JH36ORCC-CR6Hdvto.js} +1 -1
  90. package/dist/cose-bilkent-JH36ORCC-reAbGeDU.cjs +1 -0
  91. package/dist/cynefinDiagram-TSTJHNR4-2qz-sUtp.cjs +62 -0
  92. package/dist/{cynefinDiagram-TSTJHNR4-iS4n-7T_.js → cynefinDiagram-TSTJHNR4-D1eY-FSf.js} +56 -56
  93. package/dist/dagre-VKFMJZFB-Byr9WPjb.cjs +4 -0
  94. package/dist/{dagre-VKFMJZFB-C1Y6S6Dm.js → dagre-VKFMJZFB-CXSczF8v.js} +25 -25
  95. package/dist/{diagram-FQU43EPY-CRXs7mU1.cjs → diagram-FQU43EPY-2YWng437.cjs} +1 -1
  96. package/dist/{diagram-FQU43EPY-CFG9AlAq.js → diagram-FQU43EPY-BZo0xcaj.js} +35 -35
  97. package/dist/diagram-G47NLZAW-CQS7BN4F.cjs +24 -0
  98. package/dist/{diagram-G47NLZAW-Bqr76Qn5.js → diagram-G47NLZAW-CvJW9ny8.js} +60 -60
  99. package/dist/{diagram-NH7WQ7WH-BDWfQ8xs.js → diagram-NH7WQ7WH-C6VIkj-R.js} +17 -17
  100. package/dist/diagram-NH7WQ7WH-DXUwOBe7.cjs +24 -0
  101. package/dist/{diagram-OA4YK3LP-DuW90Uhk.js → diagram-OA4YK3LP-Co6nMbJc.js} +28 -28
  102. package/dist/{diagram-OA4YK3LP-uBVV8yBB.cjs → diagram-OA4YK3LP-DBUm2qxb.cjs} +3 -3
  103. package/dist/{diagram-WEI45ONY-Cd3qe8Wi.js → diagram-WEI45ONY-BaMbc5o2.js} +59 -59
  104. package/dist/diagram-WEI45ONY-ChpK2gP3.cjs +41 -0
  105. package/dist/ebnfDiagram-CCIWWBDH-DMIRHp8N.cjs +1 -0
  106. package/dist/{ebnfDiagram-CCIWWBDH-CMmTdVTT.js → ebnfDiagram-CCIWWBDH-i7CR-FU0.js} +3 -3
  107. package/dist/embeds/frames.d.ts +4 -0
  108. package/dist/embeds/linkCards.d.ts +3 -1
  109. package/dist/embeds/providers.d.ts +1 -0
  110. package/dist/embeds/testing.cjs +1 -1
  111. package/dist/embeds/testing.js +1 -1
  112. package/dist/embeds-B4g6w7Tf.cjs +1 -0
  113. package/dist/embeds-Dra-dGKD.js +64 -0
  114. package/dist/embeds.cjs +1 -1
  115. package/dist/embeds.d.ts +2 -2
  116. package/dist/embeds.js +31 -70
  117. package/dist/{erDiagram-Q63AITRT-tOZoI25O.js → erDiagram-Q63AITRT-DC-HhdaO.js} +68 -68
  118. package/dist/{erDiagram-Q63AITRT-ONnVKrzr.cjs → erDiagram-Q63AITRT-DjRvJyWK.cjs} +1 -1
  119. package/dist/errors-BWZJx2MD.cjs +1 -0
  120. package/dist/errors-CapTNE7l.js +62 -0
  121. package/dist/errors.d.ts +2 -2
  122. package/dist/extractHeadings-BAhmauKo.js +5296 -0
  123. package/dist/extractHeadings-qiJXegCx.cjs +11 -0
  124. package/dist/flowDiagram-23GEKE2U-CiNzp6BS.js +7 -0
  125. package/dist/flowDiagram-23GEKE2U-DzZNPkRJ.cjs +1 -0
  126. package/dist/{ganttDiagram-NO4QXBWP-C23vm5cK.js → ganttDiagram-NO4QXBWP-BwbtaPxc.js} +69 -69
  127. package/dist/ganttDiagram-NO4QXBWP-CJv5UQ4O.cjs +292 -0
  128. package/dist/gen/markdown/v1/linkcard_connect.d.ts +19 -0
  129. package/dist/gen/markdown/v1/linkcard_pb.d.ts +87 -0
  130. package/dist/gen/markdown/v1/markdown_pb.d.ts +4 -0
  131. package/dist/{gitGraphDiagram-IHSO6WYX-BXWses91.js → gitGraphDiagram-IHSO6WYX--yebcp4V.js} +21 -21
  132. package/dist/gitGraphDiagram-IHSO6WYX-dSwtW7X6.cjs +106 -0
  133. package/dist/index.cjs +1 -1
  134. package/dist/index.client.cjs +1 -1
  135. package/dist/index.client.d.ts +5 -3
  136. package/dist/index.client.js +56 -48
  137. package/dist/index.js +56 -48
  138. package/dist/index.server.cjs +1 -1
  139. package/dist/index.server.d.ts +2 -1
  140. package/dist/index.server.js +126 -873
  141. package/dist/{infoDiagram-FWYZ7A6U-C4NsbHAN.js → infoDiagram-FWYZ7A6U-B4AiTiqD.js} +9 -9
  142. package/dist/infoDiagram-FWYZ7A6U-BOj0VF20.cjs +2 -0
  143. package/dist/{ishikawaDiagram-FXEZZL3T-B2bMsFnl.js → ishikawaDiagram-FXEZZL3T-BsYs_qnQ.js} +59 -59
  144. package/dist/{ishikawaDiagram-FXEZZL3T-Cjqwv-T2.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs} +1 -1
  145. package/dist/{journeyDiagram-5HDEW3XC-DfRiiYRf.cjs → journeyDiagram-5HDEW3XC-BAvgWwpr.cjs} +1 -1
  146. package/dist/{journeyDiagram-5HDEW3XC-DO1Xx-OE.js → journeyDiagram-5HDEW3XC-DbDo-dqu.js} +32 -32
  147. package/dist/{kanban-definition-HUTT4EX6-RfpoaM17.js → kanban-definition-HUTT4EX6-BlPZISwH.js} +97 -97
  148. package/dist/{kanban-definition-HUTT4EX6-Cu_E-BJj.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs} +2 -2
  149. package/dist/{linear-BbWOUIQi.js → linear-BXWX8YXI.js} +31 -31
  150. package/dist/linear-CKPQExK8.cjs +1 -0
  151. package/dist/linkCardServer/linkCardCore.d.ts +10 -0
  152. package/dist/linkCardServer/linkCardHandler.server.d.ts +1 -6
  153. package/dist/linkCardServer/pageFetchPort.d.ts +19 -0
  154. package/dist/linkCardServer/{pageMetadata.server.d.ts → pageMetadata.d.ts} +11 -3
  155. package/dist/linkCards-BikpIncf.cjs +1 -0
  156. package/dist/linkCards-DfSLqLPF.js +50 -0
  157. package/dist/linkCards.cjs +1 -0
  158. package/dist/linkCards.d.ts +2 -0
  159. package/dist/linkCards.js +5 -0
  160. package/dist/markdownServiceClient-C47z3Ynu.cjs +1 -0
  161. package/dist/markdownServiceClient-uDeklhtG.js +480 -0
  162. package/dist/markdownServiceClient.d.ts +20 -0
  163. package/dist/mermaid.core-C4EClWgB.js +15595 -0
  164. package/dist/mermaid.core-CRP55Hm1.cjs +305 -0
  165. package/dist/mermaidFrame/NOTICES.md +1345 -0
  166. package/dist/mermaidFrame/cssCleaner.d.ts +13 -0
  167. package/dist/mermaidFrame/drawer.d.ts +34 -0
  168. package/dist/mermaidFrame/frame.d.ts +1 -0
  169. package/dist/mermaidFrame/frame.js +3307 -0
  170. package/dist/mermaidFrame/katexInert.d.ts +4 -0
  171. package/dist/mermaidFrame/protocol.d.ts +38 -0
  172. package/dist/mermaidFrame/serve.d.ts +14 -0
  173. package/dist/mermaidFrame/svgCleaner.d.ts +4 -0
  174. package/dist/{mindmap-definition-LN4V7U3C-B5LpvJ9m.js → mindmap-definition-LN4V7U3C-BEWpoMMG.js} +79 -79
  175. package/dist/{mindmap-definition-LN4V7U3C-CB606E3L.cjs → mindmap-definition-LN4V7U3C-DnbSfqWP.cjs} +3 -3
  176. package/dist/pageFetchPort-2H18xcdi.cjs +1 -0
  177. package/dist/pageFetchPort-DVpXsKCz.js +624 -0
  178. package/dist/{pegDiagram-2B236MQR-DaosueJV.js → pegDiagram-2B236MQR-BF7gLiB-.js} +3 -3
  179. package/dist/pegDiagram-2B236MQR-BJysMObA.cjs +1 -0
  180. package/dist/{pieDiagram-ENE6RG2P-wfsOfWyT.js → pieDiagram-ENE6RG2P-D_YzC3qc.js} +50 -50
  181. package/dist/{pieDiagram-ENE6RG2P-BUY2Dvjo.cjs → pieDiagram-ENE6RG2P-UMpeIUyV.cjs} +2 -2
  182. package/dist/{providers-BwQK7hZa.js → providers-CSvkTZsr.js} +17 -2
  183. package/dist/{providers-DO2t7ks4.cjs → providers-Cx0FuVQU.cjs} +1 -1
  184. package/dist/{quadrantDiagram-ABIIQ3AL-BSvHqsTp.cjs → quadrantDiagram-ABIIQ3AL-DANY0ipQ.cjs} +1 -1
  185. package/dist/{quadrantDiagram-ABIIQ3AL-Bgc3vspL.js → quadrantDiagram-ABIIQ3AL-DDm-r_6D.js} +59 -59
  186. package/dist/railroadDiagram-RFXS5EU6-CDUd4th1.cjs +1 -0
  187. package/dist/{railroadDiagram-RFXS5EU6-Du2CFU9M.js → railroadDiagram-RFXS5EU6-hJ6uB90G.js} +3 -3
  188. package/dist/remarkProcessor.server.d.ts +2 -0
  189. package/dist/{requirementDiagram-TGXJPOKE-CnafqSUP.js → requirementDiagram-TGXJPOKE-BJef5Jb0.js} +15 -15
  190. package/dist/{requirementDiagram-TGXJPOKE-WM3sItRw.cjs → requirementDiagram-TGXJPOKE-DaoCo7go.cjs} +1 -1
  191. package/dist/{sankeyDiagram-HTMAVEWB-D4Qv4d98.js → sankeyDiagram-HTMAVEWB-BZQs0bE-.js} +41 -41
  192. package/dist/{sankeyDiagram-HTMAVEWB-DaZN3ZDb.cjs → sankeyDiagram-HTMAVEWB-DXiv0YOu.cjs} +3 -3
  193. package/dist/{sequenceDiagram-DBY2YBRQ-C6fa7Axs.cjs → sequenceDiagram-DBY2YBRQ-CJGpsnsv.cjs} +1 -1
  194. package/dist/{sequenceDiagram-DBY2YBRQ-CmP6XGGE.js → sequenceDiagram-DBY2YBRQ-D05U2w26.js} +46 -46
  195. package/dist/serviceClient.cjs +1 -0
  196. package/dist/serviceClient.d.ts +3 -0
  197. package/dist/serviceClient.js +9 -0
  198. package/dist/{sizeCapture-X5ZJPWSS-mWZkTwA5.js → sizeCapture-X5ZJPWSS-DTr0Vm61.js} +1 -1
  199. package/dist/sizeCapture-X5ZJPWSS-DjuH1zNP.cjs +1 -0
  200. package/dist/{stateDiagram-2N3HPSRC-ClDZKhLD.js → stateDiagram-2N3HPSRC-B8nvJKpB.js} +13 -13
  201. package/dist/stateDiagram-2N3HPSRC-BrB47FD-.cjs +1 -0
  202. package/dist/stateDiagram-v2-6OUMAXLB-CC8gOGDK.cjs +1 -0
  203. package/dist/{stateDiagram-v2-6OUMAXLB-K7slPgH_.js → stateDiagram-v2-6OUMAXLB-CV-JqAeP.js} +2 -2
  204. package/dist/styles/markdown.css +1 -1
  205. package/dist/styles/markdown.standalone.css +1 -1
  206. package/dist/{swimlanes-5IMT3BWC-Cpowlk7O.js → swimlanes-5IMT3BWC-BPtufzUd.js} +3 -3
  207. package/dist/swimlanes-5IMT3BWC-WAbDPRgt.cjs +1 -0
  208. package/dist/{swimlanesDiagram-G3AALYLV-36K4ynZn.js → swimlanesDiagram-G3AALYLV-BQKEmJFX.js} +2 -2
  209. package/dist/{swimlanesDiagram-G3AALYLV-BZ0eguZa.cjs → swimlanesDiagram-G3AALYLV-BTwwtLZL.cjs} +1 -1
  210. package/dist/{timeline-definition-FHXFAJF6-C2xHtlkw.js → timeline-definition-FHXFAJF6-DJ6GV7Fz.js} +53 -53
  211. package/dist/{timeline-definition-FHXFAJF6-BJN69nkZ.cjs → timeline-definition-FHXFAJF6-qdkrah7t.cjs} +1 -1
  212. package/dist/utils/promiseTry.d.ts +1 -0
  213. package/dist/vennDiagram-L72KCM5P-B5onSWPA.cjs +34 -0
  214. package/dist/{vennDiagram-L72KCM5P-DbqRaWm5.js → vennDiagram-L72KCM5P-DWnnndTj.js} +176 -176
  215. package/dist/viewer-settings.cjs +1 -1
  216. package/dist/viewer-settings.d.ts +8 -0
  217. package/dist/viewer-settings.js +11 -5
  218. package/dist/{wardleyDiagram-EHGQE667-CF5I0pM9.js → wardleyDiagram-EHGQE667-DFmDgQSb.js} +34 -34
  219. package/dist/{wardleyDiagram-EHGQE667-CyU76ilz.cjs → wardleyDiagram-EHGQE667-DdeBbvVM.cjs} +2 -2
  220. package/dist/{xychartDiagram-FW5EYKEG-DaKE_uIg.cjs → xychartDiagram-FW5EYKEG-CiJQMClv.cjs} +1 -1
  221. package/dist/{xychartDiagram-FW5EYKEG-spkx-w6w.js → xychartDiagram-FW5EYKEG-L2Kj4cZA.js} +56 -56
  222. package/package.json +32 -17
  223. package/dist/abnfDiagram-VRR7QNED-1fn6qV_P.cjs +0 -1
  224. package/dist/arc-D8xGHwLe.cjs +0 -1
  225. package/dist/arc-D9kg3f8-.js +0 -83
  226. package/dist/architectureDiagram-ZJ3FMSHR-C4QxQA-o.cjs +0 -36
  227. package/dist/channel-DuWQwUVP.cjs +0 -1
  228. package/dist/chunk-2Q5K7J3B-gCP3NILS.cjs +0 -1
  229. package/dist/chunk-32BRIVSS-PidRQo43.cjs +0 -1
  230. package/dist/chunk-JWPE2WC7-CHK_g5p5.cjs +0 -1
  231. package/dist/chunk-RYQCIY6F-B_33Thwg.cjs +0 -1
  232. package/dist/chunk-VR4S4FIN-Ca3mlCgX.cjs +0 -1
  233. package/dist/chunk-XXDRQBXY-CeZMmeIi.cjs +0 -1
  234. package/dist/classDiagram-OUVF2IWQ-DPzttpgE.cjs +0 -1
  235. package/dist/classDiagram-v2-EOCWNBFH-DPzttpgE.cjs +0 -1
  236. package/dist/cose-bilkent-JH36ORCC-C3UAMvQQ.cjs +0 -1
  237. package/dist/cynefinDiagram-TSTJHNR4-DStGofoE.cjs +0 -62
  238. package/dist/dagre-VKFMJZFB-BXsQ5-Ek.cjs +0 -4
  239. package/dist/diagram-G47NLZAW-BaX-jrfs.cjs +0 -24
  240. package/dist/diagram-NH7WQ7WH-Cczq2y99.cjs +0 -24
  241. package/dist/diagram-WEI45ONY-C_L-4kui.cjs +0 -41
  242. package/dist/ebnfDiagram-CCIWWBDH-Cg7DTSlM.cjs +0 -1
  243. package/dist/errors-BW5JXRoX.cjs +0 -1
  244. package/dist/errors-Blk_XJ9C.js +0 -55
  245. package/dist/extractHeadings-3qWVTkb9.js +0 -20290
  246. package/dist/extractHeadings-DpvwXCio.cjs +0 -315
  247. package/dist/flowDiagram-23GEKE2U-DfDAl_qd.cjs +0 -1
  248. package/dist/flowDiagram-23GEKE2U-p6ccACf3.js +0 -7
  249. package/dist/ganttDiagram-NO4QXBWP-CHP_muri.cjs +0 -292
  250. package/dist/gitGraphDiagram-IHSO6WYX-DOH3WBNZ.cjs +0 -106
  251. package/dist/infoDiagram-FWYZ7A6U-Bj2fnr5Y.cjs +0 -2
  252. package/dist/linear-Cz3x9Lkl.cjs +0 -1
  253. package/dist/linkCardServer/addressGuard.server.d.ts +0 -25
  254. package/dist/linkCardServer/pageFetch.server.d.ts +0 -37
  255. package/dist/linkCards-1JxY8wdm.js +0 -48
  256. package/dist/linkCards-Bjd_vW39.cjs +0 -1
  257. package/dist/pegDiagram-2B236MQR-BCqBc3Re.cjs +0 -1
  258. package/dist/railroadDiagram-RFXS5EU6-DdF2c_n3.cjs +0 -1
  259. package/dist/sizeCapture-X5ZJPWSS-B6sRQba9.cjs +0 -1
  260. package/dist/stateDiagram-2N3HPSRC-B__29zPZ.cjs +0 -1
  261. package/dist/stateDiagram-v2-6OUMAXLB-BA-_ovVY.cjs +0 -1
  262. package/dist/swimlanes-5IMT3BWC-BhxZhB7M.cjs +0 -1
  263. package/dist/vennDiagram-L72KCM5P-3R1vuMWd.cjs +0 -34
  264. /package/dist/linkCardServer/{htmlEncoding.server.d.ts → htmlEncoding.d.ts} +0 -0
  265. /package/dist/linkCardServer/{metadataCache.server.d.ts → metadataCache.d.ts} +0 -0
@@ -1,17 +1,17 @@
1
- import { _ as o, U as te, Q as H, an as fe, aU as ye, aV as be, aW as me, aD as _e, al as Y, Y as j, aa as ke, ab as Ee, aA as Se, aB as ce, aC as le } from "./extractHeadings-3qWVTkb9.js";
2
- import { g as Ne } from "./chunk-5VM5RSS4-EGE3VaH8.js";
1
+ import { _ as o, l as te, c as H, I as fe, af as ye, ag as be, ah as me, Y as _e, G as Y, i as j, v as ke, J as Ee, V as Se, W as ce, X as le } from "./mermaid.core-C4EClWgB.js";
2
+ import { g as Ne } from "./chunk-5VM5RSS4-DAgNhPcU.js";
3
3
  var $ = (function() {
4
- var e = /* @__PURE__ */ o(function(O, s, n, r) {
5
- for (n = n || {}, r = O.length; r--; n[O[r]] = s) ;
4
+ var e = /* @__PURE__ */ o(function(O, i, n, r) {
5
+ for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
6
6
  return n;
7
- }, "o"), h = [1, 4], p = [1, 13], i = [1, 12], d = [1, 15], _ = [1, 16], m = [1, 20], l = [1, 19], D = [6, 7, 8], I = [1, 26], g = [1, 24], w = [1, 25], k = [6, 7, 11], F = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], f = [1, 35], A = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], G = [1, 38], T = {
7
+ }, "o"), h = [1, 4], p = [1, 13], s = [1, 12], d = [1, 15], _ = [1, 16], m = [1, 20], l = [1, 19], D = [6, 7, 8], I = [1, 26], g = [1, 24], w = [1, 25], k = [6, 7, 11], F = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], f = [1, 35], A = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], M = [1, 38], T = {
8
8
  trace: /* @__PURE__ */ o(function() {
9
9
  }, "trace"),
10
10
  yy: {},
11
11
  symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, KANBAN: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, shapeData: 15, ICON: 16, CLASS: 17, nodeWithId: 18, nodeWithoutId: 19, NODE_DSTART: 20, NODE_DESCR: 21, NODE_DEND: 22, NODE_ID: 23, SHAPE_DATA: 24, $accept: 0, $end: 1 },
12
12
  terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "KANBAN", 11: "EOF", 13: "SPACELIST", 16: "ICON", 17: "CLASS", 20: "NODE_DSTART", 21: "NODE_DESCR", 22: "NODE_DEND", 23: "NODE_ID", 24: "SHAPE_DATA" },
13
13
  productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 3], [12, 2], [12, 2], [12, 2], [12, 1], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [19, 3], [18, 1], [18, 4], [15, 2], [15, 1]],
14
- performAction: /* @__PURE__ */ o(function(s, n, r, a, u, t, M) {
14
+ performAction: /* @__PURE__ */ o(function(i, n, r, a, u, t, U) {
15
15
  var c = t.length - 1;
16
16
  switch (u) {
17
17
  case 6:
@@ -71,23 +71,23 @@ var $ = (function() {
71
71
  break;
72
72
  }
73
73
  }, "anonymous"),
74
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: h }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: h }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: i, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: p, 9: 22, 12: 11, 13: i, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: I, 7: g, 10: 23, 11: w }, e(k, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: m, 23: l }), e(k, [2, 19]), e(k, [2, 21], { 15: 30, 24: F }), e(k, [2, 22]), e(k, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: g, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: i, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(V, [2, 14], { 7: f, 11: A }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(k, [2, 16], { 15: 37, 24: F }), e(k, [2, 17]), e(k, [2, 18]), e(k, [2, 20], { 24: G }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: f, 11: A }), e(L, [2, 11]), e(L, [2, 12]), e(k, [2, 15], { 24: G }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
74
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: h }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: h }, { 6: p, 7: [1, 10], 9: 9, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: p, 9: 22, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: I, 7: g, 10: 23, 11: w }, e(k, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: m, 23: l }), e(k, [2, 19]), e(k, [2, 21], { 15: 30, 24: F }), e(k, [2, 22]), e(k, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: g, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(V, [2, 14], { 7: f, 11: A }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(k, [2, 16], { 15: 37, 24: F }), e(k, [2, 17]), e(k, [2, 18]), e(k, [2, 20], { 24: M }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: f, 11: A }), e(L, [2, 11]), e(L, [2, 12]), e(k, [2, 15], { 24: M }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
75
75
  defaultActions: { 2: [2, 1], 6: [2, 2] },
76
- parseError: /* @__PURE__ */ o(function(s, n) {
76
+ parseError: /* @__PURE__ */ o(function(i, n) {
77
77
  if (n.recoverable)
78
- this.trace(s);
78
+ this.trace(i);
79
79
  else {
80
- var r = new Error(s);
80
+ var r = new Error(i);
81
81
  throw r.hash = n, r;
82
82
  }
83
83
  }, "parseError"),
84
- parse: /* @__PURE__ */ o(function(s) {
85
- var n = this, r = [0], a = [], u = [null], t = [], M = this.table, c = "", W = 0, ie = 0, ue = 2, re = 1, ge = t.slice.call(arguments, 1), b = Object.create(this.lexer), R = { yy: {} };
84
+ parse: /* @__PURE__ */ o(function(i) {
85
+ var n = this, r = [0], a = [], u = [null], t = [], U = this.table, c = "", W = 0, se = 0, ue = 2, re = 1, ge = t.slice.call(arguments, 1), b = Object.create(this.lexer), R = { yy: {} };
86
86
  for (var J in this.yy)
87
87
  Object.prototype.hasOwnProperty.call(this.yy, J) && (R.yy[J] = this.yy[J]);
88
- b.setInput(s, R.yy), R.yy.lexer = b, R.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
89
- var Q = b.yylloc;
90
- t.push(Q);
88
+ b.setInput(i, R.yy), R.yy.lexer = b, R.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
89
+ var q = b.yylloc;
90
+ t.push(q);
91
91
  var de = b.options && b.options.ranges;
92
92
  typeof R.yy.parseError == "function" ? this.parseError = R.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
93
93
  function pe(S) {
@@ -99,11 +99,11 @@ var $ = (function() {
99
99
  return S = a.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = n.symbols_[S] || S), S;
100
100
  }
101
101
  o(ae, "lex");
102
- for (var E, P, x, q, U = {}, z, C, oe, X; ; ) {
103
- if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((E === null || typeof E > "u") && (E = ae()), x = M[P] && M[P][E]), typeof x > "u" || !x.length || !x[0]) {
102
+ for (var E, P, x, Q, G = {}, z, C, oe, X; ; ) {
103
+ if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((E === null || typeof E > "u") && (E = ae()), x = U[P] && U[P][E]), typeof x > "u" || !x.length || !x[0]) {
104
104
  var Z = "";
105
105
  X = [];
106
- for (z in M[P])
106
+ for (z in U[P])
107
107
  this.terminals_[z] && z > ue && X.push("'" + this.terminals_[z] + "'");
108
108
  b.showPosition ? Z = "Parse error on line " + (W + 1) + `:
109
109
  ` + b.showPosition() + `
@@ -111,7 +111,7 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
111
111
  text: b.match,
112
112
  token: this.terminals_[E] || E,
113
113
  line: b.yylineno,
114
- loc: Q,
114
+ loc: q,
115
115
  expected: X
116
116
  });
117
117
  }
@@ -119,28 +119,28 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
119
119
  throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + E);
120
120
  switch (x[0]) {
121
121
  case 1:
122
- r.push(E), u.push(b.yytext), t.push(b.yylloc), r.push(x[1]), E = null, ie = b.yyleng, c = b.yytext, W = b.yylineno, Q = b.yylloc;
122
+ r.push(E), u.push(b.yytext), t.push(b.yylloc), r.push(x[1]), E = null, se = b.yyleng, c = b.yytext, W = b.yylineno, q = b.yylloc;
123
123
  break;
124
124
  case 2:
125
- if (C = this.productions_[x[1]][1], U.$ = u[u.length - C], U._$ = {
125
+ if (C = this.productions_[x[1]][1], G.$ = u[u.length - C], G._$ = {
126
126
  first_line: t[t.length - (C || 1)].first_line,
127
127
  last_line: t[t.length - 1].last_line,
128
128
  first_column: t[t.length - (C || 1)].first_column,
129
129
  last_column: t[t.length - 1].last_column
130
- }, de && (U._$.range = [
130
+ }, de && (G._$.range = [
131
131
  t[t.length - (C || 1)].range[0],
132
132
  t[t.length - 1].range[1]
133
- ]), q = this.performAction.apply(U, [
133
+ ]), Q = this.performAction.apply(G, [
134
134
  c,
135
- ie,
135
+ se,
136
136
  W,
137
137
  R.yy,
138
138
  x[1],
139
139
  u,
140
140
  t
141
- ].concat(ge)), typeof q < "u")
142
- return q;
143
- C && (r = r.slice(0, -1 * C * 2), u = u.slice(0, -1 * C), t = t.slice(0, -1 * C)), r.push(this.productions_[x[1]][0]), u.push(U.$), t.push(U._$), oe = M[r[r.length - 2]][r[r.length - 1]], r.push(oe);
141
+ ].concat(ge)), typeof Q < "u")
142
+ return Q;
143
+ C && (r = r.slice(0, -1 * C * 2), u = u.slice(0, -1 * C), t = t.slice(0, -1 * C)), r.push(this.productions_[x[1]][0]), u.push(G.$), t.push(G._$), oe = U[r[r.length - 2]][r[r.length - 1]], r.push(oe);
144
144
  break;
145
145
  case 3:
146
146
  return !0;
@@ -158,8 +158,8 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
158
158
  throw new Error(n);
159
159
  }, "parseError"),
160
160
  // resets the lexer, sets new input
161
- setInput: /* @__PURE__ */ o(function(s, n) {
162
- return this.yy = n || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
161
+ setInput: /* @__PURE__ */ o(function(i, n) {
162
+ return this.yy = n || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
163
163
  first_line: 1,
164
164
  first_column: 0,
165
165
  last_line: 1,
@@ -168,15 +168,15 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
168
168
  }, "setInput"),
169
169
  // consumes and returns one char from the input
170
170
  input: /* @__PURE__ */ o(function() {
171
- var s = this._input[0];
172
- this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
173
- var n = s.match(/(?:\r\n?|\n).*/g);
174
- return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
171
+ var i = this._input[0];
172
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
173
+ var n = i.match(/(?:\r\n?|\n).*/g);
174
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
175
175
  }, "input"),
176
176
  // unshifts one char (or a string) into the input
177
- unput: /* @__PURE__ */ o(function(s) {
178
- var n = s.length, r = s.split(/(?:\r\n?|\n)/g);
179
- this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
177
+ unput: /* @__PURE__ */ o(function(i) {
178
+ var n = i.length, r = i.split(/(?:\r\n?|\n)/g);
179
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
180
180
  var a = this.match.split(/(?:\r\n?|\n)/g);
181
181
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r.length - 1 && (this.yylineno -= r.length - 1);
182
182
  var u = this.yylloc.range;
@@ -205,27 +205,27 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
205
205
  return this;
206
206
  }, "reject"),
207
207
  // retain first n characters of the match
208
- less: /* @__PURE__ */ o(function(s) {
209
- this.unput(this.match.slice(s));
208
+ less: /* @__PURE__ */ o(function(i) {
209
+ this.unput(this.match.slice(i));
210
210
  }, "less"),
211
211
  // displays already matched input, i.e. for error messages
212
212
  pastInput: /* @__PURE__ */ o(function() {
213
- var s = this.matched.substr(0, this.matched.length - this.match.length);
214
- return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
213
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
214
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
215
215
  }, "pastInput"),
216
216
  // displays upcoming input, i.e. for error messages
217
217
  upcomingInput: /* @__PURE__ */ o(function() {
218
- var s = this.match;
219
- return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
218
+ var i = this.match;
219
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
220
220
  }, "upcomingInput"),
221
221
  // displays the character position where the lexing error occurred, i.e. for error messages
222
222
  showPosition: /* @__PURE__ */ o(function() {
223
- var s = this.pastInput(), n = new Array(s.length + 1).join("-");
224
- return s + this.upcomingInput() + `
223
+ var i = this.pastInput(), n = new Array(i.length + 1).join("-");
224
+ return i + this.upcomingInput() + `
225
225
  ` + n + "^";
226
226
  }, "showPosition"),
227
227
  // test the lexed token: return FALSE when not a match, otherwise return token
228
- test_match: /* @__PURE__ */ o(function(s, n) {
228
+ test_match: /* @__PURE__ */ o(function(i, n) {
229
229
  var r, a, u;
230
230
  if (this.options.backtrack_lexer && (u = {
231
231
  yylineno: this.yylineno,
@@ -246,12 +246,12 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
246
246
  yy: this.yy,
247
247
  conditionStack: this.conditionStack.slice(0),
248
248
  done: this.done
249
- }, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), a = s[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
249
+ }, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), a = i[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
250
250
  first_line: this.yylloc.last_line,
251
251
  last_line: this.yylineno + 1,
252
252
  first_column: this.yylloc.last_column,
253
- last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
254
- }, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
253
+ last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
254
+ }, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
255
255
  return r;
256
256
  if (this._backtrack) {
257
257
  for (var t in u)
@@ -265,13 +265,13 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
265
265
  if (this.done)
266
266
  return this.EOF;
267
267
  this._input || (this.done = !0);
268
- var s, n, r, a;
268
+ var i, n, r, a;
269
269
  this._more || (this.yytext = "", this.match = "");
270
270
  for (var u = this._currentRules(), t = 0; t < u.length; t++)
271
271
  if (r = this._input.match(this.rules[u[t]]), r && (!n || r[0].length > n[0].length)) {
272
272
  if (n = r, a = t, this.options.backtrack_lexer) {
273
- if (s = this.test_match(r, u[t]), s !== !1)
274
- return s;
273
+ if (i = this.test_match(r, u[t]), i !== !1)
274
+ return i;
275
275
  if (this._backtrack) {
276
276
  n = !1;
277
277
  continue;
@@ -280,7 +280,7 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
280
280
  } else if (!this.options.flex)
281
281
  break;
282
282
  }
283
- return n ? (s = this.test_match(n, u[a]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
283
+ return n ? (i = this.test_match(n, u[a]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
284
284
  ` + this.showPosition(), {
285
285
  text: "",
286
286
  token: null,
@@ -430,31 +430,31 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
430
430
  return o(B, "Parser"), B.prototype = T, T.Parser = B, new B();
431
431
  })();
432
432
  $.parser = $;
433
- var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
434
- v = [], ne = [], ee = 0, se = {};
433
+ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
434
+ v = [], ne = [], ee = 0, ie = {};
435
435
  }, "clear"), De = /* @__PURE__ */ o((e) => {
436
436
  if (v.length === 0)
437
437
  return null;
438
438
  const h = v[0].level;
439
439
  let p = null;
440
- for (let i = v.length - 1; i >= 0; i--)
441
- if (v[i].level === h && !p && (p = v[i]), v[i].level < h)
442
- throw new Error('Items without section detected, found section ("' + v[i].label + '")');
440
+ for (let s = v.length - 1; s >= 0; s--)
441
+ if (v[s].level === h && !p && (p = v[s]), v[s].level < h)
442
+ throw new Error('Items without section detected, found section ("' + v[s].label + '")');
443
443
  return e === p?.level ? null : p;
444
444
  }, "getSection"), he = /* @__PURE__ */ o(function() {
445
445
  return ne;
446
446
  }, "getSections"), Le = /* @__PURE__ */ o(function() {
447
- const e = [], h = [], p = he(), i = H();
447
+ const e = [], h = [], p = he(), s = H();
448
448
  for (const d of p) {
449
449
  const _ = {
450
450
  id: d.id,
451
- label: j(d.label ?? "", i),
451
+ label: j(d.label ?? "", s),
452
452
  labelType: "markdown",
453
453
  isGroup: !0,
454
454
  ticket: d.ticket,
455
455
  shape: "kanbanSection",
456
456
  level: d.level,
457
- look: i.look
457
+ look: s.look
458
458
  };
459
459
  h.push(_);
460
460
  const m = v.filter((l) => l.parentId === d.id);
@@ -462,7 +462,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
462
462
  const D = {
463
463
  id: l.id,
464
464
  parentId: d.id,
465
- label: j(l.label ?? "", i),
465
+ label: j(l.label ?? "", s),
466
466
  labelType: "markdown",
467
467
  isGroup: !1,
468
468
  ticket: l?.ticket,
@@ -479,10 +479,10 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
479
479
  }
480
480
  }
481
481
  return { nodes: h, edges: e, other: {}, config: H() };
482
- }, "getData"), Oe = /* @__PURE__ */ o((e, h, p, i, d) => {
482
+ }, "getData"), Oe = /* @__PURE__ */ o((e, h, p, s, d) => {
483
483
  const _ = H();
484
484
  let m = _.mindmap?.padding ?? Y.mindmap.padding;
485
- switch (i) {
485
+ switch (s) {
486
486
  case y.ROUNDED_RECT:
487
487
  case y.RECT:
488
488
  case y.HEXAGON:
@@ -537,7 +537,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
537
537
  return y.DEFAULT;
538
538
  }
539
539
  }, "getType"), Ce = /* @__PURE__ */ o((e, h) => {
540
- se[e] = h;
540
+ ie[e] = h;
541
541
  }, "setElementForId"), we = /* @__PURE__ */ o((e) => {
542
542
  if (!e)
543
543
  return;
@@ -563,7 +563,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
563
563
  default:
564
564
  return "no-border";
565
565
  }
566
- }, "type2Str"), Te = /* @__PURE__ */ o(() => te, "getLogger"), Re = /* @__PURE__ */ o((e) => se[e], "getElementById"), Pe = {
566
+ }, "type2Str"), Te = /* @__PURE__ */ o(() => te, "getLogger"), Re = /* @__PURE__ */ o((e) => ie[e], "getElementById"), Pe = {
567
567
  clear: ve,
568
568
  addNode: Oe,
569
569
  getSections: he,
@@ -575,10 +575,10 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
575
575
  type2Str: Ae,
576
576
  getLogger: Te,
577
577
  getElementById: Re
578
- }, Ve = Pe, Be = /* @__PURE__ */ o(async (e, h, p, i) => {
578
+ }, Ve = Pe, Be = /* @__PURE__ */ o(async (e, h, p, s) => {
579
579
  te.debug(`Rendering kanban diagram
580
580
  ` + e);
581
- const _ = i.db.getData(), m = H();
581
+ const _ = s.db.getData(), m = H();
582
582
  m.htmlLabels = !1;
583
583
  const l = fe(h);
584
584
  for (const f of _.nodes)
@@ -604,17 +604,17 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
604
604
  for (const f of g) {
605
605
  const A = F[V];
606
606
  V = V + 1;
607
- const L = m?.kanban?.sectionWidth || 200, G = -L * 3 / 2 + N;
608
- let T = G;
609
- const K = _.nodes.filter((s) => s.parentId === f.id);
610
- for (const s of K) {
611
- if (s.isGroup)
607
+ const L = m?.kanban?.sectionWidth || 200, M = -L * 3 / 2 + N;
608
+ let T = M;
609
+ const K = _.nodes.filter((i) => i.parentId === f.id);
610
+ for (const i of K) {
611
+ if (i.isGroup)
612
612
  throw new Error("Groups within groups are not allowed in Kanban diagrams");
613
- s.x = f.x, s.width = L - 1.5 * k;
614
- const r = (await be(I, s, { config: m })).node().getBBox();
615
- s.y = T + r.height / 2, await me(s), T = s.y + r.height / 2 + k / 2;
613
+ i.x = f.x, i.width = L - 1.5 * k;
614
+ const r = (await be(I, i, { config: m })).node().getBBox();
615
+ i.y = T + r.height / 2, await me(i), T = i.y + r.height / 2 + k / 2;
616
616
  }
617
- const B = A.cluster.select("rect"), O = Math.max(T - G + 3 * k, 50) + (N - 25);
617
+ const B = A.cluster.select("rect"), O = Math.max(T - M + 3 * k, 50) + (N - 25);
618
618
  B.attr("height", O);
619
619
  }
620
620
  _e(
@@ -623,36 +623,36 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
623
623
  m.mindmap?.padding ?? Y.kanban.padding,
624
624
  m.mindmap?.useMaxWidth ?? Y.kanban.useMaxWidth
625
625
  );
626
- }, "draw"), Ue = {
626
+ }, "draw"), Ge = {
627
627
  draw: Be
628
628
  }, je = /* @__PURE__ */ o((e) => {
629
629
  let h = "";
630
- for (let i = 0; i < e.THEME_COLOR_LIMIT; i++)
631
- e["lineColor" + i] = e["lineColor" + i] || e["cScaleInv" + i], Se(e["lineColor" + i]) ? e["lineColor" + i] = ce(e["lineColor" + i], 20) : e["lineColor" + i] = le(e["lineColor" + i], 20);
632
- const p = /* @__PURE__ */ o((i, d) => e.darkMode ? le(i, d) : ce(i, d), "adjuster");
633
- for (let i = 0; i < e.THEME_COLOR_LIMIT; i++) {
634
- const d = "" + (17 - 3 * i);
630
+ for (let s = 0; s < e.THEME_COLOR_LIMIT; s++)
631
+ e["lineColor" + s] = e["lineColor" + s] || e["cScaleInv" + s], Se(e["lineColor" + s]) ? e["lineColor" + s] = ce(e["lineColor" + s], 20) : e["lineColor" + s] = le(e["lineColor" + s], 20);
632
+ const p = /* @__PURE__ */ o((s, d) => e.darkMode ? le(s, d) : ce(s, d), "adjuster");
633
+ for (let s = 0; s < e.THEME_COLOR_LIMIT; s++) {
634
+ const d = "" + (17 - 3 * s);
635
635
  h += `
636
- .section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
637
- fill: ${p(e["cScale" + i], 10)};
638
- stroke: ${p(e["cScale" + i], 10)};
636
+ .section-${s - 1} rect, .section-${s - 1} path, .section-${s - 1} circle, .section-${s - 1} polygon, .section-${s - 1} path {
637
+ fill: ${p(e["cScale" + s], 10)};
638
+ stroke: ${p(e["cScale" + s], 10)};
639
639
 
640
640
  }
641
- .section-${i - 1} text {
642
- fill: ${e["cScaleLabel" + i]};
641
+ .section-${s - 1} text {
642
+ fill: ${e["cScaleLabel" + s]};
643
643
  }
644
- .node-icon-${i - 1} {
644
+ .node-icon-${s - 1} {
645
645
  font-size: 40px;
646
- color: ${e["cScaleLabel" + i]};
646
+ color: ${e["cScaleLabel" + s]};
647
647
  }
648
- .section-edge-${i - 1}{
649
- stroke: ${e["cScale" + i]};
648
+ .section-edge-${s - 1}{
649
+ stroke: ${e["cScale" + s]};
650
650
  }
651
- .edge-depth-${i - 1}{
651
+ .edge-depth-${s - 1}{
652
652
  stroke-width: ${d};
653
653
  }
654
- .section-${i - 1} line {
655
- stroke: ${e["cScaleInv" + i]} ;
654
+ .section-${s - 1} line {
655
+ stroke: ${e["cScaleInv" + s]} ;
656
656
  stroke-width: 3;
657
657
  }
658
658
 
@@ -713,11 +713,11 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
713
713
  text-align: center;
714
714
  }
715
715
  ${Ne()}
716
- `, "getStyles"), Ge = Fe, We = {
716
+ `, "getStyles"), Me = Fe, We = {
717
717
  db: Ve,
718
- renderer: Ue,
718
+ renderer: Ge,
719
719
  parser: xe,
720
- styles: Ge
720
+ styles: Me
721
721
  };
722
722
  export {
723
723
  We as diagram
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./extractHeadings-DpvwXCio.cjs"),le=require("./chunk-5VM5RSS4-C0OtlojA.cjs");var J=(function(){var e=n.__name(function(O,s,i,a){for(i=i||{},a=O.length;a--;i[O[a]]=s);return i},"o"),h=[1,4],p=[1,13],r=[1,12],d=[1,15],b=[1,16],y=[1,20],l=[1,19],D=[6,7,8],C=[1,26],g=[1,24],T=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],w=[1,36],L=[1,6,7,11,13,16,17,20,23],F=[1,38],A={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:n.__name(function(s,i,a,o,u,t,G){var c=t.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",t[c-1].id),o.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:o.getLogger().info("Node: ",t[c].id),o.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:o.getLogger().trace("Icon: ",t[c]),o.decorateNode({icon:t[c]});break;case 18:case 23:o.decorateNode({class:t[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",t[c-1].id),o.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:o.getLogger().trace("Node: ",t[c].id),o.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:o.decorateNode({icon:t[c]});break;case 27:o.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:o.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:p,9:22,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:C,7:g,10:23,11:T},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:y,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:T},{1:[2,7],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(V,[2,14],{7:f,11:w}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:F}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:w}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:F}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.__name(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:n.__name(function(s){var i=this,a=[0],o=[],u=[null],t=[],G=this.table,c="",H=0,ee=0,re=2,te=1,ae=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(R.yy[X]=this.yy[X]);m.setInput(s,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var K=m.yylloc;t.push(K);var oe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(S){a.length=a.length-2*S,u.length=u.length-S,t.length=t.length-S}n.__name(ce,"popStack");function ne(){var S;return S=o.pop()||m.lex()||te,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=i.symbols_[S]||S),S}n.__name(ne,"lex");for(var E,P,N,Y,j={},U,I,ie,z;;){if(P=a[a.length-1],this.defaultActions[P]?N=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ne()),N=G[P]&&G[P][E]),typeof N>"u"||!N.length||!N[0]){var q="";z=[];for(U in G[P])this.terminals_[U]&&U>re&&z.push("'"+this.terminals_[U]+"'");m.showPosition?q="Parse error on line "+(H+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-CRP55Hm1.cjs"),le=require("./chunk-5VM5RSS4-CYVpj2mc.cjs");var J=(function(){var e=n.__name(function(O,s,i,a){for(i=i||{},a=O.length;a--;i[O[a]]=s);return i},"o"),h=[1,4],p=[1,13],r=[1,12],d=[1,15],b=[1,16],y=[1,20],l=[1,19],D=[6,7,8],C=[1,26],g=[1,24],T=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],w=[1,36],L=[1,6,7,11,13,16,17,20,23],F=[1,38],A={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:n.__name(function(s,i,a,o,u,t,G){var c=t.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",t[c-1].id),o.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:o.getLogger().info("Node: ",t[c].id),o.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:o.getLogger().trace("Icon: ",t[c]),o.decorateNode({icon:t[c]});break;case 18:case 23:o.decorateNode({class:t[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",t[c-1].id),o.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:o.getLogger().trace("Node: ",t[c].id),o.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:o.decorateNode({icon:t[c]});break;case 27:o.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:o.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:p,9:22,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:C,7:g,10:23,11:T},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:y,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:T},{1:[2,7],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(V,[2,14],{7:f,11:w}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:F}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:w}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:F}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.__name(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:n.__name(function(s){var i=this,a=[0],o=[],u=[null],t=[],G=this.table,c="",U=0,ee=0,re=2,te=1,ae=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(R.yy[X]=this.yy[X]);m.setInput(s,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var K=m.yylloc;t.push(K);var oe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(S){a.length=a.length-2*S,u.length=u.length-S,t.length=t.length-S}n.__name(ce,"popStack");function ne(){var S;return S=o.pop()||m.lex()||te,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=i.symbols_[S]||S),S}n.__name(ne,"lex");for(var E,P,N,Y,j={},H,I,ie,z;;){if(P=a[a.length-1],this.defaultActions[P]?N=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ne()),N=G[P]&&G[P][E]),typeof N>"u"||!N.length||!N[0]){var q="";z=[];for(H in G[P])this.terminals_[H]&&H>re&&z.push("'"+this.terminals_[H]+"'");m.showPosition?q="Parse error on line "+(U+1)+`:
2
2
  `+m.showPosition()+`
3
- Expecting `+z.join(", ")+", got '"+(this.terminals_[E]||E)+"'":q="Parse error on line "+(H+1)+": Unexpected "+(E==te?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(q,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:K,expected:z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(N[0]){case 1:a.push(E),u.push(m.yytext),t.push(m.yylloc),a.push(N[1]),E=null,ee=m.yyleng,c=m.yytext,H=m.yylineno,K=m.yylloc;break;case 2:if(I=this.productions_[N[1]][1],j.$=u[u.length-I],j._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},oe&&(j._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),Y=this.performAction.apply(j,[c,ee,H,R.yy,N[1],u,t].concat(ae)),typeof Y<"u")return Y;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),t=t.slice(0,-1*I)),a.push(this.productions_[N[1]][0]),u.push(j.$),t.push(j._$),ie=G[a[a.length-2]][a[a.length-1]],a.push(ie);break;case 3:return!0}}return!0},"parse")},W=(function(){var O={EOF:1,parseError:n.__name(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:n.__name(function(s,i){return this.yy=i||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var i=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
3
+ Expecting `+z.join(", ")+", got '"+(this.terminals_[E]||E)+"'":q="Parse error on line "+(U+1)+": Unexpected "+(E==te?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(q,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:K,expected:z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(N[0]){case 1:a.push(E),u.push(m.yytext),t.push(m.yylloc),a.push(N[1]),E=null,ee=m.yyleng,c=m.yytext,U=m.yylineno,K=m.yylloc;break;case 2:if(I=this.productions_[N[1]][1],j.$=u[u.length-I],j._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},oe&&(j._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),Y=this.performAction.apply(j,[c,ee,U,R.yy,N[1],u,t].concat(ae)),typeof Y<"u")return Y;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),t=t.slice(0,-1*I)),a.push(this.productions_[N[1]][0]),u.push(j.$),t.push(j._$),ie=G[a[a.length-2]][a[a.length-1]],a.push(ie);break;case 3:return!0}}return!0},"parse")},W=(function(){var O={EOF:1,parseError:n.__name(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:n.__name(function(s,i){return this.yy=i||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var i=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
5
  `+i+"^"},"showPosition"),test_match:n.__name(function(s,i){var a,o,u;if(this.options.backtrack_lexer&&(u={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(u.yylloc.range=this.yylloc.range.slice(0))),o=s[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var t in u)this[t]=u[t];return!1}return!1},"test_match"),next:n.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,i,a,o;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),t=0;t<u.length;t++)if(a=this._input.match(this.rules[u[t]]),a&&(!i||a[0].length>i[0].length)){if(i=a,o=t,this.options.backtrack_lexer){if(s=this.test_match(a,u[t]),s!==!1)return s;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(s=this.test_match(i,u[o]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
6
  `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n.__name(function(){var i=this.next();return i||this.lex()},"lex"),begin:n.__name(function(i){this.conditionStack.push(i)},"begin"),popState:n.__name(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n.__name(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:n.__name(function(i){this.begin(i)},"pushState"),stateStackSize:n.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n.__name(function(i,a,o,u){switch(o){case 0:return this.pushState("shapeData"),a.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const t=/\n\s*/g;return a.yytext=a.yytext.replace(t,"<br/>"),24;case 4:return 24;case 5:this.popState();break;case 6:return i.getLogger().trace("Found comment",a.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return i.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:i.getLogger().trace("end icon"),this.popState();break;case 16:return i.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return i.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return i.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return i.getLogger().trace("description:",a.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),i.getLogger().trace("node end ...",a.yytext),"NODE_DEND";case 36:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 41:return i.getLogger().trace("Long description:",a.yytext),21;case 42:return i.getLogger().trace("Long description:",a.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return O})();A.lexer=W;function B(){this.yy={}}return n.__name(B,"Parser"),B.prototype=A,A.Parser=B,new B})();J.parser=J;var he=J,v=[],Z=[],Q=0,$={},ue=n.__name(()=>{v=[],Z=[],Q=0,$={}},"clear"),ge=n.__name(e=>{if(v.length===0)return null;const h=v[0].level;let p=null;for(let r=v.length-1;r>=0;r--)if(v[r].level===h&&!p&&(p=v[r]),v[r].level<h)throw new Error('Items without section detected, found section ("'+v[r].label+'")');return e===p?.level?null:p},"getSection"),se=n.__name(function(){return Z},"getSections"),de=n.__name(function(){const e=[],h=[],p=se(),r=n.getConfig2();for(const d of p){const b={id:d.id,label:n.sanitizeText(d.label??"",r),labelType:"markdown",isGroup:!0,ticket:d.ticket,shape:"kanbanSection",level:d.level,look:r.look};h.push(b);const y=v.filter(l=>l.parentId===d.id);for(const l of y){const D={id:l.id,parentId:d.id,label:n.sanitizeText(l.label??"",r),labelType:"markdown",isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};h.push(D)}}return{nodes:h,edges:e,other:{},config:n.getConfig2()}},"getData"),pe=n.__name((e,h,p,r,d)=>{const b=n.getConfig2();let y=b.mindmap?.padding??n.defaultConfig_default.mindmap.padding;switch(r){case _.ROUNDED_RECT:case _.RECT:case _.HEXAGON:y*=2}const l={id:n.sanitizeText(h,b)||"kbn"+Q++,level:e,label:n.sanitizeText(p,b),width:b.mindmap?.maxNodeWidth??n.defaultConfig_default.mindmap.maxNodeWidth,padding:y,isGroup:!1};if(d!==void 0){let C;d.includes(`