@pi-outpost/embed 0.32.4 → 0.34.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 (234) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
  3. package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
  4. package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
  6. package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
  7. package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
  8. package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
  9. package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
  10. package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
  11. package/dist/channel-BjC1TKrU.cjs +1 -0
  12. package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
  13. package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
  14. package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
  15. package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
  16. package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
  17. package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
  18. package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
  19. package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
  20. package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
  21. package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
  22. package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
  23. package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
  24. package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
  25. package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
  26. package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
  27. package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
  28. package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
  29. package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
  30. package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
  31. package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
  32. package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
  33. package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
  34. package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
  35. package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
  36. package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
  37. package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
  38. package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
  39. package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
  40. package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
  41. package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
  42. package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
  43. package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
  44. package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
  45. package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
  46. package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
  47. package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
  48. package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
  49. package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
  50. package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
  51. package/dist/{conversationExport-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
  52. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
  53. package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
  54. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
  55. package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
  56. package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
  57. package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
  58. package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
  59. package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
  60. package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
  61. package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
  62. package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
  63. package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
  64. package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
  65. package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
  66. package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
  67. package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
  68. package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
  69. package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
  70. package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
  71. package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
  72. package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
  73. package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
  74. package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
  75. package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
  76. package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
  77. package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
  78. package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
  79. package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
  80. package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
  81. package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
  82. package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
  83. package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
  84. package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
  85. package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
  86. package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
  87. package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
  88. package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
  89. package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
  90. package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
  91. package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
  92. package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
  93. package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
  94. package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
  95. package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
  96. package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
  97. package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
  98. package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
  99. package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
  100. package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
  101. package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
  102. package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
  103. package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
  104. package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
  105. package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
  106. package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
  107. package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
  108. package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
  109. package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
  110. package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
  111. package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
  112. package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
  113. package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
  114. package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
  115. package/dist/pi-outpost-embed.cjs +9 -10
  116. package/dist/pi-outpost-embed.js +2833 -2786
  117. package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
  118. package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
  119. package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
  120. package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
  121. package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
  122. package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
  123. package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
  124. package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
  125. package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
  126. package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
  127. package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
  128. package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
  129. package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
  130. package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
  131. package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
  132. package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
  133. package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
  134. package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
  135. package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
  136. package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
  137. package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
  138. package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
  139. package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
  140. package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
  141. package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
  142. package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
  143. package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
  144. package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
  145. package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
  146. package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
  147. package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
  148. package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
  149. package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
  150. package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
  151. package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
  152. package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
  153. package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
  154. package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
  155. package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
  156. package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
  157. package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
  158. package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
  159. package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
  160. package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
  161. package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
  162. package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
  163. package/package.json +2 -2
  164. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
  165. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
  166. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
  167. package/dist/channel-DcrLLvcO.cjs +0 -1
  168. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
  169. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
  170. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
  171. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
  172. package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
  173. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
  174. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
  175. package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
  176. package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
  177. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
  178. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
  179. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
  180. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
  181. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
  182. package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
  183. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
  184. package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
  185. package/dist/conversationHistory-BmpdU77I.cjs +0 -286
  186. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
  187. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
  188. package/dist/dagre-BMKbPnPh.js +0 -1934
  189. package/dist/dagre-EEW2OxRU.cjs +0 -1
  190. package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
  191. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
  192. package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
  193. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
  194. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
  195. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
  196. package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
  197. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
  198. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
  199. package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
  200. package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
  201. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
  202. package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
  203. package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
  204. package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
  205. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
  206. package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
  207. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
  208. package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
  209. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
  210. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
  211. package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
  212. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
  213. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
  214. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
  215. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
  216. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
  217. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
  218. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
  219. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
  220. package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
  221. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
  222. package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
  223. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
  224. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
  225. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
  226. package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
  227. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
  228. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
  229. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
  230. package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
  231. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
  232. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
  233. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
  234. package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
@@ -1,11 +1,12 @@
1
1
  import { n as e, t } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as n, p as r } from "./src-Dkp7vqs8.js";
3
- import { J as i, a, b as o, et as s, o as c, rt as l, tt as u, x as d } from "./chunk-DU6HZSFF-BW30DVuW.js";
3
+ import { Y as i, a, b as o, it as s, nt as c, o as l, tt as u, y as d } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
4
  import { t as f } from "./arc-CLGGhOeW.js";
