@sme.up/ketchup2 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/dist/arc-CqG9Hxdf.cjs +1 -0
  2. package/dist/arc-Klgb378K.js +80 -0
  3. package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
  4. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
  5. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
  6. package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
  7. package/dist/array-D8NZ46Ht.js +6 -0
  8. package/dist/array-Dxz0O8Q3.cjs +1 -0
  9. package/dist/assets/imageListAssets.d.ts +3 -1
  10. package/dist/assets/imageListAssets.d.ts.map +1 -1
  11. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  12. package/dist/basic-components/list/list-types.d.ts +0 -1
  13. package/dist/basic-components/list/list-types.d.ts.map +1 -1
  14. package/dist/basic-components/list/list.d.ts.map +1 -1
  15. package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
  16. package/dist/basic-components/select/select.d.ts.map +1 -1
  17. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  18. package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
  19. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
  20. package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
  21. package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
  22. package/dist/channel-BY9Lkyz7.cjs +1 -0
  23. package/dist/channel-BqNr2cYO.js +5 -0
  24. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
  25. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
  26. package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
  27. package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
  28. package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
  29. package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
  30. package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
  31. package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
  32. package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
  33. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
  34. package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
  35. package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
  36. package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
  37. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
  38. package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
  39. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
  40. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
  41. package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
  42. package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
  43. package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
  44. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
  45. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
  46. package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
  47. package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
  48. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
  49. package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
  50. package/dist/chunk-D-IZpNpi.cjs +1 -0
  51. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
  52. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
  53. package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
  54. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
  55. package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
  56. package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
  57. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
  58. package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
  59. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
  60. package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
  61. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
  62. package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
  63. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
  64. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
  65. package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
  66. package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
  67. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
  68. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
  69. package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
  70. package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
  71. package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
  72. package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
  73. package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
  74. package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
  75. package/dist/chunk-WQLz0Won.js +20 -0
  76. package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
  77. package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
  78. package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
  79. package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
  80. package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
  81. package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
  82. package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
  83. package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
  84. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
  85. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
  86. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
  87. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
  88. package/dist/clone-Dn__H8fX.js +8 -0
  89. package/dist/clone-lShkT11Q.cjs +1 -0
  90. package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
  91. package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
  92. package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
  93. package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
  94. package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
  95. package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
  96. package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
  97. package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
  98. package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
  99. package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
  100. package/dist/components/image-list/components/image-list-navigation-picker.d.ts +6 -2
  101. package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
  102. package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
  103. package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
  104. package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
  105. package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
  106. package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
  107. package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
  108. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  109. package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
  110. package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
  111. package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
  112. package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
  113. package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
  114. package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
  115. package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
  116. package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
  117. package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
  118. package/dist/components/image-list/image-list-context.d.ts +5 -2
  119. package/dist/components/image-list/image-list-context.d.ts.map +1 -1
  120. package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
  121. package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
  122. package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
  123. package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
  124. package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
  125. package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
  126. package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
  127. package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
  128. package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
  129. package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
  130. package/dist/components/image-list/image-list-state-context.d.ts +5 -0
  131. package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
  132. package/dist/components/image-list/image-list-types.d.ts +45 -2
  133. package/dist/components/image-list/image-list-types.d.ts.map +1 -1
  134. package/dist/components/image-list/image-list-utils.d.ts +24 -1
  135. package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
  136. package/dist/components/image-list/image-list.d.ts +1 -1
  137. package/dist/components/image-list/image-list.d.ts.map +1 -1
  138. package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
  139. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
  140. package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
  141. package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
  142. package/dist/dagre-BjnWDdkw.cjs +1 -0
  143. package/dist/dagre-DVLnxd7n.js +1606 -0
  144. package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
  145. package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
  146. package/dist/defaultLocale-Dcyuaxxg.js +201 -0
  147. package/dist/defaultLocale-DtzyZW63.cjs +1 -0
  148. package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
  149. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
  150. package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
  151. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
  152. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
  153. package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
  154. package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
  155. package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
  156. package/dist/dist-BgvMZbfo.cjs +1 -0
  157. package/dist/dist-DL30VIBI.js +60 -0
  158. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
  159. package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
  160. package/dist/flatten-BE1bWL-7.js +40 -0
  161. package/dist/flatten-DxvYSoR8.cjs +1 -0
  162. package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
  163. package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
  164. package/dist/functional-components/action/action-types.d.ts +6 -1
  165. package/dist/functional-components/action/action-types.d.ts.map +1 -1
  166. package/dist/functional-components/action/action.d.ts.map +1 -1
  167. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
  168. package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
  169. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
  170. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
  171. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
  172. package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
  173. package/dist/graphlib-Cpifseqb.js +373 -0
  174. package/dist/graphlib-HdfvGLpV.cjs +1 -0
  175. package/dist/hooks/useClickOutside.d.ts.map +1 -1
  176. package/dist/identity-KQSjemTb.cjs +1 -0
  177. package/dist/identity-g0dsMjx7.js +393 -0
  178. package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
  179. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
  180. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
  181. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
  182. package/dist/init-B2MubQrj.cjs +1 -0
  183. package/dist/init-BO60vQHJ.js +15 -0
  184. package/dist/isEmpty-CA3kJuev.cjs +1 -0
  185. package/dist/isEmpty-RwX-oIQS.js +35 -0
  186. package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
  187. package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
  188. package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
  189. package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
  190. package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
  191. package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
  192. package/dist/katex-Du5WiYIy.js +22000 -0
  193. package/dist/katex-SAH56fvc.cjs +257 -0
  194. package/dist/ketchup2.cjs.js +190 -1
  195. package/dist/ketchup2.css +2 -1
  196. package/dist/ketchup2.es.js +132419 -52
  197. package/dist/line-BbHmiwbs.cjs +1 -0
  198. package/dist/line-JyRBGWft.js +34 -0
  199. package/dist/linear-BsPvNLJv.js +289 -0
  200. package/dist/linear-CxHa1DsM.cjs +1 -0
  201. package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
  202. package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
  203. package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
  204. package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
  205. package/dist/ordinal-C-VoL0XF.js +65 -0
  206. package/dist/ordinal-Civr0hZL.cjs +1 -0
  207. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
  208. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
  209. package/dist/path-Civic7PQ.cjs +1 -0
  210. package/dist/path-CvfwEr8y.js +85 -0
  211. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
  212. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
  213. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
  214. package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
  215. package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
  216. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
  217. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
  218. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
  219. package/dist/reduce-B7WW9rkU.cjs +1 -0
  220. package/dist/reduce-DNnkcf3M.js +532 -0
  221. package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
  222. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
  223. package/dist/rough.esm-1mqTSjCt.js +1352 -0
  224. package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
  225. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
  226. package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
  227. package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
  228. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
  229. package/dist/src-BQiFKP24.js +2146 -0
  230. package/dist/src-DFxq-N5I.cjs +1 -0
  231. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
  232. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
  233. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
  234. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
  235. package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
  236. package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
  237. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
  238. package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
  239. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
  240. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
  241. package/dist/utils/translation.d.ts.map +1 -1
  242. package/dist/v4-6yr83DbP.cjs +1 -0
  243. package/dist/v4-BR71w5_q.js +33 -0
  244. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
  245. package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
  246. package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
  247. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
  248. package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
  249. package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
  250. package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
  251. package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
  252. package/package.json +31 -31
  253. package/dist/_basePickBy-CPekwY_Z.js +0 -151
  254. package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
  255. package/dist/_baseUniq-CAhfZr5S.js +0 -614
  256. package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
  257. package/dist/arc-CnmUepZA.cjs +0 -1
  258. package/dist/arc-Md6Ds0JZ.js +0 -83
  259. package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
  260. package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
  261. package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
  262. package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
  263. package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
  264. package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
  265. package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
  266. package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
  267. package/dist/channel-BGeX_R6w.cjs +0 -1
  268. package/dist/channel-lqmaHMPZ.js +0 -5
  269. package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
  270. package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
  271. package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
  272. package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
  273. package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
  274. package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
  275. package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
  276. package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
  277. package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
  278. package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
  279. package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
  280. package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
  281. package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
  282. package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
  283. package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
  284. package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
  285. package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
  286. package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
  287. package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
  288. package/dist/clone-B_MxWhab.js +0 -8
  289. package/dist/clone-D6gFD6F-.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
  291. package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
  292. package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
  293. package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
  294. package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
  295. package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
  296. package/dist/defaultLocale-D7EN2tov.js +0 -171
  297. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  298. package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
  299. package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
  300. package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
  301. package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
  302. package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
  303. package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
  304. package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
  305. package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
  306. package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
  307. package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
  308. package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
  309. package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
  310. package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
  311. package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
  312. package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
  313. package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
  314. package/dist/graph-BBPk5jyk.cjs +0 -1
  315. package/dist/graph-h6vsxKyr.js +0 -247
  316. package/dist/index-CYQM-t1d.cjs +0 -390
  317. package/dist/index-FiV1b00w.js +0 -133122
  318. package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
  319. package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
  320. package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
  321. package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
  322. package/dist/init-CHZsXQcr.cjs +0 -1
  323. package/dist/init-DjUOC4st.js +0 -16
  324. package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
  325. package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
  326. package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
  327. package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
  328. package/dist/katex-C2g-EhzP.cjs +0 -261
  329. package/dist/katex-CUSbq6rG.js +0 -11692
  330. package/dist/layout-6z7-eUnZ.js +0 -1335
  331. package/dist/layout-DbcrMh5B.cjs +0 -1
  332. package/dist/linear-BKevCbhh.js +0 -259
  333. package/dist/linear-C7uVEtWW.cjs +0 -1
  334. package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
  335. package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
  336. package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
  337. package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
  338. package/dist/ordinal-B6-f3MAq.js +0 -61
  339. package/dist/ordinal-CagbB1m8.cjs +0 -1
  340. package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
  341. package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
  342. package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
  343. package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
  344. package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
  345. package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
  346. package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
  347. package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
  348. package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
  349. package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
  350. package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
  351. package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
  352. package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
  353. package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
  354. package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
  355. package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
  356. package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
  357. package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
  358. package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
  359. package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
  360. package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
  361. package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
  362. package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
  363. package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
  364. package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
  365. package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
