@sme.up/ketchup2 2.8.0 → 2.8.2

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 (253) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-DZIaCwNE.js → abnfDiagram-VCTEODGH-DwAVRNNu.js} +5 -5
  2. package/dist/{arc-7ZXqzxve.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-BJvIxhbL.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +309 -300
  5. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  6. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  7. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  8. package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
  9. package/dist/basic-components/list/list.d.ts.map +1 -1
  10. package/dist/basic-components/select/select.d.ts.map +1 -1
  11. package/dist/basic-components/tree/{tree.types.d.ts → tree-types.d.ts} +1 -1
  12. package/dist/basic-components/tree/{tree.types.d.ts.map → tree-types.d.ts.map} +1 -1
  13. package/dist/basic-components/tree/tree.d.ts +1 -1
  14. package/dist/{blockDiagram-I7D4REHJ-C5aW9ypR.js → blockDiagram-I7D4REHJ-Cu18ws5-.js} +38 -35
  15. package/dist/{c4Diagram-7LVT6UL2-JxFfT5VH.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +109 -79
  16. package/dist/{channel-D6agWknC.js → channel-CuEby436.js} +1 -1
  17. package/dist/{chunk-2E4U76K2-C8vehurw.js → chunk-2E4U76K2-ComA5SPA.js} +18 -16
  18. package/dist/{chunk-4HAMMTFA-MZIwowe1.js → chunk-4HAMMTFA-CZgIgrp_.js} +18 -18
  19. package/dist/{chunk-75Z2AOVW-BwUD389x.js → chunk-75Z2AOVW-Drsj7a97.js} +53 -84
  20. package/dist/{chunk-CLGD4ZFX-DKRy6g5T.js → chunk-CLGD4ZFX-CLGio9rD.js} +7 -3
  21. package/dist/{chunk-DU6HZSFF-CNSdkWoH.js → chunk-DU6HZSFF-waeanndy.js} +18 -14
  22. package/dist/{chunk-F27PBJKO-DKsmevT5.js → chunk-F27PBJKO-jIrOJO87.js} +3 -3
  23. package/dist/{chunk-FOHPRMQF-C49KxWOg.js → chunk-FOHPRMQF-LRqOLsSw.js} +435 -362
  24. package/dist/{chunk-GMAD6QVW-DKxKOKLF.js → chunk-GMAD6QVW-D80II4AD.js} +38 -28
  25. package/dist/{chunk-GVQU2GXP-w4KY-she.js → chunk-GVQU2GXP-DP3t_9Rl.js} +4 -4
  26. package/dist/{chunk-IMKFNOWR-DHxMOe_C.js → chunk-IMKFNOWR-8ItzAAcf.js} +43 -47
  27. package/dist/{chunk-L3NEJ4N5-CvNbHpcd.js → chunk-L3NEJ4N5-qPot4t6M.js} +11 -11
  28. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-CtYcu9x8.js} +27 -19
  29. package/dist/{chunk-OSK3NFVY-BmtDbEvT.js → chunk-OSK3NFVY-CQhPF3Mc.js} +25 -22
  30. package/dist/{chunk-P2QGCYS3-DRvvOWJ2.js → chunk-P2QGCYS3-BUeNZ170.js} +1 -1
  31. package/dist/{chunk-POPQ4Y6H-CaEkosGL.js → chunk-POPQ4Y6H-CU9oz17Z.js} +2 -2
  32. package/dist/{chunk-PWAF6VOD-CbmhQpgH.js → chunk-PWAF6VOD-D37VoZ8H.js} +6 -8
  33. package/dist/{chunk-SHT3W25Y-DJgD-hyF.js → chunk-SHT3W25Y-Cri27Jke.js} +28 -34
  34. package/dist/{chunk-SVP7TREG-BNwvtyzm.js → chunk-SVP7TREG-CyJlOPau.js} +3 -3
  35. package/dist/{chunk-TICWLB2K-DqSHwYf9.js → chunk-TICWLB2K-Cw2iT_VD.js} +15 -15
  36. package/dist/{chunk-TLUHSLCS-opHh7fd-.js → chunk-TLUHSLCS-BdsLNXjt.js} +10 -10
  37. package/dist/{chunk-XXDRQBXY-BZK6GgVm.js → chunk-XXDRQBXY-C1ZEFXGu.js} +1 -1
  38. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  39. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  40. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  41. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  42. package/dist/components/calendar/calendar-types.d.ts +143 -0
  43. package/dist/components/calendar/calendar-types.d.ts.map +1 -0
  44. package/dist/components/calendar/calendar-utils.d.ts +162 -0
  45. package/dist/components/calendar/calendar-utils.d.ts.map +1 -0
  46. package/dist/components/calendar/calendar-utils.test.d.ts +2 -0
  47. package/dist/components/calendar/calendar-utils.test.d.ts.map +1 -0
  48. package/dist/components/calendar/calendar.d.ts +16 -0
  49. package/dist/components/calendar/calendar.d.ts.map +1 -0
  50. package/dist/components/calendar/views/calendar-month-grid.d.ts +48 -0
  51. package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -0
  52. package/dist/components/calendar/views/calendar-time-grid.d.ts +44 -0
  53. package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -0
  54. package/dist/components/chat/chat.d.ts.map +1 -1
  55. package/dist/components/data-table/data-table.d.ts.map +1 -1
  56. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  57. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  58. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  59. package/dist/{cose-bilkent-JH36ORCC-CE0T5PqO.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +64 -61
  60. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  61. package/dist/{cynefinDiagram-5FMLGOSQ-D5vkxB9p.js → cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js} +18 -12
  62. package/dist/{cytoscape.esm-BQqfb1oS.js → cytoscape.esm-C5TvPYYm.js} +532 -538
  63. package/dist/{dagre-qXSFUdzO.js → dagre-D5csT9sx.js} +16 -18
  64. package/dist/{dagre-GXQ25YYZ-CFXgAmuL.js → dagre-GXQ25YYZ-Bg7xf6xn.js} +16 -14
  65. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  66. package/dist/{diagram-S7CK7UJ4-DrGNegqs.js → diagram-S7CK7UJ4-BuDHTdHA.js} +6 -6
  67. package/dist/{diagram-UQ7AKVKN-LU56O9S9.js → diagram-UQ7AKVKN-uvzJGj43.js} +8 -8
  68. package/dist/{diagram-VSXAHHWV-CaQnupEx.js → diagram-VSXAHHWV-CrQQCs-B.js} +5 -5
  69. package/dist/{diagram-VX7I27RA-DH-s9daK.js → diagram-VX7I27RA-BNmG1sig.js} +52 -50
  70. package/dist/{diagram-Z3DM3KII-DWhRX2l9.js → diagram-Z3DM3KII-B6BrLhP0.js} +5 -5
  71. package/dist/{dist-C7OpkiTz.js → dist-CsrMlyO_.js} +1 -1
  72. package/dist/{ebnfDiagram-PWID7BFC-CtT2erlt.js → ebnfDiagram-PWID7BFC-DMx8xAFO.js} +5 -5
  73. package/dist/{erDiagram-RLTQ6QDP-CxxAoCSs.js → erDiagram-RLTQ6QDP-bkJ9nzVK.js} +25 -25
  74. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  75. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  76. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -1
  77. package/dist/{ganttDiagram-EL5Y4UJY-C04RZW4s.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +39 -50
  78. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  79. package/dist/{gitGraphDiagram-WWUBYQGX-BTcuEGsY.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +17 -13
  80. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  81. package/dist/index.d.ts +4 -1
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  84. package/dist/{infoDiagram-27XIBGKW-BoUOV42E.js → infoDiagram-27XIBGKW-Je4heBlk.js} +4 -4
  85. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  86. package/dist/{ishikawaDiagram-5VMMS53U-D15Hi9wp.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +12 -12
  87. package/dist/{journeyDiagram-3NMN7TZE-BUb4frTN.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +16 -16
  88. package/dist/{kanban-definition-UXKFOSKX-DkgBC20j.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +20 -20
  89. package/dist/{katex-Dyoqg6Cv.js → katex-CT2p8LXT.js} +111 -96
  90. package/dist/ketchup2.css +1 -1
  91. package/dist/ketchup2.es.js +33176 -32415
  92. package/dist/{line-BEo8vh4N.js → line-DTqYMLoX.js} +2 -2
  93. package/dist/{linear-BNesvT28.js → linear-CXc5xaa6.js} +8 -9
  94. package/dist/locale/en/translation.json.d.ts +3 -1
  95. package/dist/locale/it/translation.json.d.ts +3 -1
  96. package/dist/{mermaid-parser.core-oFB-qEU8.js → mermaid-parser.core-BwVmI_Rq.js} +16 -16
  97. package/dist/{mindmap-definition-YA3MSWOX-Cjs12XgD.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +27 -29
  98. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  99. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  100. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  101. package/dist/{pegDiagram-XKGWAZYB-BuyVzOiH.js → pegDiagram-XKGWAZYB-DsfILwZN.js} +5 -5
  102. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  103. package/dist/{pieDiagram-E7YTZNPT-D4bB4TDP.js → pieDiagram-E7YTZNPT-DcSLcLdd.js} +15 -17
  104. package/dist/{quadrantDiagram-AXDQQJYC-B6Q9biU9.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +10 -10
  105. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  106. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  107. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  108. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  109. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  110. package/dist/{railroadDiagram-O6MQD6OU-DFR4_PxB.js → railroadDiagram-O6MQD6OU-jOZRtNDi.js} +5 -5
  111. package/dist/{requirementDiagram-BXWQKSXE-BfWCCTu8.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +20 -20
  112. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  113. package/dist/{sankeyDiagram-P5KCCOFB-B_3NESVW.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +16 -14
  114. package/dist/{sequenceDiagram-WJ2MYXX4-B8W9PUBb.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +34 -46
  115. package/dist/{src-D-6ZfKf9.js → src-DQoflmwT.js} +20 -23
  116. package/dist/{stateDiagram-D77RDMKH-IwptGFzp.js → stateDiagram-D77RDMKH-YfzmviNY.js} +20 -20
  117. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  118. package/dist/{swimlanes-42K2YHIH-jhIjSCsq.js → swimlanes-42K2YHIH-CJcMmxXf.js} +44 -41
  119. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  120. package/dist/{timeline-definition-24CTP7MA-C6u6A92C.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +18 -18
  121. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  122. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  123. package/dist/types/translation.d.ts +3 -1
  124. package/dist/types/translation.d.ts.map +1 -1
  125. package/dist/utils/date.d.ts +6 -2
  126. package/dist/utils/date.d.ts.map +1 -1
  127. package/dist/utils/totals/totals-utils.d.ts +3 -1
  128. package/dist/utils/totals/totals-utils.d.ts.map +1 -1
  129. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  130. package/dist/{vennDiagram-4TSXK5OY-Bt9cyeRX.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +12 -12
  131. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  132. package/dist/{wardleyDiagram-VM6X3IG4-QkNx10Ny.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +40 -40
  133. package/dist/{xychartDiagram-S5SC5T6Z-BSwoR01A.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +22 -26
  134. package/package.json +38 -38
  135. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +0 -1
  136. package/dist/arc-DBilzVYt.cjs +0 -1
  137. package/dist/architecture-7GRP2DOG-DYFsLst2.js +0 -3
  138. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +0 -1
  139. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +0 -36
  140. package/dist/array-DZSRzHA_.cjs +0 -1
  141. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +0 -129
  142. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +0 -38
  143. package/dist/channel-BvUly9jN.cjs +0 -1
  144. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +0 -1
  145. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
  146. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +0 -62
  147. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
  148. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +0 -2
  149. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +0 -1
  150. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +0 -127
  151. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +0 -1
  152. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +0 -161
  153. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +0 -72
  154. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +0 -1
  155. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +0 -231
  156. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
  157. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +0 -1
  158. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +0 -34
  159. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +0 -10
  160. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +0 -1
  161. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +0 -1
  162. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +0 -1
  163. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +0 -168
  164. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +0 -88
  165. package/dist/chunk-TICWLB2K-1u0p_luB.cjs +0 -206
  166. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +0 -1
  167. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +0 -1
  168. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
  169. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +0 -30
  170. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +0 -1
  171. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +0 -30
  172. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +0 -1
  173. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +0 -1
  174. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +0 -1
  175. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +0 -3
  176. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +0 -62
  177. package/dist/cytoscape.esm-TdwWzXkE.cjs +0 -321
  178. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +0 -4
  179. package/dist/dagre-nX1Mh32P.cjs +0 -1
  180. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  181. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +0 -30
  182. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +0 -41
  183. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +0 -3
  184. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +0 -24
  185. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +0 -24
  186. package/dist/dist-DrOEvFlx.cjs +0 -1
  187. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +0 -1
  188. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +0 -99
  189. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +0 -3
  190. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +0 -1
  191. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +0 -1
  192. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +0 -17
  193. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +0 -292
  194. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +0 -3
  195. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +0 -1
  196. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +0 -106
  197. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  198. package/dist/info-A6RAGUB7-C0KA0jej.cjs +0 -1
  199. package/dist/info-A6RAGUB7-DYBvudiC.js +0 -3
  200. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +0 -2
  201. package/dist/init-07zIhv_j.cjs +0 -1
  202. package/dist/ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs +0 -70
  203. package/dist/journeyDiagram-3NMN7TZE-CxVpPKa-.cjs +0 -139
  204. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +0 -89
  205. package/dist/katex-DUe6VLjC.cjs +0 -257
  206. package/dist/ketchup2.cjs.js +0 -487
  207. package/dist/line-wiGgVVGi.cjs +0 -1
  208. package/dist/linear-YA14Lx5Z.cjs +0 -1
  209. package/dist/mermaid-parser.core-CqChDTj1.cjs +0 -6
  210. package/dist/mindmap-definition-YA3MSWOX-0PG4raFG.cjs +0 -96
  211. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  212. package/dist/packet-AYTQ26CC-BEwXWBE0.js +0 -3
  213. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +0 -1
  214. package/dist/path-Kklx0M1v.cjs +0 -1
  215. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +0 -1
  216. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +0 -1
  217. package/dist/pie-WAS4IAKB-BOR5Wwai.js +0 -3
  218. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +0 -39
  219. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +0 -7
  220. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +0 -3
  221. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +0 -1
  222. package/dist/railroad-74A4TZTK-CaWzRQE0.js +0 -3
  223. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +0 -1
  224. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +0 -3
  225. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +0 -1
  226. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +0 -1
  227. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +0 -3
  228. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +0 -1
  229. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +0 -3
  230. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +0 -1
  231. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +0 -84
  232. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  233. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +0 -40
  234. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +0 -162
  235. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
  236. package/dist/src-B16ML7oM.cjs +0 -1
  237. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +0 -1
  238. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +0 -1
  239. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +0 -30
  240. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +0 -1
  241. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +0 -31
  242. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +0 -8
  243. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +0 -120
  244. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +0 -3
  245. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +0 -1
  246. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +0 -1
  247. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +0 -3
  248. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  249. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +0 -34
  250. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +0 -1
  251. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +0 -3
  252. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +0 -78
  253. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +0 -7
@@ -1 +0,0 @@
1
- const e=require("./path-Kklx0M1v.cjs"),t=require("./array-DZSRzHA_.cjs"),n=require("./chunk-75Z2AOVW-RbCLc-XL.cjs");function r(e){return e[0]}function i(e){return e[1]}function a(a,o){var s=e.n(!0),c=null,l=n.rt,u=null,d=e.t(f);a=typeof a==`function`?a:a===void 0?r:e.n(a),o=typeof o==`function`?o:o===void 0?i:e.n(o);function f(e){var n,r=(e=t.t(e)).length,i,f=!1,p;for(c??(u=l(p=d())),n=0;n<=r;++n)!(n<r&&s(i=e[n],n,e))===f&&((f=!f)?u.lineStart():u.lineEnd()),f&&u.point(+a(i,n,e),+o(i,n,e));if(p)return u=null,p+``||null}return f.x=function(t){return arguments.length?(a=typeof t==`function`?t:e.n(+t),f):a},f.y=function(t){return arguments.length?(o=typeof t==`function`?t:e.n(+t),f):o},f.defined=function(t){return arguments.length?(s=typeof t==`function`?t:e.n(!!t),f):s},f.curve=function(e){return arguments.length?(l=e,c!=null&&(u=l(c)),f):l},f.context=function(e){return arguments.length?(e==null?c=u=null:u=l(c=e),f):c},f}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
@@ -1 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./defaultLocale-u9yUoUmE.cjs"),n=require("./init-07zIhv_j.cjs");function r(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function i(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function a(e){let t,n,a;e.length===2?(t=e===r||e===i?e:o,n=e,a=e):(t=r,n=(t,n)=>r(e(t),n),a=(t,n)=>e(t)-n);function s(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function c(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function l(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i}return{left:s,center:l,right:c}}function o(){return 0}function s(e){return e===null?NaN:+e}var c=a(r),l=c.right;c.left,a(s).center;var u=Math.sqrt(50),d=Math.sqrt(10),f=Math.sqrt(2);function p(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=u?10:a>=d?5:a>=f?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?p(e,t,n*2):[s,c,l]}function m(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?p(t,e,n):p(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function h(e,t,n){return t=+t,e=+e,n=+n,p(e,t,n)[2]}function g(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?h(t,e,n):h(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function _(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function v(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function y(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=S(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function b(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function x(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=S(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function S(t,n){var r=typeof n,i;return n==null||r===`boolean`?e.o(n):(r===`number`?e.n:r===`string`?(i=e.l(n))?(n=i,e.r):e.t:n instanceof e.l?e.r:n instanceof Date?b:v(n)?_:Array.isArray(n)?y:typeof n.valueOf!=`function`&&typeof n.toString!=`function`||isNaN(n)?x:e.n)(t,n)}function C(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function w(e){return Math.max(0,-t.i(Math.abs(e)))}function T(e,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(t.i(n)/3)))*3-t.i(Math.abs(e)))}function E(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,t.i(n)-t.i(e))+1}function D(e){return function(){return e}}function O(e){return+e}var k=[0,1];function A(e){return e}function j(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:D(isNaN(t)?NaN:.5)}function M(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function N(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=j(i,r),a=n(o,a)):(r=j(r,i),a=n(a,o)),function(e){return a(r(e))}}function P(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=j(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=l(e,t,1,r)-1;return a[n](i[n](t))}}function F(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function I(){var t=k,n=k,r=S,i,a,o,s=A,c,l,u;function d(){var e=Math.min(t.length,n.length);return s!==A&&(s=M(t[0],t[e-1])),c=e>2?P:N,l=u=null,f}function f(e){return e==null||isNaN(e=+e)?o:(l||=c(t.map(i),n,r))(i(s(e)))}return f.invert=function(r){return s(a((u||=c(n,t.map(i),e.n))(r)))},f.domain=function(e){return arguments.length?(t=Array.from(e,O),d()):t.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=C,d()},f.clamp=function(e){return arguments.length?(s=e?!0:A,d()):s!==A},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function L(){return I()(A,A)}function R(e,n,r,i){var a=g(e,n,r),o;switch(i=t.r(i??`,f`),i.type){case`s`:var s=Math.max(Math.abs(e),Math.abs(n));return i.precision==null&&!isNaN(o=T(a,s))&&(i.precision=o),t.n(i,s);case``:case`e`:case`g`:case`p`:case`r`:i.precision==null&&!isNaN(o=E(a,Math.max(Math.abs(e),Math.abs(n))))&&(i.precision=o-(i.type===`e`));break;case`f`:case`%`:i.precision==null&&!isNaN(o=w(a))&&(i.precision=o-(i.type===`%`)*2);break}return t.t(i)}function z(e){var t=e.domain;return e.ticks=function(e){var n=t();return m(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return R(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=h(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function B(){var e=L();return e.copy=function(){return F(e,B())},n.t.apply(e,arguments),z(e)}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return B}});
@@ -1,6 +0,0 @@
1
- const e=require("./chunk-FOHPRMQF-BYsnEQU5.cjs");var t=class extends e.t{static{e.x(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},n=class extends e.n{static{e.x(this,`ArchitectureValueConverter`)}runCustomConverter(e,t,n){if(e.name===`ARCH_ICON`)return t.replace(/[()]/g,``).trim();if(e.name===`ARCH_TEXT_ICON`)return t.replace(/["()]/g,``);if(e.name===`ARCH_TITLE`){let e=t.replace(/^\[|]$/g,``).trim();return(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,`"`).replace(/\\'/g,`'`)),e.trim()}}},r={parser:{TokenBuilder:e.x(()=>new t,`TokenBuilder`),ValueConverter:e.x(()=>new n,`ValueConverter`)}};function i(t=e.o){let n=e.w(e.C(t),e.u),i=e.w(e.S({shared:n}),e.r,r);return n.ServiceRegistry.register(i),{shared:n,Architecture:i}}e.x(i,`createArchitectureServices`);var a=class extends e.t{static{e.x(this,`CynefinTokenBuilder`)}constructor(){super([`cynefin-beta`])}},o={parser:{TokenBuilder:e.x(()=>new a,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)}};function s(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.a,o);return n.ServiceRegistry.register(r),{shared:n,Cynefin:r}}e.x(s,`createCynefinServices`);var ee=class extends e.t{static{e.x(this,`EventModelingTokenBuilder`)}constructor(){super([`eventmodeling`])}},c=new Set([`cmd`,`command`]),l=new Set([`evt`,`event`]),u=new Set([`rmo`,`readmodel`]),d=new Set([`pcr`,`processor`]),f=new Set([`ui`]);function p(e){let t=e.validation.EventModelingValidator,n=e.validation.ValidationRegistry;if(n){let e={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};n.register(e,t)}}e.x(p,`registerValidationChecks`);var te=class{static{e.x(this,`EventModelingValidator`)}checkSourceFrameTypes(e,t){e.sourceFrames.length!==0&&(c.has(e.modelEntityType)?this.validateSources(e,new Set([...f,...d]),`command`,`ui or processor`,t):l.has(e.modelEntityType)?this.validateSources(e,c,`event`,`command`,t):u.has(e.modelEntityType)?this.validateSources(e,l,`read model`,`event`,t):d.has(e.modelEntityType)?this.validateSources(e,u,`processor`,`read model`,t):f.has(e.modelEntityType)&&this.validateSources(e,u,`ui`,`read model`,t))}validateSources(e,t,n,r,i){for(let a of e.sourceFrames){let o=a.ref;o!==void 0&&!t.has(o.modelEntityType)&&i(`error`,`A ${n} can only receive input from a ${r}, not from '${o.modelEntityType}'.`,{node:e,property:`sourceFrames`})}}},m={parser:{TokenBuilder:e.x(()=>new ee,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)},validation:{EventModelingValidator:e.x(()=>new te,`EventModelingValidator`)}};function h(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.s,m);return n.ServiceRegistry.register(r),p(r),{shared:n,EventModel:r}}e.x(h,`createEventModelingServices`);var ne=class extends e.t{static{e.x(this,`GitGraphTokenBuilder`)}constructor(){super([`gitGraph`])}},g={parser:{TokenBuilder:e.x(()=>new ne,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)}};function _(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.c,g);return n.ServiceRegistry.register(r),{shared:n,GitGraph:r}}e.x(_,`createGitGraphServices`);var re=class extends e.t{static{e.x(this,`InfoTokenBuilder`)}constructor(){super([`info`,`showInfo`])}},v={parser:{TokenBuilder:e.x(()=>new re,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)}};function y(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.l,v);return n.ServiceRegistry.register(r),{shared:n,Info:r}}e.x(y,`createInfoServices`);var ie=class extends e.t{static{e.x(this,`PacketTokenBuilder`)}constructor(){super([`packet`])}},b={parser:{TokenBuilder:e.x(()=>new ie,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)}};function x(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.d,b);return n.ServiceRegistry.register(r),{shared:n,Packet:r}}e.x(x,`createPacketServices`);var S=class extends e.t{static{e.x(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},C=class extends e.n{static{e.x(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},w={parser:{TokenBuilder:e.x(()=>new S,`TokenBuilder`),ValueConverter:e.x(()=>new C,`ValueConverter`)}};function T(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.f,w);return n.ServiceRegistry.register(r),{shared:n,Pie:r}}e.x(T,`createPieServices`);var ae=class extends e.t{static{e.x(this,`RadarTokenBuilder`)}constructor(){super([`radar-beta`])}},E={parser:{TokenBuilder:e.x(()=>new ae,`TokenBuilder`),ValueConverter:e.x(()=>new e.i,`ValueConverter`)}};function D(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.p,E);return n.ServiceRegistry.register(r),{shared:n,Radar:r}}e.x(D,`createRadarServices`);var O=class extends e.t{static{e.x(this,`RailroadTokenBuilder`)}constructor(){super([`railroad-beta`])}},k=e.x(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
2
- `;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}continue}n+=r}return n},`decodeEscapedString`),A=class extends e.n{static{e.x(this,`RailroadValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return k(e)}return r}runCustomConverter(e,t,n){if(e.name===`RR_STRING`)return k(t)}},j={parser:{TokenBuilder:e.x(()=>new O,`TokenBuilder`),ValueConverter:e.x(()=>new A,`ValueConverter`)}};function M(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.g,j);return n.ServiceRegistry.register(r),{shared:n,Railroad:r}}e.x(M,`createRailroadServices`);var oe=class extends e.t{static{e.x(this,`RailroadAbnfTokenBuilder`)}constructor(){super([`railroad-abnf-beta`])}},se=class extends e.n{static{e.x(this,`RailroadAbnfValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return e.slice(1,-1)}return r}runCustomConverter(e,t,n){if(e.name===`ABNF_STRING`)return t.slice(1,-1)}},N={parser:{TokenBuilder:e.x(()=>new oe,`TokenBuilder`),ValueConverter:e.x(()=>new se,`ValueConverter`)}};function P(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.m,N);return n.ServiceRegistry.register(r),{shared:n,RailroadAbnf:r}}e.x(P,`createRailroadAbnfServices`);var ce=class extends e.t{static{e.x(this,`RailroadEbnfTokenBuilder`)}constructor(){super([`railroad-ebnf-beta`])}},F=e.x(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
3
- `;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}continue}n+=r}return n},`decodeEscapedString`),le=class extends e.n{static{e.x(this,`RailroadEbnfValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return F(e)}return r}runCustomConverter(e,t,n){if(e.name===`EBNF_STRING`)return F(t);if(e.name===`EBNF_SPECIAL_SEQUENCE`)return t.slice(1,-1).trim()}},I={parser:{TokenBuilder:e.x(()=>new ce,`TokenBuilder`),ValueConverter:e.x(()=>new le,`ValueConverter`)}};function L(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.h,I);return n.ServiceRegistry.register(r),{shared:n,RailroadEbnf:r}}e.x(L,`createRailroadEbnfServices`);var R=class extends e.t{static{e.x(this,`RailroadPegTokenBuilder`)}constructor(){super([`railroad-peg-beta`])}},z=e.x(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
4
- `;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}continue}n+=r}return n},`decodeEscapedString`),B=class extends e.n{static{e.x(this,`RailroadPegValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return z(e)}return r}runCustomConverter(e,t,n){if(e.name===`PEG_STRING`)return z(t)}},V={parser:{TokenBuilder:e.x(()=>new R,`TokenBuilder`),ValueConverter:e.x(()=>new B,`ValueConverter`)}};function H(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e._,V);return n.ServiceRegistry.register(r),{shared:n,RailroadPeg:r}}e.x(H,`createRailroadPegServices`);var U=class extends e.n{static{e.x(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`QUOTED_NAME`)return t.substring(1,t.length-1);if(e.name===`BARE_NAME`)return t.replace(/[\t ]+$/,``);if(e.name===`CLASS_ANNOTATION`)return t.trim().substring(3).trim();if(e.name===`ICON_ANNOTATION`){let e=t.trim();return e.substring(5,e.length-1)}if(e.name===`DESC_ANNOTATION`)return t.trim().substring(2).trim()}},ue=class extends e.t{static{e.x(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},W={parser:{TokenBuilder:e.x(()=>new ue,`TokenBuilder`),ValueConverter:e.x(()=>new U,`ValueConverter`)}};function G(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.v,W);return n.ServiceRegistry.register(r),{shared:n,TreeView:r}}e.x(G,`createTreeViewServices`);var de=class extends e.t{static{e.x(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},fe=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,pe=class extends e.n{static{e.x(this,`TreemapValueConverter`)}runCustomConverter(e,t,n){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=fe.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function K(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}e.x(K,`registerValidationChecks`);var me=class{static{e.x(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},q={parser:{TokenBuilder:e.x(()=>new de,`TokenBuilder`),ValueConverter:e.x(()=>new pe,`ValueConverter`)},validation:{TreemapValidator:e.x(()=>new me,`TreemapValidator`)}};function J(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.y,q);return n.ServiceRegistry.register(r),K(r),{shared:n,Treemap:r}}e.x(J,`createTreemapServices`);var he=class extends e.n{static{e.x(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},Y={parser:{ValueConverter:e.x(()=>new he,`ValueConverter`)}};function X(t=e.o){let n=e.w(e.C(t),e.u),r=e.w(e.S({shared:n}),e.b,Y);return n.ServiceRegistry.register(r),{shared:n,Wardley:r}}e.x(X,`createWardleyServices`);var Z={},ge={info:e.x(async()=>{let{createInfoServices:e}=await Promise.resolve().then(()=>require("./info-A6RAGUB7-C0KA0jej.cjs"));Z.info=e().Info.parser.LangiumParser},`info`),packet:e.x(async()=>{let{createPacketServices:e}=await Promise.resolve().then(()=>require("./packet-AYTQ26CC-DfXUrk97.cjs"));Z.packet=e().Packet.parser.LangiumParser},`packet`),pie:e.x(async()=>{let{createPieServices:e}=await Promise.resolve().then(()=>require("./pie-WAS4IAKB-4NfHFfJd.cjs"));Z.pie=e().Pie.parser.LangiumParser},`pie`),treeView:e.x(async()=>{let{createTreeViewServices:e}=await Promise.resolve().then(()=>require("./treeView-Q6P3EWNA-zIJfTe51.cjs"));Z.treeView=e().TreeView.parser.LangiumParser},`treeView`),architecture:e.x(async()=>{let{createArchitectureServices:e}=await Promise.resolve().then(()=>require("./architecture-7GRP2DOG-DdhuGtEz.cjs"));Z.architecture=e().Architecture.parser.LangiumParser},`architecture`),gitGraph:e.x(async()=>{let{createGitGraphServices:e}=await Promise.resolve().then(()=>require("./gitGraph-4MIJSDKK-BeFVwcRC.cjs"));Z.gitGraph=e().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:e.x(async()=>{let{createEventModelingServices:e}=await Promise.resolve().then(()=>require("./eventmodeling-NTZA5JFV-DcUTtbEf.cjs"));Z.eventmodeling=e().EventModel.parser.LangiumParser},`eventmodeling`),radar:e.x(async()=>{let{createRadarServices:e}=await Promise.resolve().then(()=>require("./radar-RG4KPBEZ-_epvvHKu.cjs"));Z.radar=e().Radar.parser.LangiumParser},`radar`),railroad:e.x(async()=>{let{createRailroadServices:e}=await Promise.resolve().then(()=>require("./railroad-74A4TZTK-D2qbdjOh.cjs"));Z.railroad=e().Railroad.parser.LangiumParser},`railroad`),railroadEbnf:e.x(async()=>{let{createRailroadEbnfServices:e}=await Promise.resolve().then(()=>require("./railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs"));Z.railroadEbnf=e().RailroadEbnf.parser.LangiumParser},`railroadEbnf`),railroadAbnf:e.x(async()=>{let{createRailroadAbnfServices:e}=await Promise.resolve().then(()=>require("./railroad-abnf-HS5TGJTU-_ThxftPt.cjs"));Z.railroadAbnf=e().RailroadAbnf.parser.LangiumParser},`railroadAbnf`),railroadPeg:e.x(async()=>{let{createRailroadPegServices:e}=await Promise.resolve().then(()=>require("./railroad-peg-WCYAUIDC-B8bfIIor.cjs"));Z.railroadPeg=e().RailroadPeg.parser.LangiumParser},`railroadPeg`),treemap:e.x(async()=>{let{createTreemapServices:e}=await Promise.resolve().then(()=>require("./treemap-WGGIJYW6-CooEnQQp.cjs"));Z.treemap=e().Treemap.parser.LangiumParser},`treemap`),wardley:e.x(async()=>{let{createWardleyServices:e}=await Promise.resolve().then(()=>require("./wardley-WFR3VGLG-Cp2KFpcw.cjs"));Z.wardley=e().Wardley.parser.LangiumParser},`wardley`),cynefin:e.x(async()=>{let{createCynefinServices:e}=await Promise.resolve().then(()=>require("./cynefin-OW5HDTMX-CsZ3W32G.cjs"));Z.cynefin=e().Cynefin.parser.LangiumParser},`cynefin`)};async function Q(e,t){let n=ge[e];if(!n)throw Error(`Unknown diagram type: ${e}`);Z[e]||await n();let r=Z[e].parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new $(r);return r.value}e.x(Q,`parse`);var $=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
5
- `),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
6
- `);super(`Parsing failed: ${t} ${n}`),this.result=e}static{e.x(this,`MermaidParseError`)}};Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return w}});
@@ -1,96 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./chunk-75Z2AOVW-RbCLc-XL.cjs"),require("./chunk-P2QGCYS3-DqT85Q-S.cjs"),require("./chunk-PWAF6VOD-CjrO-QHU.cjs"),require("./chunk-GMAD6QVW-BVSRANO9.cjs"),require("./chunk-4HAMMTFA-Db_fcZEn.cjs"),require("./chunk-GVQU2GXP-BiuaO1L5.cjs"),require("./chunk-L3NEJ4N5-B8UQMgqc.cjs"),require("./chunk-OSK3NFVY-DE9_ERt9.cjs");const r=require("./chunk-TLUHSLCS-ZDzqyqeY.cjs"),i=require("./v4-Dyp-SQ1c.cjs"),a=require("./chunk-XXDRQBXY-BF71LTT1.cjs"),o=require("./chunk-POPQ4Y6H-QqO5seyb.cjs");var s=(function(){var e=n.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:n.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:n.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n.n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:n.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n.n(function(){return this._more=!0,this},`more`),reject:n.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:n.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:n.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:n.n(function(){return this.next()||this.lex()},`lex`),begin:n.n(function(e){this.conditionStack.push(e)},`begin`),popState:n.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:n.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:n.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:n.n(function(e){this.begin(e)},`pushState`),stateStackSize:n.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:n.n(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return n.n(y,`Parser`),y.prototype=v,v.Parser=y,new y})();s.parser=s;var c=s,l=12,u={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},d=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=u,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{n.n(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(n,r,i,a){e.m.info(`addNode`,n,r,i,a);let o=!1;this.nodes.length===0?(this.baseLevel=n,n=0,o=!0):this.baseLevel!==void 0&&(n-=this.baseLevel,o=!1);let s=t.x(),c=s.mindmap?.padding??t.f.mindmap.padding;switch(a){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:c*=2;break}let l={id:this.count++,nodeId:t.z(r,s),level:n,descr:t.z(i,s),type:a,children:[],width:s.mindmap?.maxNodeWidth??t.f.mindmap.maxNodeWidth,padding:c,isRoot:o},u=this.getParent(n);if(u)u.children.push(l),this.nodes.push(l);else if(o)this.nodes.push(l);else throw Error(`There can be only one root. No parent could be found for ("${l.descr}")`)}getType(t,n){switch(e.m.debug(`In get type`,t,n),t){case`[`:return this.nodeType.RECT;case`(`:return n===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let n=t.x(),r=this.nodes[this.nodes.length-1];e.icon&&(r.icon=t.z(e.icon,n)),e.class&&(r.class=t.z(e.class,n))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(l-1):t;this.assignSections(r,i)}}flattenNodes(e,r){let i=t.x(),a=[`mindmap-node`];e.isRoot===!0?a.push(`section-root`,`section--1`):e.section!==void 0&&a.push(`section-${e.section}`),e.class&&a.push(e.class);let o=a.join(` `),s=n.n(e=>{let t=(i.theme?.toLowerCase()??``).includes(`redux`);switch(e){case u.CIRCLE:return`mindmapCircle`;case u.RECT:return`rect`;case u.ROUNDED_RECT:return`rounded`;case u.CLOUD:return`cloud`;case u.BANG:return`bang`;case u.HEXAGON:return`hexagon`;case u.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case u.NO_BORDER:default:return`rect`}},`getShapeFromType`),c={id:e.id.toString(),domId:`node_`+e.id.toString(),label:e.descr,labelType:`markdown`,isGroup:!1,shape:s(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:o,cssStyles:[],look:i.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(c),e.children)for(let t of e.children)this.flattenNodes(t,r)}generateEdges(e,n){if(!e.children)return;let r=t.x();for(let t of e.children){let i=`edge`;t.section!==void 0&&(i+=` section-edge-${t.section}`);let a=e.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${e.id}_${t.id}`,start:e.id.toString(),end:t.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:e.level,section:t.section};n.push(o),this.generateEdges(t,n)}}getData(){let n=this.getMindmap(),r=t.x(),a=t.k().layout!==void 0,o=r;if(a||(o.layout=`cose-bilkent`),!n)return{nodes:[],edges:[],config:o};e.m.debug(`getData: mindmapRoot`,n,r),this.assignSections(n);let s=[],c=[];this.flattenNodes(n,s),this.generateEdges(n,c),e.m.debug(`getData: processed ${s.length} nodes and ${c.length} edges`);let l=new Map;for(let e of s)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:s,edges:c,config:o,rootNode:n,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+i.t()}}getLogger(){return e.m}},f={draw:n.n(async(n,i,s,c)=>{e.m.debug(`Rendering mindmap diagram
7
- `+n);let l=c.db,u=l.getData(),d=a.t(i,u.config.securityLevel);if(u.type=c.type,u.layoutAlgorithm=r.t(u.config.layout,{fallback:`cose-bilkent`}),u.diagramId=i,!l.getMindmap())return;u.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await r.r(u,d);let{themeVariables:f}=t.b(),{useGradient:p,gradientStart:m,gradientStop:h}=f;if(p&&m&&h){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,m).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,h).attr(`stop-opacity`,1)}o.t(d,u.config.mindmap?.padding??t.f.mindmap.padding,`mindmapDiagram`,u.config.mindmap?.useMaxWidth??t.f.mindmap.useMaxWidth)},`draw`)},p=n.n(e=>{let{theme:n,look:r}=e,i=``;for(let n=0;n<e.THEME_COLOR_LIMIT;n++)e[`lineColor`+n]=e[`lineColor`+n]||e[`cScaleInv`+n],t.nt(e[`lineColor`+n])?e[`lineColor`+n]=t.et(e[`lineColor`+n],20):e[`lineColor`+n]=t.$(e[`lineColor`+n],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let a=``+(r===`neo`?Math.max(10-(t-1)*2,2):17-3*t);i+=`
8
- .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {
9
- fill: ${e[`cScale`+t]};
10
- }
11
- .section-${t-1} text {
12
- fill: ${e[`cScaleLabel`+t]};
13
- }
14
- .section-${t-1} span {
15
- color: ${e[`cScaleLabel`+t]};
16
- }
17
- .node-icon-${t-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+t]};
20
- }
21
- .section-edge-${t-1}{
22
- stroke: ${e[`cScale`+t]};
23
- }
24
- .edge-depth-${t-1}{
25
- stroke-width: ${a};
26
- }
27
- .section-${t-1} line {
28
- stroke: ${e[`cScaleInv`+t]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${t-1} rect, [data-look="neo"].mindmap-node.section-${t-1} path, [data-look="neo"].mindmap-node.section-${t-1} circle, [data-look="neo"].mindmap-node.section-${t-1} polygon {
39
- fill: ${n===`redux`||n===`redux-dark`||n===`neutral`?e.mainBkg:e[`cScale`+t]};
40
- stroke: ${n===`redux`||n===`redux-dark`?e.nodeBorder:e[`cScale`+t]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${t-1}{
44
- stroke: ${n?.includes(`redux`)||n===`neo-dark`?e.nodeBorder:e[`cScale`+t]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${t-1} text {
47
- fill: ${n===`redux`||n===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(n===`neutral`?1:t)]};
48
- }
49
- `}return i},`genSections`),m=n.n((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),h={get db(){return new d},renderer:f,parser:c,styles:n.n(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${p(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?m(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};exports.diagram=h;
@@ -1 +0,0 @@
1
- const e=require("./init-07zIhv_j.cjs");var t=class extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(n(this,e))}has(e){return super.has(n(this,e))}set(e,t){return super.set(r(this,e),t)}delete(e){return super.delete(i(this,e))}};function n({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function r({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a(e){return typeof e==`object`&&e?e.valueOf():e}var o=Symbol(`implicit`);function s(){var n=new t,r=[],i=[],a=o;function c(e){let t=n.get(e);if(t===void 0){if(a!==o)return a;n.set(e,t=r.push(e)-1)}return i[t%i.length]}return c.domain=function(e){if(!arguments.length)return r.slice();r=[],n=new t;for(let t of e)n.has(t)||n.set(t,r.push(t)-1);return c},c.range=function(e){return arguments.length?(i=Array.from(e),c):i.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return s(r,i).unknown(a)},e.t.apply(c,arguments),c}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { S as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createPacketServices };
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createPacketServices=e.S;
@@ -1 +0,0 @@
1
- var e=Math.PI,t=2*e,n=1e-6,r=t-n;function i(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function a(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return i;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var o=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?i:a(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(t,r,i,a,o){if(t=+t,r=+r,i=+i,a=+a,o=+o,o<0)throw Error(`negative radius: ${o}`);let s=this._x1,c=this._y1,l=i-t,u=a-r,d=s-t,f=c-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(p>n)if(!(Math.abs(f*l-u*d)>n)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let m=i-s,h=a-c,g=l*l+u*u,_=m*m+h*h,v=Math.sqrt(g),y=Math.sqrt(p),b=o*Math.tan((e-Math.acos((g+p-_)/(2*v*y)))/2),x=b/y,S=b/v;Math.abs(x-1)>n&&this._append`L${t+x*d},${r+x*f}`,this._append`A${o},${o},0,0,${+(f*m>d*h)},${this._x1=t+S*l},${this._y1=r+S*u}`}}arc(i,a,o,s,c,l){if(i=+i,a=+a,o=+o,l=!!l,o<0)throw Error(`negative radius: ${o}`);let u=o*Math.cos(s),d=o*Math.sin(s),f=i+u,p=a+d,m=1^l,h=l?s-c:c-s;this._x1===null?this._append`M${f},${p}`:(Math.abs(this._x1-f)>n||Math.abs(this._y1-p)>n)&&this._append`L${f},${p}`,o&&(h<0&&(h=h%t+t),h>r?this._append`A${o},${o},0,1,${m},${i-u},${a-d}A${o},${o},0,1,${m},${this._x1=f},${this._y1=p}`:h>n&&this._append`A${o},${o},0,${+(h>=e)},${m},${this._x1=i+o*Math.cos(c)},${this._y1=a+o*Math.sin(c)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function s(){return new o}s.prototype=o.prototype;function c(e){return function(){return e}}function l(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new o(t)}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
@@ -1 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs");require("./chunk-DU6HZSFF-mznJTFyO.cjs");const t=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./chunk-CLGD4ZFX-Dvn-kRD7.cjs");const n=require("./mermaid-parser.core-CqChDTj1.cjs"),r=require("./chunk-SVP7TREG-CiwWyOxx.cjs"),i=require("./chunk-JWPE2WC7-Cs1kjq8S.cjs");var a=n.u().RailroadPeg.parser.LangiumParser,o=t.n(e=>{let t=e.alternatives.map(s);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformOrderedChoice`),s=t.n(e=>{let t=e.elements.map(c);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),c=t.n(e=>{let t=u(e.suffix);return e.operator?{type:`special`,text:e.operator===`&`?`&${l(t)}`:`!${l(t)}`}:t},`transformPrefix`),l=t.n(e=>{switch(e.type){case`terminal`:return`"${e.value}"`;case`nonterminal`:return e.name;case`special`:return e.text;default:return`(...)`}},`nodeToLabel`),u=t.n(e=>{let t=d(e.primary);if(!e.operator)return t;switch(e.operator){case`?`:return{type:`optional`,element:t};case`*`:return{type:`repetition`,element:t,min:0,max:1/0};case`+`:return{type:`repetition`,element:t,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},`transformSuffix`),d=t.n(e=>{switch(e.$type){case`PegLiteral`:return{type:`terminal`,value:e.value};case`PegIdentifier`:return{type:`nonterminal`,name:e.name};case`PegGroup`:return o(e.element);case`PegAny`:return{type:`special`,text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},`transformPrimary`),f=t.n(e=>({name:e.name,definition:o(e.definition)}),`transformRule`),p=t.n(e=>{i.t(e,r.t),e.title&&r.t.setTitle(e.title),e.rules.map(e=>r.t.addRule(f(e)))},`populateDb`),m={parser:{parse:t.n(t=>{r.t.clear(),e.m.debug(`[PEG Parser] Starting Langium parse`);let i=a.parse(t);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new n.t(i);let o=i.value;e.m.debug(`[PEG Parser] Parsed rules:`,o.rules.length),p(o),e.m.debug(`[PEG Parser] Parse complete`)},`parse`),parser:{yy:r.t}},db:r.t,renderer:r.r,styles:r.n};exports.diagram=m;
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createPieServices=e.b;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { b as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createPieServices };
@@ -1,39 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./ordinal-CUPR-p0T.cjs"),i=require("./path-Kklx0M1v.cjs"),a=require("./dist-DrOEvFlx.cjs"),o=require("./arc-DBilzVYt.cjs"),s=require("./array-DZSRzHA_.cjs"),c=require("./chunk-75Z2AOVW-RbCLc-XL.cjs"),l=require("./chunk-CLGD4ZFX-Dvn-kRD7.cjs"),u=require("./mermaid-parser.core-CqChDTj1.cjs"),d=require("./chunk-JWPE2WC7-Cs1kjq8S.cjs");function f(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function p(e){return e}function m(){var e=p,t=f,n=null,r=i.n(0),o=i.n(a.m),c=i.n(0);function l(i){var l,u=(i=s.t(i)).length,d,f,p=0,m=Array(u),h=Array(u),g=+r.apply(this,arguments),_=Math.min(a.m,Math.max(-a.m,o.apply(this,arguments)-g)),v,y=Math.min(Math.abs(_)/u,c.apply(this,arguments)),b=y*(_<0?-1:1),x;for(l=0;l<u;++l)(x=h[m[l]=l]=+e(i[l],l,i))>0&&(p+=x);for(t==null?n!=null&&m.sort(function(e,t){return n(i[e],i[t])}):m.sort(function(e,n){return t(h[e],h[n])}),l=0,f=p?(_-u*b)/p:0;l<u;++l,g=v)d=m[l],x=h[d],v=g+(x>0?x*f:0)+b,h[d]={data:i[d],index:l,value:x,startAngle:g,endAngle:v,padAngle:y};return h}return l.value=function(t){return arguments.length?(e=typeof t==`function`?t:i.n(+t),l):e},l.sortValues=function(e){return arguments.length?(t=e,n=null,l):t},l.sort=function(e){return arguments.length?(n=e,t=null,l):n},l.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:i.n(+e),l):r},l.endAngle=function(e){return arguments.length?(o=typeof e==`function`?e:i.n(+e),l):o},l.padAngle=function(e){return arguments.length?(c=typeof e==`function`?e:i.n(+e),l):c},l}var h=t.f.pie,g={sections:new Map,showData:!1,config:h},_=g.sections,v=g.showData,y=structuredClone(h),b={getConfig:n.n(()=>structuredClone(y),`getConfig`),clear:n.n(()=>{_=new Map,v=g.showData,t.a()},`clear`),setDiagramTitle:t.K,getDiagramTitle:t.w,setAccTitle:t.U,getAccTitle:t.y,setAccDescription:t.H,getAccDescription:t.v,addSection:n.n(({label:t,value:n})=>{if(n<0)throw Error(`"${t}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);_.has(t)||(_.set(t,n),e.m.debug(`added new section: ${t}, with value: ${n}`))},`addSection`),getSections:n.n(()=>_,`getSections`),setShowData:n.n(e=>{v=e},`setShowData`),getShowData:n.n(()=>v,`getShowData`)},x=n.n((e,t)=>{d.t(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),S={parse:n.n(async t=>{let n=await u.n(`pie`,t);e.m.debug(n),x(n,b)},`parse`)},C=n.n(e=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieCircle.highlighted{
8
- scale: 1.05;
9
- opacity: 1;
10
- }
11
- .pieCircle.highlightedOnHover:hover{
12
- transition-duration: 250ms;
13
- scale: 1.05;
14
- opacity: 1;
15
- }
16
- .pieOuterCircle{
17
- stroke: ${e.pieOuterStrokeColor};
18
- stroke-width: ${e.pieOuterStrokeWidth};
19
- fill: none;
20
- }
21
- .pieTitleText {
22
- text-anchor: middle;
23
- font-size: ${e.pieTitleTextSize};
24
- fill: ${e.pieTitleTextColor};
25
- font-family: ${e.fontFamily};
26
- }
27
- .slice {
28
- font-family: ${e.fontFamily};
29
- fill: ${e.pieSectionTextColor};
30
- font-size:${e.pieSectionTextSize};
31
- // fill: white;
32
- }
33
- .legend text {
34
- fill: ${e.pieLegendTextColor};
35
- font-family: ${e.fontFamily};
36
- font-size: ${e.pieLegendTextSize};
37
- }
38
- `,`getStyles`),w=n.n(e=>{let t=[...e.values()].reduce((e,t)=>e+t,0),n=[...e.entries()].map(([e,t])=>({label:e,value:t})).filter(e=>e.value/t*100>=1);return m().value(e=>e.value).sort(null)(n)},`createPieArcs`),T={parser:S,db:b,renderer:{draw:n.n((n,i,a,s)=>{e.m.debug(`rendering pie chart
39
- `+n);let u=s.db,d=t.x(),f=c.i(u.getConfig(),d.pie),p=l.t(i),m=p.append(`g`);m.attr(`transform`,`translate(225,225)`);let{themeVariables:h}=d,[g]=c.p(h.pieOuterStrokeWidth);g??=2;let _=f.legendPosition,v=f.textPosition,y=f.donutHole>0&&f.donutHole<=.9?f.donutHole:0,b=o.t().innerRadius(y*185).outerRadius(185),x=o.t().innerRadius(185*v).outerRadius(185*v),S=m.append(`g`);S.append(`circle`).attr(`cx`,0).attr(`cy`,0).attr(`r`,185+g/2).attr(`class`,`pieOuterCircle`);let C=u.getSections(),T=w(C),E=[h.pie1,h.pie2,h.pie3,h.pie4,h.pie5,h.pie6,h.pie7,h.pie8,h.pie9,h.pie10,h.pie11,h.pie12],D=0;C.forEach(e=>{D+=e});let O=T.filter(e=>(e.data.value/D*100).toFixed(0)!==`0`),k=r.t(E).domain([...C.keys()]);S.selectAll(`mySlices`).data(O).enter().append(`path`).attr(`d`,b).attr(`fill`,e=>k(e.data.label)).attr(`class`,e=>{let t=`pieCircle`;return f.highlightSlice===`hover`?t+=` highlightedOnHover`:f.highlightSlice===e.data.label&&(t+=` highlighted`),t}),S.selectAll(`mySlices`).data(O).enter().append(`text`).text(e=>(e.data.value/D*100).toFixed(0)+`%`).attr(`transform`,e=>`translate(`+x.centroid(e)+`)`).style(`text-anchor`,`middle`).attr(`class`,`slice`);let A=m.append(`text`).text(u.getDiagramTitle()).attr(`x`,0).attr(`y`,-400/2).attr(`class`,`pieTitleText`),j=[...C.entries()].map(([e,t])=>({label:e,value:t})),M=m.selectAll(`.legend`).data(j).enter().append(`g`).attr(`class`,`legend`);M.append(`rect`).attr(`width`,18).attr(`height`,18).style(`fill`,e=>k(e.label)).style(`stroke`,e=>k(e.label)),M.append(`text`).attr(`x`,22).attr(`y`,14).text(e=>u.getShowData()?`${e.label} [${e.value}]`:e.label);let N=Math.max(...M.selectAll(`text`).nodes().map(e=>e?.getBoundingClientRect().width??0)),P=450,F=490,I=j.length*22;switch(_){case`center`:M.attr(`transform`,(e,t)=>{let n=22*j.length/2,r=-N/2-22,i=t*22-n;return`translate(`+r+`,`+i+`)`});break;case`top`:P+=I,M.attr(`transform`,(e,t)=>`translate(${-N/2-22}, ${t*22-185})`),S.attr(`transform`,()=>`translate(0, ${I+22})`);break;case`bottom`:P+=I,M.attr(`transform`,(e,t)=>{let n=-N/2-22,r=t*22- -207;return`translate(`+n+`,`+r+`)`});break;case`left`:F+=22+N,M.attr(`transform`,(e,t)=>{let n=22*j.length/2;return`translate(-207,`+(t*22-n)+`)`}),S.attr(`transform`,()=>`translate(${N+18+4}, 0)`);break;default:F+=22+N,M.attr(`transform`,(e,t)=>{let n=22*j.length/2;return`translate(216,`+(t*22-n)+`)`});break}let L=A.node()?.getBoundingClientRect().width??0,R=450/2-L/2,z=450/2+L/2,B=Math.min(0,R),V=Math.max(F,z)-B;p.attr(`viewBox`,`${B} 0 ${V} ${P}`),t.c(p,P,V,f.useMaxWidth)},`draw`)},styles:C};exports.diagram=T;
@@ -1,7 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./linear-YA14Lx5Z.cjs");var i=(function(){var e=n.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,3],r=[1,4],i=[1,5],a=[1,6],o=[1,7],s=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[55,56,57],u=[2,36],d=[1,37],f=[1,36],p=[1,38],m=[1,35],h=[1,43],g=[1,41],_=[1,45],v=[1,14],y=[1,23],b=[1,18],x=[1,19],S=[1,20],C=[1,21],w=[1,22],T=[1,24],E=[1,25],D=[1,26],O=[1,27],k=[1,28],A=[1,29],j=[1,32],M=[1,33],N=[1,34],P=[1,39],F=[1,40],I=[1,42],L=[1,44],R=[1,63],z=[1,62],B=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ee=[1,66],te=[1,67],ne=[1,68],re=[1,69],ie=[1,70],ae=[1,71],oe=[1,72],se=[1,73],ce=[1,74],le=[1,75],ue=[1,76],de=[1,77],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],H=[1,91],U=[1,92],W=[1,93],G=[1,100],K=[1,94],q=[1,97],J=[1,95],Y=[1,96],X=[1,98],Z=[1,99],fe=[1,103],pe=[10,55,56,57],Q=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],me={trace:n.n(function(){},`trace`),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:`error`,4:`ALPHA`,5:`NUM`,6:`NODE_STRING`,7:`DOWN`,8:`MINUS`,9:`DEFAULT`,10:`COMMA`,11:`COLON`,12:`AMP`,13:`BRKT`,14:`MULT`,15:`UNICODE_TEXT`,17:`UNIT`,18:`SPACE`,19:`STYLE`,20:`PCT`,25:`CLASSDEF`,28:`QUADRANT`,35:`title`,36:`title_value`,37:`acc_title`,38:`acc_title_value`,39:`acc_descr`,40:`acc_descr_value`,41:`acc_descr_multiline_value`,42:`section`,44:`point_start`,45:`point_x`,46:`point_y`,47:`class_name`,48:`X-AXIS`,49:`AXIS-TEXT-DELIMITER`,50:`Y-AXIS`,51:`QUADRANT_1`,52:`QUADRANT_2`,53:`QUADRANT_3`,54:`QUADRANT_4`,55:`NEWLINE`,56:`SEMI`,57:`EOF`,60:`STR`,61:`MD_STR`,63:`PUNCTUATION`,64:`PLUS`,65:`EQUALS`,66:`DOT`,67:`UNDERSCORE`},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:n.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+``+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 46:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:r.addPoint(a[s-3],``,a[s-1],a[s],[]);break;case 48:r.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:r.addPoint(a[s-4],``,a[s-2],a[s-1],a[s]);break;case 50:r.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:r.setXAxisLeftText(a[s-2]),r.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=` ⟶ `,r.setXAxisLeftText(a[s-1]);break;case 53:r.setXAxisLeftText(a[s]);break;case 54:r.setYAxisBottomText(a[s-2]),r.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=` ⟶ `,r.setYAxisBottomText(a[s-1]);break;case 56:r.setYAxisBottomText(a[s]);break;case 57:r.setQuadrant1Text(a[s]);break;case 58:r.setQuadrant2Text(a[s]);break;case 59:r.setQuadrant3Text(a[s]);break;case 60:r.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:`text`};break;case 65:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:`text`};break;case 67:this.$={text:a[s],type:`markdown`};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[{18:t,26:1,27:2,28:r,55:i,56:a,57:o},{1:[3]},{18:t,26:8,27:2,28:r,55:i,56:a,57:o},{18:t,26:9,27:2,28:r,55:i,56:a,57:o},e(s,[2,33],{29:10}),e(c,[2,61]),e(c,[2,62]),e(c,[2,63]),{1:[2,30]},{1:[2,31]},e(l,u,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(s,[2,34]),{27:46,55:i,56:a,57:o},e(l,[2,37]),e(l,u,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(l,[2,39]),e(l,[2,40]),e(l,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(l,[2,45]),e(l,[2,46]),{18:[1,51]},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:52,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:53,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:54,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:55,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:56,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:57,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,44:[1,58],47:[1,59],58:61,59:60,63:N,64:P,65:F,66:I,67:L},e(B,[2,64]),e(B,[2,66]),e(B,[2,67]),e(B,[2,70]),e(B,[2,71]),e(B,[2,72]),e(B,[2,73]),e(B,[2,74]),e(B,[2,75]),e(B,[2,76]),e(B,[2,77]),e(B,[2,78]),e(B,[2,79]),e(B,[2,80]),e(B,[2,81]),e(s,[2,35]),e(l,[2,38]),e(l,[2,42]),e(l,[2,43]),e(l,[2,44]),{3:65,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,21:64},e(l,[2,53],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,78],63:N,64:P,65:F,66:I,67:L}),e(l,[2,56],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,79],63:N,64:P,65:F,66:I,67:L}),e(l,[2,57],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,58],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,59],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,60],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),{45:[1,80]},{44:[1,81]},e(B,[2,65]),e(B,[2,82]),e(B,[2,83]),e(B,[2,84]),{3:83,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,18:[1,82]},e(V,[2,23]),e(V,[2,1]),e(V,[2,2]),e(V,[2,3]),e(V,[2,4]),e(V,[2,5]),e(V,[2,6]),e(V,[2,7]),e(V,[2,8]),e(V,[2,9]),e(V,[2,10]),e(V,[2,11]),e(V,[2,12]),e(l,[2,52],{58:31,43:84,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(l,[2,55],{58:31,43:85,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),{46:[1,86]},{45:[1,87]},{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:89,23:88},e(V,[2,24]),e(l,[2,51],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,54],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,47],{22:89,16:90,23:101,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{46:[1,102]},e(l,[2,29],{10:fe}),e(pe,[2,27],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),e(Q,[2,25]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),e(Q,[2,17]),e(Q,[2,18]),e(Q,[2,19]),e(Q,[2,20]),e(Q,[2,21]),e(Q,[2,22]),e(l,[2,49],{10:fe}),e(l,[2,48],{22:89,16:90,23:105,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:106},e(Q,[2,26]),e(l,[2,50],{10:fe}),e(pe,[2,28],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z})],defaultActions:{8:[2,30],9:[2,31]},parseError:n.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n.n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};me.lexer=(function(){return{EOF:1,parseError:n.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n.n(function(){return this._more=!0,this},`more`),reject:n.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:n.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:n.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:n.n(function(){return this.next()||this.lex()},`lex`),begin:n.n(function(e){this.conditionStack.push(e)},`begin`),popState:n.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:n.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:n.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:n.n(function(e){this.begin(e)},`pushState`),stateStackSize:n.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:n.n(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin(`title`),35;case 5:return this.popState(),`title_value`;case 6:return this.begin(`acc_title`),37;case 7:return this.popState(),`acc_title_value`;case 8:return this.begin(`acc_descr`),39;case 9:return this.popState(),`acc_descr_value`;case 10:this.begin(`acc_descr_multiline`);break;case 11:this.popState();break;case 12:return`acc_descr_multiline_value`;case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin(`md_string`);break;case 22:return`MD_STR`;case 23:this.popState();break;case 24:this.begin(`string`);break;case 25:this.popState();break;case 26:return`STR`;case 27:this.begin(`class_name`);break;case 28:return this.popState(),47;case 29:return this.begin(`point_start`),44;case 30:return this.begin(`point_x`),45;case 31:this.popState();break;case 32:this.popState(),this.begin(`point_y`);break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function $(){this.yy={}}return n.n($,`Parser`),$.prototype=me,me.Parser=$,new $})();i.parser=i;var a=i,o=t.D(),s=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{n.n(this,`QuadrantBuilder`)}getDefaultData(){return{titleText:``,quadrant1Text:``,quadrant2Text:``,quadrant3Text:``,quadrant4Text:``,xAxisLeftText:``,xAxisRightText:``,yAxisBottomText:``,yAxisTopText:``,points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:t.f.quadrantChart?.chartWidth||500,chartWidth:t.f.quadrantChart?.chartHeight||500,titlePadding:t.f.quadrantChart?.titlePadding||10,titleFontSize:t.f.quadrantChart?.titleFontSize||20,quadrantPadding:t.f.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:t.f.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:t.f.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:t.f.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:t.f.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:t.f.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:t.f.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:t.f.quadrantChart?.pointTextPadding||5,pointLabelFontSize:t.f.quadrantChart?.pointLabelFontSize||12,pointRadius:t.f.quadrantChart?.pointRadius||5,xAxisPosition:t.f.quadrantChart?.xAxisPosition||`top`,yAxisPosition:t.f.quadrantChart?.yAxisPosition||`left`,quadrantInternalBorderStrokeWidth:t.f.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:t.f.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:o.quadrant1Fill,quadrant2Fill:o.quadrant2Fill,quadrant3Fill:o.quadrant3Fill,quadrant4Fill:o.quadrant4Fill,quadrant1TextFill:o.quadrant1TextFill,quadrant2TextFill:o.quadrant2TextFill,quadrant3TextFill:o.quadrant3TextFill,quadrant4TextFill:o.quadrant4TextFill,quadrantPointFill:o.quadrantPointFill,quadrantPointTextFill:o.quadrantPointTextFill,quadrantXAxisTextFill:o.quadrantXAxisTextFill,quadrantYAxisTextFill:o.quadrantYAxisTextFill,quadrantTitleFill:o.quadrantTitleFill,quadrantInternalBorderStrokeFill:o.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:o.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,e.m.info(`clear called`)}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,t){this.classes.set(e,t)}setConfig(t){e.m.trace(`setConfig called with: `,t),this.config={...this.config,...t}}setThemeConfig(t){e.m.trace(`setThemeConfig called with: `,t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(e,t,n,r){let i=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,a={top:e===`top`&&t?i:0,bottom:e===`bottom`&&t?i:0},o=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,s={left:this.config.yAxisPosition===`left`&&n?o:0,right:this.config.yAxisPosition===`right`&&n?o:0},c=this.config.titleFontSize+this.config.titlePadding*2,l={top:r?c:0},u=this.config.quadrantPadding+s.left,d=this.config.quadrantPadding+a.top+l.top,f=this.config.chartWidth-this.config.quadrantPadding*2-s.left-s.right,p=this.config.chartHeight-this.config.quadrantPadding*2-a.top-a.bottom-l.top;return{xAxisSpace:a,yAxisSpace:s,titleSpace:l,quadrantSpace:{quadrantLeft:u,quadrantTop:d,quadrantWidth:f,quadrantHalfWidth:f/2,quadrantHeight:p,quadrantHalfHeight:p/2}}}getAxisLabels(e,t,n,r){let{quadrantSpace:i,titleSpace:a}=r,{quadrantHalfHeight:o,quadrantHeight:s,quadrantLeft:c,quadrantHalfWidth:l,quadrantTop:u,quadrantWidth:d}=i,f=!!this.data.xAxisRightText,p=!!this.data.yAxisTopText,m=[];return this.data.xAxisLeftText&&t&&m.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.xAxisRightText&&t&&m.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+l+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.yAxisBottomText&&n&&m.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+s-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),this.data.yAxisTopText&&n&&m.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+o-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),m}getQuadrants(e){let{quadrantSpace:t}=e,{quadrantHalfHeight:n,quadrantLeft:r,quadrantHalfWidth:i,quadrantTop:a}=t,o=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a,width:i,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a,width:i,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant4Fill}];for(let e of o)e.text.x=e.x+e.width/2,this.data.points.length===0?(e.text.y=e.y+e.height/2,e.text.horizontalPos=`middle`):(e.text.y=e.y+this.config.quadrantTextTopPadding,e.text.horizontalPos=`top`);return o}getQuadrantPoints(e){let{quadrantSpace:t}=e,{quadrantHeight:n,quadrantLeft:i,quadrantTop:a,quadrantWidth:o}=t,s=r.t().domain([0,1]).range([i,o+i]),c=r.t().domain([0,1]).range([n+a,a]);return this.data.points.map(e=>{let t=this.classes.get(e.className);return t&&(e={...t,...e}),{x:s(e.x),y:c(e.y),fill:e.color??this.themeConfig.quadrantPointFill,radius:e.radius??this.config.pointRadius,text:{text:e.text,fill:this.themeConfig.quadrantPointTextFill,x:s(e.x),y:c(e.y)+this.config.pointTextPadding,verticalPos:`center`,horizontalPos:`top`,fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:e.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:e.strokeWidth??`0px`}})}getBorders(e){let t=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=e,{quadrantHalfHeight:r,quadrantHeight:i,quadrantLeft:a,quadrantHalfWidth:o,quadrantTop:s,quadrantWidth:c}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s,x2:a+c+t,y2:s},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a+c,y1:s+t,x2:a+c,y2:s+i-t},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s+i,x2:a+c+t,y2:s+i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a,y1:s+t,x2:a,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+o,y1:s+t,x2:a+o,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+t,y1:s+r,x2:a+c-t,y2:s+r}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:`top`,verticalPos:`center`,rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),t=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,r=this.data.points.length>0?`bottom`:this.config.xAxisPosition,i=this.calculateSpace(r,e,t,n);return{points:this.getQuadrantPoints(i),quadrants:this.getQuadrants(i),axisLabels:this.getAxisLabels(r,e,t,i),borderLines:this.getBorders(i),title:this.getTitle(n)}}},c=class extends Error{static{n.n(this,`InvalidStyleError`)}constructor(e,t,n){super(`value for ${e} ${t} is invalid, please use a valid ${n}`),this.name=`InvalidStyleError`}};function l(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}n.n(l,`validateHexCode`);function u(e){return!/^\d+$/.test(e)}n.n(u,`validateNumber`);function d(e){return!/^\d+px$/.test(e)}n.n(d,`validateSizeInPixels`);function f(e){return t.z(e.trim(),t.x())}n.n(f,`textSanitizer`);var p=new s;function m(e){p.setData({quadrant1Text:f(e.text)})}n.n(m,`setQuadrant1Text`);function h(e){p.setData({quadrant2Text:f(e.text)})}n.n(h,`setQuadrant2Text`);function g(e){p.setData({quadrant3Text:f(e.text)})}n.n(g,`setQuadrant3Text`);function _(e){p.setData({quadrant4Text:f(e.text)})}n.n(_,`setQuadrant4Text`);function v(e){p.setData({xAxisLeftText:f(e.text)})}n.n(v,`setXAxisLeftText`);function y(e){p.setData({xAxisRightText:f(e.text)})}n.n(y,`setXAxisRightText`);function b(e){p.setData({yAxisTopText:f(e.text)})}n.n(b,`setYAxisTopText`);function x(e){p.setData({yAxisBottomText:f(e.text)})}n.n(x,`setYAxisBottomText`);function S(e){let t={};for(let n of e){let[e,r]=n.trim().split(/\s*:\s*/);if(e===`radius`){if(u(r))throw new c(e,r,`number`);t.radius=parseInt(r)}else if(e===`color`){if(l(r))throw new c(e,r,`hex code`);t.color=r}else if(e===`stroke-color`){if(l(r))throw new c(e,r,`hex code`);t.strokeColor=r}else if(e===`stroke-width`){if(d(r))throw new c(e,r,`number of pixels (eg. 10px)`);t.strokeWidth=r}else throw Error(`style named ${e} is not supported.`)}return t}n.n(S,`parseStyles`);function C(e,t,n,r,i){let a=S(i);p.addPoints([{x:n,y:r,text:f(e.text),className:t,...a}])}n.n(C,`addPoint`);function w(e,t){p.addClass(e,S(t))}n.n(w,`addClass`);function T(e){p.setConfig({chartWidth:e})}n.n(T,`setWidth`);function E(e){p.setConfig({chartHeight:e})}n.n(E,`setHeight`);function D(){let{themeVariables:e,quadrantChart:n}=t.x();return n&&p.setConfig(n),p.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),p.setData({titleText:t.w()}),p.build()}n.n(D,`getQuadrantData`);var O={parser:a,db:{setWidth:T,setHeight:E,setQuadrant1Text:m,setQuadrant2Text:h,setQuadrant3Text:g,setQuadrant4Text:_,setXAxisLeftText:v,setXAxisRightText:y,setYAxisTopText:b,setYAxisBottomText:x,parseStyles:S,addPoint:C,addClass:w,getQuadrantData:D,clear:n.n(function(){p.clear(),t.a()},`clear`),setAccTitle:t.U,getAccTitle:t.y,setDiagramTitle:t.K,getDiagramTitle:t.w,getAccDescription:t.v,setAccDescription:t.H},renderer:{draw:n.n((r,i,a,o)=>{function s(e){return e===`top`?`hanging`:`middle`}n.n(s,`getDominantBaseLine`);function c(e){return e===`left`?`start`:`middle`}n.n(c,`getTextAnchor`);function l(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}n.n(l,`getTransformation`);let u=t.x();e.m.debug(`Rendering quadrant chart
7
- `+r);let d=u.securityLevel,f;d===`sandbox`&&(f=e.p(`#i`+i));let p=(d===`sandbox`?e.p(f.nodes()[0].contentDocument.body):e.p(`body`)).select(`[id="${i}"]`),m=p.append(`g`).attr(`class`,`main`),h=u.quadrantChart?.chartWidth??500,g=u.quadrantChart?.chartHeight??500;t.c(p,g,h,u.quadrantChart?.useMaxWidth??!0),p.attr(`viewBox`,`0 0 `+h+` `+g),o.db.setHeight(g),o.db.setWidth(h);let _=o.db.getQuadrantData(),v=m.append(`g`).attr(`class`,`quadrants`),y=m.append(`g`).attr(`class`,`border`),b=m.append(`g`).attr(`class`,`data-points`),x=m.append(`g`).attr(`class`,`labels`),S=m.append(`g`).attr(`class`,`title`);_.title&&S.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,_.title.fill).attr(`font-size`,_.title.fontSize).attr(`dominant-baseline`,s(_.title.horizontalPos)).attr(`text-anchor`,c(_.title.verticalPos)).attr(`transform`,l(_.title)).text(_.title.text),_.borderLines&&y.selectAll(`line`).data(_.borderLines).enter().append(`line`).attr(`x1`,e=>e.x1).attr(`y1`,e=>e.y1).attr(`x2`,e=>e.x2).attr(`y2`,e=>e.y2).style(`stroke`,e=>e.strokeFill).style(`stroke-width`,e=>e.strokeWidth);let C=v.selectAll(`g.quadrant`).data(_.quadrants).enter().append(`g`).attr(`class`,`quadrant`);C.append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill),C.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>c(e.text.verticalPos)).attr(`transform`,e=>l(e.text)).text(e=>e.text.text),x.selectAll(`g.label`).data(_.axisLabels).enter().append(`g`).attr(`class`,`label`).append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>s(e.horizontalPos)).attr(`text-anchor`,e=>c(e.verticalPos)).attr(`transform`,e=>l(e));let w=b.selectAll(`g.data-point`).data(_.points).enter().append(`g`).attr(`class`,`data-point`);w.append(`circle`).attr(`cx`,e=>e.x).attr(`cy`,e=>e.y).attr(`r`,e=>e.radius).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeColor).attr(`stroke-width`,e=>e.strokeWidth),w.append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text.text).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>c(e.text.verticalPos)).attr(`transform`,e=>l(e.text))},`draw`)},styles:n.n(()=>``,`styles`)};exports.diagram=O;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { v as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createRadarServices };
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createRadarServices=e.v;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { g as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createRailroadServices };
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createRailroadServices=e.g;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { m as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createRailroadAbnfServices };
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createRailroadAbnfServices=e.m;
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createRailroadEbnfServices=e.f;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { f as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createRailroadEbnfServices };
@@ -1 +0,0 @@
1
- require("./chunk-FOHPRMQF-BYsnEQU5.cjs");const e=require("./mermaid-parser.core-CqChDTj1.cjs");exports.createRailroadPegServices=e.u;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-C49KxWOg.js";
2
- import { u as e } from "./mermaid-parser.core-oFB-qEU8.js";
3
- export { e as createRailroadPegServices };
@@ -1 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs");require("./chunk-DU6HZSFF-mznJTFyO.cjs");const t=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./chunk-CLGD4ZFX-Dvn-kRD7.cjs");const n=require("./mermaid-parser.core-CqChDTj1.cjs"),r=require("./chunk-SVP7TREG-CiwWyOxx.cjs"),i=require("./chunk-JWPE2WC7-Cs1kjq8S.cjs");var a=n.g().Railroad.parser.LangiumParser,o=t.n(e=>{switch(e.$type){case`RailroadTerminalExpr`:return{type:`terminal`,value:e.value};case`RailroadNonTerminalExpr`:return{type:`nonterminal`,name:e.name};case`RailroadSpecialExpr`:return{type:`special`,text:e.text};case`RailroadSequenceExpr`:{let t=e.elements.map(o);return t.length===1?t[0]:{type:`sequence`,elements:t}}case`RailroadChoiceExpr`:{let t=e.alternatives.map(o);return t.length===1?t[0]:{type:`choice`,alternatives:t}}case`RailroadOptionalExpr`:return{type:`optional`,element:o(e.element)};case`RailroadOneOrMoreExpr`:return{type:`repetition`,element:o(e.element),min:1,max:1/0};case`RailroadZeroOrMoreExpr`:return{type:`repetition`,element:o(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},`transformExpression`),s=t.n(e=>({name:e.name,definition:o(e.definition)}),`transformRule`),c=t.n(e=>{i.t(e,r.t),e.title&&r.t.setTitle(e.title),e.rules.map(e=>r.t.addRule(s(e)))},`populateDb`),l={parser:{parse:t.n(t=>{r.t.clear(),e.m.debug(`[Railroad Parser] Starting Langium parse`);let i=a.parse(t);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new n.t(i);let o=i.value;e.m.debug(`[Railroad Parser] Parsed rules:`,o.rules.length),c(o),e.m.debug(`[Railroad Parser] Parse complete`)},`parse`),parser:{yy:r.t}},db:r.t,renderer:r.r,styles:r.n};exports.diagram=l;
@@ -1,84 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./chunk-75Z2AOVW-RbCLc-XL.cjs");require("./chunk-P2QGCYS3-DqT85Q-S.cjs"),require("./chunk-PWAF6VOD-CjrO-QHU.cjs"),require("./chunk-GMAD6QVW-BVSRANO9.cjs"),require("./chunk-4HAMMTFA-Db_fcZEn.cjs"),require("./chunk-GVQU2GXP-BiuaO1L5.cjs"),require("./chunk-L3NEJ4N5-B8UQMgqc.cjs"),require("./chunk-OSK3NFVY-DE9_ERt9.cjs");const i=require("./chunk-TLUHSLCS-ZDzqyqeY.cjs"),a=require("./chunk-XXDRQBXY-BF71LTT1.cjs"),o=require("./chunk-POPQ4Y6H-QqO5seyb.cjs");var s=(function(){var e=n.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,3],r=[1,4],i=[1,5],a=[1,6],o=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],s=[1,22],c=[2,7],l=[1,26],u=[1,27],d=[1,28],f=[1,29],p=[1,33],m=[1,34],h=[1,35],g=[1,36],_=[1,37],v=[1,38],y=[1,24],b=[1,31],x=[1,32],S=[1,30],C=[1,39],w=[1,40],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],E=[1,61],D=[89,90],O=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],k=[27,29],ee=[1,70],A=[1,71],te=[1,72],ne=[1,73],re=[1,74],ie=[1,75],ae=[1,76],j=[1,83],M=[1,80],N=[1,84],P=[1,85],F=[1,86],I=[1,87],L=[1,88],R=[1,89],z=[1,90],B=[1,91],V=[1,92],oe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],H=[63,64],se=[1,101],ce=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],U=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],W=[1,110],G=[1,106],K=[1,107],q=[1,108],J=[1,109],Y=[1,111],X=[1,116],Z=[1,117],Q=[1,114],$=[1,115],le={trace:n.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:`error`,5:`NEWLINE`,6:`RD`,8:`EOF`,9:`acc_title`,10:`acc_title_value`,11:`acc_descr`,12:`acc_descr_value`,13:`acc_descr_multiline_value`,21:`direction_tb`,22:`direction_bt`,23:`direction_rl`,24:`direction_lr`,27:`STRUCT_START`,29:`STYLE_SEPARATOR`,31:`ID`,32:`COLONSEP`,34:`TEXT`,36:`RISK`,38:`VERIFYMTHD`,40:`STRUCT_STOP`,41:`REQUIREMENT`,42:`FUNCTIONAL_REQUIREMENT`,43:`INTERFACE_REQUIREMENT`,44:`PERFORMANCE_REQUIREMENT`,45:`PHYSICAL_REQUIREMENT`,46:`DESIGN_CONSTRAINT`,47:`LOW_RISK`,48:`MED_RISK`,49:`HIGH_RISK`,50:`VERIFY_ANALYSIS`,51:`VERIFY_DEMONSTRATION`,52:`VERIFY_INSPECTION`,53:`VERIFY_TEST`,54:`ELEMENT`,57:`TYPE`,59:`DOCREF`,61:`END_ARROW_L`,63:`LINE`,64:`END_ARROW_R`,65:`CONTAINS`,66:`COPIES`,67:`DERIVES`,68:`SATISFIES`,69:`VERIFIES`,70:`REFINES`,71:`TRACES`,72:`CLASSDEF`,74:`CLASS`,75:`ALPHA`,76:`COMMA`,77:`STYLE`,80:`NUM`,81:`COLON`,82:`UNIT`,83:`SPACE`,84:`BRKT`,85:`PCT`,86:`MINUS`,87:`LABEL`,88:`SEMICOLON`,89:`unqString`,90:`qString`},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:n.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:r.setDirection(`TB`);break;case 18:r.setDirection(`BT`);break;case 19:r.setDirection(`RL`);break;case 20:r.setDirection(`LR`);break;case 21:r.addRequirement(a[s-3],a[s-4]);break;case 22:r.addRequirement(a[s-5],a[s-6]),r.setClass([a[s-5]],a[s-3]);break;case 23:r.setNewReqId(a[s-2]);break;case 24:r.setNewReqText(a[s-2]);break;case 25:r.setNewReqRisk(a[s-2]);break;case 26:r.setNewReqVerifyMethod(a[s-2]);break;case 29:this.$=r.RequirementType.REQUIREMENT;break;case 30:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=r.RiskLevel.LOW_RISK;break;case 36:this.$=r.RiskLevel.MED_RISK;break;case 37:this.$=r.RiskLevel.HIGH_RISK;break;case 38:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=r.VerifyType.VERIFY_TEST;break;case 42:r.addElement(a[s-3]);break;case 43:r.addElement(a[s-5]),r.setClass([a[s-5]],a[s-3]);break;case 44:r.setNewElementType(a[s-2]);break;case 45:r.setNewElementDocRef(a[s-2]);break;case 48:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 49:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 50:this.$=r.Relationships.CONTAINS;break;case 51:this.$=r.Relationships.COPIES;break;case 52:this.$=r.Relationships.DERIVES;break;case 53:this.$=r.Relationships.SATISFIES;break;case 54:this.$=r.Relationships.VERIFIES;break;case 55:this.$=r.Relationships.REFINES;break;case 56:this.$=r.Relationships.TRACES;break;case 57:this.$=a[s-2],r.defineClass(a[s-1],a[s]);break;case 58:r.setClass(a[s-1],a[s]);break;case 59:r.setClass([a[s-2]],a[s]);break;case 60:case 62:this.$=[a[s]];break;case 61:case 63:this.$=a[s-2].concat([a[s]]);break;case 64:this.$=a[s-2],r.setCssStyle(a[s-1],a[s]);break;case 65:this.$=[a[s]];break;case 66:a[s-2].push(a[s]),this.$=a[s-2];break;case 68:this.$=a[s-1]+a[s];break}},`anonymous`),table:[{3:1,4:2,6:t,9:r,11:i,13:a},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:r,11:i,13:a},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(o,[2,6]),{3:12,4:2,6:t,9:r,11:i,13:a},{1:[2,2]},{4:17,5:s,7:13,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},e(o,[2,4]),e(o,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:s,7:42,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:43,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:44,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:45,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:46,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:47,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:48,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:49,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{4:17,5:s,7:50,8:c,9:r,11:i,13:a,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:l,22:u,23:d,24:f,25:23,33:25,41:p,42:m,43:h,44:g,45:_,46:v,54:y,72:b,74:x,77:S,89:C,90:w},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(T,[2,17]),e(T,[2,18]),e(T,[2,19]),e(T,[2,20]),{30:60,33:62,75:E,89:C,90:w},{30:63,33:62,75:E,89:C,90:w},{30:64,33:62,75:E,89:C,90:w},e(D,[2,29]),e(D,[2,30]),e(D,[2,31]),e(D,[2,32]),e(D,[2,33]),e(D,[2,34]),e(O,[2,81]),e(O,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(k,[2,79]),e(k,[2,80]),{27:[1,67],29:[1,68]},e(k,[2,85]),e(k,[2,86]),{62:69,65:ee,66:A,67:te,68:ne,69:re,70:ie,71:ae},{62:77,65:ee,66:A,67:te,68:ne,69:re,70:ie,71:ae},{30:78,33:62,75:E,89:C,90:w},{73:79,75:j,76:M,78:81,79:82,80:N,81:P,82:F,83:I,84:L,85:R,86:z,87:B,88:V},e(oe,[2,60]),e(oe,[2,62]),{73:93,75:j,76:M,78:81,79:82,80:N,81:P,82:F,83:I,84:L,85:R,86:z,87:B,88:V},{30:94,33:62,75:E,76:M,89:C,90:w},{5:[1,95]},{30:96,33:62,75:E,89:C,90:w},{5:[1,97]},{30:98,33:62,75:E,89:C,90:w},{63:[1,99]},e(H,[2,50]),e(H,[2,51]),e(H,[2,52]),e(H,[2,53]),e(H,[2,54]),e(H,[2,55]),e(H,[2,56]),{64:[1,100]},e(T,[2,59],{76:M}),e(T,[2,64],{76:se}),{33:103,75:[1,102],89:C,90:w},e(ce,[2,65],{79:104,75:j,80:N,81:P,82:F,83:I,84:L,85:R,86:z,87:B,88:V}),e(U,[2,67]),e(U,[2,69]),e(U,[2,70]),e(U,[2,71]),e(U,[2,72]),e(U,[2,73]),e(U,[2,74]),e(U,[2,75]),e(U,[2,76]),e(U,[2,77]),e(U,[2,78]),e(T,[2,57],{76:se}),e(T,[2,58],{76:M}),{5:W,28:105,31:G,34:K,36:q,38:J,40:Y},{27:[1,112],76:M},{5:X,40:Z,56:113,57:Q,59:$},{27:[1,118],76:M},{33:119,89:C,90:w},{33:120,89:C,90:w},{75:j,78:121,79:82,80:N,81:P,82:F,83:I,84:L,85:R,86:z,87:B,88:V},e(oe,[2,61]),e(oe,[2,63]),e(U,[2,68]),e(T,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:W,28:126,31:G,34:K,36:q,38:J,40:Y},e(T,[2,28]),{5:[1,127]},e(T,[2,42]),{32:[1,128]},{32:[1,129]},{5:X,40:Z,56:130,57:Q,59:$},e(T,[2,47]),{5:[1,131]},e(T,[2,48]),e(T,[2,49]),e(ce,[2,66],{79:104,75:j,80:N,81:P,82:F,83:I,84:L,85:R,86:z,87:B,88:V}),{33:132,89:C,90:w},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(T,[2,27]),{5:W,28:145,31:G,34:K,36:q,38:J,40:Y},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(T,[2,46]),{5:X,40:Z,56:152,57:Q,59:$},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(T,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(T,[2,43]),{5:W,28:159,31:G,34:K,36:q,38:J,40:Y},{5:W,28:160,31:G,34:K,36:q,38:J,40:Y},{5:W,28:161,31:G,34:K,36:q,38:J,40:Y},{5:W,28:162,31:G,34:K,36:q,38:J,40:Y},{5:X,40:Z,56:163,57:Q,59:$},{5:X,40:Z,56:164,57:Q,59:$},e(T,[2,23]),e(T,[2,24]),e(T,[2,25]),e(T,[2,26]),e(T,[2,44]),e(T,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:n.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n.n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,ee,A;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var te=``;for(O in A=[],s[w])this.terminals_[O]&&O>f&&A.push(`'`+this.terminals_[O]+`'`);te=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+A.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(te,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:A})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),ee=s[r[r.length-2]][r[r.length-1]],r.push(ee);break;case 3:return!0}}return!0},`parse`)};le.lexer=(function(){return{EOF:1,parseError:n.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n.n(function(){return this._more=!0,this},`more`),reject:n.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:n.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:n.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:n.n(function(){return this.next()||this.lex()},`lex`),begin:n.n(function(e){this.conditionStack.push(e)},`begin`),popState:n.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:n.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:n.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:n.n(function(e){this.begin(e)},`pushState`),stateStackSize:n.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:n.n(function(e,t,n,r){switch(n){case 0:return`title`;case 1:return this.begin(`acc_title`),9;case 2:return this.popState(),`acc_title_value`;case 3:return this.begin(`acc_descr`),11;case 4:return this.popState(),`acc_descr_value`;case 5:this.begin(`acc_descr_multiline`);break;case 6:this.popState();break;case 7:return`acc_descr_multiline_value`;case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin(`style`),77;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return`PERCENT`;case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin(`string`);break;case 58:this.popState();break;case 59:return this.begin(`style`),72;case 60:return this.begin(`style`),74;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin(`string`);break;case 65:this.popState();break;case 66:return`qString`;case 67:return t.yytext=t.yytext.trim(),89;case 68:return 75;case 69:return 80;case 70:return 76}},`anonymous`),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}}})();function ue(){this.yy={}}return n.n(ue,`Parser`),ue.prototype=le,le.Parser=ue,new ue})();s.parser=s;var c=s,l=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction=`TB`,this.RequirementType={REQUIREMENT:`Requirement`,FUNCTIONAL_REQUIREMENT:`Functional Requirement`,INTERFACE_REQUIREMENT:`Interface Requirement`,PERFORMANCE_REQUIREMENT:`Performance Requirement`,PHYSICAL_REQUIREMENT:`Physical Requirement`,DESIGN_CONSTRAINT:`Design Constraint`},this.RiskLevel={LOW_RISK:`Low`,MED_RISK:`Medium`,HIGH_RISK:`High`},this.VerifyType={VERIFY_ANALYSIS:`Analysis`,VERIFY_DEMONSTRATION:`Demonstration`,VERIFY_INSPECTION:`Inspection`,VERIFY_TEST:`Test`},this.Relationships={CONTAINS:`contains`,COPIES:`copies`,DERIVES:`derives`,SATISFIES:`satisfies`,VERIFIES:`verifies`,REFINES:`refines`,TRACES:`traces`},this.setAccTitle=t.U,this.getAccTitle=t.y,this.setAccDescription=t.H,this.getAccDescription=t.v,this.setDiagramTitle=t.K,this.getDiagramTitle=t.w,this.getConfig=n.n(()=>t.x().requirement,`getConfig`),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{n.n(this,`RequirementDB`)}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:``,text:``,risk:``,verifyMethod:``,name:``,type:``,cssStyles:[],classes:[`default`]}}getInitialElement(){return{name:``,type:``,docRef:``,cssStyles:[],classes:[`default`]}}addRequirement(e,t){return this.requirements.has(e)||this.requirements.set(e,{name:e,type:t,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:[`default`]}),this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=e)}setNewReqText(e){this.latestRequirement!==void 0&&(this.latestRequirement.text=e)}setNewReqRisk(e){this.latestRequirement!==void 0&&(this.latestRequirement.risk=e)}setNewReqVerifyMethod(e){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=e)}addElement(t){return this.elements.has(t)||(this.elements.set(t,{name:t,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:[`default`]}),e.m.info(`Added new element: `,t)),this.resetLatestElement(),this.elements.get(t)}getElements(){return this.elements}setNewElementType(e){this.latestElement!==void 0&&(this.latestElement.type=e)}setNewElementDocRef(e){this.latestElement!==void 0&&(this.latestElement.docRef=e)}addRelationship(e,t,n){this.relations.push({type:e,src:t,dst:n})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,t.a()}setCssStyle(e,t){for(let n of e){let e=this.requirements.get(n)??this.elements.get(n);if(!t||!e)return;for(let n of t)n.includes(`,`)?e.cssStyles.push(...n.split(`,`)):e.cssStyles.push(n)}}setClass(e,t){for(let n of e){let e=this.requirements.get(n)??this.elements.get(n);if(e)for(let n of t){e.classes.push(n);let t=this.classes.get(n)?.styles;t&&e.cssStyles.push(...t)}}}defineClass(e,t){for(let n of e){let e=this.classes.get(n);e===void 0&&(e={id:n,styles:[],textStyles:[]},this.classes.set(n,e)),t&&t.forEach(function(t){if(/color/.exec(t)){let n=t.replace(`fill`,`bgFill`);e.textStyles.push(n)}e.styles.push(t)}),this.requirements.forEach(e=>{e.classes.includes(n)&&e.cssStyles.push(...t.flatMap(e=>e.split(`,`)))}),this.elements.forEach(e=>{e.classes.includes(n)&&e.cssStyles.push(...t.flatMap(e=>e.split(`,`)))})}}getClasses(){return this.classes}getData(){let e=t.x(),n=[],r=[];for(let t of this.requirements.values()){let r=t;r.id=t.name,r.cssStyles=t.cssStyles,r.cssClasses=t.classes.join(` `),r.shape=`requirementBox`,r.look=e.look,r.colorIndex=n.length,n.push(r)}for(let t of this.elements.values()){let r=t;r.shape=`requirementBox`,r.look=e.look,r.id=t.name,r.cssStyles=t.cssStyles,r.cssClasses=t.classes.join(` `),r.colorIndex=n.length,n.push(r)}let i=0;for(let t of this.relations){let n=t.type===this.Relationships.CONTAINS,a={id:`${t.src}-${t.dst}-${i++}`,start:this.requirements.get(t.src)?.name??this.elements.get(t.src)?.name,end:this.requirements.get(t.dst)?.name??this.elements.get(t.dst)?.name,label:`&lt;&lt;${t.type}&gt;&gt;`,classes:`relationshipLine`,style:[`fill:none`,n?``:`stroke-dasharray: 10,7`],labelpos:`c`,thickness:`normal`,type:`normal`,pattern:n?`normal`:`dashed`,arrowTypeStart:n?`requirement_contains`:``,arrowTypeEnd:n?``:`requirement_arrow`,look:e.look,labelType:`markdown`};r.push(a)}return{nodes:n,edges:r,other:{},config:e,direction:this.getDirection()}}},u=n.n(e=>{let{themeVariables:n,look:r}=t.b(),{bkgColorArray:i,borderColorArray:a}=n;if(!a?.length)return``;let o=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)o+=`
7
-
8
- [data-look="${r}"][data-color-id="color-${t}"].node path {
9
- stroke: ${a[t]};
10
- fill: ${i?.length?i[t]:``};
11
- }
12
-
13
- [data-look="${r}"][data-color-id="color-${t}"].node rect {
14
- stroke: ${a[t]};
15
- fill: ${i?.length?i[t]:``};
16
- }
17
- `;return o},`genColor`),d=n.n(e=>{let{look:n,themeVariables:r}=t.b(),{requirementEdgeLabelBackground:i}=r;return`
18
- ${u(e)}
19
- marker {
20
- fill: ${e.relationColor};
21
- stroke: ${e.relationColor};
22
- }
23
-
24
- marker.cross {
25
- stroke: ${e.lineColor};
26
- }
27
-
28
- svg {
29
- font-family: ${e.fontFamily};
30
- font-size: ${e.fontSize};
31
- }
32
-
33
- .reqBox {
34
- fill: ${e.requirementBackground};
35
- fill-opacity: 1.0;
36
- stroke: ${e.requirementBorderColor};
37
- stroke-width: ${e.requirementBorderSize};
38
- }
39
-
40
- .reqTitle, .reqLabel{
41
- fill: ${e.requirementTextColor};
42
- }
43
- .reqLabelBox {
44
- fill: ${e.relationLabelBackground};
45
- fill-opacity: 1.0;
46
- }
47
-
48
- .req-title-line {
49
- stroke: ${e.requirementBorderColor};
50
- stroke-width: ${e.requirementBorderSize};
51
- }
52
- .relationshipLine {
53
- stroke: ${e.relationColor};
54
- stroke-width: ${n===`neo`?e.strokeWidth:`1px`};
55
- }
56
- .relationshipLabel {
57
- fill: ${e.relationLabelColor};
58
- }
59
- .edgeLabel {
60
- background-color: ${e.edgeLabelBackground};
61
- }
62
- .edgeLabel .label rect {
63
- fill: ${e.edgeLabelBackground};
64
- }
65
- .edgeLabel .label text {
66
- fill: ${e.relationLabelColor};
67
- }
68
- .divider {
69
- stroke: ${e.nodeBorder};
70
- stroke-width: 1;
71
- }
72
- .label {
73
- font-family: ${e.fontFamily};
74
- color: ${e.nodeTextColor||e.textColor};
75
- }
76
- .label text,span {
77
- fill: ${e.nodeTextColor||e.textColor};
78
- color: ${e.nodeTextColor||e.textColor};
79
- }
80
- .labelBkg {
81
- background-color: ${i??e.edgeLabelBackground};
82
- }
83
-
84
- `},`getStyles`),f={};n.t(f,{draw:()=>p});var p=n.n(async function(n,s,c,l){e.m.info(`REF0:`),e.m.info(`Drawing requirement diagram (unified)`,s);let{securityLevel:u,state:d,layout:f,look:p}=t.x(),m=l.db.getData(),h=a.t(s,u);m.type=l.type,m.layoutAlgorithm=i.t(f),m.nodeSpacing=d?.nodeSpacing??50,m.rankSpacing=d?.rankSpacing??50,m.markers=p===`neo`?[`requirement_contains_neo`,`requirement_arrow_neo`]:[`requirement_contains`,`requirement_arrow`],m.diagramId=s,await i.r(m,h),r.g.insertTitle(h,`requirementDiagramTitleText`,d?.titleTopMargin??25,l.db.getDiagramTitle()),o.t(h,8,`requirementDiagram`,d?.useMaxWidth??!0)},`draw`),m={parser:c,get db(){return new l},renderer:f,styles:d};exports.diagram=m;