@bkm016/basalt 0.1.16 → 0.1.17

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 (534) hide show
  1. package/{chunk-9ymm1gge.js → chunk-9jtvj8md.js} +202 -202
  2. package/compiled.js +1 -1
  3. package/package.json +1 -1
  4. package/web/{chunk-75meb0dh.js → chunk-013et20n.js} +2 -2
  5. package/web/chunk-013et20n.js.br +0 -0
  6. package/web/chunk-013et20n.js.gz +0 -0
  7. package/web/chunk-0ernj3c0.js +1 -0
  8. package/web/chunk-0ernj3c0.js.br +0 -0
  9. package/web/chunk-0ernj3c0.js.gz +0 -0
  10. package/web/chunk-0j65yg1p.js +1 -0
  11. package/web/chunk-0j65yg1p.js.br +0 -0
  12. package/web/chunk-0j65yg1p.js.gz +0 -0
  13. package/web/chunk-0khcpaa8.js +1 -0
  14. package/web/chunk-0khcpaa8.js.br +0 -0
  15. package/web/chunk-0khcpaa8.js.gz +0 -0
  16. package/web/chunk-0wbdd74r.js +1 -0
  17. package/web/chunk-0wbdd74r.js.br +2 -0
  18. package/web/chunk-0wbdd74r.js.gz +0 -0
  19. package/web/chunk-1f2wvhq9.js +1 -0
  20. package/web/chunk-1f2wvhq9.js.br +0 -0
  21. package/web/chunk-1f2wvhq9.js.gz +0 -0
  22. package/web/{chunk-75kzvpf3.js → chunk-1q2kmv35.js} +18 -18
  23. package/web/chunk-1q2kmv35.js.br +0 -0
  24. package/web/chunk-1q2kmv35.js.gz +0 -0
  25. package/web/{chunk-36e78034.js → chunk-1tfrm3pk.js} +2 -2
  26. package/web/chunk-1tfrm3pk.js.br +0 -0
  27. package/web/chunk-1tfrm3pk.js.gz +0 -0
  28. package/web/chunk-2qt5fy5n.js +1 -0
  29. package/web/chunk-2qt5fy5n.js.br +0 -0
  30. package/web/chunk-2qt5fy5n.js.gz +0 -0
  31. package/web/chunk-2sxtb709.js +1 -0
  32. package/web/chunk-2sxtb709.js.br +0 -0
  33. package/web/chunk-2sxtb709.js.gz +0 -0
  34. package/web/chunk-2wrwm0qe.js +1 -0
  35. package/web/chunk-2wrwm0qe.js.br +0 -0
  36. package/web/chunk-2wrwm0qe.js.gz +0 -0
  37. package/web/{chunk-5sss3r97.js → chunk-2wwj27b9.js} +3 -3
  38. package/web/chunk-2wwj27b9.js.br +0 -0
  39. package/web/chunk-2wwj27b9.js.gz +0 -0
  40. package/web/chunk-33mmrjdp.js +1 -0
  41. package/web/chunk-33mmrjdp.js.br +2 -0
  42. package/web/chunk-33mmrjdp.js.gz +0 -0
  43. package/web/chunk-33tb7q04.js +2 -0
  44. package/web/chunk-33tb7q04.js.br +0 -0
  45. package/web/chunk-33tb7q04.js.gz +0 -0
  46. package/web/chunk-3txb4sha.js +1 -0
  47. package/web/chunk-3txb4sha.js.br +0 -0
  48. package/web/chunk-3txb4sha.js.gz +0 -0
  49. package/web/{chunk-n3f5a91k.js → chunk-3xgfsx7y.js} +2 -2
  50. package/web/chunk-3xgfsx7y.js.br +0 -0
  51. package/web/chunk-3xgfsx7y.js.gz +0 -0
  52. package/web/chunk-40jka4r7.js +2 -0
  53. package/web/chunk-40jka4r7.js.br +0 -0
  54. package/web/chunk-40jka4r7.js.gz +0 -0
  55. package/web/{chunk-mcm3t5wr.js → chunk-41vh5n86.js} +1 -1
  56. package/web/chunk-41vh5n86.js.br +0 -0
  57. package/web/chunk-41vh5n86.js.gz +0 -0
  58. package/web/chunk-4wd9r73y.js.br +0 -0
  59. package/web/chunk-4wd9r73y.js.gz +0 -0
  60. package/web/chunk-5kz048x3.js +2 -0
  61. package/web/chunk-5kz048x3.js.br +0 -0
  62. package/web/chunk-5kz048x3.js.gz +0 -0
  63. package/web/chunk-5mbz8yj9.js +3 -0
  64. package/web/chunk-5mbz8yj9.js.br +0 -0
  65. package/web/chunk-5mbz8yj9.js.gz +0 -0
  66. package/web/chunk-6024wfxb.js +30 -0
  67. package/web/chunk-6024wfxb.js.br +0 -0
  68. package/web/chunk-6024wfxb.js.gz +0 -0
  69. package/web/chunk-6ey4c6gw.js +2 -0
  70. package/web/chunk-6ey4c6gw.js.br +0 -0
  71. package/web/chunk-6ey4c6gw.js.gz +0 -0
  72. package/web/chunk-6q3p851n.js +1 -0
  73. package/web/chunk-6q3p851n.js.br +2 -0
  74. package/web/chunk-6q3p851n.js.gz +0 -0
  75. package/web/{chunk-qbhv18t0.js → chunk-74g3wh08.js} +2 -2
  76. package/web/chunk-74g3wh08.js.br +0 -0
  77. package/web/chunk-74g3wh08.js.gz +0 -0
  78. package/web/{chunk-vcnsvj49.js → chunk-78akzkgs.js} +14 -14
  79. package/web/chunk-78akzkgs.js.br +0 -0
  80. package/web/chunk-78akzkgs.js.gz +0 -0
  81. package/web/chunk-7ck99bsp.js +62 -0
  82. package/web/chunk-7ck99bsp.js.br +0 -0
  83. package/web/chunk-7ck99bsp.js.gz +0 -0
  84. package/web/chunk-7fjbyns9.js +1 -0
  85. package/web/chunk-7fjbyns9.js.br +0 -0
  86. package/web/chunk-7fjbyns9.js.gz +0 -0
  87. package/web/chunk-7n6b2xra.js +21 -0
  88. package/web/chunk-7n6b2xra.js.br +0 -0
  89. package/web/chunk-7n6b2xra.js.gz +0 -0
  90. package/web/chunk-7p4mcqkd.js +78 -0
  91. package/web/chunk-7p4mcqkd.js.br +0 -0
  92. package/web/chunk-7p4mcqkd.js.gz +0 -0
  93. package/web/chunk-7ztwkhg5.js +1 -0
  94. package/web/chunk-7ztwkhg5.js.br +0 -0
  95. package/web/chunk-7ztwkhg5.js.gz +0 -0
  96. package/web/{chunk-t89tfrpj.js → chunk-823etvc3.js} +19 -19
  97. package/web/chunk-823etvc3.js.br +0 -0
  98. package/web/chunk-823etvc3.js.gz +0 -0
  99. package/web/{chunk-ps489yjy.js → chunk-8ec53vjd.js} +1 -1
  100. package/web/chunk-8ec53vjd.js.br +0 -0
  101. package/web/chunk-8ec53vjd.js.gz +0 -0
  102. package/web/chunk-8g239029.js.br +0 -0
  103. package/web/chunk-8g239029.js.gz +0 -0
  104. package/web/{chunk-p0jghn6b.js → chunk-8g55ytgz.js} +1 -1
  105. package/web/chunk-8g55ytgz.js.br +0 -0
  106. package/web/chunk-8g55ytgz.js.gz +0 -0
  107. package/web/chunk-8nxjthxc.js +1 -0
  108. package/web/chunk-8nxjthxc.js.br +0 -0
  109. package/web/chunk-8nxjthxc.js.gz +0 -0
  110. package/web/chunk-8q76yd76.js +291 -0
  111. package/web/chunk-8q76yd76.js.br +0 -0
  112. package/web/chunk-8q76yd76.js.gz +0 -0
  113. package/web/chunk-9kbrjmtz.js +1 -0
  114. package/web/chunk-9kbrjmtz.js.br +0 -0
  115. package/web/chunk-9kbrjmtz.js.gz +0 -0
  116. package/web/chunk-9s4bh6qm.js +40 -0
  117. package/web/chunk-9s4bh6qm.js.br +0 -0
  118. package/web/chunk-9s4bh6qm.js.gz +0 -0
  119. package/web/chunk-9v1f6yc8.js.br +0 -0
  120. package/web/chunk-9v1f6yc8.js.gz +0 -0
  121. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  122. package/web/chunk-9vf3zy3d.js.br +0 -0
  123. package/web/chunk-9vf3zy3d.js.gz +0 -0
  124. package/web/{chunk-ef03t1mb.js → chunk-a449xjq6.js} +6 -6
  125. package/web/chunk-a449xjq6.js.br +0 -0
  126. package/web/chunk-a449xjq6.js.gz +0 -0
  127. package/web/chunk-ad6x47yy.js.br +0 -0
  128. package/web/chunk-ad6x47yy.js.gz +0 -0
  129. package/web/chunk-b05eay33.js +1 -0
  130. package/web/chunk-b05eay33.js.br +0 -0
  131. package/web/chunk-b05eay33.js.gz +0 -0
  132. package/web/{chunk-tfsrk2rc.js → chunk-bdypt5mj.js} +55 -55
  133. package/web/chunk-bdypt5mj.js.br +0 -0
  134. package/web/chunk-bdypt5mj.js.gz +0 -0
  135. package/web/chunk-bvyjy17t.js +14 -0
  136. package/web/chunk-bvyjy17t.js.br +0 -0
  137. package/web/chunk-bvyjy17t.js.gz +0 -0
  138. package/web/{chunk-ctmxm4qd.js → chunk-ccy2q2z0.js} +2 -2
  139. package/web/chunk-ccy2q2z0.js.br +0 -0
  140. package/web/chunk-ccy2q2z0.js.gz +0 -0
  141. package/web/{chunk-wvt76598.js → chunk-ceg13tma.js} +2 -2
  142. package/web/chunk-ceg13tma.js.br +0 -0
  143. package/web/chunk-ceg13tma.js.gz +0 -0
  144. package/web/{chunk-z2hvvkf5.js → chunk-ch60a61d.js} +2 -2
  145. package/web/chunk-ch60a61d.js.br +0 -0
  146. package/web/chunk-ch60a61d.js.gz +0 -0
  147. package/web/chunk-czvdg0c5.js +1 -0
  148. package/web/chunk-czvdg0c5.js.br +0 -0
  149. package/web/chunk-czvdg0c5.js.gz +0 -0
  150. package/web/chunk-d18r4m14.js.br +0 -0
  151. package/web/chunk-d18r4m14.js.gz +0 -0
  152. package/web/chunk-dmqtdeb4.js.br +0 -0
  153. package/web/chunk-dmqtdeb4.js.gz +0 -0
  154. package/web/chunk-drr7mqg2.js +1 -0
  155. package/web/chunk-drr7mqg2.js.br +0 -0
  156. package/web/chunk-drr7mqg2.js.gz +0 -0
  157. package/web/{chunk-chh8bg2h.js → chunk-dsa5m3h6.js} +34 -34
  158. package/web/chunk-dsa5m3h6.js.br +0 -0
  159. package/web/chunk-dsa5m3h6.js.gz +0 -0
  160. package/web/chunk-dww3grm3.js +24 -0
  161. package/web/chunk-dww3grm3.js.br +0 -0
  162. package/web/chunk-dww3grm3.js.gz +0 -0
  163. package/web/chunk-e187gt5x.js +1 -0
  164. package/web/chunk-e187gt5x.js.br +0 -0
  165. package/web/chunk-e187gt5x.js.gz +0 -0
  166. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  167. package/web/chunk-emxa4wv3.js.br +0 -0
  168. package/web/chunk-emxa4wv3.js.gz +0 -0
  169. package/web/{chunk-gjchc4kg.js → chunk-ey0zwvbx.js} +1 -1
  170. package/web/chunk-ey0zwvbx.js.br +0 -0
  171. package/web/chunk-ey0zwvbx.js.gz +0 -0
  172. package/web/chunk-ey14knbn.js +2 -0
  173. package/web/chunk-ey14knbn.js.br +0 -0
  174. package/web/chunk-ey14knbn.js.gz +0 -0
  175. package/web/chunk-fba06jm8.js +1132 -0
  176. package/web/chunk-fba06jm8.js.br +0 -0
  177. package/web/chunk-fba06jm8.js.gz +0 -0
  178. package/web/chunk-fh56vgfx.js +39 -0
  179. package/web/chunk-fh56vgfx.js.br +0 -0
  180. package/web/chunk-fh56vgfx.js.gz +0 -0
  181. package/web/chunk-ft05x3my.js +169 -0
  182. package/web/chunk-ft05x3my.js.br +0 -0
  183. package/web/chunk-ft05x3my.js.gz +0 -0
  184. package/web/chunk-fzmrnh17.js +303 -0
  185. package/web/chunk-fzmrnh17.js.br +0 -0
  186. package/web/chunk-fzmrnh17.js.gz +0 -0
  187. package/web/{chunk-ybqt106a.js → chunk-gbt7asd7.js} +2 -2
  188. package/web/chunk-gbt7asd7.js.br +0 -0
  189. package/web/chunk-gbt7asd7.js.gz +0 -0
  190. package/web/chunk-gh9fkn3t.js +1 -0
  191. package/web/chunk-gh9fkn3t.js.br +2 -0
  192. package/web/chunk-gh9fkn3t.js.gz +0 -0
  193. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  194. package/web/chunk-h1syyjqq.js.br +0 -0
  195. package/web/chunk-h1syyjqq.js.gz +0 -0
  196. package/web/{chunk-mv5axm2y.js → chunk-h7byk4z3.js} +12 -12
  197. package/web/chunk-h7byk4z3.js.br +0 -0
  198. package/web/chunk-h7byk4z3.js.gz +0 -0
  199. package/web/chunk-hby0hkv4.js +1 -0
  200. package/web/chunk-hby0hkv4.js.br +0 -0
  201. package/web/chunk-hby0hkv4.js.gz +0 -0
  202. package/web/chunk-hjvsp2yx.js +1 -0
  203. package/web/chunk-hjvsp2yx.js.br +0 -0
  204. package/web/chunk-hjvsp2yx.js.gz +0 -0
  205. package/web/chunk-hp167dbv.js.br +0 -0
  206. package/web/chunk-hp167dbv.js.gz +0 -0
  207. package/web/{chunk-qwwqdmhv.js → chunk-hpjzy5ww.js} +1 -1
  208. package/web/chunk-hpjzy5ww.js.br +0 -0
  209. package/web/chunk-hpjzy5ww.js.gz +0 -0
  210. package/web/{chunk-1np2aamb.js → chunk-hzfp8kqx.js} +11 -11
  211. package/web/chunk-hzfp8kqx.js.br +0 -0
  212. package/web/chunk-hzfp8kqx.js.gz +0 -0
  213. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  214. package/web/chunk-j6jjk46a.js.br +0 -0
  215. package/web/chunk-j6jjk46a.js.gz +0 -0
  216. package/web/chunk-j8f0m1dq.js +1 -0
  217. package/web/chunk-j8f0m1dq.js.br +0 -0
  218. package/web/chunk-j8f0m1dq.js.gz +0 -0
  219. package/web/{chunk-t9pg7qf8.js → chunk-jc178ad5.js} +2 -2
  220. package/web/chunk-jc178ad5.js.br +0 -0
  221. package/web/chunk-jc178ad5.js.gz +0 -0
  222. package/web/chunk-jcsf0ke5.js +41 -0
  223. package/web/chunk-jcsf0ke5.js.br +0 -0
  224. package/web/chunk-jcsf0ke5.js.gz +0 -0
  225. package/web/chunk-jg43a2xk.js +139 -0
  226. package/web/chunk-jg43a2xk.js.br +0 -0
  227. package/web/chunk-jg43a2xk.js.gz +0 -0
  228. package/web/chunk-jrgdxqtq.js +7 -0
  229. package/web/chunk-jrgdxqtq.js.br +0 -0
  230. package/web/chunk-jrgdxqtq.js.gz +0 -0
  231. package/web/chunk-js8dvtfg.js +2 -0
  232. package/web/chunk-js8dvtfg.js.br +0 -0
  233. package/web/chunk-js8dvtfg.js.gz +0 -0
  234. package/web/chunk-jt0s9qs7.js +1 -0
  235. package/web/chunk-jt0s9qs7.js.br +0 -0
  236. package/web/chunk-jt0s9qs7.js.gz +0 -0
  237. package/web/chunk-jv5faf88.js +34 -0
  238. package/web/chunk-jv5faf88.js.br +0 -0
  239. package/web/chunk-jv5faf88.js.gz +0 -0
  240. package/web/{chunk-vb2z2azk.js → chunk-k295x81w.js} +79 -79
  241. package/web/chunk-k295x81w.js.br +0 -0
  242. package/web/chunk-k295x81w.js.gz +0 -0
  243. package/web/{chunk-wcj3bxdf.js → chunk-k3aa37pw.js} +2 -2
  244. package/web/chunk-k3aa37pw.js.br +0 -0
  245. package/web/chunk-k3aa37pw.js.gz +0 -0
  246. package/web/{chunk-wgmwgaw4.js → chunk-k6wxwgp1.js} +26 -26
  247. package/web/chunk-k6wxwgp1.js.br +0 -0
  248. package/web/chunk-k6wxwgp1.js.gz +0 -0
  249. package/web/chunk-k9vc7kp2.js +292 -0
  250. package/web/chunk-k9vc7kp2.js.br +0 -0
  251. package/web/chunk-k9vc7kp2.js.gz +0 -0
  252. package/web/chunk-kxyws7q7.js +1 -0
  253. package/web/chunk-kxyws7q7.js.br +0 -0
  254. package/web/chunk-kxyws7q7.js.gz +0 -0
  255. package/web/{chunk-c0hdp2zj.js → chunk-mcgf645h.js} +1 -1
  256. package/web/chunk-mcgf645h.js.br +4 -0
  257. package/web/chunk-mcgf645h.js.gz +0 -0
  258. package/web/{chunk-3gj2t10x.js → chunk-mj3tshy8.js} +31 -31
  259. package/web/chunk-mj3tshy8.js.br +0 -0
  260. package/web/chunk-mj3tshy8.js.gz +0 -0
  261. package/web/chunk-mnb2wdvy.js +24 -0
  262. package/web/chunk-mnb2wdvy.js.br +0 -0
  263. package/web/chunk-mnb2wdvy.js.gz +0 -0
  264. package/web/chunk-ndf58dgc.js +1 -0
  265. package/web/chunk-ndf58dgc.js.br +0 -0
  266. package/web/chunk-ndf58dgc.js.gz +0 -0
  267. package/web/chunk-nhpm5nd5.js +2 -0
  268. package/web/chunk-nhpm5nd5.js.br +0 -0
  269. package/web/chunk-nhpm5nd5.js.gz +0 -0
  270. package/web/chunk-nj0cv1cq.js.br +0 -0
  271. package/web/chunk-nj0cv1cq.js.gz +0 -0
  272. package/web/{chunk-0zyekjym.js → chunk-nwxjdetb.js} +1 -1
  273. package/web/chunk-nwxjdetb.js.br +0 -0
  274. package/web/chunk-nwxjdetb.js.gz +0 -0
  275. package/web/chunk-nyjfcard.js +106 -0
  276. package/web/chunk-nyjfcard.js.br +0 -0
  277. package/web/chunk-nyjfcard.js.gz +0 -0
  278. package/web/chunk-nzey7cpv.js.br +0 -0
  279. package/web/chunk-nzey7cpv.js.gz +0 -0
  280. package/web/{chunk-g8wy9sa6.js → chunk-pcfjcy3a.js} +23 -23
  281. package/web/chunk-pcfjcy3a.js.br +0 -0
  282. package/web/chunk-pcfjcy3a.js.gz +0 -0
  283. package/web/chunk-pry6wdbe.js +1 -0
  284. package/web/chunk-pry6wdbe.js.br +0 -0
  285. package/web/chunk-pry6wdbe.js.gz +0 -0
  286. package/web/chunk-pvahdcgy.js +2 -0
  287. package/web/chunk-pvahdcgy.js.br +0 -0
  288. package/web/chunk-pvahdcgy.js.gz +0 -0
  289. package/web/{chunk-ffn1a0zw.js → chunk-q3njnnef.js} +2 -2
  290. package/web/chunk-q3njnnef.js.br +0 -0
  291. package/web/chunk-q3njnnef.js.gz +0 -0
  292. package/web/chunk-qxvqkkmw.js +1 -0
  293. package/web/chunk-qxvqkkmw.js.br +0 -0
  294. package/web/chunk-qxvqkkmw.js.gz +0 -0
  295. package/web/chunk-qych3sbs.js +1 -0
  296. package/web/chunk-qych3sbs.js.br +0 -0
  297. package/web/chunk-qych3sbs.js.gz +0 -0
  298. package/web/chunk-r1dnh0s8.js.br +0 -0
  299. package/web/chunk-r1dnh0s8.js.gz +0 -0
  300. package/web/chunk-r5eakmw6.js.br +0 -0
  301. package/web/chunk-r5eakmw6.js.gz +0 -0
  302. package/web/chunk-rbmp2e4b.js +1 -0
  303. package/web/chunk-rbmp2e4b.js.br +0 -0
  304. package/web/chunk-rbmp2e4b.js.gz +0 -0
  305. package/web/chunk-rcre1stj.js +1 -0
  306. package/web/chunk-rcre1stj.js.br +0 -0
  307. package/web/chunk-rcre1stj.js.gz +0 -0
  308. package/web/chunk-rdb6091n.js +89 -0
  309. package/web/chunk-rdb6091n.js.br +0 -0
  310. package/web/chunk-rdb6091n.js.gz +0 -0
  311. package/web/chunk-ryw7xnab.js +1 -0
  312. package/web/chunk-ryw7xnab.js.br +0 -0
  313. package/web/chunk-ryw7xnab.js.gz +0 -0
  314. package/web/{chunk-1hx4xtdk.js → chunk-sbbmy02e.js} +2 -2
  315. package/web/chunk-sbbmy02e.js.br +0 -0
  316. package/web/chunk-sbbmy02e.js.gz +0 -0
  317. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  318. package/web/chunk-sgbc835w.js.br +0 -0
  319. package/web/chunk-sgbc835w.js.gz +0 -0
  320. package/web/chunk-sydy10mb.js +1 -0
  321. package/web/chunk-sydy10mb.js.br +0 -0
  322. package/web/chunk-sydy10mb.js.gz +0 -0
  323. package/web/chunk-t0ywnp5e.js +1 -0
  324. package/web/chunk-t0ywnp5e.js.br +0 -0
  325. package/web/chunk-t0ywnp5e.js.gz +0 -0
  326. package/web/chunk-t6agpn2z.js.br +0 -0
  327. package/web/chunk-t6agpn2z.js.gz +0 -0
  328. package/web/{chunk-hhnhgthx.js → chunk-t72jq97z.js} +2 -2
  329. package/web/chunk-t72jq97z.js.br +0 -0
  330. package/web/chunk-t72jq97z.js.gz +0 -0
  331. package/web/{chunk-6ty9vw27.js → chunk-tfcc9bcz.js} +3 -3
  332. package/web/chunk-tfcc9bcz.js.br +0 -0
  333. package/web/chunk-tfcc9bcz.js.gz +0 -0
  334. package/web/{chunk-27tchdxd.js → chunk-v2bvbgfc.js} +2 -2
  335. package/web/chunk-v2bvbgfc.js.br +0 -0
  336. package/web/chunk-v2bvbgfc.js.gz +0 -0
  337. package/web/{chunk-madrcnm1.js → chunk-v7zq4vc9.js} +5 -5
  338. package/web/chunk-v7zq4vc9.js.br +0 -0
  339. package/web/chunk-v7zq4vc9.js.gz +0 -0
  340. package/web/chunk-vh8pkcem.css.br +0 -0
  341. package/web/chunk-vh8pkcem.css.gz +0 -0
  342. package/web/chunk-vq3sby7x.js +1 -0
  343. package/web/chunk-vq3sby7x.js.br +0 -0
  344. package/web/chunk-vq3sby7x.js.gz +0 -0
  345. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  346. package/web/chunk-vszya05r.js.br +0 -0
  347. package/web/chunk-vszya05r.js.gz +0 -0
  348. package/web/chunk-was9xf03.js +8 -0
  349. package/web/chunk-was9xf03.js.br +0 -0
  350. package/web/chunk-was9xf03.js.gz +0 -0
  351. package/web/chunk-we1v1829.js +2 -0
  352. package/web/chunk-we1v1829.js.br +0 -0
  353. package/web/chunk-we1v1829.js.gz +0 -0
  354. package/web/chunk-wfa1c8dn.js +1 -0
  355. package/web/chunk-wfa1c8dn.js.br +0 -0
  356. package/web/chunk-wfa1c8dn.js.gz +0 -0
  357. package/web/chunk-wg2exnxe.js +1 -0
  358. package/web/chunk-wg2exnxe.js.br +2 -0
  359. package/web/chunk-wg2exnxe.js.gz +0 -0
  360. package/web/chunk-wvd3zj1m.js +70 -0
  361. package/web/chunk-wvd3zj1m.js.br +0 -0
  362. package/web/chunk-wvd3zj1m.js.gz +0 -0
  363. package/web/chunk-wzmxtr30.js +1 -0
  364. package/web/chunk-wzmxtr30.js.br +0 -0
  365. package/web/chunk-wzmxtr30.js.gz +0 -0
  366. package/web/chunk-x815g7yp.js +1 -0
  367. package/web/chunk-x815g7yp.js.br +0 -0
  368. package/web/chunk-x815g7yp.js.gz +0 -0
  369. package/web/{chunk-0qnetvsc.js → chunk-x8ps0p82.js} +14 -14
  370. package/web/chunk-x8ps0p82.js.br +0 -0
  371. package/web/chunk-x8ps0p82.js.gz +0 -0
  372. package/web/{chunk-y2ykn1gm.js → chunk-xea3snym.js} +1 -1
  373. package/web/chunk-xea3snym.js.br +0 -0
  374. package/web/chunk-xea3snym.js.gz +0 -0
  375. package/web/chunk-xet1jjy9.js.br +0 -0
  376. package/web/chunk-xet1jjy9.js.gz +0 -0
  377. package/web/{chunk-vjnvfb8z.js → chunk-xg4v60m7.js} +1 -1
  378. package/web/chunk-xg4v60m7.js.br +0 -0
  379. package/web/chunk-xg4v60m7.js.gz +0 -0
  380. package/web/chunk-xhr9jrjt.js +89 -0
  381. package/web/chunk-xhr9jrjt.js.br +0 -0
  382. package/web/chunk-xhr9jrjt.js.gz +0 -0
  383. package/web/chunk-xp90g2e7.js +36 -0
  384. package/web/chunk-xp90g2e7.js.br +0 -0
  385. package/web/chunk-xp90g2e7.js.gz +0 -0
  386. package/web/{chunk-e229cr90.js → chunk-xs1g97qa.js} +2 -2
  387. package/web/chunk-xs1g97qa.js.br +0 -0
  388. package/web/chunk-xs1g97qa.js.gz +0 -0
  389. package/web/chunk-xyk1wpr4.js +1 -0
  390. package/web/chunk-xyk1wpr4.js.br +3 -0
  391. package/web/chunk-xyk1wpr4.js.gz +0 -0
  392. package/web/chunk-yavbdwyt.js +1 -0
  393. package/web/chunk-yavbdwyt.js.br +0 -0
  394. package/web/chunk-yavbdwyt.js.gz +0 -0
  395. package/web/chunk-yfnhnsxe.js +4 -0
  396. package/web/chunk-yfnhnsxe.js.br +0 -0
  397. package/web/chunk-yfnhnsxe.js.gz +0 -0
  398. package/web/chunk-yk965yth.js +1 -0
  399. package/web/chunk-yk965yth.js.br +0 -0
  400. package/web/chunk-yk965yth.js.gz +0 -0
  401. package/web/{chunk-c1z290wm.js → chunk-ynhcjhsx.js} +2 -2
  402. package/web/chunk-ynhcjhsx.js.br +0 -0
  403. package/web/chunk-ynhcjhsx.js.gz +0 -0
  404. package/web/chunk-ypmm1gts.js +1 -0
  405. package/web/chunk-ypmm1gts.js.br +0 -0
  406. package/web/chunk-ypmm1gts.js.gz +0 -0
  407. package/web/chunk-yssx5a5q.js +1 -0
  408. package/web/chunk-yssx5a5q.js.br +0 -0
  409. package/web/chunk-yssx5a5q.js.gz +0 -0
  410. package/web/chunk-z09emmrb.js.br +0 -0
  411. package/web/chunk-z09emmrb.js.gz +0 -0
  412. package/web/chunk-z0a8cnq8.js +1 -0
  413. package/web/chunk-z0a8cnq8.js.br +0 -0
  414. package/web/chunk-z0a8cnq8.js.gz +0 -0
  415. package/web/{chunk-gaf9brzv.js → chunk-z1afsvbv.js} +2 -2
  416. package/web/chunk-z1afsvbv.js.br +0 -0
  417. package/web/chunk-z1afsvbv.js.gz +0 -0
  418. package/web/{chunk-w60dxtyz.js → chunk-z1ka8jtd.js} +2 -2
  419. package/web/chunk-z1ka8jtd.js.br +0 -0
  420. package/web/chunk-z1ka8jtd.js.gz +0 -0
  421. package/web/chunk-z7tdzen9.js +1 -0
  422. package/web/chunk-z7tdzen9.js.br +0 -0
  423. package/web/chunk-z7tdzen9.js.gz +0 -0
  424. package/web/{chunk-444xfger.js → chunk-zbwjj06m.js} +7 -7
  425. package/web/chunk-zbwjj06m.js.br +0 -0
  426. package/web/chunk-zbwjj06m.js.gz +0 -0
  427. package/web/chunk-zd2j189j.js +1 -0
  428. package/web/chunk-zd2j189j.js.br +0 -0
  429. package/web/chunk-zd2j189j.js.gz +0 -0
  430. package/web/chunk-zfgpq4n4.js +120 -0
  431. package/web/chunk-zfgpq4n4.js.br +0 -0
  432. package/web/chunk-zfgpq4n4.js.gz +0 -0
  433. package/web/chunk-zgas56xw.js +1 -0
  434. package/web/chunk-zgas56xw.js.br +0 -0
  435. package/web/chunk-zgas56xw.js.gz +0 -0
  436. package/web/chunk-zkfepf91.js +1 -0
  437. package/web/chunk-zkfepf91.js.br +0 -0
  438. package/web/chunk-zkfepf91.js.gz +0 -0
  439. package/web/icon-1wgy7kzy.svg.br +0 -0
  440. package/web/icon-1wgy7kzy.svg.gz +0 -0
  441. package/web/icon.svg.br +0 -0
  442. package/web/icon.svg.gz +0 -0
  443. package/web/index.html +11 -1
  444. package/web/index.html.br +0 -0
  445. package/web/index.html.gz +0 -0
  446. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  447. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  448. package/web/manifest.webmanifest.br +0 -0
  449. package/web/manifest.webmanifest.gz +0 -0
  450. package/web/sw.js +146 -27
  451. package/web/sw.js.br +0 -0
  452. package/web/sw.js.gz +0 -0
  453. package/web/chunk-0zb330w3.js +0 -89
  454. package/web/chunk-11byy7vm.js +0 -1
  455. package/web/chunk-160x5pv7.js +0 -1
  456. package/web/chunk-19g09ekr.js +0 -40
  457. package/web/chunk-1gzprnyd.js +0 -1
  458. package/web/chunk-1je4p601.js +0 -139
  459. package/web/chunk-1rjtqf8h.js +0 -2
  460. package/web/chunk-1y387f45.js +0 -1
  461. package/web/chunk-23258z1r.js +0 -1
  462. package/web/chunk-27592nd8.js +0 -36
  463. package/web/chunk-2hqmdqn3.js +0 -41
  464. package/web/chunk-2q79n966.js +0 -2
  465. package/web/chunk-2ws74tfa.js +0 -21
  466. package/web/chunk-2z8epr8f.js +0 -34
  467. package/web/chunk-4k62e61g.js +0 -291
  468. package/web/chunk-4z6wma3s.js +0 -78
  469. package/web/chunk-5wkqqa59.js +0 -1
  470. package/web/chunk-5yczs6sb.js +0 -1
  471. package/web/chunk-5yn7mwvt.js +0 -1
  472. package/web/chunk-705tkt2r.js +0 -1
  473. package/web/chunk-753qp8sa.js +0 -4
  474. package/web/chunk-76e3npmd.js +0 -2
  475. package/web/chunk-7p04dn0k.js +0 -1
  476. package/web/chunk-7qq1ypvj.js +0 -1
  477. package/web/chunk-7rb3v8gy.js +0 -1
  478. package/web/chunk-7yz88k97.js +0 -39
  479. package/web/chunk-85d7jkp0.js +0 -2
  480. package/web/chunk-90kgn35s.js +0 -1
  481. package/web/chunk-931y1g0h.js +0 -1
  482. package/web/chunk-at0xtfhy.js +0 -1
  483. package/web/chunk-bcp6na49.js +0 -1145
  484. package/web/chunk-bz1q7qdd.js +0 -8
  485. package/web/chunk-c0evk1xy.js +0 -1
  486. package/web/chunk-cge0cjfm.js +0 -2
  487. package/web/chunk-e9mmkrc3.js +0 -7
  488. package/web/chunk-f8nnrk6y.js +0 -292
  489. package/web/chunk-fcrswzgm.js +0 -106
  490. package/web/chunk-fw4fa7j6.js +0 -1
  491. package/web/chunk-fx8hheqz.js +0 -1
  492. package/web/chunk-gj16e7z0.js +0 -1
  493. package/web/chunk-h0c42zy3.js +0 -1
  494. package/web/chunk-h1y8y203.js +0 -1
  495. package/web/chunk-h6vy008x.js +0 -24
  496. package/web/chunk-h8mhnze5.js +0 -303
  497. package/web/chunk-j27mtdr2.js +0 -1
  498. package/web/chunk-jys02310.js +0 -1
  499. package/web/chunk-kew13yzg.js +0 -1
  500. package/web/chunk-kx5r8nf2.js +0 -1
  501. package/web/chunk-m7c0xk69.js +0 -1
  502. package/web/chunk-mrnx4f74.js +0 -70
  503. package/web/chunk-mtdsrtc5.js +0 -1
  504. package/web/chunk-n3spc397.js +0 -24
  505. package/web/chunk-nbcpbqq4.js +0 -1
  506. package/web/chunk-nhc280n0.js +0 -1
  507. package/web/chunk-nx1bcekh.js +0 -2
  508. package/web/chunk-p8t7s4z4.js +0 -1
  509. package/web/chunk-pgh1cx6w.js +0 -1
  510. package/web/chunk-qgzn0ha5.js +0 -89
  511. package/web/chunk-qtwxq6hj.js +0 -3
  512. package/web/chunk-qwp3dhmf.js +0 -1
  513. package/web/chunk-rjh54ygb.js +0 -120
  514. package/web/chunk-ryh8jdzy.js +0 -1
  515. package/web/chunk-s3t8dkkz.js +0 -1
  516. package/web/chunk-sk1w7f7h.js +0 -1
  517. package/web/chunk-smkrxjm5.js +0 -1
  518. package/web/chunk-sv5ph7fa.js +0 -1
  519. package/web/chunk-t9twxmsg.js +0 -1
  520. package/web/chunk-tfdchqn4.js +0 -62
  521. package/web/chunk-tvvggvjt.js +0 -169
  522. package/web/chunk-ty87gdvr.js +0 -1
  523. package/web/chunk-v16s0x7c.js +0 -1
  524. package/web/chunk-vgyp8wa2.js +0 -2
  525. package/web/chunk-vphzndz8.js +0 -2
  526. package/web/chunk-xtss82z2.js +0 -1
  527. package/web/chunk-y0mef85j.js +0 -1
  528. package/web/chunk-ym9qfsjs.js +0 -30
  529. package/web/chunk-ypdptddq.js +0 -1
  530. package/web/chunk-z08c63ph.js +0 -2
  531. package/web/chunk-z6x74qfh.js +0 -1
  532. package/web/chunk-z86pjpqp.js +0 -1
  533. package/web/chunk-zh0vjc6g.js +0 -1
  534. package/web/chunk-zns9wmab.js +0 -1
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- import{h,o,r,e,n,y,te}from"./chunk-bcp6na49.js";import{ia}from"./chunk-nx1bcekh.js";function qt(t){let{Button:i,SettingActions:l,cn:d}=y();return n(l,{children:[t.notice&&n("span",{role:t.notice.type==="error"?"alert":"status",className:d("mr-auto flex min-w-0 items-center gap-1.5 text-xs",t.notice.type==="success"?"text-success":"text-danger"),children:[t.notice.type==="success"?e(ia,{className:"size-3.5 shrink-0"}):e(te,{className:"size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:t.notice.text})]}),t.dirty&&e(i,{type:"button",variant:"ghost",size:"sm",disabled:t.busy,onClick:t.onReset,children:"撤销更改"}),e(i,{form:t.formID,type:"submit",variant:"primary",size:"sm",disabled:t.busy||!t.dirty,children:t.saving?"保存中…":"保存"})]})}function Pn(t){let{connection:i,endpoint:l,loadError:d}=t,[g,S]=r(null),[c,f]=r(null),[N,P]=r({models:[]}),[b,p]=r(!0),[M,T]=r(!1),[v,x]=r(!1),[k,a]=r(null),m=h(async(u=!1)=>{if(u)T(!0);else p(!0);a(null);try{let[s,C]=await Promise.all([i.request(l),i.request("/api/models")]);S(s),f(s),P(C)}catch(s){a({type:"error",text:s instanceof Error?s.message:d})}finally{p(!1),T(!1)}},[i,l,d]);o(()=>{m()},[m]);let w=c&&g?t.differs(c,g):!1;return{settings:c,modelList:N,loading:b,refreshing:M,saving:v,notice:k,dirty:w,load:m,save:async(u)=>{if(u?.preventDefault(),!c||v||b)return;x(!0),a(null);try{let s=await i.request(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.toBody(c))});S(s),f(s),a({type:"success",text:"设置已保存"})}catch(s){a({type:"error",text:s instanceof Error?s.message:"保存设置失败"})}finally{x(!1)}},reset:()=>{f(g),a(null)},edit:(u)=>{f((s)=>s?u(s):null),a(null)}}}
2
- export{qt,Pn};
1
+ import{y,o,r,e,n,x,be}from"./chunk-fba06jm8.js";import{Ei}from"./chunk-5kz048x3.js";function On(t){let{Button:i,SettingActions:l,cn:d}=x();return n(l,{children:[t.notice&&n("span",{role:t.notice.type==="error"?"alert":"status",className:d("mr-auto flex min-w-0 items-center gap-1.5 text-xs",t.notice.type==="success"?"text-success":"text-danger"),children:[t.notice.type==="success"?e(Ei,{className:"size-3.5 shrink-0"}):e(be,{className:"size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:t.notice.text})]}),t.dirty&&e(i,{type:"button",variant:"ghost",size:"sm",disabled:t.busy,onClick:t.onReset,children:"撤销更改"}),e(i,{form:t.formID,type:"submit",variant:"primary",size:"sm",disabled:t.busy||!t.dirty,children:t.saving?"保存中…":"保存"})]})}function $r(t){let{connection:i,endpoint:l,loadError:d}=t,[g,S]=r(null),[c,f]=r(null),[N,P]=r({models:[]}),[b,p]=r(!0),[M,T]=r(!1),[v,h]=r(!1),[k,a]=r(null),m=y(async(u=!1)=>{if(u)T(!0);else p(!0);a(null);try{let[s,C]=await Promise.all([i.request(l),i.request("/api/models")]);S(s),f(s),P(C)}catch(s){a({type:"error",text:s instanceof Error?s.message:d})}finally{p(!1),T(!1)}},[i,l,d]);o(()=>{m()},[m]);let w=c&&g?t.differs(c,g):!1;return{settings:c,modelList:N,loading:b,refreshing:M,saving:v,notice:k,dirty:w,load:m,save:async(u)=>{if(u?.preventDefault(),!c||v||b)return;h(!0),a(null);try{let s=await i.request(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.toBody(c))});S(s),f(s),a({type:"success",text:"设置已保存"})}catch(s){a({type:"error",text:s instanceof Error?s.message:"保存设置失败"})}finally{h(!1)}},reset:()=>{f(g),a(null)},edit:(u)=>{f((s)=>s?u(s):null),a(null)}}}
2
+ export{On,$r};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{ds}from"./chunk-gbt7asd7.js";export{ds as default};
Binary file
Binary file
@@ -1,9 +1,9 @@
1
- import{t,a,se,O,b,F,S,E,T,A,l,p,Mn,ta,Ze,w,aa}from"./chunk-h8mhnze5.js";import{on}from"./chunk-z2hvvkf5.js";var Gt=function(){var e=t(function(wt,k,R,D){for(R=R||{},D=wt.length;D--;R[wt[D]]=k);return R},"o"),n=[1,24],i=[1,25],o=[1,26],f=[1,27],u=[1,28],r=[1,63],d=[1,64],s=[1,65],y=[1,66],g=[1,67],m=[1,68],v=[1,69],P=[1,29],V=[1,30],z=[1,31],Y=[1,32],U=[1,33],H=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],Rt=[1,60],Bt=[14,42],$t=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Yt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],N=[1,82],L=[1,83],I=[1,84],M=[1,85],B=[12,14,42],ye=[12,14,33,42],Xt=[12,14,33,42,76,77,79,80],Nt=[12,33],te=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ee={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:t(function(k,R,D,x,j,h,Ft){var _=h.length-1;switch(j){case 3:x.setDirection("TB");break;case 4:x.setDirection("BT");break;case 5:x.setDirection("RL");break;case 6:x.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:x.setC4Type(h[_-3]);break;case 19:x.setTitle(h[_].substring(6)),this.$=h[_].substring(6);break;case 20:x.setAccDescription(h[_].substring(15)),this.$=h[_].substring(15);break;case 21:this.$=h[_].trim(),x.setTitle(this.$);break;case 22:case 23:this.$=h[_].trim(),x.setAccDescription(this.$);break;case 28:h[_].splice(2,0,"ENTERPRISE"),x.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 29:h[_].splice(2,0,"SYSTEM"),x.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 30:x.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 31:h[_].splice(2,0,"CONTAINER"),x.addContainerBoundary(...h[_]),this.$=h[_];break;case 32:x.addDeploymentNode("node",...h[_]),this.$=h[_];break;case 33:x.addDeploymentNode("nodeL",...h[_]),this.$=h[_];break;case 34:x.addDeploymentNode("nodeR",...h[_]),this.$=h[_];break;case 35:x.popBoundaryParseStack();break;case 39:x.addPersonOrSystem("person",...h[_]),this.$=h[_];break;case 40:x.addPersonOrSystem("external_person",...h[_]),this.$=h[_];break;case 41:x.addPersonOrSystem("system",...h[_]),this.$=h[_];break;case 42:x.addPersonOrSystem("system_db",...h[_]),this.$=h[_];break;case 43:x.addPersonOrSystem("system_queue",...h[_]),this.$=h[_];break;case 44:x.addPersonOrSystem("external_system",...h[_]),this.$=h[_];break;case 45:x.addPersonOrSystem("external_system_db",...h[_]),this.$=h[_];break;case 46:x.addPersonOrSystem("external_system_queue",...h[_]),this.$=h[_];break;case 47:x.addContainer("container",...h[_]),this.$=h[_];break;case 48:x.addContainer("container_db",...h[_]),this.$=h[_];break;case 49:x.addContainer("container_queue",...h[_]),this.$=h[_];break;case 50:x.addContainer("external_container",...h[_]),this.$=h[_];break;case 51:x.addContainer("external_container_db",...h[_]),this.$=h[_];break;case 52:x.addContainer("external_container_queue",...h[_]),this.$=h[_];break;case 53:x.addComponent("component",...h[_]),this.$=h[_];break;case 54:x.addComponent("component_db",...h[_]),this.$=h[_];break;case 55:x.addComponent("component_queue",...h[_]),this.$=h[_];break;case 56:x.addComponent("external_component",...h[_]),this.$=h[_];break;case 57:x.addComponent("external_component_db",...h[_]),this.$=h[_];break;case 58:x.addComponent("external_component_queue",...h[_]),this.$=h[_];break;case 60:x.addRel("rel",...h[_]),this.$=h[_];break;case 61:x.addRel("birel",...h[_]),this.$=h[_];break;case 62:x.addRel("rel_u",...h[_]),this.$=h[_];break;case 63:x.addRel("rel_d",...h[_]),this.$=h[_];break;case 64:x.addRel("rel_l",...h[_]),this.$=h[_];break;case 65:x.addRel("rel_r",...h[_]),this.$=h[_];break;case 66:x.addRel("rel_b",...h[_]),this.$=h[_];break;case 67:h[_].splice(0,1),x.addRel("rel",...h[_]),this.$=h[_];break;case 68:x.updateElStyle("update_el_style",...h[_]),this.$=h[_];break;case 69:x.updateRelStyle("update_rel_style",...h[_]),this.$=h[_];break;case 70:x.updateLayoutConfig("update_layout_config",...h[_]),this.$=h[_];break;case 71:this.$=[h[_]];break;case 72:h[_].unshift(h[_-1]),this.$=h[_];break;case 73:case 75:this.$=h[_].trim();break;case 74:let At={};At[h[_-1].trim()]=h[_].trim(),this.$=At;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:u,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:70,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:u,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:71,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:u,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:72,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:u,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:73,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:u,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{14:[1,74]},e(Bt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:d,37:s,38:y,39:g,40:m,41:v,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(Bt,[2,14]),e($t,[2,16],{12:[1,76]}),e(Bt,[2,36],{12:[1,77]}),e(Yt,[2,19]),e(Yt,[2,20]),{25:[1,78]},{27:[1,79]},e(Yt,[2,23]),{35:80,75:81,76:N,77:L,79:I,80:M},{35:86,75:81,76:N,77:L,79:I,80:M},{35:87,75:81,76:N,77:L,79:I,80:M},{35:88,75:81,76:N,77:L,79:I,80:M},{35:89,75:81,76:N,77:L,79:I,80:M},{35:90,75:81,76:N,77:L,79:I,80:M},{35:91,75:81,76:N,77:L,79:I,80:M},{35:92,75:81,76:N,77:L,79:I,80:M},{35:93,75:81,76:N,77:L,79:I,80:M},{35:94,75:81,76:N,77:L,79:I,80:M},{35:95,75:81,76:N,77:L,79:I,80:M},{35:96,75:81,76:N,77:L,79:I,80:M},{35:97,75:81,76:N,77:L,79:I,80:M},{35:98,75:81,76:N,77:L,79:I,80:M},{35:99,75:81,76:N,77:L,79:I,80:M},{35:100,75:81,76:N,77:L,79:I,80:M},{35:101,75:81,76:N,77:L,79:I,80:M},{35:102,75:81,76:N,77:L,79:I,80:M},{35:103,75:81,76:N,77:L,79:I,80:M},{35:104,75:81,76:N,77:L,79:I,80:M},e(B,[2,59]),{35:105,75:81,76:N,77:L,79:I,80:M},{35:106,75:81,76:N,77:L,79:I,80:M},{35:107,75:81,76:N,77:L,79:I,80:M},{35:108,75:81,76:N,77:L,79:I,80:M},{35:109,75:81,76:N,77:L,79:I,80:M},{35:110,75:81,76:N,77:L,79:I,80:M},{35:111,75:81,76:N,77:L,79:I,80:M},{35:112,75:81,76:N,77:L,79:I,80:M},{35:113,75:81,76:N,77:L,79:I,80:M},{35:114,75:81,76:N,77:L,79:I,80:M},{35:115,75:81,76:N,77:L,79:I,80:M},{20:116,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:g,40:m,41:v,43:23,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:N,77:L,79:I,80:M},{35:120,75:81,76:N,77:L,79:I,80:M},{35:121,75:81,76:N,77:L,79:I,80:M},{35:122,75:81,76:N,77:L,79:I,80:M},{35:123,75:81,76:N,77:L,79:I,80:M},{35:124,75:81,76:N,77:L,79:I,80:M},{35:125,75:81,76:N,77:L,79:I,80:M},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Bt,[2,15]),e($t,[2,17],{21:22,19:130,22:n,23:i,24:o,26:f,28:u}),e(Bt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:i,24:o,26:f,28:u,34:r,36:d,37:s,38:y,39:g,40:m,41:v,44:P,45:V,46:z,47:Y,48:U,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(Yt,[2,21]),e(Yt,[2,22]),e(B,[2,39]),e(ye,[2,71],{75:81,35:132,76:N,77:L,79:I,80:M}),e(Xt,[2,73]),{78:[1,133]},e(Xt,[2,75]),e(Xt,[2,76]),e(B,[2,40]),e(B,[2,41]),e(B,[2,42]),e(B,[2,43]),e(B,[2,44]),e(B,[2,45]),e(B,[2,46]),e(B,[2,47]),e(B,[2,48]),e(B,[2,49]),e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),e(B,[2,57]),e(B,[2,58]),e(B,[2,60]),e(B,[2,61]),e(B,[2,62]),e(B,[2,63]),e(B,[2,64]),e(B,[2,65]),e(B,[2,66]),e(B,[2,67]),e(B,[2,68]),e(B,[2,69]),e(B,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Nt,[2,28]),e(Nt,[2,29]),e(Nt,[2,30]),e(Nt,[2,31]),e(Nt,[2,32]),e(Nt,[2,33]),e(Nt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e($t,[2,18]),e(Bt,[2,38]),e(ye,[2,72]),e(Xt,[2,74]),e(B,[2,24]),e(B,[2,35]),e(te,[2,25]),e(te,[2,26],{12:[1,138]}),e(te,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:t(function(k,R){if(R.recoverable)this.trace(k);else{var D=Error(k);throw D.hash=R,D}},"parseError"),parse:t(function(k){var R=this,D=[0],x=[],j=[null],h=[],Ft=this.table,_="",At=0,_e=0,be=0,Be=2,me=1,Ve=h.slice.call(arguments,1),W=Object.create(this.lexer),Lt={yy:{}};for(var ne in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ne))Lt.yy[ne]=this.yy[ne];if(W.setInput(k,Lt.yy),Lt.yy.lexer=W,Lt.yy.parser=this,typeof W.yylloc>"u")W.yylloc={};var re=W.yylloc;h.push(re);var Ye=W.options&&W.options.ranges;if(typeof Lt.yy.parseError==="function")this.parseError=Lt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Fe(K){D.length=D.length-2*K,j.length=j.length-K,h.length=h.length-K}t(Fe,"popStack");function ge(){var K=x.pop()||W.lex()||me;if(typeof K!=="number"){if(K instanceof Array)x=K,K=x.pop();K=R.symbols_[K]||K}return K}t(ge,"lex");var X,ae,It,Q,X0,ie,Vt={},Ht,et,xe,Qt;while(!0){if(It=D[D.length-1],this.defaultActions[It])Q=this.defaultActions[It];else{if(X===null||typeof X>"u")X=ge();Q=Ft[It]&&Ft[It][X]}if(typeof Q>"u"||!Q.length||!Q[0]){var oe="";Qt=[];for(Ht in Ft[It])if(this.terminals_[Ht]&&Ht>Be)Qt.push("'"+this.terminals_[Ht]+"'");if(W.showPosition)oe="Parse error on line "+(At+1)+`:
2
- `+W.showPosition()+`
3
- Expecting `+Qt.join(", ")+", got '"+(this.terminals_[X]||X)+"'";else oe="Parse error on line "+(At+1)+": Unexpected "+(X==me?"end of input":"'"+(this.terminals_[X]||X)+"'");this.parseError(oe,{text:W.match,token:this.terminals_[X]||X,line:W.yylineno,loc:re,expected:Qt})}if(Q[0]instanceof Array&&Q.length>1)throw Error("Parse Error: multiple actions possible at state: "+It+", token: "+X);switch(Q[0]){case 1:if(D.push(X),j.push(W.yytext),h.push(W.yylloc),D.push(Q[1]),X=null,!ae){if(_e=W.yyleng,_=W.yytext,At=W.yylineno,re=W.yylloc,be>0)be--}else X=ae,ae=null;break;case 2:if(et=this.productions_[Q[1]][1],Vt.$=j[j.length-et],Vt._$={first_line:h[h.length-(et||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(et||1)].first_column,last_column:h[h.length-1].last_column},Ye)Vt._$.range=[h[h.length-(et||1)].range[0],h[h.length-1].range[1]];if(ie=this.performAction.apply(Vt,[_,_e,At,Lt.yy,Q[1],j,h].concat(Ve)),typeof ie<"u")return ie;if(et)D=D.slice(0,-1*et*2),j=j.slice(0,-1*et),h=h.slice(0,-1*et);D.push(this.productions_[Q[1]][0]),j.push(Vt.$),h.push(Vt._$),xe=Ft[D[D.length-2]][D[D.length-1]],D.push(xe);break;case 3:return!0}}return!0},"parse")},Me=function(){var wt={EOF:1,parseError:t(function(R,D){if(this.yy.parser)this.yy.parser.parseError(R,D);else throw Error(R)},"parseError"),setInput:t(function(k,R){if(this.yy=R||this.yy||{},this._input=k,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var k=this._input[0];this.yytext+=k,this.yyleng++,this.offset++,this.match+=k,this.matched+=k;var R=k.match(/(?:\r\n?|\n).*/g);if(R)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),k},"input"),unput:t(function(k){var R=k.length,D=k.split(/(?:\r\n?|\n)/g);this._input=k+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-R),this.offset-=R;var x=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),D.length-1)this.yylineno-=D.length-1;var j=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:D?(D.length===x.length?this.yylloc.first_column:0)+x[x.length-D.length].length-D[0].length:this.yylloc.first_column-R},this.options.ranges)this.yylloc.range=[j[0],j[0]+this.yyleng-R];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(k){this.unput(this.match.slice(k))},"less"),pastInput:t(function(){var k=this.matched.substr(0,this.matched.length-this.match.length);return(k.length>20?"...":"")+k.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var k=this.match;if(k.length<20)k+=this._input.substr(0,20-k.length);return(k.substr(0,20)+(k.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var k=this.pastInput(),R=Array(k.length+1).join("-");return k+this.upcomingInput()+`
5
- `+R+"^"},"showPosition"),test_match:t(function(k,R){var D,x,j;if(this.options.backtrack_lexer){if(j={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)j.yylloc.range=this.yylloc.range.slice(0)}if(x=k[0].match(/(?:\r\n?|\n).*/g),x)this.yylineno+=x.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+k[0].length},this.yytext+=k[0],this.match+=k[0],this.matches=k,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(k[0].length),this.matched+=k[0],D=this.performAction.call(this,this.yy,this,R,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(D)return D;else if(this._backtrack){for(var h in j)this[h]=j[h];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var k,R,D,x;if(!this._more)this.yytext="",this.match="";var j=this._currentRules();for(var h=0;h<j.length;h++)if(D=this._input.match(this.rules[j[h]]),D&&(!R||D[0].length>R[0].length)){if(R=D,x=h,this.options.backtrack_lexer)if(k=this.test_match(D,j[h]),k!==!1)return k;else if(this._backtrack){R=!1;continue}else return!1;else if(!this.options.flex)break}if(R){if(k=this.test_match(R,j[x]),k!==!1)return k;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var R=this.next();if(R)return R;else return this.lex()},"lex"),begin:t(function(R){this.conditionStack.push(R)},"begin"),popState:t(function(){var R=this.conditionStack.length-1;if(R>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(R){if(R=this.conditionStack.length-1-Math.abs(R||0),R>=0)return this.conditionStack[R];else return"INITIAL"},"topState"),pushState:t(function(R){this.begin(R)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(R,D,x,j){var h=j;switch(x){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return wt}();ee.lexer=Me;function qt(){this.yy={}}return t(qt,"Parser"),qt.prototype=ee,ee.Parser=qt,new qt}();Gt.parser=Gt;var Ue=Gt,Te=t((e)=>l()[e],"getRequiredConfig"),G=new Set(["label","descr","techn","type"]),Mt=t((e,n)=>{for(let[i,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[f,u]=Object.entries(o)[0];e[f]=G.has(f)?{text:u}:u}else e[i]=o}},"assignAttributes"),Ce=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],q="global",J="",tt=[Ce()],Wt=[],de="",pe=!1,Jt=4,Zt=2,Re,je=t(function(){return Re},"getC4Type"),ze=t(function(e){Re=O(e,l())},"setC4Type"),We=t(function(e,n,i,o,f,u,r,d,s){if(e===void 0||e===null||n===void 0||n===null||i===void 0||i===null||o===void 0||o===null)return;let y={},g=Wt.find((m)=>m.from===n&&m.to===i);if(g)y=g;else Wt.push(y);if(y.type=e,y.from=n,y.to=i,y.label={text:o},f===void 0||f===null)y.techn??={text:""};else if(typeof f==="object"){let[m,v]=Object.entries(f)[0];y[m]=G.has(m)?{text:v}:v}else y.techn={text:f};if(u===void 0||u===null)y.descr??={text:""};else if(typeof u==="object"){let[m,v]=Object.entries(u)[0];y[m]=G.has(m)?{text:v}:v}else y.descr={text:u};Mt(y,{sprite:r,tags:d,link:s}),y.wrap=Dt()},"addRel"),Xe=t(function(e,n,i,o,f,u,r){if(n===null||i===null)return;let d={},s=Z.find((y)=>y.alias===n);if(s&&n===s.alias)d=s;else d.alias=n,Z.push(d);if(i===void 0||i===null)d.label={text:""};else d.label={text:i};if(o===void 0||o===null)d.descr??={text:""};else if(typeof o==="object"){let[y,g]=Object.entries(o)[0];d[y]=G.has(y)?{text:g}:g}else d.descr={text:o};Mt(d,{sprite:f,tags:u,link:r}),d.typeC4Shape={text:e},d.parentBoundary=q,d.wrap=Dt()},"addPersonOrSystem"),qe=t(function(e,n,i,o,f,u,r,d){if(n===null||i===null)return;let s={},y=Z.find((g)=>g.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[g,m]=Object.entries(o)[0];s[g]=G.has(g)?{text:m}:m}else s.techn={text:o};if(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[g,m]=Object.entries(f)[0];s[g]=G.has(g)?{text:m}:m}else s.descr={text:f};Mt(s,{sprite:u,tags:r,link:d}),s.wrap=Dt(),s.typeC4Shape={text:e},s.parentBoundary=q},"addContainer"),He=t(function(e,n,i,o,f,u,r,d){if(n===null||i===null)return;let s={},y=Z.find((g)=>g.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[g,m]=Object.entries(o)[0];s[g]=G.has(g)?{text:m}:m}else s.techn={text:o};if(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[g,m]=Object.entries(f)[0];s[g]=G.has(g)?{text:m}:m}else s.descr={text:f};Mt(s,{sprite:u,tags:r,link:d}),s.wrap=Dt(),s.typeC4Shape={text:e},s.parentBoundary=q},"addComponent"),Qe=t(function(e,n,i,o,f){if(e===null||n===null)return;let u={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)u=r;else u.alias=e,tt.push(u);if(n===void 0||n===null)u.label={text:""};else u.label={text:n};if(i===void 0||i===null)u.type={text:"system"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];u[d]=G.has(d)?{text:s}:s}else u.type={text:i};Mt(u,{tags:o,link:f}),u.parentBoundary=q,u.wrap=Dt(),J=q,q=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ke=t(function(e,n,i,o,f){if(e===null||n===null)return;let u={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)u=r;else u.alias=e,tt.push(u);if(n===void 0||n===null)u.label={text:""};else u.label={text:n};if(i===void 0||i===null)u.type={text:"container"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];u[d]=G.has(d)?{text:s}:s}else u.type={text:i};Mt(u,{tags:o,link:f}),u.parentBoundary=q,u.wrap=Dt(),J=q,q=e,Ot.push(J)},"addContainerBoundary"),Ge=t(function(e,n,i,o,f,u,r,d){if(n===null||i===null)return;let s={},y=tt.find((g)=>g.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,tt.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[g,m]=Object.entries(o)[0];s[g]=G.has(g)?{text:m}:m}else s.type={text:o};if(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[g,m]=Object.entries(f)[0];s[g]=G.has(g)?{text:m}:m}else s.descr={text:f};Mt(s,{tags:r,link:d}),s.nodeType=e,s.parentBoundary=q,s.wrap=Dt(),J=q,q=n,Ot.push(J)},"addDeploymentNode"),Je=t(function(){q=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,i,o,f,u,r,d,s,y,g){let m=Z.find((v)=>v.alias===n);if(m===void 0){if(m=tt.find((v)=>v.alias===n),m===void 0)return}if(i!==void 0&&i!==null)if(typeof i==="object"){let[v,P]=Object.entries(i)[0];m[v]=P}else m.bgColor=i;if(o!==void 0&&o!==null)if(typeof o==="object"){let[v,P]=Object.entries(o)[0];m[v]=P}else m.fontColor=o;if(f!==void 0&&f!==null)if(typeof f==="object"){let[v,P]=Object.entries(f)[0];m[v]=P}else m.borderColor=f;if(u!==void 0&&u!==null)if(typeof u==="object"){let[v,P]=Object.entries(u)[0];m[v]=P}else m.shadowing=u;if(r!==void 0&&r!==null)if(typeof r==="object"){let[v,P]=Object.entries(r)[0];m[v]=P}else m.shape=r;if(d!==void 0&&d!==null)if(typeof d==="object"){let[v,P]=Object.entries(d)[0];m[v]=P}else m.sprite=d;if(s!==void 0&&s!==null)if(typeof s==="object"){let[v,P]=Object.entries(s)[0];m[v]=P}else m.techn=s;if(y!==void 0&&y!==null)if(typeof y==="object"){let[v,P]=Object.entries(y)[0];m[v]=P}else m.legendText=y;if(g!==void 0&&g!==null)if(typeof g==="object"){let[v,P]=Object.entries(g)[0];m[v]=P}else m.legendSprite=g},"updateElStyle"),t0=t(function(e,n,i,o,f,u,r){let d=Wt.find((s)=>s.from===n&&s.to===i);if(d===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,y]=Object.entries(o)[0];d[s]=y}else d.textColor=o;if(f!==void 0&&f!==null)if(typeof f==="object"){let[s,y]=Object.entries(f)[0];d[s]=y}else d.lineColor=f;if(u!==void 0&&u!==null)if(typeof u==="object"){let[s,y]=Object.entries(u)[0];d[s]=parseInt(y)}else d.offsetX=parseInt(u);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,y]=Object.entries(r)[0];d[s]=parseInt(y)}else d.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,i){let o=Jt,f=Zt;if(typeof n==="object"){let u=Object.values(n)[0];o=parseInt(u)}else o=parseInt(n);if(typeof i==="object"){let u=Object.values(i)[0];f=parseInt(u)}else f=parseInt(i);if(o>=1)Jt=o;if(f>=1)Zt=f},"updateLayoutConfig"),n0=t(function(){return Jt},"getC4ShapeInRow"),r0=t(function(){return Zt},"getC4BoundaryInRow"),s0=t(function(){return q},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),we=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(we(e))},"getC4ShapeKeys"),Oe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Oe,c0=t(function(){return Wt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Dt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Ce()],J="",q="global",Ot=[""],Wt=[],Ot=[""],de="",pe=!1,Jt=4,Zt=2},"clear"),p0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=O(e,l())},"setTitle"),ce={addPersonOrSystem:Xe,addPersonOrSystemBoundary:Qe,addContainer:qe,addContainerBoundary:Ke,addComponent:He,addDeploymentNode:Ge,popBoundaryParseStack:Je,addRel:We,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Dt,setWrap:h0,getC4ShapeArray:we,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Oe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:je,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:S,getAccTitle:E,getAccDescription:A,setAccDescription:T,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:ze},Pe=t(function(e,n){return on(e,n)},"drawRect"),b0=t((e,n,i,o)=>{let f=e.append("g"),u=0;for(let r of n){let d=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",y=r.offsetX?parseInt(String(r.offsetX)):0,g=r.offsetY?parseInt(String(r.offsetY)):0,m="";if(u===0){let V=f.append("line");if(V.attr("x1",r.startPoint.x),V.attr("y1",r.startPoint.y),V.attr("x2",r.endPoint.x),V.attr("y2",r.endPoint.y),V.attr("stroke-width","1"),V.attr("stroke",s),V.style("fill","none"),r.type!=="rel_b")V.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")V.attr("marker-start","url(#"+o+"-arrowend)");u=-1}else{let V=f.append("path");if(V.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")V.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")V.attr("marker-start","url(#"+o+"-arrowend)")}let v=r.label.width,P=i.messageFont();if(Ut(i)(r.label.text,f,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+g,v,r.label.height,{fill:d},P),r.techn&&r.techn.text!=="")P=i.messageFont(),Ut(i)("["+r.techn.text+"]",f,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+i.messageFontSize+5+g,Math.max(v,r.techn.width),r.techn.height,{fill:d,"font-style":"italic"},P)}},"drawRels"),m0=t(function(e,n,i){let o=e.append("g"),f=n.bgColor?n.bgColor:"none",u=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",d={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)d={"stroke-width":1};let s={x:n.x,y:n.y,fill:f,stroke:u,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:d};Pe(o,s);let y=i.boundaryFont();if(y.fontWeight="bold",y.fontSize=y.fontSize+2,y.fontColor=r,Ut(i)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},y),n.type&&n.type.text!=="")y=i.boundaryFont(),y.fontColor=r,Ut(i)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},y);if(n.descr&&n.descr.text!=="")y=i.boundaryFont(),y.fontSize=y.fontSize-2,y.fontColor=r,Ut(i)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},y)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.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"),o.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")},"insertArrowCrossHead"),Ut=function(){function e(f,u,r,d,s,y,g){let m=u.append("text").attr("x",r+s/2).attr("y",d+y/2+5).style("text-anchor","middle").text(f);o(m,g)}t(e,"byText");function n(f,u,r,d,s,y,g,m){let{fontSize:v,fontFamily:P,fontWeight:V}=m,z=f.split(b.lineBreakRegex);for(let Y=0;Y<z.length;Y++){let U=Y*v-v*(z.length-1)/2,H=u.append("text").attr("x",r+s/2).attr("y",d).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",v).style("font-weight",V).style("font-family",P);H.append("tspan").attr("dy",U).text(z[Y]).attr("alignment-baseline","mathematical"),o(H,g)}}t(n,"byTspan");function i(f,u,r,d,s,y,g,m){let v=u.append("switch"),V=v.append("foreignObject").attr("x",r).attr("y",d).attr("width",s).attr("height",y).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");V.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(f),n(f,v,r,d,s,y,g,m),o(V,g)}t(i,"byFo");function o(f,u){for(let r in u)if(u.hasOwnProperty(r))f.attr(r,u[r])}return t(o,"_setTextAttrs"),function(f){return f.textPlacement==="fo"?i:f.textPlacement==="old"?e:n}}(),nt={drawRect:Pe,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=p("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:p(o.body),doc:o}}return{root:p("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let f=le(o.trim());if(f)return f}let i=e.typeC4Shape.text;if(i==="person"||i==="external_person")return"person";if(w0.has(i))return"cylinder";if(R0.has(i))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),De=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(De),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let i=e.typeC4Shape.text,o=e.bgColor??(ve(i)&&n[`${i}_bg_color`]),f=e.borderColor??(ve(i)&&n[`${i}_border_color`]),u=[];if(o)u.push(`fill:${o}`);if(f)u.push(`stroke:${f}`);return u.push(`color:${e.fontColor??"#FFFFFF"}`),u},"elementCssStyles"),ke=t((e,n,i,o,f)=>{let u=e.typeC4Shape.text,r=["c4-shape",`c4-${u}`];if(A0(u))r.push("c4-external");let d=P0(e),s=M0(e,n);if(d==="rounded"||d==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:d,cssClasses:r.join(" "),cssStyles:s,padding:i,look:o,useHtmlLabels:!1,width:f}},"buildC4Node"),jt=0,zt=0,Ne=4,ue=2;Gt.yy=ce;var C={},Ae=class{static{t(this,"Bounds")}constructor(e){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,he(e.db.getConfig())}setData(e,n,i,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=i,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,i,o){if(e[n]===void 0)e[n]=i;else e[n]=o(i,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,i=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,f=o+e.width,u=this.nextData.starty+e.margin*2,r=u+e.height;if(o>=i||f>=i||this.nextData.cnt>Ne)o=this.nextData.startx+e.margin+C.nextLinePaddingX,u=this.nextData.stopy+e.margin*2,this.nextData.stopx=f=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=u+e.height,this.nextData.cnt=1;e.x=o,e.y=u,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",u,Math.min),this.updateVal(this.data,"stopx",f,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",u,Math.min),this.updateVal(this.nextData,"stopx",f,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(se(C,e),e?.fontFamily)C.personFontFamily=C.systemFontFamily=C.messageFontFamily=e.fontFamily;if(e?.fontSize)C.personFontSize=C.systemFontSize=C.messageFontSize=e.fontSize;if(e?.fontWeight)C.personFontWeight=C.systemFontWeight=C.messageFontWeight=e.fontWeight},"setConf"),Kt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Pt(e,n,i,o,f){let u=n[e];if(!u.width)if(i)u.text=Mn(u.text,f,o),u.textLines=u.text.split(b.lineBreakRegex).length,u.width=f,u.height=ta(u.text,o);else{let r=u.text.split(b.lineBreakRegex);u.textLines=r.length;let d=0;u.height=0,u.width=0;for(let s of r)u.width=Math.max(Ze(s,o),u.width),d=ta(s,o),u.height=u.height+d}return u}t(Pt,"calcC4ShapeTextWH");var Le=t(function(e,n,i){let o=i.data.startx,f=i.data.starty;n.x=o,n.y=f,n.width=i.data.stopx-o,n.height=i.data.stopy-f,n.intersect=(s)=>w.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=C.c4ShapeMargin-35;let u=n.wrap&&C.wrap,r=Kt(C);r.fontSize=r.fontSize+2,r.fontWeight="bold";let d=Ze(n.label.text,r);Pt("label",n,u,r,d),nt.drawBoundary(e,n,C)},"drawBoundary"),Ie=t(async function(e,n,i,o){let f=l(),u=f.look??"classic",r={config:f},d=n.attr("id")??"",s=o.map((g)=>i[Number(g)]),y=t((g)=>{let m=g.shape?aa[g.shape]:void 0;if(!m)throw Error(`C4: no shape handler for "${g.shape}"`);return m},"shapeHandlerFor");await Promise.all(s.map(async(g)=>{let m=ke(g,C,C.c4ShapePadding,u,C.width);m.domId=`${d}-${m.id}`;let v=await y(m)(n,m,r);g.width=m.width??C.width,g.height=m.height??C.height,g.margin=C.c4ShapeMargin,v.remove()}));for(let g of s)e.insert(g);await Promise.all(s.map(async(g)=>{let m=ke(g,C,C.c4ShapePadding,u,C.width);m.domId=`${d}-${m.id}`,m.x=g.x+g.width/2,m.y=g.y+g.height/2;let v=n.append("g").attr("transform",`translate(${g.x+g.width/2}, ${g.y+g.height/2})`);await y(m)(v,m,r),g.intersect=m.intersect})),e.bumpLastMargin(C.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Ee=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:i,y:o}=e.intersect(n);return new V0(i,o)},"getIntersectPoint"),Y0=t(function(e,n){let i={x:0,y:0};i.x=n.x+n.width/2,i.y=n.y+n.height/2;let o=Ee(e,i);i.x=e.x+e.width/2,i.y=e.y+e.height/2;let f=Ee(n,i);return{startPoint:o,endPoint:f}},"getIntersectPoints"),F0=t(function(e,n,i,o,f){let u=o.db.getC4Type(),r=0;for(let d of n){r=r+1;let s=d.wrap&&C.wrap,y=B0(C);if(u==="C4Dynamic")d.label.text=r+": "+d.label.text;let g=Ze(d.label.text,y);if(Pt("label",d,s,y,g),d.techn&&d.techn.text!=="")g=Ze(d.techn.text,y),Pt("techn",d,s,y,g);if(d.descr&&d.descr.text!=="")g=Ze(d.descr.text,y),Pt("descr",d,s,y,g);let m=i(d.from),v=i(d.to);if(!m||!v)throw Error(`C4 rel "${d.from}" -> "${d.to}" references an unknown shape or boundary`);let P=Y0(m,v);if(!P.startPoint||!P.endPoint)throw Error(`Could not calculate intersection points for rel "${d.from}" -> "${d.to}"`);d.startPoint=P.startPoint,d.endPoint=P.endPoint}nt.drawRels(e,n,C,f)},"drawRels");async function fe(e,n,i,o,f){let u=f.db,r=new Ae(f);r.data.widthLimit=i.data.widthLimit/Math.min(ue,o.length);for(let[d,s]of o.entries()){let y=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=y,y=s.image.Y+s.image.height;let g=s.wrap&&C.wrap,m=Kt(C);m.fontSize=m.fontSize+2,m.fontWeight="bold";let v=Pt("label",s,g,m,r.data.widthLimit);if(v.Y=y+8,y=v.Y+v.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let Y=Kt(C),U=Pt("type",s,g,Y,r.data.widthLimit);U.Y=y+5,y=U.Y+U.height}if(s.descr&&s.descr.text!==""){let Y=Kt(C);Y.fontSize=Y.fontSize-2;let U=Pt("descr",s,g,Y,r.data.widthLimit);U.Y=y+20,y=U.Y+U.height}if(d==0||d%ue===0){let Y=i.data.startx+C.diagramMarginX,U=i.data.stopy+C.diagramMarginY+y;r.setData(Y,Y,U,U)}else{let Y=r.data.stopx!==r.data.startx?r.data.stopx+C.diagramMarginX:r.data.startx,U=r.data.starty;r.setData(Y,Y,U,U)}r.name=s.alias;let P=u.getC4ShapeArray(s.alias),V=u.getC4ShapeKeys(s.alias);if(V.length>0)await Ie(r,e,P,V);n=s.alias;let z=u.getBoundaries(n);if(z.length>0)await fe(e,n,r,z,f);if(s.alias!=="global")Le(e,s,r);i.data.stopy=Math.max(r.data.stopy+C.c4ShapeMargin,i.data.stopy),i.data.stopx=Math.max(r.data.stopx+C.c4ShapeMargin,i.data.stopx),jt=Math.max(jt,i.data.stopx),zt=Math.max(zt,i.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,i,o){C=Te("c4");let f=l().securityLevel,{root:u}=C0(n,f),r=o.db;r.setWrap(C.wrap),Ne=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),a.debug(`C:${JSON.stringify(C,null,2)}`);let d=u.select(`[id="${n}"]`);nt.insertComputerIcon(d,n),nt.insertDatabaseIcon(d,n),nt.insertClockIcon(d,n);let s=new Ae(o);s.setData(C.diagramMarginX,C.diagramMarginX,C.diagramMarginY,C.diagramMarginY),s.data.widthLimit=screen.availWidth,jt=C.diagramMarginX,zt=C.diagramMarginY;let y=r.getTitle(),g=r.getBoundaries("");await fe(d,"",s,g,o),nt.insertArrowHead(d,n),nt.insertArrowEnd(d,n),nt.insertArrowCrossHead(d,n),nt.insertArrowFilledHead(d,n),F0(d,r.getRels(),r.getC4Shape,o,n),s.data.stopx=jt,s.data.stopy=zt;let m=s.data,{startx:v,starty:P}=m,z=zt-P+2*C.diagramMarginY,Y=jt-v,U=Y+2*C.diagramMarginX;if(y)d.append("text").text(y).attr("x",Y/2-4*C.diagramMarginX).attr("y",P+C.diagramMarginY);F(d,z,U,C.useMaxWidth);let H=y?60:0;d.attr("viewBox",v-C.diagramMarginX+" -"+(C.diagramMarginY+H)+" "+U+" "+(z+H)),a.debug("models:",m)},"draw"),Se={drawPersonOrSystemArray:Ie,drawBoundary:Le,setConf:he,draw:U0},j0=t(()=>{let e=l().c4??{},n=new CSSStyleSheet;for(let i of De){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${i} .label {}`,n.cssRules.length)],f=e[`${i}FontFamily`],u=e[`${i}FontSize`],r=e[`${i}FontWeight`];if(f)o.style.setProperty("font-family",f);if(u)o.style.setProperty("font-size",typeof u==="number"?`${u}px`:u);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((i)=>i.style.length>0).map((i)=>` ${i.cssText}`).join(`
1
+ import{t,a,Ce,U,k,G,R,I,L,D,u,f,Or,ki,Rt,T,Ti}from"./chunk-fzmrnh17.js";import{ar}from"./chunk-ch60a61d.js";var Jt=function(){var e=t(function(Ot,v,S,w){for(S=S||{},w=Ot.length;w--;S[Ot[w]]=v);return S},"o"),n=[1,24],i=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],d=[1,64],s=[1,65],y=[1,66],m=[1,67],b=[1,68],x=[1,69],C=[1,29],B=[1,30],j=[1,31],V=[1,32],Y=[1,33],q=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],wt=[1,60],Vt=[14,42],te=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ft=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],O=[1,82],P=[1,83],N=[1,84],A=[1,85],M=[12,14,42],ye=[12,14,33,42],qt=[12,14,33,42,76,77,79,80],At=[12,33],ee=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ne={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:t(function(v,S,w,g,F,h,Ut){var _=h.length-1;switch(F){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[_-3]);break;case 19:g.setTitle(h[_].substring(6)),this.$=h[_].substring(6);break;case 20:g.setAccDescription(h[_].substring(15)),this.$=h[_].substring(15);break;case 21:this.$=h[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[_].trim(),g.setAccDescription(this.$);break;case 28:h[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 29:h[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 30:g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 31:h[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[_]),this.$=h[_];break;case 32:g.addDeploymentNode("node",...h[_]),this.$=h[_];break;case 33:g.addDeploymentNode("nodeL",...h[_]),this.$=h[_];break;case 34:g.addDeploymentNode("nodeR",...h[_]),this.$=h[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[_]),this.$=h[_];break;case 40:g.addPersonOrSystem("external_person",...h[_]),this.$=h[_];break;case 41:g.addPersonOrSystem("system",...h[_]),this.$=h[_];break;case 42:g.addPersonOrSystem("system_db",...h[_]),this.$=h[_];break;case 43:g.addPersonOrSystem("system_queue",...h[_]),this.$=h[_];break;case 44:g.addPersonOrSystem("external_system",...h[_]),this.$=h[_];break;case 45:g.addPersonOrSystem("external_system_db",...h[_]),this.$=h[_];break;case 46:g.addPersonOrSystem("external_system_queue",...h[_]),this.$=h[_];break;case 47:g.addContainer("container",...h[_]),this.$=h[_];break;case 48:g.addContainer("container_db",...h[_]),this.$=h[_];break;case 49:g.addContainer("container_queue",...h[_]),this.$=h[_];break;case 50:g.addContainer("external_container",...h[_]),this.$=h[_];break;case 51:g.addContainer("external_container_db",...h[_]),this.$=h[_];break;case 52:g.addContainer("external_container_queue",...h[_]),this.$=h[_];break;case 53:g.addComponent("component",...h[_]),this.$=h[_];break;case 54:g.addComponent("component_db",...h[_]),this.$=h[_];break;case 55:g.addComponent("component_queue",...h[_]),this.$=h[_];break;case 56:g.addComponent("external_component",...h[_]),this.$=h[_];break;case 57:g.addComponent("external_component_db",...h[_]),this.$=h[_];break;case 58:g.addComponent("external_component_queue",...h[_]),this.$=h[_];break;case 60:g.addRel("rel",...h[_]),this.$=h[_];break;case 61:g.addRel("birel",...h[_]),this.$=h[_];break;case 62:g.addRel("rel_u",...h[_]),this.$=h[_];break;case 63:g.addRel("rel_d",...h[_]),this.$=h[_];break;case 64:g.addRel("rel_l",...h[_]),this.$=h[_];break;case 65:g.addRel("rel_r",...h[_]),this.$=h[_];break;case 66:g.addRel("rel_b",...h[_]),this.$=h[_];break;case 67:h[_].splice(0,1),g.addRel("rel",...h[_]),this.$=h[_];break;case 68:g.updateElStyle("update_el_style",...h[_]),this.$=h[_];break;case 69:g.updateRelStyle("update_rel_style",...h[_]),this.$=h[_];break;case 70:g.updateLayoutConfig("update_layout_config",...h[_]),this.$=h[_];break;case 71:this.$=[h[_]];break;case 72:h[_].unshift(h[_-1]),this.$=h[_];break;case 73:case 75:this.$=h[_].trim();break;case 74:let Lt={};Lt[h[_-1].trim()]=h[_].trim(),this.$=Lt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:70,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:71,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:72,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:73,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:d,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Vt,[2,14]),e(te,[2,16],{12:[1,76]}),e(Vt,[2,36],{12:[1,77]}),e(Ft,[2,19]),e(Ft,[2,20]),{25:[1,78]},{27:[1,79]},e(Ft,[2,23]),{35:80,75:81,76:O,77:P,79:N,80:A},{35:86,75:81,76:O,77:P,79:N,80:A},{35:87,75:81,76:O,77:P,79:N,80:A},{35:88,75:81,76:O,77:P,79:N,80:A},{35:89,75:81,76:O,77:P,79:N,80:A},{35:90,75:81,76:O,77:P,79:N,80:A},{35:91,75:81,76:O,77:P,79:N,80:A},{35:92,75:81,76:O,77:P,79:N,80:A},{35:93,75:81,76:O,77:P,79:N,80:A},{35:94,75:81,76:O,77:P,79:N,80:A},{35:95,75:81,76:O,77:P,79:N,80:A},{35:96,75:81,76:O,77:P,79:N,80:A},{35:97,75:81,76:O,77:P,79:N,80:A},{35:98,75:81,76:O,77:P,79:N,80:A},{35:99,75:81,76:O,77:P,79:N,80:A},{35:100,75:81,76:O,77:P,79:N,80:A},{35:101,75:81,76:O,77:P,79:N,80:A},{35:102,75:81,76:O,77:P,79:N,80:A},{35:103,75:81,76:O,77:P,79:N,80:A},{35:104,75:81,76:O,77:P,79:N,80:A},e(M,[2,59]),{35:105,75:81,76:O,77:P,79:N,80:A},{35:106,75:81,76:O,77:P,79:N,80:A},{35:107,75:81,76:O,77:P,79:N,80:A},{35:108,75:81,76:O,77:P,79:N,80:A},{35:109,75:81,76:O,77:P,79:N,80:A},{35:110,75:81,76:O,77:P,79:N,80:A},{35:111,75:81,76:O,77:P,79:N,80:A},{35:112,75:81,76:O,77:P,79:N,80:A},{35:113,75:81,76:O,77:P,79:N,80:A},{35:114,75:81,76:O,77:P,79:N,80:A},{35:115,75:81,76:O,77:P,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:P,79:N,80:A},{35:120,75:81,76:O,77:P,79:N,80:A},{35:121,75:81,76:O,77:P,79:N,80:A},{35:122,75:81,76:O,77:P,79:N,80:A},{35:123,75:81,76:O,77:P,79:N,80:A},{35:124,75:81,76:O,77:P,79:N,80:A},{35:125,75:81,76:O,77:P,79:N,80:A},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Vt,[2,15]),e(te,[2,17],{21:22,19:130,22:n,23:i,24:o,26:p,28:l}),e(Vt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:i,24:o,26:p,28:l,34:r,36:d,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Ft,[2,21]),e(Ft,[2,22]),e(M,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:P,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(M,[2,40]),e(M,[2,41]),e(M,[2,42]),e(M,[2,43]),e(M,[2,44]),e(M,[2,45]),e(M,[2,46]),e(M,[2,47]),e(M,[2,48]),e(M,[2,49]),e(M,[2,50]),e(M,[2,51]),e(M,[2,52]),e(M,[2,53]),e(M,[2,54]),e(M,[2,55]),e(M,[2,56]),e(M,[2,57]),e(M,[2,58]),e(M,[2,60]),e(M,[2,61]),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(M,[2,68]),e(M,[2,69]),e(M,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(At,[2,28]),e(At,[2,29]),e(At,[2,30]),e(At,[2,31]),e(At,[2,32]),e(At,[2,33]),e(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(Vt,[2,38]),e(ye,[2,72]),e(qt,[2,74]),e(M,[2,24]),e(M,[2,35]),e(ee,[2,25]),e(ee,[2,26],{12:[1,138]}),e(ee,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:t(function(v,S){if(S.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=S,w}},"parseError"),parse:t(function(v){var S=this,w=[0],g=[],F=[null],h=[],Ut=this.table,_="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=h.slice.call(arguments,1),z=Object.create(this.lexer),It={yy:{}};for(var re in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,re))It.yy[re]=this.yy[re];if(z.setInput(v,It.yy),It.yy.lexer=z,It.yy.parser=this,typeof z.yylloc>"u")z.yylloc={};var se=z.yylloc;h.push(se);var Fe=z.options&&z.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(Q){w.length=w.length-2*Q,F.length=F.length-Q,h.length=h.length-Q}t(Ue,"popStack");function ge(){var Q=g.pop()||z.lex()||me;if(typeof Q!=="number"){if(Q instanceof Array)g=Q,Q=g.pop();Q=S.symbols_[Q]||Q}return Q}t(ge,"lex");var W,ae,Mt,H,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])H=this.defaultActions[Mt];else{if(W===null||typeof W>"u")W=ge();H=Ut[Mt]&&Ut[Mt][W]}if(typeof H>"u"||!H.length||!H[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(z.showPosition)oe="Parse error on line "+(Lt+1)+`:
2
+ `+z.showPosition()+`
3
+ Expecting `+Kt.join(", ")+", got '"+(this.terminals_[W]||W)+"'";else oe="Parse error on line "+(Lt+1)+": Unexpected "+(W==me?"end of input":"'"+(this.terminals_[W]||W)+"'");this.parseError(oe,{text:z.match,token:this.terminals_[W]||W,line:z.yylineno,loc:se,expected:Kt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+W);switch(H[0]){case 1:if(w.push(W),F.push(z.yytext),h.push(z.yylloc),w.push(H[1]),W=null,!ae){if(_e=z.yyleng,_=z.yytext,Lt=z.yylineno,se=z.yylloc,be>0)be--}else W=ae,ae=null;break;case 2:if(et=this.productions_[H[1]][1],Yt.$=F[F.length-et],Yt._$={first_line:h[h.length-(et||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(et||1)].first_column,last_column:h[h.length-1].last_column},Fe)Yt._$.range=[h[h.length-(et||1)].range[0],h[h.length-1].range[1]];if(ie=this.performAction.apply(Yt,[_,_e,Lt,It.yy,H[1],F,h].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),h=h.slice(0,-1*et);w.push(this.productions_[H[1]][0]),F.push(Yt.$),h.push(Yt._$),xe=Ut[w[w.length-2]][w[w.length-1]],w.push(xe);break;case 3:return!0}}return!0},"parse")},Be=function(){var Ot={EOF:1,parseError:t(function(S,w){if(this.yy.parser)this.yy.parser.parseError(S,w);else throw Error(S)},"parseError"),setInput:t(function(v,S){if(this.yy=S||this.yy||{},this._input=v,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var S=v.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),v},"input"),unput:t(function(v){var S=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var g=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1)this.yylineno-=w.length-1;var F=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(v){this.unput(this.match.slice(v))},"less"),pastInput:t(function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var v=this.match;if(v.length<20)v+=this._input.substr(0,20-v.length);return(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var v=this.pastInput(),S=Array(v.length+1).join("-");return v+this.upcomingInput()+`
5
+ `+S+"^"},"showPosition"),test_match:t(function(v,S){var w,g,F;if(this.options.backtrack_lexer){if(F={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)F.yylloc.range=this.yylloc.range.slice(0)}if(g=v[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(v[0].length),this.matched+=v[0],w=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var h in F)this[h]=F[h];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,S,w,g;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var h=0;h<F.length;h++)if(w=this._input.match(this.rules[F[h]]),w&&(!S||w[0].length>S[0].length)){if(S=w,g=h,this.options.backtrack_lexer)if(v=this.test_match(w,F[h]),v!==!1)return v;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(v=this.test_match(S,F[g]),v!==!1)return v;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(S,w,g,F){var h=F;switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return Ot}();ne.lexer=Be;function Ht(){this.yy={}}return t(Ht,"Parser"),Ht.prototype=ne,ne.Parser=Ht,new Ht}();Jt.parser=Jt;var je=Jt,Te=t((e)=>u()[e],"getRequiredConfig"),K=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[i,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=K.has(p)?{text:l}:l}else e[i]=o}},"assignAttributes"),Re=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Pt=[""],X="global",J="",tt=[Re()],Xt=[],de="",pe=!1,Zt=4,$t=2,we,ze=t(function(){return we},"getC4Type"),We=t(function(e){we=U(e,u())},"setC4Type"),Xe=t(function(e,n,i,o,p,l,r,d,s){if(e===void 0||e===null||n===void 0||n===null||i===void 0||i===null||o===void 0||o===null)return;let y={},m=Xt.find((b)=>b.from===n&&b.to===i);if(m)y=m;else Xt.push(y);if(y.type=e,y.from=n,y.to=i,y.label={text:o},p===void 0||p===null)y.techn??={text:""};else if(typeof p==="object"){let[b,x]=Object.entries(p)[0];y[b]=K.has(b)?{text:x}:x}else y.techn={text:p};if(l===void 0||l===null)y.descr??={text:""};else if(typeof l==="object"){let[b,x]=Object.entries(l)[0];y[b]=K.has(b)?{text:x}:x}else y.descr={text:l};Bt(y,{sprite:r,tags:d,link:s}),y.wrap=Nt()},"addRel"),qe=t(function(e,n,i,o,p,l,r){if(n===null||i===null)return;let d={},s=Z.find((y)=>y.alias===n);if(s&&n===s.alias)d=s;else d.alias=n,Z.push(d);if(i===void 0||i===null)d.label={text:""};else d.label={text:i};if(o===void 0||o===null)d.descr??={text:""};else if(typeof o==="object"){let[y,m]=Object.entries(o)[0];d[y]=K.has(y)?{text:m}:m}else d.descr={text:o};Bt(d,{sprite:p,tags:l,link:r}),d.typeC4Shape={text:e},d.parentBoundary=X,d.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=Z.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:d}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=Z.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:d}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,i,o,p){if(e===null||n===null)return;let l={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(i===void 0||i===null)l.type={text:"system"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];l[d]=K.has(d)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,i,o,p){if(e===null||n===null)return;let l={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(i===void 0||i===null)l.type={text:"container"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];l[d]=K.has(d)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addContainerBoundary"),Je=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=tt.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,tt.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{tags:r,link:d}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Pt.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Pt.pop(),J=Pt.pop(),Pt.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,i,o,p,l,r,d,s,y,m){let b=Z.find((x)=>x.alias===n);if(b===void 0){if(b=tt.find((x)=>x.alias===n),b===void 0)return}if(i!==void 0&&i!==null)if(typeof i==="object"){let[x,C]=Object.entries(i)[0];b[x]=C}else b.bgColor=i;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,C]=Object.entries(o)[0];b[x]=C}else b.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,C]=Object.entries(p)[0];b[x]=C}else b.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,C]=Object.entries(l)[0];b[x]=C}else b.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,C]=Object.entries(r)[0];b[x]=C}else b.shape=r;if(d!==void 0&&d!==null)if(typeof d==="object"){let[x,C]=Object.entries(d)[0];b[x]=C}else b.sprite=d;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,C]=Object.entries(s)[0];b[x]=C}else b.techn=s;if(y!==void 0&&y!==null)if(typeof y==="object"){let[x,C]=Object.entries(y)[0];b[x]=C}else b.legendText=y;if(m!==void 0&&m!==null)if(typeof m==="object"){let[x,C]=Object.entries(m)[0];b[x]=C}else b.legendSprite=m},"updateElStyle"),t0=t(function(e,n,i,o,p,l,r){let d=Xt.find((s)=>s.from===n&&s.to===i);if(d===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,y]=Object.entries(o)[0];d[s]=y}else d.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,y]=Object.entries(p)[0];d[s]=y}else d.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,y]=Object.entries(l)[0];d[s]=parseInt(y)}else d.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,y]=Object.entries(r)[0];d[s]=parseInt(y)}else d.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,i){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof i==="object"){let l=Object.values(i)[0];p=parseInt(l)}else p=parseInt(i);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),Oe=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(Oe(e))},"getC4ShapeKeys"),Pe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Pe,c0=t(function(){return Xt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Nt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Re()],J="",X="global",Pt=[""],Xt=[],Pt=[""],de="",pe=!1,Zt=4,$t=2},"clear"),p0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=U(e,u())},"setTitle"),ce={addPersonOrSystem:qe,addPersonOrSystemBoundary:Ke,addContainer:He,addContainerBoundary:Ge,addComponent:Qe,addDeploymentNode:Je,popBoundaryParseStack:Ze,addRel:Xe,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Nt,setWrap:h0,getC4ShapeArray:Oe,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Pe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:R,getAccTitle:I,getAccDescription:D,setAccDescription:L,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},De=t(function(e,n){return ar(e,n)},"drawRect"),b0=t((e,n,i,o)=>{let p=e.append("g"),l=0;for(let r of n){let d=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",y=r.offsetX?parseInt(String(r.offsetX)):0,m=r.offsetY?parseInt(String(r.offsetY)):0,b="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,C=i.messageFont();if(jt(i)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+m,x,r.label.height,{fill:d},C),r.techn&&r.techn.text!=="")C=i.messageFont(),jt(i)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+i.messageFontSize+5+m,Math.max(x,r.techn.width),r.techn.height,{fill:d,"font-style":"italic"},C)}},"drawRels"),m0=t(function(e,n,i){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",d={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)d={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:d};De(o,s);let y=i.boundaryFont();if(y.fontWeight="bold",y.fontSize=y.fontSize+2,y.fontColor=r,jt(i)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},y),n.type&&n.type.text!=="")y=i.boundaryFont(),y.fontColor=r,jt(i)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},y);if(n.descr&&n.descr.text!=="")y=i.boundaryFont(),y.fontSize=y.fontSize-2,y.fontColor=r,jt(i)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},y)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.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"),o.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")},"insertArrowCrossHead"),jt=function(){function e(p,l,r,d,s,y,m){let b=l.append("text").attr("x",r+s/2).attr("y",d+y/2+5).style("text-anchor","middle").text(p);o(b,m)}t(e,"byText");function n(p,l,r,d,s,y,m,b){let{fontSize:x,fontFamily:C,fontWeight:B}=b,j=p.split(k.lineBreakRegex);for(let V=0;V<j.length;V++){let Y=V*x-x*(j.length-1)/2,q=l.append("text").attr("x",r+s/2).attr("y",d).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",C);q.append("tspan").attr("dy",Y).text(j[V]).attr("alignment-baseline","mathematical"),o(q,m)}}t(n,"byTspan");function i(p,l,r,d,s,y,m,b){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",d).attr("width",s).attr("height",y).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,d,s,y,m,b),o(B,m)}t(i,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?i:p.textPlacement==="old"?e:n}}(),nt={drawRect:De,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=f("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:f(o.body),doc:o}}return{root:f("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let i=e.typeC4Shape.text;if(i==="person"||i==="external_person")return"person";if(w0.has(i))return"cylinder";if(R0.has(i))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),Ne=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(Ne),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let i=e.typeC4Shape.text,o=e.bgColor??(ve(i)&&n[`${i}_bg_color`]),p=e.borderColor??(ve(i)&&n[`${i}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,i,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let d=P0(e),s=M0(e,n);if(d==="rounded"||d==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:d,cssClasses:r.join(" "),cssStyles:s,padding:i,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ae=4,ue=2;Jt.yy=ce;var E={},Le=class{static{t(this,"Bounds")}constructor(e){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,he(e.db.getConfig())}setData(e,n,i,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=i,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,i,o){if(e[n]===void 0)e[n]=i;else e[n]=o(i,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,i=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=i||p>=i||this.nextData.cnt>Ae)o=this.nextData.startx+e.margin+E.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ce(E,e),e?.fontFamily)E.personFontFamily=E.systemFontFamily=E.messageFontFamily=e.fontFamily;if(e?.fontSize)E.personFontSize=E.systemFontSize=E.messageFontSize=e.fontSize;if(e?.fontWeight)E.personFontWeight=E.systemFontWeight=E.messageFontWeight=e.fontWeight},"setConf"),Gt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Dt(e,n,i,o,p){let l=n[e];if(!l.width)if(i)l.text=Or(l.text,p,o),l.textLines=l.text.split(k.lineBreakRegex).length,l.width=p,l.height=ki(l.text,o);else{let r=l.text.split(k.lineBreakRegex);l.textLines=r.length;let d=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Rt(s,o),l.width),d=ki(s,o),l.height=l.height+d}return l}t(Dt,"calcC4ShapeTextWH");var Ie=t(function(e,n,i){let o=i.data.startx,p=i.data.starty;n.x=o,n.y=p,n.width=i.data.stopx-o,n.height=i.data.stopy-p,n.intersect=(s)=>T.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=E.c4ShapeMargin-35;let l=n.wrap&&E.wrap,r=Gt(E);r.fontSize=r.fontSize+2,r.fontWeight="bold";let d=Rt(n.label.text,r);Dt("label",n,l,r,d),nt.drawBoundary(e,n,E)},"drawBoundary"),Me=t(async function(e,n,i,o){let p=u(),l=p.look??"classic",r={config:p},d=n.attr("id")??"",s=o.map((m)=>i[Number(m)]),y=t((m)=>{let b=m.shape?Ti[m.shape]:void 0;if(!b)throw Error(`C4: no shape handler for "${m.shape}"`);return b},"shapeHandlerFor");await Promise.all(s.map(async(m)=>{let b=ke(m,E,E.c4ShapePadding,l,E.width);b.domId=`${d}-${b.id}`;let x=await y(b)(n,b,r);m.width=b.width??E.width,m.height=b.height??E.height,m.margin=E.c4ShapeMargin,x.remove()}));for(let m of s)e.insert(m);await Promise.all(s.map(async(m)=>{let b=ke(m,E,E.c4ShapePadding,l,E.width);b.domId=`${d}-${b.id}`,b.x=m.x+m.width/2,b.y=m.y+m.height/2;let x=n.append("g").attr("transform",`translate(${m.x+m.width/2}, ${m.y+m.height/2})`);await y(b)(x,b,r),m.intersect=b.intersect})),e.bumpLastMargin(E.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Ee=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:i,y:o}=e.intersect(n);return new V0(i,o)},"getIntersectPoint"),Y0=t(function(e,n){let i={x:0,y:0};i.x=n.x+n.width/2,i.y=n.y+n.height/2;let o=Ee(e,i);i.x=e.x+e.width/2,i.y=e.y+e.height/2;let p=Ee(n,i);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,i,o,p){let l=o.db.getC4Type(),r=0;for(let d of n){r=r+1;let s=d.wrap&&E.wrap,y=B0(E);if(l==="C4Dynamic")d.label.text=r+": "+d.label.text;let m=Rt(d.label.text,y);if(Dt("label",d,s,y,m),d.techn&&d.techn.text!=="")m=Rt(d.techn.text,y),Dt("techn",d,s,y,m);if(d.descr&&d.descr.text!=="")m=Rt(d.descr.text,y),Dt("descr",d,s,y,m);let b=i(d.from),x=i(d.to);if(!b||!x)throw Error(`C4 rel "${d.from}" -> "${d.to}" references an unknown shape or boundary`);let C=Y0(b,x);if(!C.startPoint||!C.endPoint)throw Error(`Could not calculate intersection points for rel "${d.from}" -> "${d.to}"`);d.startPoint=C.startPoint,d.endPoint=C.endPoint}nt.drawRels(e,n,E,p)},"drawRels");async function fe(e,n,i,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=i.data.widthLimit/Math.min(ue,o.length);for(let[d,s]of o.entries()){let y=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=y,y=s.image.Y+s.image.height;let m=s.wrap&&E.wrap,b=Gt(E);b.fontSize=b.fontSize+2,b.fontWeight="bold";let x=Dt("label",s,m,b,r.data.widthLimit);if(x.Y=y+8,y=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(E),Y=Dt("type",s,m,V,r.data.widthLimit);Y.Y=y+5,y=Y.Y+Y.height}if(s.descr&&s.descr.text!==""){let V=Gt(E);V.fontSize=V.fontSize-2;let Y=Dt("descr",s,m,V,r.data.widthLimit);Y.Y=y+20,y=Y.Y+Y.height}if(d==0||d%ue===0){let V=i.data.startx+E.diagramMarginX,Y=i.data.stopy+E.diagramMarginY+y;r.setData(V,V,Y,Y)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+E.diagramMarginX:r.data.startx,Y=r.data.starty;r.setData(V,V,Y,Y)}r.name=s.alias;let C=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,C,B);n=s.alias;let j=l.getBoundaries(n);if(j.length>0)await fe(e,n,r,j,p);if(s.alias!=="global")Ie(e,s,r);i.data.stopy=Math.max(r.data.stopy+E.c4ShapeMargin,i.data.stopy),i.data.stopx=Math.max(r.data.stopx+E.c4ShapeMargin,i.data.stopx),zt=Math.max(zt,i.data.stopx),Wt=Math.max(Wt,i.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,i,o){E=Te("c4");let p=u().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(E.wrap),Ae=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),a.debug(`C:${JSON.stringify(E,null,2)}`);let d=l.select(`[id="${n}"]`);nt.insertComputerIcon(d,n),nt.insertDatabaseIcon(d,n),nt.insertClockIcon(d,n);let s=new Le(o);s.setData(E.diagramMarginX,E.diagramMarginX,E.diagramMarginY,E.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=E.diagramMarginX,Wt=E.diagramMarginY;let y=r.getTitle(),m=r.getBoundaries("");await fe(d,"",s,m,o),nt.insertArrowHead(d,n),nt.insertArrowEnd(d,n),nt.insertArrowCrossHead(d,n),nt.insertArrowFilledHead(d,n),F0(d,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let b=s.data,{startx:x,starty:C}=b,j=Wt-C+2*E.diagramMarginY,V=zt-x,Y=V+2*E.diagramMarginX;if(y)d.append("text").text(y).attr("x",V/2-4*E.diagramMarginX).attr("y",C+E.diagramMarginY);G(d,j,Y,E.useMaxWidth);let q=y?60:0;d.attr("viewBox",x-E.diagramMarginX+" -"+(E.diagramMarginY+q)+" "+Y+" "+(j+q)),a.debug("models:",b)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=u().c4??{},n=new CSSStyleSheet;for(let i of Ne){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${i} .label {}`,n.cssRules.length)],p=e[`${i}FontFamily`],l=e[`${i}FontSize`],r=e[`${i}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((i)=>i.style.length>0).map((i)=>` ${i.cssText}`).join(`
7
7
  `)},"elementFontStyles"),z0=t((e)=>`.person {
8
8
  stroke: ${e.personBorder};
9
9
  fill: ${e.personBkg};
@@ -35,4 +35,4 @@ ${j0()}
35
35
  .c4-shape line {
36
36
  stroke-width: 2px;
37
37
  }
38
- `,"getStyles"),W0=z0,r1={parser:Ue,db:ce,renderer:Se,styles:W0,init:t(({c4:e,wrap:n})=>{Se.setConf(e),ce.setWrap(n)},"init")};export{r1 as diagram};
38
+ `,"getStyles"),W0=z0,r1={parser:je,db:ce,renderer:Se,styles:W0,init:t(({c4:e,wrap:n})=>{Se.setConf(e),ce.setWrap(n)},"init")};export{r1 as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{y,o,ee,i,r,e,n,x,Cn,ye}from"./chunk-fba06jm8.js";import{On}from"./chunk-z1ka8jtd.js";import"./chunk-5kz048x3.js";var F={config:"自定义路径",env:"环境变量",system:"系统预装"},C="chrome://inspect/#remote-debugging";function H({connection:d}){let{Button:w,Input:B,Switch:E,SettingGroup:h,SettingRow:b,cn:S}=x(),N=ee(),[f,R]=r({}),[s,g]=r({}),[a,v]=r(null),[u,A]=r(!0),[k,O]=r(!1),[p,P]=r(!1),[I,c]=r(null),D=i(null),T=(s.executable??"")!==(f.executable??"")||Boolean(s.noSandbox)!==Boolean(f.noSandbox)||Boolean(s.ignoreCertErrors)!==Boolean(f.ignoreCertErrors)||(s.cdpEndpoint??"")!==(f.cdpEndpoint??""),G=y(async(t)=>{O(!0);try{let l=await d.request("/api/plugins/browser/status",{signal:t});v(l)}catch(l){if(!t?.aborted)v({available:!1,error:l instanceof Error?l.message:"无法获取浏览器状态"})}finally{if(!t?.aborted)O(!1)}},[d]);o(()=>{let t=new AbortController;return D.current=t,Promise.all([d.request("/api/plugins/browser/settings",{signal:t.signal}),d.request("/api/plugins/browser/status",{signal:t.signal})]).then(([l,m])=>{if(!t.signal.aborted)R(l),g(l),v(m)}).catch((l)=>{if(!t.signal.aborted)c({type:"error",text:l instanceof Error?l.message:"读取浏览器设置失败"})}).finally(()=>{if(!t.signal.aborted)A(!1)}),()=>t.abort()},[d]);let q=async(t)=>{if(t?.preventDefault(),p||u)return;let l=new AbortController;P(!0),c(null);try{if(await d.request("/api/plugins/browser/settings",{method:"PATCH",signal:l.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),!l.signal.aborted)R(s),c({type:"success",text:"设置已保存,将在浏览器进程下次启动时生效。"}),await G(l.signal)}catch(m){if(!l.signal.aborted)c({type:"error",text:m instanceof Error?m.message:"保存设置失败"})}finally{if(!l.signal.aborted)P(!1)}},U=()=>{g(f),c(null)},L=async()=>{try{await navigator.clipboard.writeText(C),c({type:"success",text:"已复制,粘贴到 Chrome 地址栏打开后开启远程调试。"})}catch{c({type:"error",text:`无法写入剪贴板,请手动复制:${C}`})}},_=a?.user?.available===!1,z="首次连接时在 Chrome 弹窗中点「允许」";if(_)z=s.cdpEndpoint?e("span",{className:"break-words text-danger",children:a?.user?.error}):"在 Chrome 打开远程调试设置页并开启";return n("form",{id:N,onSubmit:q,className:"min-w-0 space-y-5",children:[e(h,{title:"运行环境",children:e(b,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:S("size-2 shrink-0 rounded-full",a?.available?"bg-success":"bg-danger")}),a?a.available?"浏览器可用":"未检测到可用浏览器":"正在检测…"]}),description:a&&!a.available&&a.error?e("span",{className:"text-danger",children:a.error}):a?.available&&a.source?`来源:${F[a.source]??a.source}`:void 0,children:n(w,{type:"button",size:"sm",variant:"ghost",disabled:u||k,onClick:()=>void G(),className:"text-dim",children:[e(ye,{className:S("size-3.5",k&&"animate-spin")}),"重新检测"]})})}),n(h,{title:"用户浏览器",children:[e(b,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:S("size-2 shrink-0 rounded-full",a?.user?.available?"bg-success":"bg-danger")}),a?.user?a.user.available?"可以连接":"暂不可连接":"正在检测…"]}),description:z,children:!s.cdpEndpoint&&n(w,{type:"button",size:"sm",variant:"secondary",title:C,onClick:()=>void L(),children:[e(Cn,{className:"size-3.5"}),"复制远程调试地址"]})}),e(b,{vertical:!0,title:"调试地址",description:"可选,连接以 --remote-debugging-port 启动的本机浏览器",children:e(B,{id:"browser-cdp-endpoint","aria-label":"浏览器调试地址",disabled:u||p,value:s.cdpEndpoint??"",placeholder:"留空连接日常 Chrome",onChange:(t)=>{g({...s,cdpEndpoint:t.target.value}),c(null)}})})]}),n(h,{title:"启动参数",children:[e(b,{vertical:!0,title:"可执行文件路径",description:"留空时自动探测系统浏览器",children:n("div",{className:"flex gap-2",children:[e(B,{id:"browser-executable",disabled:u||p,value:s.executable??"",placeholder:"自动探测",onChange:(t)=>{g({...s,executable:t.target.value}),c(null)}}),s.executable&&e(w,{type:"button",variant:"ghost",size:"sm",disabled:u||p,onClick:()=>{g({...s,executable:""}),c(null)},className:"shrink-0",children:"清空"})]})}),e(b,{title:"禁用沙箱 (--no-sandbox)",description:"容器或 root 环境使用",children:e(E,{label:"禁用沙箱",disabled:u||p,checked:s.noSandbox??!1,onCheckedChange:(t)=>{g({...s,noSandbox:t}),c(null)}})}),e(b,{title:"忽略证书错误 (--ignore-certificate-errors)",description:"跳过自签名与证书有效性检查",children:e(E,{label:"忽略证书错误",disabled:u||p,checked:s.ignoreCertErrors??!1,onCheckedChange:(t)=>{g({...s,ignoreCertErrors:t}),c(null)}})})]}),e(On,{formID:N,notice:I,dirty:T,busy:u||p,saving:p,onReset:U})]})}export{H as default};
Binary file
Binary file