5
- import { p } from "./chunk-75Z2AOVW-DoA8rENV.js";
6
- import { f as m } from "./mermaid.core-DI1iFk6G.js";
7
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-24CTP7MA.mjs
8
- var h = (function() {
5
+ import { m as p } from "./chunk-3YJQHVM4-BNbfg-7y.js";
6
+ import { i as m, n as h } from "./chunk-J5ZVWO5B-DEP-pB-1.js";
7
+ import { o as g } from "./mermaid.core-BJkDCzqA.js";
8
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-YOQAKGHF.mjs
9
+ var _ = (function() {
9
10
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
10
11
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
12
  return n;
@@ -487,74 +488,74 @@ var h = (function() {
487
488
  }
488
489
  return e(d, "Parser"), d.prototype = u, u.Parser = d, new d();
489
490
  })();
490
- h.parser = h;
491
- var g = h, _ = {};
492
- t(_, {
493
- addEvent: () => M,
494
- addSection: () => O,
495
- addTask: () => j,
496
- addTaskOrg: () => N,
497
- clear: () => T,
491
+ _.parser = _;
492
+ var v = _, y = {};
493
+ t(y, {
494
+ addEvent: () => P,
495
+ addSection: () => A,
496
+ addTask: () => N,
497
+ addTaskOrg: () => F,
498
+ clear: () => D,
498
499
  default: () => ee,
499
- getCommonDb: () => w,
500
- getDirection: () => D,
501
- getSections: () => k,
502
- getTasks: () => A,
503
- setDirection: () => E
500
+ getCommonDb: () => E,
501
+ getDirection: () => k,
502
+ getSections: () => j,
503
+ getTasks: () => M,
504
+ setDirection: () => O
504
505
  });
505
- var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() => c, "getCommonDb"), T = /* @__PURE__ */ e(function() {
506
- x.length = 0, S.length = 0, v = "", C.length = 0, b = "LR", a();
507
- }, "clear"), E = /* @__PURE__ */ e(function(e) {
508
- b = e;
509
- }, "setDirection"), D = /* @__PURE__ */ e(function() {
510
- return b;
511
- }, "getDirection"), O = /* @__PURE__ */ e(function(e) {
512
- v = e, x.push(e);
513
- }, "addSection"), k = /* @__PURE__ */ e(function() {
514
- return x;
515
- }, "getSections"), A = /* @__PURE__ */ e(function() {
516
- let e = P(), t = 0;
517
- for (; !e && t < 100;) e = P(), t++;
518
- return S.push(...C), S;
519
- }, "getTasks"), j = /* @__PURE__ */ e(function(e, t, n) {
506
+ var b = "", x = 0, S = "LR", C = [], w = [], T = [], E = /* @__PURE__ */ e(() => l, "getCommonDb"), D = /* @__PURE__ */ e(function() {
507
+ C.length = 0, w.length = 0, b = "", T.length = 0, S = "LR", a();
508
+ }, "clear"), O = /* @__PURE__ */ e(function(e) {
509
+ S = e;
510
+ }, "setDirection"), k = /* @__PURE__ */ e(function() {
511
+ return S;
512
+ }, "getDirection"), A = /* @__PURE__ */ e(function(e) {
513
+ b = e, C.push(e);
514
+ }, "addSection"), j = /* @__PURE__ */ e(function() {
515
+ return C;
516
+ }, "getSections"), M = /* @__PURE__ */ e(function() {
517
+ let e = I(), t = 0;
518
+ for (; !e && t < 100;) e = I(), t++;
519
+ return w.push(...T), w;
520
+ }, "getTasks"), N = /* @__PURE__ */ e(function(e, t, n) {
520
521
  let r = {
521
- id: y++,
522
- section: v,
523
- type: v,
522
+ id: x++,
523
+ section: b,
524
+ type: b,
524
525
  task: e,
525
526
  score: t || 0,
526
527
  events: n ? [n] : []
527
528
  };
528
- C.push(r);
529
- }, "addTask"), M = /* @__PURE__ */ e(function(e) {
530
- C.find((e) => e.id === y - 1).events.push(e);
531
- }, "addEvent"), N = /* @__PURE__ */ e(function(e) {
529
+ T.push(r);
530
+ }, "addTask"), P = /* @__PURE__ */ e(function(e) {
531
+ T.find((e) => e.id === x - 1).events.push(e);
532
+ }, "addEvent"), F = /* @__PURE__ */ e(function(e) {
532
533
  let t = {
533
- section: v,
534
- type: v,
534
+ section: b,
535
+ type: b,
535
536
  description: e,
536
537
  task: e,
537
538
  classes: []
538
539
  };
539
- S.push(t);
540
- }, "addTaskOrg"), P = /* @__PURE__ */ e(function() {
540
+ w.push(t);
541
+ }, "addTaskOrg"), I = /* @__PURE__ */ e(function() {
541
542
  let t = /* @__PURE__ */ e(function(e) {
542
- return C[e].processed;
543
+ return T[e].processed;
543
544
  }, "compileTask"), n = !0;
544
- for (let [e, r] of C.entries()) t(e), n &&= r.processed;
545
+ for (let [e, r] of T.entries()) t(e), n &&= r.processed;
545
546
  return n;
546
547
  }, "compileTasks"), ee = {
547
- clear: T,
548
- getCommonDb: w,
549
- getDirection: D,
550
- setDirection: E,
551
- addSection: O,
552
- getSections: k,
553
- getTasks: A,
554
- addTask: j,
555
- addTaskOrg: N,
556
- addEvent: M
557
- }, F = 0, I = /* @__PURE__ */ e(function(e, t) {
548
+ clear: D,
549
+ getCommonDb: E,
550
+ getDirection: k,
551
+ setDirection: O,
552
+ addSection: A,
553
+ getSections: j,
554
+ getTasks: M,
555
+ addTask: N,
556
+ addTaskOrg: F,
557
+ addEvent: P
558
+ }, L = 0, R = /* @__PURE__ */ e(function(e, t) {
558
559
  let n = e.append("rect");
559
560
  return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
560
561
  }, "drawRect"), te = /* @__PURE__ */ e(function(t, n) {
@@ -577,7 +578,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
577
578
  }, "drawFace"), ne = /* @__PURE__ */ e(function(e, t) {
578
579
  let n = e.append("circle");
579
580
  return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
580
- }, "drawCircle"), L = /* @__PURE__ */ e(function(e, t) {
581
+ }, "drawCircle"), z = /* @__PURE__ */ e(function(e, t) {
581
582
  let n = t.text.replace(/<br\s*\/?>/gi, " "), r = e.append("text");
582
583
  r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
583
584
  let i = r.append("tspan");
@@ -588,21 +589,21 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
588
589
  }
589
590
  e(r, "genPoints");
590
591
  let i = t.append("polygon");
591
- i.attr("points", r(n.x, n.y, 50, 20, 7)), i.attr("class", "labelBox"), n.y += n.labelMargin, n.x += .5 * n.labelMargin, L(t, n);
592
- }, "drawLabel"), R = /* @__PURE__ */ e(function(e, t, n) {
593
- let r = e.append("g"), i = B();
594
- i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, I(r, i), V(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
595
- }, "drawSection"), z = -1, ie = /* @__PURE__ */ e(function(e, t, n, r) {
592
+ i.attr("points", r(n.x, n.y, 50, 20, 7)), i.attr("class", "labelBox"), n.y += n.labelMargin, n.x += .5 * n.labelMargin, z(t, n);
593
+ }, "drawLabel"), ie = /* @__PURE__ */ e(function(e, t, n) {
594
+ let r = e.append("g"), i = V();
595
+ i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, R(r, i), H(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
596
+ }, "drawSection"), B = -1, ae = /* @__PURE__ */ e(function(e, t, n, r) {
596
597
  let i = t.x + n.width / 2, a = e.append("g");
597
- z++, a.append("line").attr("id", r + "-task" + z).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
598
+ B++, a.append("line").attr("id", r + "-task" + B).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
598
599
  cx: i,
599
600
  cy: 300 + (5 - t.score) * 30,
600
601
  score: t.score
601
602
  });
602
- let o = B();
603
- o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, I(a, o), V(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
604
- }, "drawTask"), ae = /* @__PURE__ */ e(function(e, t) {
605
- I(e, {
603
+ let o = V();
604
+ o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, R(a, o), H(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
605
+ }, "drawTask"), oe = /* @__PURE__ */ e(function(e, t) {
606
+ R(e, {
606
607
  x: t.startx,
607
608
  y: t.starty,
608
609
  width: t.stopx - t.startx,
@@ -610,7 +611,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
610
611
  fill: t.fill,
611
612
  class: "rect"
612
613
  }).lower();
613
- }, "drawBackgroundRect"), oe = /* @__PURE__ */ e(function() {
614
+ }, "drawBackgroundRect"), se = /* @__PURE__ */ e(function() {
614
615
  return {
615
616
  x: 0,
616
617
  y: 0,
@@ -622,7 +623,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
622
623
  rx: 0,
623
624
  ry: 0
624
625
  };
625
- }, "getTextObj"), B = /* @__PURE__ */ e(function() {
626
+ }, "getTextObj"), V = /* @__PURE__ */ e(function() {
626
627
  return {
627
628
  x: 0,
628
629
  y: 0,
@@ -632,7 +633,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
632
633
  rx: 0,
633
634
  ry: 0
634
635
  };
635
- }, "getNoteRect"), V = /* @__PURE__ */ (function() {
636
+ }, "getNoteRect"), H = /* @__PURE__ */ (function() {
636
637
  function t(e, t, n, r, a, o, s, c) {
637
638
  i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
638
639
  }
@@ -656,21 +657,21 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ e(() =>
656
657
  return e(i, "_setTextAttrs"), function(e) {
657
658
  return e.textPlacement === "fo" ? r : e.textPlacement === "old" ? t : n;
658
659
  };
659
- })(), se = /* @__PURE__ */ e(function(e, t) {
660
- F = 0, z = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
660
+ })(), ce = /* @__PURE__ */ e(function(e, t) {
661
+ L = 0, B = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
661
662
  }, "initGraphics");
662
- function H(e, t) {
663
+ function U(e, t) {
663
664
  e.each(function() {
664
665
  var e = r(this), n = e.text().split(/(\s+|<br>)/).reverse(), i, a = [], o = 1.1, s = e.attr("y"), c = parseFloat(e.attr("dy")), l = e.text(null).append("tspan").attr("x", 0).attr("y", s).attr("dy", c + "em");
665
666
  for (let r = 0; r < n.length; r++) i = n[n.length - 1 - r], a.push(i), l.text(a.join(" ").trim()), (l.node().getComputedTextLength() > t || i === "<br>") && (a.pop(), l.text(a.join(" ").trim()), a = i === "<br>" ? [""] : [i], l = e.append("tspan").attr("x", 0).attr("y", s).attr("dy", o + "em").text(i));
666
667
  });
667
668
  }
668
- e(H, "wrap");
669
- var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
669
+ e(U, "wrap");
670
+ var le = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
670
671
  let { theme: s, look: c } = i, l = s?.includes("redux"), u = n % (i?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, d = e.append("g");
671
672
  t.section = u, d.attr("class", (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + u));
672
- let f = d.append("g"), p = d.append("g"), m = p.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), h = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
673
- if (t.height = m.height + h * 1.1 * .5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width += 2 * t.padding, p.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), l && p.attr("transform", `translate(${t.width / 2}, ${o ? t.padding / 2 + 3 : t.padding})`), ue(f, t, u, a, i), c === "neo" && (d.attr("data-look", "neo"), l)) {
673
+ let f = d.append("g"), p = d.append("g"), m = p.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, t.width).node().getBBox(), h = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
674
+ if (t.height = m.height + h * 1.1 * .5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width += 2 * t.padding, p.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), l && p.attr("transform", `translate(${t.width / 2}, ${o ? t.padding / 2 + 3 : t.padding})`), de(f, t, u, a, i), c === "neo" && (d.attr("data-look", "neo"), l)) {
674
675
  let t = s.includes("dark"), n = e.node()?.ownerSVGElement ?? e.node(), i = r(n), a = i.attr("id") ?? "", o = a ? `${a}-drop-shadow` : "drop-shadow";
675
676
  if (i.select(`#${o}`).empty()) {
676
677
  let e = i.select("defs");
@@ -678,35 +679,35 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
678
679
  }
679
680
  }
680
681
  return t;
681
- }, "drawNode"), le = /* @__PURE__ */ e(function(e, t, n) {
682
- let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
682
+ }, "drawNode"), ue = /* @__PURE__ */ e(function(e, t, n) {
683
+ let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
683
684
  return r.remove(), i.height + a * 1.1 * .5 + t.padding;
684
- }, "getVirtualNodeHeight"), ue = /* @__PURE__ */ e(function(e, t, n, r, i) {
685
+ }, "getVirtualNodeHeight"), de = /* @__PURE__ */ e(function(e, t, n, r, i) {
685
686
  let { theme: a } = i, o = a?.includes("redux") ? 0 : 5, s = o > 0 ? `M0 ${t.height - 5} v${-t.height + 10} q0,-${o},${o},-${o} h${t.width - 10} q${o},0,${o},${o} v${t.height - 5} H0 Z` : `M0 ${t.height - 5} v${-(t.height - 5)} h${t.width} v${t.height} H0 Z`;
686
- e.append("path").attr("id", r + "-node-" + F++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
687
- }, "defaultBkg"), U = {
688
- drawRect: I,
687
+ e.append("path").attr("id", r + "-node-" + L++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
688
+ }, "defaultBkg"), W = {
689
+ drawRect: R,
689
690
  drawCircle: ne,
690
- drawSection: R,
691
- drawText: L,
691
+ drawSection: ie,
692
+ drawText: z,
692
693
  drawLabel: re,
693
- drawTask: ie,
694
- drawBackgroundRect: ae,
695
- getTextObj: oe,
696
- getNoteRect: B,
697
- initGraphics: se,
698
- drawNode: ce,
699
- getVirtualNodeHeight: le
700
- }, de = /* @__PURE__ */ e(function(e, t, a, o) {
701
- let s = d(), { look: c, theme: l, themeVariables: u } = s, { useGradient: f, gradientStart: p, gradientStop: m } = u, h = s.timeline?.leftMargin ?? 50;
702
- n.debug("timeline", o.db);
703
- let g = s.securityLevel, _;
694
+ drawTask: ae,
695
+ drawBackgroundRect: oe,
696
+ getTextObj: se,
697
+ getNoteRect: V,
698
+ initGraphics: ce,
699
+ drawNode: le,
700
+ getVirtualNodeHeight: ue
701
+ }, fe = /* @__PURE__ */ e(function(e, t, a, s) {
702
+ let c = o(), { look: l, theme: u, themeVariables: d } = c, { useGradient: f, gradientStart: p, gradientStop: m } = d, h = c.timeline?.leftMargin ?? 50;
703
+ n.debug("timeline", s.db);
704
+ let g = c.securityLevel, _;
704
705
  g === "sandbox" && (_ = r("#i" + t));
705
706
  let v = r(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + t);
706
707
  v.append("g");
707
- let y = o.db.getTasks(), b = o.db.getCommonDb().getDiagramTitle();
708
- n.debug("task", y), U.initGraphics(v, t);
709
- let x = o.db.getSections();
708
+ let y = s.db.getTasks(), b = s.db.getCommonDb().getDiagramTitle();
709
+ n.debug("task", y), W.initGraphics(v, t);
710
+ let x = s.db.getSections();
710
711
  n.debug("sections", x);
711
712
  let S = 0, C = 0, w = 0, T = 0, E = 50 + h, D = 50;
712
713
  T = 50;
@@ -719,7 +720,7 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
719
720
  width: 150,
720
721
  padding: 20,
721
722
  maxHeight: S
722
- }, r = U.getVirtualNodeHeight(v, t, s);
723
+ }, r = W.getVirtualNodeHeight(v, t, c);
723
724
  n.debug("sectionHeight before draw", r), S = Math.max(S, r + 20);
724
725
  });
725
726
  let A = 0, j = 0;
@@ -732,7 +733,7 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
732
733
  width: 150,
733
734
  padding: 20,
734
735
  maxHeight: C
735
- }, i = U.getVirtualNodeHeight(v, r, s);
736
+ }, i = W.getVirtualNodeHeight(v, r, c);
736
737
  n.debug("taskHeight before draw", i), C = Math.max(C, i + 20), A = Math.max(A, t.events.length);
737
738
  let a = 0;
738
739
  for (let e of t.events) {
@@ -744,7 +745,7 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
744
745
  padding: 20,
745
746
  maxHeight: 50
746
747
  };
747
- a += U.getVirtualNodeHeight(v, n, s);
748
+ a += W.getVirtualNodeHeight(v, n, c);
748
749
  }
749
750
  t.events.length > 0 && (a += (t.events.length - 1) * 10), j = Math.max(j, a);
750
751
  }
@@ -758,16 +759,16 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
758
759
  maxHeight: S
759
760
  };
760
761
  n.debug("sectionNode", i);
761
- let a = v.append("g"), o = U.drawNode(a, i, O, s, t);
762
- n.debug("sectionNode output", o), a.attr("transform", `translate(${E}, ${T})`), D += S + 50, r.length > 0 && W(v, r, O, E, D, C, s, A, j, S, !1, t), E += 200 * Math.max(r.length, 1), D = T, O++;
763
- }) : (k = !1, W(v, y, O, E, D, C, s, A, j, S, !0, t));
762
+ let a = v.append("g"), o = W.drawNode(a, i, O, c, t);
763
+ n.debug("sectionNode output", o), a.attr("transform", `translate(${E}, ${T})`), D += S + 50, r.length > 0 && G(v, r, O, E, D, C, c, A, j, S, !1, t), E += 200 * Math.max(r.length, 1), D = T, O++;
764
+ }) : (k = !1, G(v, y, O, E, D, C, c, A, j, S, !0, t));
764
765
  let M = v.node().getBBox();