@@ -0,0 +1,2961 @@
1
+ import { B as e, L as t, V as n, _ as r, b as i, c as a, r as o, s, v as l } from "./chunk-ICPOFSXX-Sn6LWD0k.js";
2
+ import { g as u, h as d, p as f } from "./src-BQiFKP24.js";
3
+ import { t as p } from "./dist-DL30VIBI.js";
4
+ import { g as m, n as h, t as g } from "./chunk-5PVQY5BW-C5U7sJAA.js";
5
+ import { a as _, s as v } from "./chunk-YZCP3GAM-9K9WNdyN.js";
6
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.mjs
7
+ var y = p(), b = (function() {
8
+ var e = /* @__PURE__ */ d(function(e, t, n, r) {
9
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
10
+ return n;
11
+ }, "o"), t = [1, 24], n = [1, 25], r = [1, 26], i = [1, 27], a = [1, 28], o = [1, 63], s = [1, 64], l = [1, 65], u = [1, 66], f = [1, 67], p = [1, 68], m = [1, 69], h = [1, 29], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 33], b = [1, 34], x = [1, 35], S = [1, 36], C = [1, 37], w = [1, 38], T = [1, 39], E = [1, 40], D = [1, 41], O = [1, 42], k = [1, 43], A = [1, 44], j = [1, 45], M = [1, 46], N = [1, 47], P = [1, 48], F = [1, 50], I = [1, 51], L = [1, 52], R = [1, 53], ee = [1, 54], te = [1, 55], ne = [1, 56], z = [1, 57], B = [1, 58], V = [1, 59], H = [1, 60], re = [14, 42], ie = [
12
+ 14,
13
+ 34,
14
+ 36,
15
+ 37,
16
+ 38,
17
+ 39,
18
+ 40,
19
+ 41,
20
+ 42,
21
+ 44,
22
+ 45,
23
+ 46,
24
+ 47,
25
+ 48,
26
+ 49,
27
+ 50,
28
+ 51,
29
+ 52,
30
+ 53,
31
+ 54,
32
+ 55,
33
+ 56,
34
+ 57,
35
+ 58,
36
+ 59,
37
+ 60,
38
+ 61,
39
+ 62,
40
+ 63,
41
+ 64,
42
+ 65,
43
+ 66,
44
+ 67,
45
+ 68,
46
+ 69,
47
+ 70,
48
+ 71,
49
+ 72,
50
+ 73,
51
+ 74
52
+ ], ae = [
53
+ 12,
54
+ 14,
55
+ 34,
56
+ 36,
57
+ 37,
58
+ 38,
59
+ 39,
60
+ 40,
61
+ 41,
62
+ 42,
63
+ 44,
64
+ 45,
65
+ 46,
66
+ 47,
67
+ 48,
68
+ 49,
69
+ 50,
70
+ 51,
71
+ 52,
72
+ 53,
73
+ 54,
74
+ 55,
75
+ 56,
76
+ 57,
77
+ 58,
78
+ 59,
79
+ 60,
80
+ 61,
81
+ 62,
82
+ 63,
83
+ 64,
84
+ 65,
85
+ 66,
86
+ 67,
87
+ 68,
88
+ 69,
89
+ 70,
90
+ 71,
91
+ 72,
92
+ 73,
93
+ 74
94
+ ], U = [1, 82], W = [1, 83], G = [1, 84], K = [1, 85], q = [
95
+ 12,
96
+ 14,
97
+ 42
98
+ ], oe = [
99
+ 12,
100
+ 14,
101
+ 33,
102
+ 42
103
+ ], se = [
104
+ 12,
105
+ 14,
106
+ 33,
107
+ 42,
108
+ 76,
109
+ 77,
110
+ 79,
111
+ 80
112
+ ], ce = [12, 33], le = [
113
+ 34,
114
+ 36,
115
+ 37,
116
+ 38,
117
+ 39,
118
+ 40,
119
+ 41,
120
+ 44,
121
+ 45,
122
+ 46,
123
+ 47,
124
+ 48,
125
+ 49,
126
+ 50,
127
+ 51,
128
+ 52,
129
+ 53,
130
+ 54,
131
+ 55,
132
+ 56,
133
+ 57,
134
+ 58,
135
+ 59,
136
+ 60,
137
+ 61,
138
+ 62,
139
+ 63,
140
+ 64,
141
+ 65,
142
+ 66,
143
+ 67,
144
+ 68,
145
+ 69,
146
+ 70,
147
+ 71,
148
+ 72,
149
+ 73,
150
+ 74
151
+ ], J = {
152
+ trace: /* @__PURE__ */ d(function() {}, "trace"),
153
+ yy: {},
154
+ symbols_: {
155
+ error: 2,
156
+ start: 3,
157
+ mermaidDoc: 4,
158
+ direction: 5,
159
+ direction_tb: 6,
160
+ direction_bt: 7,
161
+ direction_rl: 8,
162
+ direction_lr: 9,
163
+ graphConfig: 10,
164
+ C4_CONTEXT: 11,
165
+ NEWLINE: 12,
166
+ statements: 13,
167
+ EOF: 14,
168
+ C4_CONTAINER: 15,
169
+ C4_COMPONENT: 16,
170
+ C4_DYNAMIC: 17,
171
+ C4_DEPLOYMENT: 18,
172
+ otherStatements: 19,
173
+ diagramStatements: 20,
174
+ otherStatement: 21,
175
+ title: 22,
176
+ accDescription: 23,
177
+ acc_title: 24,
178
+ acc_title_value: 25,
179
+ acc_descr: 26,
180
+ acc_descr_value: 27,
181
+ acc_descr_multiline_value: 28,
182
+ boundaryStatement: 29,
183
+ boundaryStartStatement: 30,
184
+ boundaryStopStatement: 31,
185
+ boundaryStart: 32,
186
+ LBRACE: 33,
187
+ ENTERPRISE_BOUNDARY: 34,
188
+ attributes: 35,
189
+ SYSTEM_BOUNDARY: 36,
190
+ BOUNDARY: 37,
191
+ CONTAINER_BOUNDARY: 38,
192
+ NODE: 39,
193
+ NODE_L: 40,
194
+ NODE_R: 41,
195
+ RBRACE: 42,
196
+ diagramStatement: 43,
197
+ PERSON: 44,
198
+ PERSON_EXT: 45,
199
+ SYSTEM: 46,
200
+ SYSTEM_DB: 47,
201
+ SYSTEM_QUEUE: 48,
202
+ SYSTEM_EXT: 49,
203
+ SYSTEM_EXT_DB: 50,
204
+ SYSTEM_EXT_QUEUE: 51,
205
+ CONTAINER: 52,
206
+ CONTAINER_DB: 53,
207
+ CONTAINER_QUEUE: 54,
208
+ CONTAINER_EXT: 55,
209
+ CONTAINER_EXT_DB: 56,
210
+ CONTAINER_EXT_QUEUE: 57,
211
+ COMPONENT: 58,
212
+ COMPONENT_DB: 59,
213
+ COMPONENT_QUEUE: 60,
214
+ COMPONENT_EXT: 61,
215
+ COMPONENT_EXT_DB: 62,
216
+ COMPONENT_EXT_QUEUE: 63,
217
+ REL: 64,
218
+ BIREL: 65,
219
+ REL_U: 66,
220
+ REL_D: 67,
221
+ REL_L: 68,
222
+ REL_R: 69,
223
+ REL_B: 70,
224
+ REL_INDEX: 71,
225
+ UPDATE_EL_STYLE: 72,
226
+ UPDATE_REL_STYLE: 73,
227
+ UPDATE_LAYOUT_CONFIG: 74,
228
+ attribute: 75,
229
+ STR: 76,
230
+ STR_KEY: 77,
231
+ STR_VALUE: 78,
232
+ ATTRIBUTE: 79,
233
+ ATTRIBUTE_EMPTY: 80,
234
+ $accept: 0,
235
+ $end: 1
236
+ },
237
+ terminals_: {
238
+ 2: "error",
239
+ 6: "direction_tb",
240
+ 7: "direction_bt",
241
+ 8: "direction_rl",
242
+ 9: "direction_lr",
243
+ 11: "C4_CONTEXT",
244
+ 12: "NEWLINE",
245
+ 14: "EOF",
246
+ 15: "C4_CONTAINER",
247
+ 16: "C4_COMPONENT",
248
+ 17: "C4_DYNAMIC",
249
+ 18: "C4_DEPLOYMENT",
250
+ 22: "title",
251
+ 23: "accDescription",
252
+ 24: "acc_title",
253
+ 25: "acc_title_value",
254
+ 26: "acc_descr",
255
+ 27: "acc_descr_value",
256
+ 28: "acc_descr_multiline_value",
257
+ 33: "LBRACE",
258
+ 34: "ENTERPRISE_BOUNDARY",
259
+ 36: "SYSTEM_BOUNDARY",
260
+ 37: "BOUNDARY",
261
+ 38: "CONTAINER_BOUNDARY",
262
+ 39: "NODE",
263
+ 40: "NODE_L",
264
+ 41: "NODE_R",
265
+ 42: "RBRACE",
266
+ 44: "PERSON",
267
+ 45: "PERSON_EXT",
268
+ 46: "SYSTEM",
269
+ 47: "SYSTEM_DB",
270
+ 48: "SYSTEM_QUEUE",
271
+ 49: "SYSTEM_EXT",
272
+ 50: "SYSTEM_EXT_DB",
273
+ 51: "SYSTEM_EXT_QUEUE",
274
+ 52: "CONTAINER",
275
+ 53: "CONTAINER_DB",
276
+ 54: "CONTAINER_QUEUE",
277
+ 55: "CONTAINER_EXT",
278
+ 56: "CONTAINER_EXT_DB",
279
+ 57: "CONTAINER_EXT_QUEUE",
280
+ 58: "COMPONENT",
281
+ 59: "COMPONENT_DB",
282
+ 60: "COMPONENT_QUEUE",
283
+ 61: "COMPONENT_EXT",
284
+ 62: "COMPONENT_EXT_DB",
285
+ 63: "COMPONENT_EXT_QUEUE",
286
+ 64: "REL",
287
+ 65: "BIREL",
288
+ 66: "REL_U",
289
+ 67: "REL_D",
290
+ 68: "REL_L",
291
+ 69: "REL_R",
292
+ 70: "REL_B",
293
+ 71: "REL_INDEX",
294
+ 72: "UPDATE_EL_STYLE",
295
+ 73: "UPDATE_REL_STYLE",
296
+ 74: "UPDATE_LAYOUT_CONFIG",
297
+ 76: "STR",
298
+ 77: "STR_KEY",
299
+ 78: "STR_VALUE",
300
+ 79: "ATTRIBUTE",
301
+ 80: "ATTRIBUTE_EMPTY"
302
+ },
303
+ productions_: [
304
+ 0,
305
+ [3, 1],
306
+ [3, 1],
307
+ [5, 1],
308
+ [5, 1],
309
+ [5, 1],
310
+ [5, 1],
311
+ [4, 1],
312
+ [10, 4],
313
+ [10, 4],
314
+ [10, 4],
315
+ [10, 4],
316
+ [10, 4],
317
+ [13, 1],
318
+ [13, 1],
319
+ [13, 2],
320
+ [19, 1],
321
+ [19, 2],
322
+ [19, 3],
323
+ [21, 1],
324
+ [21, 1],
325
+ [21, 2],
326
+ [21, 2],
327
+ [21, 1],
328
+ [29, 3],
329
+ [30, 3],
330
+ [30, 3],
331
+ [30, 4],
332
+ [32, 2],
333
+ [32, 2],
334
+ [32, 2],
335
+ [32, 2],
336
+ [32, 2],
337
+ [32, 2],
338
+ [32, 2],
339
+ [31, 1],
340
+ [20, 1],
341
+ [20, 2],
342
+ [20, 3],
343
+ [43, 2],
344
+ [43, 2],
345
+ [43, 2],
346
+ [43, 2],
347
+ [43, 2],
348
+ [43, 2],
349
+ [43, 2],
350
+ [43, 2],
351
+ [43, 2],
352
+ [43, 2],
353
+ [43, 2],
354
+ [43, 2],
355
+ [43, 2],
356
+ [43, 2],
357
+ [43, 2],
358
+ [43, 2],
359
+ [43, 2],
360
+ [43, 2],
361
+ [43, 2],
362
+ [43, 2],
363
+ [43, 1],
364
+ [43, 2],
365
+ [43, 2],
366
+ [43, 2],
367
+ [43, 2],
368
+ [43, 2],
369
+ [43, 2],
370
+ [43, 2],
371
+ [43, 2],
372
+ [43, 2],
373
+ [43, 2],
374
+ [43, 2],
375
+ [35, 1],
376
+ [35, 2],
377
+ [75, 1],
378
+ [75, 2],
379
+ [75, 1],
380
+ [75, 1]
381
+ ],
382
+ performAction: /* @__PURE__ */ d(function(e, t, n, r, i, a, o) {
383
+ var s = a.length - 1;
384
+ switch (i) {
385
+ case 3:
386
+ r.setDirection("TB");
387
+ break;
388
+ case 4:
389
+ r.setDirection("BT");
390
+ break;
391
+ case 5:
392
+ r.setDirection("RL");
393
+ break;
394
+ case 6:
395
+ r.setDirection("LR");
396
+ break;
397
+ case 8:
398
+ case 9:
399
+ case 10:
400
+ case 11:
401
+ case 12:
402
+ r.setC4Type(a[s - 3]);
403
+ break;
404
+ case 19:
405
+ r.setTitle(a[s].substring(6)), this.$ = a[s].substring(6);
406
+ break;
407
+ case 20:
408
+ r.setAccDescription(a[s].substring(15)), this.$ = a[s].substring(15);
409
+ break;
410
+ case 21:
411
+ this.$ = a[s].trim(), r.setTitle(this.$);
412
+ break;
413
+ case 22:
414
+ case 23:
415
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
416
+ break;
417
+ case 28:
418
+ a[s].splice(2, 0, "ENTERPRISE"), r.addPersonOrSystemBoundary(...a[s]), this.$ = a[s];
419
+ break;
420
+ case 29:
421
+ a[s].splice(2, 0, "SYSTEM"), r.addPersonOrSystemBoundary(...a[s]), this.$ = a[s];
422
+ break;
423
+ case 30:
424
+ r.addPersonOrSystemBoundary(...a[s]), this.$ = a[s];
425
+ break;
426
+ case 31:
427
+ a[s].splice(2, 0, "CONTAINER"), r.addContainerBoundary(...a[s]), this.$ = a[s];
428
+ break;
429
+ case 32:
430
+ r.addDeploymentNode("node", ...a[s]), this.$ = a[s];
431
+ break;
432
+ case 33:
433
+ r.addDeploymentNode("nodeL", ...a[s]), this.$ = a[s];
434
+ break;
435
+ case 34:
436
+ r.addDeploymentNode("nodeR", ...a[s]), this.$ = a[s];
437
+ break;
438
+ case 35:
439
+ r.popBoundaryParseStack();
440
+ break;
441
+ case 39:
442
+ r.addPersonOrSystem("person", ...a[s]), this.$ = a[s];
443
+ break;
444
+ case 40:
445
+ r.addPersonOrSystem("external_person", ...a[s]), this.$ = a[s];
446
+ break;
447
+ case 41:
448
+ r.addPersonOrSystem("system", ...a[s]), this.$ = a[s];
449
+ break;
450
+ case 42:
451
+ r.addPersonOrSystem("system_db", ...a[s]), this.$ = a[s];
452
+ break;
453
+ case 43:
454
+ r.addPersonOrSystem("system_queue", ...a[s]), this.$ = a[s];
455
+ break;
456
+ case 44:
457
+ r.addPersonOrSystem("external_system", ...a[s]), this.$ = a[s];
458
+ break;
459
+ case 45:
460
+ r.addPersonOrSystem("external_system_db", ...a[s]), this.$ = a[s];
461
+ break;
462
+ case 46:
463
+ r.addPersonOrSystem("external_system_queue", ...a[s]), this.$ = a[s];
464
+ break;
465
+ case 47:
466
+ r.addContainer("container", ...a[s]), this.$ = a[s];
467
+ break;
468
+ case 48:
469
+ r.addContainer("container_db", ...a[s]), this.$ = a[s];
470
+ break;
471
+ case 49:
472
+ r.addContainer("container_queue", ...a[s]), this.$ = a[s];
473
+ break;
474
+ case 50:
475
+ r.addContainer("external_container", ...a[s]), this.$ = a[s];
476
+ break;
477
+ case 51:
478
+ r.addContainer("external_container_db", ...a[s]), this.$ = a[s];
479
+ break;
480
+ case 52:
481
+ r.addContainer("external_container_queue", ...a[s]), this.$ = a[s];
482
+ break;
483
+ case 53:
484
+ r.addComponent("component", ...a[s]), this.$ = a[s];
485
+ break;
486
+ case 54:
487
+ r.addComponent("component_db", ...a[s]), this.$ = a[s];
488
+ break;
489
+ case 55:
490
+ r.addComponent("component_queue", ...a[s]), this.$ = a[s];
491
+ break;
492
+ case 56:
493
+ r.addComponent("external_component", ...a[s]), this.$ = a[s];
494
+ break;
495
+ case 57:
496
+ r.addComponent("external_component_db", ...a[s]), this.$ = a[s];
497
+ break;
498
+ case 58:
499
+ r.addComponent("external_component_queue", ...a[s]), this.$ = a[s];
500
+ break;
501
+ case 60:
502
+ r.addRel("rel", ...a[s]), this.$ = a[s];
503
+ break;
504
+ case 61:
505
+ r.addRel("birel", ...a[s]), this.$ = a[s];
506
+ break;
507
+ case 62:
508
+ r.addRel("rel_u", ...a[s]), this.$ = a[s];
509
+ break;
510
+ case 63:
511
+ r.addRel("rel_d", ...a[s]), this.$ = a[s];
512
+ break;
513
+ case 64:
514
+ r.addRel("rel_l", ...a[s]), this.$ = a[s];
515
+ break;
516
+ case 65:
517
+ r.addRel("rel_r", ...a[s]), this.$ = a[s];
518
+ break;
519
+ case 66:
520
+ r.addRel("rel_b", ...a[s]), this.$ = a[s];
521
+ break;
522
+ case 67:
523
+ a[s].splice(0, 1), r.addRel("rel", ...a[s]), this.$ = a[s];
524
+ break;
525
+ case 68:
526
+ r.updateElStyle("update_el_style", ...a[s]), this.$ = a[s];
527
+ break;
528
+ case 69:
529
+ r.updateRelStyle("update_rel_style", ...a[s]), this.$ = a[s];
530
+ break;
531
+ case 70:
532
+ r.updateLayoutConfig("update_layout_config", ...a[s]), this.$ = a[s];
533
+ break;
534
+ case 71:
535
+ this.$ = [a[s]];
536
+ break;
537
+ case 72:
538
+ a[s].unshift(a[s - 1]), this.$ = a[s];
539
+ break;
540
+ case 73:
541
+ case 75:
542
+ this.$ = a[s].trim();
543
+ break;
544
+ case 74:
545
+ let e = {};
546
+ e[a[s - 1].trim()] = a[s].trim(), this.$ = e;
547
+ break;
548
+ case 76:
549
+ this.$ = "";
550
+ break;
551
+ }
552
+ }, "anonymous"),
553
+ table: [
554
+ {
555
+ 3: 1,
556
+ 4: 2,
557
+ 5: 3,
558
+ 6: [1, 5],
559
+ 7: [1, 6],
560
+ 8: [1, 7],
561
+ 9: [1, 8],
562
+ 10: 4,
563
+ 11: [1, 9],
564
+ 15: [1, 10],
565
+ 16: [1, 11],
566
+ 17: [1, 12],
567
+ 18: [1, 13]
568
+ },
569
+ { 1: [3] },
570
+ { 1: [2, 1] },
571
+ { 1: [2, 2] },
572
+ { 1: [2, 7] },
573
+ { 1: [2, 3] },
574
+ { 1: [2, 4] },
575
+ { 1: [2, 5] },
576
+ { 1: [2, 6] },
577
+ { 12: [1, 14] },
578
+ { 12: [1, 15] },
579
+ { 12: [1, 16] },
580
+ { 12: [1, 17] },
581
+ { 12: [1, 18] },
582
+ {
583
+ 13: 19,
584
+ 19: 20,
585
+ 20: 21,
586
+ 21: 22,
587
+ 22: t,
588
+ 23: n,
589
+ 24: r,
590
+ 26: i,
591
+ 28: a,
592
+ 29: 49,
593
+ 30: 61,
594
+ 32: 62,
595
+ 34: o,
596
+ 36: s,
597
+ 37: l,
598
+ 38: u,
599
+ 39: f,
600
+ 40: p,
601
+ 41: m,
602
+ 43: 23,
603
+ 44: h,
604
+ 45: g,
605
+ 46: _,
606
+ 47: v,
607
+ 48: y,
608
+ 49: b,
609
+ 50: x,
610
+ 51: S,
611
+ 52: C,
612
+ 53: w,
613
+ 54: T,
614
+ 55: E,
615
+ 56: D,
616
+ 57: O,
617
+ 58: k,
618
+ 59: A,
619
+ 60: j,
620
+ 61: M,
621
+ 62: N,
622
+ 63: P,
623
+ 64: F,
624
+ 65: I,
625
+ 66: L,
626
+ 67: R,
627
+ 68: ee,
628
+ 69: te,
629
+ 70: ne,
630
+ 71: z,
631
+ 72: B,
632
+ 73: V,
633
+ 74: H
634
+ },
635
+ {
636
+ 13: 70,
637
+ 19: 20,
638
+ 20: 21,
639
+ 21: 22,
640
+ 22: t,
641
+ 23: n,
642
+ 24: r,
643
+ 26: i,
644
+ 28: a,
645
+ 29: 49,
646
+ 30: 61,
647
+ 32: 62,
648
+ 34: o,
649
+ 36: s,
650
+ 37: l,
651
+ 38: u,
652
+ 39: f,
653
+ 40: p,
654
+ 41: m,
655
+ 43: 23,
656
+ 44: h,
657
+ 45: g,
658
+ 46: _,
659
+ 47: v,
660
+ 48: y,
661
+ 49: b,
662
+ 50: x,
663
+ 51: S,
664
+ 52: C,
665
+ 53: w,
666
+ 54: T,
667
+ 55: E,
668
+ 56: D,
669
+ 57: O,
670
+ 58: k,
671
+ 59: A,
672
+ 60: j,
673
+ 61: M,
674
+ 62: N,
675
+ 63: P,
676
+ 64: F,
677
+ 65: I,
678
+ 66: L,
679
+ 67: R,
680
+ 68: ee,
681
+ 69: te,
682
+ 70: ne,
683
+ 71: z,
684
+ 72: B,
685
+ 73: V,
686
+ 74: H
687
+ },
688
+ {
689
+ 13: 71,
690
+ 19: 20,
691
+ 20: 21,
692
+ 21: 22,
693
+ 22: t,
694
+ 23: n,
695
+ 24: r,
696
+ 26: i,
697
+ 28: a,
698
+ 29: 49,
699
+ 30: 61,
700
+ 32: 62,
701
+ 34: o,
702
+ 36: s,
703
+ 37: l,
704
+ 38: u,
705
+ 39: f,
706
+ 40: p,
707
+ 41: m,
708
+ 43: 23,
709
+ 44: h,
710
+ 45: g,
711
+ 46: _,
712
+ 47: v,
713
+ 48: y,
714
+ 49: b,
715
+ 50: x,
716
+ 51: S,
717
+ 52: C,
718
+ 53: w,
719
+ 54: T,
720
+ 55: E,
721
+ 56: D,
722
+ 57: O,
723
+ 58: k,
724
+ 59: A,
725
+ 60: j,
726
+ 61: M,
727
+ 62: N,
728
+ 63: P,
729
+ 64: F,
730
+ 65: I,
731
+ 66: L,
732
+ 67: R,
733
+ 68: ee,
734
+ 69: te,
735
+ 70: ne,
736
+ 71: z,
737
+ 72: B,
738
+ 73: V,
739
+ 74: H
740
+ },
741
+ {
742
+ 13: 72,
743
+ 19: 20,
744
+ 20: 21,
745
+ 21: 22,
746
+ 22: t,
747
+ 23: n,
748
+ 24: r,
749
+ 26: i,
750
+ 28: a,
751
+ 29: 49,
752
+ 30: 61,
753
+ 32: 62,
754
+ 34: o,
755
+ 36: s,
756
+ 37: l,
757
+ 38: u,
758
+ 39: f,
759
+ 40: p,
760
+ 41: m,
761
+ 43: 23,
762
+ 44: h,
763
+ 45: g,
764
+ 46: _,
765
+ 47: v,
766
+ 48: y,
767
+ 49: b,
768
+ 50: x,
769
+ 51: S,
770
+ 52: C,
771
+ 53: w,
772
+ 54: T,
773
+ 55: E,
774
+ 56: D,
775
+ 57: O,
776
+ 58: k,
777
+ 59: A,
778
+ 60: j,
779
+ 61: M,
780
+ 62: N,
781
+ 63: P,
782
+ 64: F,
783
+ 65: I,
784
+ 66: L,
785
+ 67: R,
786
+ 68: ee,
787
+ 69: te,
788
+ 70: ne,
789
+ 71: z,
790
+ 72: B,
791
+ 73: V,
792
+ 74: H
793
+ },
794
+ {
795
+ 13: 73,
796
+ 19: 20,
797
+ 20: 21,
798
+ 21: 22,
799
+ 22: t,
800
+ 23: n,
801
+ 24: r,
802
+ 26: i,
803
+ 28: a,
804
+ 29: 49,
805
+ 30: 61,
806
+ 32: 62,
807
+ 34: o,
808
+ 36: s,
809
+ 37: l,
810
+ 38: u,
811
+ 39: f,
812
+ 40: p,
813
+ 41: m,
814
+ 43: 23,
815
+ 44: h,
816
+ 45: g,
817
+ 46: _,
818
+ 47: v,
819
+ 48: y,
820
+ 49: b,
821
+ 50: x,
822
+ 51: S,
823
+ 52: C,
824
+ 53: w,
825
+ 54: T,
826
+ 55: E,
827
+ 56: D,
828
+ 57: O,
829
+ 58: k,
830
+ 59: A,
831
+ 60: j,
832
+ 61: M,
833
+ 62: N,
834
+ 63: P,
835
+ 64: F,
836
+ 65: I,
837
+ 66: L,
838
+ 67: R,
839
+ 68: ee,
840
+ 69: te,
841
+ 70: ne,
842
+ 71: z,
843
+ 72: B,
844
+ 73: V,
845
+ 74: H
846
+ },
847
+ { 14: [1, 74] },
848
+ e(re, [2, 13], {
849
+ 43: 23,
850
+ 29: 49,
851
+ 30: 61,
852
+ 32: 62,
853
+ 20: 75,
854
+ 34: o,
855
+ 36: s,
856
+ 37: l,
857
+ 38: u,
858
+ 39: f,
859
+ 40: p,
860
+ 41: m,
861
+ 44: h,
862
+ 45: g,
863
+ 46: _,
864
+ 47: v,
865
+ 48: y,
866
+ 49: b,
867
+ 50: x,
868
+ 51: S,
869
+ 52: C,
870
+ 53: w,
871
+ 54: T,
872
+ 55: E,
873
+ 56: D,
874
+ 57: O,
875
+ 58: k,
876
+ 59: A,
877
+ 60: j,
878
+ 61: M,
879
+ 62: N,
880
+ 63: P,
881
+ 64: F,
882
+ 65: I,
883
+ 66: L,
884
+ 67: R,
885
+ 68: ee,
886
+ 69: te,
887
+ 70: ne,
888
+ 71: z,
889
+ 72: B,
890
+ 73: V,
891
+ 74: H
892
+ }),
893
+ e(re, [2, 14]),
894
+ e(ie, [2, 16], { 12: [1, 76] }),
895
+ e(re, [2, 36], { 12: [1, 77] }),
896
+ e(ae, [2, 19]),
897
+ e(ae, [2, 20]),
898
+ { 25: [1, 78] },
899
+ { 27: [1, 79] },
900
+ e(ae, [2, 23]),
901
+ {
902
+ 35: 80,
903
+ 75: 81,
904
+ 76: U,
905
+ 77: W,
906
+ 79: G,
907
+ 80: K
908
+ },
909
+ {
910
+ 35: 86,
911
+ 75: 81,
912
+ 76: U,
913
+ 77: W,
914
+ 79: G,
915
+ 80: K
916
+ },
917
+ {
918
+ 35: 87,
919
+ 75: 81,
920
+ 76: U,
921
+ 77: W,
922
+ 79: G,
923
+ 80: K
924
+ },
925
+ {
926
+ 35: 88,
927
+ 75: 81,
928
+ 76: U,
929
+ 77: W,
930
+ 79: G,
931
+ 80: K
932
+ },
933
+ {
934
+ 35: 89,
935
+ 75: 81,
936
+ 76: U,
937
+ 77: W,
938
+ 79: G,
939
+ 80: K
940
+ },
941
+ {
942
+ 35: 90,
943
+ 75: 81,
944
+ 76: U,
945
+ 77: W,
946
+ 79: G,
947
+ 80: K
948
+ },
949
+ {
950
+ 35: 91,
951
+ 75: 81,
952
+ 76: U,
953
+ 77: W,
954
+ 79: G,
955
+ 80: K
956
+ },
957
+ {
958
+ 35: 92,
959
+ 75: 81,
960
+ 76: U,
961
+ 77: W,
962
+ 79: G,
963
+ 80: K
964
+ },
965
+ {
966
+ 35: 93,
967
+ 75: 81,
968
+ 76: U,
969
+ 77: W,
970
+ 79: G,
971
+ 80: K
972
+ },
973
+ {
974
+ 35: 94,
975
+ 75: 81,
976
+ 76: U,
977
+ 77: W,
978
+ 79: G,
979
+ 80: K
980
+ },
981
+ {
982
+ 35: 95,
983
+ 75: 81,
984
+ 76: U,
985
+ 77: W,
986
+ 79: G,
987
+ 80: K
988
+ },
989
+ {
990
+ 35: 96,
991
+ 75: 81,
992
+ 76: U,
993
+ 77: W,
994
+ 79: G,
995
+ 80: K
996
+ },
997
+ {
998
+ 35: 97,
999
+ 75: 81,
1000
+ 76: U,
1001
+ 77: W,
1002
+ 79: G,
1003
+ 80: K
1004
+ },
1005
+ {
1006
+ 35: 98,
1007
+ 75: 81,
1008
+ 76: U,
1009
+ 77: W,
1010
+ 79: G,
1011
+ 80: K
1012
+ },
1013
+ {
1014
+ 35: 99,
1015
+ 75: 81,
1016
+ 76: U,
1017
+ 77: W,
1018
+ 79: G,
1019
+ 80: K
1020
+ },
1021
+ {
1022
+ 35: 100,
1023
+ 75: 81,
1024
+ 76: U,
1025
+ 77: W,
1026
+ 79: G,
1027
+ 80: K
1028
+ },
1029
+ {
1030
+ 35: 101,
1031
+ 75: 81,
1032
+ 76: U,
1033
+ 77: W,
1034
+ 79: G,
1035
+ 80: K
1036
+ },
1037
+ {
1038
+ 35: 102,
1039
+ 75: 81,
1040
+ 76: U,
1041
+ 77: W,
1042
+ 79: G,
1043
+ 80: K
1044
+ },
1045
+ {
1046
+ 35: 103,
1047
+ 75: 81,
1048
+ 76: U,
1049
+ 77: W,
1050
+ 79: G,
1051
+ 80: K
1052
+ },
1053
+ {
1054
+ 35: 104,
1055
+ 75: 81,
1056
+ 76: U,
1057
+ 77: W,
1058
+ 79: G,
1059
+ 80: K
1060
+ },
1061
+ e(q, [2, 59]),
1062
+ {
1063
+ 35: 105,
1064
+ 75: 81,
1065
+ 76: U,
1066
+ 77: W,
1067
+ 79: G,
1068
+ 80: K
1069
+ },
1070
+ {
1071
+ 35: 106,
1072
+ 75: 81,
1073
+ 76: U,
1074
+ 77: W,
1075
+ 79: G,
1076
+ 80: K
1077
+ },
1078
+ {
1079
+ 35: 107,
1080
+ 75: 81,
1081
+ 76: U,
1082
+ 77: W,
1083
+ 79: G,
1084
+ 80: K
1085
+ },
1086
+ {
1087
+ 35: 108,
1088
+ 75: 81,
1089
+ 76: U,
1090
+ 77: W,
1091
+ 79: G,
1092
+ 80: K
1093
+ },
1094
+ {
1095
+ 35: 109,
1096
+ 75: 81,
1097
+ 76: U,
1098
+ 77: W,
1099
+ 79: G,
1100
+ 80: K
1101
+ },
1102
+ {
1103
+ 35: 110,
1104
+ 75: 81,
1105
+ 76: U,
1106
+ 77: W,
1107
+ 79: G,
1108
+ 80: K
1109
+ },
1110
+ {
1111
+ 35: 111,
1112
+ 75: 81,
1113
+ 76: U,
1114
+ 77: W,
1115
+ 79: G,
1116
+ 80: K
1117
+ },
1118
+ {
1119
+ 35: 112,
1120
+ 75: 81,
1121
+ 76: U,
1122
+ 77: W,
1123
+ 79: G,
1124
+ 80: K
1125
+ },
1126
+ {
1127
+ 35: 113,
1128
+ 75: 81,
1129
+ 76: U,
1130
+ 77: W,
1131
+ 79: G,
1132
+ 80: K
1133
+ },
1134
+ {
1135
+ 35: 114,
1136
+ 75: 81,
1137
+ 76: U,
1138
+ 77: W,
1139
+ 79: G,
1140
+ 80: K
1141
+ },
1142
+ {
1143
+ 35: 115,
1144
+ 75: 81,
1145
+ 76: U,
1146
+ 77: W,
1147
+ 79: G,
1148
+ 80: K
1149
+ },
1150
+ {
1151
+ 20: 116,
1152
+ 29: 49,
1153
+ 30: 61,
1154
+ 32: 62,
1155
+ 34: o,
1156
+ 36: s,
1157
+ 37: l,
1158
+ 38: u,
1159
+ 39: f,
1160
+ 40: p,
1161
+ 41: m,
1162
+ 43: 23,
1163
+ 44: h,
1164
+ 45: g,
1165
+ 46: _,
1166
+ 47: v,
1167
+ 48: y,
1168
+ 49: b,
1169
+ 50: x,
1170
+ 51: S,
1171
+ 52: C,
1172
+ 53: w,
1173
+ 54: T,
1174
+ 55: E,
1175
+ 56: D,
1176
+ 57: O,
1177
+ 58: k,
1178
+ 59: A,
1179
+ 60: j,
1180
+ 61: M,
1181
+ 62: N,
1182
+ 63: P,
1183
+ 64: F,
1184
+ 65: I,
1185
+ 66: L,
1186
+ 67: R,
1187
+ 68: ee,
1188
+ 69: te,
1189
+ 70: ne,
1190
+ 71: z,
1191
+ 72: B,
1192
+ 73: V,
1193
+ 74: H
1194
+ },
1195
+ {
1196
+ 12: [1, 118],
1197
+ 33: [1, 117]
1198
+ },
1199
+ {
1200
+ 35: 119,
1201
+ 75: 81,
1202
+ 76: U,
1203
+ 77: W,
1204
+ 79: G,
1205
+ 80: K
1206
+ },
1207
+ {
1208
+ 35: 120,
1209
+ 75: 81,
1210
+ 76: U,
1211
+ 77: W,
1212
+ 79: G,
1213
+ 80: K
1214
+ },
1215
+ {
1216
+ 35: 121,
1217
+ 75: 81,
1218
+ 76: U,
1219
+ 77: W,
1220
+ 79: G,
1221
+ 80: K
1222
+ },
1223
+ {
1224
+ 35: 122,
1225
+ 75: 81,
1226
+ 76: U,
1227
+ 77: W,
1228
+ 79: G,
1229
+ 80: K
1230
+ },
1231
+ {
1232
+ 35: 123,
1233
+ 75: 81,
1234
+ 76: U,
1235
+ 77: W,
1236
+ 79: G,
1237
+ 80: K
1238
+ },
1239
+ {
1240
+ 35: 124,
1241
+ 75: 81,
1242
+ 76: U,
1243
+ 77: W,
1244
+ 79: G,
1245
+ 80: K
1246
+ },
1247
+ {
1248
+ 35: 125,
1249
+ 75: 81,
1250
+ 76: U,
1251
+ 77: W,
1252
+ 79: G,
1253
+ 80: K
1254
+ },
1255
+ { 14: [1, 126] },
1256
+ { 14: [1, 127] },
1257
+ { 14: [1, 128] },
1258
+ { 14: [1, 129] },
1259
+ { 1: [2, 8] },
1260
+ e(re, [2, 15]),
1261
+ e(ie, [2, 17], {
1262
+ 21: 22,
1263
+ 19: 130,
1264
+ 22: t,
1265
+ 23: n,
1266
+ 24: r,
1267
+ 26: i,
1268
+ 28: a
1269
+ }),
1270
+ e(re, [2, 37], {
1271
+ 19: 20,
1272
+ 20: 21,
1273
+ 21: 22,
1274
+ 43: 23,
1275
+ 29: 49,
1276
+ 30: 61,
1277
+ 32: 62,
1278
+ 13: 131,
1279
+ 22: t,
1280
+ 23: n,
1281
+ 24: r,
1282
+ 26: i,
1283
+ 28: a,
1284
+ 34: o,
1285
+ 36: s,
1286
+ 37: l,
1287
+ 38: u,
1288
+ 39: f,
1289
+ 40: p,
1290
+ 41: m,
1291
+ 44: h,
1292
+ 45: g,
1293
+ 46: _,
1294
+ 47: v,
1295
+ 48: y,
1296
+ 49: b,
1297
+ 50: x,
1298
+ 51: S,
1299
+ 52: C,
1300
+ 53: w,
1301
+ 54: T,
1302
+ 55: E,
1303
+ 56: D,
1304
+ 57: O,
1305
+ 58: k,
1306
+ 59: A,
1307
+ 60: j,
1308
+ 61: M,
1309
+ 62: N,
1310
+ 63: P,
1311
+ 64: F,
1312
+ 65: I,
1313
+ 66: L,
1314
+ 67: R,
1315
+ 68: ee,
1316
+ 69: te,
1317
+ 70: ne,
1318
+ 71: z,
1319
+ 72: B,
1320
+ 73: V,
1321
+ 74: H
1322
+ }),
1323
+ e(ae, [2, 21]),
1324
+ e(ae, [2, 22]),
1325
+ e(q, [2, 39]),
1326
+ e(oe, [2, 71], {
1327
+ 75: 81,
1328
+ 35: 132,
1329
+ 76: U,
1330
+ 77: W,
1331
+ 79: G,
1332
+ 80: K
1333
+ }),
1334
+ e(se, [2, 73]),
1335
+ { 78: [1, 133] },
1336
+ e(se, [2, 75]),
1337
+ e(se, [2, 76]),
1338
+ e(q, [2, 40]),
1339
+ e(q, [2, 41]),
1340
+ e(q, [2, 42]),
1341
+ e(q, [2, 43]),
1342
+ e(q, [2, 44]),
1343
+ e(q, [2, 45]),
1344
+ e(q, [2, 46]),
1345
+ e(q, [2, 47]),
1346
+ e(q, [2, 48]),
1347
+ e(q, [2, 49]),
1348
+ e(q, [2, 50]),
1349
+ e(q, [2, 51]),
1350
+ e(q, [2, 52]),
1351
+ e(q, [2, 53]),
1352
+ e(q, [2, 54]),
1353
+ e(q, [2, 55]),
1354
+ e(q, [2, 56]),
1355
+ e(q, [2, 57]),
1356
+ e(q, [2, 58]),
1357
+ e(q, [2, 60]),
1358
+ e(q, [2, 61]),
1359
+ e(q, [2, 62]),
1360
+ e(q, [2, 63]),
1361
+ e(q, [2, 64]),
1362
+ e(q, [2, 65]),
1363
+ e(q, [2, 66]),
1364
+ e(q, [2, 67]),
1365
+ e(q, [2, 68]),
1366
+ e(q, [2, 69]),
1367
+ e(q, [2, 70]),
1368
+ {
1369
+ 31: 134,
1370
+ 42: [1, 135]
1371
+ },
1372
+ { 12: [1, 136] },
1373
+ { 33: [1, 137] },
1374
+ e(ce, [2, 28]),
1375
+ e(ce, [2, 29]),
1376
+ e(ce, [2, 30]),
1377
+ e(ce, [2, 31]),
1378
+ e(ce, [2, 32]),
1379
+ e(ce, [2, 33]),
1380
+ e(ce, [2, 34]),
1381
+ { 1: [2, 9] },
1382
+ { 1: [2, 10] },
1383
+ { 1: [2, 11] },
1384
+ { 1: [2, 12] },
1385
+ e(ie, [2, 18]),
1386
+ e(re, [2, 38]),
1387
+ e(oe, [2, 72]),
1388
+ e(se, [2, 74]),
1389
+ e(q, [2, 24]),
1390
+ e(q, [2, 35]),
1391
+ e(le, [2, 25]),
1392
+ e(le, [2, 26], { 12: [1, 138] }),
1393
+ e(le, [2, 27])
1394
+ ],
1395
+ defaultActions: {
1396
+ 2: [2, 1],
1397
+ 3: [2, 2],
1398
+ 4: [2, 7],
1399
+ 5: [2, 3],
1400
+ 6: [2, 4],
1401
+ 7: [2, 5],
1402
+ 8: [2, 6],
1403
+ 74: [2, 8],
1404
+ 126: [2, 9],
1405
+ 127: [2, 10],
1406
+ 128: [2, 11],
1407
+ 129: [2, 12]
1408
+ },
1409
+ parseError: /* @__PURE__ */ d(function(e, t) {
1410
+ if (t.recoverable) this.trace(e);
1411
+ else {
1412
+ var n = Error(e);
1413
+ throw n.hash = t, n;
1414
+ }
1415
+ }, "parseError"),
1416
+ parse: /* @__PURE__ */ d(function(e) {
1417
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", l = 0, u = 0, f = 0, p = 2, m = 1, h = a.slice.call(arguments, 1), g = Object.create(this.lexer), _ = { yy: {} };
1418
+ for (var v in this.yy) Object.prototype.hasOwnProperty.call(this.yy, v) && (_.yy[v] = this.yy[v]);
1419
+ g.setInput(e, _.yy), _.yy.lexer = g, _.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
1420
+ var y = g.yylloc;
1421
+ a.push(y);
1422
+ var b = g.options && g.options.ranges;
1423
+ typeof _.yy.parseError == "function" ? this.parseError = _.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1424
+ function x(e) {
1425
+ n.length -= 2 * e, i.length -= e, a.length -= e;
1426
+ }
1427
+ d(x, "popStack");
1428
+ function S() {
1429
+ var e = r.pop() || g.lex() || m;
1430
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1431
+ }
1432
+ d(S, "lex");
1433
+ for (var C, w, T, E, D, O = {}, k, A, j, M;;) {
1434
+ if (T = n[n.length - 1], this.defaultActions[T] ? E = this.defaultActions[T] : (C ??= S(), E = o[T] && o[T][C]), E === void 0 || !E.length || !E[0]) {
1435
+ var N = "";
1436
+ for (k in M = [], o[T]) this.terminals_[k] && k > p && M.push("'" + this.terminals_[k] + "'");
1437
+ N = g.showPosition ? "Parse error on line " + (l + 1) + ":\n" + g.showPosition() + "\nExpecting " + M.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (C == m ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(N, {
1438
+ text: g.match,
1439
+ token: this.terminals_[C] || C,
1440
+ line: g.yylineno,
1441
+ loc: y,
1442
+ expected: M
1443
+ });
1444
+ }
1445
+ if (E[0] instanceof Array && E.length > 1) throw Error("Parse Error: multiple actions possible at state: " + T + ", token: " + C);
1446
+ switch (E[0]) {
1447
+ case 1:
1448
+ n.push(C), i.push(g.yytext), a.push(g.yylloc), n.push(E[1]), C = null, w ? (C = w, w = null) : (u = g.yyleng, s = g.yytext, l = g.yylineno, y = g.yylloc, f > 0 && f--);
1449
+ break;
1450
+ case 2:
1451
+ if (A = this.productions_[E[1]][1], O.$ = i[i.length - A], O._$ = {
1452
+ first_line: a[a.length - (A || 1)].first_line,
1453
+ last_line: a[a.length - 1].last_line,
1454
+ first_column: a[a.length - (A || 1)].first_column,
1455
+ last_column: a[a.length - 1].last_column
1456
+ }, b && (O._$.range = [a[a.length - (A || 1)].range[0], a[a.length - 1].range[1]]), D = this.performAction.apply(O, [
1457
+ s,
1458
+ u,
1459
+ l,
1460
+ _.yy,
1461
+ E[1],
1462
+ i,
1463
+ a
1464
+ ].concat(h)), D !== void 0) return D;
1465
+ A && (n = n.slice(0, -1 * A * 2), i = i.slice(0, -1 * A), a = a.slice(0, -1 * A)), n.push(this.productions_[E[1]][0]), i.push(O.$), a.push(O._$), j = o[n[n.length - 2]][n[n.length - 1]], n.push(j);
1466
+ break;
1467
+ case 3: return !0;
1468
+ }
1469
+ }
1470
+ return !0;
1471
+ }, "parse")
1472
+ };
1473
+ J.lexer = /* @__PURE__ */ (function() {
1474
+ return {
1475
+ EOF: 1,
1476
+ parseError: /* @__PURE__ */ d(function(e, t) {
1477
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1478
+ else throw Error(e);
1479
+ }, "parseError"),
1480
+ setInput: /* @__PURE__ */ d(function(e, t) {
1481
+ 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 = {
1482
+ first_line: 1,
1483
+ first_column: 0,
1484
+ last_line: 1,
1485
+ last_column: 0
1486
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1487
+ }, "setInput"),
1488
+ input: /* @__PURE__ */ d(function() {
1489
+ var e = this._input[0];
1490
+ 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;
1491
+ }, "input"),
1492
+ unput: /* @__PURE__ */ d(function(e) {
1493
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1494
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1495
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1496
+ 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);
1497
+ var i = this.yylloc.range;
1498
+ return this.yylloc = {
1499
+ first_line: this.yylloc.first_line,
1500
+ last_line: this.yylineno + 1,
1501
+ first_column: this.yylloc.first_column,
1502
+ 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
1503
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1504
+ }, "unput"),
1505
+ more: /* @__PURE__ */ d(function() {
1506
+ return this._more = !0, this;
1507
+ }, "more"),
1508
+ reject: /* @__PURE__ */ d(function() {
1509
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1510
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1511
+ text: "",
1512
+ token: null,
1513
+ line: this.yylineno
1514
+ });
1515
+ return this;
1516
+ }, "reject"),
1517
+ less: /* @__PURE__ */ d(function(e) {
1518
+ this.unput(this.match.slice(e));
1519
+ }, "less"),
1520
+ pastInput: /* @__PURE__ */ d(function() {
1521
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1522
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1523
+ }, "pastInput"),
1524
+ upcomingInput: /* @__PURE__ */ d(function() {
1525
+ var e = this.match;
1526
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1527
+ }, "upcomingInput"),
1528
+ showPosition: /* @__PURE__ */ d(function() {
1529
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1530
+ return e + this.upcomingInput() + "\n" + t + "^";
1531
+ }, "showPosition"),
1532
+ test_match: /* @__PURE__ */ d(function(e, t) {
1533
+ var n, r, i;
1534
+ if (this.options.backtrack_lexer && (i = {
1535
+ yylineno: this.yylineno,
1536
+ yylloc: {
1537
+ first_line: this.yylloc.first_line,
1538
+ last_line: this.last_line,
1539
+ first_column: this.yylloc.first_column,
1540
+ last_column: this.yylloc.last_column
1541
+ },
1542
+ yytext: this.yytext,
1543
+ match: this.match,
1544
+ matches: this.matches,
1545
+ matched: this.matched,
1546
+ yyleng: this.yyleng,
1547
+ offset: this.offset,
1548
+ _more: this._more,
1549
+ _input: this._input,
1550
+ yy: this.yy,
1551
+ conditionStack: this.conditionStack.slice(0),
1552
+ done: this.done
1553
+ }, 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 = {
1554
+ first_line: this.yylloc.last_line,
1555
+ last_line: this.yylineno + 1,
1556
+ first_column: this.yylloc.last_column,
1557
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1558
+ }, 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;
1559
+ if (this._backtrack) {
1560
+ for (var a in i) this[a] = i[a];
1561
+ return !1;
1562
+ }
1563
+ return !1;
1564
+ }, "test_match"),
1565
+ next: /* @__PURE__ */ d(function() {
1566
+ if (this.done) return this.EOF;
1567
+ this._input || (this.done = !0);
1568
+ var e, t, n, r;
1569
+ this._more || (this.yytext = "", this.match = "");
1570
+ 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)) {
1571
+ if (t = n, r = a, this.options.backtrack_lexer) {
1572
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1573
+ if (this._backtrack) {
1574
+ t = !1;
1575
+ continue;
1576
+ } else return !1;
1577
+ } else if (!this.options.flex) break;
1578
+ }
1579
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1580
+ text: "",
1581
+ token: null,
1582
+ line: this.yylineno
1583
+ });
1584
+ }, "next"),
1585
+ lex: /* @__PURE__ */ d(function() {
1586
+ return this.next() || this.lex();
1587
+ }, "lex"),
1588
+ begin: /* @__PURE__ */ d(function(e) {
1589
+ this.conditionStack.push(e);
1590
+ }, "begin"),
1591
+ popState: /* @__PURE__ */ d(function() {
1592
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1593
+ }, "popState"),
1594
+ _currentRules: /* @__PURE__ */ d(function() {
1595
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1596
+ }, "_currentRules"),
1597
+ topState: /* @__PURE__ */ d(function(e) {
1598
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1599
+ }, "topState"),
1600
+ pushState: /* @__PURE__ */ d(function(e) {
1601
+ this.begin(e);
1602
+ }, "pushState"),
1603
+ stateStackSize: /* @__PURE__ */ d(function() {
1604
+ return this.conditionStack.length;
1605
+ }, "stateStackSize"),
1606
+ options: {},
1607
+ performAction: /* @__PURE__ */ d(function(e, t, n, r) {
1608
+ switch (n) {
1609
+ case 0: return 6;
1610
+ case 1: return 7;
1611
+ case 2: return 8;
1612
+ case 3: return 9;
1613
+ case 4: return 22;
1614
+ case 5: return 23;
1615
+ case 6: return this.begin("acc_title"), 24;
1616
+ case 7: return this.popState(), "acc_title_value";
1617
+ case 8: return this.begin("acc_descr"), 26;
1618
+ case 9: return this.popState(), "acc_descr_value";
1619
+ case 10:
1620
+ this.begin("acc_descr_multiline");
1621
+ break;
1622
+ case 11:
1623
+ this.popState();
1624
+ break;
1625
+ case 12: return "acc_descr_multiline_value";
1626
+ case 13: break;
1627
+ case 14:
1628
+ c;
1629
+ break;
1630
+ case 15: return 12;
1631
+ case 16: break;
1632
+ case 17: return 11;
1633
+ case 18: return 15;
1634
+ case 19: return 16;
1635
+ case 20: return 17;
1636
+ case 21: return 18;
1637
+ case 22: return this.begin("person_ext"), 45;
1638
+ case 23: return this.begin("person"), 44;
1639
+ case 24: return this.begin("system_ext_queue"), 51;
1640
+ case 25: return this.begin("system_ext_db"), 50;
1641
+ case 26: return this.begin("system_ext"), 49;
1642
+ case 27: return this.begin("system_queue"), 48;
1643
+ case 28: return this.begin("system_db"), 47;
1644
+ case 29: return this.begin("system"), 46;
1645
+ case 30: return this.begin("boundary"), 37;
1646
+ case 31: return this.begin("enterprise_boundary"), 34;
1647
+ case 32: return this.begin("system_boundary"), 36;
1648
+ case 33: return this.begin("container_ext_queue"), 57;
1649
+ case 34: return this.begin("container_ext_db"), 56;
1650
+ case 35: return this.begin("container_ext"), 55;
1651
+ case 36: return this.begin("container_queue"), 54;
1652
+ case 37: return this.begin("container_db"), 53;
1653
+ case 38: return this.begin("container"), 52;
1654
+ case 39: return this.begin("container_boundary"), 38;
1655
+ case 40: return this.begin("component_ext_queue"), 63;
1656
+ case 41: return this.begin("component_ext_db"), 62;
1657
+ case 42: return this.begin("component_ext"), 61;
1658
+ case 43: return this.begin("component_queue"), 60;
1659
+ case 44: return this.begin("component_db"), 59;
1660
+ case 45: return this.begin("component"), 58;
1661
+ case 46: return this.begin("node"), 39;
1662
+ case 47: return this.begin("node"), 39;
1663
+ case 48: return this.begin("node_l"), 40;
1664
+ case 49: return this.begin("node_r"), 41;
1665
+ case 50: return this.begin("rel"), 64;
1666
+ case 51: return this.begin("birel"), 65;
1667
+ case 52: return this.begin("rel_u"), 66;
1668
+ case 53: return this.begin("rel_u"), 66;
1669
+ case 54: return this.begin("rel_d"), 67;
1670
+ case 55: return this.begin("rel_d"), 67;
1671
+ case 56: return this.begin("rel_l"), 68;
1672
+ case 57: return this.begin("rel_l"), 68;
1673
+ case 58: return this.begin("rel_r"), 69;
1674
+ case 59: return this.begin("rel_r"), 69;
1675
+ case 60: return this.begin("rel_b"), 70;
1676
+ case 61: return this.begin("rel_index"), 71;
1677
+ case 62: return this.begin("update_el_style"), 72;
1678
+ case 63: return this.begin("update_rel_style"), 73;
1679
+ case 64: return this.begin("update_layout_config"), 74;
1680
+ case 65: return "EOF_IN_STRUCT";
1681
+ case 66: return this.begin("attribute"), "ATTRIBUTE_EMPTY";
1682
+ case 67:
1683
+ this.begin("attribute");
1684
+ break;
1685
+ case 68:
1686
+ this.popState(), this.popState();
1687
+ break;
1688
+ case 69: return 80;
1689
+ case 70: break;
1690
+ case 71: return 80;
1691
+ case 72:
1692
+ this.begin("string");
1693
+ break;
1694
+ case 73:
1695
+ this.popState();
1696
+ break;
1697
+ case 74: return "STR";
1698
+ case 75:
1699
+ this.begin("string_kv");
1700
+ break;
1701
+ case 76: return this.begin("string_kv_key"), "STR_KEY";
1702
+ case 77:
1703
+ this.popState(), this.begin("string_kv_value");
1704
+ break;
1705
+ case 78: return "STR_VALUE";
1706
+ case 79:
1707
+ this.popState(), this.popState();
1708
+ break;
1709
+ case 80: return "STR";
1710
+ case 81: return "LBRACE";
1711
+ case 82: return "RBRACE";
1712
+ case 83: return "SPACE";
1713
+ case 84: return "EOL";
1714
+ case 85: return 14;
1715
+ }
1716
+ }, "anonymous"),
1717
+ rules: [
1718
+ /^(?:.*direction\s+TB[^\n]*)/,
1719
+ /^(?:.*direction\s+BT[^\n]*)/,
1720
+ /^(?:.*direction\s+RL[^\n]*)/,
1721
+ /^(?:.*direction\s+LR[^\n]*)/,
1722
+ /^(?:title\s[^#\n;]+)/,
1723
+ /^(?:accDescription\s[^#\n;]+)/,
1724
+ /^(?:accTitle\s*:\s*)/,
1725
+ /^(?:(?!\n||)*[^\n]*)/,
1726
+ /^(?:accDescr\s*:\s*)/,
1727
+ /^(?:(?!\n||)*[^\n]*)/,
1728
+ /^(?:accDescr\s*\{\s*)/,
1729
+ /^(?:[\}])/,
1730
+ /^(?:[^\}]*)/,
1731
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1732
+ /^(?:%%[^\n]*(\r?\n)*)/,
1733
+ /^(?:\s*(\r?\n)+)/,
1734
+ /^(?:\s+)/,
1735
+ /^(?:C4Context\b)/,
1736
+ /^(?:C4Container\b)/,
1737
+ /^(?:C4Component\b)/,
1738
+ /^(?:C4Dynamic\b)/,
1739
+ /^(?:C4Deployment\b)/,
1740
+ /^(?:Person_Ext\b)/,
1741
+ /^(?:Person\b)/,
1742
+ /^(?:SystemQueue_Ext\b)/,
1743
+ /^(?:SystemDb_Ext\b)/,
1744
+ /^(?:System_Ext\b)/,
1745
+ /^(?:SystemQueue\b)/,
1746
+ /^(?:SystemDb\b)/,
1747
+ /^(?:System\b)/,
1748
+ /^(?:Boundary\b)/,
1749
+ /^(?:Enterprise_Boundary\b)/,
1750
+ /^(?:System_Boundary\b)/,
1751
+ /^(?:ContainerQueue_Ext\b)/,
1752
+ /^(?:ContainerDb_Ext\b)/,
1753
+ /^(?:Container_Ext\b)/,
1754
+ /^(?:ContainerQueue\b)/,
1755
+ /^(?:ContainerDb\b)/,
1756
+ /^(?:Container\b)/,
1757
+ /^(?:Container_Boundary\b)/,
1758
+ /^(?:ComponentQueue_Ext\b)/,
1759
+ /^(?:ComponentDb_Ext\b)/,
1760
+ /^(?:Component_Ext\b)/,
1761
+ /^(?:ComponentQueue\b)/,
1762
+ /^(?:ComponentDb\b)/,
1763
+ /^(?:Component\b)/,
1764
+ /^(?:Deployment_Node\b)/,
1765
+ /^(?:Node\b)/,
1766
+ /^(?:Node_L\b)/,
1767
+ /^(?:Node_R\b)/,
1768
+ /^(?:Rel\b)/,
1769
+ /^(?:BiRel\b)/,
1770
+ /^(?:Rel_Up\b)/,
1771
+ /^(?:Rel_U\b)/,
1772
+ /^(?:Rel_Down\b)/,
1773
+ /^(?:Rel_D\b)/,
1774
+ /^(?:Rel_Left\b)/,
1775
+ /^(?:Rel_L\b)/,
1776
+ /^(?:Rel_Right\b)/,
1777
+ /^(?:Rel_R\b)/,
1778
+ /^(?:Rel_Back\b)/,
1779
+ /^(?:RelIndex\b)/,
1780
+ /^(?:UpdateElementStyle\b)/,
1781
+ /^(?:UpdateRelStyle\b)/,
1782
+ /^(?:UpdateLayoutConfig\b)/,
1783
+ /^(?:$)/,
1784
+ /^(?:[(][ ]*[,])/,
1785
+ /^(?:[(])/,
1786
+ /^(?:[)])/,
1787
+ /^(?:,,)/,
1788
+ /^(?:,)/,
1789
+ /^(?:[ ]*["]["])/,
1790
+ /^(?:[ ]*["])/,
1791
+ /^(?:["])/,
1792
+ /^(?:[^"]*)/,
1793
+ /^(?:[ ]*[\$])/,
1794
+ /^(?:[^=]*)/,
1795
+ /^(?:[=][ ]*["])/,
1796
+ /^(?:[^"]+)/,
1797
+ /^(?:["])/,
1798
+ /^(?:[^,]+)/,
1799
+ /^(?:\{)/,
1800
+ /^(?:\})/,
1801
+ /^(?:[\s]+)/,
1802
+ /^(?:[\n\r]+)/,
1803
+ /^(?:$)/
1804
+ ],
1805
+ conditions: {
1806
+ acc_descr_multiline: {
1807
+ rules: [11, 12],
1808
+ inclusive: !1
1809
+ },
1810
+ acc_descr: {
1811
+ rules: [9],
1812
+ inclusive: !1
1813
+ },
1814
+ acc_title: {
1815
+ rules: [7],
1816
+ inclusive: !1
1817
+ },
1818
+ string_kv_value: {
1819
+ rules: [78, 79],
1820
+ inclusive: !1
1821
+ },
1822
+ string_kv_key: {
1823
+ rules: [77],
1824
+ inclusive: !1
1825
+ },
1826
+ string_kv: {
1827
+ rules: [76],
1828
+ inclusive: !1
1829
+ },
1830
+ string: {
1831
+ rules: [73, 74],
1832
+ inclusive: !1
1833
+ },
1834
+ attribute: {
1835
+ rules: [
1836
+ 68,
1837
+ 69,
1838
+ 70,
1839
+ 71,
1840
+ 72,
1841
+ 75,
1842
+ 80
1843
+ ],
1844
+ inclusive: !1
1845
+ },
1846
+ update_layout_config: {
1847
+ rules: [
1848
+ 65,
1849
+ 66,
1850
+ 67,
1851
+ 68
1852
+ ],
1853
+ inclusive: !1
1854
+ },
1855
+ update_rel_style: {
1856
+ rules: [
1857
+ 65,
1858
+ 66,
1859
+ 67,
1860
+ 68
1861
+ ],
1862
+ inclusive: !1
1863
+ },
1864
+ update_el_style: {
1865
+ rules: [
1866
+ 65,
1867
+ 66,
1868
+ 67,
1869
+ 68
1870
+ ],
1871
+ inclusive: !1
1872
+ },
1873
+ rel_b: {
1874
+ rules: [
1875
+ 65,
1876
+ 66,
1877
+ 67,
1878
+ 68
1879
+ ],
1880
+ inclusive: !1
1881
+ },
1882
+ rel_r: {
1883
+ rules: [
1884
+ 65,
1885
+ 66,
1886
+ 67,
1887
+ 68
1888
+ ],
1889
+ inclusive: !1
1890
+ },
1891
+ rel_l: {
1892
+ rules: [
1893
+ 65,
1894
+ 66,
1895
+ 67,
1896
+ 68
1897
+ ],
1898
+ inclusive: !1
1899
+ },
1900
+ rel_d: {
1901
+ rules: [
1902
+ 65,
1903
+ 66,
1904
+ 67,
1905
+ 68
1906
+ ],
1907
+ inclusive: !1
1908
+ },
1909
+ rel_u: {
1910
+ rules: [
1911
+ 65,
1912
+ 66,
1913
+ 67,
1914
+ 68
1915
+ ],
1916
+ inclusive: !1
1917
+ },
1918
+ rel_bi: {
1919
+ rules: [],
1920
+ inclusive: !1
1921
+ },
1922
+ rel: {
1923
+ rules: [
1924
+ 65,
1925
+ 66,
1926
+ 67,
1927
+ 68
1928
+ ],
1929
+ inclusive: !1
1930
+ },
1931
+ node_r: {
1932
+ rules: [
1933
+ 65,
1934
+ 66,
1935
+ 67,
1936
+ 68
1937
+ ],
1938
+ inclusive: !1
1939
+ },
1940
+ node_l: {
1941
+ rules: [
1942
+ 65,
1943
+ 66,
1944
+ 67,
1945
+ 68
1946
+ ],
1947
+ inclusive: !1
1948
+ },
1949
+ node: {
1950
+ rules: [
1951
+ 65,
1952
+ 66,
1953
+ 67,
1954
+ 68
1955
+ ],
1956
+ inclusive: !1
1957
+ },
1958
+ index: {
1959
+ rules: [],
1960
+ inclusive: !1
1961
+ },
1962
+ rel_index: {
1963
+ rules: [
1964
+ 65,
1965
+ 66,
1966
+ 67,
1967
+ 68
1968
+ ],
1969
+ inclusive: !1
1970
+ },
1971
+ component_ext_queue: {
1972
+ rules: [
1973
+ 65,
1974
+ 66,
1975
+ 67,
1976
+ 68
1977
+ ],
1978
+ inclusive: !1
1979
+ },
1980
+ component_ext_db: {
1981
+ rules: [
1982
+ 65,
1983
+ 66,
1984
+ 67,
1985
+ 68
1986
+ ],
1987
+ inclusive: !1
1988
+ },
1989
+ component_ext: {
1990
+ rules: [
1991
+ 65,
1992
+ 66,
1993
+ 67,
1994
+ 68
1995
+ ],
1996
+ inclusive: !1
1997
+ },
1998
+ component_queue: {
1999
+ rules: [
2000
+ 65,
2001
+ 66,
2002
+ 67,
2003
+ 68
2004
+ ],
2005
+ inclusive: !1
2006
+ },
2007
+ component_db: {
2008
+ rules: [
2009
+ 65,
2010
+ 66,
2011
+ 67,
2012
+ 68
2013
+ ],
2014
+ inclusive: !1
2015
+ },
2016
+ component: {
2017
+ rules: [
2018
+ 65,
2019
+ 66,
2020
+ 67,
2021
+ 68
2022
+ ],
2023
+ inclusive: !1
2024
+ },
2025
+ container_boundary: {
2026
+ rules: [
2027
+ 65,
2028
+ 66,
2029
+ 67,
2030
+ 68
2031
+ ],
2032
+ inclusive: !1
2033
+ },
2034
+ container_ext_queue: {
2035
+ rules: [
2036
+ 65,
2037
+ 66,
2038
+ 67,
2039
+ 68
2040
+ ],
2041
+ inclusive: !1
2042
+ },
2043
+ container_ext_db: {
2044
+ rules: [
2045
+ 65,
2046
+ 66,
2047
+ 67,
2048
+ 68
2049
+ ],
2050
+ inclusive: !1
2051
+ },
2052
+ container_ext: {
2053
+ rules: [
2054
+ 65,
2055
+ 66,
2056
+ 67,
2057
+ 68
2058
+ ],
2059
+ inclusive: !1
2060
+ },
2061
+ container_queue: {
2062
+ rules: [
2063
+ 65,
2064
+ 66,
2065
+ 67,
2066
+ 68
2067
+ ],
2068
+ inclusive: !1
2069
+ },
2070
+ container_db: {
2071
+ rules: [
2072
+ 65,
2073
+ 66,
2074
+ 67,
2075
+ 68
2076
+ ],
2077
+ inclusive: !1
2078
+ },
2079
+ container: {
2080
+ rules: [
2081
+ 65,
2082
+ 66,
2083
+ 67,
2084
+ 68
2085
+ ],
2086
+ inclusive: !1
2087
+ },
2088
+ birel: {
2089
+ rules: [
2090
+ 65,
2091
+ 66,
2092
+ 67,
2093
+ 68
2094
+ ],
2095
+ inclusive: !1
2096
+ },
2097
+ system_boundary: {
2098
+ rules: [
2099
+ 65,
2100
+ 66,
2101
+ 67,
2102
+ 68
2103
+ ],
2104
+ inclusive: !1
2105
+ },
2106
+ enterprise_boundary: {
2107
+ rules: [
2108
+ 65,
2109
+ 66,
2110
+ 67,
2111
+ 68
2112
+ ],
2113
+ inclusive: !1
2114
+ },
2115
+ boundary: {
2116
+ rules: [
2117
+ 65,
2118
+ 66,
2119
+ 67,
2120
+ 68
2121
+ ],
2122
+ inclusive: !1
2123
+ },
2124
+ system_ext_queue: {
2125
+ rules: [
2126
+ 65,
2127
+ 66,
2128
+ 67,
2129
+ 68
2130
+ ],
2131
+ inclusive: !1
2132
+ },
2133
+ system_ext_db: {
2134
+ rules: [
2135
+ 65,
2136
+ 66,
2137
+ 67,
2138
+ 68
2139
+ ],
2140
+ inclusive: !1
2141
+ },
2142
+ system_ext: {
2143
+ rules: [
2144
+ 65,
2145
+ 66,
2146
+ 67,
2147
+ 68
2148
+ ],
2149
+ inclusive: !1
2150
+ },
2151
+ system_queue: {
2152
+ rules: [
2153
+ 65,
2154
+ 66,
2155
+ 67,
2156
+ 68
2157
+ ],
2158
+ inclusive: !1
2159
+ },
2160
+ system_db: {
2161
+ rules: [
2162
+ 65,
2163
+ 66,
2164
+ 67,
2165
+ 68
2166
+ ],
2167
+ inclusive: !1
2168
+ },
2169
+ system: {
2170
+ rules: [
2171
+ 65,
2172
+ 66,
2173
+ 67,
2174
+ 68
2175
+ ],
2176
+ inclusive: !1
2177
+ },
2178
+ person_ext: {
2179
+ rules: [
2180
+ 65,
2181
+ 66,
2182
+ 67,
2183
+ 68
2184
+ ],
2185
+ inclusive: !1
2186
+ },
2187
+ person: {
2188
+ rules: [
2189
+ 65,
2190
+ 66,
2191
+ 67,
2192
+ 68
2193
+ ],
2194
+ inclusive: !1
2195
+ },
2196
+ INITIAL: {
2197
+ rules: [
2198
+ 0,
2199
+ 1,
2200
+ 2,
2201
+ 3,
2202
+ 4,
2203
+ 5,
2204
+ 6,
2205
+ 8,
2206
+ 10,
2207
+ 13,
2208
+ 14,
2209
+ 15,
2210
+ 16,
2211
+ 17,
2212
+ 18,
2213
+ 19,
2214
+ 20,
2215
+ 21,
2216
+ 22,
2217
+ 23,
2218
+ 24,
2219
+ 25,
2220
+ 26,
2221
+ 27,
2222
+ 28,
2223
+ 29,
2224
+ 30,
2225
+ 31,
2226
+ 32,
2227
+ 33,
2228
+ 34,
2229
+ 35,
2230
+ 36,
2231
+ 37,
2232
+ 38,
2233
+ 39,
2234
+ 40,
2235
+ 41,
2236
+ 42,
2237
+ 43,
2238
+ 44,
2239
+ 45,
2240
+ 46,
2241
+ 47,
2242
+ 48,
2243
+ 49,
2244
+ 50,
2245
+ 51,
2246
+ 52,
2247
+ 53,
2248
+ 54,
2249
+ 55,
2250
+ 56,
2251
+ 57,
2252
+ 58,
2253
+ 59,
2254
+ 60,
2255
+ 61,
2256
+ 62,
2257
+ 63,
2258
+ 64,
2259
+ 81,
2260
+ 82,
2261
+ 83,
2262
+ 84,
2263
+ 85
2264
+ ],
2265
+ inclusive: !0
2266
+ }
2267
+ }
2268
+ };
2269
+ })();
2270
+ function ue() {
2271
+ this.yy = {};
2272
+ }
2273
+ return d(ue, "Parser"), ue.prototype = J, J.Parser = ue, new ue();
2274
+ })();
2275
+ b.parser = b;
2276
+ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2277
+ alias: "global",
2278
+ label: { text: "global" },
2279
+ type: { text: "global" },
2280
+ tags: null,
2281
+ link: null,
2282
+ parentBoundary: ""
2283
+ }], D = [], O = "", k = !1, A = 4, j = 2, M, N = /* @__PURE__ */ d(function() {
2284
+ return M;
2285
+ }, "getC4Type"), P = /* @__PURE__ */ d(function(e) {
2286
+ M = t(e, i());
2287
+ }, "setC4Type"), F = /* @__PURE__ */ d(function(e, t, n, r, i, a, o, s, l) {
2288
+ if (e == null || t == null || n == null || r == null) return;
2289
+ let u = {}, d = D.find((e) => e.from === t && e.to === n);
2290
+ if (d ? u = d : D.push(u), u.type = e, u.from = t, u.to = n, u.label = { text: r }, i == null) u.techn = { text: "" };
2291
+ else if (typeof i == "object") {
2292
+ let [e, t] = Object.entries(i)[0];
2293
+ u[e] = { text: t };
2294
+ } else u.techn = { text: i };
2295
+ if (a == null) u.descr = { text: "" };
2296
+ else if (typeof a == "object") {
2297
+ let [e, t] = Object.entries(a)[0];
2298
+ u[e] = { text: t };
2299
+ } else u.descr = { text: a };
2300
+ if (typeof o == "object") {
2301
+ let [e, t] = Object.entries(o)[0];
2302
+ u[e] = t;
2303
+ } else u.sprite = o;
2304
+ if (typeof s == "object") {
2305
+ let [e, t] = Object.entries(s)[0];
2306
+ u[e] = t;
2307
+ } else u.tags = s;
2308
+ if (typeof l == "object") {
2309
+ let [e, t] = Object.entries(l)[0];
2310
+ u[e] = t;
2311
+ } else u.link = l;
2312
+ u.wrap = J();
2313
+ }, "addRel"), I = /* @__PURE__ */ d(function(e, t, n, r, i, a, o) {
2314
+ if (t === null || n === null) return;
2315
+ let s = {}, l = S.find((e) => e.alias === t);
2316
+ if (l && t === l.alias ? s = l : (s.alias = t, S.push(s)), n == null ? s.label = { text: "" } : s.label = { text: n }, r == null) s.descr = { text: "" };
2317
+ else if (typeof r == "object") {
2318
+ let [e, t] = Object.entries(r)[0];
2319
+ s[e] = { text: t };
2320
+ } else s.descr = { text: r };
2321
+ if (typeof i == "object") {
2322
+ let [e, t] = Object.entries(i)[0];
2323
+ s[e] = t;
2324
+ } else s.sprite = i;
2325
+ if (typeof a == "object") {
2326
+ let [e, t] = Object.entries(a)[0];
2327
+ s[e] = t;
2328
+ } else s.tags = a;
2329
+ if (typeof o == "object") {
2330
+ let [e, t] = Object.entries(o)[0];
2331
+ s[e] = t;
2332
+ } else s.link = o;
2333
+ s.typeC4Shape = { text: e }, s.parentBoundary = w, s.wrap = J();
2334
+ }, "addPersonOrSystem"), L = /* @__PURE__ */ d(function(e, t, n, r, i, a, o, s) {
2335
+ if (t === null || n === null) return;
2336
+ let l = {}, u = S.find((e) => e.alias === t);
2337
+ if (u && t === u.alias ? l = u : (l.alias = t, S.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
2338
+ else if (typeof r == "object") {
2339
+ let [e, t] = Object.entries(r)[0];
2340
+ l[e] = { text: t };
2341
+ } else l.techn = { text: r };
2342
+ if (i == null) l.descr = { text: "" };
2343
+ else if (typeof i == "object") {
2344
+ let [e, t] = Object.entries(i)[0];
2345
+ l[e] = { text: t };
2346
+ } else l.descr = { text: i };
2347
+ if (typeof a == "object") {
2348
+ let [e, t] = Object.entries(a)[0];
2349
+ l[e] = t;
2350
+ } else l.sprite = a;
2351
+ if (typeof o == "object") {
2352
+ let [e, t] = Object.entries(o)[0];
2353
+ l[e] = t;
2354
+ } else l.tags = o;
2355
+ if (typeof s == "object") {
2356
+ let [e, t] = Object.entries(s)[0];
2357
+ l[e] = t;
2358
+ } else l.link = s;
2359
+ l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2360
+ }, "addContainer"), R = /* @__PURE__ */ d(function(e, t, n, r, i, a, o, s) {
2361
+ if (t === null || n === null) return;
2362
+ let l = {}, u = S.find((e) => e.alias === t);
2363
+ if (u && t === u.alias ? l = u : (l.alias = t, S.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
2364
+ else if (typeof r == "object") {
2365
+ let [e, t] = Object.entries(r)[0];
2366
+ l[e] = { text: t };
2367
+ } else l.techn = { text: r };
2368
+ if (i == null) l.descr = { text: "" };
2369
+ else if (typeof i == "object") {
2370
+ let [e, t] = Object.entries(i)[0];
2371
+ l[e] = { text: t };
2372
+ } else l.descr = { text: i };
2373
+ if (typeof a == "object") {
2374
+ let [e, t] = Object.entries(a)[0];
2375
+ l[e] = t;
2376
+ } else l.sprite = a;
2377
+ if (typeof o == "object") {
2378
+ let [e, t] = Object.entries(o)[0];
2379
+ l[e] = t;
2380
+ } else l.tags = o;
2381
+ if (typeof s == "object") {
2382
+ let [e, t] = Object.entries(s)[0];
2383
+ l[e] = t;
2384
+ } else l.link = s;
2385
+ l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2386
+ }, "addComponent"), ee = /* @__PURE__ */ d(function(e, t, n, r, i) {
2387
+ if (e === null || t === null) return;
2388
+ let a = {}, o = E.find((t) => t.alias === e);
2389
+ if (o && e === o.alias ? a = o : (a.alias = e, E.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "system" };
2390
+ else if (typeof n == "object") {
2391
+ let [e, t] = Object.entries(n)[0];
2392
+ a[e] = { text: t };
2393
+ } else a.type = { text: n };
2394
+ if (typeof r == "object") {
2395
+ let [e, t] = Object.entries(r)[0];
2396
+ a[e] = t;
2397
+ } else a.tags = r;
2398
+ if (typeof i == "object") {
2399
+ let [e, t] = Object.entries(i)[0];
2400
+ a[e] = t;
2401
+ } else a.link = i;
2402
+ a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2403
+ }, "addPersonOrSystemBoundary"), te = /* @__PURE__ */ d(function(e, t, n, r, i) {
2404
+ if (e === null || t === null) return;
2405
+ let a = {}, o = E.find((t) => t.alias === e);
2406
+ if (o && e === o.alias ? a = o : (a.alias = e, E.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "container" };
2407
+ else if (typeof n == "object") {
2408
+ let [e, t] = Object.entries(n)[0];
2409
+ a[e] = { text: t };
2410
+ } else a.type = { text: n };
2411
+ if (typeof r == "object") {
2412
+ let [e, t] = Object.entries(r)[0];
2413
+ a[e] = t;
2414
+ } else a.tags = r;
2415
+ if (typeof i == "object") {
2416
+ let [e, t] = Object.entries(i)[0];
2417
+ a[e] = t;
2418
+ } else a.link = i;
2419
+ a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2420
+ }, "addContainerBoundary"), ne = /* @__PURE__ */ d(function(e, t, n, r, i, a, o, s) {
2421
+ if (t === null || n === null) return;
2422
+ let l = {}, u = E.find((e) => e.alias === t);
2423
+ if (u && t === u.alias ? l = u : (l.alias = t, E.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.type = { text: "node" };
2424
+ else if (typeof r == "object") {
2425
+ let [e, t] = Object.entries(r)[0];
2426
+ l[e] = { text: t };
2427
+ } else l.type = { text: r };
2428
+ if (i == null) l.descr = { text: "" };
2429
+ else if (typeof i == "object") {
2430
+ let [e, t] = Object.entries(i)[0];
2431
+ l[e] = { text: t };
2432
+ } else l.descr = { text: i };
2433
+ if (typeof o == "object") {
2434
+ let [e, t] = Object.entries(o)[0];
2435
+ l[e] = t;
2436
+ } else l.tags = o;
2437
+ if (typeof s == "object") {
2438
+ let [e, t] = Object.entries(s)[0];
2439
+ l[e] = t;
2440
+ } else l.link = s;
2441
+ l.nodeType = e, l.parentBoundary = w, l.wrap = J(), T = w, w = t, C.push(T);
2442
+ }, "addDeploymentNode"), z = /* @__PURE__ */ d(function() {
2443
+ w = T, C.pop(), T = C.pop(), C.push(T);
2444
+ }, "popBoundaryParseStack"), B = /* @__PURE__ */ d(function(e, t, n, r, i, a, o, s, l, u, d) {
2445
+ let f = S.find((e) => e.alias === t);
2446
+ if (!(f === void 0 && (f = E.find((e) => e.alias === t), f === void 0))) {
2447
+ if (n != null) if (typeof n == "object") {
2448
+ let [e, t] = Object.entries(n)[0];
2449
+ f[e] = t;
2450
+ } else f.bgColor = n;
2451
+ if (r != null) if (typeof r == "object") {
2452
+ let [e, t] = Object.entries(r)[0];
2453
+ f[e] = t;
2454
+ } else f.fontColor = r;
2455
+ if (i != null) if (typeof i == "object") {
2456
+ let [e, t] = Object.entries(i)[0];
2457
+ f[e] = t;
2458
+ } else f.borderColor = i;
2459
+ if (a != null) if (typeof a == "object") {
2460
+ let [e, t] = Object.entries(a)[0];
2461
+ f[e] = t;
2462
+ } else f.shadowing = a;
2463
+ if (o != null) if (typeof o == "object") {
2464
+ let [e, t] = Object.entries(o)[0];
2465
+ f[e] = t;
2466
+ } else f.shape = o;
2467
+ if (s != null) if (typeof s == "object") {
2468
+ let [e, t] = Object.entries(s)[0];
2469
+ f[e] = t;
2470
+ } else f.sprite = s;
2471
+ if (l != null) if (typeof l == "object") {
2472
+ let [e, t] = Object.entries(l)[0];
2473
+ f[e] = t;
2474
+ } else f.techn = l;
2475
+ if (u != null) if (typeof u == "object") {
2476
+ let [e, t] = Object.entries(u)[0];
2477
+ f[e] = t;
2478
+ } else f.legendText = u;
2479
+ if (d != null) if (typeof d == "object") {
2480
+ let [e, t] = Object.entries(d)[0];
2481
+ f[e] = t;
2482
+ } else f.legendSprite = d;
2483
+ }
2484
+ }, "updateElStyle"), V = /* @__PURE__ */ d(function(e, t, n, r, i, a, o) {
2485
+ let s = D.find((e) => e.from === t && e.to === n);
2486
+ if (s !== void 0) {
2487
+ if (r != null) if (typeof r == "object") {
2488
+ let [e, t] = Object.entries(r)[0];
2489
+ s[e] = t;
2490
+ } else s.textColor = r;
2491
+ if (i != null) if (typeof i == "object") {
2492
+ let [e, t] = Object.entries(i)[0];
2493
+ s[e] = t;
2494
+ } else s.lineColor = i;
2495
+ if (a != null) if (typeof a == "object") {
2496
+ let [e, t] = Object.entries(a)[0];
2497
+ s[e] = parseInt(t);
2498
+ } else s.offsetX = parseInt(a);
2499
+ if (o != null) if (typeof o == "object") {
2500
+ let [e, t] = Object.entries(o)[0];
2501
+ s[e] = parseInt(t);
2502
+ } else s.offsetY = parseInt(o);
2503
+ }
2504
+ }, "updateRelStyle"), H = /* @__PURE__ */ d(function(e, t, n) {
2505
+ let r = A, i = j;
2506
+ if (typeof t == "object") {
2507
+ let e = Object.values(t)[0];
2508
+ r = parseInt(e);
2509
+ } else r = parseInt(t);
2510
+ if (typeof n == "object") {
2511
+ let e = Object.values(n)[0];
2512
+ i = parseInt(e);
2513
+ } else i = parseInt(n);
2514
+ r >= 1 && (A = r), i >= 1 && (j = i);
2515
+ }, "updateLayoutConfig"), re = /* @__PURE__ */ d(function() {
2516
+ return A;
2517
+ }, "getC4ShapeInRow"), ie = /* @__PURE__ */ d(function() {
2518
+ return j;
2519
+ }, "getC4BoundaryInRow"), ae = /* @__PURE__ */ d(function() {
2520
+ return w;
2521
+ }, "getCurrentBoundaryParse"), U = /* @__PURE__ */ d(function() {
2522
+ return T;
2523
+ }, "getParentBoundaryParse"), W = /* @__PURE__ */ d(function(e) {
2524
+ return e == null ? S : S.filter((t) => t.parentBoundary === e);
2525
+ }, "getC4ShapeArray"), G = /* @__PURE__ */ d(function(e) {
2526
+ return S.find((t) => t.alias === e);
2527
+ }, "getC4Shape"), K = /* @__PURE__ */ d(function(e) {
2528
+ return Object.keys(W(e));
2529
+ }, "getC4ShapeKeys"), q = /* @__PURE__ */ d(function(e) {
2530
+ return e == null ? E : E.filter((t) => t.parentBoundary === e);
2531
+ }, "getBoundaries"), oe = q, se = /* @__PURE__ */ d(function() {
2532
+ return D;
2533
+ }, "getRels"), ce = /* @__PURE__ */ d(function() {
2534
+ return O;
2535
+ }, "getTitle"), le = /* @__PURE__ */ d(function(e) {
2536
+ k = e;
2537
+ }, "setWrap"), J = /* @__PURE__ */ d(function() {
2538
+ return k;
2539
+ }, "autoWrap"), ue = {
2540
+ addPersonOrSystem: I,
2541
+ addPersonOrSystemBoundary: ee,
2542
+ addContainer: L,
2543
+ addContainerBoundary: te,
2544
+ addComponent: R,
2545
+ addDeploymentNode: ne,
2546
+ popBoundaryParseStack: z,
2547
+ addRel: F,
2548
+ updateElStyle: B,
2549
+ updateRelStyle: V,
2550
+ updateLayoutConfig: H,
2551
+ autoWrap: J,
2552
+ setWrap: le,
2553
+ getC4ShapeArray: W,
2554
+ getC4Shape: G,
2555
+ getC4ShapeKeys: K,
2556
+ getBoundaries: q,
2557
+ getBoundarys: oe,
2558
+ getCurrentBoundaryParse: ae,
2559
+ getParentBoundaryParse: U,
2560
+ getRels: se,
2561
+ getTitle: ce,
2562
+ getC4Type: N,
2563
+ getC4ShapeInRow: re,
2564
+ getC4BoundaryInRow: ie,
2565
+ setAccTitle: n,
2566
+ getAccTitle: l,
2567
+ getAccDescription: r,
2568
+ setAccDescription: e,
2569
+ getConfig: /* @__PURE__ */ d(() => i().c4, "getConfig"),
2570
+ clear: /* @__PURE__ */ d(function() {
2571
+ S = [], E = [{
2572
+ alias: "global",
2573
+ label: { text: "global" },
2574
+ type: { text: "global" },
2575
+ tags: null,
2576
+ link: null,
2577
+ parentBoundary: ""
2578
+ }], T = "", w = "global", C = [""], D = [], C = [""], O = "", k = !1, A = 4, j = 2;
2579
+ }, "clear"),
2580
+ LINETYPE: {
2581
+ SOLID: 0,
2582
+ DOTTED: 1,
2583
+ NOTE: 2,
2584
+ SOLID_CROSS: 3,
2585
+ DOTTED_CROSS: 4,
2586
+ SOLID_OPEN: 5,
2587
+ DOTTED_OPEN: 6,
2588
+ LOOP_START: 10,
2589
+ LOOP_END: 11,
2590
+ ALT_START: 12,
2591
+ ALT_ELSE: 13,
2592
+ ALT_END: 14,
2593
+ OPT_START: 15,
2594
+ OPT_END: 16,
2595
+ ACTIVE_START: 17,
2596
+ ACTIVE_END: 18,
2597
+ PAR_START: 19,
2598
+ PAR_AND: 20,
2599
+ PAR_END: 21,
2600
+ RECT_START: 22,
2601
+ RECT_END: 23,
2602
+ SOLID_POINT: 24,
2603
+ DOTTED_POINT: 25
2604
+ },
2605
+ ARROWTYPE: {
2606
+ FILLED: 0,
2607
+ OPEN: 1
2608
+ },
2609
+ PLACEMENT: {
2610
+ LEFTOF: 0,
2611
+ RIGHTOF: 1,
2612
+ OVER: 2
2613
+ },
2614
+ setTitle: /* @__PURE__ */ d(function(e) {
2615
+ O = t(e, i());
2616
+ }, "setTitle"),
2617
+ setC4Type: P
2618
+ }, de = /* @__PURE__ */ d(function(e, t) {
2619
+ return _(e, t);
2620
+ }, "drawRect"), fe = /* @__PURE__ */ d(function(e, t, n, r, i, a) {
2621
+ let o = e.append("image");
2622
+ o.attr("width", t), o.attr("height", n), o.attr("x", r), o.attr("y", i);
2623
+ let s = a.startsWith("data:image/png;base64") ? a : (0, y.sanitizeUrl)(a);
2624
+ o.attr("xlink:href", s);
2625
+ }, "drawImage"), pe = /* @__PURE__ */ d((e, t, n, r) => {
2626
+ let i = e.append("g"), a = 0;
2627
+ for (let e of t) {
2628
+ let t = e.textColor ? e.textColor : "#444444", o = e.lineColor ? e.lineColor : "#444444", s = e.offsetX ? parseInt(e.offsetX) : 0, l = e.offsetY ? parseInt(e.offsetY) : 0;
2629
+ if (a === 0) {
2630
+ let t = i.append("line");
2631
+ t.attr("x1", e.startPoint.x), t.attr("y1", e.startPoint.y), t.attr("x2", e.endPoint.x), t.attr("y2", e.endPoint.y), t.attr("stroke-width", "1"), t.attr("stroke", o), t.style("fill", "none"), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)"), a = -1;
2632
+ } else {
2633
+ let t = i.append("path");
2634
+ t.attr("fill", "none").attr("stroke-width", "1").attr("stroke", o).attr("d", "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", e.startPoint.x).replaceAll("starty", e.startPoint.y).replaceAll("controlx", e.startPoint.x + (e.endPoint.x - e.startPoint.x) / 2 - (e.endPoint.x - e.startPoint.x) / 4).replaceAll("controly", e.startPoint.y + (e.endPoint.y - e.startPoint.y) / 2).replaceAll("stopx", e.endPoint.x).replaceAll("stopy", e.endPoint.y)), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)");
2635
+ }
2636
+ let u = n.messageFont();
2637
+ Y(n)(e.label.text, i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + l, e.label.width, e.label.height, { fill: t }, u), e.techn && e.techn.text !== "" && (u = n.messageFont(), Y(n)("[" + e.techn.text + "]", i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + n.messageFontSize + 5 + l, Math.max(e.label.width, e.techn.width), e.techn.height, {
2638
+ fill: t,
2639
+ "font-style": "italic"
2640
+ }, u));
2641
+ }
2642
+ }, "drawRels"), me = /* @__PURE__ */ d(function(e, t, n) {
2643
+ let r = e.append("g"), i = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", o = t.fontColor ? t.fontColor : "black", s = {
2644
+ "stroke-width": 1,
2645
+ "stroke-dasharray": "7.0,7.0"
2646
+ };
2647
+ t.nodeType && (s = { "stroke-width": 1 }), de(r, {
2648
+ x: t.x,
2649
+ y: t.y,
2650
+ fill: i,
2651
+ stroke: a,
2652
+ width: t.width,
2653
+ height: t.height,
2654
+ rx: 2.5,
2655
+ ry: 2.5,
2656
+ attrs: s
2657
+ });
2658
+ let l = n.boundaryFont();
2659
+ l.fontWeight = "bold", l.fontSize += 2, l.fontColor = o, Y(n)(t.label.text, r, t.x, t.y + t.label.Y, t.width, t.height, { fill: "#444444" }, l), t.type && t.type.text !== "" && (l = n.boundaryFont(), l.fontColor = o, Y(n)(t.type.text, r, t.x, t.y + t.type.Y, t.width, t.height, { fill: "#444444" }, l)), t.descr && t.descr.text !== "" && (l = n.boundaryFont(), l.fontSize -= 2, l.fontColor = o, Y(n)(t.descr.text, r, t.x, t.y + t.descr.Y, t.width, t.height, { fill: "#444444" }, l));
2660
+ }, "drawBoundary"), he = /* @__PURE__ */ d(function(e, t, n) {
2661
+ let r = t.bgColor ? t.bgColor : n[t.typeC4Shape.text + "_bg_color"], i = t.borderColor ? t.borderColor : n[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
2662
+ switch (t.typeC4Shape.text) {
2663
+ case "person":
2664
+ o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
2665
+ break;
2666
+ case "external_person":
2667
+ o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
2668
+ break;
2669
+ }
2670
+ let s = e.append("g");
2671
+ s.attr("class", "person-man");
2672
+ let l = v();
2673
+ switch (t.typeC4Shape.text) {
2674
+ case "person":
2675
+ case "external_person":
2676
+ case "system":
2677
+ case "external_system":
2678
+ case "container":
2679
+ case "external_container":
2680
+ case "component":
2681
+ case "external_component":
2682
+ l.x = t.x, l.y = t.y, l.fill = r, l.width = t.width, l.height = t.height, l.stroke = i, l.rx = 2.5, l.ry = 2.5, l.attrs = { "stroke-width": .5 }, de(s, l);
2683
+ break;
2684
+ case "system_db":
2685
+ case "external_system_db":
2686
+ case "container_db":
2687
+ case "external_container_db":
2688
+ case "component_db":
2689
+ case "external_component_db":
2690
+ s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2));
2691
+ break;
2692
+ case "system_queue":
2693
+ case "external_system_queue":
2694
+ case "container_queue":
2695
+ case "external_container_queue":
2696
+ case "component_queue":
2697
+ case "external_component_queue":
2698
+ s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2));
2699
+ break;
2700
+ }
2701
+ let u = Ce(n, t.typeC4Shape.text);
2702
+ switch (s.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
2703
+ case "person":
2704
+ case "external_person":
2705
+ fe(s, 48, 48, t.x + t.width / 2 - 24, t.y + t.image.Y, o);
2706
+ break;
2707
+ }
2708
+ let d = n[t.typeC4Shape.text + "Font"]();
2709
+ return d.fontWeight = "bold", d.fontSize += 2, d.fontColor = a, Y(n)(t.label.text, s, t.x, t.y + t.label.Y, t.width, t.height, { fill: a }, d), d = n[t.typeC4Shape.text + "Font"](), d.fontColor = a, t.techn && t.techn?.text !== "" ? Y(n)(t.techn.text, s, t.x, t.y + t.techn.Y, t.width, t.height, {
2710
+ fill: a,
2711
+ "font-style": "italic"
2712
+ }, d) : t.type && t.type.text !== "" && Y(n)(t.type.text, s, t.x, t.y + t.type.Y, t.width, t.height, {
2713
+ fill: a,
2714
+ "font-style": "italic"
2715
+ }, d), t.descr && t.descr.text !== "" && (d = n.personFont(), d.fontColor = a, Y(n)(t.descr.text, s, t.x, t.y + t.descr.Y, t.width, t.height, { fill: a }, d)), t.height;
2716
+ }, "drawC4Shape"), ge = /* @__PURE__ */ d(function(e, t) {
2717
+ e.append("defs").append("symbol").attr("id", t + "-database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr("d", "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");
2718
+ }, "insertDatabaseIcon"), _e = /* @__PURE__ */ d(function(e, t) {
2719
+ e.append("defs").append("symbol").attr("id", t + "-computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");
2720
+ }, "insertComputerIcon"), ve = /* @__PURE__ */ d(function(e, t) {
2721
+ e.append("defs").append("symbol").attr("id", t + "-clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");
2722
+ }, "insertClockIcon"), ye = /* @__PURE__ */ d(function(e, t) {
2723
+ e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
2724
+ }, "insertArrowHead"), be = /* @__PURE__ */ d(function(e, t) {
2725
+ e.append("defs").append("marker").attr("id", t + "-arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
2726
+ }, "insertArrowEnd"), xe = /* @__PURE__ */ d(function(e, t) {
2727
+ e.append("defs").append("marker").attr("id", t + "-filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
2728
+ }, "insertArrowFilledHead"), Se = /* @__PURE__ */ d(function(e, t) {
2729
+ let n = e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
2730
+ n.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), n.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
2731
+ }, "insertArrowCrossHead"), Ce = /* @__PURE__ */ d((e, t) => ({
2732
+ fontFamily: e[t + "FontFamily"],
2733
+ fontSize: e[t + "FontSize"],
2734
+ fontWeight: e[t + "FontWeight"]
2735
+ }), "getC4ShapeFont"), Y = /* @__PURE__ */ (function() {
2736
+ function e(e, t, n, i, a, o, s) {
2737
+ r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("text-anchor", "middle").text(e), s);
2738
+ }
2739
+ d(e, "byText");
2740
+ function t(e, t, n, i, a, o, l, u) {
2741
+ let { fontSize: d, fontFamily: f, fontWeight: p } = u, m = e.split(s.lineBreakRegex);
2742
+ for (let e = 0; e < m.length; e++) {
2743
+ let o = e * d - d * (m.length - 1) / 2, s = t.append("text").attr("x", n + a / 2).attr("y", i).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", d).style("font-weight", p).style("font-family", f);
2744
+ s.append("tspan").attr("dy", o).text(m[e]).attr("alignment-baseline", "mathematical"), r(s, l);
2745
+ }
2746
+ }
2747
+ d(t, "byTspan");
2748
+ function n(e, n, i, a, o, s, l, u) {
2749
+ let d = n.append("switch"), f = d.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
2750
+ f.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, d, i, a, o, s, l, u), r(f, l);
2751
+ }
2752
+ d(n, "byFo");
2753
+ function r(e, t) {
2754
+ for (let n in t) t.hasOwnProperty(n) && e.attr(n, t[n]);
2755
+ }
2756
+ return d(r, "_setTextAttrs"), function(r) {
2757
+ return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
2758
+ };
2759
+ })(), X = {
2760
+ drawRect: de,
2761
+ drawBoundary: me,
2762
+ drawC4Shape: he,
2763
+ drawRels: pe,
2764
+ drawImage: fe,
2765
+ insertArrowHead: ye,
2766
+ insertArrowEnd: be,
2767
+ insertArrowFilledHead: xe,
2768
+ insertArrowCrossHead: Se,
2769
+ insertDatabaseIcon: ge,
2770
+ insertComputerIcon: _e,
2771
+ insertClockIcon: ve
2772
+ }, we = 0, Te = 0, Ee = 4, De = 2;
2773
+ b.yy = ue;
2774
+ var Z = {}, Oe = class {
2775
+ static {
2776
+ d(this, "Bounds");
2777
+ }
2778
+ constructor(e) {
2779
+ this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, ke(e.db.getConfig());
2780
+ }
2781
+ setData(e, t, n, r) {
2782
+ this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = n, this.nextData.stopy = this.data.stopy = r;
2783
+ }
2784
+ updateVal(e, t, n, r) {
2785
+ e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
2786
+ }
2787
+ insert(e) {
2788
+ this.nextData.cnt = this.nextData.cnt + 1;
2789
+ let t = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + e.margin : this.nextData.stopx + e.margin * 2, n = t + e.width, r = this.nextData.starty + e.margin * 2, i = r + e.height;
2790
+ (t >= this.data.widthLimit || n >= this.data.widthLimit || this.nextData.cnt > Ee) && (t = this.nextData.startx + e.margin + Z.nextLinePaddingX, r = this.nextData.stopy + e.margin * 2, this.nextData.stopx = n = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = i = r + e.height, this.nextData.cnt = 1), e.x = t, e.y = r, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", r, Math.min), this.updateVal(this.data, "stopx", n, Math.max), this.updateVal(this.data, "stopy", i, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", r, Math.min), this.updateVal(this.nextData, "stopx", n, Math.max), this.updateVal(this.nextData, "stopy", i, Math.max);
2791
+ }
2792
+ init(e) {
2793
+ this.name = "", this.data = {
2794
+ startx: void 0,
2795
+ stopx: void 0,
2796
+ starty: void 0,
2797
+ stopy: void 0,
2798
+ widthLimit: void 0
2799
+ }, this.nextData = {
2800
+ startx: void 0,
2801
+ stopx: void 0,
2802
+ starty: void 0,
2803
+ stopy: void 0,
2804
+ cnt: 0
2805
+ }, ke(e.db.getConfig());
2806
+ }
2807
+ bumpLastMargin(e) {
2808
+ this.data.stopx += e, this.data.stopy += e;
2809
+ }
2810
+ }, ke = /* @__PURE__ */ d(function(e) {
2811
+ o(Z, e), e.fontFamily && (Z.personFontFamily = Z.systemFontFamily = Z.messageFontFamily = e.fontFamily), e.fontSize && (Z.personFontSize = Z.systemFontSize = Z.messageFontSize = e.fontSize), e.fontWeight && (Z.personFontWeight = Z.systemFontWeight = Z.messageFontWeight = e.fontWeight);
2812
+ }, "setConf"), Ae = /* @__PURE__ */ d((e, t) => ({
2813
+ fontFamily: e[t + "FontFamily"],
2814
+ fontSize: e[t + "FontSize"],
2815
+ fontWeight: e[t + "FontWeight"]
2816
+ }), "c4ShapeFont"), je = /* @__PURE__ */ d((e) => ({
2817
+ fontFamily: e.boundaryFontFamily,
2818
+ fontSize: e.boundaryFontSize,
2819
+ fontWeight: e.boundaryFontWeight
2820
+ }), "boundaryFont"), Me = /* @__PURE__ */ d((e) => ({
2821
+ fontFamily: e.messageFontFamily,
2822
+ fontSize: e.messageFontSize,
2823
+ fontWeight: e.messageFontWeight
2824
+ }), "messageFont");
2825
+ function Q(e, t, n, r, i) {
2826
+ if (!t[e].width) if (n) t[e].text = m(t[e].text, i, r), t[e].textLines = t[e].text.split(s.lineBreakRegex).length, t[e].width = i, t[e].height = g(t[e].text, r);
2827
+ else {
2828
+ let n = t[e].text.split(s.lineBreakRegex);
2829
+ t[e].textLines = n.length;
2830
+ let i = 0;
2831
+ t[e].height = 0, t[e].width = 0;
2832
+ for (let a of n) t[e].width = Math.max(h(a, r), t[e].width), i = g(a, r), t[e].height = t[e].height + i;
2833
+ }
2834
+ }
2835
+ d(Q, "calcC4ShapeTextWH");
2836
+ var Ne = /* @__PURE__ */ d(function(e, t, n) {
2837
+ t.x = n.data.startx, t.y = n.data.starty, t.width = n.data.stopx - n.data.startx, t.height = n.data.stopy - n.data.starty, t.label.y = Z.c4ShapeMargin - 35;
2838
+ let r = t.wrap && Z.wrap, i = je(Z);
2839
+ i.fontSize += 2, i.fontWeight = "bold", Q("label", t, r, i, h(t.label.text, i)), X.drawBoundary(e, t, Z);
2840
+ }, "drawBoundary"), Pe = /* @__PURE__ */ d(function(e, t, n, r) {
2841
+ let i = 0;
2842
+ for (let a of r) {
2843
+ i = 0;
2844
+ let r = n[a], o = Ae(Z, r.typeC4Shape.text);
2845
+ switch (o.fontSize -= 2, r.typeC4Shape.width = h("«" + r.typeC4Shape.text + "»", o), r.typeC4Shape.height = o.fontSize + 2, r.typeC4Shape.Y = Z.c4ShapePadding, i = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = {
2846
+ width: 0,
2847
+ height: 0,
2848
+ Y: 0
2849
+ }, r.typeC4Shape.text) {
2850
+ case "person":
2851
+ case "external_person":
2852
+ r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height;
2853
+ break;
2854
+ }
2855
+ r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height);
2856
+ let s = r.wrap && Z.wrap, l = Z.width - Z.c4ShapePadding * 2, u = Ae(Z, r.typeC4Shape.text);
2857
+ u.fontSize += 2, u.fontWeight = "bold", Q("label", r, s, u, l), r.label.Y = i + 8, i = r.label.Y + r.label.height, r.type && r.type.text !== "" ? (r.type.text = "[" + r.type.text + "]", Q("type", r, s, Ae(Z, r.typeC4Shape.text), l), r.type.Y = i + 5, i = r.type.Y + r.type.height) : r.techn && r.techn.text !== "" && (r.techn.text = "[" + r.techn.text + "]", Q("techn", r, s, Ae(Z, r.techn.text), l), r.techn.Y = i + 5, i = r.techn.Y + r.techn.height);
2858
+ let d = i, f = r.label.width;
2859
+ r.descr && r.descr.text !== "" && (Q("descr", r, s, Ae(Z, r.typeC4Shape.text), l), r.descr.Y = i + 20, i = r.descr.Y + r.descr.height, f = Math.max(r.label.width, r.descr.width), d = i - r.descr.textLines * 5), f += Z.c4ShapePadding, r.width = Math.max(r.width || Z.width, f, Z.width), r.height = Math.max(r.height || Z.height, d, Z.height), r.margin = r.margin || Z.c4ShapeMargin, e.insert(r), X.drawC4Shape(t, r, Z);
2860
+ }
2861
+ e.bumpLastMargin(Z.c4ShapeMargin);
2862
+ }, "drawC4ShapeArray"), $ = class {
2863
+ static {
2864
+ d(this, "Point");
2865
+ }
2866
+ constructor(e, t) {
2867
+ this.x = e, this.y = t;
2868
+ }
2869
+ }, Fe = /* @__PURE__ */ d(function(e, t) {
2870
+ let n = e.x, r = e.y, i = t.x, a = t.y, o = n + e.width / 2, s = r + e.height / 2, l = Math.abs(n - i), u = Math.abs(r - a), d = u / l, f = e.height / e.width, p = null;
2871
+ return r == a && n < i ? p = new $(n + e.width, s) : r == a && n > i ? p = new $(n, s) : n == i && r < a ? p = new $(o, r + e.height) : n == i && r > a && (p = new $(o, r)), n > i && r < a ? p = f >= d ? new $(n, s + d * e.width / 2) : new $(o - l / u * e.height / 2, r + e.height) : n < i && r < a ? p = f >= d ? new $(n + e.width, s + d * e.width / 2) : new $(o + l / u * e.height / 2, r + e.height) : n < i && r > a ? p = f >= d ? new $(n + e.width, s - d * e.width / 2) : new $(o + e.height / 2 * l / u, r) : n > i && r > a && (p = f >= d ? new $(n, s - e.width / 2 * d) : new $(o - e.height / 2 * l / u, r)), p;
2872
+ }, "getIntersectPoint"), Ie = /* @__PURE__ */ d(function(e, t) {
2873
+ let n = {
2874
+ x: 0,
2875
+ y: 0
2876
+ };
2877
+ n.x = t.x + t.width / 2, n.y = t.y + t.height / 2;
2878
+ let r = Fe(e, n);
2879
+ return n.x = e.x + e.width / 2, n.y = e.y + e.height / 2, {
2880
+ startPoint: r,
2881
+ endPoint: Fe(t, n)
2882
+ };
2883
+ }, "getIntersectPoints"), Le = /* @__PURE__ */ d(function(e, t, n, r, i) {
2884
+ let a = 0;
2885
+ for (let e of t) {
2886
+ a += 1;
2887
+ let t = e.wrap && Z.wrap, i = Me(Z);
2888
+ r.db.getC4Type() === "C4Dynamic" && (e.label.text = a + ": " + e.label.text);
2889
+ let o = h(e.label.text, i);
2890
+ Q("label", e, t, i, o), e.techn && e.techn.text !== "" && (o = h(e.techn.text, i), Q("techn", e, t, i, o)), e.descr && e.descr.text !== "" && (o = h(e.descr.text, i), Q("descr", e, t, i, o));
2891
+ let s = Ie(n(e.from), n(e.to));
2892
+ e.startPoint = s.startPoint, e.endPoint = s.endPoint;
2893
+ }
2894
+ X.drawRels(e, t, Z, i);
2895
+ }, "drawRels");
2896
+ function Re(e, t, n, r, i) {
2897
+ let a = new Oe(i);
2898
+ a.data.widthLimit = n.data.widthLimit / Math.min(De, r.length);
2899
+ for (let [o, s] of r.entries()) {
2900
+ let r = 0;
2901
+ s.image = {
2902
+ width: 0,
2903
+ height: 0,
2904
+ Y: 0
2905
+ }, s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = r, r = s.image.Y + s.image.height);
2906
+ let l = s.wrap && Z.wrap, u = je(Z);
2907
+ if (u.fontSize += 2, u.fontWeight = "bold", Q("label", s, l, u, a.data.widthLimit), s.label.Y = r + 8, r = s.label.Y + s.label.height, s.type && s.type.text !== "" && (s.type.text = "[" + s.type.text + "]", Q("type", s, l, je(Z), a.data.widthLimit), s.type.Y = r + 5, r = s.type.Y + s.type.height), s.descr && s.descr.text !== "") {
2908
+ let e = je(Z);
2909
+ e.fontSize -= 2, Q("descr", s, l, e, a.data.widthLimit), s.descr.Y = r + 20, r = s.descr.Y + s.descr.height;
2910
+ }
2911
+ if (o == 0 || o % De === 0) {
2912
+ let e = n.data.startx + Z.diagramMarginX, t = n.data.stopy + Z.diagramMarginY + r;
2913
+ a.setData(e, e, t, t);
2914
+ } else {
2915
+ let e = a.data.stopx === a.data.startx ? a.data.startx : a.data.stopx + Z.diagramMarginX, t = a.data.starty;
2916
+ a.setData(e, e, t, t);
2917
+ }
2918
+ a.name = s.alias;
2919
+ let d = i.db.getC4ShapeArray(s.alias), f = i.db.getC4ShapeKeys(s.alias);
2920
+ f.length > 0 && Pe(a, e, d, f), t = s.alias;
2921
+ let p = i.db.getBoundaries(t);
2922
+ p.length > 0 && Re(e, t, a, p, i), s.alias !== "global" && Ne(e, s, a), n.data.stopy = Math.max(a.data.stopy + Z.c4ShapeMargin, n.data.stopy), n.data.stopx = Math.max(a.data.stopx + Z.c4ShapeMargin, n.data.stopx), we = Math.max(we, n.data.stopx), Te = Math.max(Te, n.data.stopy);
2923
+ }
2924
+ }
2925
+ d(Re, "drawInsideBoundary");
2926
+ var ze = {
2927
+ drawPersonOrSystemArray: Pe,
2928
+ drawBoundary: Ne,
2929
+ setConf: ke,
2930
+ draw: /* @__PURE__ */ d(function(e, t, n, r) {
2931
+ Z = i().c4;
2932
+ let o = i().securityLevel, s;
2933
+ o === "sandbox" && (s = f("#i" + t));
2934
+ let l = f(o === "sandbox" ? s.nodes()[0].contentDocument.body : "body"), d = r.db;
2935
+ r.db.setWrap(Z.wrap), Ee = d.getC4ShapeInRow(), De = d.getC4BoundaryInRow(), u.debug(`C:${JSON.stringify(Z, null, 2)}`);
2936
+ let p = o === "sandbox" ? l.select(`[id="${t}"]`) : f(`[id="${t}"]`);
2937
+ X.insertComputerIcon(p, t), X.insertDatabaseIcon(p, t), X.insertClockIcon(p, t);
2938
+ let m = new Oe(r);
2939
+ m.setData(Z.diagramMarginX, Z.diagramMarginX, Z.diagramMarginY, Z.diagramMarginY), m.data.widthLimit = screen.availWidth, we = Z.diagramMarginX, Te = Z.diagramMarginY;
2940
+ let h = r.db.getTitle();
2941
+ Re(p, "", m, r.db.getBoundaries(""), r), X.insertArrowHead(p, t), X.insertArrowEnd(p, t), X.insertArrowCrossHead(p, t), X.insertArrowFilledHead(p, t), Le(p, r.db.getRels(), r.db.getC4Shape, r, t), m.data.stopx = we, m.data.stopy = Te;
2942
+ let g = m.data, _ = g.stopy - g.starty + 2 * Z.diagramMarginY, v = g.stopx - g.startx + 2 * Z.diagramMarginX;
2943
+ h && p.append("text").text(h).attr("x", (g.stopx - g.startx) / 2 - 4 * Z.diagramMarginX).attr("y", g.starty + Z.diagramMarginY), a(p, _, v, Z.useMaxWidth);
2944
+ let y = h ? 60 : 0;
2945
+ p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), u.debug("models:", g);
2946
+ }, "draw")
2947
+ }, Be = {
2948
+ parser: x,
2949
+ db: ue,
2950
+ renderer: ze,
2951
+ styles: /* @__PURE__ */ d((e) => `.person {
2952
+ stroke: ${e.personBorder};
2953
+ fill: ${e.personBkg};
2954
+ }
2955
+ `, "getStyles"),
2956
+ init: /* @__PURE__ */ d(({ c4: e, wrap: t }) => {
2957
+ ze.setConf(e), ue.setWrap(t);
2958
+ }, "init")
2959
+ };
2960
+ //#endregion
2961
+ export { Be as diagram };