@pi-outpost/embed 0.15.0 → 0.16.1

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 (344) hide show
  1. package/dist/PdfViewer-BEdoeHbS.cjs +1 -0
  2. package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
  3. package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
  4. package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
  5. package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
  6. package/dist/arc-Dh2Zrypi.cjs +1 -0
  7. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
  8. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
  9. package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
  10. package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
  11. package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
  12. package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
  13. package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
  14. package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
  15. package/dist/c-AHDGPWiJ.cjs +1 -0
  16. package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
  17. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
  18. package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
  19. package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
  20. package/dist/channel-DcrLLvcO.cjs +1 -0
  21. package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
  22. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
  23. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
  24. package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
  25. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
  26. package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
  27. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
  28. package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
  29. package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
  30. package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
  31. package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
  32. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
  33. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
  34. package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
  35. package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
  36. package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
  37. package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
  38. package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
  39. package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
  40. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
  41. package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
  42. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
  43. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
  44. package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
  45. package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
  46. package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
  47. package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
  48. package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
  49. package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
  50. package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
  51. package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
  52. package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
  53. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
  54. package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
  55. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
  56. package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
  57. package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
  58. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
  59. package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
  60. package/dist/core-BrupIPpc.cjs +3 -0
  61. package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
  62. package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
  63. package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
  64. package/dist/cpp-DpAsh4uT.cjs +1 -0
  65. package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
  66. package/dist/csharp-TOr_W-v9.cjs +1 -0
  67. package/dist/css-4wogsuks.cjs +1 -0
  68. package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
  69. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
  70. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
  71. package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
  72. package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
  73. package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
  74. package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
  75. package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
  76. package/dist/dagre-EEW2OxRU.cjs +1 -0
  77. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
  78. package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
  79. package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
  80. package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
  81. package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
  82. package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
  83. package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
  84. package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
  85. package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
  86. package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
  87. package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
  88. package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
  89. package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
  90. package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
  91. package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
  92. package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
  93. package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
  94. package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
  95. package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
  96. package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
  97. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
  98. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
  99. package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
  100. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
  101. package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
  102. package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
  103. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
  104. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
  105. package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
  106. package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
  107. package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
  108. package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
  109. package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
  110. package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
  111. package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
  112. package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
  113. package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
  114. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
  115. package/dist/init-BJdqMO10.cjs +1 -0
  116. package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
  117. package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
  118. package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
  119. package/dist/java-DFBMvIUR.cjs +1 -0
  120. package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
  121. package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
  122. package/dist/javascript-Gn0piXHk.cjs +1 -0
  123. package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
  124. package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
  125. package/dist/json-DOqjN5nI.js +42 -0
  126. package/dist/json-LMrXTXZM.cjs +1 -0
  127. package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
  128. package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
  129. package/dist/katex-CEF6MvLx.cjs +257 -0
  130. package/dist/katex-ohtLbxXc.js +21977 -0
  131. package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
  132. package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
  133. package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
  134. package/dist/linear-Nt9BuHfn.cjs +1 -0
  135. package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
  136. package/dist/markdown-CTkHoGys.cjs +1 -0
  137. package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
  138. package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
  139. package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
  140. package/dist/mermaid.core-BIqYA7q2.js +3012 -0
  141. package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
  142. package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
  143. package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
  144. package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
  145. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
  146. package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
  147. package/dist/path-DIS6ck99.cjs +1 -0
  148. package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
  149. package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
  150. package/dist/pdf-cYqATYeW.cjs +54 -0
  151. package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
  152. package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
  153. package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
  154. package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
  155. package/dist/pi-outpost-embed.cjs +62 -62
  156. package/dist/pi-outpost-embed.js +5192 -5152
  157. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
  158. package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
  159. package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
  160. package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
  161. package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
  162. package/dist/python-CrsffQw-.cjs +1 -0
  163. package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
  164. package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
  165. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
  166. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
  167. package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
  168. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
  169. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
  170. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
  171. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
  172. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
  173. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
  174. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
  175. package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
  176. package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
  177. package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
  178. package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
  179. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  180. package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
  181. package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
  182. package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
  183. package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
  184. package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
  185. package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
  186. package/dist/rust-D39kF6re.cjs +1 -0
  187. package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
  188. package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
  189. package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
  190. package/dist/scss-t-vKjRr4.cjs +1 -0
  191. package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
  192. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
  193. package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
  194. package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
  195. package/dist/src-D9o9TOtH.cjs +1 -0
  196. package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
  197. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
  198. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
  199. package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
  200. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
  201. package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
  202. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
  203. package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
  204. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
  205. package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
  206. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
  207. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
  208. package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
  209. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
  210. package/dist/typescript-BarIi8q9.cjs +1 -0
  211. package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
  212. package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
  213. package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
  214. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
  215. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
  216. package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
  217. package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
  218. package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
  219. package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
  220. package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
  221. package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
  222. package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
  223. package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
  224. package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
  225. package/dist/yaml-DZS9gzaB.cjs +1 -0
  226. package/package.json +2 -2
  227. package/dist/PdfViewer-BBmVq73v.cjs +0 -1
  228. package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
  229. package/dist/arc-DcUn9_NX.cjs +0 -1
  230. package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
  231. package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
  232. package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
  233. package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
  234. package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
  235. package/dist/c-4QgYfi8K.cjs +0 -1
  236. package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
  237. package/dist/channel-DoxF0tZj.cjs +0 -1
  238. package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
  239. package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
  240. package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
  241. package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
  242. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
  243. package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
  244. package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
  245. package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
  246. package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
  247. package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
  248. package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
  249. package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
  250. package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
  251. package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
  252. package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
  253. package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
  254. package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
  255. package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
  256. package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
  257. package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
  258. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
  259. package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
  260. package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
  261. package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
  262. package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
  263. package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
  264. package/dist/core-2nR1zkKb.cjs +0 -3
  265. package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
  266. package/dist/cpp-BUtp-HE2.cjs +0 -1
  267. package/dist/csharp-BJu4kEpt.cjs +0 -1
  268. package/dist/css-DeFr0lev.cjs +0 -1
  269. package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
  270. package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
  271. package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
  272. package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
  273. package/dist/dagre-BBlCxSvR.cjs +0 -1
  274. package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
  275. package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
  276. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  277. package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
  278. package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
  279. package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
  280. package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
  281. package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
  282. package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
  283. package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
  284. package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
  285. package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
  286. package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
  287. package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
  288. package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
  289. package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
  290. package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
  291. package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
  292. package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
  293. package/dist/init-07zIhv_j.cjs +0 -1
  294. package/dist/java-CUN_usaq.cjs +0 -1
  295. package/dist/javascript-UZXSyUuu.cjs +0 -1
  296. package/dist/json-Cp01TR_B.js +0 -36
  297. package/dist/json-usH_MUzR.cjs +0 -1
  298. package/dist/linear-Cl2-QuPP.cjs +0 -1
  299. package/dist/map-CwPlMWPw.cjs +0 -1
  300. package/dist/map-DU12fF3s.js +0 -241
  301. package/dist/markdown-qeo95R0i.cjs +0 -1
  302. package/dist/mermaid.core-BIq27e0A.js +0 -1068
  303. package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
  304. package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
  305. package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
  306. package/dist/path-Kklx0M1v.cjs +0 -1
  307. package/dist/pdf-aU0TN69t.cjs +0 -54
  308. package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
  309. package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
  310. package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
  311. package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
  312. package/dist/python-BYJzTRkK.cjs +0 -1
  313. package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
  314. package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
  315. package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
  316. package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
  317. package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
  318. package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
  319. package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
  320. package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
  321. package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
  322. package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
  323. package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
  324. package/dist/rust-ghVvEWhm.cjs +0 -1
  325. package/dist/scss-CKxh5HRg.cjs +0 -1
  326. package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
  327. package/dist/src-CR--T_NF.cjs +0 -1
  328. package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
  329. package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
  330. package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
  331. package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
  332. package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
  333. package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
  334. package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
  335. package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
  336. package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
  337. package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
  338. package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
  339. package/dist/typescript-clWeqIBY.cjs +0 -1
  340. package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
  341. package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
  342. package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
  343. package/dist/yaml-bAgWofBg.cjs +0 -1
  344. /package/dist/{sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs → sizeCapture-INFHLROL-bJ2ZX4Du.cjs} +0 -0