765
- if (n.debug("bounds", M), b && v.append("text").text(b).attr("x", c === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${t}-arrowhead)`), c === "neo" && f && l !== "neutral") {
766
+ if (n.debug("bounds", M), b && v.append("text").text(b).attr("x", l === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${t}-arrowhead)`), l === "neo" && f && u !== "neutral") {
766
767
  let e = v.select("defs"), t = (e.empty() ? v.append("defs") : e).append("linearGradient").attr("id", v.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
767
768
  t.append("stop").attr("offset", "0%").attr("stop-color", p).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", m).attr("stop-opacity", 1);
768
769
  }
769
- i(void 0, v, s.timeline?.padding ?? 50, s.timeline?.useMaxWidth ?? !1);
770
- }, "draw"), W = /* @__PURE__ */ e(function(e, t, r, i, a, o, s, c, l, u, d, f) {
770
+ i(void 0, v, c.timeline?.padding ?? 50, c.timeline?.useMaxWidth ?? !1);
771
+ }, "draw"), G = /* @__PURE__ */ e(function(e, t, r, i, a, o, s, c, l, u, d, f) {
771
772
  for (let c of t) {
772
773
  let t = {
773
774
  descr: c.task,
@@ -778,15 +779,15 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
778
779
  maxHeight: o
779
780
  };
780
781
  n.debug("taskNode", t);
781
- let u = e.append("g").attr("class", "taskWrapper"), p = U.drawNode(u, t, r, s, f).height;
782
+ let u = e.append("g").attr("class", "taskWrapper"), p = W.drawNode(u, t, r, s, f).height;
782
783
  if (n.debug("taskHeight after draw", p), u.attr("transform", `translate(${i}, ${a})`), o = Math.max(o, p), c.events) {
783
784
  let t = e.append("g").attr("class", "lineWrapper"), n = o;
784
- a += 100, n += fe(e, c.events, r, i, a, s, f), a -= 100, t.append("line").attr("x1", i + 95).attr("y1", a + o).attr("x2", i + 95).attr("y2", a + o + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
785
+ a += 100, n += pe(e, c.events, r, i, a, s, f), a -= 100, t.append("line").attr("x1", i + 95).attr("y1", a + o).attr("x2", i + 95).attr("y2", a + o + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
785
786
  }
786
787
  i += 200, d && !s.timeline?.disableMulticolor && r++;
787
788
  }
788
789
  a -= 10;
789
- }, "drawTasks"), fe = /* @__PURE__ */ e(function(e, t, r, i, a, o, s) {
790
+ }, "drawTasks"), pe = /* @__PURE__ */ e(function(e, t, r, i, a, o, s) {
790
791
  let c = 0, l = a;
791
792
  a += 100;
792
793
  for (let l of t) {
@@ -799,140 +800,140 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
799
800
  maxHeight: 50
800
801
  };
801
802
  n.debug("eventNode", t);
802
- let u = e.append("g").attr("class", "eventWrapper"), d = U.drawNode(u, t, r, o, s, !0).height;
803
+ let u = e.append("g").attr("class", "eventWrapper"), d = W.drawNode(u, t, r, o, s, !0).height;
803
804
  c += d, u.attr("transform", `translate(${i}, ${a})`), a = a + 10 + d;
804
805
  }
805
806
  return a = l, c;
806
- }, "drawEvents"), pe = {
807
+ }, "drawEvents"), me = {
807
808
  setConf: /* @__PURE__ */ e(() => {}, "setConf"),
808
- draw: de
809
- }, G = 200, K = 5, me = G + K * 2, q = G + 100, he = q + K * 2, J = 10, ge = 0, Y = 20, X = 20, Z = 30, Q = 50, _e = /* @__PURE__ */ e(function(e, t, r, a) {
810
- let o = d(), s = o.timeline?.leftMargin ?? 50;
809
+ draw: fe
810
+ }, K = 200, q = 5, he = K + q * 2, J = K + 100, ge = J + q * 2, Y = 10, _e = 0, X = 20, Z = 20, Q = 30, $ = 50, ve = /* @__PURE__ */ e(function(e, t, r, a) {
811
+ let s = o(), c = s.timeline?.leftMargin ?? 50;
811
812
  n.debug("timeline", a.db);
812
- let c = m(t);
813
- c.append("g");
814
- let l = a.db.getTasks(), u = a.db.getCommonDb().getDiagramTitle();
815
- n.debug("task", l), U.initGraphics(c);
813
+ let l = g(t);
814
+ l.append("g");
815
+ let u = a.db.getTasks(), d = a.db.getCommonDb().getDiagramTitle();
816
+ n.debug("task", u), W.initGraphics(l);
816
817
  let f = a.db.getSections();
817
818
  n.debug("sections", f);
818
- let h = 0, g = 0, _ = 50 + s, v = 50, y = v, b = _, x = me + X, S = he + Q, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - K * 2);
819
+ let m = 0, h = 0, _ = 50 + c, v = 50, y = v, b = _, x = he + Z, S = ge + $, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - q * 2);
819
820
  f.forEach(function(e) {
820
821
  let t = {
821
822
  number: w,
822
823
  descr: e,
823
824
  section: w,
824
825
  width: D,
825
- padding: K,
826
- maxHeight: h
827
- }, r = U.getVirtualNodeHeight(c, t, o);
828
- n.debug("sectionHeight before draw", r), h = Math.max(h, r);
826
+ padding: q,
827
+ maxHeight: m
828
+ }, r = W.getVirtualNodeHeight(l, t, s);
829
+ n.debug("sectionHeight before draw", r), m = Math.max(m, r);
829
830
  });
