@bkm016/basalt 0.1.21 → 0.1.23

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 (1059) hide show
  1. package/chunk-01g872ez.js +3 -0
  2. package/chunk-078td1r4.js +7 -0
  3. package/chunk-1mhv12a5.js +3 -0
  4. package/chunk-1zrht78t.js +2 -0
  5. package/chunk-2e4xds74.js +18 -0
  6. package/chunk-2hkpqjqj.js +3 -0
  7. package/chunk-2mhpgb4t.js +2 -0
  8. package/chunk-3nwqng5t.js +59 -0
  9. package/chunk-3zm1ejmh.js +3 -0
  10. package/chunk-4d9p68s9.js +3 -0
  11. package/chunk-5h96jz3p.js +3 -0
  12. package/chunk-5znfck4s.js +5 -0
  13. package/chunk-6048rq29.js +8 -0
  14. package/chunk-61zk13qr.js +3 -0
  15. package/chunk-62ty404c.js +2 -0
  16. package/chunk-6vp2nqbj.js +2 -0
  17. package/chunk-7a5derff.js +25 -0
  18. package/chunk-7qhbff72.js +5 -0
  19. package/chunk-7xw6fpx3.js +3 -0
  20. package/chunk-84rk4tew.js +2 -0
  21. package/chunk-8np9b2y8.js +3 -0
  22. package/chunk-8wb8yr7d.js +12 -0
  23. package/chunk-93b76hhg.js +11 -0
  24. package/chunk-9h05aqdd.js +25 -0
  25. package/chunk-a2jsx2ew.js +3 -0
  26. package/chunk-a2qwx6cr.js +2 -0
  27. package/chunk-a7h459z1.js +2 -0
  28. package/chunk-atjwde1c.js +2 -0
  29. package/chunk-bk20awc9.js +10 -0
  30. package/chunk-bm2jhkqt.js +3 -0
  31. package/chunk-bp4zk5ch.js +3 -0
  32. package/chunk-c5ess8kd.js +3 -0
  33. package/chunk-chfzk1fx.js +3 -0
  34. package/chunk-cj7yhgnd.js +2 -0
  35. package/chunk-cjq2bzkf.js +3 -0
  36. package/chunk-csrpxzn7.js +3 -0
  37. package/chunk-cwesdh51.js +39 -0
  38. package/chunk-drbd6485.js +3 -0
  39. package/chunk-dt594v3d.js +9 -0
  40. package/chunk-dwxp0gtf.js +4 -0
  41. package/chunk-ejdewe04.js +3 -0
  42. package/chunk-fkzk83xs.js +2 -0
  43. package/chunk-fsnc2sja.js +3 -0
  44. package/chunk-g18hxgdr.js +12 -0
  45. package/chunk-hfwy0rzt.js +10 -0
  46. package/chunk-hg5wmrfb.js +3 -0
  47. package/chunk-hvex6qjc.js +5 -0
  48. package/chunk-hw8xknv5.js +2 -0
  49. package/chunk-j91wgfzj.js +2 -0
  50. package/chunk-jyx4ynyp.js +3 -0
  51. package/chunk-jz1pavma.js +20 -0
  52. package/chunk-kjjrmfmt.js +2 -0
  53. package/chunk-kz1ja7t7.js +31 -0
  54. package/chunk-mh4s6m7e.js +2 -0
  55. package/chunk-n0g6w24y.js +3 -0
  56. package/chunk-nnp82zvz.js +5 -0
  57. package/chunk-p34keb5j.js +3 -0
  58. package/chunk-pcxaycc3.js +3560 -0
  59. package/chunk-pdwexj34.js +16 -0
  60. package/chunk-phpse938.js +3 -0
  61. package/chunk-pt14ba7d.js +15 -0
  62. package/chunk-q0hvv6bh.js +390 -0
  63. package/chunk-qd4xtknk.js +2 -0
  64. package/chunk-qfg0dr8f.js +2 -0
  65. package/chunk-qnrkh3ca.js +7 -0
  66. package/chunk-r1t5yhee.js +7 -0
  67. package/chunk-r5na5qx5.js +2 -0
  68. package/chunk-r7a6q57s.js +2 -0
  69. package/chunk-smsn4ebc.js +4 -0
  70. package/chunk-sqr8tx1m.js +471 -0
  71. package/chunk-t4twa09y.js +2 -0
  72. package/chunk-tjs6h6zk.js +4 -0
  73. package/chunk-tvbh69tm.js +3 -0
  74. package/chunk-tvv9yfqv.js +11 -0
  75. package/chunk-vbdf5psp.js +2 -0
  76. package/chunk-vr60qwyg.js +2 -0
  77. package/chunk-w509y6w6.js +2 -0
  78. package/chunk-w7n83ye7.js +7 -0
  79. package/chunk-wacjm9ww.js +3 -0
  80. package/chunk-xex050bc.js +3 -0
  81. package/chunk-y0fgbrkc.js +2 -0
  82. package/chunk-ysfpdxjy.js +3 -0
  83. package/chunk-ytsnns2n.js +2 -0
  84. package/chunk-zwgdbrbg.js +2 -0
  85. package/chunk-zz7qjanc.js +2 -0
  86. package/compiled.js +8 -8
  87. package/package.json +1 -1
  88. package/ui-test-worker.js +57 -57
  89. package/web/chunk-07q4pdkf.js +1 -0
  90. package/web/chunk-07q4pdkf.js.br +0 -0
  91. package/web/chunk-07q4pdkf.js.gz +0 -0
  92. package/web/chunk-0s237vb2.js +2 -0
  93. package/web/chunk-0s237vb2.js.br +0 -0
  94. package/web/chunk-0s237vb2.js.gz +0 -0
  95. package/web/chunk-0zbmaspt.js +24 -0
  96. package/web/chunk-0zbmaspt.js.br +0 -0
  97. package/web/chunk-0zbmaspt.js.gz +0 -0
  98. package/web/chunk-11p8z5sv.js +8 -0
  99. package/web/chunk-11p8z5sv.js.br +0 -0
  100. package/web/chunk-11p8z5sv.js.gz +0 -0
  101. package/web/chunk-1axadk7j.js +2 -0
  102. package/web/chunk-1axadk7j.js.br +0 -0
  103. package/web/chunk-1axadk7j.js.gz +0 -0
  104. package/web/chunk-1ebz6hbk.js +1 -0
  105. package/web/chunk-1ebz6hbk.js.br +0 -0
  106. package/web/chunk-1ebz6hbk.js.gz +0 -0
  107. package/web/chunk-1pg22vjr.js +38 -0
  108. package/web/chunk-1pg22vjr.js.br +0 -0
  109. package/web/chunk-1pg22vjr.js.gz +0 -0
  110. package/web/chunk-1ys90q5s.js +1 -0
  111. package/web/chunk-1ys90q5s.js.br +0 -0
  112. package/web/chunk-1ys90q5s.js.gz +0 -0
  113. package/web/chunk-1zd8azrg.js +34 -0
  114. package/web/chunk-1zd8azrg.js.br +0 -0
  115. package/web/chunk-1zd8azrg.js.gz +0 -0
  116. package/web/chunk-22rjbwxp.js +303 -0
  117. package/web/chunk-22rjbwxp.js.br +0 -0
  118. package/web/chunk-22rjbwxp.js.gz +0 -0
  119. package/web/chunk-2eg9t1mz.js +2 -0
  120. package/web/chunk-2eg9t1mz.js.br +0 -0
  121. package/web/chunk-2eg9t1mz.js.gz +0 -0
  122. package/web/chunk-2emc5sd7.js +12 -0
  123. package/web/chunk-2emc5sd7.js.br +0 -0
  124. package/web/chunk-2emc5sd7.js.gz +0 -0
  125. package/web/chunk-2gj9yydt.js +2 -0
  126. package/web/chunk-2gj9yydt.js.br +0 -0
  127. package/web/chunk-2gj9yydt.js.gz +0 -0
  128. package/web/chunk-2jvy4y1e.js +1 -0
  129. package/web/chunk-2jvy4y1e.js.br +0 -0
  130. package/web/chunk-2jvy4y1e.js.gz +0 -0
  131. package/web/chunk-2kwn5gsx.js +1 -0
  132. package/web/chunk-2kwn5gsx.js.br +0 -0
  133. package/web/chunk-2kwn5gsx.js.gz +0 -0
  134. package/web/chunk-2r84nrwk.js +99 -0
  135. package/web/chunk-2r84nrwk.js.br +0 -0
  136. package/web/chunk-2r84nrwk.js.gz +0 -0
  137. package/web/chunk-3abhxhtv.js +2 -0
  138. package/web/chunk-3abhxhtv.js.br +0 -0
  139. package/web/chunk-3abhxhtv.js.gz +0 -0
  140. package/web/chunk-3cgxntbk.js +2 -0
  141. package/web/chunk-3cgxntbk.js.br +0 -0
  142. package/web/chunk-3cgxntbk.js.gz +0 -0
  143. package/web/chunk-3g3n9pc5.js +332 -0
  144. package/web/chunk-3g3n9pc5.js.br +0 -0
  145. package/web/chunk-3g3n9pc5.js.gz +0 -0
  146. package/web/chunk-3qmpdzq2.js +1 -0
  147. package/web/chunk-3qmpdzq2.js.br +0 -0
  148. package/web/chunk-3qmpdzq2.js.gz +0 -0
  149. package/web/chunk-3rxjewe5.js +2 -0
  150. package/web/chunk-3rxjewe5.js.br +0 -0
  151. package/web/chunk-3rxjewe5.js.gz +0 -0
  152. package/web/chunk-3vh17h7n.js +62 -0
  153. package/web/chunk-3vh17h7n.js.br +0 -0
  154. package/web/chunk-3vh17h7n.js.gz +0 -0
  155. package/web/chunk-49ywdzda.js +36 -0
  156. package/web/chunk-49ywdzda.js.br +0 -0
  157. package/web/chunk-49ywdzda.js.gz +0 -0
  158. package/web/chunk-5ch8rwjz.js +2 -0
  159. package/web/chunk-5ch8rwjz.js.br +0 -0
  160. package/web/chunk-5ch8rwjz.js.gz +0 -0
  161. package/web/chunk-5k1xca5m.js +324 -0
  162. package/web/chunk-5k1xca5m.js.br +0 -0
  163. package/web/chunk-5k1xca5m.js.gz +0 -0
  164. package/web/chunk-5kcmtrrk.js +2 -0
  165. package/web/chunk-5kcmtrrk.js.br +0 -0
  166. package/web/chunk-5kcmtrrk.js.gz +0 -0
  167. package/web/chunk-5t1yv276.js +1 -0
  168. package/web/chunk-5t1yv276.js.br +0 -0
  169. package/web/chunk-5t1yv276.js.gz +0 -0
  170. package/web/chunk-612xftnp.js +1 -0
  171. package/web/chunk-612xftnp.js.br +0 -0
  172. package/web/chunk-612xftnp.js.gz +0 -0
  173. package/web/chunk-6183jmyq.js +2 -0
  174. package/web/chunk-6183jmyq.js.br +0 -0
  175. package/web/chunk-6183jmyq.js.gz +0 -0
  176. package/web/chunk-66zp24sf.js +2 -0
  177. package/web/chunk-66zp24sf.js.br +0 -0
  178. package/web/chunk-66zp24sf.js.gz +0 -0
  179. package/web/chunk-67wywbgr.js +2 -0
  180. package/web/chunk-67wywbgr.js.br +0 -0
  181. package/web/chunk-67wywbgr.js.gz +0 -0
  182. package/web/chunk-6j0d6131.js +1 -0
  183. package/web/chunk-6j0d6131.js.br +0 -0
  184. package/web/chunk-6j0d6131.js.gz +0 -0
  185. package/web/chunk-6ycpdpfj.js +107 -0
  186. package/web/chunk-6ycpdpfj.js.br +0 -0
  187. package/web/chunk-6ycpdpfj.js.gz +0 -0
  188. package/web/chunk-79tbvvqj.js +1 -0
  189. package/web/chunk-79tbvvqj.js.br +0 -0
  190. package/web/chunk-79tbvvqj.js.gz +0 -0
  191. package/web/chunk-7bcksmqx.js +2 -0
  192. package/web/chunk-7bcksmqx.js.br +0 -0
  193. package/web/chunk-7bcksmqx.js.gz +0 -0
  194. package/web/chunk-7c2zkqgd.js +89 -0
  195. package/web/chunk-7c2zkqgd.js.br +0 -0
  196. package/web/chunk-7c2zkqgd.js.gz +0 -0
  197. package/web/chunk-7ed42dqv.js +1 -0
  198. package/web/chunk-7ed42dqv.js.br +0 -0
  199. package/web/chunk-7ed42dqv.js.gz +0 -0
  200. package/web/chunk-7mzdjjha.js +1 -0
  201. package/web/chunk-7mzdjjha.js.br +0 -0
  202. package/web/chunk-7mzdjjha.js.gz +0 -0
  203. package/web/chunk-7t1sb86g.js +2 -0
  204. package/web/chunk-7t1sb86g.js.br +0 -0
  205. package/web/chunk-7t1sb86g.js.gz +0 -0
  206. package/web/chunk-7t5kzbp1.js +1 -0
  207. package/web/chunk-7t5kzbp1.js.br +0 -0
  208. package/web/chunk-7t5kzbp1.js.gz +0 -0
  209. package/web/chunk-7tmzvm05.js +2 -0
  210. package/web/chunk-7tmzvm05.js.br +0 -0
  211. package/web/chunk-7tmzvm05.js.gz +0 -0
  212. package/web/chunk-80k4k6aw.js +7 -0
  213. package/web/chunk-80k4k6aw.js.br +0 -0
  214. package/web/chunk-80k4k6aw.js.gz +0 -0
  215. package/web/chunk-8tvy5xbr.js +217 -0
  216. package/web/chunk-8tvy5xbr.js.br +0 -0
  217. package/web/chunk-8tvy5xbr.js.gz +0 -0
  218. package/web/chunk-95jr0f0q.js +139 -0
  219. package/web/chunk-95jr0f0q.js.br +0 -0
  220. package/web/chunk-95jr0f0q.js.gz +0 -0
  221. package/web/chunk-9h6ayn54.js +16 -0
  222. package/web/chunk-9h6ayn54.js.br +0 -0
  223. package/web/chunk-9h6ayn54.js.gz +0 -0
  224. package/web/chunk-9jzpxvwa.js +106 -0
  225. package/web/chunk-9jzpxvwa.js.br +0 -0
  226. package/web/chunk-9jzpxvwa.js.gz +0 -0
  227. package/web/chunk-9kx2s040.js +1 -0
  228. package/web/chunk-9kx2s040.js.br +0 -0
  229. package/web/chunk-9kx2s040.js.gz +0 -0
  230. package/web/chunk-9mdbahpr.js +2 -0
  231. package/web/chunk-9mdbahpr.js.br +0 -0
  232. package/web/chunk-9mdbahpr.js.gz +0 -0
  233. package/web/chunk-9w6mjqgp.js +1 -0
  234. package/web/chunk-9w6mjqgp.js.br +0 -0
  235. package/web/chunk-9w6mjqgp.js.gz +0 -0
  236. package/web/chunk-9xb3j03w.js +142 -0
  237. package/web/chunk-9xb3j03w.js.br +0 -0
  238. package/web/chunk-9xb3j03w.js.gz +0 -0
  239. package/web/chunk-abzt3tzj.js +1 -0
  240. package/web/chunk-abzt3tzj.js.br +0 -0
  241. package/web/chunk-abzt3tzj.js.gz +0 -0
  242. package/web/chunk-ahebswgf.js +1 -0
  243. package/web/chunk-ahebswgf.js.br +0 -0
  244. package/web/chunk-ahebswgf.js.gz +0 -0
  245. package/web/chunk-ahsw5yz2.js +2 -0
  246. package/web/chunk-ahsw5yz2.js.br +0 -0
  247. package/web/chunk-ahsw5yz2.js.gz +0 -0
  248. package/web/chunk-b21jhnc3.js +1 -0
  249. package/web/chunk-b21jhnc3.js.br +2 -0
  250. package/web/chunk-b21jhnc3.js.gz +0 -0
  251. package/web/chunk-b3cn4qmw.js +1 -0
  252. package/web/chunk-b3cn4qmw.js.br +0 -0
  253. package/web/chunk-b3cn4qmw.js.gz +0 -0
  254. package/web/chunk-b4qxx7jx.js +2 -0
  255. package/web/chunk-b4qxx7jx.js.br +0 -0
  256. package/web/chunk-b4qxx7jx.js.gz +0 -0
  257. package/web/chunk-b79d9r5v.js +98 -0
  258. package/web/chunk-b79d9r5v.js.br +0 -0
  259. package/web/chunk-b79d9r5v.js.gz +0 -0
  260. package/web/chunk-b9x115jw.css +1 -0
  261. package/web/chunk-b9x115jw.css.br +0 -0
  262. package/web/chunk-b9x115jw.css.gz +0 -0
  263. package/web/chunk-bbnamv1j.js +1 -0
  264. package/web/chunk-bbnamv1j.js.br +2 -0
  265. package/web/chunk-bbnamv1j.js.gz +0 -0
  266. package/web/chunk-bgqfryh2.js +1 -0
  267. package/web/chunk-bgqfryh2.js.br +0 -0
  268. package/web/chunk-bgqfryh2.js.gz +0 -0
  269. package/web/chunk-bjrnqvf4.js +1 -0
  270. package/web/chunk-bjrnqvf4.js.br +0 -0
  271. package/web/chunk-bjrnqvf4.js.gz +0 -0
  272. package/web/chunk-cbh6w44y.js +1 -0
  273. package/web/chunk-cbh6w44y.js.br +0 -0
  274. package/web/chunk-cbh6w44y.js.gz +0 -0
  275. package/web/chunk-d0bt1ypq.js +140 -0
  276. package/web/chunk-d0bt1ypq.js.br +0 -0
  277. package/web/chunk-d0bt1ypq.js.gz +0 -0
  278. package/web/chunk-ddfd1c5x.js +1 -0
  279. package/web/chunk-ddfd1c5x.js.br +0 -0
  280. package/web/chunk-ddfd1c5x.js.gz +0 -0
  281. package/web/chunk-deqy1rfx.js +1 -0
  282. package/web/chunk-deqy1rfx.js.br +0 -0
  283. package/web/chunk-deqy1rfx.js.gz +0 -0
  284. package/web/chunk-dk3dpdnc.js +4 -0
  285. package/web/chunk-dk3dpdnc.js.br +0 -0
  286. package/web/chunk-dk3dpdnc.js.gz +0 -0
  287. package/web/chunk-dr35dsw5.js +1 -0
  288. package/web/chunk-dr35dsw5.js.br +0 -0
  289. package/web/chunk-dr35dsw5.js.gz +0 -0
  290. package/web/chunk-drr7mqg2.js +1 -0
  291. package/web/chunk-drr7mqg2.js.br +0 -0
  292. package/web/chunk-drr7mqg2.js.gz +0 -0
  293. package/web/chunk-dy9amqbz.js +1 -0
  294. package/web/chunk-dy9amqbz.js.br +0 -0
  295. package/web/chunk-dy9amqbz.js.gz +0 -0
  296. package/web/chunk-e039ekp7.js +89 -0
  297. package/web/chunk-e039ekp7.js.br +0 -0
  298. package/web/chunk-e039ekp7.js.gz +0 -0
  299. package/web/chunk-e2e2fdwq.js +30 -0
  300. package/web/chunk-e2e2fdwq.js.br +0 -0
  301. package/web/chunk-e2e2fdwq.js.gz +0 -0
  302. package/web/chunk-e5j1v42p.js +7 -0
  303. package/web/chunk-e5j1v42p.js.br +0 -0
  304. package/web/chunk-e5j1v42p.js.gz +0 -0
  305. package/web/chunk-ef0wf92p.js +2 -0
  306. package/web/chunk-ef0wf92p.js.br +0 -0
  307. package/web/chunk-ef0wf92p.js.gz +0 -0
  308. package/web/chunk-emsyqa1e.js +1 -0
  309. package/web/chunk-emsyqa1e.js.br +0 -0
  310. package/web/chunk-emsyqa1e.js.gz +0 -0
  311. package/web/chunk-en7n9d1p.js +41 -0
  312. package/web/chunk-en7n9d1p.js.br +0 -0
  313. package/web/chunk-en7n9d1p.js.gz +0 -0
  314. package/web/chunk-ez4yt1s1.js +1 -0
  315. package/web/chunk-ez4yt1s1.js.br +0 -0
  316. package/web/chunk-ez4yt1s1.js.gz +0 -0
  317. package/web/chunk-f620k3hk.js +1 -0
  318. package/web/chunk-f620k3hk.js.br +0 -0
  319. package/web/chunk-f620k3hk.js.gz +0 -0
  320. package/web/chunk-fe2hpamc.js +200 -0
  321. package/web/chunk-fe2hpamc.js.br +0 -0
  322. package/web/chunk-fe2hpamc.js.gz +0 -0
  323. package/web/chunk-fm7saxzr.js +1 -0
  324. package/web/chunk-fm7saxzr.js.br +0 -0
  325. package/web/chunk-fm7saxzr.js.gz +0 -0
  326. package/web/chunk-fz5d3ayq.js +2 -0
  327. package/web/chunk-fz5d3ayq.js.br +0 -0
  328. package/web/chunk-fz5d3ayq.js.gz +0 -0
  329. package/web/chunk-gb2tkfv0.js +1 -0
  330. package/web/chunk-gb2tkfv0.js.br +0 -0
  331. package/web/chunk-gb2tkfv0.js.gz +0 -0
  332. package/web/chunk-gc1ypgy4.js +1 -0
  333. package/web/chunk-gc1ypgy4.js.br +0 -0
  334. package/web/chunk-gc1ypgy4.js.gz +0 -0
  335. package/web/chunk-h23pczjh.js +40 -0
  336. package/web/chunk-h23pczjh.js.br +0 -0
  337. package/web/chunk-h23pczjh.js.gz +0 -0
  338. package/web/chunk-h2sttxfn.js +1 -0
  339. package/web/chunk-h2sttxfn.js.br +2 -0
  340. package/web/chunk-h2sttxfn.js.gz +0 -0
  341. package/web/chunk-h5m9ggsm.js +2 -0
  342. package/web/chunk-h5m9ggsm.js.br +0 -0
  343. package/web/chunk-h5m9ggsm.js.gz +0 -0
  344. package/web/chunk-h5zc1hw5.js +1 -0
  345. package/web/chunk-h5zc1hw5.js.br +0 -0
  346. package/web/chunk-h5zc1hw5.js.gz +0 -0
  347. package/web/chunk-hkg6bts9.js +1 -0
  348. package/web/chunk-hkg6bts9.js.br +0 -0
  349. package/web/chunk-hkg6bts9.js.gz +0 -0
  350. package/web/chunk-hncdpeer.js +120 -0
  351. package/web/chunk-hncdpeer.js.br +0 -0
  352. package/web/chunk-hncdpeer.js.gz +0 -0
  353. package/web/chunk-j40wechd.js +2 -0
  354. package/web/chunk-j40wechd.js.br +0 -0
  355. package/web/chunk-j40wechd.js.gz +0 -0
  356. package/web/chunk-jddmse74.js +169 -0
  357. package/web/chunk-jddmse74.js.br +0 -0
  358. package/web/chunk-jddmse74.js.gz +0 -0
  359. package/web/chunk-jdvdg38q.js +3 -0
  360. package/web/chunk-jdvdg38q.js.br +0 -0
  361. package/web/chunk-jdvdg38q.js.gz +0 -0
  362. package/web/chunk-jf6q93m9.js +1 -0
  363. package/web/chunk-jf6q93m9.js.br +0 -0
  364. package/web/chunk-jf6q93m9.js.gz +0 -0
  365. package/web/chunk-jfd1gybx.js +39 -0
  366. package/web/chunk-jfd1gybx.js.br +0 -0
  367. package/web/chunk-jfd1gybx.js.gz +0 -0
  368. package/web/chunk-jkgkt722.js +1 -0
  369. package/web/chunk-jkgkt722.js.br +0 -0
  370. package/web/chunk-jkgkt722.js.gz +0 -0
  371. package/web/chunk-k427fwgp.js +1 -0
  372. package/web/chunk-k427fwgp.js.br +0 -0
  373. package/web/chunk-k427fwgp.js.gz +0 -0
  374. package/web/chunk-k8pezbya.js +2 -0
  375. package/web/chunk-k8pezbya.js.br +3 -0
  376. package/web/chunk-k8pezbya.js.gz +0 -0
  377. package/web/chunk-k9t941fj.js +1 -0
  378. package/web/chunk-k9t941fj.js.br +0 -0
  379. package/web/chunk-k9t941fj.js.gz +0 -0
  380. package/web/chunk-kkzwvnft.js +1 -0
  381. package/web/chunk-kkzwvnft.js.br +0 -0
  382. package/web/chunk-kkzwvnft.js.gz +0 -0
  383. package/web/chunk-kpm8gp4z.js +292 -0
  384. package/web/chunk-kpm8gp4z.js.br +0 -0
  385. package/web/chunk-kpm8gp4z.js.gz +0 -0
  386. package/web/chunk-kqyk2an3.js +214 -0
  387. package/web/chunk-kqyk2an3.js.br +0 -0
  388. package/web/chunk-kqyk2an3.js.gz +0 -0
  389. package/web/chunk-m3gryxba.js +2 -0
  390. package/web/chunk-m3gryxba.js.br +0 -0
  391. package/web/chunk-m3gryxba.js.gz +0 -0
  392. package/web/chunk-m8h3c5x3.js +1 -0
  393. package/web/chunk-m8h3c5x3.js.br +0 -0
  394. package/web/chunk-m8h3c5x3.js.gz +0 -0
  395. package/web/chunk-mb7sr4tf.js +55 -0
  396. package/web/chunk-mb7sr4tf.js.br +0 -0
  397. package/web/chunk-mb7sr4tf.js.gz +0 -0
  398. package/web/chunk-meqcd10n.js +1 -0
  399. package/web/chunk-meqcd10n.js.br +0 -0
  400. package/web/chunk-meqcd10n.js.gz +0 -0
  401. package/web/chunk-msrq7vsz.js +7 -0
  402. package/web/chunk-msrq7vsz.js.br +0 -0
  403. package/web/chunk-msrq7vsz.js.gz +0 -0
  404. package/web/chunk-myhtb5ps.js +2 -0
  405. package/web/chunk-myhtb5ps.js.br +0 -0
  406. package/web/chunk-myhtb5ps.js.gz +0 -0
  407. package/web/chunk-n1n55yt8.js +84 -0
  408. package/web/chunk-n1n55yt8.js.br +0 -0
  409. package/web/chunk-n1n55yt8.js.gz +0 -0
  410. package/web/chunk-nmgy1mrz.js +1 -0
  411. package/web/chunk-nmgy1mrz.js.br +0 -0
  412. package/web/chunk-nmgy1mrz.js.gz +0 -0
  413. package/web/chunk-nmnyaawa.js +24 -0
  414. package/web/chunk-nmnyaawa.js.br +0 -0
  415. package/web/chunk-nmnyaawa.js.gz +0 -0
  416. package/web/chunk-nwepnbvn.js +70 -0
  417. package/web/chunk-nwepnbvn.js.br +0 -0
  418. package/web/chunk-nwepnbvn.js.gz +0 -0
  419. package/web/chunk-p2cmfhpz.js +2 -0
  420. package/web/chunk-p2cmfhpz.js.br +0 -0
  421. package/web/chunk-p2cmfhpz.js.gz +0 -0
  422. package/web/chunk-pac9nyhp.js +2 -0
  423. package/web/chunk-pac9nyhp.js.br +0 -0
  424. package/web/chunk-pac9nyhp.js.gz +0 -0
  425. package/web/chunk-pdt40dj7.js +1 -0
  426. package/web/chunk-pdt40dj7.js.br +2 -0
  427. package/web/chunk-pdt40dj7.js.gz +0 -0
  428. package/web/chunk-phs38wt7.js +2 -0
  429. package/web/chunk-phs38wt7.js.br +0 -0
  430. package/web/chunk-phs38wt7.js.gz +0 -0
  431. package/web/chunk-prc7b9xh.js +1 -0
  432. package/web/chunk-prc7b9xh.js.br +0 -0
  433. package/web/chunk-prc7b9xh.js.gz +0 -0
  434. package/web/chunk-q1e80chw.js +1 -0
  435. package/web/chunk-q1e80chw.js.br +2 -0
  436. package/web/chunk-q1e80chw.js.gz +0 -0
  437. package/web/chunk-q6aqg79d.js +2 -0
  438. package/web/chunk-q6aqg79d.js.br +0 -0
  439. package/web/chunk-q6aqg79d.js.gz +0 -0
  440. package/web/chunk-q6sv3fhe.js +2 -0
  441. package/web/chunk-q6sv3fhe.js.br +0 -0
  442. package/web/chunk-q6sv3fhe.js.gz +0 -0
  443. package/web/chunk-rbd2n2mr.js +1 -0
  444. package/web/chunk-rbd2n2mr.js.br +0 -0
  445. package/web/chunk-rbd2n2mr.js.gz +0 -0
  446. package/web/chunk-rbh0yrp6.js +1 -0
  447. package/web/chunk-rbh0yrp6.js.br +0 -0
  448. package/web/chunk-rbh0yrp6.js.gz +0 -0
  449. package/web/chunk-rdarpbhd.js +2 -0
  450. package/web/chunk-rdarpbhd.js.br +0 -0
  451. package/web/chunk-rdarpbhd.js.gz +0 -0
  452. package/web/chunk-rf93p28v.js +1 -0
  453. package/web/chunk-rf93p28v.js.br +0 -0
  454. package/web/chunk-rf93p28v.js.gz +0 -0
  455. package/web/chunk-rjvdk0s6.js +1 -0
  456. package/web/chunk-rjvdk0s6.js.br +0 -0
  457. package/web/chunk-rjvdk0s6.js.gz +0 -0
  458. package/web/chunk-rvmk483c.js +1 -0
  459. package/web/chunk-rvmk483c.js.br +0 -0
  460. package/web/chunk-rvmk483c.js.gz +0 -0
  461. package/web/chunk-s99vfrrz.js +1 -0
  462. package/web/chunk-s99vfrrz.js.br +0 -0
  463. package/web/chunk-s99vfrrz.js.gz +0 -0
  464. package/web/chunk-saem11tv.js +2 -0
  465. package/web/chunk-saem11tv.js.br +0 -0
  466. package/web/chunk-saem11tv.js.gz +0 -0
  467. package/web/chunk-scv8t4m6.js +1 -0
  468. package/web/chunk-scv8t4m6.js.br +0 -0
  469. package/web/chunk-scv8t4m6.js.gz +0 -0
  470. package/web/chunk-stsmcqxe.js +1 -0
  471. package/web/chunk-stsmcqxe.js.br +0 -0
  472. package/web/chunk-stsmcqxe.js.gz +0 -0
  473. package/web/chunk-svaq7f3c.js +1134 -0
  474. package/web/chunk-svaq7f3c.js.br +0 -0
  475. package/web/chunk-svaq7f3c.js.gz +0 -0
  476. package/web/chunk-sy099zt8.js +1 -0
  477. package/web/chunk-sy099zt8.js.br +0 -0
  478. package/web/chunk-sy099zt8.js.gz +0 -0
  479. package/web/chunk-thqrbjwn.js +1 -0
  480. package/web/chunk-thqrbjwn.js.br +2 -0
  481. package/web/chunk-thqrbjwn.js.gz +0 -0
  482. package/web/chunk-ty1m1k6b.js +1 -0
  483. package/web/chunk-ty1m1k6b.js.br +0 -0
  484. package/web/chunk-ty1m1k6b.js.gz +0 -0
  485. package/web/chunk-w54qcqk3.js +1 -0
  486. package/web/chunk-w54qcqk3.js.br +0 -0
  487. package/web/chunk-w54qcqk3.js.gz +0 -0
  488. package/web/chunk-wgf4paqc.js +1 -0
  489. package/web/chunk-wgf4paqc.js.br +0 -0
  490. package/web/chunk-wgf4paqc.js.gz +0 -0
  491. package/web/chunk-ww5c1dmz.js +1 -0
  492. package/web/chunk-ww5c1dmz.js.br +0 -0
  493. package/web/chunk-ww5c1dmz.js.gz +0 -0
  494. package/web/chunk-x5m7phbb.js +1 -0
  495. package/web/chunk-x5m7phbb.js.br +0 -0
  496. package/web/chunk-x5m7phbb.js.gz +0 -0
  497. package/web/chunk-x9wzj52f.js +2 -0
  498. package/web/chunk-x9wzj52f.js.br +0 -0
  499. package/web/chunk-x9wzj52f.js.gz +0 -0
  500. package/web/chunk-xgfam7bx.js +1 -0
  501. package/web/chunk-xgfam7bx.js.br +0 -0
  502. package/web/chunk-xgfam7bx.js.gz +0 -0
  503. package/web/chunk-xnn07hr4.js +21 -0
  504. package/web/chunk-xnn07hr4.js.br +0 -0
  505. package/web/chunk-xnn07hr4.js.gz +0 -0
  506. package/web/chunk-xreg1e03.js +78 -0
  507. package/web/chunk-xreg1e03.js.br +0 -0
  508. package/web/chunk-xreg1e03.js.gz +0 -0
  509. package/web/chunk-xsxd3wsv.js +4 -0
  510. package/web/chunk-xsxd3wsv.js.br +0 -0
  511. package/web/chunk-xsxd3wsv.js.gz +0 -0
  512. package/web/chunk-y7jebh1j.js +1 -0
  513. package/web/chunk-y7jebh1j.js.br +0 -0
  514. package/web/chunk-y7jebh1j.js.gz +0 -0
  515. package/web/chunk-yhn2mwnb.js +291 -0
  516. package/web/chunk-yhn2mwnb.js.br +0 -0
  517. package/web/chunk-yhn2mwnb.js.gz +0 -0
  518. package/web/chunk-yj85fg74.js +1 -0
  519. package/web/chunk-yj85fg74.js.br +0 -0
  520. package/web/chunk-yj85fg74.js.gz +0 -0
  521. package/web/chunk-yjvjzayn.js +1 -0
  522. package/web/chunk-yjvjzayn.js.br +0 -0
  523. package/web/chunk-yjvjzayn.js.gz +0 -0
  524. package/web/chunk-yqwvedf5.js +370 -0
  525. package/web/chunk-yqwvedf5.js.br +0 -0
  526. package/web/chunk-yqwvedf5.js.gz +0 -0
  527. package/web/chunk-z3tr221x.js +1 -0
  528. package/web/chunk-z3tr221x.js.br +0 -0
  529. package/web/chunk-z3tr221x.js.gz +0 -0
  530. package/web/chunk-z4n3tx0q.js +1 -0
  531. package/web/chunk-z4n3tx0q.js.br +0 -0
  532. package/web/chunk-z4n3tx0q.js.gz +0 -0
  533. package/web/index.html +1 -1
  534. package/web/index.html.br +0 -0
  535. package/web/index.html.gz +0 -0
  536. package/worker.js +1 -1
  537. package/chunk-03b5jh31.js +0 -5
  538. package/chunk-0b2brwjc.js +0 -3
  539. package/chunk-0x0459qp.js +0 -2
  540. package/chunk-16yz5ebn.js +0 -2
  541. package/chunk-1kdd7xry.js +0 -2
  542. package/chunk-225dyk1y.js +0 -8
  543. package/chunk-2fymxwe7.js +0 -7
  544. package/chunk-2m2sa0bp.js +0 -2
  545. package/chunk-35y6nf6k.js +0 -12
  546. package/chunk-3phf8eg6.js +0 -3
  547. package/chunk-3qxq264t.js +0 -2
  548. package/chunk-3r38vbt5.js +0 -2
  549. package/chunk-3s8rpc1w.js +0 -3
  550. package/chunk-3t8wz9w8.js +0 -3
  551. package/chunk-43qf44t8.js +0 -3
  552. package/chunk-49hsqsht.js +0 -2
  553. package/chunk-4fbj3k59.js +0 -3
  554. package/chunk-4fj91gt1.js +0 -4
  555. package/chunk-51a0843g.js +0 -3
  556. package/chunk-5h59tby8.js +0 -470
  557. package/chunk-5m51j40e.js +0 -7
  558. package/chunk-5mt8xxex.js +0 -3
  559. package/chunk-85sjfyjd.js +0 -2
  560. package/chunk-97ntcrm7.js +0 -2
  561. package/chunk-9qzyn98b.js +0 -3
  562. package/chunk-9t3v8c3m.js +0 -2
  563. package/chunk-9w1m9av8.js +0 -11
  564. package/chunk-9x28stv0.js +0 -2
  565. package/chunk-a3fpx924.js +0 -3
  566. package/chunk-ak95r8mq.js +0 -3556
  567. package/chunk-ak9rkrf3.js +0 -5
  568. package/chunk-b516bp7n.js +0 -3
  569. package/chunk-bn1aaewd.js +0 -59
  570. package/chunk-c5ydt3vq.js +0 -3
  571. package/chunk-cjh5h31t.js +0 -11
  572. package/chunk-cr0tqn6j.js +0 -3
  573. package/chunk-e0ytnnwt.js +0 -3
  574. package/chunk-e2m8ap8f.js +0 -3
  575. package/chunk-e8xywvv4.js +0 -3
  576. package/chunk-enmrpjpt.js +0 -3
  577. package/chunk-ewaskman.js +0 -2
  578. package/chunk-feyt85gg.js +0 -2
  579. package/chunk-fj56fznw.js +0 -3
  580. package/chunk-ftg4b5pa.js +0 -3
  581. package/chunk-g6cc7ac1.js +0 -3
  582. package/chunk-gdx1j9c5.js +0 -10
  583. package/chunk-gs5aebwh.js +0 -2
  584. package/chunk-h00wjps7.js +0 -4
  585. package/chunk-h1fwdz4h.js +0 -2
  586. package/chunk-hhxtc9jn.js +0 -2
  587. package/chunk-hrn2ss1a.js +0 -2
  588. package/chunk-jhwb962k.js +0 -15
  589. package/chunk-jpwr1sd2.js +0 -3
  590. package/chunk-jy07y4pv.js +0 -7
  591. package/chunk-k9x1r69s.js +0 -18
  592. package/chunk-kb5h9rmb.js +0 -2
  593. package/chunk-kgnd32hn.js +0 -4
  594. package/chunk-kka12j10.js +0 -3
  595. package/chunk-kypdthjg.js +0 -2
  596. package/chunk-m9386732.js +0 -16
  597. package/chunk-np123myw.js +0 -12
  598. package/chunk-ntntwtxn.js +0 -5
  599. package/chunk-qn70tm91.js +0 -20
  600. package/chunk-qtgc74er.js +0 -5
  601. package/chunk-qz6ybxjg.js +0 -39
  602. package/chunk-r36b12zb.js +0 -2
  603. package/chunk-re8n2te5.js +0 -2
  604. package/chunk-rpbxbb92.js +0 -10
  605. package/chunk-rqrjzz73.js +0 -2
  606. package/chunk-scy1p7x2.js +0 -9
  607. package/chunk-sq5ppnr3.js +0 -25
  608. package/chunk-syhhzr1j.js +0 -3
  609. package/chunk-t3mq64c8.js +0 -3
  610. package/chunk-tmq8ktys.js +0 -3
  611. package/chunk-ttv805sb.js +0 -390
  612. package/chunk-v878x8zr.js +0 -7
  613. package/chunk-ve1b6vg6.js +0 -2
  614. package/chunk-vzrmdaba.js +0 -2
  615. package/chunk-w3n8wm44.js +0 -2
  616. package/chunk-w3skxmvx.js +0 -3
  617. package/chunk-wxzk086k.js +0 -2
  618. package/chunk-x1y4s01x.js +0 -31
  619. package/chunk-y8mf9tcj.js +0 -25
  620. package/chunk-z4g2q36h.js +0 -3
  621. package/chunk-zkjnt298.js +0 -3
  622. package/web/chunk-07dd0jed.js +0 -78
  623. package/web/chunk-07dd0jed.js.br +0 -0
  624. package/web/chunk-07dd0jed.js.gz +0 -0
  625. package/web/chunk-0hvyq55w.js +0 -1
  626. package/web/chunk-0hvyq55w.js.br +0 -0
  627. package/web/chunk-0hvyq55w.js.gz +0 -0
  628. package/web/chunk-0q5drhbk.js +0 -1
  629. package/web/chunk-0q5drhbk.js.br +0 -0
  630. package/web/chunk-0q5drhbk.js.gz +0 -0
  631. package/web/chunk-0rvx1z2b.js +0 -1
  632. package/web/chunk-0rvx1z2b.js.br +0 -0
  633. package/web/chunk-0rvx1z2b.js.gz +0 -0
  634. package/web/chunk-0w6ta3ps.js +0 -1
  635. package/web/chunk-0w6ta3ps.js.br +0 -0
  636. package/web/chunk-0w6ta3ps.js.gz +0 -0
  637. package/web/chunk-0wqmwnd8.js +0 -2
  638. package/web/chunk-0wqmwnd8.js.br +0 -0
  639. package/web/chunk-0wqmwnd8.js.gz +0 -0
  640. package/web/chunk-0z10aqp1.js +0 -2
  641. package/web/chunk-0z10aqp1.js.br +0 -0
  642. package/web/chunk-0z10aqp1.js.gz +0 -0
  643. package/web/chunk-12vcrj7y.js +0 -1
  644. package/web/chunk-12vcrj7y.js.br +0 -0
  645. package/web/chunk-12vcrj7y.js.gz +0 -0
  646. package/web/chunk-16b5anw4.js +0 -3
  647. package/web/chunk-16b5anw4.js.br +0 -0
  648. package/web/chunk-16b5anw4.js.gz +0 -0
  649. package/web/chunk-21d8pzcm.js +0 -142
  650. package/web/chunk-21d8pzcm.js.br +0 -0
  651. package/web/chunk-21d8pzcm.js.gz +0 -0
  652. package/web/chunk-2c4affp1.js +0 -70
  653. package/web/chunk-2c4affp1.js.br +0 -0
  654. package/web/chunk-2c4affp1.js.gz +0 -0
  655. package/web/chunk-2dykyq1n.js +0 -2
  656. package/web/chunk-2dykyq1n.js.br +0 -0
  657. package/web/chunk-2dykyq1n.js.gz +0 -0
  658. package/web/chunk-2h2w244w.js +0 -370
  659. package/web/chunk-2h2w244w.js.br +0 -0
  660. package/web/chunk-2h2w244w.js.gz +0 -0
  661. package/web/chunk-2hd51wb6.js +0 -169
  662. package/web/chunk-2hd51wb6.js.br +0 -0
  663. package/web/chunk-2hd51wb6.js.gz +0 -0
  664. package/web/chunk-2tc6krye.js +0 -291
  665. package/web/chunk-2tc6krye.js.br +0 -0
  666. package/web/chunk-2tc6krye.js.gz +0 -0
  667. package/web/chunk-2w27acew.js +0 -38
  668. package/web/chunk-2w27acew.js.br +0 -0
  669. package/web/chunk-2w27acew.js.gz +0 -0
  670. package/web/chunk-2w4rdnhj.js +0 -1
  671. package/web/chunk-2w4rdnhj.js.br +0 -0
  672. package/web/chunk-2w4rdnhj.js.gz +0 -0
  673. package/web/chunk-31vxes2p.js +0 -200
  674. package/web/chunk-31vxes2p.js.br +0 -0
  675. package/web/chunk-31vxes2p.js.gz +0 -0
  676. package/web/chunk-32qd2y5h.js +0 -1
  677. package/web/chunk-32qd2y5h.js.br +0 -0
  678. package/web/chunk-32qd2y5h.js.gz +0 -0
  679. package/web/chunk-366a11ec.js +0 -1
  680. package/web/chunk-366a11ec.js.br +0 -0
  681. package/web/chunk-366a11ec.js.gz +0 -0
  682. package/web/chunk-39kaz6fa.js +0 -4
  683. package/web/chunk-39kaz6fa.js.br +0 -0
  684. package/web/chunk-39kaz6fa.js.gz +0 -0
  685. package/web/chunk-3d3y4tep.js +0 -214
  686. package/web/chunk-3d3y4tep.js.br +0 -0
  687. package/web/chunk-3d3y4tep.js.gz +0 -0
  688. package/web/chunk-4makcmpw.js +0 -1
  689. package/web/chunk-4makcmpw.js.br +0 -0
  690. package/web/chunk-4makcmpw.js.gz +0 -0
  691. package/web/chunk-4mypk63p.js +0 -2
  692. package/web/chunk-4mypk63p.js.br +0 -0
  693. package/web/chunk-4mypk63p.js.gz +0 -0
  694. package/web/chunk-4wd9r73y.js +0 -1
  695. package/web/chunk-4wd9r73y.js.br +0 -0
  696. package/web/chunk-4wd9r73y.js.gz +0 -0
  697. package/web/chunk-4zftsyq2.js +0 -2
  698. package/web/chunk-4zftsyq2.js.br +0 -0
  699. package/web/chunk-4zftsyq2.js.gz +0 -0
  700. package/web/chunk-50wrjr22.js +0 -2
  701. package/web/chunk-50wrjr22.js.br +0 -0
  702. package/web/chunk-50wrjr22.js.gz +0 -0
  703. package/web/chunk-52tt9qt4.js +0 -2
  704. package/web/chunk-52tt9qt4.js.br +0 -0
  705. package/web/chunk-52tt9qt4.js.gz +0 -0
  706. package/web/chunk-55kw8p9r.js +0 -89
  707. package/web/chunk-55kw8p9r.js.br +0 -0
  708. package/web/chunk-55kw8p9r.js.gz +0 -0
  709. package/web/chunk-56tqa12m.js +0 -2
  710. package/web/chunk-56tqa12m.js.br +0 -0
  711. package/web/chunk-56tqa12m.js.gz +0 -0
  712. package/web/chunk-595tqsv5.js +0 -1
  713. package/web/chunk-595tqsv5.js.br +0 -0
  714. package/web/chunk-595tqsv5.js.gz +0 -0
  715. package/web/chunk-5cp4n5ck.js +0 -2
  716. package/web/chunk-5cp4n5ck.js.br +0 -0
  717. package/web/chunk-5cp4n5ck.js.gz +0 -0
  718. package/web/chunk-5h193k2c.js +0 -1
  719. package/web/chunk-5h193k2c.js.br +0 -0
  720. package/web/chunk-5h193k2c.js.gz +0 -0
  721. package/web/chunk-5nbmnchg.js +0 -16
  722. package/web/chunk-5nbmnchg.js.br +0 -0
  723. package/web/chunk-5nbmnchg.js.gz +0 -0
  724. package/web/chunk-5vc1wkwb.js +0 -2
  725. package/web/chunk-5vc1wkwb.js.br +0 -0
  726. package/web/chunk-5vc1wkwb.js.gz +0 -0
  727. package/web/chunk-5wgdprjp.js +0 -1
  728. package/web/chunk-5wgdprjp.js.br +0 -0
  729. package/web/chunk-5wgdprjp.js.gz +0 -0
  730. package/web/chunk-60fbfw70.js +0 -1
  731. package/web/chunk-60fbfw70.js.br +0 -0
  732. package/web/chunk-60fbfw70.js.gz +0 -0
  733. package/web/chunk-62z94rt2.js +0 -36
  734. package/web/chunk-62z94rt2.js.br +0 -0
  735. package/web/chunk-62z94rt2.js.gz +0 -0
  736. package/web/chunk-67khfy00.css +0 -1
  737. package/web/chunk-67khfy00.css.br +0 -0
  738. package/web/chunk-67khfy00.css.gz +0 -0
  739. package/web/chunk-6bt2t0xt.js +0 -8
  740. package/web/chunk-6bt2t0xt.js.br +0 -0
  741. package/web/chunk-6bt2t0xt.js.gz +0 -0
  742. package/web/chunk-780qvh05.js +0 -99
  743. package/web/chunk-780qvh05.js.br +0 -0
  744. package/web/chunk-780qvh05.js.gz +0 -0
  745. package/web/chunk-78t5dqea.js +0 -324
  746. package/web/chunk-78t5dqea.js.br +0 -0
  747. package/web/chunk-78t5dqea.js.gz +0 -0
  748. package/web/chunk-7cf1kk45.js +0 -1
  749. package/web/chunk-7cf1kk45.js.br +0 -2
  750. package/web/chunk-7cf1kk45.js.gz +0 -0
  751. package/web/chunk-7edmyret.js +0 -1
  752. package/web/chunk-7edmyret.js.br +0 -0
  753. package/web/chunk-7edmyret.js.gz +0 -0
  754. package/web/chunk-7remkcff.js +0 -2
  755. package/web/chunk-7remkcff.js.br +0 -0
  756. package/web/chunk-7remkcff.js.gz +0 -0
  757. package/web/chunk-7s062q01.js +0 -1
  758. package/web/chunk-7s062q01.js.br +0 -0
  759. package/web/chunk-7s062q01.js.gz +0 -0
  760. package/web/chunk-82zwwy0b.js +0 -1
  761. package/web/chunk-82zwwy0b.js.br +0 -0
  762. package/web/chunk-82zwwy0b.js.gz +0 -0
  763. package/web/chunk-89crtpnw.js +0 -1
  764. package/web/chunk-89crtpnw.js.br +0 -0
  765. package/web/chunk-89crtpnw.js.gz +0 -0
  766. package/web/chunk-8c6h952g.js +0 -106
  767. package/web/chunk-8c6h952g.js.br +0 -0
  768. package/web/chunk-8c6h952g.js.gz +0 -0
  769. package/web/chunk-8g239029.js +0 -1
  770. package/web/chunk-8g239029.js.br +0 -0
  771. package/web/chunk-8g239029.js.gz +0 -0
  772. package/web/chunk-8wgev3hd.js +0 -1
  773. package/web/chunk-8wgev3hd.js.br +0 -0
  774. package/web/chunk-8wgev3hd.js.gz +0 -0
  775. package/web/chunk-9r7nbre7.js +0 -2
  776. package/web/chunk-9r7nbre7.js.br +0 -0
  777. package/web/chunk-9r7nbre7.js.gz +0 -0
  778. package/web/chunk-9vcbnf1m.js +0 -1
  779. package/web/chunk-9vcbnf1m.js.br +0 -0
  780. package/web/chunk-9vcbnf1m.js.gz +0 -0
  781. package/web/chunk-9y9nwaqj.js +0 -1
  782. package/web/chunk-9y9nwaqj.js.br +0 -0
  783. package/web/chunk-9y9nwaqj.js.gz +0 -0
  784. package/web/chunk-abahqsws.js +0 -2
  785. package/web/chunk-abahqsws.js.br +0 -0
  786. package/web/chunk-abahqsws.js.gz +0 -0
  787. package/web/chunk-acv6gk2b.js +0 -2
  788. package/web/chunk-acv6gk2b.js.br +0 -0
  789. package/web/chunk-acv6gk2b.js.gz +0 -0
  790. package/web/chunk-ad6x47yy.js +0 -1
  791. package/web/chunk-ad6x47yy.js.br +0 -0
  792. package/web/chunk-ad6x47yy.js.gz +0 -0
  793. package/web/chunk-ajpzsx51.js +0 -1
  794. package/web/chunk-ajpzsx51.js.br +0 -0
  795. package/web/chunk-ajpzsx51.js.gz +0 -0
  796. package/web/chunk-b1b9txvk.js +0 -1
  797. package/web/chunk-b1b9txvk.js.br +0 -0
  798. package/web/chunk-b1b9txvk.js.gz +0 -0
  799. package/web/chunk-b83bzjcx.js +0 -1134
  800. package/web/chunk-b83bzjcx.js.br +0 -0
  801. package/web/chunk-b83bzjcx.js.gz +0 -0
  802. package/web/chunk-c1zhat04.js +0 -1
  803. package/web/chunk-c1zhat04.js.br +0 -0
  804. package/web/chunk-c1zhat04.js.gz +0 -0
  805. package/web/chunk-c37hhmtd.js +0 -62
  806. package/web/chunk-c37hhmtd.js.br +0 -0
  807. package/web/chunk-c37hhmtd.js.gz +0 -0
  808. package/web/chunk-c69t0ysj.js +0 -1
  809. package/web/chunk-c69t0ysj.js.br +0 -0
  810. package/web/chunk-c69t0ysj.js.gz +0 -0
  811. package/web/chunk-caz85hz4.js +0 -1
  812. package/web/chunk-caz85hz4.js.br +0 -0
  813. package/web/chunk-caz85hz4.js.gz +0 -0
  814. package/web/chunk-cbtpaf3e.js +0 -7
  815. package/web/chunk-cbtpaf3e.js.br +0 -0
  816. package/web/chunk-cbtpaf3e.js.gz +0 -0
  817. package/web/chunk-d18r4m14.js +0 -141
  818. package/web/chunk-d18r4m14.js.br +0 -0
  819. package/web/chunk-d18r4m14.js.gz +0 -0
  820. package/web/chunk-d1gga18f.js +0 -217
  821. package/web/chunk-d1gga18f.js.br +0 -0
  822. package/web/chunk-d1gga18f.js.gz +0 -0
  823. package/web/chunk-d4kjy2qn.js +0 -1
  824. package/web/chunk-d4kjy2qn.js.br +0 -0
  825. package/web/chunk-d4kjy2qn.js.gz +0 -0
  826. package/web/chunk-dbv8qpen.js +0 -303
  827. package/web/chunk-dbv8qpen.js.br +0 -0
  828. package/web/chunk-dbv8qpen.js.gz +0 -0
  829. package/web/chunk-dmqtdeb4.js +0 -1
  830. package/web/chunk-dmqtdeb4.js.br +0 -0
  831. package/web/chunk-dmqtdeb4.js.gz +0 -0
  832. package/web/chunk-e65y60v1.js +0 -2
  833. package/web/chunk-e65y60v1.js.br +0 -0
  834. package/web/chunk-e65y60v1.js.gz +0 -0
  835. package/web/chunk-e6r1sb5r.js +0 -7
  836. package/web/chunk-e6r1sb5r.js.br +0 -0
  837. package/web/chunk-e6r1sb5r.js.gz +0 -0
  838. package/web/chunk-ed8qqn45.js +0 -2
  839. package/web/chunk-ed8qqn45.js.br +0 -0
  840. package/web/chunk-ed8qqn45.js.gz +0 -0
  841. package/web/chunk-ef1h0tt7.js +0 -2
  842. package/web/chunk-ef1h0tt7.js.br +0 -0
  843. package/web/chunk-ef1h0tt7.js.gz +0 -0
  844. package/web/chunk-ep5qff8m.js +0 -1
  845. package/web/chunk-ep5qff8m.js.br +0 -0
  846. package/web/chunk-ep5qff8m.js.gz +0 -0
  847. package/web/chunk-ex66t805.js +0 -120
  848. package/web/chunk-ex66t805.js.br +0 -0
  849. package/web/chunk-ex66t805.js.gz +0 -0
  850. package/web/chunk-fb8qtyqg.js +0 -1
  851. package/web/chunk-fb8qtyqg.js.br +0 -0
  852. package/web/chunk-fb8qtyqg.js.gz +0 -0
  853. package/web/chunk-fbzhgaak.js +0 -98
  854. package/web/chunk-fbzhgaak.js.br +0 -0
  855. package/web/chunk-fbzhgaak.js.gz +0 -0
  856. package/web/chunk-ffwyfdg4.js +0 -1
  857. package/web/chunk-ffwyfdg4.js.br +0 -0
  858. package/web/chunk-ffwyfdg4.js.gz +0 -0
  859. package/web/chunk-fsz1msjr.js +0 -2
  860. package/web/chunk-fsz1msjr.js.br +0 -0
  861. package/web/chunk-fsz1msjr.js.gz +0 -0
  862. package/web/chunk-fztzcy7c.js +0 -89
  863. package/web/chunk-fztzcy7c.js.br +0 -0
  864. package/web/chunk-fztzcy7c.js.gz +0 -0
  865. package/web/chunk-g3vbtxgy.js +0 -2
  866. package/web/chunk-g3vbtxgy.js.br +0 -0
  867. package/web/chunk-g3vbtxgy.js.gz +0 -0
  868. package/web/chunk-g4st8a4e.js +0 -1
  869. package/web/chunk-g4st8a4e.js.br +0 -0
  870. package/web/chunk-g4st8a4e.js.gz +0 -0
  871. package/web/chunk-gs41j1vb.js +0 -1
  872. package/web/chunk-gs41j1vb.js.br +0 -0
  873. package/web/chunk-gs41j1vb.js.gz +0 -0
  874. package/web/chunk-gt4dzb4b.js +0 -292
  875. package/web/chunk-gt4dzb4b.js.br +0 -0
  876. package/web/chunk-gt4dzb4b.js.gz +0 -0
  877. package/web/chunk-h4g8j133.js +0 -7
  878. package/web/chunk-h4g8j133.js.br +0 -0
  879. package/web/chunk-h4g8j133.js.gz +0 -0
  880. package/web/chunk-hj067dfg.js +0 -1
  881. package/web/chunk-hj067dfg.js.br +0 -2
  882. package/web/chunk-hj067dfg.js.gz +0 -0
  883. package/web/chunk-hp167dbv.js +0 -1
  884. package/web/chunk-hp167dbv.js.br +0 -0
  885. package/web/chunk-hp167dbv.js.gz +0 -0
  886. package/web/chunk-ht3cek8b.js +0 -1
  887. package/web/chunk-ht3cek8b.js.br +0 -2
  888. package/web/chunk-ht3cek8b.js.gz +0 -0
  889. package/web/chunk-hw4f79k8.js +0 -1
  890. package/web/chunk-hw4f79k8.js.br +0 -0
  891. package/web/chunk-hw4f79k8.js.gz +0 -0
  892. package/web/chunk-j2y3wkxc.js +0 -40
  893. package/web/chunk-j2y3wkxc.js.br +0 -0
  894. package/web/chunk-j2y3wkxc.js.gz +0 -0
  895. package/web/chunk-j4942vkb.js +0 -1
  896. package/web/chunk-j4942vkb.js.br +0 -0
  897. package/web/chunk-j4942vkb.js.gz +0 -0
  898. package/web/chunk-j7sfcfxr.js +0 -1
  899. package/web/chunk-j7sfcfxr.js.br +0 -0
  900. package/web/chunk-j7sfcfxr.js.gz +0 -0
  901. package/web/chunk-jge5e8c4.js +0 -1
  902. package/web/chunk-jge5e8c4.js.br +0 -0
  903. package/web/chunk-jge5e8c4.js.gz +0 -0
  904. package/web/chunk-jyjgvcac.js +0 -2
  905. package/web/chunk-jyjgvcac.js.br +0 -0
  906. package/web/chunk-jyjgvcac.js.gz +0 -0
  907. package/web/chunk-k1d0y72z.js +0 -2
  908. package/web/chunk-k1d0y72z.js.br +0 -0
  909. package/web/chunk-k1d0y72z.js.gz +0 -0
  910. package/web/chunk-k9bzz441.js +0 -1
  911. package/web/chunk-k9bzz441.js.br +0 -0
  912. package/web/chunk-k9bzz441.js.gz +0 -0
  913. package/web/chunk-keway722.js +0 -39
  914. package/web/chunk-keway722.js.br +0 -0
  915. package/web/chunk-keway722.js.gz +0 -0
  916. package/web/chunk-kh0xyffx.js +0 -1
  917. package/web/chunk-kh0xyffx.js.br +0 -0
  918. package/web/chunk-kh0xyffx.js.gz +0 -0
  919. package/web/chunk-kr7shpnb.js +0 -4
  920. package/web/chunk-kr7shpnb.js.br +0 -0
  921. package/web/chunk-kr7shpnb.js.gz +0 -0
  922. package/web/chunk-ktvxgxsd.js +0 -2
  923. package/web/chunk-ktvxgxsd.js.br +0 -0
  924. package/web/chunk-ktvxgxsd.js.gz +0 -0
  925. package/web/chunk-kv5swske.js +0 -1
  926. package/web/chunk-kv5swske.js.br +0 -0
  927. package/web/chunk-kv5swske.js.gz +0 -0
  928. package/web/chunk-kx2k462h.js +0 -1
  929. package/web/chunk-kx2k462h.js.br +0 -0
  930. package/web/chunk-kx2k462h.js.gz +0 -0
  931. package/web/chunk-m5b7hny2.js +0 -2
  932. package/web/chunk-m5b7hny2.js.br +0 -0
  933. package/web/chunk-m5b7hny2.js.gz +0 -0
  934. package/web/chunk-m7kypzvp.js +0 -2
  935. package/web/chunk-m7kypzvp.js.br +0 -0
  936. package/web/chunk-m7kypzvp.js.gz +0 -0
  937. package/web/chunk-n00se8nk.js +0 -2
  938. package/web/chunk-n00se8nk.js.br +0 -0
  939. package/web/chunk-n00se8nk.js.gz +0 -0
  940. package/web/chunk-n419cees.js +0 -1
  941. package/web/chunk-n419cees.js.br +0 -0
  942. package/web/chunk-n419cees.js.gz +0 -0
  943. package/web/chunk-n45fgfyt.js +0 -1
  944. package/web/chunk-n45fgfyt.js.br +0 -2
  945. package/web/chunk-n45fgfyt.js.gz +0 -0
  946. package/web/chunk-n5v71fas.js +0 -2
  947. package/web/chunk-n5v71fas.js.br +0 -0
  948. package/web/chunk-n5v71fas.js.gz +0 -0
  949. package/web/chunk-ngdj0r7w.js +0 -24
  950. package/web/chunk-ngdj0r7w.js.br +0 -0
  951. package/web/chunk-ngdj0r7w.js.gz +0 -0
  952. package/web/chunk-nzey7cpv.js +0 -1
  953. package/web/chunk-nzey7cpv.js.br +0 -0
  954. package/web/chunk-nzey7cpv.js.gz +0 -0
  955. package/web/chunk-p6ma361e.js +0 -2
  956. package/web/chunk-p6ma361e.js.br +0 -0
  957. package/web/chunk-p6ma361e.js.gz +0 -0
  958. package/web/chunk-p76f6cf4.js +0 -2
  959. package/web/chunk-p76f6cf4.js.br +0 -0
  960. package/web/chunk-p76f6cf4.js.gz +0 -0
  961. package/web/chunk-pvhz0gqy.js +0 -332
  962. package/web/chunk-pvhz0gqy.js.br +0 -0
  963. package/web/chunk-pvhz0gqy.js.gz +0 -0
  964. package/web/chunk-q96eky9v.js +0 -1
  965. package/web/chunk-q96eky9v.js.br +0 -0
  966. package/web/chunk-q96eky9v.js.gz +0 -0
  967. package/web/chunk-qcgs1mft.js +0 -2
  968. package/web/chunk-qcgs1mft.js.br +0 -0
  969. package/web/chunk-qcgs1mft.js.gz +0 -0
  970. package/web/chunk-qgtqwmkb.js +0 -1
  971. package/web/chunk-qgtqwmkb.js.br +0 -2
  972. package/web/chunk-qgtqwmkb.js.gz +0 -0
  973. package/web/chunk-qh24q7c0.js +0 -2
  974. package/web/chunk-qh24q7c0.js.br +0 -0
  975. package/web/chunk-qh24q7c0.js.gz +0 -0
  976. package/web/chunk-qygjhm63.js +0 -1
  977. package/web/chunk-qygjhm63.js.br +0 -0
  978. package/web/chunk-qygjhm63.js.gz +0 -0
  979. package/web/chunk-r1dnh0s8.js +0 -1
  980. package/web/chunk-r1dnh0s8.js.br +0 -0
  981. package/web/chunk-r1dnh0s8.js.gz +0 -0
  982. package/web/chunk-r1xksxab.js +0 -1
  983. package/web/chunk-r1xksxab.js.br +0 -0
  984. package/web/chunk-r1xksxab.js.gz +0 -0
  985. package/web/chunk-r5eakmw6.js +0 -1
  986. package/web/chunk-r5eakmw6.js.br +0 -0
  987. package/web/chunk-r5eakmw6.js.gz +0 -0
  988. package/web/chunk-rfsg5rke.js +0 -1
  989. package/web/chunk-rfsg5rke.js.br +0 -2
  990. package/web/chunk-rfsg5rke.js.gz +0 -0
  991. package/web/chunk-rsc5k5he.js +0 -139
  992. package/web/chunk-rsc5k5he.js.br +0 -0
  993. package/web/chunk-rsc5k5he.js.gz +0 -0
  994. package/web/chunk-s7a2f62f.js +0 -140
  995. package/web/chunk-s7a2f62f.js.br +0 -0
  996. package/web/chunk-s7a2f62f.js.gz +0 -0
  997. package/web/chunk-s7h50avx.js +0 -2
  998. package/web/chunk-s7h50avx.js.br +0 -0
  999. package/web/chunk-s7h50avx.js.gz +0 -0
  1000. package/web/chunk-sac6fn9n.js +0 -24
  1001. package/web/chunk-sac6fn9n.js.br +0 -0
  1002. package/web/chunk-sac6fn9n.js.gz +0 -0
  1003. package/web/chunk-sk47kk5j.js +0 -1
  1004. package/web/chunk-sk47kk5j.js.br +0 -0
  1005. package/web/chunk-sk47kk5j.js.gz +0 -0
  1006. package/web/chunk-t0xjx21h.js +0 -30
  1007. package/web/chunk-t0xjx21h.js.br +0 -0
  1008. package/web/chunk-t0xjx21h.js.gz +0 -0
  1009. package/web/chunk-t6agpn2z.js +0 -1
  1010. package/web/chunk-t6agpn2z.js.br +0 -0
  1011. package/web/chunk-t6agpn2z.js.gz +0 -0
  1012. package/web/chunk-t9heac9a.js +0 -2
  1013. package/web/chunk-t9heac9a.js.br +0 -0
  1014. package/web/chunk-t9heac9a.js.gz +0 -0
  1015. package/web/chunk-v7ck87jf.js +0 -1
  1016. package/web/chunk-v7ck87jf.js.br +0 -0
  1017. package/web/chunk-v7ck87jf.js.gz +0 -0
  1018. package/web/chunk-vvk9nche.js +0 -21
  1019. package/web/chunk-vvk9nche.js.br +0 -0
  1020. package/web/chunk-vvk9nche.js.gz +0 -0
  1021. package/web/chunk-vxtfen72.js +0 -1
  1022. package/web/chunk-vxtfen72.js.br +0 -0
  1023. package/web/chunk-vxtfen72.js.gz +0 -0
  1024. package/web/chunk-w5c2r59n.js +0 -41
  1025. package/web/chunk-w5c2r59n.js.br +0 -0
  1026. package/web/chunk-w5c2r59n.js.gz +0 -0
  1027. package/web/chunk-wh0vt2vd.js +0 -34
  1028. package/web/chunk-wh0vt2vd.js.br +0 -0
  1029. package/web/chunk-wh0vt2vd.js.gz +0 -0
  1030. package/web/chunk-wvvrdqgb.js +0 -1
  1031. package/web/chunk-wvvrdqgb.js.br +0 -2
  1032. package/web/chunk-wvvrdqgb.js.gz +0 -0
  1033. package/web/chunk-xe7fj72r.js +0 -1
  1034. package/web/chunk-xe7fj72r.js.br +0 -0
  1035. package/web/chunk-xe7fj72r.js.gz +0 -0
  1036. package/web/chunk-xp9tdb5t.js +0 -1
  1037. package/web/chunk-xp9tdb5t.js.br +0 -2
  1038. package/web/chunk-xp9tdb5t.js.gz +0 -0
  1039. package/web/chunk-y10hsdq4.js +0 -1
  1040. package/web/chunk-y10hsdq4.js.br +0 -0
  1041. package/web/chunk-y10hsdq4.js.gz +0 -0
  1042. package/web/chunk-yarsp7h7.js +0 -12
  1043. package/web/chunk-yarsp7h7.js.br +0 -0
  1044. package/web/chunk-yarsp7h7.js.gz +0 -0
  1045. package/web/chunk-yw5wyz1q.js +0 -55
  1046. package/web/chunk-yw5wyz1q.js.br +0 -0
  1047. package/web/chunk-yw5wyz1q.js.gz +0 -0
  1048. package/web/chunk-z09emmrb.js +0 -1
  1049. package/web/chunk-z09emmrb.js.br +0 -0
  1050. package/web/chunk-z09emmrb.js.gz +0 -0
  1051. package/web/chunk-z3ea4vhk.js +0 -1
  1052. package/web/chunk-z3ea4vhk.js.br +0 -0
  1053. package/web/chunk-z3ea4vhk.js.gz +0 -0
  1054. package/web/chunk-z7adzvfz.js +0 -1
  1055. package/web/chunk-z7adzvfz.js.br +0 -0
  1056. package/web/chunk-z7adzvfz.js.gz +0 -0
  1057. package/web/chunk-zb01zmms.js +0 -84
  1058. package/web/chunk-zb01zmms.js.br +0 -0
  1059. package/web/chunk-zb01zmms.js.gz +0 -0