@@ -1,62 +0,0 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-I66GZJ75-CrpH-Rmq.cjs"),r=require("./chunk-NSK5VX7P-D5CepZHI.cjs"),i=require("./chunk-4I5QYGJK-LCSWSJfh.cjs"),a=require("./chunk-WRU74C26-9KZxhHnn.cjs"),o=require("./chunk-UBXNYLIW-DlNyCWjj.cjs"),s=require("./chunk-W5SLKNZC-bHBkM2CL.cjs"),c=require("./rough.esm-r0QOSzHM.cjs");var l=e.n(async(e,i,s)=>{let c,l=i.useHtmlLabels||n.g(n.x()?.htmlLabels);c=s||`node default`;let u=e.insert(`g`).attr(`class`,c).attr(`id`,i.domId||i.id),d=u.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),f;f=i.label===void 0?``:typeof i.label==`string`?i.label:i.label[0];let p=!!i.icon||!!i.img,m=i.labelType===`markdown`,h=await a.n(d,n.z(r.a(f),n.x()),{useHtmlLabels:l,width:i.width||n.x().flowchart?.wrappingWidth,classes:m?`markdown-node-label`:``,style:i.labelStyle,addSvgBackground:p,markdown:m},n.x()),g=h.getBBox(),_=(i?.padding??0)/2;if(l){let e=h.children[0],n=t.p(h);await o.t(e,f),g=e.getBoundingClientRect(),n.attr(`width`,g.width),n.attr(`height`,g.height)}return l?d.attr(`transform`,`translate(`+-g.width/2+`, `+-g.height/2+`)`):d.attr(`transform`,`translate(0, `+-g.height/2+`)`),i.centerLabel&&d.attr(`transform`,`translate(`+-g.width/2+`, `+-g.height/2+`)`),d.insert(`rect`,`:first-child`),{shapeSvg:u,bbox:g,halfPadding:_,label:d}},`labelHelper`),u=e.n(async(e,i,o)=>{let s=o.useHtmlLabels??n.T(n.x()),c=e.insert(`g`).attr(`class`,`label`).attr(`style`,o.labelStyle||``),l=await a.n(c,n.z(r.a(i),n.x()),{useHtmlLabels:s,width:o.width||n.x()?.flowchart?.wrappingWidth,style:o.labelStyle,addSvgBackground:!!o.icon||!!o.img}),u=l.getBBox(),d=o.padding/2;if(n.T(n.x())){let e=l.children[0],n=t.p(l);u=e.getBoundingClientRect(),n.attr(`width`,u.width),n.attr(`height`,u.height)}return s?c.attr(`transform`,`translate(`+-u.width/2+`, `+-u.height/2+`)`):c.attr(`transform`,`translate(0, `+-u.height/2+`)`),o.centerLabel&&c.attr(`transform`,`translate(`+-u.width/2+`, `+-u.height/2+`)`),c.insert(`rect`,`:first-child`),{shapeSvg:e,bbox:u,halfPadding:d,label:c}},`insertLabel`),d=e.n((e,t)=>{let n=t.node().getBBox();e.width=n.width,e.height=n.height},`updateNodeBounds`),f=e.n((e,t)=>(e.look===`handDrawn`?`rough-node`:`node`)+` `+e.cssClasses+` `+(t||``),`getNodeClasses`);function p(e){let t=e.map((e,t)=>`${t===0?`M`:`L`}${e.x},${e.y}`);return t.push(`Z`),t.join(` `)}e.n(p,`createPathFromPoints`);function m(e,t,n,r,i,a){let o=[],s=n-e,c=r-t,l=s/a,u=2*Math.PI/l,d=t+c/2;for(let t=0;t<=50;t++){let n=e+t/50*s,r=d+i*Math.sin(u*(n-e));o.push({x:n,y:r})}return o}e.n(m,`generateFullSineWavePoints`);function h(e,t,n,r,i,a){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(h,`generateCirclePoints`);function g(t){let n=Array.from(t.childNodes).filter(e=>e.tagName===`path`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),i=n.map(e=>e.getAttribute(`d`)).filter(e=>e!==null).join(` `);r.setAttribute(`d`,i);let a=n.find(e=>e.getAttribute(`fill`)!==`none`),o=n.find(e=>e.getAttribute(`stroke`)!==`none`),s=e.n((e,t)=>e?.getAttribute(t)??void 0,`getAttr`);if(a){let e={fill:s(a,`fill`),"fill-opacity":s(a,`fill-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}if(o){let e={stroke:s(o,`stroke`),"stroke-width":s(o,`stroke-width`)??`1`,"stroke-opacity":s(o,`stroke-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}let c=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return c.appendChild(r),c}e.n(g,`mergePaths`);var _=e.n((e,t)=>{var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2,c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=a===0?0:s*i/a,l=s):(i<0&&(o=-o),c=o,l=i===0?0:o*a/i),{x:n+c,y:r+l}},`intersectRect`),v=e.n(async(e,t,r,i=!1,o=!1)=>{let s=t||``;typeof s==`object`&&(s=s[0]);let c=n.x(),l=n.T(c);return await a.n(e,s,{style:r,isTitle:i,useHtmlLabels:l,markdown:!1,isNode:o,width:1/0},c)},`createLabel`),y=e.n((e,t,n,r,i)=>[`M`,e+i,t,`H`,e+n-i,`A`,i,i,0,0,1,e+n,t+i,`V`,t+r-i,`A`,i,i,0,0,1,e+n-i,t+r,`H`,e+i,`A`,i,i,0,0,1,e,t+r-i,`V`,t+i,`A`,i,i,0,0,1,e+i,t,`Z`].join(` `),`createRoundedRectPathD`),b=e.n(async(e,r)=>{let i=n.x(),{themeVariables:o,handDrawnSeed:l}=i,{clusterBkg:u,clusterBorder:d}=o,f=d,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),v=e.insert(`g`).attr(`class`,`cluster swimlane `+(r.cssClasses||``)).attr(`id`,r.id).attr(`data-id`,r.id).attr(`data-et`,`cluster`).attr(`data-look`,r.look),y=n.g(i.flowchart.htmlLabels),b=r.direction===`LR`,x=v.insert(`g`).attr(`class`,`cluster-label swimlane-label`),S=await a.n(x,r.label,{style:r.labelStyle,useHtmlLabels:y,isNode:!0,width:r.width}),C=S.getBBox();if(y){let e=S.children[0],n=t.p(S);C=e.getBoundingClientRect(),n.attr(`width`,C.width),n.attr(`height`,C.height)}let w=r.padding??0,T=r.width<=C.width+w?C.width+w:r.width;r.width<=C.width+w?r.diff=(T-r.width)/2-w:r.diff=-w;let E=r.height,D=r.y-E/2,O=r.y+E/2,k=r.x-T/2,A=r.swimlaneContentTop===void 0?D+E/3:r.swimlaneContentTop,j=b?4:0,M=C.height+2*j,N,P;if(b){let e=Math.max(M,C.height+2*j),t=k+e,n=Math.max(0,T-e);if(r.look===`handDrawn`){let i=c.t.svg(v),a=s.a(r,{roughness:.7,fill:u,stroke:f,fillWeight:3,seed:l}),o=s.a(r,{roughness:.7,fill:`none`,stroke:f,seed:l}),d=i.rectangle(k,D,e,E,a);N=v.insert(()=>d,`:first-child`);let p=i.rectangle(t,D,n,E,o);P=v.insert(()=>p,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),N.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,m).attr(`x`,k).attr(`y`,D).attr(`width`,e).attr(`height`,E).attr(`fill`,u).attr(`stroke`,f),P.attr(`class`,`swimlane-body`).attr(`style`,m).attr(`x`,t).attr(`y`,D).attr(`width`,n).attr(`height`,E).attr(`fill`,`none`).attr(`stroke`,f);let i=k+e/2,a=r.y;x.attr(`transform`,`translate(${i}, ${a}) rotate(-90) translate(${-C.width/2}, ${-C.height/2})`)}else{let e=Math.max(0,A-D),t=Math.min(M,e),n=D+t,i=Math.max(0,O-n),a=r.x-T/2;if(r.look===`handDrawn`){let e=c.t.svg(v),o=s.a(r,{roughness:.7,fill:u,stroke:f,fillWeight:3,seed:l}),d=s.a(r,{roughness:.7,fill:`none`,stroke:f,seed:l}),p=e.rectangle(a,D,T,t,o);N=v.insert(()=>p,`:first-child`);let m=e.rectangle(a,n,T,i,d);P=v.insert(()=>m,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),N.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,m).attr(`x`,a).attr(`y`,D).attr(`width`,T).attr(`height`,t).attr(`fill`,u).attr(`stroke`,f),P.attr(`class`,`swimlane-body`).attr(`style`,m).attr(`x`,a).attr(`y`,n).attr(`width`,T).attr(`height`,i).attr(`fill`,`none`).attr(`stroke`,f);let o=r.x-C.width/2,d=D+(t-C.height)/2;x.attr(`transform`,`translate(${o}, ${d})`)}if(t.m.trace(`Swimlane data `,r,JSON.stringify(r)),p){let e=x.select(`span`);e&&e.attr(`style`,p)}return r.offsetX=0,r.width=T,r.height=E,r.offsetY=C.height-w/2,r.intersect=function(e){return _(r,e)},{cluster:v,labelBBox:C}},`swimlane`),x=e.n(async(e,r)=>{t.m.info(`Creating subgraph rect for `,r.id,r);let i=n.x(),{themeVariables:l,handDrawnSeed:u}=i,{clusterBkg:d,clusterBorder:f}=l,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),b=e.insert(`g`).attr(`class`,`cluster `+r.cssClasses).attr(`id`,r.domId).attr(`data-look`,r.look),x=n.T(i),S=b.insert(`g`).attr(`class`,`cluster-label `),C;C=r.labelType===`markdown`?await a.n(S,r.label,{style:r.labelStyle,useHtmlLabels:x,isNode:!0,width:r.width}):await v(S,r.label,r.labelStyle||``,!1,!0);let w=C.getBBox();if(n.T(i)){let e=C.children[0],n=t.p(C);w=e.getBoundingClientRect(),n.attr(`width`,w.width),n.attr(`height`,w.height)}let T=r.width<=w.width+r.padding?w.width+r.padding:r.width;r.width<=w.width+r.padding?r.diff=(T-r.width)/2-r.padding:r.diff=-r.padding;let E=r.height,D=r.x-T/2,O=r.y-E/2;t.m.trace(`Data `,r,JSON.stringify(r));let k;if(r.look===`handDrawn`){let e=c.t.svg(b),n=s.a(r,{roughness:.7,fill:d,stroke:f,fillWeight:3,seed:u}),i=e.path(y(D,O,T,E,0),n);k=b.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`),k.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),k.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else k=b.insert(`rect`,`:first-child`),k.attr(`style`,m).attr(`rx`,r.rx).attr(`ry`,r.ry).attr(`x`,D).attr(`y`,O).attr(`width`,T).attr(`height`,E);let{subGraphTitleTopMargin:A}=o.n(i);if(S.attr(`transform`,`translate(${r.x-w.width/2}, ${r.y-r.height/2+A})`),p){let e=S.select(`span`);e&&e.attr(`style`,p)}let j=k.node().getBBox();return r.offsetX=0,r.width=j.width,r.height=j.height,r.offsetY=w.height-r.padding/2,r.intersect=function(e){return _(r,e)},{cluster:b,labelBBox:w}},`rect`),S={rect:x,squareRect:x,roundedWithTitle:e.n(async(e,r)=>{let i=n.x(),{themeVariables:a,handDrawnSeed:o}=i,{altBackground:s,compositeBackground:l,compositeTitleBackground:u,nodeBorder:d}=a,f=e.insert(`g`).attr(`class`,r.cssClasses).attr(`id`,r.domId).attr(`data-id`,r.id).attr(`data-look`,r.look),p=f.insert(`g`,`:first-child`),m=f.insert(`g`).attr(`class`,`cluster-label`),h=f.append(`rect`),g=await v(m,r.label,r.labelStyle,void 0,!0),b=g.getBBox();if(n.T(i)){let e=g.children[0],n=t.p(g);b=e.getBoundingClientRect(),n.attr(`width`,b.width),n.attr(`height`,b.height)}let x=0*r.padding,S=x/2,C=(r.width<=b.width+r.padding?b.width+r.padding:r.width)+x;r.width<=b.width+r.padding?r.diff=(C-r.width)/2-r.padding:r.diff=-r.padding;let w=r.height+x,T=r.height+x-b.height-6,E=r.x-C/2,D=r.y-w/2;r.width=C;let O=r.y-r.height/2-S+b.height+2,k;if(r.look===`handDrawn`){let e=r.cssClasses.includes(`statediagram-cluster-alt`),t=c.t.svg(f),n=r.rx||r.ry?t.path(y(E,D,C,w,10),{roughness:.7,fill:u,fillStyle:`solid`,stroke:d,seed:o}):t.rectangle(E,D,C,w,{seed:o});k=f.insert(()=>n,`:first-child`);let i=t.rectangle(E,O,C,T,{fill:e?s:l,fillStyle:e?`hachure`:`solid`,stroke:d,seed:o});k=f.insert(()=>n,`:first-child`),h=f.insert(()=>i)}else k=p.insert(`rect`,`:first-child`),k.attr(`class`,`outer`).attr(`x`,E).attr(`y`,D).attr(`width`,C).attr(`height`,w).attr(`data-look`,r.look),h.attr(`class`,`inner`).attr(`x`,E).attr(`y`,O).attr(`width`,C).attr(`height`,T);return m.attr(`transform`,`translate(${r.x-b.width/2}, ${D+1-(n.T(i)?0:3)})`),r.height=k.node().getBBox().height,r.offsetX=0,r.offsetY=b.height-r.padding/2,r.labelBBox=b,r.intersect=function(e){return _(r,e)},{cluster:f,labelBBox:b}},`roundedWithTitle`),noteGroup:e.n((e,t)=>{let n=e.insert(`g`).attr(`class`,`note-cluster`).attr(`id`,t.domId),r=n.insert(`rect`,`:first-child`),i=0*t.padding,a=i/2;r.attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,t.x-t.width/2-a).attr(`y`,t.y-t.height/2-a).attr(`width`,t.width+i).attr(`height`,t.height+i).attr(`fill`,`none`);let o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return _(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:e.n((e,t)=>{let{themeVariables:r,handDrawnSeed:i}=n.x(),{nodeBorder:a}=r,o=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),s=o.insert(`g`,`:first-child`),l=0*t.padding,u=t.width+l;t.diff=-t.padding;let d=t.height+l,f=t.x-u/2,p=t.y-d/2;t.width=u;let m;if(t.look===`handDrawn`){let e=c.t.svg(o).rectangle(f,p,u,d,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:a,seed:i});m=o.insert(()=>e,`:first-child`)}else{m=s.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),m.attr(`class`,e).attr(`x`,f).attr(`y`,p).attr(`width`,u).attr(`height`,d).attr(`data-look`,t.look)}return t.height=m.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return _(t,e)},{cluster:o,labelBBox:{}}},`divider`),kanbanSection:e.n(async(e,r)=>{t.m.info(`Creating subgraph rect for `,r.id,r);let i=n.x(),{themeVariables:l,handDrawnSeed:u}=i,{clusterBkg:d,clusterBorder:f}=l,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),v=e.insert(`g`).attr(`class`,`cluster `+r.cssClasses).attr(`id`,r.domId).attr(`data-look`,r.look),b=n.T(i),x=v.insert(`g`).attr(`class`,`cluster-label `),S=await a.n(x,r.label,{style:r.labelStyle,useHtmlLabels:b,isNode:!0,width:r.width}),C=S.getBBox();if(n.T(i)){let e=S.children[0],n=t.p(S);C=e.getBoundingClientRect(),n.attr(`width`,C.width),n.attr(`height`,C.height)}let w=r.width<=C.width+r.padding?C.width+r.padding:r.width;r.width<=C.width+r.padding?r.diff=(w-r.width)/2-r.padding:r.diff=-r.padding;let T=r.height,E=r.x-w/2,D=r.y-T/2;t.m.trace(`Data `,r,JSON.stringify(r));let O;if(r.look===`handDrawn`){let e=c.t.svg(v),n=s.a(r,{roughness:.7,fill:d,stroke:f,fillWeight:4,seed:u}),i=e.path(y(E,D,w,T,r.rx),n);O=v.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`),O.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),O.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else O=v.insert(`rect`,`:first-child`),O.attr(`style`,m).attr(`rx`,r.rx).attr(`ry`,r.ry).attr(`x`,E).attr(`y`,D).attr(`width`,w).attr(`height`,T);let{subGraphTitleTopMargin:k}=o.n(i);if(x.attr(`transform`,`translate(${r.x-C.width/2}, ${r.y-r.height/2+k})`),p){let e=x.select(`span`);e&&e.attr(`style`,p)}let A=O.node().getBBox();return r.offsetX=0,r.width=A.width,r.height=A.height,r.offsetY=C.height-r.padding/2,r.intersect=function(e){return _(r,e)},{cluster:v,labelBBox:C}},`kanbanSection`),swimlane:b},C=new Map,w=e.n(async(e,t)=>{let n=await S[t.shape||`rect`](e,t);return C.set(t.id,n),n},`insertCluster`),T=e.n(()=>{C=new Map},`clear`);function E(e,t){return e.intersect(t)}e.n(E,`intersectNode`);var D=E;function O(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,c=Math.sqrt(t*t*s*s+n*n*o*o),l=Math.abs(t*n*o/c);r.x<i&&(l=-l);var u=Math.abs(t*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}e.n(O,`intersectEllipse`);var k=O;function A(e,t,n){return k(e,t,t,n)}e.n(A,`intersectCircle`);var j=A;function M(e,t,n,r){{let i=t.y-e.y,a=e.x-t.x,o=t.x*e.y-e.x*t.y,s=i*n.x+a*n.y+o,c=i*r.x+a*r.y+o,l=1e-6;if(s!==0&&c!==0&&N(s,c))return;let u=r.y-n.y,d=n.x-r.x,f=r.x*n.y-n.x*r.y,p=u*e.x+d*e.y+f,m=u*t.x+d*t.y+f;if(Math.abs(p)<l&&Math.abs(m)<l&&N(p,m))return;let h=i*d-u*a;if(h===0)return;let g=Math.abs(h/2),_=a*f-d*o,v=_<0?(_-g)/h:(_+g)/h;return _=u*o-i*f,{x:v,y:_<0?(_-g)/h:(_+g)/h}}}e.n(M,`intersectLine`);function N(e,t){return e*t>0}e.n(N,`sameSign`);var P=M;function F(e,t,n){let r=e.x,i=e.y,a=[],o=1/0,s=1/0;typeof t.forEach==`function`?t.forEach(function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let c=r-e.width/2-o,l=i-e.height/2-s;for(let r=0;r<t.length;r++){let i=t[r],o=t[r<t.length-1?r+1:0],s=P(e,n,{x:c+i.x,y:l+i.y},{x:c+o.x,y:l+o.y});s&&a.push(s)}return a.length?(a.length>1&&a.sort(function(e,t){let r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1}),a[0]):e}e.n(F,`intersectPolygon`);var I={node:D,circle:j,ellipse:k,polygon:F,rect:_};function L(e,n){let{labelStyles:i}=s.i(n);n.labelStyle=i;let a=f(n),o=a;a||(o=`anchor`);let l=e.insert(`g`).attr(`class`,o).attr(`id`,n.domId||n.id),{cssStyles:u}=n,p=c.t.svg(l),m=s.a(n,{fill:`black`,stroke:`none`,fillStyle:`solid`});n.look!==`handDrawn`&&(m.roughness=0);let h=p.circle(0,0,2,m),g=l.insert(()=>h,`:first-child`);return g.attr(`class`,`anchor`).attr(`style`,r.u(u)),d(n,g),n.intersect=function(e){return t.m.info(`Circle intersect`,n,1,e),I.circle(n,1,e)},l}e.n(L,`anchor`);function R(e,t,n,r,i,a,o){let s=(e+n)/2,c=(t+r)/2,l=Math.atan2(r-t,n-e),u=(n-e)/2,d=(r-t)/2,f=u/i,p=d/a,m=Math.sqrt(f**2+p**2);if(m>1)throw Error(`The given radii are too small to create an arc between the points.`);let h=Math.sqrt(1-m**2),g=s+h*a*Math.sin(l)*(o?-1:1),_=c-h*i*Math.cos(l)*(o?-1:1),v=Math.atan2((t-_)/a,(e-g)/i),y=Math.atan2((r-_)/a,(n-g)/i)-v;o&&y<0&&(y+=2*Math.PI),!o&&y>0&&(y-=2*Math.PI);let b=[];for(let e=0;e<20;e++){let t=v+e/19*y,n=g+i*Math.cos(t),r=_+a*Math.sin(t);b.push({x:n,y:r})}return b}e.n(R,`generateArcPoints`);function z(e,t,n){let[r,i]=[t,n].sort((e,t)=>t-e);return i*(1-Math.sqrt(1-(e/r/2)**2))}e.n(z,`calculateArcSagitta`);async function ee(t,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.padding??0,o=n.look===`neo`?16:a,u=n.look===`neo`?12:a,m=e.n(e=>e+u,`calcTotalHeight`),h=e.n(e=>{let t=e/2;return[t/(2.5+e/50),t]},`calcEllipseRadius`),{shapeSvg:g,bbox:_}=await l(t,n,f(n)),v=m(n?.height?n?.height:_.height),[y,b]=h(v),x=z(v,y,b),S=(n?.width?n?.width:_.width)+o*2+x-x,C=v,{cssStyles:w}=n,T=[{x:S/2,y:-C/2},{x:-S/2,y:-C/2},...R(-S/2,-C/2,-S/2,C/2,y,b,!1),{x:S/2,y:C/2},...R(S/2,C/2,S/2,-C/2,y,b,!0)],E=c.t.svg(g),D=s.a(n,{});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=p(T),k=E.path(O,D),A=g.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),w&&n.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,w),i&&n.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,i),A.attr(`transform`,`translate(${y/2}, 0)`),d(n,A),n.intersect=function(e){return I.polygon(n,T,e)},g}e.n(ee,`bowTieRect`);function B(e,t,n,r){return e.insert(`polygon`,`:first-child`).attr(`points`,r.map(function(e){return e.x+`,`+e.y}).join(` `)).attr(`class`,`label-container`).attr(`transform`,`translate(`+-t/2+`,`+n/2+`)`)}e.n(B,`insertPolygonShape`);var V=12;async function H(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?28:i,o=t.look===`neo`?24:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.width??m.width)+(t.look===`neo`?a*2:a+V),g=(t?.height??m.height)+(t.look===`neo`?o*2:o),_=h,v=-g,y=[{x:0+V,y:v},{x:_,y:v},{x:_,y:0},{x:0,y:0},{x:0,y:v+V},{x:0+V,y:v}],b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(y),i=e.path(r,n);b=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-h/2}, ${g/2})`),x&&b.attr(`style`,x)}else b=B(u,h,g,y);return r&&b.attr(`style`,r),d(t,b),t.intersect=function(e){return I.polygon(t,y,e)},u}e.n(H,`card`);function U(e,t){let{nodeStyles:n}=s.i(t);t.label=``;let r=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId??t.id),{cssStyles:i}=t,a=Math.max(28,t.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],l=c.t.svg(r),u=s.a(t,{});t.look!==`handDrawn`&&(u.roughness=0,u.fillStyle=`solid`);let d=p(o),m=l.path(d,u),h=r.insert(()=>m,`:first-child`);return i&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,i),n&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,n),t.width=28,t.height=28,t.intersect=function(e){return I.polygon(t,o,e)},r}e.n(U,`choice`);async function te(e,n,i){let{labelStyles:a,nodeStyles:o}=s.i(n);n.labelStyle=a;let{shapeSvg:u,bbox:p,halfPadding:m}=await l(e,n,f(n)),h=i?.padding??m,g=n.look===`neo`?p.width/2+32:p.width/2+h,_,{cssStyles:v}=n;if(n.look===`handDrawn`){let e=c.t.svg(u),t=s.a(n,{}),i=e.circle(0,0,g*2,t);_=u.insert(()=>i,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,r.u(v))}else _=u.insert(`circle`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`r`,g).attr(`cx`,0).attr(`cy`,0);return d(n,_),n.calcIntersect=function(e,t){let n=e.width/2;return I.circle(e,n,t)},n.intersect=function(e){return t.m.info(`Circle intersect`,n,g,e),I.circle(n,g,e)},u}e.n(te,`circle`);function ne(e){let t=Math.cos(Math.PI/4),n=Math.sin(Math.PI/4),r=e*2,i={x:r/2*t,y:r/2*n},a={x:-(r/2)*t,y:r/2*n},o={x:-(r/2)*t,y:-(r/2)*n},s={x:r/2*t,y:-(r/2)*n};return`M ${a.x},${a.y} L ${s.x},${s.y}
2
- M ${i.x},${i.y} L ${o.x},${o.y}`}e.n(ne,`createLine`);function W(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r,n.label=``;let a=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),o=Math.max(30,n?.width??0),{cssStyles:l}=n,u=c.t.svg(a),p=s.a(n,{});n.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=u.circle(0,0,o*2,p),h=ne(o),g=u.path(h,p),_=a.insert(()=>m,`:first-child`);return _.insert(()=>g),_.attr(`class`,`outer-path`),l&&n.look!==`handDrawn`&&_.selectAll(`path`).attr(`style`,l),i&&n.look!==`handDrawn`&&_.selectAll(`path`).attr(`style`,i),d(n,_),n.intersect=function(e){return t.m.info(`crossedCircle intersect`,n,{radius:o,point:e}),I.circle(n,o,e)},a}e.n(W,`crossedCircle`);function G(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(G,`generateCirclePoints`);async function K(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+u,g=a.height+m,_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...G(h/2,-g/2,_,30,-90,0),{x:-h/2-_,y:_},...G(h/2+_*2,-_,_,20,-180,-270),...G(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:-g/2},...G(h/2,g/2,_,20,0,90)],b=[{x:h/2,y:-g/2-_},{x:-h/2,y:-g/2-_},...G(h/2,-g/2,_,20,-90,0),{x:-h/2-_,y:-_},...G(h/2+h*.1,-_,_,20,-180,-270),...G(h/2+h*.1,_,_,20,-90,-180),{x:-h/2-_,y:g/2},...G(h/2,g/2,_,20,0,90),{x:-h/2,y:g/2+_},{x:h/2,y:g/2+_}],x=c.t.svg(i),S=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y).replace(`Z`,``),w=x.path(C,S),T=p(b),E=x.path(T,{...S}),D=i.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),v&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${_}, 0)`),o.attr(`transform`,`translate(${-h/2+_-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,b,e)},i}e.n(K,`curlyBraceLeft`);function q(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:a,y:l})}return o}e.n(q,`generateCirclePoints`);async function re(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+(t.look===`neo`?u*2:u),g=a.height+(t.look===`neo`?m*2:m),_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...q(h/2,-g/2,_,20,-90,0),{x:h/2+_,y:-_},...q(h/2+_*2,-_,_,20,-180,-270),...q(h/2+_*2,_,_,20,-90,-180),{x:h/2+_,y:g/2},...q(h/2,g/2,_,20,0,90)],b=[{x:-h/2,y:-g/2-_},{x:h/2,y:-g/2-_},...q(h/2,-g/2,_,20,-90,0),{x:h/2+_,y:-_},...q(h/2+_*2,-_,_,20,-180,-270),...q(h/2+_*2,_,_,20,-90,-180),{x:h/2+_,y:g/2},...q(h/2,g/2,_,20,0,90),{x:h/2,y:g/2+_},{x:-h/2,y:g/2+_}],x=c.t.svg(i),S=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y).replace(`Z`,``),w=x.path(C,S),T=p(b),E=x.path(T,{...S}),D=i.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),v&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-_}, 0)`),o.attr(`transform`,`translate(${-h/2+(t.padding??0)/2-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,b,e)},i}e.n(re,`curlyBraceRight`);function J(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(J,`generateCirclePoints`);async function ie(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+(t.look===`neo`?u*2:u),g=a.height+(t.look===`neo`?m*2:m),_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...J(h/2,-g/2,_,30,-90,0),{x:-h/2-_,y:_},...J(h/2+_*2,-_,_,20,-180,-270),...J(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:-g/2},...J(h/2,g/2,_,20,0,90)],b=[...J(-h/2+_+_/2,-g/2,_,20,-90,-180),{x:h/2-_/2,y:_},...J(-h/2-_/2,-_,_,20,0,90),...J(-h/2-_/2,_,_,20,-90,0),{x:h/2-_/2,y:-_},...J(-h/2+_+_/2,g/2,_,30,-180,-270)],x=[{x:h/2,y:-g/2-_},{x:-h/2,y:-g/2-_},...J(h/2,-g/2,_,20,-90,0),{x:-h/2-_,y:-_},...J(h/2+_*2,-_,_,20,-180,-270),...J(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:g/2},...J(h/2,g/2,_,20,0,90),{x:-h/2,y:g/2+_},{x:h/2-_-_/2,y:g/2+_},...J(-h/2+_+_/2,-g/2,_,20,-90,-180),{x:h/2-_/2,y:_},...J(-h/2-_/2,-_,_,20,0,90),...J(-h/2-_/2,_,_,20,-90,0),{x:h/2-_/2,y:-_},...J(-h/2+_+_/2,g/2,_,30,-180,-270)],S=c.t.svg(i),C=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=p(y).replace(`Z`,``),T=S.path(w,C),E=p(b).replace(`Z`,``),D=S.path(E,C),O=p(x),k=S.path(O,{...C}),A=i.insert(`g`,`:first-child`);return A.insert(()=>k,`:first-child`).attr(`stroke-opacity`,0),A.insert(()=>T,`:first-child`),A.insert(()=>D,`:first-child`),A.attr(`class`,`text`),v&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(${_-_/4}, 0)`),o.attr(`transform`,`translate(${-h/2+(t.padding??0)/2-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,A),t.intersect=function(e){return I.polygon(t,x,e)},i}e.n(ie,`curlyBraces`);async function ae(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),g=Math.max(20,(m.width+a*2)*1.25,t?.width??0),_=Math.max(5,m.height+o*2,t?.height??0),v=_/2,{cssStyles:y}=t,b=c.t.svg(u),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=g,C=_,w=S-v,T=C/4,E=[{x:w,y:0},{x:T,y:0},{x:0,y:C/2},{x:T,y:C},{x:w,y:C},...h(-w,-C/2,v,50,270,90)],D=p(E),O=b.path(D,x),k=u.insert(()=>O,`:first-child`);return k.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,r),k.attr(`transform`,`translate(${-g/2}, ${-_/2})`),d(t,k),t.intersect=function(e){return I.polygon(t,E,e)},u}e.n(ae,`curvedTrapezoid`);var oe=e.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createCylinderPathD`),se=e.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createOuterCylinderPathD`),ce=e.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),le=8,ue=8;async function de(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?24:a,u=t.look===`neo`?24:a;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-u,t.width<ue&&(t.width=ue);let n=e/2/(2.5+e/50);t.height=(t.height??0)-o-n*3,t.height<le&&(t.height=le)}let{shapeSvg:p,bbox:m,label:h}=await l(e,t,f(t)),g=(t.width?t.width:m.width)+u,_=g/2,v=_/(2.5+g/50),y=(t.height?t.height:m.height)+o+v,b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=se(0,0,g,y,_,v),r=ce(0,v,g,y,_,v),i=s.a(t,{}),a=e.path(n,i),o=e.path(r,s.a(t,{fill:`none`}));b=p.insert(()=>o,`:first-child`),b=p.insert(()=>a,`:first-child`),b.attr(`class`,`basic label-container`),x&&b.attr(`style`,x)}else{let e=oe(0,0,g,y,_,v);b=p.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)).attr(`style`,i)}return b.attr(`label-offset-y`,v),b.attr(`transform`,`translate(${-g/2}, ${-(y/2+v)})`),d(t,b),h.attr(`transform`,`translate(${-(m.width/2)-(m.x-(m.left??0))}, ${-(m.height/2)+(t.padding??0)/1.5-(m.y-(m.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(_!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-v)){let i=v*v*(1-r*r/(_*_));i>0&&(i=Math.sqrt(i)),i=v-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},p}e.n(de,`cylinder`);async function Y(e,t,n){let{labelStyles:i,nodeStyles:a}=s.i(t);t.labelStyle=i;let{shapeSvg:o,bbox:u}=await l(e,t,f(t)),p=Math.max(u.width+n.labelPaddingX*2,t?.width||0),m=Math.max(u.height+n.labelPaddingY*2,t?.height||0),h=-p/2,g=-m/2,_,{rx:v,ry:b}=t,{cssStyles:x}=t;if(n?.rx&&n.ry&&(v=n.rx,b=n.ry),t.look===`handDrawn`){let e=c.t.svg(o),n=s.a(t,{}),i=v||b?e.path(y(h,g,p,m,v||0),n):e.rectangle(h,g,p,m,n);_=o.insert(()=>i,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else _=o.insert(`rect`,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,a).attr(`rx`,r.u(v)).attr(`ry`,r.u(b)).attr(`x`,h).attr(`y`,g).attr(`width`,p).attr(`height`,m);return d(t,_),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},o}e.n(Y,`drawRect`);async function fe(e,t){let{cssClasses:n,labelPaddingX:r,labelPaddingY:i,padding:a,width:o,height:l}=t,u=await Y(e,t,{rx:0,ry:0,classes:n??``,labelPaddingX:r??(a??0)*2,labelPaddingY:i??a??0});if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=u.select(`.basic.label-container > path:nth-child(2)`),i=r.node();if(!i)return u;let a=null;if(i instanceof SVGGraphicsElement)a=i.getBBox();else return u;return u.insert(()=>e.line(a.x,a.y,a.x+a.width,a.y,n),`.basic.label-container g.label`),u.insert(()=>e.line(a.x,a.y+a.height,a.x+a.width,a.y+a.height,n),`.basic.label-container g.label`),r.remove(),u}let d=u.select(`.basic.label-container`),f=(Number(d.attr(`width`))||o)??0,p=(Number(d.attr(`height`))||l)??0;return f>0&&p>0&&d.attr(`stroke-dasharray`,`${f} ${p}`),u}e.n(fe,`datastore`);async function pe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?16:t.padding??0,{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=u.width+i,h=u.height+a,g=h*.2,_=-m/2,v=-h/2-g/2,{cssStyles:y}=t,b=c.t.svg(o),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:_,y:v+g},{x:-_,y:v+g},{x:-_,y:-v},{x:_,y:-v},{x:_,y:v},{x:-_,y:v},{x:-_,y:v+g}],C=b.polygon(S.map(e=>[e.x,e.y]),x),w=o.insert(()=>C,`:first-child`);return w.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,r),p.attr(`transform`,`translate(${_+(t.padding??0)/2-(u.x-(u.left??0))}, ${v+g+(t.padding??0)/2-(u.y-(u.top??0))})`),d(t,w),t.intersect=function(e){return I.rect(t,e)},o}e.n(pe,`dividedRectangle`);async function me(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n),o=n.look===`neo`?12:5;n.labelStyle=i;let u=n.padding??0,p=n.look===`neo`?16:u,{shapeSvg:m,bbox:h}=await l(e,n,f(n)),g=(n?.width?n?.width/2:h.width/2)+(p??0),_=g-o,v,{cssStyles:y}=n;if(n.look===`handDrawn`){let e=c.t.svg(m),t=s.a(n,{roughness:.2,strokeWidth:2.5}),i=s.a(n,{roughness:.2,strokeWidth:1.5}),a=e.circle(0,0,g*2,t),o=e.circle(0,0,_*2,i);v=m.insert(`g`,`:first-child`),v.attr(`class`,r.u(n.cssClasses)).attr(`style`,r.u(y)),v.node()?.appendChild(a),v.node()?.appendChild(o)}else{v=m.insert(`g`,`:first-child`);let e=v.insert(`circle`,`:first-child`),t=v.insert(`circle`);v.attr(`class`,`basic label-container`).attr(`style`,a),e.attr(`class`,`outer-circle`).attr(`style`,a).attr(`r`,g).attr(`cx`,0).attr(`cy`,0),t.attr(`class`,`inner-circle`).attr(`style`,a).attr(`r`,_).attr(`cx`,0).attr(`cy`,0)}return d(n,v),n.intersect=function(e){return t.m.info(`DoubleCircle intersect`,n,g,e),I.circle(n,g,e)},m}e.n(me,`doublecircle`);function he(e,n,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:a}=s.i(n);n.label=``,n.labelStyle=i;let o=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),{cssStyles:l}=n,u=c.t.svg(o),{nodeBorder:p}=r,m=s.a(n,{fillStyle:`solid`});n.look!==`handDrawn`&&(m.roughness=0);let h=u.circle(0,0,14,m),g=o.insert(()=>h,`:first-child`);return g.selectAll(`path`).attr(`style`,`fill: ${p} !important;`),l&&l.length>0&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,l),a&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,a),d(n,g),n.intersect=function(e){return t.m.info(`filledCircle intersect`,n,{radius:7,point:e}),I.circle(n,7,e)},o}e.n(he,`filledCircle`);var ge=10,_e=10;async function ve(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.padding??0,o=n.look===`neo`?a*2:a;(n.width||n.height)&&(n.height=n?.height??0,n.height<ge&&(n.height=ge),n.width=(n?.width??0)-o-o/2,n.width<_e&&(n.width=_e));let{shapeSvg:u,bbox:m,label:h}=await l(e,n,f(n)),g=(n?.width?n?.width:m.width)+(o??0),_=n?.height?n?.height:g+m.height,v=_,y=[{x:0,y:-_},{x:v,y:-_},{x:v/2,y:0}],{cssStyles:b}=n,x=c.t.svg(u),S=s.a(n,{});n.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y),w=x.path(C,S),T=u.insert(()=>w,`:first-child`).attr(`transform`,`translate(${-_/2}, ${_/2})`).attr(`class`,`outer-path`);return b&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,b),i&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,i),n.width=g,n.height=_,d(n,T),h.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))}, ${-_/2+(n.padding??0)/2+(m.y-(m.top??0))})`),n.intersect=function(e){return t.m.info(`Triangle intersect`,n,y,e),I.polygon(n,y,e)},u}e.n(ve,`flippedTriangle`);function ye(e,t,{dir:n,config:{state:r,themeVariables:i}}){let{nodeStyles:a}=s.i(t);t.label=``;let o=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId??t.id),{cssStyles:l}=t,u=Math.max(70,t?.width??0),p=Math.max(10,t?.height??0);n===`LR`&&(u=Math.max(10,t?.width??0),p=Math.max(70,t?.height??0));let m=-1*u/2,h=-1*p/2,g=c.t.svg(o),_=s.a(t,{stroke:i.lineColor,fill:i.lineColor});t.look!==`handDrawn`&&(_.roughness=0,_.fillStyle=`solid`);let v=g.rectangle(m,h,u,p,_),y=o.insert(()=>v,`:first-child`);l&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,l),a&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,a),d(t,y);let b=r?.padding??0;return t.width&&t.height&&(t.width+=b/2||0,t.height+=b/2||0),t.intersect=function(e){return I.rect(t,e)},o}e.n(ye,`forkJoin`);async function be(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.look===`neo`?16:n.padding??0,o=n.look===`neo`?12:n.padding??0;(n.width||n.height)&&(n.height=(n?.height??0)-o*2,n.height<10&&(n.height=10),n.width=(n?.width??0)-a*2,n.width<15&&(n.width=15));let{shapeSvg:u,bbox:m}=await l(e,n,f(n)),g=(n?.width?n?.width:Math.max(15,m.width))+a*2,_=(n?.height?n?.height:Math.max(10,m.height))+o*2,v=_/2,{cssStyles:y}=n,b=c.t.svg(u),x=s.a(n,{});n.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:-g/2,y:-_/2},{x:g/2-v,y:-_/2},...h(-g/2+v,0,v,50,90,270),{x:g/2-v,y:_/2},{x:-g/2,y:_/2}],C=p(S),w=b.path(C,x),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,y),i&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,i),d(n,T),n.intersect=function(e){return t.m.info(`Pill intersect`,n,{radius:v,point:e}),I.polygon(n,S,e)},u}e.n(be,`halfRoundedRectangle`);var xe=e.n((e,t,n,r,i)=>[`M${e+i},${t}`,`L${e+n-i},${t}`,`L${e+n},${t-r/2}`,`L${e+n-i},${t-r}`,`L${e+i},${t-r}`,`L${e},${t-r/2}`,`Z`].join(` `),`createHexagonPathD`);async function Se(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t),i=t.look===`neo`?3.5:4;t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?70:a,u=t.look===`neo`?32:a;if(t.width||t.height){let e=(t.height??0)/i;t.width=(t?.width??0)-2*e-u,t.height=(t.height??0)-o}let{shapeSvg:p,bbox:m}=await l(e,t,f(t)),h=(t?.height?t?.height:m.height)+o,g=h/i,_=(t?.width?t?.width:m.width)+2*g+u,v=[{x:g,y:0},{x:_-g,y:0},{x:_,y:-h/2},{x:_-g,y:-h},{x:g,y:-h},{x:0,y:-h/2}],y,{cssStyles:b}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=s.a(t,{}),r=xe(0,0,_,h,g),i=e.path(r,n);y=p.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-_/2}, ${h/2})`),b&&y.attr(`style`,b)}else y=B(p,_,h,v);return r&&y.attr(`style`,r),t.width=_,t.height=h,d(t,y),t.intersect=function(e){return I.polygon(t,v,e)},p}e.n(Se,`hexagon`);async function Ce(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.label=``,n.labelStyle=r;let{shapeSvg:a}=await l(e,n,f(n)),o=Math.max(30,n?.width??0),u=Math.max(30,n?.height??0),{cssStyles:m}=n,h=c.t.svg(a),g=s.a(n,{});n.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=[{x:0,y:0},{x:o,y:0},{x:0,y:u},{x:o,y:u}],v=p(_),y=h.path(v,g),b=a.insert(()=>y,`:first-child`);return b.attr(`class`,`basic label-container outer-path`),m&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,m),i&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,i),b.attr(`transform`,`translate(${-o/2}, ${-u/2})`),d(n,b),n.intersect=function(e){return t.m.info(`Pill intersect`,n,{points:_}),I.polygon(n,_,e)},a}e.n(Ce,`hourglass`);async function we(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,label:_}=await l(e,n,`icon-shape default`),v=n.pos===`t`,y=p,b=p,{nodeBorder:x}=r,{stylesMap:S}=s.t(n),C=-b/2,w=-y/2,T=n.label?8:0,E=c.t.svg(h),D=s.a(n,{stroke:`none`,fill:`none`});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=E.rectangle(C,w,b,y,D),k=Math.max(b,g.width),A=y+g.height+T,j=E.rectangle(-k/2,-A/2,k,A,{...D,fill:`transparent`,stroke:`none`}),M=h.insert(()=>O,`:first-child`),N=h.insert(()=>j);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${v?g.height/2+T/2-a/2-s:-g.height/2-T/2-a/2-s})`),e.attr(`style`,`color: ${S.get(`stroke`)??x};`)}return _.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${v?-A/2:A/2-g.height})`),M.attr(`transform`,`translate(0,${v?g.height/2+T/2:-g.height/2-T/2})`),d(n,N),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=v?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+T},{x:r+b/2,y:i-a/2+g.height+T},{x:r+b/2,y:i+a/2},{x:r-b/2,y:i+a/2},{x:r-b/2,y:i-a/2+g.height+T},{x:r-g.width/2,y:i-a/2+g.height+T}]:[{x:r-b/2,y:i-a/2},{x:r+b/2,y:i-a/2},{x:r+b/2,y:i-a/2+y},{x:r+g.width/2,y:i-a/2+y},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+y},{x:r-b/2,y:i-a/2+y}],I.polygon(n,o,e)},h}e.n(we,`icon`);async function Te(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,label:_}=await l(e,n,`icon-shape default`),v=n.label?8:0,y=n.pos===`t`,{nodeBorder:b,mainBkg:x}=r,{stylesMap:S}=s.t(n),C=c.t.svg(h),w=s.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`),w.stroke=S.get(`fill`)??x;let T=h.append(`g`);n.icon&&T.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let E=T.node().getBBox(),D=E.width,O=E.height,k=E.x,A=E.y,j=Math.max(D,O)*Math.SQRT2+40,M=C.circle(0,0,j,w),N=Math.max(j,g.width),P=j+g.height+v,F=C.rectangle(-N/2,-P/2,N,P,{...w,fill:`transparent`,stroke:`none`}),L=h.insert(()=>M,`:first-child`),R=h.insert(()=>F);return T.attr(`transform`,`translate(${-D/2-k},${y?g.height/2+v/2-O/2-A:-g.height/2-v/2-O/2-A})`),T.attr(`style`,`color: ${S.get(`stroke`)??b};`),_.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${y?-P/2:P/2-g.height})`),L.attr(`transform`,`translate(0,${y?g.height/2+v/2:-g.height/2-v/2})`),d(n,R),n.intersect=function(e){return t.m.info(`iconSquare intersect`,n,e),I.rect(n,e)},h}e.n(Te,`iconCircle`);async function Ee(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,halfPadding:_,label:v}=await l(e,n,`icon-shape default`),b=n.pos===`t`,x=p+_*2,S=p+_*2,{nodeBorder:C,mainBkg:w}=r,{stylesMap:T}=s.t(n),E=-S/2,D=-x/2,O=n.label?8:0,k=c.t.svg(h),A=s.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??w;let j=k.path(y(E,D,S,x,5),A),M=Math.max(S,g.width),N=x+g.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=h.insert(()=>j,`:first-child`).attr(`class`,`icon-shape2`),L=h.insert(()=>P);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${b?g.height/2+O/2-a/2-s:-g.height/2-O/2-a/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??C};`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${b?-N/2:N/2-g.height})`),F.attr(`transform`,`translate(0,${b?g.height/2+O/2:-g.height/2-O/2})`),d(n,L),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=b?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+O},{x:r+S/2,y:i-a/2+g.height+O},{x:r+S/2,y:i+a/2},{x:r-S/2,y:i+a/2},{x:r-S/2,y:i-a/2+g.height+O},{x:r-g.width/2,y:i-a/2+g.height+O}]:[{x:r-S/2,y:i-a/2},{x:r+S/2,y:i-a/2},{x:r+S/2,y:i-a/2+x},{x:r+g.width/2,y:i-a/2+x},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+x},{x:r-S/2,y:i-a/2+x}],I.polygon(n,o,e)},h}e.n(Ee,`iconRounded`);async function De(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,halfPadding:_,label:v}=await l(e,n,`icon-shape default`),b=n.pos===`t`,x=p+_*2,S=p+_*2,{nodeBorder:C,mainBkg:w}=r,{stylesMap:T}=s.t(n),E=-S/2,D=-x/2,O=n.label?8:0,k=c.t.svg(h),A=s.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??w;let j=k.path(y(E,D,S,x,.1),A),M=Math.max(S,g.width),N=x+g.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=h.insert(()=>j,`:first-child`),L=h.insert(()=>P);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${b?g.height/2+O/2-a/2-s:-g.height/2-O/2-a/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??C};`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${b?-N/2:N/2-g.height})`),F.attr(`transform`,`translate(0,${b?g.height/2+O/2:-g.height/2-O/2})`),d(n,L),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=b?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+O},{x:r+S/2,y:i-a/2+g.height+O},{x:r+S/2,y:i+a/2},{x:r-S/2,y:i+a/2},{x:r-S/2,y:i-a/2+g.height+O},{x:r-g.width/2,y:i-a/2+g.height+O}]:[{x:r-S/2,y:i-a/2},{x:r+S/2,y:i-a/2},{x:r+S/2,y:i-a/2+x},{x:r+g.width/2,y:i-a/2+x},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+x},{x:r-S/2,y:i-a/2+x}],I.polygon(n,o,e)},h}e.n(De,`iconSquare`);async function Oe(e,n,{config:{flowchart:r}}){let i=new Image;i.src=n?.img??``,await i.decode();let a=Number(i.naturalWidth.toString().replace(`px`,``)),o=Number(i.naturalHeight.toString().replace(`px`,``));n.imageAspectRatio=a/o;let{labelStyles:u}=s.i(n);n.labelStyle=u;let f=r?.wrappingWidth;n.defaultWidth=r?.wrappingWidth;let p=Math.max(n.label?f??0:0,n?.assetWidth??a),m=n.constraint===`on`&&n?.assetHeight?n.assetHeight*n.imageAspectRatio:p,h=n.constraint===`on`?m/n.imageAspectRatio:n?.assetHeight??o;n.width=Math.max(m,f??0);let{shapeSvg:g,bbox:_,label:v}=await l(e,n,`image-shape default`),y=n.pos===`t`,b=-m/2,x=-h/2,S=n.label?8:0,C=c.t.svg(g),w=s.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=C.rectangle(b,x,m,h,w),E=Math.max(m,_.width),D=h+_.height+S,O=C.rectangle(-E/2,-D/2,E,D,{...w,fill:`none`,stroke:`none`}),k=g.insert(()=>T,`:first-child`),A=g.insert(()=>O);if(n.img){let e=g.append(`image`);e.attr(`href`,n.img),e.attr(`width`,m),e.attr(`height`,h),e.attr(`preserveAspectRatio`,`none`),e.attr(`transform`,`translate(${-m/2},${y?D/2-h:-D/2})`)}return v.attr(`transform`,`translate(${-_.width/2-(_.x-(_.left??0))},${y?-h/2-_.height/2-S/2:h/2-_.height/2+S/2})`),k.attr(`transform`,`translate(0,${y?_.height/2+S/2:-_.height/2-S/2})`),d(n,A),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-_.width/2,y:i-a/2},{x:r+_.width/2,y:i-a/2},{x:r+_.width/2,y:i-a/2+_.height+S},{x:r+m/2,y:i-a/2+_.height+S},{x:r+m/2,y:i+a/2},{x:r-m/2,y:i+a/2},{x:r-m/2,y:i-a/2+_.height+S},{x:r-_.width/2,y:i-a/2+_.height+S}]:[{x:r-m/2,y:i-a/2},{x:r+m/2,y:i-a/2},{x:r+m/2,y:i-a/2+h},{x:r+_.width/2,y:i-a/2+h},{x:r+_.width/2/2,y:i+a/2},{x:r-_.width/2,y:i+a/2},{x:r-_.width/2,y:i-a/2+h},{x:r-m/2,y:i-a/2+h}],I.polygon(n,o,e)},g}e.n(Oe,`imageSquare`);async function ke(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=Math.max(m.width+(o??0)*2,t?.width??0),g=Math.max(m.height+(a??0)*2,t?.height??0),_=[{x:0,y:0},{x:h,y:0},{x:h+3*g/6,y:-g},{x:-3*g/6,y:-g}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-h/2}, ${g/2})`),y&&v.attr(`style`,y)}else v=B(u,h,g,_);return r&&v.attr(`style`,r),t.width=h,t.height=g,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(ke,`inv_trapezoid`);async function Ae(e,t){let{shapeSvg:n,bbox:r,label:i}=await l(e,t,`label`),a=n.insert(`rect`,`:first-child`);return a.attr(`width`,.1).attr(`height`,.1),n.attr(`class`,`label edgeLabel`),i.attr(`transform`,`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),d(t,a),t.intersect=function(e){return I.rect(t,e)},n}e.n(Ae,`labelRect`);async function je(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:0,y:0},{x:g+3*h/6,y:0},{x:g,y:-h},{x:-(3*h)/6,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(je,`lean_left`);async function Me(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:-3*h/6,y:0},{x:g,y:0},{x:g+3*h/6,y:-h},{x:0,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(Me,`lean_right`);function Ne(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.label=``,n.labelStyle=r;let a=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),{cssStyles:o}=n,l=Math.max(35,n?.width??0),u=Math.max(35,n?.height??0),m=[{x:l,y:0},{x:0,y:u+7/2},{x:l-14,y:u+7/2},{x:0,y:2*u},{x:l,y:u-7/2},{x:14,y:u-7/2}],h=c.t.svg(a),g=s.a(n,{});n.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=p(m),v=h.path(_,g),y=a.insert(()=>v,`:first-child`);return y.attr(`class`,`outer-path`),o&&n.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,o),i&&n.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,i),y.attr(`transform`,`translate(-${l/2},${-u})`),d(n,y),n.intersect=function(e){return t.m.info(`lightningBolt intersect`,n,e),I.polygon(n,m,e)},a}e.n(Ne,`lightningBolt`);var Pe=e.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createCylinderPathD`),Fe=e.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createOuterCylinderPathD`),Ie=e.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Le=10,Re=10;async function ze(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,u=t.look===`neo`?24:a;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-o,t.width<Re&&(t.width=Re);let n=e/2/(2.5+e/50);t.height=(t.height??0)-u-n*3,t.height<Le&&(t.height=Le)}let{shapeSvg:p,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:m.width)+o*2,_=g/2,v=_/(2.5+g/50),y=(t?.height?t?.height:m.height)+v+u*2,b=y*.1,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=Fe(0,0,g,y,_,v,b),r=Ie(0,v,g,y,_,v),i=s.a(t,{}),a=e.path(n,i),o=e.path(r,i);p.insert(()=>o,`:first-child`).attr(`class`,`line`),x=p.insert(()=>a,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Pe(0,0,g,y,_,v,b);x=p.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,i)}return x.attr(`label-offset-y`,v),x.attr(`transform`,`translate(${-g/2}, ${-(y/2+v)})`),d(t,x),h.attr(`transform`,`translate(${-(m.width/2)-(m.x-(m.left??0))}, ${-(m.height/2)+v-(m.y-(m.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(_!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-v)){let i=v*v*(1-r*r/(_*_));i>0&&(i=Math.sqrt(i)),i=v-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},p}e.n(ze,`linedCylinder`);async function Be(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=(t.width??0)*10/11-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:u,bbox:p,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:p.width)+(a??0)*2,_=(t?.height?t?.height:p.height)+(o??0)*2,v=t.look===`neo`?_/4:_/8,y=_+v,{cssStyles:b}=t,x=c.t.svg(u),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-g/2-g/2*.1,y:-y/2},{x:-g/2-g/2*.1,y:y/2},...m(-g/2-g/2*.1,y/2,g/2+g/2*.1,y/2,v,.8),{x:g/2+g/2*.1,y:-y/2},{x:-g/2-g/2*.1,y:-y/2},{x:-g/2,y:-y/2},{x:-g/2,y:y/2*1.1},{x:-g/2,y:-y/2}],w=x.polygon(C.map(e=>[e.x,e.y]),S),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,r),T.attr(`transform`,`translate(0,${-v/2})`),h.attr(`transform`,`translate(${-g/2+(t.padding??0)+g/2*.1/2-(p.x-(p.left??0))},${-_/2+(t.padding??0)-v/2-(p.y-(p.top??0))})`),d(t,T),t.intersect=function(e){return I.polygon(t,C,e)},u}e.n(Be,`linedWaveEdgedRect`);async function Ve(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,u=t.look===`neo`?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-2*u,10),t.height=Math.max((t?.height??0)-o*2-2*u,10));let{shapeSvg:m,bbox:h,label:_}=await l(e,t,f(t)),v=(t?.width?t?.width:h.width)+a*2+2*u,y=(t?.height?t?.height:h.height)+o*2+2*u,b=v-2*u,x=y-2*u,S=-b/2,C=-x/2,{cssStyles:w}=t,T=c.t.svg(m),E=s.a(t,{}),D=[{x:S-u,y:C+u},{x:S-u,y:C+x+u},{x:S+b-u,y:C+x+u},{x:S+b-u,y:C+x},{x:S+b,y:C+x},{x:S+b,y:C+x-u},{x:S+b+u,y:C+x-u},{x:S+b+u,y:C-u},{x:S+u,y:C-u},{x:S+u,y:C},{x:S,y:C},{x:S,y:C+u}],O=[{x:S,y:C+u},{x:S+b-u,y:C+u},{x:S+b-u,y:C+x},{x:S+b,y:C+x},{x:S+b,y:C},{x:S,y:C}];t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let k=p(D),A=T.path(k,E),j=p(O),M=T.path(j,E);t.look!==`handDrawn`&&(A=g(A),M=g(M));let N=m.insert(`g`,`:first-child`);return N.insert(()=>A),N.insert(()=>M),N.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,r),_.attr(`transform`,`translate(${-(h.width/2)-u-(h.x-(h.left??0))}, ${-(h.height/2)+u-(h.y-(h.top??0))})`),d(t,N),t.intersect=function(e){return I.polygon(t,D,e)},m}e.n(Ve,`multiRect`);async function He(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.padding??0,h=t.look===`neo`?16:u,g=t.look===`neo`?12:u,_=!0;(t.width||t.height)&&(_=!1,t.width=(t?.width??0)-h*2,t.height=(t?.height??0)-g*3);let v=Math.max(a.width,t?.width??0)+h*2,y=Math.max(a.height,t?.height??0)+g*3,b=t.look===`neo`?y/4:y/8,x=y+(_?b/2:-b/2),S=-v/2,C=-x/2,{cssStyles:w}=t,T=m(S-10,C+x+10,S+v-10,C+x+10,b,.8),E=T?.[T.length-1],D=[{x:S-10,y:C+10},{x:S-10,y:C+x+10},...T,{x:S+v-10,y:E.y-10},{x:S+v,y:E.y-10},{x:S+v,y:E.y-20},{x:S+v+10,y:E.y-20},{x:S+v+10,y:C-10},{x:S+10,y:C-10},{x:S+10,y:C},{x:S,y:C},{x:S,y:C+10}],O=[{x:S,y:C+10},{x:S+v-10,y:C+10},{x:S+v-10,y:E.y-10},{x:S+v,y:E.y-10},{x:S+v,y:C},{x:S,y:C}],k=c.t.svg(i),A=s.a(t,{});t.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`);let j=p(D),M=k.path(j,A),N=p(O),P=k.path(N,A),F=i.insert(()=>M,`:first-child`);return F.insert(()=>P),F.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,r),F.attr(`transform`,`translate(0,${-b/2})`),o.attr(`transform`,`translate(${-(a.width/2)-10-(a.x-(a.left??0))}, ${-(a.height/2)+10-b/2-(a.y-(a.top??0))})`),d(t,F),t.intersect=function(e){return I.polygon(t,D,e)},i}e.n(He,`multiWaveEdgedRectangle`);async function Ue(e,t,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:a}=s.i(t);t.labelStyle=i,t.useHtmlLabels||n.T(n.b())||(t.centerLabel=!0);let{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=Math.max(u.width+(t.padding??0)*2,t?.width??0),h=Math.max(u.height+(t.padding??0)*2,t?.height??0),g=-m/2,_=-h/2,{cssStyles:v}=t,y=c.t.svg(o),b=s.a(t,{fill:r.noteBkgColor,stroke:r.noteBorderColor});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let x=y.rectangle(g,_,m,h,b),S=o.insert(()=>x,`:first-child`);return S.attr(`class`,`basic label-container outer-path`),p.attr(`class`,`label noteLabel`),v&&t.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,v),a&&t.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,a),p.attr(`transform`,`translate(${-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),d(t,S),t.intersect=function(e){return I.rect(t,e)},o}e.n(Ue,`note`);var We=e.n((e,t,n)=>[`M${e+n/2},${t}`,`L${e+n},${t-n/2}`,`L${e+n/2},${t-n}`,`L${e},${t-n/2}`,`Z`].join(` `),`createDecisionBoxPathD`);async function Ge(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await l(e,t,f(t)),o=a.width+(t.padding??0)+(a.height+(t.padding??0)),u=.5,p=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}],m,{cssStyles:h}=t;if(t.look===`handDrawn`){let e=c.t.svg(i),n=s.a(t,{}),r=We(0,0,o),a=e.path(r,n);m=i.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-o/2+u}, ${o/2})`),h&&m.attr(`style`,h)}else m=B(i,o,o,p),m.attr(`transform`,`translate(${-o/2+u}, ${o/2})`);return r&&m.attr(`style`,r),d(t,m),t.calcIntersect=function(e,t){let n=e.width,r=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}],i=I.polygon(e,r,t);return{x:i.x-.5,y:i.y-.5}},t.intersect=function(e){return this.calcIntersect(t,e)},i}e.n(Ge,`question`);async function Ke(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?21:i??0,o=t.look===`neo`?12:i??0,{shapeSvg:u,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width??m.width)+(t.look===`neo`?a*2:a),_=(t?.height??m.height)+(t.look===`neo`?o*2:o),v=-g/2,y=-_/2,b=y/2,x=[{x:v+b,y},{x:v,y:0},{x:v+b,y:-y},{x:-v,y:-y},{x:-v,y}],{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=p(x),E=C.path(T,w),D=u.insert(()=>E,`:first-child`);return D.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-b/2},0)`),h.attr(`transform`,`translate(${-b/2-m.width/2-(m.x-(m.left??0))}, ${-(m.height/2)-(m.y-(m.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,x,e)},u}e.n(Ke,`rect_left_inv_arrow`);async function qe(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o;o=r.cssClasses?`node `+r.cssClasses:`node default`;let l=e.insert(`g`).attr(`class`,o).attr(`id`,r.domId||r.id),u=l.insert(`g`),f=l.insert(`g`).attr(`class`,`label`).attr(`style`,a),p=r.description,m=r.label,h=await v(f,m,r.labelStyle,!0,!0),g={width:0,height:0};if(n.T(n.x())){let e=h.children[0],n=t.p(h);g=e.getBoundingClientRect(),n.attr(`width`,g.width),n.attr(`height`,g.height)}t.m.info(`Text 2`,p);let _=p||[],b=h.getBBox(),x=await v(f,Array.isArray(_)?_.join(`<br/>`):_,r.labelStyle,!0,!0),S=x.children[0],C=t.p(x);g=S.getBoundingClientRect(),C.attr(`width`,g.width),C.attr(`height`,g.height);let w=(r.padding||0)/2;t.p(x).attr(`transform`,`translate( `+(g.width>b.width?0:(b.width-g.width)/2)+`, `+(b.height+w+5)+`)`),t.p(h).attr(`transform`,`translate( `+(g.width<b.width?0:-(b.width-g.width)/2)+`, 0)`),g=f.node().getBBox(),f.attr(`transform`,`translate(`+-g.width/2+`, `+(-g.height/2-w+3)+`)`);let T=g.width+(r.padding||0),E=g.height+(r.padding||0),D=-g.width/2-w,O=-g.height/2-w,k,A;if(r.look===`handDrawn`){let e=c.t.svg(l),n=s.a(r,{}),i=e.path(y(D,O,T,E,r.rx||0),n),a=e.line(-g.width/2-w,-g.height/2-w+b.height+w,g.width/2+w,-g.height/2-w+b.height+w,n);A=l.insert(()=>(t.m.debug(`Rough node insert CXC`,i),a),`:first-child`),k=l.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`)}else k=u.insert(`rect`,`:first-child`),A=u.insert(`line`),k.attr(`class`,`outer title-state`).attr(`style`,a).attr(`x`,-g.width/2-w).attr(`y`,-g.height/2-w).attr(`width`,g.width+(r.padding||0)).attr(`height`,g.height+(r.padding||0)),A.attr(`class`,`divider`).attr(`x1`,-g.width/2-w).attr(`x2`,g.width/2+w).attr(`y1`,-g.height/2-w+b.height+w).attr(`y2`,-g.height/2-w+b.height+w);return d(r,k),r.intersect=function(e){return I.rect(r,e)},l}e.n(qe,`rectWithTitle`);async function Je(e,t,{config:{themeVariables:n}}){let r=n?.radius??5;return Y(e,t,{rx:r,ry:r,classes:``,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}e.n(Je,`roundedRect`);var X=8;async function Ye(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?12:t.padding??0,{shapeSvg:u,bbox:p,label:m}=await l(e,t,f(t)),h=(t?.width??p.width)+a*2+(t.look===`neo`?X:X*2),g=(t?.height??p.height)+o*2,_=h-X,v=g,y=X-h/2,b=-g/2,{cssStyles:x}=t,S=c.t.svg(u),C=s.a(t,{});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=[{x:y,y:b},{x:y+_,y:b},{x:y+_,y:b+v},{x:y-X,y:b+v},{x:y-X,y:b},{x:y,y:b},{x:y,y:b+v}],T=S.polygon(w.map(e=>[e.x,e.y]),C),E=u.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)),i&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,i),x&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,i),m.attr(`transform`,`translate(${X/2-p.width/2-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),d(t,E),t.intersect=function(e){return I.rect(t,e)},u}e.n(Ye,`shadedProcess`);async function Xe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2,10),t.height=Math.max((t?.height??0)/1.5-o*2,10));let{shapeSvg:u,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:m.width)+a*2,_=((t?.height?t?.height:m.height)+o*2)*1.5,v=g,y=_/1.5,b=-v/2,x=-y/2,{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=[{x:b,y:x},{x:b,y:x+y},{x:b+v,y:x+y},{x:b+v,y:x-y/2}],E=p(T),D=C.path(E,w),O=u.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,r),O.attr(`transform`,`translate(0, ${y/4})`),h.attr(`transform`,`translate(${-v/2+(t.padding??0)-(m.x-(m.left??0))}, ${-y/4+(t.padding??0)-(m.y-(m.top??0))})`),d(t,O),t.intersect=function(e){return I.polygon(t,T,e)},u}e.n(Xe,`slopedRect`);async function Ze(e,t){let n=t.padding??0,r=t.look===`neo`?16:n*2,i=t.look===`neo`?12:n;return Y(e,t,{rx:0,ry:0,classes:``,labelPaddingX:t.labelPaddingX??r,labelPaddingY:i})}e.n(Ze,`squareRect`);async function Qe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?20:i,o=t.look===`neo`?12:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),g=m.height+(t.look===`neo`?o*2:o),_=m.width+g/4+(t.look===`neo`?a*2:a),v=g/2,{cssStyles:y}=t,b=c.t.svg(u),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:-_/2+v,y:-g/2},{x:_/2-v,y:-g/2},...h(-_/2+v,0,v,50,90,270),{x:_/2-v,y:g/2},...h(_/2-v,0,v,50,270,450)],C=p(S),w=b.path(C,x),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,r),d(t,T),t.intersect=function(e){return I.polygon(t,S,e)},u}e.n(Qe,`stadium`);async function $e(e,t){return Y(e,t,{rx:t.look===`neo`?3:5,ry:t.look===`neo`?3:5,classes:`flowchart-node`})}e.n($e,`state`);function et(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:i}=s.i(t);t.labelStyle=r;let{cssStyles:a}=t,{lineColor:o,stateBorder:l,nodeBorder:u,nodeShadow:f}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let p=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId??t.id),m=c.t.svg(p),h=s.a(t,{});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=m.circle(0,0,t.width,{...h,stroke:o,strokeWidth:2}),_=l??u,v=(t.width??0)*5/14,y=m.circle(0,0,v,{...h,fill:_,stroke:_,strokeWidth:2,fillStyle:`solid`}),b=p.insert(()=>g,`:first-child`);if(b.insert(()=>y),t.look!==`handDrawn`&&b.attr(`class`,`outer-path`),a&&b.selectAll(`path`).attr(`style`,a),i&&b.selectAll(`path`).attr(`style`,i),t.width<25&&f&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;b.attr(`style`,`filter:url(#${n})`)}return d(t,b),t.intersect=function(e){return I.circle(t,(t.width??0)/2,e)},p}e.n(et,`stateEnd`);function tt(e,t,{config:{themeVariables:n}}){let{lineColor:r,nodeShadow:i}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let a=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId||t.id),o;if(t.look===`handDrawn`){let e=c.t.svg(a).circle(0,0,t.width,s.r(r));o=a.insert(()=>e),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14)}else o=a.insert(`circle`,`:first-child`),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14);if(t.width<25&&i&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;o.attr(`style`,`filter:url(#${n})`)}return d(t,o),t.intersect=function(e){return I.circle(t,(t.width??7)/2,e)},a}e.n(tt,`stateStart`);var Z=8;async function nt(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t?.padding??8,o=t.look===`neo`?28:a,u=t.look===`neo`?12:a,{shapeSvg:p,bbox:m}=await l(e,t,f(t)),h=(t?.width??m.width)+2*Z+o,g=(t?.height??m.height)+u,_=h-2*Z,v=g,y=-h/2,b=-g/2,x=[{x:0,y:0},{x:_,y:0},{x:_,y:-v},{x:0,y:-v},{x:0,y:0},{x:-8,y:0},{x:_+8,y:0},{x:_+8,y:-v},{x:-8,y:-v},{x:-8,y:0}];if(t.look===`handDrawn`){let e=c.t.svg(p),n=s.a(t,{}),i=e.rectangle(y,b,_+16,v,n),a=e.line(y+Z,b,y+Z,b+v,n),o=e.line(y+Z+_,b,y+Z+_,b+v,n);p.insert(()=>a,`:first-child`),p.insert(()=>o,`:first-child`);let l=p.insert(()=>i,`:first-child`),{cssStyles:u}=t;l.attr(`class`,`basic label-container`).attr(`style`,r.u(u)),d(t,l)}else{let e=B(p,_,v,x);i&&e.attr(`style`,i),d(t,e)}return t.intersect=function(e){return I.polygon(t,x,e)},p}e.n(nt,`subroutine`);var rt=.2;async function it(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-o*2,10),t.width=Math.max((t?.width??0)-a*2-rt*(t.height+o*2),10));let{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height?t?.height:m.height)+o*2,g=rt*h,_=rt*h,v=(t?.width?t?.width:m.width)+a*2+g-g,y=h,b=-v/2,x=-y/2,{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{}),T=[{x:b-g/2,y:x},{x:b+v+g/2,y:x},{x:b+v+g/2,y:x+y},{x:b-g/2,y:x+y}],E=[{x:b+v-g/2,y:x+y},{x:b+v+g/2,y:x+y},{x:b+v+g/2,y:x+y-_}];t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let D=p(T),O=C.path(D,w),k=p(E),A=C.path(k,{...w,fillStyle:`solid`}),j=u.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),d(t,j),t.intersect=function(e){return I.polygon(t,T,e)},u}e.n(it,`taggedRect`);async function at(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=Math.max(a.width+(t.padding??0)*2,t?.width??0),h=Math.max(a.height+(t.padding??0)*2,t?.height??0),g=h/8,_=.2*u,v=.2*h,y=h+g,{cssStyles:b}=t,x=c.t.svg(i),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-u/2-u/2*.1,y:y/2},...m(-u/2-u/2*.1,y/2,u/2+u/2*.1,y/2,g,.8),{x:u/2+u/2*.1,y:-y/2},{x:-u/2-u/2*.1,y:-y/2}],w=-u/2+u/2*.1,T=-y/2-v*.4,E=[{x:w+u-_,y:(T+h)*1.3},{x:w+u,y:T+h-v},{x:w+u,y:(T+h)*.9},...m(w+u,(T+h)*1.25,w+u-_,(T+h)*1.3,-h*.02,.5)],D=p(C),O=x.path(D,S),k=p(E),A=x.path(k,{...S,fillStyle:`solid`}),j=i.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(0,${-g/2})`),o.attr(`transform`,`translate(${-u/2+(t.padding??0)-(a.x-(a.left??0))},${-h/2+(t.padding??0)-g/2-(a.y-(a.top??0))})`),d(t,j),t.intersect=function(e){return I.polygon(t,C,e)},i}e.n(at,`taggedWaveEdgedRectangle`);async function ot(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await l(e,t,f(t)),o=Math.max(a.width+(t.padding??0),t?.width||0),c=Math.max(a.height+(t.padding??0),t?.height||0),u=-o/2,p=-c/2,m=i.insert(`rect`,`:first-child`);return m.attr(`class`,`text`).attr(`style`,r).attr(`rx`,0).attr(`ry`,0).attr(`x`,u).attr(`y`,p).attr(`width`,o).attr(`height`,c),d(t,m),t.intersect=function(e){return I.rect(t,e)},i}e.n(ot,`text`);var st=e.n((e,t,n,r,i,a)=>`M${e},${t}
3
- a${i},${a} 0,0,1 0,${-r}
4
- l${n},0
5
- a${i},${a} 0,0,1 0,${r}
6
- M${n},${-r}
7
- a${i},${a} 0,0,0 0,${r}
8
- l${-n},0`,`createCylinderPathD`),ct=e.n((e,t,n,r,i,a)=>[`M${e},${t}`,`M${e+n},${t}`,`a${i},${a} 0,0,0 0,${-r}`,`l${-n},0`,`a${i},${a} 0,0,0 0,${r}`,`l${n},0`].join(` `),`createOuterCylinderPathD`),lt=e.n((e,t,n,r,i,a)=>[`M${e+n/2},${-r/2}`,`a${i},${a} 0,0,0 0,${r}`].join(` `),`createInnerCylinderPathD`),ut=5,dt=10;async function ft(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?12:a/2;if(t.width||t.height){let e=t.height??0;t.height=(t.height??0)-o,t.height<ut&&(t.height=ut);let n=e/2/(2.5+e/50);t.width=(t.width??0)-o-n*3,t.width<dt&&(t.width=dt)}let{shapeSvg:u,bbox:p,label:m}=await l(e,t,f(t)),h=(t.height?t.height:p.height)+o,g=h/2,_=g/(2.5+h/50),v=(t.width?t.width:p.width)+_+o,{cssStyles:y}=t,b;if(t.look===`handDrawn`){let e=c.t.svg(u),n=ct(0,0,v,h,_,g),r=lt(0,0,v,h,_,g),i=e.path(n,s.a(t,{})),a=e.path(r,s.a(t,{fill:`none`}));b=u.insert(()=>a,`:first-child`),b=u.insert(()=>i,`:first-child`),b.attr(`class`,`basic label-container`),y&&b.attr(`style`,y)}else{let e=st(0,0,v,h,_,g);b=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container`).attr(`style`,r.u(y)).attr(`style`,i),b.attr(`class`,`basic label-container outer-path`),y&&b.selectAll(`path`).attr(`style`,y),i&&b.selectAll(`path`).attr(`style`,i)}return b.attr(`label-offset-x`,_),b.attr(`transform`,`translate(${-v/2}, ${h/2} )`),m.attr(`transform`,`translate(${-(p.width/2)-_-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),d(t,b),t.intersect=function(e){let n=I.rect(t,e),r=n.y-(t.y??0);if(g!=0&&(Math.abs(r)<(t.height??0)/2||Math.abs(r)==(t.height??0)/2&&Math.abs(n.x-(t.x??0))>(t.width??0)/2-_)){let i=_*_*(1-r*r/(g*g));i!=0&&(i=Math.sqrt(Math.abs(i))),i=_-i,e.x-(t.x??0)>0&&(i=-i),n.x+=i}return n},u}e.n(ft,`tiltedCylinder`);async function pt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=(t.look,i),o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:-3*h/6,y:0},{x:g+3*h/6,y:0},{x:g,y:-h},{x:0,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(pt,`trapezoid`);async function mt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=(t.height??0)-o*2,t.height<5&&(t.height=5),t.width=(t.width??0)-a*2,t.width<15&&(t.width=15));let{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.width?t?.width:m.width)+a*2,g=(t?.height?t?.height:m.height)+o*2,{cssStyles:_}=t,v=c.t.svg(u),y=s.a(t,{});t.look!==`handDrawn`&&(y.roughness=0,y.fillStyle=`solid`);let b=[{x:-h/2*.8,y:-g/2},{x:h/2*.8,y:-g/2},{x:h/2,y:-g/2*.6},{x:h/2,y:g/2},{x:-h/2,y:g/2},{x:-h/2,y:-g/2*.6}],x=p(b),S=v.path(x,y),C=u.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`),_&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,_),r&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,r),d(t,C),t.intersect=function(e){return I.polygon(t,b,e)},u}e.n(mt,`trapezoidalPentagon`);var ht=10,gt=10;async function _t(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o=r.padding??0,u=r.look===`neo`?o*2:o;(r.width||r.height)&&(r.width=((r?.width??0)-u)/2,r.width<gt&&(r.width=gt),r.height=r?.height??0,r.height<ht&&(r.height=ht));let{shapeSvg:m,bbox:h,label:g}=await l(e,r,f(r)),_=n.g(n.x().flowchart?.htmlLabels),v=(r?.width?r?.width:h.width)+u,y=r?.height?r?.height:v+h.height,b=y,x=[{x:0,y:0},{x:b,y:0},{x:b/2,y:-y}],{cssStyles:S}=r,C=c.t.svg(m),w=s.a(r,{});r.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=p(x),E=C.path(T,w),D=m.insert(()=>E,`:first-child`).attr(`transform`,`translate(${-y/2}, ${y/2})`).attr(`class`,`outer-path`);return S&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,S),a&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,a),r.width=v,r.height=y,d(r,D),g.attr(`transform`,`translate(${-h.width/2-(h.x-(h.left??0))}, ${y/2-(h.height+(r.padding??0)/(_?2:1)-(h.y-(h.top??0)))})`),r.intersect=function(e){return t.m.info(`Triangle intersect`,r,x,e),I.polygon(r,x,e)},m}e.n(_t,`triangle`);async function vt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,u=!0;(t.width||t.height)&&(u=!1,t.width=(t?.width??0)-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:h,bbox:g,label:_}=await l(e,t,f(t)),v=(t?.width?t?.width:g.width)+(a??0)*2,y=(t?.height?t?.height:g.height)+(o??0)*2,b=t.look===`neo`?y/4:y/8,x=y+(u?b:-b),{cssStyles:S}=t,C=14-v,w=C>0?C/2:0,T=c.t.svg(h),E=s.a(t,{});t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=[{x:-v/2-w,y:x/2},...m(-v/2-w,x/2,v/2+w,x/2,b,.8),{x:v/2+w,y:-x/2},{x:-v/2-w,y:-x/2}],O=p(D),k=T.path(O,E),A=h.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(0,${-b/2})`),_.attr(`transform`,`translate(${-v/2+(t.padding??0)-(g.x-(g.left??0))},${-y/2+(t.padding??0)-b-(g.y-(g.top??0))})`),d(t,A),t.intersect=function(e){return I.polygon(t,D,e)},h}e.n(vt,`waveEdgedRectangle`);async function yt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?20:i;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);let e=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-o-20/9*e),t.width-=a*2}let{shapeSvg:u,bbox:h}=await l(e,t,f(t)),g=(t?.width?t?.width:h.width)+a*2,_=(t?.height?t?.height:h.height)+o,v=_/8,y=_+v*2,{cssStyles:b}=t,x=c.t.svg(u),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-g/2,y:y/2},...m(-g/2,y/2,g/2,y/2,v,1),{x:g/2,y:-y/2},...m(g/2,-y/2,-g/2,-y/2,v,-1)],w=p(C),T=x.path(w,S),E=u.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),d(t,E),t.intersect=function(e){return I.polygon(t,C,e)},u}e.n(yt,`waveRectangle`);var Q=10;async function bt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-i*2-Q,10),t.height=Math.max((t?.height??0)-a*2-Q,10));let{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=(t?.width?t?.width:u.width)+i*2+Q,h=(t?.height?t?.height:u.height)+a*2+Q,g=m-Q,_=h-Q,v=-g/2,y=-_/2,{cssStyles:b}=t,x=c.t.svg(o),S=s.a(t,{}),C=[{x:v-Q,y:y-Q},{x:v-Q,y:y+_},{x:v+g,y:y+_},{x:v+g,y:y-Q}],w=`M${v-Q},${y-Q} L${v+g},${y-Q} L${v+g},${y+_} L${v-Q},${y+_} L${v-Q},${y-Q}
9
- M${v-Q},${y} L${v+g},${y}
10
- M${v},${y-Q} L${v},${y+_}`;t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let T=x.path(w,S),E=o.insert(()=>T,`:first-child`);return E.attr(`transform`,`translate(${Q/2}, ${Q/2})`),E.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),p.attr(`transform`,`translate(${-(u.width/2)+Q/2-(u.x-(u.left??0))}, ${-(u.height/2)+Q/2-(u.y-(u.top??0))})`),d(t,E),t.intersect=function(e){return I.polygon(t,C,e)},o}e.n(bt,`windowPane`);var xt=new Set([`redux-color`,`redux-dark-color`]),St=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]);async function Ct(e,i){let a=i;a.alias&&(i.label=a.alias);let{theme:o,themeVariables:l}=n.b(),{rowEven:u,rowOdd:p,nodeBorder:m,borderColorArray:h}=l;if(i.look===`handDrawn`){let{themeVariables:t}=n.b(),{background:r}=t;await Ct(e,{...i,id:i.id+`-background`,domId:(i.domId||i.id)+`-background`,look:`default`,cssStyles:[`stroke: none`,`fill: ${r}`]})}let g=n.b();i.useHtmlLabels=g.htmlLabels;let _=g.er?.diagramPadding??10,v=g.er?.entityPadding??6,{cssStyles:y}=i,{labelStyles:b,nodeStyles:x}=s.i(i);if(a.attributes.length===0&&i.label){let t={rx:0,ry:0,labelPaddingX:_,labelPaddingY:_*1.5,classes:``};r.r(i.label,g)+t.labelPaddingX*2<g.er.minEntityWidth&&(i.width=g.er.minEntityWidth);let s=await Y(e,i,t);if(o!=null&&xt.has(o)){let e=a.colorIndex??0;s.attr(`data-color-id`,`color-${e%h.length}`)}if(!n.g(g.htmlLabels)){let e=s.select(`text`),t=e.node()?.getBBox();e.attr(`transform`,`translate(${-t.width/2}, 0)`)}return s}g.htmlLabels||(_*=1.25,v*=1.25);let S=f(i);S||=`node default`;let C=e.insert(`g`).attr(`class`,S).attr(`id`,i.domId||i.id),w=await wt(C,i.label??``,g,0,0,[`name`],b);w.height+=v;let T=0,E=[],D=[],O=0,k=0,A=0,j=0,M=!0,N=!0;for(let e of a.attributes){let t=await wt(C,e.type,g,0,T,[`attribute-type`],b);O=Math.max(O,t.width+_);let n=await wt(C,e.name,g,0,T,[`attribute-name`],b);k=Math.max(k,n.width+_);let r=await wt(C,e.keys.join(),g,0,T,[`attribute-keys`],b);A=Math.max(A,r.width+_);let i=await wt(C,e.comment,g,0,T,[`attribute-comment`],b);j=Math.max(j,i.width+_);let a=Math.max(t.height,n.height,r.height,i.height)+v;D.push({yOffset:T,rowHeight:a}),T+=a}let P=4;A<=_&&(M=!1,A=0,P--),j<=_&&(N=!1,j=0,P--);let F=C.node().getBBox();if(w.width+_*2-(O+k+A+j)>0){let e=w.width+_*2-(O+k+A+j);O+=e/P,k+=e/P,A>0&&(A+=e/P),j>0&&(j+=e/P)}let L=O+k+A+j,R=c.t.svg(C),z=s.a(i,{});i.look!==`handDrawn`&&(z.roughness=0,z.fillStyle=`solid`);let ee=0;D.length>0&&(ee=D.reduce((e,t)=>e+(t?.rowHeight??0),0));let B=Math.max(F.width+_*2,i?.width||0,L),V=Math.max((ee??0)+w.height,i?.height||0),H=-B/2,U=-V/2;if(C.selectAll(`g:not(:first-child)`).each((e,n,r)=>{let i=t.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]),i.attr(`class`).includes(`attribute-name`)?o+=O:i.attr(`class`).includes(`attribute-keys`)?o+=O+k:i.attr(`class`).includes(`attribute-comment`)&&(o+=O+k+A))}i.attr(`transform`,`translate(${H+_/2+o}, ${s+U+w.height+v/2})`)}),C.select(`.name`).attr(`transform`,`translate(`+-w.width/2+`, `+(U+v/2)+`)`),o!=null&&xt.has(o)){let e=a.colorIndex??0;C.attr(`data-color-id`,`color-${e%h.length}`)}let te=R.rectangle(H,U,B,V,z),ne=C.insert(()=>te,`:first-child`).attr(`class`,`outer-path`).attr(`style`,y.join(``));E.push(0);for(let[e,t]of D.entries()){let n=(e+1)%2==0&&t.yOffset!==0,r=R.rectangle(H,w.height+U+t?.yOffset,B,t?.rowHeight,{...z,fill:n?u:p,stroke:m});C.insert(()=>r,`g.label`).attr(`style`,y.join(``)).attr(`class`,`row-rect-${n?`even`:`odd`}`)}let W=1e-4,G=Tt(H,w.height+U,B+H,w.height+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z);if(C.insert(()=>K).attr(`class`,`divider`),G=Tt(O+H,w.height+U,O+H,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`),M){let e=O+k+H;G=Tt(e,w.height+U,e,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}if(N){let e=O+k+A+H;G=Tt(e,w.height+U,e,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}for(let e of E){let t=w.height+U+e;G=Tt(H,t,B+H,t,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}if(d(i,ne),x&&i.look!==`handDrawn`)if(o!=null&&St.has(o))C.selectAll(`path`).attr(`style`,x);else{let e=x.split(`;`)?.filter(e=>e.includes(`stroke`))?.map(e=>`${e}`).join(`; `);C.selectAll(`path`).attr(`style`,e??``),C.selectAll(`.row-rect-even path`).attr(`style`,x)}return i.intersect=function(e){return I.rect(i,e)},C}e.n(Ct,`erBox`);async function wt(e,i,o,s=0,c=0,l=[],u=``){let d=e.insert(`g`).attr(`class`,`label ${l.join(` `)}`).attr(`transform`,`translate(${s}, ${c})`).attr(`style`,u);i!==n.M(i)&&(i=n.M(i),i=i.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`));let f=d.node().appendChild(await a.n(d,i,{width:r.r(i,o)+100,style:u,useHtmlLabels:o.htmlLabels},o));if(i.includes(`&lt;`)||i.includes(`&gt;`)){let e=f.children[0];for(e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`);e.childNodes[0];)e=e.childNodes[0],e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`)}let p=f.getBBox();if(n.g(o.htmlLabels)){let e=f.children[0];e.style.textAlign=`start`;let n=t.p(f);p=e.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}return p}e.n(wt,`addText`);function Tt(e,t,n,r,i){return e===n?[{x:e-i/2,y:t},{x:e+i/2,y:t},{x:n+i/2,y:r},{x:n-i/2,y:r}]:[{x:e,y:t-i/2},{x:e,y:t+i/2},{x:n,y:r+i/2},{x:n,y:r-i/2}]}e.n(Tt,`lineToPolygon`);async function Et(e,t,n,r,i=n.class.padding??12){let a=r?0:3,o=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId||t.id),s=null,c=null,l=null,u=null,d=0,p=0,m=0;if(s=o.insert(`g`).attr(`class`,`annotation-group text`),t.annotations.length>0){let e=t.annotations[0];await Dt(s,{text:`\xAB${e}\xBB`},0),d=s.node().getBBox().height}c=o.insert(`g`).attr(`class`,`label-group text`),await Dt(c,t,0,[`font-weight: bolder`]);let h=c.node().getBBox();p=h.height,l=o.insert(`g`).attr(`class`,`members-group text`);let g=0;for(let e of t.members){let t=await Dt(l,e,g,[e.parseClassifier()]);g+=t+a}m=l.node().getBBox().height,m<=0&&(m=i/2),u=o.insert(`g`).attr(`class`,`methods-group text`);let _=0;for(let e of t.methods){let t=await Dt(u,e,_,[e.parseClassifier()]);_+=t+a}let v=o.node().getBBox();if(s!==null){let e=s.node().getBBox();s.attr(`transform`,`translate(${-e.width/2})`)}return c.attr(`transform`,`translate(${-h.width/2}, ${d})`),v=o.node().getBBox(),l.attr(`transform`,`translate(0, ${d+p+i*2})`),v=o.node().getBBox(),u.attr(`transform`,`translate(0, ${d+p+(m?m+i*4:i*2)})`),v=o.node().getBBox(),{shapeSvg:o,bbox:v}}e.n(Et,`textHelper`);async function Dt(i,o,s,c=[]){let l=i.insert(`g`).attr(`class`,`label`).attr(`style`,c.join(`; `)),u=n.b(),d=`useHtmlLabels`in o?o.useHtmlLabels:n.g(u.htmlLabels)??!0,f=``;f=`text`in o?o.text:o.label,!d&&f.startsWith(`\\`)&&(f=f.substring(1)),n.A(f)&&(d=!0);let p=await a.n(l,n.B(r.a(f)),{width:r.r(f,u)+50,classes:`markdown-node-label`,useHtmlLabels:d},u),m,h=1;if(d){let n=p.children[0],r=t.p(p);h=n.innerHTML.split(`<br>`).length,n.innerHTML.includes(`</math>`)&&(h+=n.innerHTML.split(`<mrow>`).length-1);let i=n.getElementsByTagName(`img`);if(i){let t=f.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...i].map(n=>new Promise(r=>{function i(){if(n.style.display=`flex`,n.style.flexDirection=`column`,t){let e=u.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,t=parseInt(e,10)*5+`px`;n.style.minWidth=t,n.style.maxWidth=t}else n.style.width=`100%`;r(n)}e.n(i,`setupImage`),setTimeout(()=>{n.complete&&i()}),n.addEventListener(`error`,i),n.addEventListener(`load`,i)})))}m=n.getBoundingClientRect(),r.attr(`width`,m.width),r.attr(`height`,m.height)}else{c.includes(`font-weight: bolder`)&&t.p(p).selectAll(`tspan`).attr(`font-weight`,``),h=p.children.length;let e=p.children[0];(p.textContent===``||p.textContent.includes(`&gt`))&&(e.textContent=f[0]+f.substring(1).replaceAll(`&gt;`,`>`).replaceAll(`&lt;`,`<`).trim(),f[1]===` `&&(e.textContent=e.textContent[0]+` `+e.textContent.substring(1))),e.textContent===`undefined`&&(e.textContent=``),m=p.getBBox()}return l.attr(`transform`,`translate(0,`+(-m.height/(2*h)+s)+`)`),m.height}e.n(Dt,`addText`);async function Ot(e,r){let i=n.x(),{themeVariables:a}=i,{useGradient:o}=a,l=i.class.padding??12,u=l,f=r.useHtmlLabels??n.g(i.htmlLabels)??!0,p=r;p.annotations=p.annotations??[],p.members=p.members??[],p.methods=p.methods??[];let{shapeSvg:m,bbox:h}=await Et(e,r,i,f,u),{labelStyles:g,nodeStyles:_}=s.i(r);r.labelStyle=g,r.cssStyles=p.styles||``;let v=p.styles?.join(`;`)||_||``;r.cssStyles||=v.replaceAll(`!important`,``).split(`;`);let y=p.members.length===0&&p.methods.length===0&&!i.class?.hideEmptyMembersBox,b=c.t.svg(m),x=s.a(r,{});r.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=Math.max(r.width??0,h.width),C=Math.max(r.height??0,h.height),w=(r.height??0)>h.height;p.members.length===0&&p.methods.length===0?C+=u:p.members.length>0&&p.methods.length===0&&(C+=u*2);let T=-S/2,E=-C/2,D=y?l*2:p.members.length===0&&p.methods.length===0?-l:0;w&&(D=l*2);let O=b.rectangle(T-l,E-l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0),S+2*l,C+2*l+D,x),k=m.insert(()=>O,`:first-child`);k.attr(`class`,`basic label-container outer-path`);let A=k.node().getBBox(),j=m.select(`.annotation-group`).node().getBBox().height-(y?l/2:0)||0,M=m.select(`.label-group`).node().getBBox().height-(y?l/2:0)||0,N=m.select(`.members-group`).node().getBBox().height-(y?l/2:0)||0,P=(j+M+E+l-(E-l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0)))/2;if(m.selectAll(`.text`).each((e,n,r)=>{let a=t.p(r[n]),o=a.attr(`transform`),s=0;if(o){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);e&&(s=parseFloat(e[2]))}let c=s+E+l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0);if(a.attr(`class`).includes(`methods-group`)){let e=Math.max(N,u/2);c=w?Math.max(P,j+M+e+E+u*2+l)+u*2:j+M+e+E+u*4+l}p.members.length===0&&p.methods.length===0&&i.class?.hideEmptyMembersBox&&(c=p.annotations.length>0?s-u:s),f||(c-=4);let d=T;(a.attr(`class`).includes(`label-group`)||a.attr(`class`).includes(`annotation-group`))&&(d=-a.node()?.getBBox().width/2||0,m.selectAll(`text`).each(function(e,t,n){window.getComputedStyle(n[t]).textAnchor===`middle`&&(d=0)})),a.attr(`transform`,`translate(${d}, ${c})`)}),p.members.length>0||p.methods.length>0||y){let e=j+M+E+l,t=b.line(A.x,e,A.x+A.width,e+.001,x);m.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!o?` neo-line`:``}`).attr(`style`,v)}if(y||p.members.length>0||p.methods.length>0){let e=j+M+N+E+u*2+l,t=b.line(A.x,w?Math.max(P,e):e,A.x+A.width,(w?Math.max(P,e):e)+.001,x);m.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!o?` neo-line`:``}`).attr(`style`,v)}if(p.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,v),k.select(`:nth-child(2)`).attr(`style`,v),m.selectAll(`.divider`).select(`path`).attr(`style`,v),r.labelStyle?m.selectAll(`span`).attr(`style`,r.labelStyle):m.selectAll(`span`).attr(`style`,v),!f){let e=RegExp(/color\s*:\s*([^;]*)/),t=e.exec(v);if(t){let e=t[0].replace(`color`,`fill`);m.selectAll(`tspan`).attr(`style`,e)}else if(g){let t=e.exec(g);if(t){let e=t[0].replace(`color`,`fill`);m.selectAll(`tspan`).attr(`style`,e)}}}return d(r,k),r.intersect=function(e){return I.rect(r,e)},m}e.n(Ot,`classBox`);async function kt(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o=r,l=r,u=`verifyMethod`in r,p=f(r),{themeVariables:m}=n.x(),{borderColorArray:h,requirementEdgeLabelBackground:g}=m,_=e.insert(`g`).attr(`class`,p).attr(`id`,r.domId??r.id),v;v=u?await $(_,`&lt;&lt;${o.type}&gt;&gt;`,0,r.labelStyle):await $(_,`&lt;&lt;Element&gt;&gt;`,0,r.labelStyle);let y=v,b=await $(_,o.name,y,r.labelStyle+`; font-weight: bold;`);if(y+=b+20,u){let e=await $(_,`${o.requirementId?`ID: ${o.requirementId}`:``}`,y,r.labelStyle);y+=e;let t=await $(_,`${o.text?`Text: ${o.text}`:``}`,y,r.labelStyle);y+=t;let n=await $(_,`${o.risk?`Risk: ${o.risk}`:``}`,y,r.labelStyle);y+=n,await $(_,`${o.verifyMethod?`Verification: ${o.verifyMethod}`:``}`,y,r.labelStyle)}else{let e=await $(_,`${l.type?`Type: ${l.type}`:``}`,y,r.labelStyle);y+=e,await $(_,`${l.docRef?`Doc Ref: ${l.docRef}`:``}`,y,r.labelStyle)}let x=(_.node()?.getBBox().width??200)+20,S=(_.node()?.getBBox().height??200)+20,C=-x/2,w=-S/2,T=c.t.svg(_),E=s.a(r,{});r.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=T.rectangle(C,w,x,S,E),O=_.insert(()=>D,`:first-child`);if(O.attr(`class`,`basic label-container outer-path`).attr(`style`,a),h?.length){let e=r.colorIndex??0;_.attr(`data-color-id`,`color-${e%h.length}`)}if(_.selectAll(`.label`).each((e,n,r)=>{let i=t.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]))}let c=s-S/2,l=C+20/2;(n===0||n===1)&&(l=o),i.attr(`transform`,`translate(${l}, ${c+20})`)}),y>v+b+20){let e=w+v+b+20,t;if(r.look===`neo`){let n=.001,r=[[C,e],[C+x,e],[C+x,e+n],[C,e+n]];t=T.polygon(r,E)}else t=T.line(C,e,C+x,e,E);_.insert(()=>t).attr(`class`,`divider`)}return d(r,O),r.intersect=function(e){return I.rect(r,e)},a&&r.look!==`handDrawn`&&(g||h?.length)&&_.selectAll(`path`).attr(`style`,a),_}e.n(kt,`requirementBox`);async function $(e,i,o,s=``){if(i===``)return 0;let c=e.insert(`g`).attr(`class`,`label`).attr(`style`,s),l=n.x(),u=l.htmlLabels??!0,d=await a.n(c,n.B(r.a(i)),{width:r.r(i,l)+50,classes:`markdown-node-label`,useHtmlLabels:u,style:s},l),f;if(u){let e=d.children[0],n=t.p(d);f=e.getBoundingClientRect(),n.attr(`width`,f.width),n.attr(`height`,f.height)}else{let e=d.children[0];for(let t of e.children)s&&t.setAttribute(`style`,s);f=d.getBBox(),f.height+=6}return c.attr(`transform`,`translate(${-f.width/2},${-f.height/2+o})`),f.height}e.n($,`addText`);var At=e.n(e=>{switch(e){case`Very High`:return`red`;case`High`:return`orange`;case`Medium`:return null;case`Low`:return`blue`;case`Very Low`:return`lightblue`}},`colorFromPriority`);async function jt(e,t,{config:n}){let{labelStyles:r,nodeStyles:i}=s.i(t);t.labelStyle=r||``;let a=t.width;t.width=(t.width??200)-10;let{shapeSvg:o,bbox:p,label:m}=await l(e,t,f(t)),h=t.padding||10,g=``,_;`ticket`in t&&t.ticket&&n?.kanban?.ticketBaseUrl&&(g=n?.kanban?.ticketBaseUrl.replace(`#TICKET#`,t.ticket),_=o.insert(`svg:a`,`:first-child`).attr(`class`,`kanban-ticket-link`).attr(`xlink:href`,g).attr(`target`,`_blank`));let v={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||``,width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1},b,x;_?{label:b,bbox:x}=await u(_,`ticket`in t&&t.ticket||``,v):{label:b,bbox:x}=await u(o,`ticket`in t&&t.ticket||``,v);let{label:S,bbox:C}=await u(o,`assigned`in t&&t.assigned||``,v);t.width=a;let w=t?.width||0,T=Math.max(x.height,C.height)/2,E=Math.max(p.height+20,t?.height||0)+T,D=-w/2,O=-E/2;m.attr(`transform`,`translate(`+(h-w/2)+`, `+(-T-p.height/2)+`)`),b.attr(`transform`,`translate(`+(h-w/2)+`, `+(-T+p.height/2)+`)`),S.attr(`transform`,`translate(`+(h+w/2-C.width-20)+`, `+(-T+p.height/2)+`)`);let k,{rx:A,ry:j}=t,{cssStyles:M}=t;if(t.look===`handDrawn`){let e=c.t.svg(o),n=s.a(t,{}),r=A||j?e.path(y(D,O,w,E,A||0),n):e.rectangle(D,O,w,E,n);k=o.insert(()=>r,`:first-child`),k.attr(`class`,`basic label-container`).attr(`style`,M||null)}else{k=o.insert(`rect`,`:first-child`),k.attr(`class`,`basic label-container __APA__`).attr(`style`,i).attr(`rx`,A??5).attr(`ry`,j??5).attr(`x`,D).attr(`y`,O).attr(`width`,w).attr(`height`,E);let e=`priority`in t&&t.priority;if(e){let t=o.append(`line`),n=D+2,r=O+Math.floor((A??0)/2),i=O+E-Math.floor((A??0)/2);t.attr(`x1`,n).attr(`y1`,r).attr(`x2`,n).attr(`y2`,i).attr(`stroke-width`,`4`).attr(`stroke`,At(e))}}return d(t,k),t.height=E,t.intersect=function(e){return I.rect(t,e)},o}e.n(jt,`kanbanItem`);async function Mt(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n);n.labelStyle=i;let{shapeSvg:o,bbox:u,halfPadding:p,label:m}=await l(e,n,f(n)),h=u.width+10*p,g=u.height+8*p,_=.15*h,{cssStyles:v}=n,y=u.width+20,b=u.height+20,x=Math.max(h,y),S=Math.max(g,b);m.attr(`transform`,`translate(${-u.width/2}, ${-u.height/2})`);let C,w=`M0 0
11
- a${_},${_} 1 0,0 ${x*.25},${-1*S*.1}
12
- a${_},${_} 1 0,0 ${x*.25},0
13
- a${_},${_} 1 0,0 ${x*.25},0
14
- a${_},${_} 1 0,0 ${x*.25},${S*.1}
15
-
16
- a${_},${_} 1 0,0 ${x*.15},${S*.33}
17
- a${_*.8},${_*.8} 1 0,0 0,${S*.34}
18
- a${_},${_} 1 0,0 ${-1*x*.15},${S*.33}
19
-
20
- a${_},${_} 1 0,0 ${-1*x*.25},${S*.15}
21
- a${_},${_} 1 0,0 ${-1*x*.25},0
22
- a${_},${_} 1 0,0 ${-1*x*.25},0
23
- a${_},${_} 1 0,0 ${-1*x*.25},${-1*S*.15}
24
-
25
- a${_},${_} 1 0,0 ${-1*x*.1},${-1*S*.33}
26
- a${_*.8},${_*.8} 1 0,0 0,${-1*S*.34}
27
- a${_},${_} 1 0,0 ${x*.1},${-1*S*.33}
28
- H0 V0 Z`;if(n.look===`handDrawn`){let e=c.t.svg(o),t=s.a(n,{}),i=e.path(w,t);C=o.insert(()=>i,`:first-child`),C.attr(`class`,`basic label-container`).attr(`style`,r.u(v))}else C=o.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,a).attr(`d`,w);return C.attr(`transform`,`translate(${-x/2}, ${-S/2})`),d(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return t.m.info(`Bang intersect`,n,e),I.rect(n,e)},o}e.n(Mt,`bang`);async function Nt(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n);n.labelStyle=i;let{shapeSvg:o,bbox:u,halfPadding:p,label:m}=await l(e,n,f(n)),h=u.width+2*p,g=u.height+2*p,_=.15*h,v=.25*h,y=.35*h,b=.2*h,{cssStyles:x}=n,S,C=`M0 0
29
- a${_},${_} 0 0,1 ${h*.25},${-1*h*.1}
30
- a${y},${y} 1 0,1 ${h*.4},${-1*h*.1}
31
- a${v},${v} 1 0,1 ${h*.35},${h*.2}
32
-
33
- a${_},${_} 1 0,1 ${h*.15},${g*.35}
34
- a${b},${b} 1 0,1 ${-1*h*.15},${g*.65}
35
-
36
- a${v},${_} 1 0,1 ${-1*h*.25},${h*.15}
37
- a${y},${y} 1 0,1 ${-1*h*.5},0
38
- a${_},${_} 1 0,1 ${-1*h*.25},${-1*h*.15}
39
-
40
- a${_},${_} 1 0,1 ${-1*h*.1},${-1*g*.35}
41
- a${b},${b} 1 0,1 ${h*.1},${-1*g*.65}
42
- H0 V0 Z`;if(n.look===`handDrawn`){let e=c.t.svg(o),t=s.a(n,{}),i=e.path(C,t);S=o.insert(()=>i,`:first-child`),S.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else S=o.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,a).attr(`d`,C);return m.attr(`transform`,`translate(${-u.width/2}, ${-u.height/2})`),S.attr(`transform`,`translate(${-h/2}, ${-g/2})`),d(n,S),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return t.m.info(`Cloud intersect`,n,e),I.rect(n,e)},o}e.n(Nt,`cloud`);async function Pt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,halfPadding:o,label:c}=await l(e,t,f(t)),u=a.width+8*o,p=a.height+2*o,m=t.look===`neo`?`
43
- M${-u/2} ${p/2-5}
44
- v${-p+10}
45
- q0,-5 5,-5
46
- h${u-10}
47
- q5,0 5,5
48
- v${p-5}
49
- H${-u/2}
50
- Z
51
- `:`
52
- M${-u/2} ${p/2-5}
53
- v${-p+10}
54
- q0,-5 5,-5
55
- h${u-10}
56
- q5,0 5,5
57
- v${p-10}
58
- q0,5 -5,5
59
- h${-(u-10)}
60
- q-5,0 -5,-5
61
- Z
62
- `;if(!t.domId)throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let h=i.append(`path`).attr(`id`,t.domId).attr(`class`,`node-bkg node-`+t.type).attr(`style`,r).attr(`d`,m);return i.append(`line`).attr(`class`,`node-line-`).attr(`x1`,-u/2).attr(`y1`,p/2).attr(`x2`,u/2).attr(`y2`,p/2),c.attr(`transform`,`translate(${-a.width/2}, ${-a.height/2})`),i.append(()=>c.node()),d(t,h),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},i}e.n(Pt,`defaultMindmapNode`);async function Ft(e,t){return te(e,t,{padding:t.padding??0})}e.n(Ft,`mindmapCircle`);var It=[{semanticName:`Process`,name:`Rectangle`,shortName:`rect`,description:`Standard process shape`,aliases:[`proc`,`process`,`rectangle`],internalAliases:[`squareRect`],handler:Ze},{semanticName:`Event`,name:`Rounded Rectangle`,shortName:`rounded`,description:`Represents an event`,aliases:[`event`],internalAliases:[`roundedRect`],handler:Je},{semanticName:`Terminal Point`,name:`Stadium`,shortName:`stadium`,description:`Terminal point`,aliases:[`terminal`,`pill`],handler:Qe},{semanticName:`Subprocess`,name:`Framed Rectangle`,shortName:`fr-rect`,description:`Subprocess`,aliases:[`subprocess`,`subproc`,`framed-rectangle`,`subroutine`],handler:nt},{semanticName:`Database`,name:`Cylinder`,shortName:`cyl`,description:`Database storage`,aliases:[`db`,`database`,`cylinder`],handler:de},{semanticName:`Data Store`,name:`Data Store`,shortName:`datastore`,description:`Data flow diagram data store`,aliases:[`data-store`],handler:fe},{semanticName:`Start`,name:`Circle`,shortName:`circle`,description:`Starting point`,aliases:[`circ`],handler:te},{semanticName:`Bang`,name:`Bang`,shortName:`bang`,description:`Bang`,aliases:[`bang`],handler:Mt},{semanticName:`Cloud`,name:`Cloud`,shortName:`cloud`,description:`cloud`,aliases:[`cloud`],handler:Nt},{semanticName:`Decision`,name:`Diamond`,shortName:`diam`,description:`Decision-making step`,aliases:[`decision`,`diamond`,`question`],handler:Ge},{semanticName:`Prepare Conditional`,name:`Hexagon`,shortName:`hex`,description:`Preparation or condition step`,aliases:[`hexagon`,`prepare`],handler:Se},{semanticName:`Data Input/Output`,name:`Lean Right`,shortName:`lean-r`,description:`Represents input or output`,aliases:[`lean-right`,`in-out`],internalAliases:[`lean_right`],handler:Me},{semanticName:`Data Input/Output`,name:`Lean Left`,shortName:`lean-l`,description:`Represents output or input`,aliases:[`lean-left`,`out-in`],internalAliases:[`lean_left`],handler:je},{semanticName:`Priority Action`,name:`Trapezoid Base Bottom`,shortName:`trap-b`,description:`Priority action`,aliases:[`priority`,`trapezoid-bottom`,`trapezoid`],handler:pt},{semanticName:`Manual Operation`,name:`Trapezoid Base Top`,shortName:`trap-t`,description:`Represents a manual task`,aliases:[`manual`,`trapezoid-top`,`inv-trapezoid`],internalAliases:[`inv_trapezoid`],handler:ke},{semanticName:`Stop`,name:`Double Circle`,shortName:`dbl-circ`,description:`Represents a stop point`,aliases:[`double-circle`],internalAliases:[`doublecircle`],handler:me},{semanticName:`Text Block`,name:`Text Block`,shortName:`text`,description:`Text block`,handler:ot},{semanticName:`Card`,name:`Notched Rectangle`,shortName:`notch-rect`,description:`Represents a card`,aliases:[`card`,`notched-rectangle`],handler:H},{semanticName:`Lined/Shaded Process`,name:`Lined Rectangle`,shortName:`lin-rect`,description:`Lined process shape`,aliases:[`lined-rectangle`,`lined-process`,`lin-proc`,`shaded-process`],handler:Ye},{semanticName:`Start`,name:`Small Circle`,shortName:`sm-circ`,description:`Small starting point`,aliases:[`start`,`small-circle`],internalAliases:[`stateStart`],handler:tt},{semanticName:`Stop`,name:`Framed Circle`,shortName:`fr-circ`,description:`Stop point`,aliases:[`stop`,`framed-circle`],internalAliases:[`stateEnd`],handler:et},{semanticName:`Fork/Join`,name:`Filled Rectangle`,shortName:`fork`,description:`Fork or join in process flow`,aliases:[`join`],internalAliases:[`forkJoin`],handler:ye},{semanticName:`Collate`,name:`Hourglass`,shortName:`hourglass`,description:`Represents a collate operation`,aliases:[`hourglass`,`collate`],handler:Ce},{semanticName:`Comment`,name:`Curly Brace`,shortName:`brace`,description:`Adds a comment`,aliases:[`comment`,`brace-l`],handler:K},{semanticName:`Comment Right`,name:`Curly Brace`,shortName:`brace-r`,description:`Adds a comment`,handler:re},{semanticName:`Comment with braces on both sides`,name:`Curly Braces`,shortName:`braces`,description:`Adds a comment`,handler:ie},{semanticName:`Com Link`,name:`Lightning Bolt`,shortName:`bolt`,description:`Communication link`,aliases:[`com-link`,`lightning-bolt`],handler:Ne},{semanticName:`Document`,name:`Document`,shortName:`doc`,description:`Represents a document`,aliases:[`doc`,`document`],handler:vt},{semanticName:`Delay`,name:`Half-Rounded Rectangle`,shortName:`delay`,description:`Represents a delay`,aliases:[`half-rounded-rectangle`],handler:be},{semanticName:`Direct Access Storage`,name:`Horizontal Cylinder`,shortName:`h-cyl`,description:`Direct access storage`,aliases:[`das`,`horizontal-cylinder`],handler:ft},{semanticName:`Disk Storage`,name:`Lined Cylinder`,shortName:`lin-cyl`,description:`Disk storage`,aliases:[`disk`,`lined-cylinder`],handler:ze},{semanticName:`Display`,name:`Curved Trapezoid`,shortName:`curv-trap`,description:`Represents a display`,aliases:[`curved-trapezoid`,`display`],handler:ae},{semanticName:`Divided Process`,name:`Divided Rectangle`,shortName:`div-rect`,description:`Divided process shape`,aliases:[`div-proc`,`divided-rectangle`,`divided-process`],handler:pe},{semanticName:`Extract`,name:`Triangle`,shortName:`tri`,description:`Extraction process`,aliases:[`extract`,`triangle`],handler:_t},{semanticName:`Internal Storage`,name:`Window Pane`,shortName:`win-pane`,description:`Internal storage`,aliases:[`internal-storage`,`window-pane`],handler:bt},{semanticName:`Junction`,name:`Filled Circle`,shortName:`f-circ`,description:`Junction point`,aliases:[`junction`,`filled-circle`],handler:he},{semanticName:`Loop Limit`,name:`Trapezoidal Pentagon`,shortName:`notch-pent`,description:`Loop limit step`,aliases:[`loop-limit`,`notched-pentagon`],handler:mt},{semanticName:`Manual File`,name:`Flipped Triangle`,shortName:`flip-tri`,description:`Manual file operation`,aliases:[`manual-file`,`flipped-triangle`],handler:ve},{semanticName:`Manual Input`,name:`Sloped Rectangle`,shortName:`sl-rect`,description:`Manual input step`,aliases:[`manual-input`,`sloped-rectangle`],handler:Xe},{semanticName:`Multi-Document`,name:`Stacked Document`,shortName:`docs`,description:`Multiple documents`,aliases:[`documents`,`st-doc`,`stacked-document`],handler:He},{semanticName:`Multi-Process`,name:`Stacked Rectangle`,shortName:`st-rect`,description:`Multiple processes`,aliases:[`procs`,`processes`,`stacked-rectangle`],handler:Ve},{semanticName:`Stored Data`,name:`Bow Tie Rectangle`,shortName:`bow-rect`,description:`Stored data`,aliases:[`stored-data`,`bow-tie-rectangle`],handler:ee},{semanticName:`Summary`,name:`Crossed Circle`,shortName:`cross-circ`,description:`Summary`,aliases:[`summary`,`crossed-circle`],handler:W},{semanticName:`Tagged Document`,name:`Tagged Document`,shortName:`tag-doc`,description:`Tagged document`,aliases:[`tag-doc`,`tagged-document`],handler:at},{semanticName:`Tagged Process`,name:`Tagged Rectangle`,shortName:`tag-rect`,description:`Tagged process`,aliases:[`tagged-rectangle`,`tag-proc`,`tagged-process`],handler:it},{semanticName:`Paper Tape`,name:`Flag`,shortName:`flag`,description:`Paper tape`,aliases:[`paper-tape`],handler:yt},{semanticName:`Odd`,name:`Odd`,shortName:`odd`,description:`Odd shape`,internalAliases:[`rect_left_inv_arrow`],handler:Ke},{semanticName:`Lined Document`,name:`Lined Document`,shortName:`lin-doc`,description:`Lined document`,aliases:[`lined-document`],handler:Be}],Lt=e.n(()=>{let e=[...Object.entries({state:$e,choice:U,note:Ue,rectWithTitle:qe,labelRect:Ae,iconSquare:De,iconCircle:Te,icon:we,iconRounded:Ee,imageSquare:Oe,anchor:L,kanbanItem:jt,mindmapCircle:Ft,defaultMindmapNode:Pt,classBox:Ot,erBox:Ct,requirementBox:kt}),...It.flatMap(e=>[e.shortName,...`aliases`in e?e.aliases:[],...`internalAliases`in e?e.internalAliases:[]].map(t=>[t,e.handler]))];return Object.fromEntries(e)},`generateShapeMap`)();function Rt(e){return e in Lt}e.n(Rt,`isValidShape`);var zt=new Map;async function Bt(e,t,n){let i,a;t.shape===`rect`&&(t.rx&&t.ry?t.shape=`roundedRect`:t.shape=`squareRect`);let o=t.shape?Lt[t.shape]:void 0;if(!o)throw Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let r;n.config.securityLevel===`sandbox`?r=`_top`:t.linkTarget&&(r=t.linkTarget||`_blank`),i=e.insert(`svg:a`).attr(`xlink:href`,t.link).attr(`target`,r??null),a=await o(i,t,n)}else a=await o(e,t,n),i=a;return i.attr(`data-look`,r.u(t.look)),t.tooltip&&a.attr(`title`,t.tooltip),zt.set(t.id,i),t.haveCallback&&i.attr(`class`,i.attr(`class`)+` clickable`),i}e.n(Bt,`insertNode`);var Vt=e.n((e,t)=>{zt.set(t.id,e)},`setNodeElem`),Ht=e.n(()=>{zt.clear()},`clear`),Ut=e.n(e=>{let n=zt.get(e.id);t.m.trace(`Transforming node`,e.diff,e,`translate(`+(e.x-e.width/2-5)+`, `+e.width/2+`)`);let r=e.diff||0;return e.clusterNode?n.attr(`transform`,`translate(`+(e.x+r-e.width/2)+`, `+(e.y-e.height/2-8)+`)`):n.attr(`transform`,`translate(`+e.x+`, `+e.y+`)`),r},`positionNode`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Bt}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return Ut}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Vt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Ht}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return d}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./graphlib-CkkG5MuS.cjs"),r=require("./map-CwPlMWPw.cjs");var i=4;function a(e){return r.r(e,i)}function o(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:s(e),edges:c(e)};return n.r(e.graph())||(t.value=a(e.graph())),t}function s(e){return r.t(e.nodes(),function(t){var r=e.node(t),i=e.parent(t),a={v:t};return n.r(r)||(a.value=r),n.r(i)||(a.parent=i),a})}function c(e){return r.t(e.edges(),function(t){var r=e.edge(t),i={v:t.v,w:t.w};return n.r(t.name)||(i.name=t.name),n.r(r)||(i.value=r),i})}var l=new Map,u=new Map,d=new Map,f=e.n(()=>{u.clear(),d.clear(),l.clear()},`clear`),p=e.n((e,n)=>{let r=u.get(n)||[];return t.m.trace(`In isDescendant`,n,` `,e,` = `,r.includes(e)),r.includes(e)},`isDescendant`),m=e.n((e,n)=>{let r=u.get(n)||[];return t.m.info(`Descendants of `,n,` is `,r),t.m.info(`Edge is `,e),e.v===n||e.w===n?!1:r?r.includes(e.v)||p(e.v,n)||p(e.w,n)||r.includes(e.w):(t.m.debug(`Tilt, `,n,`,not in descendants`),!1)},`edgeInCluster`),h=e.n((e,n,r,i)=>{t.m.warn(`Copying children of `,e,`root`,i,`data`,n.node(e),i);let a=n.children(e)||[];e!==i&&a.push(e),t.m.warn(`Copying (nodes) clusterId`,e,`nodes`,a),a.forEach(a=>{if(n.children(a).length>0)h(a,n,r,i);else{let o=n.node(a);t.m.info(`cp `,a,` to `,i,` with parent `,e),r.setNode(a,o),i!==n.parent(a)&&(t.m.warn(`Setting parent`,a,n.parent(a)),r.setParent(a,n.parent(a))),e!==i&&a!==e?(t.m.debug(`Setting parent`,a,e),r.setParent(a,e)):(t.m.info(`In copy `,e,`root`,i,`data`,n.node(e),i),t.m.debug(`Not Setting parent for node=`,a,`cluster!==rootId`,e!==i,`node!==clusterId`,a!==e));let s=n.edges(a);t.m.debug(`Copying Edges`,s),s.forEach(a=>{t.m.info(`Edge`,a);let o=n.edge(a.v,a.w,a.name);t.m.info(`Edge data`,o,i);try{if(m(a,i)){let e=u.get(i)||[],s=e.includes(a.v)||p(a.v,i)||a.v===i,c=e.includes(a.w)||p(a.w,i)||a.w===i;if(s&&c)t.m.info(`Copying as `,a.v,a.w,o,a.name),r.setEdge(a.v,a.w,o,a.name),t.m.info(`newGraph edges `,r.edges(),r.edge(r.edges()[0]));else{let e=s?i:a.v,r=c?i:a.w;t.m.info(`Rebinding cross-boundary edge as `,e,r,o,a.name),n.setEdge(e,r,o,a.name)}}else t.m.info(`Skipping copy of edge `,a.v,`-->`,a.w,` rootId: `,i,` clusterId:`,e)}catch(e){t.m.error(e)}})}t.m.debug(`Removing node`,a),n.removeNode(a)})},`copy`),g=e.n((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)d.set(i,e),r=[...r,...g(i,t)];return r},`extractDescendants`),_=e.n((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),v=e.n((e,n,r)=>{let i=n.children(e);if(t.m.trace(`Searching children of id `,e,i),i.length<1)return e;let a;for(let e of i){let t=v(e,n,r),i=_(n,r,t);if(t)if(i.length>0)a=t;else return t}return a},`findNonClusterChild`),y=e.n(e=>!l.has(e)||!l.get(e).externalConnections?e:l.has(e)?l.get(e).id:e,`getAnchorId`),b=e.n((e,n)=>{if(!e||n>10){t.m.debug(`Opting out, no graph `);return}else t.m.debug(`Opting in, graph `);e.nodes().forEach(function(n){e.children(n).length>0&&(t.m.warn(`Cluster identified`,n,` Replacement id in edges: `,v(n,e,n)),u.set(n,g(n,e)),l.set(n,{id:v(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let r=e.children(n),i=e.edges();r.length>0?(t.m.debug(`Cluster identified`,n,u),i.forEach(e=>{p(e.v,n)^p(e.w,n)&&(t.m.warn(`Edge: `,e,` leaves cluster `,n),t.m.warn(`Descendants of XXX `,n,`: `,u.get(n)),l.get(n).externalConnections=!0)})):t.m.debug(`Not a cluster `,n,u)});for(let t of l.keys()){let n=l.get(t).id,r=e.parent(n);r!==t&&l.has(r)&&!l.get(r).externalConnections&&(l.get(t).id=r);let i=e.edges().some(e=>e.v===t);if(n&&l.get(t)?.externalConnections&&i&&w(e,n,t)){let r=T(e,t,e.parent(n));r&&(l.get(t).id=r)}}e.edges().forEach(function(n){let r=e.edge(n);t.m.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(n)),t.m.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(t.m.warn(`Fix XXX`,l,`ids:`,n.v,n.w,`Translating: `,l.get(n.v),` --- `,l.get(n.w)),l.get(n.v)||l.get(n.w)){if(t.m.warn(`Fixing and trying - removing XXX`,n.v,n.w,n.name),i=y(n.v),a=y(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){let t=e.parent(i);l.get(t).externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){let t=e.parent(a);l.get(t).externalConnections=!0,r.toCluster=n.w}t.m.warn(`Fix Replacing with XXX`,i,a,n.name),e.setEdge(i,a,r,n.name)}}),t.m.warn(`Adjusted Graph`,o(e)),x(e,0),t.m.trace(l)},`adjustClustersAndEdges`),x=e.n((e,r)=>{if(t.m.warn(`extractor - `,r,o(e),e.children(`D`)),r>10){t.m.error(`Bailing out`);return}let i=e.nodes(),a=!1;for(let t of i){let n=e.children(t);a||=n.length>0}if(!a){t.m.debug(`Done, no node has children`,e.nodes());return}t.m.debug(`Nodes = `,i,r);for(let a of i)if(t.m.debug(`Extracting node`,a,l,l.has(a)&&!l.get(a).externalConnections,!e.parent(a),e.node(a),e.children(`D`),` Depth `,r),!l.has(a))t.m.debug(`Not a cluster`,a,r);else if(l.get(a)?.clusterData?.explicitDir&&e.children(a)&&e.children(a).length>0){t.m.warn(`Cluster with explicit dir, creating subgraph for children`,a,r);let i=l.get(a).clusterData.dir,s=new n.t({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});h(a,e,s,a);let c=e.node(a)||{};e.setNode(a,{...c,clusterNode:!0,id:a,clusterData:l.get(a).clusterData,label:l.get(a).label,graph:s}),t.m.warn(`Subgraph for cluster with explicit dir created:`,a,o(s))}else if(!l.get(a).externalConnections&&e.children(a)&&e.children(a).length>0){t.m.warn(`Cluster without external connections, without a parent and with children`,a,r);let i=e.graph().rankdir===`TB`?`LR`:`TB`;l.get(a)?.clusterData?.dir&&(i=l.get(a).clusterData.dir,t.m.warn(`Fixing dir`,l.get(a).clusterData.dir,i));let s=new n.t({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});h(a,e,s,a);let c=e.node(a)||{};e.setNode(a,{...c,clusterNode:!0,id:a,clusterData:l.get(a).clusterData,label:l.get(a).label,graph:s}),t.m.debug(`Old graph after copy`,o(e))}else t.m.warn(`Cluster ** `,a,` **not meeting the criteria !externalConnections:`,!l.get(a).externalConnections,` no parent: `,!e.parent(a),` children `,e.children(a)&&e.children(a).length>0,e.children(`D`),r),t.m.debug(l);i=e.nodes(),t.m.warn(`New list of nodes`,i);for(let n of i){let i=e.node(n);t.m.warn(` Now next level`,n,i),i?.clusterNode&&x(i.graph,r+1)}},`extractor`),S=e.n((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=S(e,e.children(t));n=[...n,...r]}),n},`sorter`),C=e.n(e=>S(e,e.children()),`sortNodesByHierarchy`),w=e.n((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=l.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},`isNodeInExtractableCluster`),T=e.n((e,t,n)=>{let r=e.children(t)??[];for(let i of r){if(i===n||p(i,n))continue;let r=v(i,e,t);if(r&&!w(e,r,t))return r}return null},`findSafeAnchorNode`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return b}});
@@ -1,239 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
- import { m as t } from "./src-DJ4x3y2O.js";
3
- import { r as n, t as r } from "./graphlib-B0GbLif1.js";
4
- import { r as i, t as a } from "./map-DU12fF3s.js";
5
- //#region ../node_modules/lodash-es/clone.js
6
- var o = 4;
7
- function s(e) {
8
- return i(e, o);
9
- }
10
- //#endregion
11
- //#region ../node_modules/dagre-d3-es/src/graphlib/json.js
12
- function c(e) {
13
- var t = {
14
- options: {
15
- directed: e.isDirected(),
16
- multigraph: e.isMultigraph(),
17
- compound: e.isCompound()
18
- },
19
- nodes: l(e),
20
- edges: u(e)
21
- };
22
- return n(e.graph()) || (t.value = s(e.graph())), t;
23
- }
24
- function l(e) {
25
- return a(e.nodes(), function(t) {
26
- var r = e.node(t), i = e.parent(t), a = { v: t };
27
- return n(r) || (a.value = r), n(i) || (a.parent = i), a;
28
- });
29
- }
30
- function u(e) {
31
- return a(e.edges(), function(t) {
32
- var r = e.edge(t), i = {
33
- v: t.v,
34
- w: t.w
35
- };
36
- return n(t.name) || (i.name = t.name), n(r) || (i.value = r), i;
37
- });
38
- }
39
- //#endregion
40
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-RYQCIY6F.mjs
41
- var d = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ e(() => {
42
- f.clear(), p.clear(), d.clear();
43
- }, "clear"), h = /* @__PURE__ */ e((e, n) => {
44
- let r = f.get(n) || [];
45
- return t.trace("In isDescendant", n, " ", e, " = ", r.includes(e)), r.includes(e);
46
- }, "isDescendant"), g = /* @__PURE__ */ e((e, n) => {
47
- let r = f.get(n) || [];
48
- return t.info("Descendants of ", n, " is ", r), t.info("Edge is ", e), e.v === n || e.w === n ? !1 : r ? r.includes(e.v) || h(e.v, n) || h(e.w, n) || r.includes(e.w) : (t.debug("Tilt, ", n, ",not in descendants"), !1);
49
- }, "edgeInCluster"), _ = /* @__PURE__ */ e((e, n, r, i) => {
50
- t.warn("Copying children of ", e, "root", i, "data", n.node(e), i);
51
- let a = n.children(e) || [];
52
- e !== i && a.push(e), t.warn("Copying (nodes) clusterId", e, "nodes", a), a.forEach((a) => {
53
- if (n.children(a).length > 0) _(a, n, r, i);
54
- else {
55
- let o = n.node(a);
56
- t.info("cp ", a, " to ", i, " with parent ", e), r.setNode(a, o), i !== n.parent(a) && (t.warn("Setting parent", a, n.parent(a)), r.setParent(a, n.parent(a))), e !== i && a !== e ? (t.debug("Setting parent", a, e), r.setParent(a, e)) : (t.info("In copy ", e, "root", i, "data", n.node(e), i), t.debug("Not Setting parent for node=", a, "cluster!==rootId", e !== i, "node!==clusterId", a !== e));
57
- let s = n.edges(a);
58
- t.debug("Copying Edges", s), s.forEach((a) => {
59
- t.info("Edge", a);
60
- let o = n.edge(a.v, a.w, a.name);
61
- t.info("Edge data", o, i);
62
- try {
63
- if (g(a, i)) {
64
- let e = f.get(i) || [], s = e.includes(a.v) || h(a.v, i) || a.v === i, c = e.includes(a.w) || h(a.w, i) || a.w === i;
65
- if (s && c) t.info("Copying as ", a.v, a.w, o, a.name), r.setEdge(a.v, a.w, o, a.name), t.info("newGraph edges ", r.edges(), r.edge(r.edges()[0]));
66
- else {
67
- let e = s ? i : a.v, r = c ? i : a.w;
68
- t.info("Rebinding cross-boundary edge as ", e, r, o, a.name), n.setEdge(e, r, o, a.name);
69
- }
70
- } else t.info("Skipping copy of edge ", a.v, "-->", a.w, " rootId: ", i, " clusterId:", e);
71
- } catch (e) {
72
- t.error(e);
73
- }
74
- });
75
- }
76
- t.debug("Removing node", a), n.removeNode(a);
77
- });
78
- }, "copy"), v = /* @__PURE__ */ e((e, t) => {
79
- let n = t.children(e), r = [...n];
80
- for (let i of n) p.set(i, e), r = [...r, ...v(i, t)];
81
- return r;
82
- }, "extractDescendants"), y = /* @__PURE__ */ e((e, t, n) => {
83
- let r = e.edges().filter((e) => e.v === t || e.w === t), i = e.edges().filter((e) => e.v === n || e.w === n), a = r.map((e) => ({
84
- v: e.v === t ? n : e.v,
85
- w: e.w === t ? t : e.w
86
- })), o = i.map((e) => ({
87
- v: e.v,
88
- w: e.w
89
- }));
90
- return a.filter((e) => o.some((t) => e.v === t.v && e.w === t.w));
91
- }, "findCommonEdges"), b = /* @__PURE__ */ e((e, n, r) => {
92
- let i = n.children(e);
93
- if (t.trace("Searching children of id ", e, i), i.length < 1) return e;
94
- let a;
95
- for (let e of i) {
96
- let t = b(e, n, r), i = y(n, r, t);
97
- if (t) if (i.length > 0) a = t;
98
- else return t;
99
- }
100
- return a;
101
- }, "findNonClusterChild"), x = /* @__PURE__ */ e((e) => !d.has(e) || !d.get(e).externalConnections ? e : d.has(e) ? d.get(e).id : e, "getAnchorId"), S = /* @__PURE__ */ e((e, n) => {
102
- if (!e || n > 10) {
103
- t.debug("Opting out, no graph ");
104
- return;
105
- } else t.debug("Opting in, graph ");
106
- e.nodes().forEach(function(n) {
107
- e.children(n).length > 0 && (t.warn("Cluster identified", n, " Replacement id in edges: ", b(n, e, n)), f.set(n, v(n, e)), d.set(n, {
108
- id: b(n, e, n),
109
- clusterData: e.node(n)
110
- }));
111
- }), e.nodes().forEach(function(n) {
112
- let r = e.children(n), i = e.edges();
113
- r.length > 0 ? (t.debug("Cluster identified", n, f), i.forEach((e) => {
114
- h(e.v, n) ^ h(e.w, n) && (t.warn("Edge: ", e, " leaves cluster ", n), t.warn("Descendants of XXX ", n, ": ", f.get(n)), d.get(n).externalConnections = !0);
115
- })) : t.debug("Not a cluster ", n, f);
116
- });
117
- for (let t of d.keys()) {
118
- let n = d.get(t).id, r = e.parent(n);
119
- r !== t && d.has(r) && !d.get(r).externalConnections && (d.get(t).id = r);
120
- let i = e.edges().some((e) => e.v === t);
121
- if (n && d.get(t)?.externalConnections && i && E(e, n, t)) {
122
- let r = D(e, t, e.parent(n));
123
- r && (d.get(t).id = r);
124
- }
125
- }
126
- e.edges().forEach(function(n) {
127
- let r = e.edge(n);
128
- t.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), t.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
129
- let i = n.v, a = n.w;
130
- if (t.warn("Fix XXX", d, "ids:", n.v, n.w, "Translating: ", d.get(n.v), " --- ", d.get(n.w)), d.get(n.v) || d.get(n.w)) {
131
- if (t.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), i = x(n.v), a = x(n.w), e.removeEdge(n.v, n.w, n.name), i !== n.v) {
132
- let t = e.parent(i);
133
- d.get(t).externalConnections = !0, r.fromCluster = n.v;
134
- }
135
- if (a !== n.w) {
136
- let t = e.parent(a);
137
- d.get(t).externalConnections = !0, r.toCluster = n.w;
138
- }
139
- t.warn("Fix Replacing with XXX", i, a, n.name), e.setEdge(i, a, r, n.name);
140
- }
141
- }), t.warn("Adjusted Graph", c(e)), C(e, 0), t.trace(d);
142
- }, "adjustClustersAndEdges"), C = /* @__PURE__ */ e((e, n) => {
143
- if (t.warn("extractor - ", n, c(e), e.children("D")), n > 10) {
144
- t.error("Bailing out");
145
- return;
146
- }
147
- let i = e.nodes(), a = !1;
148
- for (let t of i) {
149
- let n = e.children(t);
150
- a ||= n.length > 0;
151
- }
152
- if (!a) {
153
- t.debug("Done, no node has children", e.nodes());
154
- return;
155
- }
156
- t.debug("Nodes = ", i, n);
157
- for (let a of i) if (t.debug("Extracting node", a, d, d.has(a) && !d.get(a).externalConnections, !e.parent(a), e.node(a), e.children("D"), " Depth ", n), !d.has(a)) t.debug("Not a cluster", a, n);
158
- else if (d.get(a)?.clusterData?.explicitDir && e.children(a) && e.children(a).length > 0) {
159
- t.warn("Cluster with explicit dir, creating subgraph for children", a, n);
160
- let i = d.get(a).clusterData.dir, o = new r({
161
- multigraph: !0,
162
- compound: !0
163
- }).setGraph({
164
- rankdir: i,
165
- nodesep: 50,
166
- ranksep: 50,
167
- marginx: 8,
168
- marginy: 8
169
- }).setDefaultEdgeLabel(function() {
170
- return {};
171
- });
172
- _(a, e, o, a);
173
- let s = e.node(a) || {};
174
- e.setNode(a, {
175
- ...s,
176
- clusterNode: !0,
177
- id: a,
178
- clusterData: d.get(a).clusterData,
179
- label: d.get(a).label,
180
- graph: o
181
- }), t.warn("Subgraph for cluster with explicit dir created:", a, c(o));
182
- } else if (!d.get(a).externalConnections && e.children(a) && e.children(a).length > 0) {
183
- t.warn("Cluster without external connections, without a parent and with children", a, n);
184
- let i = e.graph().rankdir === "TB" ? "LR" : "TB";
185
- d.get(a)?.clusterData?.dir && (i = d.get(a).clusterData.dir, t.warn("Fixing dir", d.get(a).clusterData.dir, i));
186
- let o = new r({
187
- multigraph: !0,
188
- compound: !0
189
- }).setGraph({
190
- rankdir: i,
191
- nodesep: 50,
192
- ranksep: 50,
193
- marginx: 8,
194
- marginy: 8
195
- }).setDefaultEdgeLabel(function() {
196
- return {};
197
- });
198
- _(a, e, o, a);
199
- let s = e.node(a) || {};
200
- e.setNode(a, {
201
- ...s,
202
- clusterNode: !0,
203
- id: a,
204
- clusterData: d.get(a).clusterData,
205
- label: d.get(a).label,
206
- graph: o
207
- }), t.debug("Old graph after copy", c(e));
208
- } else t.warn("Cluster ** ", a, " **not meeting the criteria !externalConnections:", !d.get(a).externalConnections, " no parent: ", !e.parent(a), " children ", e.children(a) && e.children(a).length > 0, e.children("D"), n), t.debug(d);
209
- i = e.nodes(), t.warn("New list of nodes", i);
210
- for (let r of i) {
211
- let i = e.node(r);
212
- t.warn(" Now next level", r, i), i?.clusterNode && C(i.graph, n + 1);
213
- }
214
- }, "extractor"), w = /* @__PURE__ */ e((e, t) => {
215
- if (t.length === 0) return [];
216
- let n = Object.assign([], t);
217
- return t.forEach((t) => {
218
- let r = w(e, e.children(t));
219
- n = [...n, ...r];
220
- }), n;
221
- }, "sorter"), T = /* @__PURE__ */ e((e) => w(e, e.children()), "sortNodesByHierarchy"), E = /* @__PURE__ */ e((e, t, n) => {
222
- let r = e.parent(t);
223
- for (; r && r !== n;) {
224
- let t = d.get(r);
225
- if (t && !t.externalConnections) return !0;
226
- r = e.parent(r);
227
- }
228
- return !1;
229
- }, "isNodeInExtractableCluster"), D = /* @__PURE__ */ e((e, t, n) => {
230
- let r = e.children(t) ?? [];
231
- for (let i of r) {
232
- if (i === n || h(i, n)) continue;
233
- let r = b(i, e, t);
234
- if (r && !E(e, r, t)) return r;
235
- }
236
- return null;
237
- }, "findSafeAnchorNode");
238
- //#endregion
239
- export { T as a, b as i, m as n, c as o, d as r, S as t };
@@ -1,32 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
- import { f as t, x as n } from "./chunk-I66GZJ75-DexfhZwA.js";
3
- import { p as r } from "./chunk-NSK5VX7P-DPxIxDdV.js";
4
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-UBXNYLIW.mjs
5
- var i = /* @__PURE__ */ e(({ flowchart: e }) => {
6
- let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
7
- return {
8
- subGraphTitleTopMargin: t,
9
- subGraphTitleBottomMargin: n,
10
- subGraphTitleTotalMargin: t + n
11
- };
12
- }, "getSubGraphTitleMargins");
13
- async function a(i, a) {
14
- let o = i.getElementsByTagName("img");
15
- if (!o || o.length === 0) return;
16
- let s = a.replace(/<img[^>]*>/g, "").trim() === "";
17
- await Promise.all([...o].map((i) => new Promise((a) => {
18
- function o() {
19
- if (i.style.display = "flex", i.style.flexDirection = "column", s) {
20
- let [e = t.fontSize] = r(n().fontSize ? n().fontSize : window.getComputedStyle(document.body).fontSize), a = e * 5 + "px";
21
- i.style.minWidth = a, i.style.maxWidth = a;
22
- } else i.style.width = "100%";
23
- a(i);
24
- }
25
- e(o, "setupImage"), setTimeout(() => {
26
- i.complete && o();
27
- }), i.addEventListener("error", o), i.addEventListener("load", o);
28
- })));
29
- }
30
- e(a, "configureLabelImages");
31
- //#endregion
32
- export { i as n, a as t };
@@ -1 +0,0 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-I66GZJ75-CrpH-Rmq.cjs"),n=require("./chunk-NSK5VX7P-D5CepZHI.cjs");var r=e.n(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,n=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:t+n}},`getSubGraphTitleMargins`);async function i(r,i){let a=r.getElementsByTagName(`img`);if(!a||a.length===0)return;let o=i.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...a].map(r=>new Promise(i=>{function a(){if(r.style.display=`flex`,r.style.flexDirection=`column`,o){let e=t.x().fontSize?t.x().fontSize:window.getComputedStyle(document.body).fontSize,[i=t.f.fontSize]=n.p(e),a=i*5+`px`;r.style.minWidth=a,r.style.maxWidth=a}else r.style.width=`100%`;i(r)}e.n(a,`setupImage`),setTimeout(()=>{r.complete&&a()}),r.addEventListener(`error`,a),r.addEventListener(`load`,a)})))}e.n(i,`configureLabelImages`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
@@ -1 +0,0 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-I66GZJ75-CrpH-Rmq.cjs");var n=e.n(e=>{let{handDrawnSeed:n}=t.x();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.n(e=>{let t=i([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),i=e.n(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),a=e.n(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),o=e.n(e=>{let{stylesArray:t}=r(e),n=[],i=[],o=[],s=[];return t.forEach(e=>{let t=e[0];a(t)?n.push(e.join(`:`)+` !important`):(i.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&o.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:i.join(`;`),stylesArray:t,borderStyles:o,backgroundStyles:s}},`styles2String`),s=e.n((e,n)=>{let{themeVariables:i,handDrawnSeed:a}=t.x(),{nodeBorder:o,mainBkg:s}=i,{stylesMap:l}=r(e);return Object.assign({roughness:.7,fill:l.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:l.get(`stroke`)||o,seed:a,strokeWidth:l.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:c(l.get(`stroke-dasharray`))},n)},`userNodeOverrides`),c=e.n(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});