830
831
  let O = 0;
831
- n.debug("tasks.length", l.length);
832
- for (let [e, t] of l.entries()) {
832
+ n.debug("tasks.length", u.length);
833
+ for (let [e, t] of u.entries()) {
833
834
  let r = {
834
835
  number: e,
835
836
  descr: t,
836
837
  section: t.section,
837
- width: G,
838
- padding: K,
839
- maxHeight: g
840
- }, i = U.getVirtualNodeHeight(c, r, o);
841
- n.debug("taskHeight before draw", i), g = Math.max(g, i);
838
+ width: K,
839
+ padding: q,
840
+ maxHeight: h
841
+ }, i = W.getVirtualNodeHeight(l, r, s);
842
+ n.debug("taskHeight before draw", i), h = Math.max(h, i);
842
843
  let a = 0;
843
844
  for (let e of t.events) {
844
845
  let n = {
845
846
  descr: e,
846
847
  section: t.section,
847
848
  number: t.section,
848
- width: q,
849
- padding: K,
849
+ width: J,
850
+ padding: q,
850
851
  maxHeight: 50
851
852
  };
852
- a += U.getVirtualNodeHeight(c, n, o);
853
+ a += W.getVirtualNodeHeight(l, n, s);
853
854
  }
854
- t.events.length > 0 && (a += (t.events.length - 1) * J), O = Math.max(O, a) + ge;
855
+ t.events.length > 0 && (a += (t.events.length - 1) * Y), O = Math.max(O, a) + _e;
855
856
  }
