@sme.up/ketchup2 2.0.0-alpha.2 → 2.1.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 (398) hide show
  1. package/dist/arc-CqG9Hxdf.cjs +1 -0
  2. package/dist/arc-Klgb378K.js +80 -0
  3. package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
  4. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
  5. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
  6. package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
  7. package/dist/array-D8NZ46Ht.js +6 -0
  8. package/dist/array-Dxz0O8Q3.cjs +1 -0
  9. package/dist/assets/imageListAssets.d.ts +3 -1
  10. package/dist/assets/imageListAssets.d.ts.map +1 -1
  11. package/dist/assets/svg/chevron_down.svg +1 -0
  12. package/dist/assets/svg/error_outline.svg +1 -0
  13. package/dist/assets/svg/warning_outline.svg +1 -0
  14. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  15. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  16. package/dist/basic-components/list/list-types.d.ts +0 -1
  17. package/dist/basic-components/list/list-types.d.ts.map +1 -1
  18. package/dist/basic-components/list/list.d.ts.map +1 -1
  19. package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
  20. package/dist/basic-components/select/select.d.ts.map +1 -1
  21. package/dist/basic-components/text-editor/text-editor-utils.d.ts +1 -1
  22. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  23. package/dist/basic-components/typography/typography.d.ts.map +1 -1
  24. package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
  25. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
  26. package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
  27. package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
  28. package/dist/channel-BY9Lkyz7.cjs +1 -0
  29. package/dist/channel-BqNr2cYO.js +5 -0
  30. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
  31. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
  32. package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
  33. package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
  34. package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
  35. package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
  36. package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
  37. package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
  38. package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
  39. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
  40. package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
  41. package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
  42. package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
  43. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
  44. package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
  45. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
  46. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
  47. package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
  48. package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
  49. package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
  50. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
  51. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
  52. package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
  53. package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
  54. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
  55. package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
  56. package/dist/chunk-D-IZpNpi.cjs +1 -0
  57. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
  58. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
  59. package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
  60. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
  61. package/dist/{chunk-FMBD7UC4-Bbe5VHO3.cjs → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -2
  62. package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
  63. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
  64. package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
  65. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
  66. package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
  67. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
  68. package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
  69. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
  70. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
  71. package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
  72. package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
  73. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
  74. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
  75. package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
  76. package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
  77. package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
  78. package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
  79. package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
  80. package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
  81. package/dist/chunk-WQLz0Won.js +20 -0
  82. package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
  83. package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
  84. package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
  85. package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
  86. package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
  87. package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
  88. package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
  89. package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
  90. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
  91. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
  92. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
  93. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
  94. package/dist/clone-Dn__H8fX.js +8 -0
  95. package/dist/clone-lShkT11Q.cjs +1 -0
  96. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  97. package/dist/components/box-list/box-list-types.d.ts +1 -0
  98. package/dist/components/box-list/box-list-types.d.ts.map +1 -1
  99. package/dist/components/box-list/box-list.d.ts.map +1 -1
  100. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  101. package/dist/components/field/field-types.d.ts +1 -1
  102. package/dist/components/field/field-types.d.ts.map +1 -1
  103. package/dist/components/htm/htm-types.d.ts +4 -0
  104. package/dist/components/htm/htm-types.d.ts.map +1 -1
  105. package/dist/components/htm/htm.d.ts.map +1 -1
  106. package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
  107. package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
  108. package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
  109. package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
  110. package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
  111. package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
  112. package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
  113. package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
  114. package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
  115. package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
  116. package/dist/components/image-list/components/image-list-navigation-picker.d.ts +15 -0
  117. package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -0
  118. package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
  119. package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
  120. package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
  121. package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
  122. package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
  123. package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
  124. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  125. package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
  126. package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
  127. package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
  128. package/dist/components/image-list/components/navigation-modes/image-list-slideshow.d.ts.map +1 -1
  129. package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
  130. package/dist/components/image-list/components/strip-child-popup.d.ts.map +1 -1
  131. package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
  132. package/dist/components/image-list/components/strip-overflow-button.d.ts.map +1 -1
  133. package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
  134. package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
  135. package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
  136. package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
  137. package/dist/components/image-list/image-list-context.d.ts +5 -2
  138. package/dist/components/image-list/image-list-context.d.ts.map +1 -1
  139. package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
  140. package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
  141. package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
  142. package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
  143. package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
  144. package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
  145. package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
  146. package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
  147. package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
  148. package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
  149. package/dist/components/image-list/image-list-state-context.d.ts +5 -0
  150. package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
  151. package/dist/components/image-list/image-list-types.d.ts +50 -2
  152. package/dist/components/image-list/image-list-types.d.ts.map +1 -1
  153. package/dist/components/image-list/image-list-utils.d.ts +54 -2
  154. package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
  155. package/dist/components/image-list/image-list.d.ts +1 -1
  156. package/dist/components/image-list/image-list.d.ts.map +1 -1
  157. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  158. package/dist/components/tooltip/tooltip-utils.d.ts.map +1 -1
  159. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  160. package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
  161. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
  162. package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
  163. package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
  164. package/dist/dagre-BjnWDdkw.cjs +1 -0
  165. package/dist/dagre-DVLnxd7n.js +1606 -0
  166. package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
  167. package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
  168. package/dist/defaultLocale-Dcyuaxxg.js +201 -0
  169. package/dist/defaultLocale-DtzyZW63.cjs +1 -0
  170. package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
  171. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
  172. package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
  173. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
  174. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
  175. package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
  176. package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
  177. package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
  178. package/dist/dist-BgvMZbfo.cjs +1 -0
  179. package/dist/dist-DL30VIBI.js +60 -0
  180. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
  181. package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
  182. package/dist/flatten-BE1bWL-7.js +40 -0
  183. package/dist/flatten-DxvYSoR8.cjs +1 -0
  184. package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
  185. package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
  186. package/dist/functional-components/action/action-types.d.ts +70 -0
  187. package/dist/functional-components/action/action-types.d.ts.map +1 -0
  188. package/dist/functional-components/action/action-utils.d.ts +5 -0
  189. package/dist/functional-components/action/action-utils.d.ts.map +1 -0
  190. package/dist/functional-components/action/action.d.ts +3 -0
  191. package/dist/functional-components/action/action.d.ts.map +1 -0
  192. package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
  193. package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
  194. package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +1 -1
  195. package/dist/functional-components/gantt/gantt-assets.d.ts +4 -0
  196. package/dist/functional-components/gantt/gantt-assets.d.ts.map +1 -1
  197. package/dist/functional-components/gantt/gantt.d.ts.map +1 -1
  198. package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts +17 -0
  199. package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
  200. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
  201. package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
  202. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
  203. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
  204. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
  205. package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
  206. package/dist/graphlib-Cpifseqb.js +373 -0
  207. package/dist/graphlib-HdfvGLpV.cjs +1 -0
  208. package/dist/hooks/useClickOutside.d.ts.map +1 -1
  209. package/dist/identity-KQSjemTb.cjs +1 -0
  210. package/dist/identity-g0dsMjx7.js +393 -0
  211. package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
  212. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
  213. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
  214. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
  215. package/dist/init-B2MubQrj.cjs +1 -0
  216. package/dist/init-BO60vQHJ.js +15 -0
  217. package/dist/isEmpty-CA3kJuev.cjs +1 -0
  218. package/dist/isEmpty-RwX-oIQS.js +35 -0
  219. package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
  220. package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
  221. package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
  222. package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
  223. package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
  224. package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
  225. package/dist/katex-Du5WiYIy.js +22000 -0
  226. package/dist/katex-SAH56fvc.cjs +257 -0
  227. package/dist/ketchup2.cjs.js +190 -1
  228. package/dist/ketchup2.css +2 -1
  229. package/dist/ketchup2.es.js +132419 -52
  230. package/dist/line-BbHmiwbs.cjs +1 -0
  231. package/dist/line-JyRBGWft.js +34 -0
  232. package/dist/linear-BsPvNLJv.js +289 -0
  233. package/dist/linear-CxHa1DsM.cjs +1 -0
  234. package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
  235. package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
  236. package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
  237. package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
  238. package/dist/ordinal-C-VoL0XF.js +65 -0
  239. package/dist/ordinal-Civr0hZL.cjs +1 -0
  240. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
  241. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
  242. package/dist/path-Civic7PQ.cjs +1 -0
  243. package/dist/path-CvfwEr8y.js +85 -0
  244. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
  245. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
  246. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
  247. package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
  248. package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
  249. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
  250. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
  251. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
  252. package/dist/reduce-B7WW9rkU.cjs +1 -0
  253. package/dist/reduce-DNnkcf3M.js +532 -0
  254. package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
  255. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
  256. package/dist/rough.esm-1mqTSjCt.js +1352 -0
  257. package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
  258. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
  259. package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
  260. package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
  261. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
  262. package/dist/src-BQiFKP24.js +2146 -0
  263. package/dist/src-DFxq-N5I.cjs +1 -0
  264. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
  265. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
  266. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
  267. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
  268. package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
  269. package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
  270. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
  271. package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
  272. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
  273. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
  274. package/dist/utils/translation.d.ts.map +1 -1
  275. package/dist/v4-6yr83DbP.cjs +1 -0
  276. package/dist/v4-BR71w5_q.js +33 -0
  277. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
  278. package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
  279. package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
  280. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
  281. package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
  282. package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
  283. package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
  284. package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
  285. package/package.json +31 -31
  286. package/dist/_basePickBy-DGJmMScd.cjs +0 -1
  287. package/dist/_basePickBy-PX1Y-d1V.js +0 -151
  288. package/dist/_baseUniq-DcRTQJQN.cjs +0 -1
  289. package/dist/_baseUniq-DwOD2Otm.js +0 -614
  290. package/dist/arc-BsWNnd73.js +0 -83
  291. package/dist/arc-DBV_HLQY.cjs +0 -1
  292. package/dist/architecture-7HQA4BMR-CFSh30qd.js +0 -6
  293. package/dist/architecture-7HQA4BMR-lBVp8HRs.cjs +0 -1
  294. package/dist/architectureDiagram-VXUJARFQ-Bc0s-J3p.cjs +0 -36
  295. package/dist/architectureDiagram-VXUJARFQ-CMUHe_r-.js +0 -4661
  296. package/dist/blockDiagram-VD42YOAC-C_oUXbzO.cjs +0 -122
  297. package/dist/blockDiagram-VD42YOAC-IY9o9LbQ.js +0 -2256
  298. package/dist/c4Diagram-YG6GDRKO-CqZ8ZT08.cjs +0 -10
  299. package/dist/c4Diagram-YG6GDRKO-DJxkbTo5.js +0 -1580
  300. package/dist/channel-BkvCKlJ6.js +0 -5
  301. package/dist/channel-CswPsSpD.cjs +0 -1
  302. package/dist/chunk-4BX2VUAB-CYIF37mc.js +0 -8
  303. package/dist/chunk-4BX2VUAB-gEHSzd7y.cjs +0 -1
  304. package/dist/chunk-55IACEB6-BHAHwp5q.js +0 -8
  305. package/dist/chunk-55IACEB6-_lyvFxBQ.cjs +0 -1
  306. package/dist/chunk-B4BG7PRW-B8r_ephc.js +0 -1375
  307. package/dist/chunk-B4BG7PRW-BS27R9kc.cjs +0 -165
  308. package/dist/chunk-DI55MBZ5-Bm2YZ5i9.cjs +0 -220
  309. package/dist/chunk-DI55MBZ5-hEyGllSh.js +0 -1370
  310. package/dist/chunk-FMBD7UC4-D7nrDShK.js +0 -19
  311. package/dist/chunk-QN33PNHL-BgJe6Xfg.cjs +0 -1
  312. package/dist/chunk-QN33PNHL-rrJh01ga.js +0 -19
  313. package/dist/chunk-QZHKN3VN-BmAbl_2n.js +0 -15
  314. package/dist/chunk-QZHKN3VN-BrAhTHYa.cjs +0 -1
  315. package/dist/chunk-TZMSLE5B-BE-7S1wa.js +0 -64
  316. package/dist/chunk-TZMSLE5B-BHB7-VQp.cjs +0 -1
  317. package/dist/classDiagram-2ON5EDUG-CebcMRVR.cjs +0 -1
  318. package/dist/classDiagram-2ON5EDUG-D3F1RaIQ.js +0 -16
  319. package/dist/classDiagram-v2-WZHVMYZB-CebcMRVR.cjs +0 -1
  320. package/dist/classDiagram-v2-WZHVMYZB-D3F1RaIQ.js +0 -16
  321. package/dist/clone-BDgl72Aq.cjs +0 -1
  322. package/dist/clone-C_aDFxlO.js +0 -8
  323. package/dist/cose-bilkent-S5V4N54A-D3wiY3iN.cjs +0 -1
  324. package/dist/cose-bilkent-S5V4N54A-D5AClp5l.js +0 -2608
  325. package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
  326. package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
  327. package/dist/dagre-6UL2VRFP-CypqseiV.cjs +0 -4
  328. package/dist/dagre-6UL2VRFP-DMO4JOci.js +0 -444
  329. package/dist/defaultLocale-D7EN2tov.js +0 -171
  330. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  331. package/dist/diagram-PSM6KHXK-BDoLsIhn.cjs +0 -24
  332. package/dist/diagram-PSM6KHXK-cFCqdUIB.js +0 -531
  333. package/dist/diagram-QEK2KX5R-Cc5PUDIg.cjs +0 -43
  334. package/dist/diagram-QEK2KX5R-Cu_E8La-.js +0 -217
  335. package/dist/diagram-S2PKOQOG-CGnbJJ6_.cjs +0 -24
  336. package/dist/diagram-S2PKOQOG-Cz6p6CDp.js +0 -142
  337. package/dist/erDiagram-Q2GNP2WA-C4LFQCJ0.cjs +0 -60
  338. package/dist/erDiagram-Q2GNP2WA-DvfsJLvg.js +0 -841
  339. package/dist/flowDiagram-NV44I4VS-CeKGu9EW.js +0 -1620
  340. package/dist/flowDiagram-NV44I4VS-D5y8Cy09.cjs +0 -162
  341. package/dist/ganttDiagram-JELNMOA3-BSy5awHh.cjs +0 -267
  342. package/dist/ganttDiagram-JELNMOA3-Dr4U9R4y.js +0 -2670
  343. package/dist/gitGraph-G5XIXVHT-CO3K0I5T.js +0 -6
  344. package/dist/gitGraph-G5XIXVHT-Ca7V3WsM.cjs +0 -1
  345. package/dist/gitGraphDiagram-V2S2FVAM-1QBHZeWE.js +0 -699
  346. package/dist/gitGraphDiagram-V2S2FVAM-OiapaYQL.cjs +0 -65
  347. package/dist/graph-Jks8K00w.cjs +0 -1
  348. package/dist/graph-zNBt93GG.js +0 -247
  349. package/dist/index-D_QdHvga.js +0 -132342
  350. package/dist/index-DrE_PcNC.cjs +0 -390
  351. package/dist/info-VBDWY6EO-0Eh7RJSD.js +0 -6
  352. package/dist/info-VBDWY6EO-BUpod63m.cjs +0 -1
  353. package/dist/infoDiagram-HS3SLOUP-DQPTM4yd.cjs +0 -2
  354. package/dist/infoDiagram-HS3SLOUP-y4B3rGEI.js +0 -24
  355. package/dist/init-CHZsXQcr.cjs +0 -1
  356. package/dist/init-DjUOC4st.js +0 -16
  357. package/dist/journeyDiagram-XKPGCS4Q-BA6dU3fB.js +0 -834
  358. package/dist/journeyDiagram-XKPGCS4Q-CgX1uRWQ.cjs +0 -139
  359. package/dist/kanban-definition-3W4ZIXB7-CCcUvQw2.js +0 -719
  360. package/dist/kanban-definition-3W4ZIXB7-CLsSK820.cjs +0 -89
  361. package/dist/katex-C2g-EhzP.cjs +0 -261
  362. package/dist/katex-CUSbq6rG.js +0 -11692
  363. package/dist/layout-DQY8NU7r.cjs +0 -1
  364. package/dist/layout-DhDJaAGH.js +0 -1335
  365. package/dist/linear-BxHQa2UM.js +0 -259
  366. package/dist/linear-DFPXnk9z.cjs +0 -1
  367. package/dist/mermaid-parser.core-BLQ9Ldcb.cjs +0 -160
  368. package/dist/mermaid-parser.core-Bny4tLBT.js +0 -17907
  369. package/dist/mindmap-definition-VGOIOE7T-Bw0Ttp1K.cjs +0 -68
  370. package/dist/mindmap-definition-VGOIOE7T-DWETxOzy.js +0 -758
  371. package/dist/ordinal-B6-f3MAq.js +0 -61
  372. package/dist/ordinal-CagbB1m8.cjs +0 -1
  373. package/dist/packet-DYOGHKS2-A2xNn9e2.cjs +0 -1
  374. package/dist/packet-DYOGHKS2-C9WC8eNb.js +0 -6
  375. package/dist/pie-VRWISCQL-BafPWeA1.cjs +0 -1
  376. package/dist/pie-VRWISCQL-vKJ8WC8d.js +0 -6
  377. package/dist/pieDiagram-ADFJNKIX-BdsfNh69.js +0 -161
  378. package/dist/pieDiagram-ADFJNKIX-DOZhSj8j.cjs +0 -30
  379. package/dist/quadrantDiagram-AYHSOK5B-BLuxXMra.cjs +0 -7
  380. package/dist/quadrantDiagram-AYHSOK5B-D9KE7HJs.js +0 -1022
  381. package/dist/radar-ZZBFDIW7-BLGCqPHv.js +0 -6
  382. package/dist/radar-ZZBFDIW7-BWxFhKYx.cjs +0 -1
  383. package/dist/requirementDiagram-UZGBJVZJ-BEkU_fE6.js +0 -850
  384. package/dist/requirementDiagram-UZGBJVZJ-DkNufFqc.cjs +0 -64
  385. package/dist/sankeyDiagram-TZEHDZUN-BJD6V_yO.js +0 -810
  386. package/dist/sankeyDiagram-TZEHDZUN-Dt4bjS4w.cjs +0 -10
  387. package/dist/sequenceDiagram-WL72ISMW-CSEM0aqp.cjs +0 -145
  388. package/dist/sequenceDiagram-WL72ISMW-dCDlLWba.js +0 -2511
  389. package/dist/stateDiagram-FKZM4ZOC-BcD9IQHo.cjs +0 -1
  390. package/dist/stateDiagram-FKZM4ZOC-CZ3DL61f.js +0 -263
  391. package/dist/stateDiagram-v2-4FDKWEC3-DGsrmxNL.cjs +0 -1
  392. package/dist/stateDiagram-v2-4FDKWEC3-DON-yX7J.js +0 -16
  393. package/dist/timeline-definition-IT6M3QCI-Bwb7mbiA.js +0 -795
  394. package/dist/timeline-definition-IT6M3QCI-CIbYhaSE.cjs +0 -61
  395. package/dist/treemap-GDKQZRPO-BMq1hkbw.cjs +0 -1
  396. package/dist/treemap-GDKQZRPO-DYOf8KkT.js +0 -6
  397. package/dist/xychartDiagram-PRI3JC2R-DloZDwSO.cjs +0 -7
  398. package/dist/xychartDiagram-PRI3JC2R-er9aZ4EF.js +0 -1340
@@ -0,0 +1,978 @@
1
+ import { L as e, O as t, Q as n, Z as r, b as i, d as a, et as o, y as s } from "./chunk-ICPOFSXX-Sn6LWD0k.js";
2
+ import { g as c, h as l } from "./src-BQiFKP24.js";
3
+ import "./chunk-5PVQY5BW-C5U7sJAA.js";
4
+ import "./chunk-BSJP7CBP-oNTXVRA7.js";
5
+ import "./chunk-ZZ45TVLE-CIYrdg-O.js";
6
+ import "./chunk-X2U36JSP-CY7mJR8m.js";
7
+ import "./chunk-U2HBQHQK-BZ3YFMXB.js";
8
+ import "./chunk-5FUZZQ4R-2kdZJWq2.js";
9
+ import "./chunk-ENJZ2VHE-BluGQPyl.js";
10
+ import { r as u, t as d } from "./chunk-336JU56O-xKPgkG3O.js";
11
+ import { t as f } from "./v4-BR71w5_q.js";
12
+ import { t as p } from "./chunk-55IACEB6-Bu3k0Yz5.js";
13
+ import { t as m } from "./chunk-EDXVE4YY-Bzf4FU3i.js";
14
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.mjs
15
+ var h = (function() {
16
+ var e = /* @__PURE__ */ l(function(e, t, n, r) {
17
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
18
+ return n;
19
+ }, "o"), t = [1, 4], n = [1, 13], r = [1, 12], i = [1, 15], a = [1, 16], o = [1, 20], s = [1, 19], c = [
20
+ 6,
21
+ 7,
22
+ 8
23
+ ], u = [1, 26], d = [1, 24], f = [1, 25], p = [
24
+ 6,
25
+ 7,
26
+ 11
27
+ ], m = [
28
+ 1,
29
+ 6,
30
+ 13,
31
+ 15,
32
+ 16,
33
+ 19,
34
+ 22
35
+ ], h = [1, 33], g = [1, 34], _ = [
36
+ 1,
37
+ 6,
38
+ 7,
39
+ 11,
40
+ 13,
41
+ 15,
42
+ 16,
43
+ 19,
44
+ 22
45
+ ], v = {
46
+ trace: /* @__PURE__ */ l(function() {}, "trace"),
47
+ yy: {},
48
+ symbols_: {
49
+ error: 2,
50
+ start: 3,
51
+ mindMap: 4,
52
+ spaceLines: 5,
53
+ SPACELINE: 6,
54
+ NL: 7,
55
+ MINDMAP: 8,
56
+ document: 9,
57
+ stop: 10,
58
+ EOF: 11,
59
+ statement: 12,
60
+ SPACELIST: 13,
61
+ node: 14,
62
+ ICON: 15,
63
+ CLASS: 16,
64
+ nodeWithId: 17,
65
+ nodeWithoutId: 18,
66
+ NODE_DSTART: 19,
67
+ NODE_DESCR: 20,
68
+ NODE_DEND: 21,
69
+ NODE_ID: 22,
70
+ $accept: 0,
71
+ $end: 1
72
+ },
73
+ terminals_: {
74
+ 2: "error",
75
+ 6: "SPACELINE",
76
+ 7: "NL",
77
+ 8: "MINDMAP",
78
+ 11: "EOF",
79
+ 13: "SPACELIST",
80
+ 15: "ICON",
81
+ 16: "CLASS",
82
+ 19: "NODE_DSTART",
83
+ 20: "NODE_DESCR",
84
+ 21: "NODE_DEND",
85
+ 22: "NODE_ID"
86
+ },
87
+ productions_: [
88
+ 0,
89
+ [3, 1],
90
+ [3, 2],
91
+ [5, 1],
92
+ [5, 2],
93
+ [5, 2],
94
+ [4, 2],
95
+ [4, 3],
96
+ [10, 1],
97
+ [10, 1],
98
+ [10, 1],
99
+ [10, 2],
100
+ [10, 2],
101
+ [9, 3],
102
+ [9, 2],
103
+ [12, 2],
104
+ [12, 2],
105
+ [12, 2],
106
+ [12, 1],
107
+ [12, 1],
108
+ [12, 1],
109
+ [12, 1],
110
+ [12, 1],
111
+ [14, 1],
112
+ [14, 1],
113
+ [18, 3],
114
+ [17, 1],
115
+ [17, 4]
116
+ ],
117
+ performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
118
+ var s = a.length - 1;
119
+ switch (i) {
120
+ case 6:
121
+ case 7: return r;
122
+ case 8:
123
+ r.getLogger().trace("Stop NL ");
124
+ break;
125
+ case 9:
126
+ r.getLogger().trace("Stop EOF ");
127
+ break;
128
+ case 11:
129
+ r.getLogger().trace("Stop NL2 ");
130
+ break;
131
+ case 12:
132
+ r.getLogger().trace("Stop EOF2 ");
133
+ break;
134
+ case 15:
135
+ r.getLogger().info("Node: ", a[s].id), r.addNode(a[s - 1].length, a[s].id, a[s].descr, a[s].type);
136
+ break;
137
+ case 16:
138
+ r.getLogger().trace("Icon: ", a[s]), r.decorateNode({ icon: a[s] });
139
+ break;
140
+ case 17:
141
+ case 21:
142
+ r.decorateNode({ class: a[s] });
143
+ break;
144
+ case 18:
145
+ r.getLogger().trace("SPACELIST");
146
+ break;
147
+ case 19:
148
+ r.getLogger().trace("Node: ", a[s].id), r.addNode(0, a[s].id, a[s].descr, a[s].type);
149
+ break;
150
+ case 20:
151
+ r.decorateNode({ icon: a[s] });
152
+ break;
153
+ case 25:
154
+ r.getLogger().trace("node found ..", a[s - 2]), this.$ = {
155
+ id: a[s - 1],
156
+ descr: a[s - 1],
157
+ type: r.getType(a[s - 2], a[s])
158
+ };
159
+ break;
160
+ case 26:
161
+ this.$ = {
162
+ id: a[s],
163
+ descr: a[s],
164
+ type: r.nodeType.DEFAULT
165
+ };
166
+ break;
167
+ case 27:
168
+ r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
169
+ id: a[s - 3],
170
+ descr: a[s - 1],
171
+ type: r.getType(a[s - 2], a[s])
172
+ };
173
+ break;
174
+ }
175
+ }, "anonymous"),
176
+ table: [
177
+ {
178
+ 3: 1,
179
+ 4: 2,
180
+ 5: 3,
181
+ 6: [1, 5],
182
+ 8: t
183
+ },
184
+ { 1: [3] },
185
+ { 1: [2, 1] },
186
+ {
187
+ 4: 6,
188
+ 6: [1, 7],
189
+ 7: [1, 8],
190
+ 8: t
191
+ },
192
+ {
193
+ 6: n,
194
+ 7: [1, 10],
195
+ 9: 9,
196
+ 12: 11,
197
+ 13: r,
198
+ 14: 14,
199
+ 15: i,
200
+ 16: a,
201
+ 17: 17,
202
+ 18: 18,
203
+ 19: o,
204
+ 22: s
205
+ },
206
+ e(c, [2, 3]),
207
+ { 1: [2, 2] },
208
+ e(c, [2, 4]),
209
+ e(c, [2, 5]),
210
+ {
211
+ 1: [2, 6],
212
+ 6: n,
213
+ 12: 21,
214
+ 13: r,
215
+ 14: 14,
216
+ 15: i,
217
+ 16: a,
218
+ 17: 17,
219
+ 18: 18,
220
+ 19: o,
221
+ 22: s
222
+ },
223
+ {
224
+ 6: n,
225
+ 9: 22,
226
+ 12: 11,
227
+ 13: r,
228
+ 14: 14,
229
+ 15: i,
230
+ 16: a,
231
+ 17: 17,
232
+ 18: 18,
233
+ 19: o,
234
+ 22: s
235
+ },
236
+ {
237
+ 6: u,
238
+ 7: d,
239
+ 10: 23,
240
+ 11: f
241
+ },
242
+ e(p, [2, 22], {
243
+ 17: 17,
244
+ 18: 18,
245
+ 14: 27,
246
+ 15: [1, 28],
247
+ 16: [1, 29],
248
+ 19: o,
249
+ 22: s
250
+ }),
251
+ e(p, [2, 18]),
252
+ e(p, [2, 19]),
253
+ e(p, [2, 20]),
254
+ e(p, [2, 21]),
255
+ e(p, [2, 23]),
256
+ e(p, [2, 24]),
257
+ e(p, [2, 26], { 19: [1, 30] }),
258
+ { 20: [1, 31] },
259
+ {
260
+ 6: u,
261
+ 7: d,
262
+ 10: 32,
263
+ 11: f
264
+ },
265
+ {
266
+ 1: [2, 7],
267
+ 6: n,
268
+ 12: 21,
269
+ 13: r,
270
+ 14: 14,
271
+ 15: i,
272
+ 16: a,
273
+ 17: 17,
274
+ 18: 18,
275
+ 19: o,
276
+ 22: s
277
+ },
278
+ e(m, [2, 14], {
279
+ 7: h,
280
+ 11: g
281
+ }),
282
+ e(_, [2, 8]),
283
+ e(_, [2, 9]),
284
+ e(_, [2, 10]),
285
+ e(p, [2, 15]),
286
+ e(p, [2, 16]),
287
+ e(p, [2, 17]),
288
+ { 20: [1, 35] },
289
+ { 21: [1, 36] },
290
+ e(m, [2, 13], {
291
+ 7: h,
292
+ 11: g
293
+ }),
294
+ e(_, [2, 11]),
295
+ e(_, [2, 12]),
296
+ { 21: [1, 37] },
297
+ e(p, [2, 25]),
298
+ e(p, [2, 27])
299
+ ],
300
+ defaultActions: {
301
+ 2: [2, 1],
302
+ 6: [2, 2]
303
+ },
304
+ parseError: /* @__PURE__ */ l(function(e, t) {
305
+ if (t.recoverable) this.trace(e);
306
+ else {
307
+ var n = Error(e);
308
+ throw n.hash = t, n;
309
+ }
310
+ }, "parseError"),
311
+ parse: /* @__PURE__ */ l(function(e) {
312
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
313
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
314
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
315
+ var v = h.yylloc;
316
+ a.push(v);
317
+ var y = h.options && h.options.ranges;
318
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
319
+ function b(e) {
320
+ n.length -= 2 * e, i.length -= e, a.length -= e;
321
+ }
322
+ l(b, "popStack");
323
+ function x() {
324
+ var e = r.pop() || h.lex() || p;
325
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
326
+ }
327
+ l(x, "lex");
328
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
329
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
330
+ var M = "";
331
+ for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
332
+ M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
333
+ text: h.match,
334
+ token: this.terminals_[S] || S,
335
+ line: h.yylineno,
336
+ loc: v,
337
+ expected: j
338
+ });
339
+ }
340
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
341
+ switch (T[0]) {
342
+ case 1:
343
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
344
+ break;
345
+ case 2:
346
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
347
+ first_line: a[a.length - (k || 1)].first_line,
348
+ last_line: a[a.length - 1].last_line,
349
+ first_column: a[a.length - (k || 1)].first_column,
350
+ last_column: a[a.length - 1].last_column
351
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
352
+ s,
353
+ u,
354
+ c,
355
+ g.yy,
356
+ T[1],
357
+ i,
358
+ a
359
+ ].concat(m)), E !== void 0) return E;
360
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
361
+ break;
362
+ case 3: return !0;
363
+ }
364
+ }
365
+ return !0;
366
+ }, "parse")
367
+ };
368
+ v.lexer = /* @__PURE__ */ (function() {
369
+ return {
370
+ EOF: 1,
371
+ parseError: /* @__PURE__ */ l(function(e, t) {
372
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
373
+ else throw Error(e);
374
+ }, "parseError"),
375
+ setInput: /* @__PURE__ */ l(function(e, t) {
376
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
377
+ first_line: 1,
378
+ first_column: 0,
379
+ last_line: 1,
380
+ last_column: 0
381
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
382
+ }, "setInput"),
383
+ input: /* @__PURE__ */ l(function() {
384
+ var e = this._input[0];
385
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
386
+ }, "input"),
387
+ unput: /* @__PURE__ */ l(function(e) {
388
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
389
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
390
+ var r = this.match.split(/(?:\r\n?|\n)/g);
391
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
392
+ var i = this.yylloc.range;
393
+ return this.yylloc = {
394
+ first_line: this.yylloc.first_line,
395
+ last_line: this.yylineno + 1,
396
+ first_column: this.yylloc.first_column,
397
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
398
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
399
+ }, "unput"),
400
+ more: /* @__PURE__ */ l(function() {
401
+ return this._more = !0, this;
402
+ }, "more"),
403
+ reject: /* @__PURE__ */ l(function() {
404
+ if (this.options.backtrack_lexer) this._backtrack = !0;
405
+ 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).\n" + this.showPosition(), {
406
+ text: "",
407
+ token: null,
408
+ line: this.yylineno
409
+ });
410
+ return this;
411
+ }, "reject"),
412
+ less: /* @__PURE__ */ l(function(e) {
413
+ this.unput(this.match.slice(e));
414
+ }, "less"),
415
+ pastInput: /* @__PURE__ */ l(function() {
416
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
417
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
418
+ }, "pastInput"),
419
+ upcomingInput: /* @__PURE__ */ l(function() {
420
+ var e = this.match;
421
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
422
+ }, "upcomingInput"),
423
+ showPosition: /* @__PURE__ */ l(function() {
424
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
425
+ return e + this.upcomingInput() + "\n" + t + "^";
426
+ }, "showPosition"),
427
+ test_match: /* @__PURE__ */ l(function(e, t) {
428
+ var n, r, i;
429
+ if (this.options.backtrack_lexer && (i = {
430
+ yylineno: this.yylineno,
431
+ yylloc: {
432
+ first_line: this.yylloc.first_line,
433
+ last_line: this.last_line,
434
+ first_column: this.yylloc.first_column,
435
+ last_column: this.yylloc.last_column
436
+ },
437
+ yytext: this.yytext,
438
+ match: this.match,
439
+ matches: this.matches,
440
+ matched: this.matched,
441
+ yyleng: this.yyleng,
442
+ offset: this.offset,
443
+ _more: this._more,
444
+ _input: this._input,
445
+ yy: this.yy,
446
+ conditionStack: this.conditionStack.slice(0),
447
+ done: this.done
448
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
449
+ first_line: this.yylloc.last_line,
450
+ last_line: this.yylineno + 1,
451
+ first_column: this.yylloc.last_column,
452
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
453
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, 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(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
454
+ if (this._backtrack) {
455
+ for (var a in i) this[a] = i[a];
456
+ return !1;
457
+ }
458
+ return !1;
459
+ }, "test_match"),
460
+ next: /* @__PURE__ */ l(function() {
461
+ if (this.done) return this.EOF;
462
+ this._input || (this.done = !0);
463
+ var e, t, n, r;
464
+ this._more || (this.yytext = "", this.match = "");
465
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
466
+ if (t = n, r = a, this.options.backtrack_lexer) {
467
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
468
+ if (this._backtrack) {
469
+ t = !1;
470
+ continue;
471
+ } else return !1;
472
+ } else if (!this.options.flex) break;
473
+ }
474
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
475
+ text: "",
476
+ token: null,
477
+ line: this.yylineno
478
+ });
479
+ }, "next"),
480
+ lex: /* @__PURE__ */ l(function() {
481
+ return this.next() || this.lex();
482
+ }, "lex"),
483
+ begin: /* @__PURE__ */ l(function(e) {
484
+ this.conditionStack.push(e);
485
+ }, "begin"),
486
+ popState: /* @__PURE__ */ l(function() {
487
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
488
+ }, "popState"),
489
+ _currentRules: /* @__PURE__ */ l(function() {
490
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
491
+ }, "_currentRules"),
492
+ topState: /* @__PURE__ */ l(function(e) {
493
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
494
+ }, "topState"),
495
+ pushState: /* @__PURE__ */ l(function(e) {
496
+ this.begin(e);
497
+ }, "pushState"),
498
+ stateStackSize: /* @__PURE__ */ l(function() {
499
+ return this.conditionStack.length;
500
+ }, "stateStackSize"),
501
+ options: { "case-insensitive": !0 },
502
+ performAction: /* @__PURE__ */ l(function(e, t, n, r) {
503
+ switch (n) {
504
+ case 0: return e.getLogger().trace("Found comment", t.yytext), 6;
505
+ case 1: return 8;
506
+ case 2:
507
+ this.begin("CLASS");
508
+ break;
509
+ case 3: return this.popState(), 16;
510
+ case 4:
511
+ this.popState();
512
+ break;
513
+ case 5:
514
+ e.getLogger().trace("Begin icon"), this.begin("ICON");
515
+ break;
516
+ case 6: return e.getLogger().trace("SPACELINE"), 6;
517
+ case 7: return 7;
518
+ case 8: return 15;
519
+ case 9:
520
+ e.getLogger().trace("end icon"), this.popState();
521
+ break;
522
+ case 10: return e.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
523
+ case 11: return e.getLogger().trace("Cloud"), this.begin("NODE"), 19;
524
+ case 12: return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
525
+ case 13: return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
526
+ case 14: return this.begin("NODE"), 19;
527
+ case 15: return this.begin("NODE"), 19;
528
+ case 16: return this.begin("NODE"), 19;
529
+ case 17: return this.begin("NODE"), 19;
530
+ case 18: return 13;
531
+ case 19: return 22;
532
+ case 20: return 11;
533
+ case 21:
534
+ this.begin("NSTR2");
535
+ break;
536
+ case 22: return "NODE_DESCR";
537
+ case 23:
538
+ this.popState();
539
+ break;
540
+ case 24:
541
+ e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
542
+ break;
543
+ case 25: return e.getLogger().trace("description:", t.yytext), "NODE_DESCR";
544
+ case 26:
545
+ this.popState();
546
+ break;
547
+ case 27: return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
548
+ case 28: return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
549
+ case 29: return this.popState(), e.getLogger().trace("node end ...", t.yytext), "NODE_DEND";
550
+ case 30: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
551
+ case 31: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
552
+ case 32: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
553
+ case 33: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
554
+ case 34: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
555
+ case 35: return e.getLogger().trace("Long description:", t.yytext), 20;
556
+ case 36: return e.getLogger().trace("Long description:", t.yytext), 20;
557
+ }
558
+ }, "anonymous"),
559
+ rules: [
560
+ /^(?:\s*%%.*)/i,
561
+ /^(?:mindmap\b)/i,
562
+ /^(?::::)/i,
563
+ /^(?:.+)/i,
564
+ /^(?:\n)/i,
565
+ /^(?:::icon\()/i,
566
+ /^(?:[\s]+[\n])/i,
567
+ /^(?:[\n]+)/i,
568
+ /^(?:[^\)]+)/i,
569
+ /^(?:\))/i,
570
+ /^(?:-\))/i,
571
+ /^(?:\(-)/i,
572
+ /^(?:\)\))/i,
573
+ /^(?:\))/i,
574
+ /^(?:\(\()/i,
575
+ /^(?:\{\{)/i,
576
+ /^(?:\()/i,
577
+ /^(?:\[)/i,
578
+ /^(?:[\s]+)/i,
579
+ /^(?:[^\(\[\n\)\{\}]+)/i,
580
+ /^(?:$)/i,
581
+ /^(?:["][`])/i,
582
+ /^(?:[^`"]+)/i,
583
+ /^(?:[`]["])/i,
584
+ /^(?:["])/i,
585
+ /^(?:[^"]+)/i,
586
+ /^(?:["])/i,
587
+ /^(?:[\)]\))/i,
588
+ /^(?:[\)])/i,
589
+ /^(?:[\]])/i,
590
+ /^(?:\}\})/i,
591
+ /^(?:\(-)/i,
592
+ /^(?:-\))/i,
593
+ /^(?:\(\()/i,
594
+ /^(?:\()/i,
595
+ /^(?:[^\)\]\(\}]+)/i,
596
+ /^(?:.+(?!\(\())/i
597
+ ],
598
+ conditions: {
599
+ CLASS: {
600
+ rules: [3, 4],
601
+ inclusive: !1
602
+ },
603
+ ICON: {
604
+ rules: [8, 9],
605
+ inclusive: !1
606
+ },
607
+ NSTR2: {
608
+ rules: [22, 23],
609
+ inclusive: !1
610
+ },
611
+ NSTR: {
612
+ rules: [25, 26],
613
+ inclusive: !1
614
+ },
615
+ NODE: {
616
+ rules: [
617
+ 21,
618
+ 24,
619
+ 27,
620
+ 28,
621
+ 29,
622
+ 30,
623
+ 31,
624
+ 32,
625
+ 33,
626
+ 34,
627
+ 35,
628
+ 36
629
+ ],
630
+ inclusive: !1
631
+ },
632
+ INITIAL: {
633
+ rules: [
634
+ 0,
635
+ 1,
636
+ 2,
637
+ 5,
638
+ 6,
639
+ 7,
640
+ 10,
641
+ 11,
642
+ 12,
643
+ 13,
644
+ 14,
645
+ 15,
646
+ 16,
647
+ 17,
648
+ 18,
649
+ 19,
650
+ 20
651
+ ],
652
+ inclusive: !0
653
+ }
654
+ }
655
+ };
656
+ })();
657
+ function y() {
658
+ this.yy = {};
659
+ }
660
+ return l(y, "Parser"), y.prototype = v, v.Parser = y, new y();
661
+ })();
662
+ h.parser = h;
663
+ var g = h, _ = 12, v = {
664
+ DEFAULT: 0,
665
+ NO_BORDER: 0,
666
+ ROUNDED_RECT: 1,
667
+ RECT: 2,
668
+ CIRCLE: 3,
669
+ CLOUD: 4,
670
+ BANG: 5,
671
+ HEXAGON: 6
672
+ }, y = class {
673
+ constructor() {
674
+ this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = v, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
675
+ }
676
+ static {
677
+ l(this, "MindmapDB");
678
+ }
679
+ clear() {
680
+ this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
681
+ }
682
+ getParent(e) {
683
+ for (let t = this.nodes.length - 1; t >= 0; t--) if (this.nodes[t].level < e) return this.nodes[t];
684
+ return null;
685
+ }
686
+ getMindmap() {
687
+ return this.nodes.length > 0 ? this.nodes[0] : null;
688
+ }
689
+ addNode(t, n, r, o) {
690
+ c.info("addNode", t, n, r, o);
691
+ let s = !1;
692
+ this.nodes.length === 0 ? (this.baseLevel = t, t = 0, s = !0) : this.baseLevel !== void 0 && (t -= this.baseLevel, s = !1);
693
+ let l = i(), u = l.mindmap?.padding ?? a.mindmap.padding;
694
+ switch (o) {
695
+ case this.nodeType.ROUNDED_RECT:
696
+ case this.nodeType.RECT:
697
+ case this.nodeType.HEXAGON:
698
+ u *= 2;
699
+ break;
700
+ }
701
+ let d = {
702
+ id: this.count++,
703
+ nodeId: e(n, l),
704
+ level: t,
705
+ descr: e(r, l),
706
+ type: o,
707
+ children: [],
708
+ width: l.mindmap?.maxNodeWidth ?? a.mindmap.maxNodeWidth,
709
+ padding: u,
710
+ isRoot: s
711
+ }, f = this.getParent(t);
712
+ if (f) f.children.push(d), this.nodes.push(d);
713
+ else if (s) this.nodes.push(d);
714
+ else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`);
715
+ }
716
+ getType(e, t) {
717
+ switch (c.debug("In get type", e, t), e) {
718
+ case "[": return this.nodeType.RECT;
719
+ case "(": return t === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
720
+ case "((": return this.nodeType.CIRCLE;
721
+ case ")": return this.nodeType.CLOUD;
722
+ case "))": return this.nodeType.BANG;
723
+ case "{{": return this.nodeType.HEXAGON;
724
+ default: return this.nodeType.DEFAULT;
725
+ }
726
+ }
727
+ setElementForId(e, t) {
728
+ this.elements[e] = t;
729
+ }
730
+ getElementById(e) {
731
+ return this.elements[e];
732
+ }
733
+ decorateNode(t) {
734
+ if (!t) return;
735
+ let n = i(), r = this.nodes[this.nodes.length - 1];
736
+ t.icon && (r.icon = e(t.icon, n)), t.class && (r.class = e(t.class, n));
737
+ }
738
+ type2Str(e) {
739
+ switch (e) {
740
+ case this.nodeType.DEFAULT: return "no-border";
741
+ case this.nodeType.RECT: return "rect";
742
+ case this.nodeType.ROUNDED_RECT: return "rounded-rect";
743
+ case this.nodeType.CIRCLE: return "circle";
744
+ case this.nodeType.CLOUD: return "cloud";
745
+ case this.nodeType.BANG: return "bang";
746
+ case this.nodeType.HEXAGON: return "hexgon";
747
+ default: return "no-border";
748
+ }
749
+ }
750
+ assignSections(e, t) {
751
+ if (e.level === 0 ? e.section = void 0 : e.section = t, e.children) for (let [n, r] of e.children.entries()) {
752
+ let i = e.level === 0 ? n % (_ - 1) : t;
753
+ this.assignSections(r, i);
754
+ }
755
+ }
756
+ flattenNodes(e, t) {
757
+ let n = i(), r = ["mindmap-node"];
758
+ e.isRoot === !0 ? r.push("section-root", "section--1") : e.section !== void 0 && r.push(`section-${e.section}`), e.class && r.push(e.class);
759
+ let a = r.join(" "), o = /* @__PURE__ */ l((e) => {
760
+ let t = (n.theme?.toLowerCase() ?? "").includes("redux");
761
+ switch (e) {
762
+ case v.CIRCLE: return "mindmapCircle";
763
+ case v.RECT: return "rect";
764
+ case v.ROUNDED_RECT: return "rounded";
765
+ case v.CLOUD: return "cloud";
766
+ case v.BANG: return "bang";
767
+ case v.HEXAGON: return "hexagon";
768
+ case v.DEFAULT: return t ? "rounded" : "defaultMindmapNode";
769
+ case v.NO_BORDER:
770
+ default: return "rect";
771
+ }
772
+ }, "getShapeFromType"), s = {
773
+ id: e.id.toString(),
774
+ domId: "node_" + e.id.toString(),
775
+ label: e.descr,
776
+ labelType: "markdown",
777
+ isGroup: !1,
778
+ shape: o(e.type),
779
+ width: e.width,
780
+ height: e.height ?? 0,
781
+ padding: e.padding,
782
+ cssClasses: a,
783
+ cssStyles: [],
784
+ look: n.look,
785
+ icon: e.icon,
786
+ x: e.x,
787
+ y: e.y,
788
+ level: e.level,
789
+ nodeId: e.nodeId,
790
+ type: e.type,
791
+ section: e.section
792
+ };
793
+ if (t.push(s), e.children) for (let n of e.children) this.flattenNodes(n, t);
794
+ }
795
+ generateEdges(e, t) {
796
+ if (!e.children) return;
797
+ let n = i();
798
+ for (let r of e.children) {
799
+ let i = "edge";
800
+ r.section !== void 0 && (i += ` section-edge-${r.section}`);
801
+ let a = e.level + 1;
802
+ i += ` edge-depth-${a}`;
803
+ let o = {
804
+ id: `edge_${e.id}_${r.id}`,
805
+ start: e.id.toString(),
806
+ end: r.id.toString(),
807
+ type: "normal",
808
+ curve: "basis",
809
+ thickness: "normal",
810
+ look: n.look,
811
+ classes: i,
812
+ depth: e.level,
813
+ section: r.section
814
+ };
815
+ t.push(o), this.generateEdges(r, t);
816
+ }
817
+ }
818
+ getData() {
819
+ let e = this.getMindmap(), n = i(), r = t().layout !== void 0, a = n;
820
+ if (r || (a.layout = "cose-bilkent"), !e) return {
821
+ nodes: [],
822
+ edges: [],
823
+ config: a
824
+ };
825
+ c.debug("getData: mindmapRoot", e, n), this.assignSections(e);
826
+ let o = [], s = [];
827
+ this.flattenNodes(e, o), this.generateEdges(e, s), c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);
828
+ let l = /* @__PURE__ */ new Map();
829
+ for (let e of o) l.set(e.id, {
830
+ shape: e.shape,
831
+ width: e.width,
832
+ height: e.height,
833
+ padding: e.padding
834
+ });
835
+ return {
836
+ nodes: o,
837
+ edges: s,
838
+ config: a,
839
+ rootNode: e,
840
+ markers: ["point"],
841
+ direction: "TB",
842
+ nodeSpacing: 50,
843
+ rankSpacing: 50,
844
+ shapes: Object.fromEntries(l),
845
+ type: "mindmap",
846
+ diagramId: "mindmap-" + f()
847
+ };
848
+ }
849
+ getLogger() {
850
+ return c;
851
+ }
852
+ }, b = { draw: /* @__PURE__ */ l(async (e, t, n, r) => {
853
+ c.debug("Rendering mindmap diagram\n" + e);
854
+ let i = r.db, o = i.getData(), l = p(t, o.config.securityLevel);
855
+ if (o.type = r.type, o.layoutAlgorithm = d(o.config.layout, { fallback: "cose-bilkent" }), o.diagramId = t, !i.getMindmap()) return;
856
+ o.nodes.forEach((e) => {
857
+ e.shape === "rounded" ? (e.radius = 15, e.taper = 15, e.stroke = "none", e.width = 0, e.padding = 15) : e.shape === "circle" ? e.padding = 10 : e.shape === "rect" ? (e.width = 0, e.padding = 10) : e.shape === "hexagon" && (e.width = 0, e.height = 0);
858
+ }), await u(o, l);
859
+ let { themeVariables: f } = s(), { useGradient: h, gradientStart: g, gradientStop: _ } = f;
860
+ if (h && g && _) {
861
+ let e = l.attr("id"), t = l.append("defs").append("linearGradient").attr("id", `${e}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
862
+ t.append("stop").attr("offset", "0%").attr("stop-color", g).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", _).attr("stop-opacity", 1);
863
+ }
864
+ m(l, o.config.mindmap?.padding ?? a.mindmap.padding, "mindmapDiagram", o.config.mindmap?.useMaxWidth ?? a.mindmap.useMaxWidth);
865
+ }, "draw") }, x = /* @__PURE__ */ l((e) => {
866
+ let { theme: t, look: i } = e, a = "";
867
+ for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], o(e["lineColor" + t]) ? e["lineColor" + t] = n(e["lineColor" + t], 20) : e["lineColor" + t] = r(e["lineColor" + t], 20);
868
+ for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
869
+ let r = "" + (i === "neo" ? Math.max(10 - (n - 1) * 2, 2) : 17 - 3 * n);
870
+ a += `
871
+ .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
872
+ fill: ${e["cScale" + n]};
873
+ }
874
+ .section-${n - 1} text {
875
+ fill: ${e["cScaleLabel" + n]};
876
+ }
877
+ .section-${n - 1} span {
878
+ color: ${e["cScaleLabel" + n]};
879
+ }
880
+ .node-icon-${n - 1} {
881
+ font-size: 40px;
882
+ color: ${e["cScaleLabel" + n]};
883
+ }
884
+ .section-edge-${n - 1}{
885
+ stroke: ${e["cScale" + n]};
886
+ }
887
+ .edge-depth-${n - 1}{
888
+ stroke-width: ${r};
889
+ }
890
+ .section-${n - 1} line {
891
+ stroke: ${e["cScaleInv" + n]} ;
892
+ stroke-width: 3;
893
+ }
894
+
895
+ .disabled, .disabled circle, .disabled text {
896
+ fill: lightgray;
897
+ }
898
+ .disabled text {
899
+ fill: #efefef;
900
+ }
901
+ [data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
902
+ fill: ${t === "redux" || t === "redux-dark" || t === "neutral" ? e.mainBkg : e["cScale" + n]};
903
+ stroke: ${t === "redux" || t === "redux-dark" ? e.nodeBorder : e["cScale" + n]};
904
+ stroke-width: ${e.strokeWidth ?? 2}px;
905
+ }
906
+ [data-look="neo"].section-edge-${n - 1}{
907
+ stroke: ${t?.includes("redux") || t === "neo-dark" ? e.nodeBorder : e["cScale" + n]};
908
+ }
909
+ [data-look="neo"].mindmap-node.section-${n - 1} text {
910
+ fill: ${t === "redux" || t === "redux-dark" ? e.nodeBorder : e["cScaleLabel" + (t === "neutral" ? 1 : n)]};
911
+ }
912
+ `;
913
+ }
914
+ return a;
915
+ }, "genSections"), S = /* @__PURE__ */ l((e, t, n) => {
916
+ let r = "";
917
+ for (let i = 0; i < e; i++) r += `
918
+ [data-look="neo"].mindmap-node.section-${i - 1} rect, [data-look="neo"].mindmap-node.section-${i - 1} path, [data-look="neo"].mindmap-node.section-${i - 1} circle, [data-look="neo"].mindmap-node.section-${i - 1} polygon {
919
+ stroke: url(${t}-gradient);
920
+ fill: ${n};
921
+ }
922
+ .section-${i - 1} line {
923
+ stroke-width: 0;
924
+ }`;
925
+ return r;
926
+ }, "genGradient"), C = {
927
+ get db() {
928
+ return new y();
929
+ },
930
+ renderer: b,
931
+ parser: g,
932
+ styles: /* @__PURE__ */ l((e) => {
933
+ let { theme: t } = e, n = e.svgId, r = e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${n}-drop-shadow)`) : "none";
934
+ return `
935
+ .edge {
936
+ stroke-width: 3;
937
+ }
938
+ ${x(e)}
939
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
940
+ fill: ${e.git0};
941
+ }
942
+ .section-root text {
943
+ fill: ${e.gitBranchLabel0};
944
+ }
945
+ .section-root span {
946
+ color: ${t?.includes("redux") ? e.nodeBorder : e.gitBranchLabel0};
947
+ }
948
+ .icon-container {
949
+ height:100%;
950
+ display: flex;
951
+ justify-content: center;
952
+ align-items: center;
953
+ }
954
+ .edge {
955
+ fill: none;
956
+ }
957
+ .mindmap-node-label {
958
+ dy: 1em;
959
+ alignment-baseline: middle;
960
+ text-anchor: middle;
961
+ dominant-baseline: middle;
962
+ text-align: center;
963
+ }
964
+ [data-look="neo"].mindmap-node {
965
+ filter: ${r};
966
+ }
967
+ [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
968
+ fill: ${t?.includes("redux") ? e.mainBkg : e.git0};
969
+ }
970
+ [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
971
+ fill: ${t?.includes("redux") ? e.nodeBorder : e["cScaleLabel" + +(t === "neutral")]};
972
+ }
973
+ ${e.useGradient && n && e.mainBkg ? S(e.THEME_COLOR_LIMIT, n, e.mainBkg) : ""}
974
+ `;
975
+ }, "getStyles")
976
+ };
977
+ //#endregion
978
+ export { C as diagram };