@@ -1,291 +0,0 @@
1
- import{t,a,at,k,A,R,I,L,D,P,N,u,h,js,F,De,Te,Ee,ln,ze,Ue}from"./chunk-dbv8qpen.js";import{In}from"./chunk-p6ma361e.js";import{Fe}from"./chunk-2dykyq1n.js";import{Le}from"./chunk-acv6gk2b.js";var Pt=function(){var e=t(function(Q,c,S,n){for(S=S||{},n=Q.length;n--;S[Q[n]]=c);return S},"o"),s=[1,2],l=[1,3],r=[1,4],f=[2,4],p=[1,9],y=[1,11],m=[1,16],o=[1,17],E=[1,18],_=[1,19],Y=[1,33],V=[1,20],j=[1,21],w=[1,22],g=[1,23],M=[1,24],O=[1,26],z=[1,27],W=[1,28],K=[1,29],x=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,S,n,T,v,i,it){var d=i.length-1;switch(v){case 3:return T.setRootDoc(i[d]),i[d];break;case 4:this.$=[];break;case 5:if(i[d]!="nl")i[d-1].push(i[d]),this.$=i[d-1];break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:let Et=i[d-1];Et.description=T.trimColon(i[d]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:let _t=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:_t};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var X=i[d],J=i[d-2].trim();if(i[d].match(":")){var ct=i[d].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:Y,57:rt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:Y,57:rt},e(b,[2,17]),e(Vt,f,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,72],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,f,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,81],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,S){if(S.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=S,n}},"parseError"),parse:t(function(c){var S=this,n=[0],T=[],v=[null],i=[],it=this.table,d="",X=0,J=0,ct=0,Et=2,_t=1,de=i.slice.call(arguments,1),C=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(C.setInput(c,tt.yy),tt.yy.lexer=C,tt.yy.parser=this,typeof C.yylloc>"u")C.yylloc={};var It=C.yylloc;i.push(It);var ue=C.options&&C.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(H){n.length=n.length-2*H,v.length=v.length-H,i.length=i.length-H}t(fe,"popStack");function Mt(){var H=T.pop()||C.lex()||_t;if(typeof H!=="number"){if(H instanceof Array)T=H,H=T.pop();H=S.symbols_[H]||H}return H}t(Mt,"lex");var B,Nt,et,U,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])U=this.defaultActions[et];else{if(B===null||typeof B>"u")B=Mt();U=it[et]&&it[et][B]}if(typeof U>"u"||!U.length||!U[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(C.showPosition)Rt="Parse error on line "+(X+1)+`:
2
- `+C.showPosition()+`
3
- Expecting `+Dt.join(", ")+", got '"+(this.terminals_[B]||B)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(B==_t?"end of input":"'"+(this.terminals_[B]||B)+"'");this.parseError(Rt,{text:C.match,token:this.terminals_[B]||B,line:C.yylineno,loc:It,expected:Dt})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+B);switch(U[0]){case 1:if(n.push(B),v.push(C.yytext),i.push(C.yylloc),n.push(U[1]),B=null,!Nt){if(J=C.yyleng,d=C.yytext,X=C.yylineno,It=C.yylloc,ct>0)ct--}else B=Nt,Nt=null;break;case 2:if(q=this.productions_[U[1]][1],nt.$=v[v.length-q],nt._$={first_line:i[i.length-(q||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(q||1)].first_column,last_column:i[i.length-1].last_column},ue)nt._$.range=[i[i.length-(q||1)].range[0],i[i.length-1].range[1]];if(Ot=this.performAction.apply(nt,[d,J,X,tt.yy,U[1],v,i].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),v=v.slice(0,-1*q),i=i.slice(0,-1*q);n.push(this.productions_[U[1]][0]),v.push(nt.$),i.push(nt._$),Wt=it[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(S,n){if(this.yy.parser)this.yy.parser.parseError(S,n);else throw Error(S)},"parseError"),setInput:t(function(c,S){if(this.yy=S||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var S=c.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),c},"input"),unput:t(function(c){var S=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var T=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),n.length-1)this.yylineno-=n.length-1;var v=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:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[v[0],v[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(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),S=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
- `+S+"^"},"showPosition"),test_match:t(function(c,S){var n,T,v;if(this.options.backtrack_lexer){if(v={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)v.yylloc.range=this.yylloc.range.slice(0)}if(T=c[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var i in v)this[i]=v[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,S,n,T;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var i=0;i<v.length;i++)if(n=this._input.match(this.rules[v[i]]),n&&(!S||n[0].length>S[0].length)){if(S=n,T=i,this.options.backtrack_lexer)if(c=this.test_match(n,v[i]),c!==!1)return c;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(c=this.test_match(S,v[T]),c!==!1)return c;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:{"case-insensitive":!0},performAction:t(function(S,n,T,v){function i(){let d=n.yytext.indexOf("%%");if(d===0)return!1;if(d>0){let X=n.yytext.slice(0,d),J=n.yytext.slice(d);if(J)S.lexer.unput(J);n.yytext=X}return!0}t(i,"processId");var it=v;switch(T){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!i())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!i())return;return this.popState(),"ID";break;case 66:if(!i())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!i())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",Ce="state",Ae=`${pt}-${Ce}`,re="transition",xe="note",we="note-edge",Ie=`${re} ${we}`,Ne=`${pt}-${xe}`,Oe="cluster",Re=`${pt}-${Oe}`,$e="cluster-alt",Pe=`${pt}-${$e}`,ie="parent",ae="note",Be="state",Yt="----",Ge=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ye=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let f=ne++,p=r?void 0:f;return ht.set(s,p),p},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let f=l!==null&&l.length>0?`${r}${l}`:"";return`${Be}-${e}${f}-${s}`}t(xt,"stateDomId");var Ve=t((e,s,l,r,f,p,y,m)=>{a.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,f,p,y,m);break;case ft:ut(e,o,l,r,f,p,y,m);break;case Bt:{ut(e,o.state1,l,r,f,p,y,m),ut(e,o.state2,l,r,f,p,y,m);let E=y==="neo",_={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:E?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:k.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};f.push(_),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((f)=>{let p=l.get(f);if(p)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...p.styles]})}let r=e.find((f)=>f.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,f,p,y,m)=>{let o=s.id,E=l.get(o),_=oe(E),Y=le(E),V=u(),j=_.trim()!==""||Y.length>0;if(a.info("dataFetcher parsedItem",s,E,Y),o!=="root"){let w=$t;if(s.start===!0)w=be;else if(s.start===!1)w=ke;if(s.type!==ft)w=s.type;if(!At.get(o))At.set(o,{id:o,shape:w,description:k.sanitizeText(o,V),cssClasses:`${_} ${Ae}`,cssStyles:Y});let g=At.get(o);if(s.description){if(Array.isArray(g.description))g.shape=Ft,g.description.push(s.description);else if(g.description?.length&&g.description.length>0)if(g.shape=Ft,g.description===o)g.description=[s.description];else g.description=[g.description,s.description];else g.shape=$t,g.description=s.description;g.description=k.sanitizeTextOrArray(g.description,V)}if(g.description?.length===1&&g.shape===Ft)if(g.type==="group")g.shape=Ut;else g.shape=$t;if(!g.type&&s.doc)a.info("Setting cluster for XCX",o,zt(s)),g.type="group",g.isGroup=!0,g.dir=zt(s),g.shape=s.type===qt?Gt:Ut,g.colorIndex=Ye(g.shape,o,e,j),g.cssClasses=`${g.cssClasses} ${Re} ${p?Pe:""}`;let M={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:o,dir:g.dir,domId:xt(o,Z),type:g.type,isGroup:g.type==="group",colorIndex:g.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(M.shape===Gt)M.label="";if(e&&e.id!=="root")a.trace("Setting node ",o," to be child of its parent ",e.id),M.parentId=e.id;if(M.centerLabel=!0,s.note){let O={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:Ne,cssStyles:[],cssCompiledStyles:[],id:o+Ge+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:V.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,W={labelStyle:"",shape:ve,label:s.note.text,cssClasses:g.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,W.id=z,O.parentId=z,dt(r,W,m),dt(r,O,m),dt(r,M,m);let K=o,x=O.id;if(s.note.position==="left of")K=O.id,x=o;f.push({id:K+"-"+x,start:K,end:x,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Ie,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,M,m)}if(s.doc)a.trace("Adding nodes children "),Ve(s,s.doc,l,r,f,!p,y,m)},"dataFetcher"),Me=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),We=t(function(e,s){return s.db.getClasses()},"getClasses"),je=t(async function(e,s,l,r){a.info("REF0:"),a.info("Drawing state diagram (v2)",s);let{securityLevel:f,state:p,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=Fe(s,f);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=p?.nodeSpacing||50,m.rankSpacing=p?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await ze(m,o);let _=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((V,j)=>{let w=typeof j==="string"?j:typeof j?.id==="string"?j.id:"",g=m.nodes.find((x)=>x.id===w);if(!w){a.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(j));return}let M=o.node()?.querySelectorAll("g.node, g.rough-node"),O;if(M?.forEach((x)=>{let st=x.textContent?.trim();if(x.id===g?.domId||st===w)O=x}),!O){a.warn("⚠️ Could not find node matching text:",w);return}let z=O.parentNode;if(!z){a.warn("⚠️ Node has no parent, cannot wrap:",w);return}let W=document.createElementNS("http://www.w3.org/2000/svg","a"),K=V.url.replace(/^"+|"+$/g,"");if(W.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),W.setAttribute("target","_blank"),V.tooltip){let x=V.tooltip.replace(/^"+|"+$/g,"");W.setAttribute("title",x),O.setAttribute("title",x)}z.replaceChild(W,O),W.appendChild(O),a.info("\uD83D\uDD17 Wrapped node in <a> tag for:",w,V.url)})}catch(Y){a.error("❌ Error injecting clickable links:",Y)}F.insertTitle(o,"statediagramTitleText",p?.titleTopMargin??25,r.db.getDiagramTitle()),Le(o,_,pt,p?.useMaxWidth??!0)},"draw"),He={getClasses:We,draw:je,getDir:ce},G={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=I,this.setAccTitle=R,this.getAccDescription=D,this.setAccDescription=L,this.setDiagramTitle=P,this.getDiagramTitle=N,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();Me(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let f=this.getState(r);if(!f){let p=r.trim();this.addState(p),f=this.getState(p)}if(f)f.styles=l.map((p)=>p.replace(/;/g,"")?.trim())}}setRootDoc(e){if(a.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===G.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],f=[];for(let p of s.doc)if(p.type===qt){let y=Ct(p);y.doc=Ct(f),r.push(y),f=[]}else f.push(p);if(r.length>0&&f.length>0){let p={stmt:lt,id:js(),type:"divider",doc:Ct(f)};r.push(Ct(p)),s.doc=r}s.doc.forEach((p)=>this.docTranslator(s,p,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,f=void 0,p=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))a.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:f,classes:[],styles:[],textStyles:[]});else{let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);if(!E.doc)E.doc=l;if(!E.type)E.type=s}if(r)a.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((_)=>this.addDescription(o,_.trim()));if(f){let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);E.note=f,E.note.text=k.sanitizeText(E.note.text,u())}if(p)a.info("Setting state classes",o,p),(Array.isArray(p)?p:[p]).forEach((_)=>this.setCssClass(o,_.trim()));if(y)a.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((_)=>this.setStyle(o,_.trim()));if(m)a.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((_)=>this.setTextStyle(o,_.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,A()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),a.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===G.START_NODE)return this.startEndCount++,`${G.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===G.START_NODE?G.START_TYPE:s}endIdIfNeeded(e=""){if(e===G.END_NODE)return this.startEndCount++,`${G.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===G.END_NODE?G.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),f=this.startTypeIfNeeded(e.id.trim(),e.type),p=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,f,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(p,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:k.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),f=this.startTypeIfNeeded(e),p=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,f),this.addState(p,y),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:l?k.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(k.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(G.STYLECLASS_SEP).forEach((r)=>{let f=r.replace(/([^;]*);/,"$1").trim();if(RegExp(G.COLOR_KEYWORD).exec(r)){let y=f.replace(G.FILL_KEYWORD,G.BG_FILL).replace(G.COLOR_KEYWORD,G.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(f)})}getClasses(){return this.classes}setupToolTips(e){let s=In();h(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(f)=>{let p=h(f.currentTarget),y=p.attr("title");if(y===null)return;let m=f.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(at.sanitize(y)),p.classed("hover",!0)}).on("mouseout",(f)=>{s.transition().duration(500).style("opacity",0),h(f.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let f=l.trim();this.addState(f),r=this.getState(f)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let f=Ee(e.look),p=De(l),y="";for(let m=0;m<ln(r);m++){let o=r[m],E=p?`fill: ${l[m%l.length]};`:"",_=`[data-look="${f}"][data-color-id="color-${m}"]`;y+=`
7
-
8
- /* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
9
- the body, so what stays visible of \`outer\` is the band behind the label. */
10
- ${_}.statediagram-cluster rect.outer {
11
- stroke: ${o};
12
- ${E}
13
- }
14
-
15
- ${_}.statediagram-cluster rect.inner {
16
- stroke: ${o};
17
- }
18
-
19
- /* Concurrency regions. Siblings of one composite share a slot, so a divided composite
20
- reads as one thing split into parts rather than as several composites. */
21
- ${_}.statediagram-cluster rect.divider {
22
- stroke: ${o};
23
- ${E}
24
- }
25
-
26
- /* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
27
- needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
28
- \`inner\` and \`divider\` to match the classic branch, which is what lets these
29
- discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
30
- tinted the whole composite, losing \`compositeBackground\` and diverging from what
31
- classic and neo do.
32
-
33
- roughjs emits two paths per shape and marks them: the filled shape carries
34
- \`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
35
- what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
36
- region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
37
- would otherwise gain an edge it was drawn without. */
38
- ${_}.statediagram-cluster .outer path[stroke='none'] {
39
- ${E}
40
- }
41
-
42
- ${_}.statediagram-cluster .outer path[fill='none'] {
43
- stroke: ${o};
44
- }
45
-
46
- /* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
47
- where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
48
- hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
49
- the outline and no selector separates them. An \`.inner\` stroke rule therefore
50
- repainted the hatching of every alt composite in the palette colour instead of
51
- leaving it on \`altBackground\`. The container still reads as palette-coloured: the
52
- \`outer\` shape spans the whole composite, so its outline already frames the body. */
53
-
54
- /* Regions split the same way, which is why \`divider\` fills solid rather than taking
55
- roughjs's default hachure -- see the note on that call. Hatched, both of its paths
56
- carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
57
- the border rule repainted the hatching. */
58
- ${_}.statediagram-cluster .divider path[stroke='none'] {
59
- ${E}
60
- }
61
-
62
- ${_}.statediagram-cluster .divider path[fill='none'] {
63
- stroke: ${o};
64
- }
65
- `}return y},"genColor"),Je=t((e)=>`
66
- ${Xe(e)}
67
- defs [id$="-barbEnd"] {
68
- fill: ${e.transitionColor};
69
- stroke: ${e.transitionColor};
70
- }
71
- g.stateGroup text {
72
- fill: ${e.nodeBorder};
73
- stroke: none;
74
- font-size: 10px;
75
- }
76
- g.stateGroup text {
77
- fill: ${e.textColor};
78
- stroke: none;
79
- font-size: 10px;
80
-
81
- }
82
- g.stateGroup .state-title {
83
- font-weight: bolder;
84
- fill: ${e.stateLabelColor};
85
- }
86
-
87
- g.stateGroup rect {
88
- fill: ${e.mainBkg};
89
- stroke: ${e.nodeBorder};
90
- }
91
-
92
- g.stateGroup line {
93
- stroke: ${e.lineColor};
94
- stroke-width: ${e.strokeWidth||1};
95
- }
96
-
97
- .transition {
98
- stroke: ${e.transitionColor};
99
- stroke-width: ${e.strokeWidth||1};
100
- fill: none;
101
- }
102
-
103
- .stateGroup .composit {
104
- fill: ${e.background};
105
- border-bottom: 1px
106
- }
107
-
108
- .stateGroup .alt-composit {
109
- fill: #e0e0e0;
110
- border-bottom: 1px
111
- }
112
-
113
- .state-note {
114
- stroke: ${e.noteBorderColor};
115
- fill: ${e.noteBkgColor};
116
-
117
- text {
118
- fill: ${e.noteTextColor};
119
- stroke: none;
120
- font-size: 10px;
121
- }
122
- }
123
-
124
- .stateLabel .box {
125
- stroke: none;
126
- stroke-width: 0;
127
- fill: ${e.mainBkg};
128
- opacity: 0.5;
129
- }
130
-
131
- .edgeLabel .label rect {
132
- fill: ${e.labelBackgroundColor};
133
- opacity: 0.5;
134
- }
135
- .edgeLabel {
136
- background-color: ${e.edgeLabelBackground};
137
- p {
138
- background-color: ${e.edgeLabelBackground};
139
- }
140
- rect {
141
- opacity: 0.5;
142
- background-color: ${e.edgeLabelBackground};
143
- fill: ${e.edgeLabelBackground};
144
- }
145
- text-align: center;
146
- }
147
- .edgeLabel .label text {
148
- fill: ${e.transitionLabelColor||e.tertiaryTextColor};
149
- }
150
- .label div .edgeLabel {
151
- color: ${e.transitionLabelColor||e.tertiaryTextColor};
152
- }
153
-
154
- .stateLabel text {
155
- fill: ${e.stateLabelColor};
156
- font-size: 10px;
157
- font-weight: bold;
158
- }
159
-
160
- .node circle.state-start {
161
- fill: ${e.specialStateColor};
162
- stroke: ${e.specialStateColor};
163
- }
164
-
165
- .node .fork-join {
166
- fill: ${e.specialStateColor};
167
- stroke: ${e.specialStateColor};
168
- }
169
-
170
- .node circle.state-end {
171
- fill: ${e.innerEndBackground};
172
- stroke: ${e.background};
173
- stroke-width: 1.5
174
- }
175
- .end-state-inner {
176
- fill: ${e.compositeBackground||e.background};
177
- // stroke: ${e.background};
178
- stroke-width: 1.5
179
- }
180
-
181
- .node rect {
182
- fill: ${e.stateBkg||e.mainBkg};
183
- stroke: ${e.stateBorder||e.nodeBorder};
184
- stroke-width: ${e.strokeWidth||1}px;
185
- }
186
- .node polygon {
187
- fill: ${e.mainBkg};
188
- stroke: ${e.stateBorder||e.nodeBorder};;
189
- stroke-width: ${e.strokeWidth||1}px;
190
- }
191
- [id$="-barbEnd"] {
192
- fill: ${e.lineColor};
193
- }
194
-
195
- .statediagram-cluster rect {
196
- fill: ${e.compositeTitleBackground};
197
- stroke: ${e.stateBorder||e.nodeBorder};
198
- stroke-width: ${e.strokeWidth||1}px;
199
- }
200
-
201
- .cluster-label, .nodeLabel {
202
- color: ${e.stateLabelColor};
203
- // line-height: 1;
204
- }
205
-
206
- .statediagram-cluster rect.outer {
207
- rx: 5px;
208
- ry: 5px;
209
- }
210
- .statediagram-state .divider {
211
- stroke: ${e.stateBorder||e.nodeBorder};
212
- }
213
-
214
- .statediagram-state .title-state {
215
- rx: 5px;
216
- ry: 5px;
217
- }
218
- .statediagram-cluster.statediagram-cluster .inner {
219
- fill: ${e.compositeBackground||e.background};
220
- }
221
- .statediagram-cluster.statediagram-cluster-alt .inner {
222
- fill: ${e.altBackground?e.altBackground:"#efefef"};
223
- }
224
-
225
- .statediagram-cluster .inner {
226
- rx:0;
227
- ry:0;
228
- }
229
-
230
- .statediagram-state rect.basic {
231
- rx: 5px;
232
- ry: 5px;
233
- }
234
- .statediagram-state rect.divider {
235
- stroke-dasharray: 10,10;
236
- fill: ${e.altBackground?e.altBackground:"#efefef"};
237
- }
238
-
239
- .note-edge {
240
- stroke-dasharray: 5;
241
- }
242
-
243
- .statediagram-note rect {
244
- fill: ${e.noteBkgColor};
245
- stroke: ${e.noteBorderColor};
246
- stroke-width: 1px;
247
- rx: 0;
248
- ry: 0;
249
- }
250
- .statediagram-note rect {
251
- fill: ${e.noteBkgColor};
252
- stroke: ${e.noteBorderColor};
253
- stroke-width: 1px;
254
- rx: 0;
255
- ry: 0;
256
- }
257
-
258
- .statediagram-note text {
259
- fill: ${e.noteTextColor};
260
- }
261
-
262
- .statediagram-note .nodeLabel {
263
- color: ${e.noteTextColor};
264
- }
265
- .statediagram .edgeLabel {
266
- color: red; // ${e.noteTextColor};
267
- }
268
-
269
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
270
- fill: ${e.lineColor};
271
- stroke: ${e.lineColor};
272
- stroke-width: ${e.strokeWidth||1};
273
- }
274
-
275
- .statediagramTitleText {
276
- text-anchor: middle;
277
- font-size: 18px;
278
- fill: ${e.textColor};
279
- }
280
-
281
- [data-look="neo"].statediagram-cluster rect {
282
- fill: ${e.mainBkg};
283
- stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
284
- stroke-width: ${e.strokeWidth??1};
285
- }
286
- [data-look="neo"].statediagram-cluster rect.outer {
287
- rx: ${e.radius}px;
288
- ry: ${e.radius}px;
289
- filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
290
- }
291
- `,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:He,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -1,38 +0,0 @@
1
- import{t,a,Ce,j,k,G,R,I,L,D,u,h,zr,Ei,Rt,T,Li}from"./chunk-dbv8qpen.js";import{lr}from"./chunk-p6ma361e.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],f=[1,27],l=[1,28],r=[1,63],p=[1,64],s=[1,65],y=[1,66],m=[1,67],b=[1,68],x=[1,69],C=[1,29],B=[1,30],U=[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,d,Ut){var _=d.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(d[_-3]);break;case 19:g.setTitle(d[_].substring(6)),this.$=d[_].substring(6);break;case 20:g.setAccDescription(d[_].substring(15)),this.$=d[_].substring(15);break;case 21:this.$=d[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=d[_].trim(),g.setAccDescription(this.$);break;case 28:d[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 29:d[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 30:g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 31:d[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...d[_]),this.$=d[_];break;case 32:g.addDeploymentNode("node",...d[_]),this.$=d[_];break;case 33:g.addDeploymentNode("nodeL",...d[_]),this.$=d[_];break;case 34:g.addDeploymentNode("nodeR",...d[_]),this.$=d[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...d[_]),this.$=d[_];break;case 40:g.addPersonOrSystem("external_person",...d[_]),this.$=d[_];break;case 41:g.addPersonOrSystem("system",...d[_]),this.$=d[_];break;case 42:g.addPersonOrSystem("system_db",...d[_]),this.$=d[_];break;case 43:g.addPersonOrSystem("system_queue",...d[_]),this.$=d[_];break;case 44:g.addPersonOrSystem("external_system",...d[_]),this.$=d[_];break;case 45:g.addPersonOrSystem("external_system_db",...d[_]),this.$=d[_];break;case 46:g.addPersonOrSystem("external_system_queue",...d[_]),this.$=d[_];break;case 47:g.addContainer("container",...d[_]),this.$=d[_];break;case 48:g.addContainer("container_db",...d[_]),this.$=d[_];break;case 49:g.addContainer("container_queue",...d[_]),this.$=d[_];break;case 50:g.addContainer("external_container",...d[_]),this.$=d[_];break;case 51:g.addContainer("external_container_db",...d[_]),this.$=d[_];break;case 52:g.addContainer("external_container_queue",...d[_]),this.$=d[_];break;case 53:g.addComponent("component",...d[_]),this.$=d[_];break;case 54:g.addComponent("component_db",...d[_]),this.$=d[_];break;case 55:g.addComponent("component_queue",...d[_]),this.$=d[_];break;case 56:g.addComponent("external_component",...d[_]),this.$=d[_];break;case 57:g.addComponent("external_component_db",...d[_]),this.$=d[_];break;case 58:g.addComponent("external_component_queue",...d[_]),this.$=d[_];break;case 60:g.addRel("rel",...d[_]),this.$=d[_];break;case 61:g.addRel("birel",...d[_]),this.$=d[_];break;case 62:g.addRel("rel_u",...d[_]),this.$=d[_];break;case 63:g.addRel("rel_d",...d[_]),this.$=d[_];break;case 64:g.addRel("rel_l",...d[_]),this.$=d[_];break;case 65:g.addRel("rel_r",...d[_]),this.$=d[_];break;case 66:g.addRel("rel_b",...d[_]),this.$=d[_];break;case 67:d[_].splice(0,1),g.addRel("rel",...d[_]),this.$=d[_];break;case 68:g.updateElStyle("update_el_style",...d[_]),this.$=d[_];break;case 69:g.updateRelStyle("update_rel_style",...d[_]),this.$=d[_];break;case 70:g.updateLayoutConfig("update_layout_config",...d[_]),this.$=d[_];break;case 71:this.$=[d[_]];break;case 72:d[_].unshift(d[_-1]),this.$=d[_];break;case 73:case 75:this.$=d[_].trim();break;case 74:let Lt={};Lt[d[_-1].trim()]=d[_].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:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,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:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,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:f,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:f,28:l,34:r,36:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,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],d=[],Ut=this.table,_="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=d.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;d.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,d.length=d.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),d.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:d[d.length-(et||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(et||1)].first_column,last_column:d[d.length-1].last_column},Fe)Yt._$.range=[d[d.length-(et||1)].range[0],d[d.length-1].range[1]];if(ie=this.performAction.apply(Yt,[_,_e,Lt,It.yy,H[1],F,d].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),d=d.slice(0,-1*et);w.push(this.productions_[H[1]][0]),F.push(Yt.$),d.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 d in F)this[d]=F[d];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 d=0;d<F.length;d++)if(w=this._input.match(this.rules[F[d]]),w&&(!S||w[0].length>S[0].length)){if(S=w,g=d,this.options.backtrack_lexer)if(v=this.test_match(w,F[d]),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 d=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[f,l]=Object.entries(o)[0];e[f]=K.has(f)?{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=j(e,u())},"setC4Type"),Xe=t(function(e,n,i,o,f,l,r,p,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},f===void 0||f===null)y.techn??={text:""};else if(typeof f==="object"){let[b,x]=Object.entries(f)[0];y[b]=K.has(b)?{text:x}:x}else y.techn={text:f};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:p,link:s}),y.wrap=Nt()},"addRel"),qe=t(function(e,n,i,o,f,l,r){if(n===null||i===null)return;let p={},s=Z.find((y)=>y.alias===n);if(s&&n===s.alias)p=s;else p.alias=n,Z.push(p);if(i===void 0||i===null)p.label={text:""};else p.label={text:i};if(o===void 0||o===null)p.descr??={text:""};else if(typeof o==="object"){let[y,m]=Object.entries(o)[0];p[y]=K.has(y)?{text:m}:m}else p.descr={text:o};Bt(p,{sprite:f,tags:l,link:r}),p.typeC4Shape={text:e},p.parentBoundary=X,p.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,i,o,f,l,r,p){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(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[m,b]=Object.entries(f)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:f};Bt(s,{sprite:l,tags:r,link:p}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,i,o,f,l,r,p){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(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[m,b]=Object.entries(f)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:f};Bt(s,{sprite:l,tags:r,link:p}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,i,o,f){if(e===null||n===null)return;let l={},r=tt.find((p)=>p.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[p,s]=Object.entries(i)[0];l[p]=K.has(p)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:f}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,i,o,f){if(e===null||n===null)return;let l={},r=tt.find((p)=>p.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[p,s]=Object.entries(i)[0];l[p]=K.has(p)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:f}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addContainerBoundary"),Je=t(function(e,n,i,o,f,l,r,p){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(f===void 0||f===null)s.descr??={text:""};else if(typeof f==="object"){let[m,b]=Object.entries(f)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:f};Bt(s,{tags:r,link:p}),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,f,l,r,p,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(f!==void 0&&f!==null)if(typeof f==="object"){let[x,C]=Object.entries(f)[0];b[x]=C}else b.borderColor=f;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(p!==void 0&&p!==null)if(typeof p==="object"){let[x,C]=Object.entries(p)[0];b[x]=C}else b.sprite=p;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,f,l,r){let p=Xt.find((s)=>s.from===n&&s.to===i);if(p===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,y]=Object.entries(o)[0];p[s]=y}else p.textColor=o;if(f!==void 0&&f!==null)if(typeof f==="object"){let[s,y]=Object.entries(f)[0];p[s]=y}else p.lineColor=f;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,y]=Object.entries(l)[0];p[s]=parseInt(y)}else p.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,y]=Object.entries(r)[0];p[s]=parseInt(y)}else p.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,i){let o=Zt,f=$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];f=parseInt(l)}else f=parseInt(i);if(o>=1)Zt=o;if(f>=1)$t=f},"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=j(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 lr(e,n)},"drawRect"),b0=t((e,n,i,o)=>{let f=e.append("g"),l=0;for(let r of n){let p=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=f.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=f.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,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+m,x,r.label.height,{fill:p},C),r.techn&&r.techn.text!=="")C=i.messageFont(),jt(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+m,Math.max(x,r.techn.width),r.techn.height,{fill:p,"font-style":"italic"},C)}},"drawRels"),m0=t(function(e,n,i){let o=e.append("g"),f=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",p={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)p={"stroke-width":1};let s={x:n.x,y:n.y,fill:f,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:p};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(f,l,r,p,s,y,m){let b=l.append("text").attr("x",r+s/2).attr("y",p+y/2+5).style("text-anchor","middle").text(f);o(b,m)}t(e,"byText");function n(f,l,r,p,s,y,m,b){let{fontSize:x,fontFamily:C,fontWeight:B}=b,U=f.split(k.lineBreakRegex);for(let V=0;V<U.length;V++){let Y=V*x-x*(U.length-1)/2,q=l.append("text").attr("x",r+s/2).attr("y",p).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(U[V]).attr("alignment-baseline","mathematical"),o(q,m)}}t(n,"byTspan");function i(f,l,r,p,s,y,m,b){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",p).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(f),n(f,x,r,p,s,y,m,b),o(B,m)}t(i,"byFo");function o(f,l){for(let r in l)if(l.hasOwnProperty(r))f.attr(r,l[r])}return t(o,"_setTextAttrs"),function(f){return f.textPlacement==="fo"?i:f.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=h("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:h(o.body),doc:o}}return{root:h("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"),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`]),f=e.borderColor??(ve(i)&&n[`${i}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(f)l.push(`stroke:${f}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,i,o,f)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let p=P0(e),s=M0(e,n);if(p==="rounded"||p==="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:p,cssClasses:r.join(" "),cssStyles:s,padding:i,look:o,useHtmlLabels:!1,width:f}},"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,f=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=i||f>=i||this.nextData.cnt>Ae)o=this.nextData.startx+e.margin+E.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=f=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",f,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",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(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,f){let l=n[e];if(!l.width)if(i)l.text=zr(l.text,f,o),l.textLines=l.text.split(k.lineBreakRegex).length,l.width=f,l.height=Ei(l.text,o);else{let r=l.text.split(k.lineBreakRegex);l.textLines=r.length;let p=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Rt(s,o),l.width),p=Ei(s,o),l.height=l.height+p}return l}t(Dt,"calcC4ShapeTextWH");var Ie=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)=>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 p=Rt(n.label.text,r);Dt("label",n,l,r,p),nt.drawBoundary(e,n,E)},"drawBoundary"),Me=t(async function(e,n,i,o){let f=u(),l=f.look??"classic",r={config:f},p=n.attr("id")??"",s=o.map((m)=>i[Number(m)]),y=t((m)=>{let b=m.shape?Li[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=`${p}-${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=`${p}-${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 f=Ee(n,i);return{startPoint:o,endPoint:f}},"getIntersectPoints"),F0=t(function(e,n,i,o,f){let l=o.db.getC4Type(),r=0;for(let p of n){r=r+1;let s=p.wrap&&E.wrap,y=B0(E);if(l==="C4Dynamic")p.label.text=r+": "+p.label.text;let m=Rt(p.label.text,y);if(Dt("label",p,s,y,m),p.techn&&p.techn.text!=="")m=Rt(p.techn.text,y),Dt("techn",p,s,y,m);if(p.descr&&p.descr.text!=="")m=Rt(p.descr.text,y),Dt("descr",p,s,y,m);let b=i(p.from),x=i(p.to);if(!b||!x)throw Error(`C4 rel "${p.from}" -> "${p.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 "${p.from}" -> "${p.to}"`);p.startPoint=C.startPoint,p.endPoint=C.endPoint}nt.drawRels(e,n,E,f)},"drawRels");async function fe(e,n,i,o,f){let l=f.db,r=new Le(f);r.data.widthLimit=i.data.widthLimit/Math.min(ue,o.length);for(let[p,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(p==0||p%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 U=l.getBoundaries(n);if(U.length>0)await fe(e,n,r,U,f);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 f=u().securityLevel,{root:l}=C0(n,f),r=o.db;r.setWrap(E.wrap),Ae=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),a.debug(`C:${JSON.stringify(E,null,2)}`);let p=l.select(`[id="${n}"]`);nt.insertComputerIcon(p,n),nt.insertDatabaseIcon(p,n),nt.insertClockIcon(p,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(p,"",s,m,o),nt.insertArrowHead(p,n),nt.insertArrowEnd(p,n),nt.insertArrowCrossHead(p,n),nt.insertArrowFilledHead(p,n),F0(p,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let b=s.data,{startx:x,starty:C}=b,U=Wt-C+2*E.diagramMarginY,V=zt-x,Y=V+2*E.diagramMarginX;if(y)p.append("text").text(y).attr("x",V/2-4*E.diagramMarginX).attr("y",C+E.diagramMarginY);G(p,U,Y,E.useMaxWidth);let q=y?60:0;p.attr("viewBox",x-E.diagramMarginX+" -"+(E.diagramMarginY+q)+" "+Y+" "+(U+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)],f=e[`${i}FontFamily`],l=e[`${i}FontSize`],r=e[`${i}FontWeight`];if(f)o.style.setProperty("font-family",f);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
- `)},"elementFontStyles"),z0=t((e)=>`.person {
8
- stroke: ${e.personBorder};
9
- fill: ${e.personBkg};
10
- }
11
- ${j0()}
12
-
13
- /* The element font colour is set inline per element (default white); the
14
- label text takes it via currentColor. */
15
- .c4-shape .label,
16
- .c4-shape .label text {
17
- color: inherit;
18
- fill: currentColor;
19
- }
20
- /* Structurizr typography: bold name, smaller stereotype/type and description lines. */
21
- .c4-shape .label .c4-name {
22
- font-weight: bold;
23
- }
24
- .c4-shape .label .c4-type {
25
- font-size: 0.75em;
26
- }
27
- .c4-shape .label .c4-descr {
28
- font-size: 0.82em;
29
- }
30
- .c4-shape .basic,
31
- .c4-shape rect,
32
- .c4-shape path,
33
- .c4-shape circle,
34
- .c4-shape ellipse,
35
- .c4-shape line {
36
- stroke-width: 2px;
37
- }
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
@@ -1 +0,0 @@
1
- import{r,p,e,n,y,s,be,le,Z,Pt}from"./chunk-b83bzjcx.js";var z=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],h=s("circle-slash",z);function B(t){if(!t||typeof t!=="object")return;if(!("id"in t)||typeof t.id!=="string")return;if(!("state"in t)||typeof t.state!=="string")return;return{id:t.id,state:t.state,command:"command"in t&&typeof t.command==="string"?t.command:void 0,code:"code"in t&&(t.code===null||typeof t.code==="number")?t.code:void 0,output:"output"in t&&typeof t.output==="string"?t.output:void 0}}function U(t){let{Button:N,Panel:b,style:k}=y(),i=B(t.payload),[a,c]=r(!1),[C,P]=r(!1),[u,m]=r();if(!i)return null;let o=C?"killed":i.state,d=o==="running",l=o==="exited"&&i.code===0,f=o==="killed"||o==="timeout",g=i.output?.trim(),I=async()=>{if(a)return;c(!0),m(void 0);try{await t.connection.request(`/api/sessions/${encodeURIComponent(t.sessionID)}/jobs/${encodeURIComponent(i.id)}/kill`,{method:"POST"}),P(!0)}catch(x){m(x instanceof Error?x.message:"停止失败,后台任务可能已结束")}finally{c(!1)}};return n(b,{className:"my-2",header:n(p,{children:[e(Pt,{className:"size-3.5 shrink-0 text-faint"}),e("span",{className:"truncate font-mono text-ink/90",title:i.command??i.id,children:i.command??`任务 ${i.id}`})]}),actions:n(p,{children:[d&&n(p,{children:[n("span",{className:"flex items-center gap-1 text-warning",children:[e(le,{className:"size-3.5 animate-spin"}),e("span",{children:"后台运行中"})]}),e(N,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:a,onClick:()=>{I()},children:"停止"})]}),l&&n("span",{className:"flex items-center gap-1 text-success",children:[e(Z,{className:"size-3.5"}),e("span",{children:"已完成"})]}),f&&n("span",{className:"flex items-center gap-1 text-faint",children:[e(h,{className:"size-3.5"}),e("span",{children:o==="timeout"?"已超时":"已停止"})]}),!d&&!l&&!f&&n("span",{className:"flex items-center gap-1 text-danger",children:[e(be,{className:"size-3.5"}),n("span",{children:["退出码 ",i.code??"异常"]})]})]}),children:[u&&e("p",{role:"status",className:"border-b border-line px-4 py-2.5 text-xs text-danger",children:u}),g&&e("pre",{className:k("chat.toolOutput","max-h-60 text-ink/90 select-text"),children:g})]})}export{U as BashJobCard};
Binary file
Binary file