856
- n.debug("maxSectionHeight before draw", h), n.debug("maxTaskHeight before draw", g);
857
- let k = Math.max(g, O) + Z;
857
+ n.debug("maxSectionHeight before draw", m), n.debug("maxTaskHeight before draw", h);
858
+ let k = Math.max(h, O) + Q;
858
859
  T ? f.forEach((e) => {
859
- let t = l.filter((t) => t.section === e), r = {
860
+ let t = u.filter((t) => t.section === e), r = {
860
861
  number: w,
861
862
  descr: e,
862
863
  section: w,
863
864
  width: D,
864
- padding: K,
865
- maxHeight: h
865
+ padding: q,
866
+ maxHeight: m
866
867
  };
867
868
  n.debug("sectionNode", r);
868
- let i = c.append("g"), a = U.drawNode(i, r, w, o);
869
+ let i = l.append("g"), a = W.drawNode(i, r, w, s);
869
870
  n.debug("sectionNode output", a);
870
- let s = E - x;
871
- i.attr("transform", `translate(${s}, ${v})`);
872
- let u = v + a.height + Y;
873
- t.length > 0 && $(c, t, w, E, u, g, o, k, !1);
874
- let d = t.length, f = a.height + Y + k * Math.max(d, 1) - (d > 0 ? Z * 2 : 0);
871
+ let o = E - x;
872
+ i.attr("transform", `translate(${o}, ${v})`);
873
+ let c = v + a.height + X;
874
+ t.length > 0 && ye(l, t, w, E, c, h, s, k, !1);
875
+ let d = t.length, f = a.height + X + k * Math.max(d, 1) - (d > 0 ? Q * 2 : 0);
875
876
  v += f, w++;
876
- }) : $(c, l, w, E, v, g, o, k, !0);
877
- let A = c.node()?.getBBox();
877
+ }) : ye(l, u, w, E, v, h, s, k, !0);
878
+ let A = l.node()?.getBBox();
878
879
  if (!A) throw Error("bbox not found");
