@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,20 +1,20 @@
1
- import { n as e } from "./mermaid-parser.core-DLNlSmfj.js";
1
+ import { n as e } from "./mermaid-parser.core-CI12FMcX.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
3
3
  import { m as n, p as r } from "./src-Dkp7vqs8.js";
4
- import { H as i, K as a, U as o, Y as s, a as c, b as l, f as u, s as d, v as f, w as p, x as m, y as h } from "./chunk-DU6HZSFF-BW30DVuW.js";
5
- import { g, i as _, m as v } from "./chunk-75Z2AOVW-DoA8rENV.js";
4
+ import { C as i, H as a, U as o, X as s, _ as c, a as l, b as u, f as d, q as f, s as p, v as m, y as h } from "./chunk-VPRB5NB3-DJh7spRO.js";
5
+ import { _ as g, h as _, i as v } from "./chunk-3YJQHVM4-BNbfg-7y.js";
6
6
  import { t as y } from "./chunk-JWPE2WC7-B_J6qwQL.js";
7
7
  import { t as b } from "./chunk-2Q5K7J3B-DqJF2oYF.js";
8
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-WWUBYQGX.mjs
8
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-XJZIOB7I.mjs
9
9
  var x = {
10
10
  NORMAL: 0,
11
11
  REVERSE: 1,
12
12
  HIGHLIGHT: 2,
13
13
  MERGE: 3,
14
14
  CHERRY_PICK: 4
15
- }, ee = u.gitGraph, S = /* @__PURE__ */ t(() => _({
15
+ }, ee = d.gitGraph, S = /* @__PURE__ */ t(() => v({
16
16
  ...ee,
17
- ...l().gitGraph
17
+ ...h().gitGraph
18
18
  }), "getConfig"), C = new b(() => {
19
19
  let e = S(), t = e.mainBranchName, n = e.mainBranchOrder;
20
20
  return {
@@ -33,7 +33,7 @@ var x = {
33
33
  };
34
34
  });
35
35
  function w() {
36
- return v({ length: 7 });
36
+ return _({ length: 7 });
37
37
  }
38
38
  t(w, "getID");
39
39
  function T(e, t) {
@@ -59,7 +59,7 @@ var te = /* @__PURE__ */ t(function(e) {
59
59
  let t = e.msg, r = e.id, i = e.type, a = e.tags;
60
60
  n.info("commit", t, r, i, a), n.debug("Entering commit:", t, r, i, a);
61
61
  let o = S();
62
- r = d.sanitizeText(r, o), t = d.sanitizeText(t, o), a = a?.map((e) => d.sanitizeText(e, o));
62
+ r = p.sanitizeText(r, o), t = p.sanitizeText(t, o), a = a?.map((e) => p.sanitizeText(e, o));
63
63
  let s = {
64
64
  id: r || C.records.seq + "-" + w(),
65
65
  message: t,
@@ -72,14 +72,14 @@ var te = /* @__PURE__ */ t(function(e) {
72
72
  C.records.head = s, n.info("main branch", o.mainBranchName), C.records.commits.has(s.id) && n.warn(`Commit ID ${s.id} already exists`), C.records.commits.set(s.id, s), C.records.branches.set(C.records.currBranch, s.id), n.debug("in pushCommit " + s.id);
73
73
  }, "commit"), ae = /* @__PURE__ */ t(function(e) {
74
74
  let t = e.name, r = e.order;
75
- if (t = d.sanitizeText(t, S()), C.records.branches.has(t)) throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);
75
+ if (t = p.sanitizeText(t, S()), C.records.branches.has(t)) throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);
76
76
  C.records.branches.set(t, C.records.head == null ? null : C.records.head.id), C.records.branchConfig.set(t, {
77
77
  name: t,
78
78
  order: r
79
79
  }), E(t), n.debug("in createBranch");
80
80
  }, "branch"), oe = /* @__PURE__ */ t((e) => {
81
81
  let t = e.branch, r = e.id, i = e.type, a = e.tags, o = S();
82
- t = d.sanitizeText(t, o), r &&= d.sanitizeText(r, o);
82
+ t = p.sanitizeText(t, o), r &&= p.sanitizeText(r, o);
83
83
  let s = C.records.branches.get(C.records.currBranch), c = C.records.branches.get(t), l = s ? C.records.commits.get(s) : void 0, u = c ? C.records.commits.get(c) : void 0;
84
84
  if (l && u && l.branch === t) throw Error(`Cannot merge branch '${t}' into itself.`);
85
85
  if (C.records.currBranch === t) {
@@ -130,23 +130,23 @@ var te = /* @__PURE__ */ t(function(e) {
130
130
  expected: [`merge ${t} ${r}_UNIQUE ${i} ${a?.join(" ")}`]
131
131
  }, e;
132
132
  }
133
- let f = c || "", p = {
133
+ let d = c || "", f = {
134
134
  id: r || `${C.records.seq}-${w()}`,
135
135
  message: `merged branch ${t} into ${C.records.currBranch}`,
136
136
  seq: C.records.seq++,
137
- parents: C.records.head == null ? [] : [C.records.head.id, f],
137
+ parents: C.records.head == null ? [] : [C.records.head.id, d],
138
138
  branch: C.records.currBranch,
139
139
  type: x.MERGE,
140
140
  customType: i,
141
141
  customId: !!r,
142
142
  tags: a ?? []
143
143
  };
144
- C.records.head = p, C.records.commits.set(p.id, p), C.records.branches.set(C.records.currBranch, p.id), n.debug(C.records.branches), n.debug("in mergeBranch");
144
+ C.records.head = f, C.records.commits.set(f.id, f), C.records.branches.set(C.records.currBranch, f.id), n.debug(C.records.branches), n.debug("in mergeBranch");
145
145
  }, "merge"), se = /* @__PURE__ */ t(function(e) {
146
146
  let t = e.id, r = e.targetId, i = e.tags, a = e.parent;
147
147
  n.debug("Entering cherryPick:", t, r, i);
148
148
  let o = S();
149
- if (t = d.sanitizeText(t, o), r = d.sanitizeText(r, o), i = i?.map((e) => d.sanitizeText(e, o)), a = d.sanitizeText(a, o), !t || !C.records.commits.has(t)) {
149
+ if (t = p.sanitizeText(t, o), r = p.sanitizeText(r, o), i = i?.map((e) => p.sanitizeText(e, o)), a = p.sanitizeText(a, o), !t || !C.records.commits.has(t)) {
150
150
  let e = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
151
151
  throw e.hash = {
152
152
  text: `cherryPick ${t} ${r}`,
@@ -198,7 +198,7 @@ var te = /* @__PURE__ */ t(function(e) {
198
198
  C.records.head = l, C.records.commits.set(l.id, l), C.records.branches.set(C.records.currBranch, l.id), n.debug(C.records.branches), n.debug("in cherryPick");
199
199
  }
200
200
  }, "cherryPick"), E = /* @__PURE__ */ t(function(e) {
201
- if (e = d.sanitizeText(e, S()), C.records.branches.has(e)) {
201
+ if (e = p.sanitizeText(e, S()), C.records.branches.has(e)) {
202
202
  C.records.currBranch = e;
203
203
  let t = C.records.branches.get(C.records.currBranch);
204
204
  t === void 0 || !t ? C.records.head = null : C.records.head = C.records.commits.get(t) ?? null;
@@ -243,7 +243,7 @@ var ce = /* @__PURE__ */ t(function() {
243
243
  let e = k()[0];
244
244
  O([e]);
245
245
  }, "prettyPrint"), le = /* @__PURE__ */ t(function() {
246
- C.reset(), c();
246
+ C.reset(), l();
247
247
  }, "clear"), ue = /* @__PURE__ */ t(function() {
248
248
  return [...C.records.branchConfig.values()].map((e, t) => e.order !== null && e.order !== void 0 ? e : {
249
249
  ...e,
@@ -285,11 +285,11 @@ var ce = /* @__PURE__ */ t(function() {
285
285
  return C.records.head;
286
286
  }, "getHead"),
287
287
  setAccTitle: o,
288
- getAccTitle: h,
289
- getAccDescription: f,
290
- setAccDescription: i,
291
- setDiagramTitle: a,
292
- getDiagramTitle: p
288
+ getAccTitle: m,
289
+ getAccDescription: c,
290
+ setAccDescription: a,
291
+ setDiagramTitle: f,
292
+ getDiagramTitle: i
293
293
  }, pe = /* @__PURE__ */ t((e, t) => {
294
294
  y(e, t), e.dir && t.setDirection(e.dir);
295
295
  for (let n of e.statements) me(n, t);
@@ -399,7 +399,7 @@ var ce = /* @__PURE__ */ t(function() {
399
399
  y: i
400
400
  });
401
401
  }, "setRootPosition"), ke = /* @__PURE__ */ t((e, t, n, r, i, a) => {
402
- let { theme: o } = m(), s = I.has(o ?? ""), c = R.has(o ?? ""), l = xe.has(o ?? "");
402
+ let { theme: o } = u(), s = I.has(o ?? ""), c = R.has(o ?? ""), l = xe.has(o ?? "");
403
403
  if (a === x.HIGHLIGHT) e.append("rect").attr("x", n.x - 10 + (s ? 3 : 0)).attr("y", n.y - 10 + (s ? 3 : 0)).attr("width", s ? 14 : 20).attr("height", s ? 14 : 20).attr("class", `commit ${t.id} commit-highlight${z(i, F, c)} ${r}-outer`), e.append("rect").attr("x", n.x - 6 + (s ? 2 : 0)).attr("y", n.y - 6 + (s ? 2 : 0)).attr("width", s ? 8 : 12).attr("height", s ? 8 : 12).attr("class", `commit ${t.id} commit${z(i, F, c)} ${r}-inner`);
404
404
  else if (a === x.CHERRY_PICK) e.append("circle").attr("cx", n.x).attr("cy", n.y).attr("r", s ? 7 : 10).attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x - 3).attr("cy", n.y + 2).attr("r", s ? 2.5 : 2.75).attr("fill", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x + 3).attr("cy", n.y + 2).attr("r", s ? 2.5 : 2.75).attr("fill", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x + 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x - 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", l ? "#000000" : "#fff").attr("class", `commit ${t.id} ${r}`);
405
405
  else {
@@ -484,7 +484,7 @@ var ce = /* @__PURE__ */ t(function() {
484
484
  }, "calculatePosition"), Pe = /* @__PURE__ */ t((e, t, n) => {
485
485
  let r = K === "BT" && n ? t : t + j, i = B.get(e.branch)?.pos, a = K === "TB" || K === "BT" ? B.get(e.branch)?.pos : r;
486
486
  if (a === void 0 || i === void 0) throw Error(`Position were undefined for commit ${e.id}`);
487
- let o = I.has(m().theme ?? "");
487
+ let o = I.has(u().theme ?? "");
488
488
  return {
489
489
  x: a,
490
490
  y: K === "TB" || K === "BT" ? r : i + (o ? L / 2 + 1 : -2),
@@ -519,18 +519,18 @@ var ce = /* @__PURE__ */ t(function() {
519
519
  let r = e + Math.abs(e - t) / 2;
520
520
  return n > 5 ? r : W.every((e) => Math.abs(e - r) >= 10) ? (W.push(r), r) : X(e, t - Math.abs(e - t) / 5, n + 1);
521
521
  }, "findLane"), Ie = /* @__PURE__ */ t((e, t, n, r) => {
522
- let { theme: i } = m(), a = R.has(i ?? ""), o = V.get(t.id), s = V.get(n.id);
522
+ let { theme: i } = u(), a = R.has(i ?? ""), o = V.get(t.id), s = V.get(n.id);
523
523
  if (o === void 0 || s === void 0) throw Error(`Commit positions not found for commits ${t.id} and ${n.id}`);
524
- let c = Fe(t, n, o, s, r), l = "", u = "", d = 0, f = 0, p = B.get(n.branch)?.index;
525
- n.type === x.MERGE && t.id !== n.parents[0] && (p = B.get(t.branch)?.index);
524
+ let c = Fe(t, n, o, s, r), l = "", d = "", f = 0, p = 0, m = B.get(n.branch)?.index;
525
+ n.type === x.MERGE && t.id !== n.parents[0] && (m = B.get(t.branch)?.index);
526
526
  let h;
527
527
  if (c) {
528
- l = "A 10 10, 0, 0, 0,", u = "A 10 10, 0, 0, 1,", d = 10, f = 10;
528
+ l = "A 10 10, 0, 0, 0,", d = "A 10 10, 0, 0, 1,", f = 10, p = 10;
529
529
  let e = o.y < s.y ? X(o.y, s.y) : X(s.y, o.y), n = o.x < s.x ? X(o.x, s.x) : X(s.x, o.x);
530
- K === "TB" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - d} ${o.y} ${u} ${n} ${o.y + f} L ${n} ${s.y - d} ${l} ${n + f} ${s.y} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + d} ${o.y} ${l} ${n} ${o.y + f} L ${n} ${s.y - d} ${u} ${n - f} ${s.y} L ${s.x} ${s.y}`) : K === "BT" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - d} ${o.y} ${l} ${n} ${o.y - f} L ${n} ${s.y + d} ${u} ${n + f} ${s.y} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + d} ${o.y} ${u} ${n} ${o.y - f} L ${n} ${s.y + d} ${l} ${n - f} ${s.y} L ${s.x} ${s.y}`) : o.y < s.y ? h = `M ${o.x} ${o.y} L ${o.x} ${e - d} ${l} ${o.x + f} ${e} L ${s.x - d} ${e} ${u} ${s.x} ${e + f} L ${s.x} ${s.y}` : (p = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${o.x} ${e + d} ${u} ${o.x + f} ${e} L ${s.x - d} ${e} ${l} ${s.x} ${e - f} L ${s.x} ${s.y}`);
531
- } else l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, K === "TB" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${l} ${o.x + f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${u} ${s.x} ${o.y + f} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${u} ${o.x - f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + d} ${o.y} ${l} ${s.x} ${o.y + f} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : K === "BT" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${u} ${o.x + f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${l} ${s.x} ${o.y - f} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", u = "A 20 20, 0, 0, 1,", d = 20, f = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${l} ${o.x - f} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + d} ${o.y} ${u} ${s.x} ${o.y - f} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : (o.y < s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${u} ${s.x} ${o.y + f} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y - d} ${l} ${o.x + f} ${s.y} L ${s.x} ${s.y}`), o.y > s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - d} ${o.y} ${l} ${s.x} ${o.y - f} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y + d} ${u} ${o.x + f} ${s.y} L ${s.x} ${s.y}`), o.y === s.y && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`));
530
+ K === "TB" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - f} ${o.y} ${d} ${n} ${o.y + p} L ${n} ${s.y - f} ${l} ${n + p} ${s.y} L ${s.x} ${s.y}` : (m = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + f} ${o.y} ${l} ${n} ${o.y + p} L ${n} ${s.y - f} ${d} ${n - p} ${s.y} L ${s.x} ${s.y}`) : K === "BT" ? o.x < s.x ? h = `M ${o.x} ${o.y} L ${n - f} ${o.y} ${l} ${n} ${o.y - p} L ${n} ${s.y + f} ${d} ${n + p} ${s.y} L ${s.x} ${s.y}` : (m = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${n + f} ${o.y} ${d} ${n} ${o.y - p} L ${n} ${s.y + f} ${l} ${n - p} ${s.y} L ${s.x} ${s.y}`) : o.y < s.y ? h = `M ${o.x} ${o.y} L ${o.x} ${e - f} ${l} ${o.x + p} ${e} L ${s.x - f} ${e} ${d} ${s.x} ${e + p} L ${s.x} ${s.y}` : (m = B.get(t.branch)?.index, h = `M ${o.x} ${o.y} L ${o.x} ${e + f} ${d} ${o.x + p} ${e} L ${s.x - f} ${e} ${l} ${s.x} ${e - p} L ${s.x} ${s.y}`);
531
+ } else l = "A 20 20, 0, 0, 0,", d = "A 20 20, 0, 0, 1,", f = 20, p = 20, K === "TB" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - f} ${l} ${o.x + p} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - f} ${o.y} ${d} ${s.x} ${o.y + p} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", d = "A 20 20, 0, 0, 1,", f = 20, p = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y - f} ${d} ${o.x - p} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + f} ${o.y} ${l} ${s.x} ${o.y + p} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : K === "BT" ? (o.x < s.x && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + f} ${d} ${o.x + p} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x - f} ${o.y} ${l} ${s.x} ${o.y - p} L ${s.x} ${s.y}`), o.x > s.x && (l = "A 20 20, 0, 0, 0,", d = "A 20 20, 0, 0, 1,", f = 20, p = 20, h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${o.x} ${s.y + f} ${l} ${o.x - p} ${s.y} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${s.x + f} ${o.y} ${d} ${s.x} ${o.y - p} L ${s.x} ${s.y}`), o.x === s.x && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`)) : (o.y < s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - f} ${o.y} ${d} ${s.x} ${o.y + p} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y - f} ${l} ${o.x + p} ${s.y} L ${s.x} ${s.y}`), o.y > s.y && (h = n.type === x.MERGE && t.id !== n.parents[0] ? `M ${o.x} ${o.y} L ${s.x - f} ${o.y} ${l} ${s.x} ${o.y - p} L ${s.x} ${s.y}` : `M ${o.x} ${o.y} L ${o.x} ${s.y + f} ${d} ${o.x + p} ${s.y} L ${s.x} ${s.y}`), o.y === s.y && (h = `M ${o.x} ${o.y} L ${s.x} ${s.y}`));
532
532
  if (h === void 0) throw Error("Line definition not found");
533
- e.append("path").attr("d", h).attr("class", "arrow arrow" + z(p, F, a));
533
+ e.append("path").attr("d", h).attr("class", "arrow arrow" + z(m, F, a));
534
534
  }, "drawArrow"), Le = /* @__PURE__ */ t((e, t) => {
535
535
  let n = e.append("g").attr("class", "commit-arrows");
536
536
  [...t.keys()].forEach((e) => {
@@ -540,16 +540,16 @@ var ce = /* @__PURE__ */ t(function() {
540
540
  });
541
541
  });
542
542
  }, "drawArrows"), Re = /* @__PURE__ */ t((e, t, n, r) => {
543
- let { look: i, theme: a, themeVariables: o } = m(), { dropShadow: s, THEME_COLOR_LIMIT: c } = o, l = I.has(a ?? ""), u = R.has(a ?? ""), d = e.append("g");
543
+ let { look: i, theme: a, themeVariables: o } = u(), { dropShadow: s, THEME_COLOR_LIMIT: c } = o, l = I.has(a ?? ""), d = R.has(a ?? ""), f = e.append("g");
544
544
  t.forEach((e, t) => {
545
- let a = z(t, l ? c : F, u), o = B.get(e.name)?.pos;
545
+ let a = z(t, l ? c : F, d), o = B.get(e.name)?.pos;
546
546
  if (o === void 0) throw Error(`Position not found for branch ${e.name}`);
547
- let f = K === "TB" || K === "BT" ? o : l ? o + L / 2 + 1 : o - 2, p = d.append("line");
548
- p.attr("x1", 0), p.attr("y1", f), p.attr("x2", G), p.attr("y2", f), p.attr("class", "branch branch" + a), K === "TB" ? (p.attr("y1", H), p.attr("x1", o), p.attr("y2", G), p.attr("x2", o)) : K === "BT" && (p.attr("y1", G), p.attr("x1", o), p.attr("y2", H), p.attr("x2", o)), W.push(f);
549
- let m = e.name, h = q(m), g = d.insert("rect"), _ = d.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + a);
547
+ let u = K === "TB" || K === "BT" ? o : l ? o + L / 2 + 1 : o - 2, p = f.append("line");
548
+ p.attr("x1", 0), p.attr("y1", u), p.attr("x2", G), p.attr("y2", u), p.attr("class", "branch branch" + a), K === "TB" ? (p.attr("y1", H), p.attr("x1", o), p.attr("y2", G), p.attr("x2", o)) : K === "BT" && (p.attr("y1", G), p.attr("x1", o), p.attr("y2", H), p.attr("x2", o)), W.push(u);
549
+ let m = e.name, h = q(m), g = f.insert("rect"), _ = f.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + a);
550
550
  _.node().appendChild(h);
551
551
  let v = h.getBBox(), y = l ? 0 : 4, b = l ? 16 : 0, x = l ? L : 0;
552
- i === "neo" && g.attr("data-look", "neo"), g.attr("class", "branchLabelBkg label" + a).attr("style", i === "neo" ? `filter:${l ? `url(#${r}-drop-shadow)` : s}` : "").attr("rx", y).attr("ry", y).attr("x", -v.width - 4 - (n.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -v.height / 2 + 10).attr("width", v.width + 18 + b).attr("height", v.height + 4 + x), _.attr("transform", "translate(" + (-v.width - 14 - (n.rotateCommitLabel === !0 ? 30 : 0) + b / 2) + ", " + (f - v.height / 2 - 2) + ")"), K === "TB" ? (g.attr("x", o - v.width / 2 - 10).attr("y", 0), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", 0)"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${-x - 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (-x * 2 + 7) + ")"))) : K === "BT" ? (g.attr("x", o - v.width / 2 - 10).attr("y", G), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + G + ")"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${x + 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (G + x * 2 + 4) + ")"))) : g.attr("transform", "translate(-19, " + (f - 12 - x / 2) + ")");
552
+ i === "neo" && g.attr("data-look", "neo"), g.attr("class", "branchLabelBkg label" + a).attr("style", i === "neo" ? `filter:${l ? `url(#${r}-drop-shadow)` : s}` : "").attr("rx", y).attr("ry", y).attr("x", -v.width - 4 - (n.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -v.height / 2 + 10).attr("width", v.width + 18 + b).attr("height", v.height + 4 + x), _.attr("transform", "translate(" + (-v.width - 14 - (n.rotateCommitLabel === !0 ? 30 : 0) + b / 2) + ", " + (u - v.height / 2 - 2) + ")"), K === "TB" ? (g.attr("x", o - v.width / 2 - 10).attr("y", 0), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", 0)"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${-x - 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (-x * 2 + 7) + ")"))) : K === "BT" ? (g.attr("x", o - v.width / 2 - 10).attr("y", G), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + G + ")"), l && (g.attr("transform", `translate(${-b / 2 - 3}, ${x + 10})`), _.attr("transform", "translate(" + (o - v.width / 2 - 5) + ", " + (G + x * 2 + 4) + ")"))) : g.attr("transform", "translate(-19, " + (u - 12 - x / 2) + ")");
553
553
  });
554
554
  }, "drawBranches"), ze = /* @__PURE__ */ t(function(e, t, n, r, i) {
555
555
  return B.set(e, {
@@ -565,21 +565,21 @@ var ce = /* @__PURE__ */ t(function() {
565
565
  }
566
566
  let c = o.getConfig(), l = c.rotateCommitLabel ?? !1;
567
567
  U = o.getCommits();
568
- let u = o.getBranchesAsObjArray();
568
+ let d = o.getBranchesAsObjArray();
569
569
  K = o.getDirection();
570
- let d = r(`[id="${t}"]`), { look: f, theme: p, themeVariables: h } = m(), { useGradient: _, gradientStart: v, gradientStop: y, filterColor: b } = h;
570
+ let f = r(`[id="${t}"]`), { look: p, theme: m, themeVariables: h } = u(), { useGradient: _, gradientStart: v, gradientStop: y, filterColor: b } = h;
571
571
  if (_) {
572
- let e = d.append("defs").append("linearGradient").attr("id", t + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
572
+ let e = f.append("defs").append("linearGradient").attr("id", t + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
573
573
  e.append("stop").attr("offset", "0%").attr("stop-color", v).attr("stop-opacity", 1), e.append("stop").attr("offset", "100%").attr("stop-color", y).attr("stop-opacity", 1);
574
574
  }
575
- f === "neo" && I.has(p ?? "") && d.append("defs").append("filter").attr("id", t + "-drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", b);
575
+ p === "neo" && I.has(m ?? "") && f.append("defs").append("filter").attr("id", t + "-drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", b);
576
576
  let x = 0;
577
- u.forEach((e, t) => {
578
- let n = q(e.name), r = d.append("g"), i = r.insert("g").attr("class", "branchLabel"), a = i.insert("g").attr("class", "label branch-label");
577
+ d.forEach((e, t) => {
578
+ let n = q(e.name), r = f.append("g"), i = r.insert("g").attr("class", "branchLabel"), a = i.insert("g").attr("class", "label branch-label");
579
579
  a.node()?.appendChild(n);
580
580
  let o = n.getBBox();
581
581
  x = ze(e.name, x, t, o, l), a.remove(), i.remove(), r.remove();
582
- }), Y(d, U, !1, c), c.showBranches && Re(d, u, c, t), Le(d, U), Y(d, U, !0, c), g.insertTitle(d, "gitTitleText", c.titleTopMargin ?? 0, o.getDiagramTitle()), s(void 0, d, c.diagramPadding, c.useMaxWidth);
582
+ }), Y(f, U, !1, c), c.showBranches && Re(f, d, c, t), Le(f, U), Y(f, U, !0, c), g.insertTitle(f, "gitTitleText", c.titleTopMargin ?? 0, o.getDiagramTitle()), s(void 0, f, c.diagramPadding, c.useMaxWidth);
583
583
  }, "draw") }, Z = 8, Q = /* @__PURE__ */ new Set([
584
584
  "redux",
585
585
  "redux-dark",
@@ -604,7 +604,7 @@ var ce = /* @__PURE__ */ t(function() {
604
604
  `;
605
605
  return n;
606
606
  }, "genGitGraphGradient"), Ge = /* @__PURE__ */ t((e) => {
607
- let { theme: t, themeVariables: n } = l(), { borderColorArray: r } = n, i = Q.has(t);
607
+ let { theme: t, themeVariables: n } = h(), { borderColorArray: r } = n, i = Q.has(t);
608
608
  if ($.has(t)) {
609
609
  let t = "";
610
610
  for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) if (n === 0) t += `
@@ -675,7 +675,7 @@ var ce = /* @__PURE__ */ t(function() {
675
675
  db: A,
676
676
  renderer: Be,
677
677
  styles: /* @__PURE__ */ t((e) => {
678
- let { theme: t } = l(), n = Ue.has(t);
678
+ let { theme: t } = h(), n = Ue.has(t);
679
679
  return `
680
680
  .commit-id,
681
681
  .commit-msg,
@@ -0,0 +1,3 @@
1
+ import "./chunk-NGNAAXSQ-DM0DL2MX.js";
2
+ import { w as e } from "./mermaid-parser.core-CI12FMcX.js";
3
+ export { e as createInfoServices };
@@ -0,0 +1 @@
1
+ require("./chunk-NGNAAXSQ-kHtfTQLE.cjs");const e=require("./mermaid-parser.core-BHBS1DqP.cjs");exports.createInfoServices=e.w;
@@ -0,0 +1,2 @@
1
+ const e=require("./mermaid-parser.core-BHBS1DqP.cjs"),t=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),n=require("./src-D9o9TOtH.cjs"),r=require("./chunk-VPRB5NB3-CT204jN6.cjs"),i=require("./mermaid.core-4MZ-Iwu7.cjs");var a={parse:t.n(async t=>{let r=await e.n(`info`,t);n.m.debug(r)},`parse`)},o={version:`12.1.0`},s={parser:a,db:{getVersion:t.n(()=>o.version,`getVersion`)},renderer:{draw:t.n((e,t,a)=>{n.m.debug(`rendering info diagram
2
+ `+e);let o=i.o(t);r.c(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};exports.diagram=s;
@@ -1,13 +1,13 @@
1
- import { n as e } from "./mermaid-parser.core-DLNlSmfj.js";
1
+ import { n as e } from "./mermaid-parser.core-CI12FMcX.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
3
3
  import { m as n } from "./src-Dkp7vqs8.js";
4
- import { c as r } from "./chunk-DU6HZSFF-BW30DVuW.js";
5
- import { f as i } from "./mermaid.core-DI1iFk6G.js";
6
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-FKFFQAWI.mjs
4
+ import { c as r } from "./chunk-VPRB5NB3-DJh7spRO.js";
5
+ import { o as i } from "./mermaid.core-BJkDCzqA.js";
6
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-5W2HQ5XZ.mjs
7
7
  var a = { parse: /* @__PURE__ */ t(async (t) => {
8
8
  let r = await e("info", t);
9
9
  n.debug(r);
10
- }, "parse") }, o = { version: "11.17.1" }, s = {
10
+ }, "parse") }, o = { version: "12.1.0" }, s = {
11
11
  parser: a,
12
12
  db: { getVersion: /* @__PURE__ */ t(() => o.version, "getVersion") },
13
13
  renderer: { draw: /* @__PURE__ */ t((e, t, a) => {
@@ -1,10 +1,10 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import "./src-Dkp7vqs8.js";
3
- import { H as t, K as n, U as r, a as i, c as a, s as o, v as s, w as c, x as l, y as u } from "./chunk-DU6HZSFF-BW30DVuW.js";
4
- import { p as d } from "./chunk-75Z2AOVW-DoA8rENV.js";
3
+ import { C as t, H as n, U as r, _ as i, a, b as o, c as s, q as c, s as l, v as u } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { m as d } from "./chunk-3YJQHVM4-BNbfg-7y.js";
5
5
  import { t as f } from "./rough.esm-D2JJJ0Ot.js";
6
- import { f as p } from "./mermaid.core-DI1iFk6G.js";
7
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-5VMMS53U.mjs
6
+ import { o as p } from "./mermaid.core-BJkDCzqA.js";
7
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-K3B6WC7H.mjs
8
8
  var m = (function() {
9
9
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
10
10
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -424,33 +424,33 @@ var h = m, g = class {
424
424
  e(this, "IshikawaDB");
425
425
  }
426
426
  clear() {
427
- this.root = void 0, this.stack = [], this.baseLevel = void 0, i();
427
+ this.root = void 0, this.stack = [], this.baseLevel = void 0, a();
428
428
  }
429
429
  getRoot() {
430
430
  return this.root;
431
431
  }
432
432
  addNode(e, t) {
433
- let r = o.sanitizeText(t, l());
433
+ let n = l.sanitizeText(t, o());
434
434
  if (!this.root) {
435
435
  this.root = {
436
- text: r,
436
+ text: n,
437
437
  children: []
438
438
  }, this.stack = [{
439
439
  level: 0,
440
440
  node: this.root
441
- }], n(r);
441
+ }], c(n);
442
442
  return;
443
443
  }
444
444
  this.baseLevel ??= e;
445
- let i = e - this.baseLevel + 1;
446
- for (i <= 0 && (i = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= i;) this.stack.pop();
447
- let a = this.stack[this.stack.length - 1].node, s = {
448
- text: r,
445
+ let r = e - this.baseLevel + 1;
446
+ for (r <= 0 && (r = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= r;) this.stack.pop();
447
+ let i = this.stack[this.stack.length - 1].node, a = {
448
+ text: n,
449
449
  children: []
450
450
  };
451
- a.children.push(s), this.stack.push({
452
- level: i,
453
- node: s
451
+ i.children.push(a), this.stack.push({
452
+ level: r,
453
+ node: a
454
454
  });
455
455
  }
456
456
  getAccTitle() {
@@ -460,28 +460,28 @@ var h = m, g = class {
460
460
  r(e);
461
461
  }
462
462
  getAccDescription() {
463
- return s();
463
+ return i();
464
464
  }
465
465
  setAccDescription(e) {
466
- t(e);
466
+ n(e);
467
467
  }
468
468
  getDiagramTitle() {
469
- return c();
469
+ return t();
470
470
  }
471
471
  setDiagramTitle(e) {
472
- n(e);
472
+ c(e);
473
473
  }
474
474
  }, _ = 14, v = 250, y = 30, b = 60, x = 5, S = 82 * Math.PI / 180, C = Math.cos(S), w = Math.sin(S), T = /* @__PURE__ */ e((e, t, n) => {
475
- let r = e.node().getBBox(), i = r.width + t * 2, o = r.height + t * 2;
476
- a(e, o, i, n), e.attr("viewBox", `${r.x - t} ${r.y - t} ${i} ${o}`);
475
+ let r = e.node().getBBox(), i = r.width + t * 2, a = r.height + t * 2;
476
+ s(e, a, i, n), e.attr("viewBox", `${r.x - t} ${r.y - t} ${i} ${a}`);
477
477
  }, "applyPaddedViewBox"), E = /* @__PURE__ */ e((e, t, n, r) => {
478
478
  let i = r.db.getRoot();
479
479
  if (!i) return;
480
- let a = l(), { look: o, handDrawnSeed: s, themeVariables: c } = a, u = d(a.fontSize)[0] ?? _, m = o === "handDrawn", h = i.children ?? [], g = a.ishikawa?.diagramPadding ?? 20, y = a.ishikawa?.useMaxWidth ?? !1, b = p(t), x = b.append("g").attr("class", "ishikawa"), S = m ? f.svg(b.node()) : void 0, C = S ? {
480
+ let a = o(), { look: s, handDrawnSeed: c, themeVariables: l } = a, u = d(a.fontSize)[0] ?? _, m = s === "handDrawn", h = i.children ?? [], g = a.ishikawa?.diagramPadding ?? 20, y = a.ishikawa?.useMaxWidth ?? !1, b = p(t), x = b.append("g").attr("class", "ishikawa"), S = m ? f.svg(b.node()) : void 0, C = S ? {
481
481
  roughSvg: S,
482
- seed: s ?? 0,
483
- lineColor: c?.lineColor ?? "#333",
484
- fillColor: c?.mainBkg ?? "#fff"
482
+ seed: c ?? 0,
483
+ lineColor: l?.lineColor ?? "#333",
484
+ fillColor: l?.mainBkg ?? "#fff"
485
485
  } : void 0, w = `ishikawa-arrow-${t}`;
486
486
  m || x.append("defs").append("marker").attr("id", w).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
487
487
  let E = 0, k = v, A = m ? void 0 : L(x, E, k, E, k, "ishikawa-spine");
@@ -1,9 +1,9 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./src-D9o9TOtH.cjs");const t=require("./chunk-DU6HZSFF-3Hhp3Fo5.cjs"),n=require("./chunk-75Z2AOVW-DOXS9ORa.cjs"),r=require("./rough.esm-ChRLLRha.cjs"),i=require("./mermaid.core-B3QcBB1O.cjs");var a=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim())}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},t(u,[2,18],{14:[1,21]}),t(u,[2,16]),t(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},t(d,[2,14],{7:f,11:p}),t(m,[2,8]),t(m,[2,9]),t(m,[2,10]),t(u,[2,15]),t(d,[2,13],{7:f,11:p}),t(m,[2,11]),t(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./src-D9o9TOtH.cjs");const t=require("./chunk-VPRB5NB3-CT204jN6.cjs"),n=require("./chunk-3YJQHVM4-ChvNe1M8.cjs"),r=require("./rough.esm-ChRLLRha.cjs"),i=require("./mermaid.core-4MZ-Iwu7.cjs");var a=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim())}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},t(u,[2,18],{14:[1,21]}),t(u,[2,16]),t(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},t(d,[2,14],{7:f,11:p}),t(m,[2,8]),t(m,[2,9]),t(m,[2,10]),t(u,[2,15]),t(d,[2,13],{7:f,11:p}),t(m,[2,11]),t(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};h.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){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={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.n(function(){var e=this._input[0];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},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
5
  `+t+`^`},`showPosition`),test_match:e.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},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;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);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)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e.n(function(){return this.next()||this.lex()},`lex`),begin:e.n(function(e){this.conditionStack.push(e)},`begin`),popState:e.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e.n(function(e){this.begin(e)},`pushState`),stateStackSize:e.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e.n(function(e,t,n,r){switch(n){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}}})();function g(){this.yy={}}return e.n(g,`Parser`),g.prototype=h,h.Parser=g,new g})();a.parser=a;var o=a,s=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{e.n(this,`IshikawaDB`)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,t.a()}getRoot(){return this.root}addNode(e,n){let r=t.s.sanitizeText(n,t.x());if(!this.root){this.root={text:r,children:[]},this.stack=[{level:0,node:this.root}],t.K(r);return}this.baseLevel??=e;let i=e-this.baseLevel+1;for(i<=0&&(i=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=i;)this.stack.pop();let a=this.stack[this.stack.length-1].node,o={text:r,children:[]};a.children.push(o),this.stack.push({level:i,node:o})}getAccTitle(){return t.y()}setAccTitle(e){t.U(e)}getAccDescription(){return t.v()}setAccDescription(e){t.H(e)}getDiagramTitle(){return t.w()}setDiagramTitle(e){t.K(e)}},c=14,l=250,u=30,d=60,f=5,p=82*Math.PI/180,m=Math.cos(p),h=Math.sin(p),g=e.n((e,n,r)=>{let i=e.node().getBBox(),a=i.width+n*2,o=i.height+n*2;t.c(e,o,a,r),e.attr(`viewBox`,`${i.x-n} ${i.y-n} ${a} ${o}`)},`applyPaddedViewBox`),_=e.n((e,a,o,s)=>{let u=s.db.getRoot();if(!u)return;let d=t.x(),{look:f,handDrawnSeed:p,themeVariables:m}=d,h=n.p(d.fontSize)[0]??c,_=f===`handDrawn`,b=u.children??[],x=d.ishikawa?.diagramPadding??20,S=d.ishikawa?.useMaxWidth??!1,w=i.f(a),T=w.append(`g`).attr(`class`,`ishikawa`),E=_?r.t.svg(w.node()):void 0,D=E?{roughSvg:E,seed:p??0,lineColor:m?.lineColor??`#333`,fillColor:m?.mainBkg??`#fff`}:void 0,k=`ishikawa-arrow-${a}`;_||T.append(`defs`).append(`marker`).attr(`id`,k).attr(`viewBox`,`0 0 10 10`).attr(`refX`,0).attr(`refY`,5).attr(`markerWidth`,6).attr(`markerHeight`,6).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 10 0 L 0 5 L 10 10 Z`).attr(`class`,`ishikawa-arrow`);let A=0,j=l,M=_?void 0:O(T,A,j,A,j,`ishikawa-spine`);if(y(T,A,j,u.text,h,D),!b.length){_&&O(T,A,j,A,j,`ishikawa-spine`,D),g(w,x,S);return}A-=20;let N=b.filter((e,t)=>t%2==0),P=b.filter((e,t)=>t%2==1),F=v(N),I=v(P),L=F.total+I.total,R=l,z=l;if(L>0){let e=l*2,t=l*.3;R=Math.max(t,e*(F.total/L)),z=Math.max(t,e*(I.total/L))}let B=h*2;R=Math.max(R,F.max*B),z=Math.max(z,I.max*B),j=Math.max(R,l),M&&M.attr(`y1`,j).attr(`y2`,j),T.select(`.ishikawa-head-group`).attr(`transform`,`translate(0,${j})`);let V=Math.ceil(b.length/2);for(let e=0;e<V;e++){let t=T.append(`g`).attr(`class`,`ishikawa-pair`);for(let[n,r,i]of[[b[e*2],-1,R],[b[e*2+1],1,z]])n&&C(t,n,A,j,r,i,h,D);A=t.selectAll(`text`).nodes().reduce((e,t)=>Math.min(e,t.getBBox().x),1/0)}if(_)O(T,A,j,0,j,`ishikawa-spine`,D);else{M.attr(`x1`,A);let e=`url(#${k})`;T.selectAll(`line.ishikawa-branch, line.ishikawa-sub-branch`).attr(`marker-start`,e)}g(w,x,S)},`draw`),v=e.n(t=>{let n=e.n(e=>e.children.reduce((e,t)=>e+1+n(t),0),`countDescendants`);return t.reduce((e,t)=>{let r=n(t);return e.total+=r,e.max=Math.max(e.max,r),e},{total:0,max:0})},`sideStats`),y=e.n((e,t,n,r,i,a)=>{let o=Math.max(6,Math.floor(110/(i*.6))),s=e.append(`g`).attr(`class`,`ishikawa-head-group`).attr(`transform`,`translate(${t},${n})`),c=E(s,T(r,o),0,0,`ishikawa-head-label`,`start`,i),l=c.node().getBBox(),u=Math.max(60,l.width+6),d=Math.max(40,l.height*2+40),f=`M 0 ${-d/2} L 0 ${d/2} Q ${u*2.4} 0 0 ${-d/2} Z`;if(a){let e=a.roughSvg.path(f,{roughness:1.5,seed:a.seed,fill:a.fillColor,fillStyle:`hachure`,fillWeight:2.5,hachureGap:5,stroke:a.lineColor,strokeWidth:2});s.insert(()=>e,`:first-child`).attr(`class`,`ishikawa-head`)}else s.insert(`path`,`:first-child`).attr(`class`,`ishikawa-head`).attr(`d`,f);c.attr(`transform`,`translate(${(u-l.width)/2-l.x+3},${-l.y-l.height/2})`)},`drawHead`),b=e.n((t,n)=>{let r=[],i=[],a=e.n((e,t,o)=>{let s=n===-1?[...e].reverse():e;for(let e of s){let n=r.length,s=e.children??[];r.push({depth:o,text:T(e.text,15),parentIndex:t,childCount:s.length}),o%2==0?(i.push(n),s.length&&a(s,n,o+1)):(s.length&&a(s,n,o+1),i.push(n))}},`walk`);return a(t,-1,2),{entries:r,yOrder:i}},`flattenTree`),x=e.n((e,t,n,r,i,a,o)=>{let s=e.append(`g`).attr(`class`,`ishikawa-label-group`),c=E(s,t,n,r+11*i,`ishikawa-label cause`,`middle`,a).node().getBBox();if(o){let e=o.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:o.seed,fill:o.fillColor,fillStyle:`hachure`,fillWeight:2.5,hachureGap:5,stroke:o.lineColor,strokeWidth:2});s.insert(()=>e,`:first-child`).attr(`class`,`ishikawa-label-box`)}else s.insert(`rect`,`:first-child`).attr(`class`,`ishikawa-label-box`).attr(`x`,c.x-20).attr(`y`,c.y-2).attr(`width`,c.width+40).attr(`height`,c.height+4)},`drawCauseLabel`),S=e.n((e,t,n,r,i,a)=>{let o=Math.sqrt(r*r+i*i);if(o===0)return;let s=r/o,c=i/o,l=-c*6,u=s*6,d=t,f=n,p=`M ${d} ${f} L ${d-s*6*2+l} ${f-c*6*2+u} L ${d-s*6*2-l} ${f-c*6*2-u} Z`,m=a.roughSvg.path(p,{roughness:1,seed:a.seed,fill:a.lineColor,fillStyle:`solid`,stroke:a.lineColor,strokeWidth:1});e.append(()=>m)},`drawArrowMarker`),C=e.n((e,t,n,r,i,a,o,s)=>{let c=t.children??[],l=a*(c.length?1:.2),p=-m*l,g=h*l*i,_=n+p,v=r+g;if(O(e,n,r,_,v,`ishikawa-branch`,s),s&&S(e,n,r,n-_,r-v,s),x(e,t.text,_,v,i,o,s),!c.length)return;let{entries:y,yOrder:C}=b(c,i),w=y.length,T=Array(w);for(let[e,t]of C.entries())T[t]=r+g*((e+1)/(w+1));let k=new Map;k.set(-1,{x0:n,y0:r,x1:_,y1:v,childCount:c.length,childrenDrawn:0});let A=-m,j=h*i,M=i<0?`ishikawa-label up`:`ishikawa-label down`;for(let[t,n]of y.entries()){let r=T[t],i=k.get(n.parentIndex),a=e.append(`g`).attr(`class`,`ishikawa-sub-group`),c=0,l=0,p=0;if(n.depth%2==0){let e=i.y1-i.y0;c=D(i.x0,i.x1,e?(r-i.y0)/e:.5),l=r,p=c-(n.childCount>0?d+n.childCount*f:u),O(a,c,r,p,r,`ishikawa-sub-branch`,s),s&&S(a,c,r,1,0,s),E(a,n.text,p,r,`ishikawa-label align`,`end`,o)}else{let e=i.childrenDrawn++;c=D(i.x0,i.x1,(i.childCount-e)/(i.childCount+1)),l=i.y0,p=c+A*((r-l)/j),O(a,c,l,p,r,`ishikawa-sub-branch`,s),s&&S(a,c,l,c-p,l-r,s),E(a,n.text,p,r,M,`end`,o)}n.childCount>0&&k.set(t,{x0:c,y0:l,x1:p,y1:r,childCount:n.childCount,childrenDrawn:0})}},`drawBranch`),w=e.n(e=>e.split(/<br\s*\/?>|\n/),`splitLines`),T=e.n((e,t)=>{if(e.length<=t)return e;let n=[];for(let r of e.split(/\s+/)){let e=n.length-1;e>=0&&n[e].length+1+r.length<=t?n[e]+=` `+r:n.push(r)}return n.join(`
6
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e.n(function(){return this.next()||this.lex()},`lex`),begin:e.n(function(e){this.conditionStack.push(e)},`begin`),popState:e.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e.n(function(e){this.begin(e)},`pushState`),stateStackSize:e.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e.n(function(e,t,n,r){switch(n){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}}})();function g(){this.yy={}}return e.n(g,`Parser`),g.prototype=h,h.Parser=g,new g})();a.parser=a;var o=a,s=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{e.n(this,`IshikawaDB`)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,t.a()}getRoot(){return this.root}addNode(e,n){let r=t.s.sanitizeText(n,t.b());if(!this.root){this.root={text:r,children:[]},this.stack=[{level:0,node:this.root}],t.q(r);return}this.baseLevel??=e;let i=e-this.baseLevel+1;for(i<=0&&(i=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=i;)this.stack.pop();let a=this.stack[this.stack.length-1].node,o={text:r,children:[]};a.children.push(o),this.stack.push({level:i,node:o})}getAccTitle(){return t.v()}setAccTitle(e){t.U(e)}getAccDescription(){return t._()}setAccDescription(e){t.H(e)}getDiagramTitle(){return t.C()}setDiagramTitle(e){t.q(e)}},c=14,l=250,u=30,d=60,f=5,p=82*Math.PI/180,m=Math.cos(p),h=Math.sin(p),g=e.n((e,n,r)=>{let i=e.node().getBBox(),a=i.width+n*2,o=i.height+n*2;t.c(e,o,a,r),e.attr(`viewBox`,`${i.x-n} ${i.y-n} ${a} ${o}`)},`applyPaddedViewBox`),_=e.n((e,a,o,s)=>{let u=s.db.getRoot();if(!u)return;let d=t.b(),{look:f,handDrawnSeed:p,themeVariables:m}=d,h=n.m(d.fontSize)[0]??c,_=f===`handDrawn`,b=u.children??[],x=d.ishikawa?.diagramPadding??20,S=d.ishikawa?.useMaxWidth??!1,w=i.o(a),T=w.append(`g`).attr(`class`,`ishikawa`),E=_?r.t.svg(w.node()):void 0,D=E?{roughSvg:E,seed:p??0,lineColor:m?.lineColor??`#333`,fillColor:m?.mainBkg??`#fff`}:void 0,k=`ishikawa-arrow-${a}`;_||T.append(`defs`).append(`marker`).attr(`id`,k).attr(`viewBox`,`0 0 10 10`).attr(`refX`,0).attr(`refY`,5).attr(`markerWidth`,6).attr(`markerHeight`,6).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 10 0 L 0 5 L 10 10 Z`).attr(`class`,`ishikawa-arrow`);let A=0,j=l,M=_?void 0:O(T,A,j,A,j,`ishikawa-spine`);if(y(T,A,j,u.text,h,D),!b.length){_&&O(T,A,j,A,j,`ishikawa-spine`,D),g(w,x,S);return}A-=20;let N=b.filter((e,t)=>t%2==0),P=b.filter((e,t)=>t%2==1),F=v(N),I=v(P),L=F.total+I.total,R=l,z=l;if(L>0){let e=l*2,t=l*.3;R=Math.max(t,e*(F.total/L)),z=Math.max(t,e*(I.total/L))}let B=h*2;R=Math.max(R,F.max*B),z=Math.max(z,I.max*B),j=Math.max(R,l),M&&M.attr(`y1`,j).attr(`y2`,j),T.select(`.ishikawa-head-group`).attr(`transform`,`translate(0,${j})`);let V=Math.ceil(b.length/2);for(let e=0;e<V;e++){let t=T.append(`g`).attr(`class`,`ishikawa-pair`);for(let[n,r,i]of[[b[e*2],-1,R],[b[e*2+1],1,z]])n&&C(t,n,A,j,r,i,h,D);A=t.selectAll(`text`).nodes().reduce((e,t)=>Math.min(e,t.getBBox().x),1/0)}if(_)O(T,A,j,0,j,`ishikawa-spine`,D);else{M.attr(`x1`,A);let e=`url(#${k})`;T.selectAll(`line.ishikawa-branch, line.ishikawa-sub-branch`).attr(`marker-start`,e)}g(w,x,S)},`draw`),v=e.n(t=>{let n=e.n(e=>e.children.reduce((e,t)=>e+1+n(t),0),`countDescendants`);return t.reduce((e,t)=>{let r=n(t);return e.total+=r,e.max=Math.max(e.max,r),e},{total:0,max:0})},`sideStats`),y=e.n((e,t,n,r,i,a)=>{let o=Math.max(6,Math.floor(110/(i*.6))),s=e.append(`g`).attr(`class`,`ishikawa-head-group`).attr(`transform`,`translate(${t},${n})`),c=E(s,T(r,o),0,0,`ishikawa-head-label`,`start`,i),l=c.node().getBBox(),u=Math.max(60,l.width+6),d=Math.max(40,l.height*2+40),f=`M 0 ${-d/2} L 0 ${d/2} Q ${u*2.4} 0 0 ${-d/2} Z`;if(a){let e=a.roughSvg.path(f,{roughness:1.5,seed:a.seed,fill:a.fillColor,fillStyle:`hachure`,fillWeight:2.5,hachureGap:5,stroke:a.lineColor,strokeWidth:2});s.insert(()=>e,`:first-child`).attr(`class`,`ishikawa-head`)}else s.insert(`path`,`:first-child`).attr(`class`,`ishikawa-head`).attr(`d`,f);c.attr(`transform`,`translate(${(u-l.width)/2-l.x+3},${-l.y-l.height/2})`)},`drawHead`),b=e.n((t,n)=>{let r=[],i=[],a=e.n((e,t,o)=>{let s=n===-1?[...e].reverse():e;for(let e of s){let n=r.length,s=e.children??[];r.push({depth:o,text:T(e.text,15),parentIndex:t,childCount:s.length}),o%2==0?(i.push(n),s.length&&a(s,n,o+1)):(s.length&&a(s,n,o+1),i.push(n))}},`walk`);return a(t,-1,2),{entries:r,yOrder:i}},`flattenTree`),x=e.n((e,t,n,r,i,a,o)=>{let s=e.append(`g`).attr(`class`,`ishikawa-label-group`),c=E(s,t,n,r+11*i,`ishikawa-label cause`,`middle`,a).node().getBBox();if(o){let e=o.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:o.seed,fill:o.fillColor,fillStyle:`hachure`,fillWeight:2.5,hachureGap:5,stroke:o.lineColor,strokeWidth:2});s.insert(()=>e,`:first-child`).attr(`class`,`ishikawa-label-box`)}else s.insert(`rect`,`:first-child`).attr(`class`,`ishikawa-label-box`).attr(`x`,c.x-20).attr(`y`,c.y-2).attr(`width`,c.width+40).attr(`height`,c.height+4)},`drawCauseLabel`),S=e.n((e,t,n,r,i,a)=>{let o=Math.sqrt(r*r+i*i);if(o===0)return;let s=r/o,c=i/o,l=-c*6,u=s*6,d=t,f=n,p=`M ${d} ${f} L ${d-s*6*2+l} ${f-c*6*2+u} L ${d-s*6*2-l} ${f-c*6*2-u} Z`,m=a.roughSvg.path(p,{roughness:1,seed:a.seed,fill:a.lineColor,fillStyle:`solid`,stroke:a.lineColor,strokeWidth:1});e.append(()=>m)},`drawArrowMarker`),C=e.n((e,t,n,r,i,a,o,s)=>{let c=t.children??[],l=a*(c.length?1:.2),p=-m*l,g=h*l*i,_=n+p,v=r+g;if(O(e,n,r,_,v,`ishikawa-branch`,s),s&&S(e,n,r,n-_,r-v,s),x(e,t.text,_,v,i,o,s),!c.length)return;let{entries:y,yOrder:C}=b(c,i),w=y.length,T=Array(w);for(let[e,t]of C.entries())T[t]=r+g*((e+1)/(w+1));let k=new Map;k.set(-1,{x0:n,y0:r,x1:_,y1:v,childCount:c.length,childrenDrawn:0});let A=-m,j=h*i,M=i<0?`ishikawa-label up`:`ishikawa-label down`;for(let[t,n]of y.entries()){let r=T[t],i=k.get(n.parentIndex),a=e.append(`g`).attr(`class`,`ishikawa-sub-group`),c=0,l=0,p=0;if(n.depth%2==0){let e=i.y1-i.y0;c=D(i.x0,i.x1,e?(r-i.y0)/e:.5),l=r,p=c-(n.childCount>0?d+n.childCount*f:u),O(a,c,r,p,r,`ishikawa-sub-branch`,s),s&&S(a,c,r,1,0,s),E(a,n.text,p,r,`ishikawa-label align`,`end`,o)}else{let e=i.childrenDrawn++;c=D(i.x0,i.x1,(i.childCount-e)/(i.childCount+1)),l=i.y0,p=c+A*((r-l)/j),O(a,c,l,p,r,`ishikawa-sub-branch`,s),s&&S(a,c,l,c-p,l-r,s),E(a,n.text,p,r,M,`end`,o)}n.childCount>0&&k.set(t,{x0:c,y0:l,x1:p,y1:r,childCount:n.childCount,childrenDrawn:0})}},`drawBranch`),w=e.n(e=>e.split(/<br\s*\/?>|\n/),`splitLines`),T=e.n((e,t)=>{if(e.length<=t)return e;let n=[];for(let r of e.split(/\s+/)){let e=n.length-1;e>=0&&n[e].length+1+r.length<=t?n[e]+=` `+r:n.push(r)}return n.join(`
7
7
  `)},`wrapText`),E=e.n((e,t,n,r,i,a,o)=>{let s=w(t),c=o*1.05,l=e.append(`text`).attr(`class`,i).attr(`text-anchor`,a).attr(`x`,n).attr(`y`,r-(s.length-1)*c/2);for(let[e,t]of s.entries())l.append(`tspan`).attr(`x`,n).attr(`dy`,e===0?0:c).text(t);return l},`drawMultilineText`),D=e.n((e,t,n)=>e+(t-e)*n,`lerp`),O=e.n((e,t,n,r,i,a,o)=>{if(o){let s=o.roughSvg.line(t,n,r,i,{roughness:1.5,seed:o.seed,stroke:o.lineColor,strokeWidth:2});e.append(()=>s).attr(`class`,a);return}return e.append(`line`).attr(`class`,a).attr(`x1`,t).attr(`y1`,n).attr(`x2`,r).attr(`y2`,i)},`drawLine`),k={parser:o,get db(){return new s},renderer:{draw:_},styles:e.n(e=>`
8
8
  .ishikawa .ishikawa-spine,
9
9
  .ishikawa .ishikawa-branch,
@@ -1,10 +1,10 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { p as t } from "./src-Dkp7vqs8.js";
3
- import { H as n, K as r, U as i, a, c as o, v as s, w as c, x as l, y as u } from "./chunk-DU6HZSFF-BW30DVuW.js";
3
+ import { C as n, H as r, U as i, _ as a, a as o, b as s, c, q as l, v as u } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
4
  import { t as d } from "./arc-CLGGhOeW.js";
5
5
  import { t as f } from "./chunk-5VM5RSS4-BMfgdMFU.js";
6
- import { a as p, n as m, o as h, s as g } from "./chunk-F27PBJKO-s9M3oGHp.js";
7
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-EYS64GPL.mjs
6
+ import { a as p, n as m, o as h, s as g } from "./chunk-7TKQ45FW-CD1KuemG.js";
7
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-COXZFDF6.mjs
8
8
  var _ = (function() {
9
9
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
10
10
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -449,7 +449,7 @@ var _ = (function() {
449
449
  })();
450
450
  _.parser = _;
451
451
  var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
452
- b.length = 0, x.length = 0, y = "", S.length = 0, a();
452
+ b.length = 0, x.length = 0, y = "", S.length = 0, o();
453
453
  }, "clear"), w = /* @__PURE__ */ e(function(e) {
454
454
  y = e, b.push(e);
455
455
  }, "addSection"), T = /* @__PURE__ */ e(function() {
@@ -490,14 +490,14 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
490
490
  for (let [e, r] of S.entries()) t(e), n &&= r.processed;
491
491
  return n;
492
492
  }, "compileTasks"), j = {
493
- getConfig: /* @__PURE__ */ e(() => l().journey, "getConfig"),
493
+ getConfig: /* @__PURE__ */ e(() => s().journey, "getConfig"),
494
494
  clear: C,
495
- setDiagramTitle: r,
496
- getDiagramTitle: c,
495
+ setDiagramTitle: l,
496
+ getDiagramTitle: n,
497
497
  setAccTitle: i,
498
498
  getAccTitle: u,
499
- setAccDescription: n,
500
- getAccDescription: s,
499
+ setAccDescription: r,
500
+ getAccDescription: a,
501
501
  addSection: w,
502
502
  getSections: T,
503
503
  getTasks: E,
@@ -556,7 +556,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
556
556
  fill: ${e.arrowheadColor};
557
557
  }
558
558
 
559
- .edgePath .path {
559
+ .edgePaths .path {
560
560
  stroke: ${e.lineColor};
561
561
  stroke-width: 1.5px;
562
562
  }
@@ -738,7 +738,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
738
738
  });
739
739
  }, "setConf"), G = {}, K = 0;
740
740
  function q(e) {
741
- let t = l().journey, n = t.maxLabelWidth;
741
+ let t = s().journey, n = t.maxLabelWidth;
742
742
  K = 0;
743
743
  let r = 60;
744
744
  Object.keys(G).forEach((i) => {
@@ -781,8 +781,8 @@ function q(e) {
781
781
  });
782
782
  }
783
783
  e(q, "drawActorLegend");
784
- var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
785
- let a = l(), s = a.journey.titleColor, c = a.journey.titleFontSize, u = a.journey.titleFontFamily, d = a.securityLevel, f;
784
+ var J = s().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
785
+ let a = s(), o = a.journey.titleColor, l = a.journey.titleFontSize, u = a.journey.titleFontFamily, d = a.securityLevel, f;
786
786
  d === "sandbox" && (f = t("#i" + n));
787
787
  let p = t(d === "sandbox" ? f.nodes()[0].contentDocument.body : "body");
788
788
  X.init();
@@ -798,9 +798,9 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
798
798
  }, v++;
799
799
  }), q(m), Y = J.leftMargin + K, X.insert(0, 0, Y, Object.keys(G).length * 50), te(m, h, 0, n);
800
800
  let y = X.getBounds();
801
- g && m.append("text").text(g).attr("x", Y).attr("font-size", c).attr("font-weight", "bold").attr("y", 25).attr("fill", s).attr("font-family", u);
801
+ g && m.append("text").text(g).attr("x", Y).attr("font-size", l).attr("font-weight", "bold").attr("y", 25).attr("fill", o).attr("font-family", u);
802
802
  let b = y.stopy - y.starty + 2 * J.diagramMarginY, x = Y + y.stopx + 2 * J.diagramMarginX;
803
- o(m, b, x, J.useMaxWidth), m.append("line").attr("x1", Y).attr("y1", J.height * 4).attr("x2", x - Y - 4).attr("y2", J.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + n + "-arrowhead)");
803
+ c(m, b, x, J.useMaxWidth), m.append("line").attr("x1", Y).attr("y1", J.height * 4).attr("x2", x - Y - 4).attr("y2", J.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + n + "-arrowhead)");
804
804
  let S = g ? 70 : 0;
805
805
  m.attr("viewBox", `${y.startx} -25 ${x} ${b + S}`), m.attr("preserveAspectRatio", "xMinYMin meet"), m.attr("height", b + S + 25);
806
806
  }, "draw"), X = {
@@ -824,15 +824,15 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
824
824
  e[t] = e[t] === void 0 ? n : r(n, e[t]);
825
825
  }, "updateVal"),
826
826
  updateBounds: /* @__PURE__ */ e(function(t, n, r, i) {
827
- let a = l().journey, o = this, s = 0;
828
- function c(c) {
827
+ let a = s().journey, o = this, c = 0;
828
+ function l(s) {
829
829
  return /* @__PURE__ */ e(function(e) {
830
- s++;
831
- let l = o.sequenceItems.length - s + 1;
832
- o.updateVal(e, "starty", n - l * a.boxMargin, Math.min), o.updateVal(e, "stopy", i + l * a.boxMargin, Math.max), o.updateVal(X.data, "startx", t - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopx", r + l * a.boxMargin, Math.max), c !== "activation" && (o.updateVal(e, "startx", t - l * a.boxMargin, Math.min), o.updateVal(e, "stopx", r + l * a.boxMargin, Math.max), o.updateVal(X.data, "starty", n - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopy", i + l * a.boxMargin, Math.max));
830
+ c++;
831
+ let l = o.sequenceItems.length - c + 1;
832
+ o.updateVal(e, "starty", n - l * a.boxMargin, Math.min), o.updateVal(e, "stopy", i + l * a.boxMargin, Math.max), o.updateVal(X.data, "startx", t - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopx", r + l * a.boxMargin, Math.max), s !== "activation" && (o.updateVal(e, "startx", t - l * a.boxMargin, Math.min), o.updateVal(e, "stopx", r + l * a.boxMargin, Math.max), o.updateVal(X.data, "starty", n - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopy", i + l * a.boxMargin, Math.max));
833
833
  }, "updateItemBounds");
834
834
  }
835
- e(c, "updateFn"), this.sequenceItems.forEach(c());
835
+ e(l, "updateFn"), this.sequenceItems.forEach(l());
836
836
  }, "updateBounds"),
837
837
  insert: /* @__PURE__ */ e(function(e, t, n, r) {
838
838
  let i = Math.min(e, n), a = Math.max(e, n), o = Math.min(t, r), s = Math.max(t, r);
@@ -848,25 +848,25 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
848
848
  return this.data;
849
849
  }, "getBounds")
850
850
  }, Z = J.sectionFills, Q = J.sectionColours, te = /* @__PURE__ */ e(function(e, t, n, r) {
851
- let i = l().journey, a = "", o = n + (i.height * 2 + i.diagramMarginY), s = 0, c = "#CCC", u = "black", d = 0;
852
- for (let [n, l] of t.entries()) {
853
- if (a !== l.section) {
854
- c = Z[s % Z.length], d = s % Z.length, u = Q[s % Q.length];
855
- let r = 0, o = l.section;
851
+ let i = s().journey, a = "", o = n + (i.height * 2 + i.diagramMarginY), c = 0, l = "#CCC", u = "black", d = 0;
852
+ for (let [n, s] of t.entries()) {
853
+ if (a !== s.section) {
854
+ l = Z[c % Z.length], d = c % Z.length, u = Q[c % Q.length];
855
+ let r = 0, o = s.section;
856
856
  for (let e = n; e < t.length && t[e].section == o; e++) r += 1;
857
857
  let f = {
858
858
  x: n * i.taskMargin + n * i.width + Y,
859
859
  y: 50,
860
- text: l.section,
861
- fill: c,
860
+ text: s.section,
861
+ fill: l,
862
862
  num: d,
863
863
  colour: u,
864
864
  taskCount: r
865
865
  };
866
- U.drawSection(e, f, i), a = l.section, s++;
866
+ U.drawSection(e, f, i), a = s.section, c++;
867
867
  }
868
- let f = l.people.reduce((e, t) => (G[t] && (e[t] = G[t]), e), {});
869
- l.x = n * i.taskMargin + n * i.width + Y, l.y = o, l.width = i.diagramMarginX, l.height = i.diagramMarginY, l.colour = u, l.fill = c, l.num = d, l.actors = f, U.drawTask(e, l, i, r), X.insert(l.x, l.y, l.x + l.width + i.taskMargin, 450);
868
+ let f = s.people.reduce((e, t) => (G[t] && (e[t] = G[t]), e), {});
869
+ s.x = n * i.taskMargin + n * i.width + Y, s.y = o, s.width = i.diagramMarginX, s.height = i.diagramMarginY, s.colour = u, s.fill = l, s.num = d, s.actors = f, U.drawTask(e, s, i, r), X.insert(s.x, s.y, s.x + s.width + i.taskMargin, 450);
870
870
  }
871
871
  }, "drawTasks"), $ = {
872
872
  setConf: W,