879
- if (n.debug("bounds", A), u) {
880
- if (c.append("text").text(u).attr("x", A.width / 2 - s).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = c.node()?.getBBox(), !A) throw Error("bbox not found");
880
+ if (n.debug("bounds", A), d) {
881
+ if (l.append("text").text(d).attr("x", A.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = l.node()?.getBBox(), !A) throw Error("bbox not found");
881
882
  n.debug("bounds after title", A);
882
883
  }
883
- let [j] = p(o.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = c.append("g").attr("class", "lineWrapper");
884
- P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), i(void 0, c, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
885
- }, "draw"), $ = /* @__PURE__ */ e(function(e, t, r, i, a, o, s, c, l) {
884
+ let [j] = p(s.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = l.append("g").attr("class", "lineWrapper");
885
+ P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), i(void 0, l, s.timeline?.padding ?? 50, s.timeline?.useMaxWidth ?? !1);
886
+ }, "draw"), ye = /* @__PURE__ */ e(function(e, t, r, i, a, o, s, c, l) {
886
887
  for (let u of t) {
887
888
  let t = {
888
889
  descr: u.task,
889
890
  section: r,
890
891
  number: r,
891
- width: G,
892
- padding: K,
892
+ width: K,
893
+ padding: q,
893
894
  maxHeight: o
894
895
  };
895
896
  n.debug("taskNode", t);
896
- let d = e.append("g").attr("class", "taskWrapper"), f = U.drawNode(d, t, r, s), p = f.height;
897
+ let d = e.append("g").attr("class", "taskWrapper"), f = W.drawNode(d, t, r, s), p = f.height;
897
898
  n.debug("taskHeight after draw", p);
898
- let m = i - X - f.width;
899
+ let m = i - Z - f.width;
899
900
  if (d.attr("transform", `translate(${m}, ${a})`), o = Math.max(o, p), u.events && u.events.length > 0) {
900
- let t = a, n = i + Q;
901
- ve(e, u.events, r, i, n, t, s);
901
+ let t = a, n = i + $;
902
+ be(e, u.events, r, i, n, t, s);
902
903
  }
903
904
  a += c, l && !s.timeline?.disableMulticolor && r++;
904
905
  }
905
- }, "drawTasks"), ve = /* @__PURE__ */ e(function(e, t, r, i, a, o, s) {
906
+ }, "drawTasks"), be = /* @__PURE__ */ e(function(e, t, r, i, a, o, s) {
906
907
  let c = o;
907
908
  for (let o of t) {
908
909
  let t = {
909
910
  descr: o,
910
911
  section: r,
911
912
  number: r,
912
- width: q,
913
- padding: K,
913
+ width: J,
914
+ padding: q,
914
915
  maxHeight: 0
915
916
  };
916
917
  n.debug("eventNode", t);
917
- let l = e.append("g").attr("class", "eventWrapper"), u = U.drawNode(l, t, r, s).height;
918
+ let l = e.append("g").attr("class", "eventWrapper"), u = W.drawNode(l, t, r, s).height;
918
919
  l.attr("transform", `translate(${a}, ${c})`);
919
920
  let d = e.append("g").attr("class", "lineWrapper"), f = c + u / 2;
920
- d.append("line").attr("x1", i).attr("y1", f).attr("x2", a).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), c = c + u + J;
921
+ d.append("line").attr("x1", i).attr("y1", f).attr("x2", a).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), c = c + u + Y;
921
922
  }
922
923
  return c - o;
923
- }, "drawEvents"), ye = {
924
+ }, "drawEvents"), xe = {
924
925
  setConf: /* @__PURE__ */ e(() => {}, "setConf"),
925
- draw: _e
926
- }, be = /* @__PURE__ */ e((e) => {
927
- let { theme: t } = o(), n = t?.includes("dark"), r = t?.includes("color"), i = e.svgId?.replace(/^#/, "") ?? "", a = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", s = "";
928
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
929
- let i = `${17 - 3 * t}`, o = r ? e.borderColorArray[t] : e.mainBkg, c = r ? e.borderColorArray[t] : e.nodeBorder;
930
- s += `
926
+ draw: ve
927
+ }, Se = /* @__PURE__ */ e((e) => {
928
+ let { theme: t } = d(), n = t?.includes("dark"), r = m(t, e.borderColorArray), i = e.svgId?.replace(/^#/, "") ?? "", a = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", o = "";
929
+ for (let t = 0; t < h(e.THEME_COLOR_LIMIT); t++) {
930
+ let i = `${17 - 3 * t}`, s = r ? e.borderColorArray[t % e.borderColorArray.length] : void 0, c = s ?? e.mainBkg, l = s ?? e.nodeBorder;
931
+ o += `
931
932
  .section-${t - 1} rect,
932
933
  .section-${t - 1} path,
933
934
  .section-${t - 1} circle {
934
- fill: ${n && r ? e.mainBkg : o};
935
- stroke: ${c};
935
+ fill: ${n && r ? e.mainBkg : c};
936
+ stroke: ${l};
936
937
  stroke-width: ${e.strokeWidth};
937
938
  filter: ${a};
938
939
  }
@@ -976,36 +977,36 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
976
977
  }
977
978
  `;
978
979
  }
979
- return s;
980
- }, "genReduxSections"), xe = /* @__PURE__ */ e((e) => {
981
- let t = "";
982
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], l(e["lineColor" + t]) ? e["lineColor" + t] = u(e["lineColor" + t], 20) : e["lineColor" + t] = s(e["lineColor" + t], 20);
983
- for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
984
- let r = "" + (17 - 3 * n);
980
+ return o;
981
+ }, "genReduxSections"), Ce = /* @__PURE__ */ e((e) => {
982
+ let t = "", n = h(e.THEME_COLOR_LIMIT);
983
+ for (let t = 0; t < n; t++) e["lineColor" + t] = e["lineColor" + t] ?? e["cScaleInv" + t], s(e["lineColor" + t]) ? e["lineColor" + t] = c(e["lineColor" + t], 20) : e["lineColor" + t] = u(e["lineColor" + t], 20);
984
+ for (let r = 0; r < n; r++) {
985
+ let n = "" + (17 - 3 * r);
985
986
  t += `
986
- .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} path {
987
- fill: ${e["cScale" + n]};
987
+ .section-${r - 1} rect, .section-${r - 1} path, .section-${r - 1} circle, .section-${r - 1} path {
988
+ fill: ${e["cScale" + r]};
988
989
  }
989
- .section-${n - 1} text {
990
- fill: ${e["cScaleLabel" + n]};
990
+ .section-${r - 1} text {
991
+ fill: ${e["cScaleLabel" + r]};
991
992
  }
992
- .node-icon-${n - 1} {
993
+ .node-icon-${r - 1} {
993
994
  font-size: 40px;
994
- color: ${e["cScaleLabel" + n]};
995
+ color: ${e["cScaleLabel" + r]};
995
996
  }
996
- .section-edge-${n - 1}{
997
- stroke: ${e["cScale" + n]};
997
+ .section-edge-${r - 1}{
998
+ stroke: ${e["cScale" + r]};
998
999
  }
999
- .edge-depth-${n - 1}{
1000
- stroke-width: ${r};
1000
+ .edge-depth-${r - 1}{
1001
+ stroke-width: ${n};
1001
1002
  }
1002
- .section-${n - 1} line {
1003
- stroke: ${e["cScaleInv" + n]} ;
1003
+ .section-${r - 1} line {
1004
+ stroke: ${e["cScaleInv" + r]} ;
1004
1005
  stroke-width: 3;
1005
1006
  }
1006
1007
 
1007
1008
  .lineWrapper line{
1008
- stroke: ${e["cScaleLabel" + n]} ;
1009
+ stroke: ${e["cScaleLabel" + r]} ;
1009
1010
  }
1010
1011
 
1011
1012
  .disabled, .disabled circle, .disabled text {
@@ -1017,32 +1018,35 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
1017
1018
  `;
1018
1019
  }
1019
1020
  return t;
1020
- }, "genSections"), Se = {
1021
- db: _,
1021
+ }, "genSections"), we = {
1022
+ db: y,
1022
1023
  renderer: {
1023
1024
  setConf: /* @__PURE__ */ e(() => {}, "setConf"),
1024
- draw: /* @__PURE__ */ e((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? ye.draw(e, t, n, r) : pe.draw(e, t, n, r), "draw")
1025
+ draw: /* @__PURE__ */ e((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? xe.draw(e, t, n, r) : me.draw(e, t, n, r), "draw")
1025
1026
  },
1026
- parser: g,
1027
+ parser: v,
1027
1028
  styles: /* @__PURE__ */ e((e) => {
1028
- let { theme: t } = o(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", a = "";
1029
- if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) a += `
1030
- .section-${t - 1}[data-look="neo"] rect,
1031
- .section-${t - 1}[data-look="neo"] path,
1032
- .section-${t - 1}[data-look="neo"] circle {
1029
+ let { theme: t } = d(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", a = "";
1030
+ if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) {
1031
+ let t = h(e.THEME_COLOR_LIMIT);
1032
+ for (let n = 0; n < t; n++) a += `
1033
+ .section-${n - 1}[data-look="neo"] rect,
1034
+ .section-${n - 1}[data-look="neo"] path,
1035
+ .section-${n - 1}[data-look="neo"] circle {
1033
1036
  fill: ${e.mainBkg};
1034
1037
  stroke: url(#${i}-gradient);
1035
1038
  stroke-width: 2;
1036
1039
  }
1037
- .section-${t - 1}[data-look="neo"] line {
1040
+ .section-${n - 1}[data-look="neo"] line {
1038
1041
  stroke: url(#${i}-gradient);
1039
1042
  stroke-width: 2;
1040
1043
  }`;
1044
+ }
1041
1045
  return `
1042
1046
  .edge {
1043
1047
  stroke-width: 3;
1044
1048
  }
1045
- ${n ? be(e) : xe(e)}
1049
+ ${n ? Se(e) : Ce(e)}
1046
1050
  ${a}
1047
1051
  .section-root rect, .section-root path, .section-root circle {
1048
1052
  fill: ${e.git0};
@@ -1066,4 +1070,4 @@ var ce = /* @__PURE__ */ e(function(e, t, n, i, a, o = !1) {
1066
1070
  }, "getStyles")
1067
1071
  };
1068
1072
  //#endregion
1069
- export { Se as diagram };
1073
+ export { we as diagram };