@bkm016/basalt 0.1.33 → 0.1.34

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 (853) hide show
  1. package/README.md +23 -0
  2. package/chunk-0tr0cc6f.js +3 -0
  3. package/chunk-1f0mnggp.js +3 -0
  4. package/chunk-1ntcq7ed.js +2 -0
  5. package/chunk-1xkxfddg.js +286 -0
  6. package/chunk-1zz6akcm.js +3 -0
  7. package/chunk-2cd3qzny.js +3 -0
  8. package/chunk-2sbmy31t.js +2 -0
  9. package/chunk-32s6agaj.js +2 -0
  10. package/chunk-37n62c4c.js +3 -0
  11. package/chunk-3w2902kg.js +9 -0
  12. package/chunk-43q7hq53.js +2 -0
  13. package/chunk-4ewh67qf.js +25 -0
  14. package/chunk-5277mfp2.js +44 -0
  15. package/chunk-6f1zc4g6.js +2 -0
  16. package/chunk-6r4kw9x9.js +60 -0
  17. package/chunk-7qaavsga.js +2 -0
  18. package/chunk-88s6d1bz.js +3 -0
  19. package/chunk-9jw0km9r.js +13 -0
  20. package/chunk-a3h0mng1.js +8 -0
  21. package/chunk-acmtkg1q.js +20 -0
  22. package/chunk-adn9jbzj.js +2 -0
  23. package/chunk-anfhjdgv.js +2 -0
  24. package/chunk-apn5amfe.js +498 -0
  25. package/chunk-bsp6e8cv.js +2 -0
  26. package/chunk-bw2h35jd.js +2 -0
  27. package/chunk-bwx9m3ex.js +51 -0
  28. package/chunk-cezgvpja.js +3 -0
  29. package/chunk-cfhtmr6g.js +31 -0
  30. package/chunk-d5w3ntc3.js +7 -0
  31. package/chunk-dtks8c7v.js +2 -0
  32. package/chunk-e01g2yf9.js +3 -0
  33. package/chunk-e1rfd7jn.js +3 -0
  34. package/chunk-e8ehznx7.js +2 -0
  35. package/chunk-edp0svhf.js +3 -0
  36. package/chunk-evaew46c.js +2 -0
  37. package/chunk-ewhpfrgj.js +3 -0
  38. package/chunk-f7q6p7tp.js +7 -0
  39. package/chunk-fm482h25.js +3 -0
  40. package/chunk-g3j6jdht.js +39 -0
  41. package/chunk-gejre6z5.js +7 -0
  42. package/chunk-gz5ssvjh.js +3 -0
  43. package/chunk-h32ca6cs.js +11 -0
  44. package/chunk-hab25nd9.js +3 -0
  45. package/chunk-jbfkv490.js +8 -0
  46. package/chunk-jem2kqdt.js +3 -0
  47. package/chunk-jrwezx0r.js +16 -0
  48. package/chunk-ka5dtn3w.js +3 -0
  49. package/chunk-kxmws6zx.js +4068 -0
  50. package/chunk-m0gk2b1f.js +3 -0
  51. package/chunk-mekgrca0.js +25 -0
  52. package/chunk-mkp20bwr.js +2 -0
  53. package/chunk-n4qxf40m.js +2 -0
  54. package/chunk-n9r9zzr4.js +59 -0
  55. package/chunk-ndca35jt.js +5 -0
  56. package/chunk-ng9vq9hy.js +2 -0
  57. package/chunk-nx1997s8.js +2 -0
  58. package/chunk-p99dt6kf.js +12 -0
  59. package/chunk-pnctvz58.js +3 -0
  60. package/chunk-ppgn9exm.js +2 -0
  61. package/chunk-pqq5znyp.js +2 -0
  62. package/chunk-q2429jd1.js +3 -0
  63. package/chunk-q3nmdtk4.js +3 -0
  64. package/chunk-q4r4nger.js +3 -0
  65. package/chunk-q6gq7g7m.js +4 -0
  66. package/chunk-qnejy3qp.js +2 -0
  67. package/chunk-sj0fqgjf.js +10 -0
  68. package/chunk-t5y3dqv3.js +3 -0
  69. package/chunk-t6vw73nv.js +2 -0
  70. package/chunk-t9zpdekw.js +5 -0
  71. package/chunk-v0xs5sy0.js +2 -0
  72. package/chunk-v8v2exqg.js +2 -0
  73. package/chunk-wgff8n0r.js +2 -0
  74. package/chunk-wpv679r1.js +3 -0
  75. package/chunk-wrw806wb.js +3 -0
  76. package/chunk-wsby70ce.js +12 -0
  77. package/chunk-xdbgpht7.js +2 -0
  78. package/chunk-y1b98tfk.js +5 -0
  79. package/chunk-y3m3w19s.js +3 -0
  80. package/chunk-y5p5jq48.js +63 -0
  81. package/chunk-ynf5sz68.js +10 -0
  82. package/chunk-zfk9az7y.js +5 -0
  83. package/chunk-zwse6b6t.js +18 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +24 -24
  87. package/web/chunk-016nkjwe.js +2 -0
  88. package/web/chunk-016nkjwe.js.br +0 -0
  89. package/web/chunk-016nkjwe.js.gz +0 -0
  90. package/web/chunk-0er8vdaw.js +2 -0
  91. package/web/chunk-0er8vdaw.js.br +0 -0
  92. package/web/chunk-0er8vdaw.js.gz +0 -0
  93. package/web/chunk-0sq0ed2h.js +12 -0
  94. package/web/chunk-0sq0ed2h.js.br +0 -0
  95. package/web/chunk-0sq0ed2h.js.gz +0 -0
  96. package/web/chunk-0w8swe64.js +2 -0
  97. package/web/chunk-0w8swe64.js.br +0 -0
  98. package/web/chunk-0w8swe64.js.gz +0 -0
  99. package/web/chunk-15pxdcz7.js +1 -0
  100. package/web/chunk-15pxdcz7.js.br +0 -0
  101. package/web/chunk-15pxdcz7.js.gz +0 -0
  102. package/web/chunk-1a1w9rth.js +4 -0
  103. package/web/chunk-1a1w9rth.js.br +0 -0
  104. package/web/chunk-1a1w9rth.js.gz +0 -0
  105. package/web/chunk-1e8tsn4c.js +1 -0
  106. package/web/chunk-1e8tsn4c.js.br +0 -0
  107. package/web/chunk-1e8tsn4c.js.gz +0 -0
  108. package/web/chunk-1jwp193e.js +78 -0
  109. package/web/chunk-1jwp193e.js.br +0 -0
  110. package/web/chunk-1jwp193e.js.gz +0 -0
  111. package/web/chunk-1wz0tepc.js +106 -0
  112. package/web/chunk-1wz0tepc.js.br +0 -0
  113. package/web/chunk-1wz0tepc.js.gz +0 -0
  114. package/web/chunk-213m58wn.js +1 -0
  115. package/web/chunk-213m58wn.js.br +0 -0
  116. package/web/chunk-213m58wn.js.gz +0 -0
  117. package/web/chunk-2hat8cth.js +1 -0
  118. package/web/chunk-2hat8cth.js.br +0 -0
  119. package/web/chunk-2hat8cth.js.gz +0 -0
  120. package/web/chunk-3dj31vfh.js +292 -0
  121. package/web/chunk-3dj31vfh.js.br +0 -0
  122. package/web/chunk-3dj31vfh.js.gz +0 -0
  123. package/web/chunk-3g7waf75.js +70 -0
  124. package/web/chunk-3g7waf75.js.br +0 -0
  125. package/web/chunk-3g7waf75.js.gz +0 -0
  126. package/web/chunk-3x1zg1hk.js +1 -0
  127. package/web/chunk-3x1zg1hk.js.br +0 -0
  128. package/web/chunk-3x1zg1hk.js.gz +0 -0
  129. package/web/chunk-416ts17x.js +2 -0
  130. package/web/chunk-416ts17x.js.br +0 -0
  131. package/web/chunk-416ts17x.js.gz +0 -0
  132. package/web/chunk-47qwqp4f.js +7 -0
  133. package/web/chunk-47qwqp4f.js.br +0 -0
  134. package/web/chunk-47qwqp4f.js.gz +0 -0
  135. package/web/chunk-4k4c2se1.js +2 -0
  136. package/web/chunk-4k4c2se1.js.br +0 -0
  137. package/web/chunk-4k4c2se1.js.gz +0 -0
  138. package/web/chunk-4vsg8d4c.js +4 -0
  139. package/web/chunk-4vsg8d4c.js.br +0 -0
  140. package/web/chunk-4vsg8d4c.js.gz +0 -0
  141. package/web/chunk-53ag9hyw.js +40 -0
  142. package/web/chunk-53ag9hyw.js.br +0 -0
  143. package/web/chunk-53ag9hyw.js.gz +0 -0
  144. package/web/chunk-55phnzd7.js +1 -0
  145. package/web/chunk-55phnzd7.js.br +0 -0
  146. package/web/chunk-55phnzd7.js.gz +0 -0
  147. package/web/chunk-56a6njsk.js +1 -0
  148. package/web/chunk-56a6njsk.js.br +0 -0
  149. package/web/chunk-56a6njsk.js.gz +0 -0
  150. package/web/chunk-5hvs5kyx.js +1 -0
  151. package/web/chunk-5hvs5kyx.js.br +0 -0
  152. package/web/chunk-5hvs5kyx.js.gz +0 -0
  153. package/web/chunk-5nbyvd4t.js +1 -0
  154. package/web/chunk-5nbyvd4t.js.br +0 -0
  155. package/web/chunk-5nbyvd4t.js.gz +0 -0
  156. package/web/chunk-6dr6eazd.js +2 -0
  157. package/web/chunk-6dr6eazd.js.br +0 -0
  158. package/web/chunk-6dr6eazd.js.gz +0 -0
  159. package/web/chunk-6nkegqxk.js +139 -0
  160. package/web/chunk-6nkegqxk.js.br +0 -0
  161. package/web/chunk-6nkegqxk.js.gz +0 -0
  162. package/web/chunk-6ypf5nq6.js +140 -0
  163. package/web/chunk-6ypf5nq6.js.br +0 -0
  164. package/web/chunk-6ypf5nq6.js.gz +0 -0
  165. package/web/chunk-70kws32b.js +2 -0
  166. package/web/chunk-70kws32b.js.br +0 -0
  167. package/web/chunk-70kws32b.js.gz +0 -0
  168. package/web/chunk-71tshjjr.js +16 -0
  169. package/web/chunk-71tshjjr.js.br +0 -0
  170. package/web/chunk-71tshjjr.js.gz +0 -0
  171. package/web/chunk-7fh9k75p.js +1 -0
  172. package/web/chunk-7fh9k75p.js.br +0 -0
  173. package/web/chunk-7fh9k75p.js.gz +0 -0
  174. package/web/chunk-7k8azd8z.js +1 -0
  175. package/web/chunk-7k8azd8z.js.br +0 -0
  176. package/web/chunk-7k8azd8z.js.gz +0 -0
  177. package/web/chunk-7mmebce4.js +1 -0
  178. package/web/chunk-7mmebce4.js.br +0 -0
  179. package/web/chunk-7mmebce4.js.gz +0 -0
  180. package/web/chunk-7mwghj09.js +89 -0
  181. package/web/chunk-7mwghj09.js.br +0 -0
  182. package/web/chunk-7mwghj09.js.gz +0 -0
  183. package/web/chunk-7y5kr56m.js +1 -0
  184. package/web/chunk-7y5kr56m.js.br +0 -0
  185. package/web/chunk-7y5kr56m.js.gz +0 -0
  186. package/web/chunk-8esqhp64.js +1 -0
  187. package/web/chunk-8esqhp64.js.br +0 -0
  188. package/web/chunk-8esqhp64.js.gz +0 -0
  189. package/web/chunk-8gxgpr3n.js +214 -0
  190. package/web/chunk-8gxgpr3n.js.br +0 -0
  191. package/web/chunk-8gxgpr3n.js.gz +0 -0
  192. package/web/chunk-8vnmk3y7.js +1 -0
  193. package/web/chunk-8vnmk3y7.js.br +0 -0
  194. package/web/chunk-8vnmk3y7.js.gz +0 -0
  195. package/web/chunk-99r862t8.js +30 -0
  196. package/web/chunk-99r862t8.js.br +0 -0
  197. package/web/chunk-99r862t8.js.gz +0 -0
  198. package/web/chunk-9cznsyf4.js +7 -0
  199. package/web/chunk-9cznsyf4.js.br +0 -0
  200. package/web/chunk-9cznsyf4.js.gz +0 -0
  201. package/web/chunk-9hmw91e9.js +1 -0
  202. package/web/chunk-9hmw91e9.js.br +0 -0
  203. package/web/chunk-9hmw91e9.js.gz +0 -0
  204. package/web/chunk-9pyad3tv.js +1 -0
  205. package/web/chunk-9pyad3tv.js.br +0 -0
  206. package/web/chunk-9pyad3tv.js.gz +0 -0
  207. package/web/chunk-9rf2smk2.js +1142 -0
  208. package/web/chunk-9rf2smk2.js.br +0 -0
  209. package/web/chunk-9rf2smk2.js.gz +0 -0
  210. package/web/chunk-aaz4msca.js +89 -0
  211. package/web/chunk-aaz4msca.js.br +0 -0
  212. package/web/chunk-aaz4msca.js.gz +0 -0
  213. package/web/chunk-ag0ng2nt.js +24 -0
  214. package/web/chunk-ag0ng2nt.js.br +0 -0
  215. package/web/chunk-ag0ng2nt.js.gz +0 -0
  216. package/web/chunk-an9b0mhe.js +55 -0
  217. package/web/chunk-an9b0mhe.js.br +0 -0
  218. package/web/chunk-an9b0mhe.js.gz +0 -0
  219. package/web/chunk-apgvrfc2.js +41 -0
  220. package/web/chunk-apgvrfc2.js.br +0 -0
  221. package/web/chunk-apgvrfc2.js.gz +0 -0
  222. package/web/chunk-aq09zt1h.js +332 -0
  223. package/web/chunk-aq09zt1h.js.br +0 -0
  224. package/web/chunk-aq09zt1h.js.gz +0 -0
  225. package/web/chunk-ayy6rwm5.js +1 -0
  226. package/web/chunk-ayy6rwm5.js.br +0 -0
  227. package/web/chunk-ayy6rwm5.js.gz +0 -0
  228. package/web/chunk-azhw80d1.js +1 -0
  229. package/web/chunk-azhw80d1.js.br +0 -0
  230. package/web/chunk-azhw80d1.js.gz +0 -0
  231. package/web/chunk-b4bty1ns.js +8 -0
  232. package/web/chunk-b4bty1ns.js.br +1 -0
  233. package/web/chunk-b4bty1ns.js.gz +0 -0
  234. package/web/chunk-bs9934z7.js +200 -0
  235. package/web/chunk-bs9934z7.js.br +0 -0
  236. package/web/chunk-bs9934z7.js.gz +0 -0
  237. package/web/chunk-c9nwfxrp.js +1 -0
  238. package/web/chunk-c9nwfxrp.js.br +0 -0
  239. package/web/chunk-c9nwfxrp.js.gz +0 -0
  240. package/web/chunk-capfyqch.js +1 -0
  241. package/web/chunk-capfyqch.js.br +0 -0
  242. package/web/chunk-capfyqch.js.gz +0 -0
  243. package/web/chunk-ckev38zc.js +36 -0
  244. package/web/chunk-ckev38zc.js.br +0 -0
  245. package/web/chunk-ckev38zc.js.gz +0 -0
  246. package/web/chunk-cnkerjp4.js +370 -0
  247. package/web/chunk-cnkerjp4.js.br +0 -0
  248. package/web/chunk-cnkerjp4.js.gz +0 -0
  249. package/web/chunk-d3bgcz6q.js +1 -0
  250. package/web/chunk-d3bgcz6q.js.br +0 -0
  251. package/web/chunk-d3bgcz6q.js.gz +0 -0
  252. package/web/chunk-d5xqtvb1.js +2 -0
  253. package/web/chunk-d5xqtvb1.js.br +0 -0
  254. package/web/chunk-d5xqtvb1.js.gz +0 -0
  255. package/web/chunk-daqfnvaw.js +1 -0
  256. package/web/chunk-daqfnvaw.js.br +0 -0
  257. package/web/chunk-daqfnvaw.js.gz +0 -0
  258. package/web/chunk-dqz580pg.js +1 -0
  259. package/web/chunk-dqz580pg.js.br +0 -0
  260. package/web/chunk-dqz580pg.js.gz +0 -0
  261. package/web/chunk-e54b48p5.js +2 -0
  262. package/web/chunk-e54b48p5.js.br +0 -0
  263. package/web/chunk-e54b48p5.js.gz +0 -0
  264. package/web/chunk-e8bgrjps.js +2 -0
  265. package/web/chunk-e8bgrjps.js.br +0 -0
  266. package/web/chunk-e8bgrjps.js.gz +0 -0
  267. package/web/chunk-efdg5mjf.js +217 -0
  268. package/web/chunk-efdg5mjf.js.br +0 -0
  269. package/web/chunk-efdg5mjf.js.gz +0 -0
  270. package/web/chunk-efhyygba.js +7 -0
  271. package/web/chunk-efhyygba.js.br +0 -0
  272. package/web/chunk-efhyygba.js.gz +0 -0
  273. package/web/chunk-eq0vm9vw.js +2 -0
  274. package/web/chunk-eq0vm9vw.js.br +0 -0
  275. package/web/chunk-eq0vm9vw.js.gz +0 -0
  276. package/web/chunk-eznkbqms.js +1 -0
  277. package/web/chunk-eznkbqms.js.br +0 -0
  278. package/web/chunk-eznkbqms.js.gz +0 -0
  279. package/web/chunk-f9rv8b13.js +1 -0
  280. package/web/chunk-f9rv8b13.js.br +0 -0
  281. package/web/chunk-f9rv8b13.js.gz +0 -0
  282. package/web/chunk-fnzyprme.js +142 -0
  283. package/web/chunk-fnzyprme.js.br +0 -0
  284. package/web/chunk-fnzyprme.js.gz +0 -0
  285. package/web/chunk-g63m3g5y.js +1 -0
  286. package/web/chunk-g63m3g5y.js.br +2 -0
  287. package/web/chunk-g63m3g5y.js.gz +0 -0
  288. package/web/chunk-g6gb3wz7.js +1 -0
  289. package/web/chunk-g6gb3wz7.js.br +2 -0
  290. package/web/chunk-g6gb3wz7.js.gz +0 -0
  291. package/web/chunk-g7ec62te.js +2 -0
  292. package/web/chunk-g7ec62te.js.br +0 -0
  293. package/web/chunk-g7ec62te.js.gz +0 -0
  294. package/web/chunk-gkj2bbdx.js +1 -0
  295. package/web/chunk-gkj2bbdx.js.br +0 -0
  296. package/web/chunk-gkj2bbdx.js.gz +0 -0
  297. package/web/chunk-gnx30bed.css +1 -0
  298. package/web/chunk-gnx30bed.css.br +0 -0
  299. package/web/chunk-gnx30bed.css.gz +0 -0
  300. package/web/chunk-h391pq6j.js +1 -0
  301. package/web/chunk-h391pq6j.js.br +0 -0
  302. package/web/chunk-h391pq6j.js.gz +0 -0
  303. package/web/chunk-h3kdr5mz.js +21 -0
  304. package/web/chunk-h3kdr5mz.js.br +0 -0
  305. package/web/chunk-h3kdr5mz.js.gz +0 -0
  306. package/web/chunk-hjs5pyye.js +1 -0
  307. package/web/chunk-hjs5pyye.js.br +0 -0
  308. package/web/chunk-hjs5pyye.js.gz +0 -0
  309. package/web/chunk-hxgtek0e.js +2 -0
  310. package/web/chunk-hxgtek0e.js.br +0 -0
  311. package/web/chunk-hxgtek0e.js.gz +0 -0
  312. package/web/chunk-j5a3jhp0.js +120 -0
  313. package/web/chunk-j5a3jhp0.js.br +0 -0
  314. package/web/chunk-j5a3jhp0.js.gz +0 -0
  315. package/web/chunk-jgdways6.js +39 -0
  316. package/web/chunk-jgdways6.js.br +0 -0
  317. package/web/chunk-jgdways6.js.gz +0 -0
  318. package/web/chunk-jybmjakj.js +1 -0
  319. package/web/chunk-jybmjakj.js.br +2 -0
  320. package/web/chunk-jybmjakj.js.gz +0 -0
  321. package/web/chunk-kasv56qe.js +303 -0
  322. package/web/chunk-kasv56qe.js.br +0 -0
  323. package/web/chunk-kasv56qe.js.gz +0 -0
  324. package/web/chunk-kmhbkjqx.js +2 -0
  325. package/web/chunk-kmhbkjqx.js.br +0 -0
  326. package/web/chunk-kmhbkjqx.js.gz +0 -0
  327. package/web/chunk-m06zdhdz.js +1 -0
  328. package/web/chunk-m06zdhdz.js.br +0 -0
  329. package/web/chunk-m06zdhdz.js.gz +0 -0
  330. package/web/chunk-mrnnq8dv.js +1 -0
  331. package/web/chunk-mrnnq8dv.js.br +0 -0
  332. package/web/chunk-mrnnq8dv.js.gz +0 -0
  333. package/web/chunk-mx1e3jgh.js +1 -0
  334. package/web/chunk-mx1e3jgh.js.br +0 -0
  335. package/web/chunk-mx1e3jgh.js.gz +0 -0
  336. package/web/chunk-n0tehchs.js +3 -0
  337. package/web/chunk-n0tehchs.js.br +0 -0
  338. package/web/chunk-n0tehchs.js.gz +0 -0
  339. package/web/chunk-n449ebhn.js +38 -0
  340. package/web/chunk-n449ebhn.js.br +0 -0
  341. package/web/chunk-n449ebhn.js.gz +0 -0
  342. package/web/chunk-ngy730n0.js +1 -0
  343. package/web/chunk-ngy730n0.js.br +0 -0
  344. package/web/chunk-ngy730n0.js.gz +0 -0
  345. package/web/chunk-nj9dtqyd.js +2 -0
  346. package/web/chunk-nj9dtqyd.js.br +0 -0
  347. package/web/chunk-nj9dtqyd.js.gz +0 -0
  348. package/web/chunk-nzaq0yae.js +2 -0
  349. package/web/chunk-nzaq0yae.js.br +0 -0
  350. package/web/chunk-nzaq0yae.js.gz +0 -0
  351. package/web/chunk-pgnfj8ea.js +2 -0
  352. package/web/chunk-pgnfj8ea.js.br +0 -0
  353. package/web/chunk-pgnfj8ea.js.gz +0 -0
  354. package/web/chunk-qtgen5c5.js +24 -0
  355. package/web/chunk-qtgen5c5.js.br +0 -0
  356. package/web/chunk-qtgen5c5.js.gz +0 -0
  357. package/web/chunk-qzn05afn.js +169 -0
  358. package/web/chunk-qzn05afn.js.br +0 -0
  359. package/web/chunk-qzn05afn.js.gz +0 -0
  360. package/web/chunk-sgy3c5m7.js +62 -0
  361. package/web/chunk-sgy3c5m7.js.br +0 -0
  362. package/web/chunk-sgy3c5m7.js.gz +0 -0
  363. package/web/chunk-t7s9xrxt.js +34 -0
  364. package/web/chunk-t7s9xrxt.js.br +0 -0
  365. package/web/chunk-t7s9xrxt.js.gz +0 -0
  366. package/web/chunk-tmf1jnqz.js +2 -0
  367. package/web/chunk-tmf1jnqz.js.br +0 -0
  368. package/web/chunk-tmf1jnqz.js.gz +0 -0
  369. package/web/chunk-v95eqx92.js +84 -0
  370. package/web/chunk-v95eqx92.js.br +0 -0
  371. package/web/chunk-v95eqx92.js.gz +0 -0
  372. package/web/chunk-vcj5m1xb.js +1 -0
  373. package/web/chunk-vcj5m1xb.js.br +0 -0
  374. package/web/chunk-vcj5m1xb.js.gz +0 -0
  375. package/web/chunk-vq0zf16h.js +1 -0
  376. package/web/chunk-vq0zf16h.js.br +0 -0
  377. package/web/chunk-vq0zf16h.js.gz +0 -0
  378. package/web/chunk-vqhtph6r.js +1 -0
  379. package/web/chunk-vqhtph6r.js.br +0 -0
  380. package/web/chunk-vqhtph6r.js.gz +0 -0
  381. package/web/chunk-vz2mgxs7.js +1 -0
  382. package/web/chunk-vz2mgxs7.js.br +0 -0
  383. package/web/chunk-vz2mgxs7.js.gz +0 -0
  384. package/web/chunk-wry3q68j.js +1 -0
  385. package/web/chunk-wry3q68j.js.br +2 -0
  386. package/web/chunk-wry3q68j.js.gz +0 -0
  387. package/web/chunk-wrz0gqnv.js +1 -0
  388. package/web/chunk-wrz0gqnv.js.br +0 -0
  389. package/web/chunk-wrz0gqnv.js.gz +0 -0
  390. package/web/chunk-wvapb3r6.js +98 -0
  391. package/web/chunk-wvapb3r6.js.br +0 -0
  392. package/web/chunk-wvapb3r6.js.gz +0 -0
  393. package/web/chunk-x6qva9zc.js +324 -0
  394. package/web/chunk-x6qva9zc.js.br +0 -0
  395. package/web/chunk-x6qva9zc.js.gz +0 -0
  396. package/web/chunk-xa2ngtyg.js +2 -0
  397. package/web/chunk-xa2ngtyg.js.br +0 -0
  398. package/web/chunk-xa2ngtyg.js.gz +0 -0
  399. package/web/chunk-xhjf5ye0.js +1 -0
  400. package/web/chunk-xhjf5ye0.js.br +0 -0
  401. package/web/chunk-xhjf5ye0.js.gz +0 -0
  402. package/web/chunk-xkqekh81.js +2 -0
  403. package/web/chunk-xkqekh81.js.br +0 -0
  404. package/web/chunk-xkqekh81.js.gz +0 -0
  405. package/web/chunk-xsjvamcy.js +1 -0
  406. package/web/chunk-xsjvamcy.js.br +0 -0
  407. package/web/chunk-xsjvamcy.js.gz +0 -0
  408. package/web/chunk-xyfnr395.js +1 -0
  409. package/web/chunk-xyfnr395.js.br +0 -0
  410. package/web/chunk-xyfnr395.js.gz +0 -0
  411. package/web/chunk-y4x1g94q.js +1 -0
  412. package/web/chunk-y4x1g94q.js.br +0 -0
  413. package/web/chunk-y4x1g94q.js.gz +0 -0
  414. package/web/chunk-yzbp4vpe.js +1 -0
  415. package/web/chunk-yzbp4vpe.js.br +0 -0
  416. package/web/chunk-yzbp4vpe.js.gz +0 -0
  417. package/web/chunk-z601k790.js +291 -0
  418. package/web/chunk-z601k790.js.br +0 -0
  419. package/web/chunk-z601k790.js.gz +0 -0
  420. package/web/chunk-zc9mxd01.js +99 -0
  421. package/web/chunk-zc9mxd01.js.br +0 -0
  422. package/web/chunk-zc9mxd01.js.gz +0 -0
  423. package/web/chunk-zm1jfkcz.js +2 -0
  424. package/web/chunk-zm1jfkcz.js.br +0 -0
  425. package/web/chunk-zm1jfkcz.js.gz +0 -0
  426. package/web/chunk-zz0d7377.js +2 -0
  427. package/web/chunk-zz0d7377.js.br +0 -0
  428. package/web/chunk-zz0d7377.js.gz +0 -0
  429. package/web/index.html +1 -1
  430. package/web/index.html.br +0 -0
  431. package/web/index.html.gz +0 -0
  432. package/worker.js +1 -1
  433. package/chunk-04326385.js +0 -39
  434. package/chunk-11zc1b2w.js +0 -3
  435. package/chunk-12203fgm.js +0 -2
  436. package/chunk-194d4z7x.js +0 -7
  437. package/chunk-1apm7p2e.js +0 -2
  438. package/chunk-2csz31nh.js +0 -2
  439. package/chunk-2rqpfv4h.js +0 -3
  440. package/chunk-39cfcar4.js +0 -3
  441. package/chunk-3j26jsy0.js +0 -51
  442. package/chunk-4a5xttdp.js +0 -3
  443. package/chunk-4st5xeee.js +0 -2
  444. package/chunk-5ggyf53b.js +0 -50
  445. package/chunk-5h17n6g1.js +0 -3
  446. package/chunk-5rn18vrq.js +0 -5
  447. package/chunk-5tdnvdmz.js +0 -2
  448. package/chunk-6qavr39k.js +0 -2
  449. package/chunk-6xn0r0dd.js +0 -3
  450. package/chunk-7h76jrss.js +0 -7
  451. package/chunk-7hss4hs3.js +0 -7
  452. package/chunk-7vdq0wye.js +0 -2
  453. package/chunk-7w187ycz.js +0 -10
  454. package/chunk-81s7mvf2.js +0 -16
  455. package/chunk-8j8acxde.js +0 -2
  456. package/chunk-9nfz04yr.js +0 -2
  457. package/chunk-9vth0w8q.js +0 -2
  458. package/chunk-9zcfam20.js +0 -2
  459. package/chunk-a6zvmsbh.js +0 -12
  460. package/chunk-anr8aghq.js +0 -59
  461. package/chunk-av8zh9yp.js +0 -2
  462. package/chunk-bwv97dtf.js +0 -2
  463. package/chunk-cjy4rssa.js +0 -10
  464. package/chunk-dmdyqq1k.js +0 -2
  465. package/chunk-dzvq7vt6.js +0 -2
  466. package/chunk-ejrksf6g.js +0 -3
  467. package/chunk-erxka5vh.js +0 -18
  468. package/chunk-fb2ydc2s.js +0 -8
  469. package/chunk-fc41dvhp.js +0 -12
  470. package/chunk-fdgrayj5.js +0 -3
  471. package/chunk-fwcqcecb.js +0 -8
  472. package/chunk-hhwnmhbb.js +0 -2
  473. package/chunk-hvxc1wyv.js +0 -3
  474. package/chunk-jm2bn5mq.js +0 -3
  475. package/chunk-jm5j5jfy.js +0 -3
  476. package/chunk-jqtdf0ym.js +0 -63
  477. package/chunk-jsvr3s4q.js +0 -5
  478. package/chunk-jwk5a5tk.js +0 -25
  479. package/chunk-mwc59w50.js +0 -31
  480. package/chunk-mypbpphn.js +0 -3
  481. package/chunk-n3hfhbe4.js +0 -498
  482. package/chunk-ng5ncy65.js +0 -2
  483. package/chunk-nkmvqcge.js +0 -4073
  484. package/chunk-nmvayfq3.js +0 -3
  485. package/chunk-nw4h0wm9.js +0 -2
  486. package/chunk-p23eqet9.js +0 -2
  487. package/chunk-pxsgm6ff.js +0 -2
  488. package/chunk-qqs9fqsy.js +0 -4
  489. package/chunk-r0gsb1qs.js +0 -3
  490. package/chunk-r49sxmnc.js +0 -3
  491. package/chunk-rbfpa63e.js +0 -3
  492. package/chunk-rsrh5dgx.js +0 -2
  493. package/chunk-s2pm97nk.js +0 -286
  494. package/chunk-s6tnmg6x.js +0 -3
  495. package/chunk-se548edt.js +0 -20
  496. package/chunk-tsdeeqb8.js +0 -3
  497. package/chunk-vnv3a6t2.js +0 -3
  498. package/chunk-vrsh8cx1.js +0 -3
  499. package/chunk-w3v8zahw.js +0 -2
  500. package/chunk-w6m8c4vf.js +0 -11
  501. package/chunk-wd7sj5cv.js +0 -2
  502. package/chunk-we8v9wkw.js +0 -9
  503. package/chunk-x055cas0.js +0 -5
  504. package/chunk-x5vrtxkj.js +0 -3
  505. package/chunk-x83syrhw.js +0 -44
  506. package/chunk-xedzsj31.js +0 -5
  507. package/chunk-xp83v3zm.js +0 -2
  508. package/chunk-ykzm5g1b.js +0 -25
  509. package/chunk-yq2bwebb.js +0 -3
  510. package/chunk-yygcpnwc.js +0 -3
  511. package/chunk-zjf34acb.js +0 -2
  512. package/web/chunk-07kt1zpn.js +0 -1
  513. package/web/chunk-07kt1zpn.js.br +0 -0
  514. package/web/chunk-07kt1zpn.js.gz +0 -0
  515. package/web/chunk-0d068bmj.js +0 -1
  516. package/web/chunk-0d068bmj.js.br +0 -0
  517. package/web/chunk-0d068bmj.js.gz +0 -0
  518. package/web/chunk-0m15ghn0.js +0 -2
  519. package/web/chunk-0m15ghn0.js.br +0 -0
  520. package/web/chunk-0m15ghn0.js.gz +0 -0
  521. package/web/chunk-0swykhgr.js +0 -2
  522. package/web/chunk-0swykhgr.js.br +0 -0
  523. package/web/chunk-0swykhgr.js.gz +0 -0
  524. package/web/chunk-100a4th6.js +0 -4
  525. package/web/chunk-100a4th6.js.br +0 -0
  526. package/web/chunk-100a4th6.js.gz +0 -0
  527. package/web/chunk-1mdvm20t.js +0 -140
  528. package/web/chunk-1mdvm20t.js.br +0 -0
  529. package/web/chunk-1mdvm20t.js.gz +0 -0
  530. package/web/chunk-1mkzfr1m.js +0 -2
  531. package/web/chunk-1mkzfr1m.js.br +0 -0
  532. package/web/chunk-1mkzfr1m.js.gz +0 -0
  533. package/web/chunk-1p7wa1rq.js +0 -1
  534. package/web/chunk-1p7wa1rq.js.br +0 -0
  535. package/web/chunk-1p7wa1rq.js.gz +0 -0
  536. package/web/chunk-2grspw9t.js +0 -1
  537. package/web/chunk-2grspw9t.js.br +0 -0
  538. package/web/chunk-2grspw9t.js.gz +0 -0
  539. package/web/chunk-2zz8t49r.js +0 -1
  540. package/web/chunk-2zz8t49r.js.br +0 -0
  541. package/web/chunk-2zz8t49r.js.gz +0 -0
  542. package/web/chunk-34g2xrgq.js +0 -120
  543. package/web/chunk-34g2xrgq.js.br +0 -0
  544. package/web/chunk-34g2xrgq.js.gz +0 -0
  545. package/web/chunk-34q3az4b.js +0 -1
  546. package/web/chunk-34q3az4b.js.br +0 -0
  547. package/web/chunk-34q3az4b.js.gz +0 -0
  548. package/web/chunk-39jqdq4r.js +0 -1
  549. package/web/chunk-39jqdq4r.js.br +0 -0
  550. package/web/chunk-39jqdq4r.js.gz +0 -0
  551. package/web/chunk-3d2fm4qc.js +0 -1
  552. package/web/chunk-3d2fm4qc.js.br +0 -0
  553. package/web/chunk-3d2fm4qc.js.gz +0 -0
  554. package/web/chunk-3s16fbrf.js +0 -40
  555. package/web/chunk-3s16fbrf.js.br +0 -0
  556. package/web/chunk-3s16fbrf.js.gz +0 -0
  557. package/web/chunk-3vsey6mw.js +0 -1
  558. package/web/chunk-3vsey6mw.js.br +0 -0
  559. package/web/chunk-3vsey6mw.js.gz +0 -0
  560. package/web/chunk-3y29sc9c.js +0 -7
  561. package/web/chunk-3y29sc9c.js.br +0 -0
  562. package/web/chunk-3y29sc9c.js.gz +0 -0
  563. package/web/chunk-40f59ze9.js +0 -39
  564. package/web/chunk-40f59ze9.js.br +0 -0
  565. package/web/chunk-40f59ze9.js.gz +0 -0
  566. package/web/chunk-495sjpc6.js +0 -2
  567. package/web/chunk-495sjpc6.js.br +0 -0
  568. package/web/chunk-495sjpc6.js.gz +0 -0
  569. package/web/chunk-4ab1dv3g.js +0 -142
  570. package/web/chunk-4ab1dv3g.js.br +0 -0
  571. package/web/chunk-4ab1dv3g.js.gz +0 -0
  572. package/web/chunk-58xhn7ry.js +0 -2
  573. package/web/chunk-58xhn7ry.js.br +0 -0
  574. package/web/chunk-58xhn7ry.js.gz +0 -0
  575. package/web/chunk-67pa4950.js +0 -1
  576. package/web/chunk-67pa4950.js.br +0 -0
  577. package/web/chunk-67pa4950.js.gz +0 -0
  578. package/web/chunk-6ana63fs.js +0 -21
  579. package/web/chunk-6ana63fs.js.br +0 -0
  580. package/web/chunk-6ana63fs.js.gz +0 -0
  581. package/web/chunk-6ew54553.js +0 -2
  582. package/web/chunk-6ew54553.js.br +0 -0
  583. package/web/chunk-6ew54553.js.gz +0 -0
  584. package/web/chunk-6f1q0tjv.js +0 -1142
  585. package/web/chunk-6f1q0tjv.js.br +0 -0
  586. package/web/chunk-6f1q0tjv.js.gz +0 -0
  587. package/web/chunk-6gpzz5wm.js +0 -1
  588. package/web/chunk-6gpzz5wm.js.br +0 -0
  589. package/web/chunk-6gpzz5wm.js.gz +0 -0
  590. package/web/chunk-71g6vrx9.js +0 -62
  591. package/web/chunk-71g6vrx9.js.br +0 -0
  592. package/web/chunk-71g6vrx9.js.gz +0 -0
  593. package/web/chunk-77dnqrb6.js +0 -2
  594. package/web/chunk-77dnqrb6.js.br +0 -0
  595. package/web/chunk-77dnqrb6.js.gz +0 -0
  596. package/web/chunk-7fdrwy21.js +0 -1
  597. package/web/chunk-7fdrwy21.js.br +0 -0
  598. package/web/chunk-7fdrwy21.js.gz +0 -0
  599. package/web/chunk-84s7821x.js +0 -2
  600. package/web/chunk-84s7821x.js.br +0 -0
  601. package/web/chunk-84s7821x.js.gz +0 -0
  602. package/web/chunk-8e5qd73v.js +0 -7
  603. package/web/chunk-8e5qd73v.js.br +0 -0
  604. package/web/chunk-8e5qd73v.js.gz +0 -0
  605. package/web/chunk-8kyj945c.js +0 -2
  606. package/web/chunk-8kyj945c.js.br +0 -0
  607. package/web/chunk-8kyj945c.js.gz +0 -0
  608. package/web/chunk-9b0evht1.js +0 -292
  609. package/web/chunk-9b0evht1.js.br +0 -0
  610. package/web/chunk-9b0evht1.js.gz +0 -0
  611. package/web/chunk-9jb5xwya.js +0 -36
  612. package/web/chunk-9jb5xwya.js.br +0 -0
  613. package/web/chunk-9jb5xwya.js.gz +0 -0
  614. package/web/chunk-9kf8arqg.js +0 -1
  615. package/web/chunk-9kf8arqg.js.br +0 -0
  616. package/web/chunk-9kf8arqg.js.gz +0 -0
  617. package/web/chunk-9msmea44.js +0 -70
  618. package/web/chunk-9msmea44.js.br +0 -0
  619. package/web/chunk-9msmea44.js.gz +0 -0
  620. package/web/chunk-a7q85665.js +0 -3
  621. package/web/chunk-a7q85665.js.br +0 -0
  622. package/web/chunk-a7q85665.js.gz +0 -0
  623. package/web/chunk-b9cjgxr1.js +0 -98
  624. package/web/chunk-b9cjgxr1.js.br +0 -0
  625. package/web/chunk-b9cjgxr1.js.gz +0 -0
  626. package/web/chunk-baaattjv.js +0 -2
  627. package/web/chunk-baaattjv.js.br +0 -0
  628. package/web/chunk-baaattjv.js.gz +0 -0
  629. package/web/chunk-bj9m08f9.js +0 -1
  630. package/web/chunk-bj9m08f9.js.br +0 -0
  631. package/web/chunk-bj9m08f9.js.gz +0 -0
  632. package/web/chunk-bm4fvq6q.js +0 -89
  633. package/web/chunk-bm4fvq6q.js.br +0 -0
  634. package/web/chunk-bm4fvq6q.js.gz +0 -0
  635. package/web/chunk-c4g2k9wp.js +0 -1
  636. package/web/chunk-c4g2k9wp.js.br +0 -0
  637. package/web/chunk-c4g2k9wp.js.gz +0 -0
  638. package/web/chunk-cnptxet3.js +0 -2
  639. package/web/chunk-cnptxet3.js.br +0 -0
  640. package/web/chunk-cnptxet3.js.gz +0 -0
  641. package/web/chunk-db2jge7w.js +0 -291
  642. package/web/chunk-db2jge7w.js.br +0 -0
  643. package/web/chunk-db2jge7w.js.gz +0 -0
  644. package/web/chunk-dfv95z6w.js +0 -1
  645. package/web/chunk-dfv95z6w.js.br +0 -0
  646. package/web/chunk-dfv95z6w.js.gz +0 -0
  647. package/web/chunk-dsxjv5an.js +0 -1
  648. package/web/chunk-dsxjv5an.js.br +0 -0
  649. package/web/chunk-dsxjv5an.js.gz +0 -0
  650. package/web/chunk-e362x35y.js +0 -1
  651. package/web/chunk-e362x35y.js.br +0 -0
  652. package/web/chunk-e362x35y.js.gz +0 -0
  653. package/web/chunk-e6jfnajp.js +0 -55
  654. package/web/chunk-e6jfnajp.js.br +0 -0
  655. package/web/chunk-e6jfnajp.js.gz +0 -0
  656. package/web/chunk-ex34kdxk.js +0 -217
  657. package/web/chunk-ex34kdxk.js.br +0 -0
  658. package/web/chunk-ex34kdxk.js.gz +0 -0
  659. package/web/chunk-exa2z1b4.js +0 -1
  660. package/web/chunk-exa2z1b4.js.br +0 -0
  661. package/web/chunk-exa2z1b4.js.gz +0 -0
  662. package/web/chunk-fjvd2dx2.js +0 -2
  663. package/web/chunk-fjvd2dx2.js.br +0 -0
  664. package/web/chunk-fjvd2dx2.js.gz +0 -0
  665. package/web/chunk-fs39pqet.js +0 -2
  666. package/web/chunk-fs39pqet.js.br +0 -0
  667. package/web/chunk-fs39pqet.js.gz +0 -0
  668. package/web/chunk-h3618s7t.js +0 -4
  669. package/web/chunk-h3618s7t.js.br +0 -0
  670. package/web/chunk-h3618s7t.js.gz +0 -0
  671. package/web/chunk-hks91ztk.js +0 -8
  672. package/web/chunk-hks91ztk.js.br +0 -0
  673. package/web/chunk-hks91ztk.js.gz +0 -0
  674. package/web/chunk-hqd97ez8.js +0 -200
  675. package/web/chunk-hqd97ez8.js.br +0 -0
  676. package/web/chunk-hqd97ez8.js.gz +0 -0
  677. package/web/chunk-hta68vm8.js +0 -2
  678. package/web/chunk-hta68vm8.js.br +0 -0
  679. package/web/chunk-hta68vm8.js.gz +0 -0
  680. package/web/chunk-jcbvhp3h.js +0 -1
  681. package/web/chunk-jcbvhp3h.js.br +0 -0
  682. package/web/chunk-jcbvhp3h.js.gz +0 -0
  683. package/web/chunk-jw6e38cy.js +0 -1
  684. package/web/chunk-jw6e38cy.js.br +0 -0
  685. package/web/chunk-jw6e38cy.js.gz +0 -0
  686. package/web/chunk-jzp1qd92.js +0 -1
  687. package/web/chunk-jzp1qd92.js.br +0 -0
  688. package/web/chunk-jzp1qd92.js.gz +0 -0
  689. package/web/chunk-kg39a24q.js +0 -16
  690. package/web/chunk-kg39a24q.js.br +0 -0
  691. package/web/chunk-kg39a24q.js.gz +0 -0
  692. package/web/chunk-kj75rme3.js +0 -1
  693. package/web/chunk-kj75rme3.js.br +0 -0
  694. package/web/chunk-kj75rme3.js.gz +0 -0
  695. package/web/chunk-kvxmwmen.js +0 -1
  696. package/web/chunk-kvxmwmen.js.br +0 -0
  697. package/web/chunk-kvxmwmen.js.gz +0 -0
  698. package/web/chunk-kzdmsaet.js +0 -1
  699. package/web/chunk-kzdmsaet.js.br +0 -0
  700. package/web/chunk-kzdmsaet.js.gz +0 -0
  701. package/web/chunk-m203pzza.js +0 -89
  702. package/web/chunk-m203pzza.js.br +0 -0
  703. package/web/chunk-m203pzza.js.gz +0 -0
  704. package/web/chunk-m3xw41vq.js +0 -1
  705. package/web/chunk-m3xw41vq.js.br +0 -0
  706. package/web/chunk-m3xw41vq.js.gz +0 -0
  707. package/web/chunk-m8jcx13t.js +0 -30
  708. package/web/chunk-m8jcx13t.js.br +0 -0
  709. package/web/chunk-m8jcx13t.js.gz +0 -0
  710. package/web/chunk-mpgz1bj6.js +0 -1
  711. package/web/chunk-mpgz1bj6.js.br +0 -0
  712. package/web/chunk-mpgz1bj6.js.gz +0 -0
  713. package/web/chunk-mzagmpq5.js +0 -1
  714. package/web/chunk-mzagmpq5.js.br +0 -0
  715. package/web/chunk-mzagmpq5.js.gz +0 -0
  716. package/web/chunk-n51q6d6e.js +0 -1
  717. package/web/chunk-n51q6d6e.js.br +0 -0
  718. package/web/chunk-n51q6d6e.js.gz +0 -0
  719. package/web/chunk-nbf2zaaj.js +0 -1
  720. package/web/chunk-nbf2zaaj.js.br +0 -0
  721. package/web/chunk-nbf2zaaj.js.gz +0 -0
  722. package/web/chunk-nxd7dn08.js +0 -1
  723. package/web/chunk-nxd7dn08.js.br +0 -0
  724. package/web/chunk-nxd7dn08.js.gz +0 -0
  725. package/web/chunk-p44ezwgh.js +0 -1
  726. package/web/chunk-p44ezwgh.js.br +0 -0
  727. package/web/chunk-p44ezwgh.js.gz +0 -0
  728. package/web/chunk-pdg3bxc0.js +0 -2
  729. package/web/chunk-pdg3bxc0.js.br +0 -0
  730. package/web/chunk-pdg3bxc0.js.gz +0 -0
  731. package/web/chunk-pjbp0xwn.css +0 -1
  732. package/web/chunk-pjbp0xwn.css.br +0 -0
  733. package/web/chunk-pjbp0xwn.css.gz +0 -0
  734. package/web/chunk-pkbyh261.js +0 -1
  735. package/web/chunk-pkbyh261.js.br +0 -0
  736. package/web/chunk-pkbyh261.js.gz +0 -0
  737. package/web/chunk-q3q25jr9.js +0 -324
  738. package/web/chunk-q3q25jr9.js.br +0 -0
  739. package/web/chunk-q3q25jr9.js.gz +0 -0
  740. package/web/chunk-q5nr5wjn.js +0 -169
  741. package/web/chunk-q5nr5wjn.js.br +0 -0
  742. package/web/chunk-q5nr5wjn.js.gz +0 -0
  743. package/web/chunk-qd9y8r3g.js +0 -84
  744. package/web/chunk-qd9y8r3g.js.br +0 -0
  745. package/web/chunk-qd9y8r3g.js.gz +0 -0
  746. package/web/chunk-qm039dan.js +0 -24
  747. package/web/chunk-qm039dan.js.br +0 -0
  748. package/web/chunk-qm039dan.js.gz +0 -0
  749. package/web/chunk-qqp31fyy.js +0 -1
  750. package/web/chunk-qqp31fyy.js.br +0 -0
  751. package/web/chunk-qqp31fyy.js.gz +0 -0
  752. package/web/chunk-rc3sv7v4.js +0 -1
  753. package/web/chunk-rc3sv7v4.js.br +0 -0
  754. package/web/chunk-rc3sv7v4.js.gz +0 -0
  755. package/web/chunk-rtk95qme.js +0 -1
  756. package/web/chunk-rtk95qme.js.br +0 -0
  757. package/web/chunk-rtk95qme.js.gz +0 -0
  758. package/web/chunk-s4rfkyqn.js +0 -12
  759. package/web/chunk-s4rfkyqn.js.br +0 -0
  760. package/web/chunk-s4rfkyqn.js.gz +0 -0
  761. package/web/chunk-s6a0gfv3.js +0 -34
  762. package/web/chunk-s6a0gfv3.js.br +0 -0
  763. package/web/chunk-s6a0gfv3.js.gz +0 -0
  764. package/web/chunk-s7rwbxr5.js +0 -2
  765. package/web/chunk-s7rwbxr5.js.br +0 -0
  766. package/web/chunk-s7rwbxr5.js.gz +0 -0
  767. package/web/chunk-s8f6v2nn.js +0 -1
  768. package/web/chunk-s8f6v2nn.js.br +0 -0
  769. package/web/chunk-s8f6v2nn.js.gz +0 -0
  770. package/web/chunk-sawc81kc.js +0 -303
  771. package/web/chunk-sawc81kc.js.br +0 -0
  772. package/web/chunk-sawc81kc.js.gz +0 -0
  773. package/web/chunk-sex2gevj.js +0 -2
  774. package/web/chunk-sex2gevj.js.br +0 -0
  775. package/web/chunk-sex2gevj.js.gz +0 -0
  776. package/web/chunk-smmdqmcy.js +0 -1
  777. package/web/chunk-smmdqmcy.js.br +0 -0
  778. package/web/chunk-smmdqmcy.js.gz +0 -0
  779. package/web/chunk-txhvq81f.js +0 -106
  780. package/web/chunk-txhvq81f.js.br +0 -0
  781. package/web/chunk-txhvq81f.js.gz +0 -0
  782. package/web/chunk-txtm71rz.js +0 -41
  783. package/web/chunk-txtm71rz.js.br +0 -0
  784. package/web/chunk-txtm71rz.js.gz +0 -0
  785. package/web/chunk-tykcqm6v.js +0 -2
  786. package/web/chunk-tykcqm6v.js.br +0 -0
  787. package/web/chunk-tykcqm6v.js.gz +0 -0
  788. package/web/chunk-tyrmd7j6.js +0 -1
  789. package/web/chunk-tyrmd7j6.js.br +0 -0
  790. package/web/chunk-tyrmd7j6.js.gz +0 -0
  791. package/web/chunk-v6ebn3sf.js +0 -38
  792. package/web/chunk-v6ebn3sf.js.br +0 -0
  793. package/web/chunk-v6ebn3sf.js.gz +0 -0
  794. package/web/chunk-vbx7t0h5.js +0 -214
  795. package/web/chunk-vbx7t0h5.js.br +0 -0
  796. package/web/chunk-vbx7t0h5.js.gz +0 -0
  797. package/web/chunk-vj3wz0a2.js +0 -1
  798. package/web/chunk-vj3wz0a2.js.br +0 -0
  799. package/web/chunk-vj3wz0a2.js.gz +0 -0
  800. package/web/chunk-vqgkd7q8.js +0 -1
  801. package/web/chunk-vqgkd7q8.js.br +0 -0
  802. package/web/chunk-vqgkd7q8.js.gz +0 -0
  803. package/web/chunk-w0k63gap.js +0 -2
  804. package/web/chunk-w0k63gap.js.br +0 -0
  805. package/web/chunk-w0k63gap.js.gz +0 -0
  806. package/web/chunk-wafwgky9.js +0 -1
  807. package/web/chunk-wafwgky9.js.br +0 -0
  808. package/web/chunk-wafwgky9.js.gz +0 -0
  809. package/web/chunk-wk89vrvf.js +0 -78
  810. package/web/chunk-wk89vrvf.js.br +0 -0
  811. package/web/chunk-wk89vrvf.js.gz +0 -0
  812. package/web/chunk-wqjn3yz1.js +0 -370
  813. package/web/chunk-wqjn3yz1.js.br +0 -0
  814. package/web/chunk-wqjn3yz1.js.gz +0 -0
  815. package/web/chunk-wrej9qt0.js +0 -2
  816. package/web/chunk-wrej9qt0.js.br +0 -0
  817. package/web/chunk-wrej9qt0.js.gz +0 -0
  818. package/web/chunk-xbjv549c.js +0 -2
  819. package/web/chunk-xbjv549c.js.br +0 -0
  820. package/web/chunk-xbjv549c.js.gz +0 -0
  821. package/web/chunk-xmp1ag6z.js +0 -2
  822. package/web/chunk-xmp1ag6z.js.br +0 -0
  823. package/web/chunk-xmp1ag6z.js.gz +0 -0
  824. package/web/chunk-xsqd38a2.js +0 -332
  825. package/web/chunk-xsqd38a2.js.br +0 -0
  826. package/web/chunk-xsqd38a2.js.gz +0 -0
  827. package/web/chunk-y2fbz356.js +0 -1
  828. package/web/chunk-y2fbz356.js.br +0 -0
  829. package/web/chunk-y2fbz356.js.gz +0 -0
  830. package/web/chunk-yebmbyrj.js +0 -1
  831. package/web/chunk-yebmbyrj.js.br +0 -2
  832. package/web/chunk-yebmbyrj.js.gz +0 -0
  833. package/web/chunk-ypytxmn6.js +0 -24
  834. package/web/chunk-ypytxmn6.js.br +0 -0
  835. package/web/chunk-ypytxmn6.js.gz +0 -0
  836. package/web/chunk-z6jy8edk.js +0 -99
  837. package/web/chunk-z6jy8edk.js.br +0 -0
  838. package/web/chunk-z6jy8edk.js.gz +0 -0
  839. package/web/chunk-zg5n1hx4.js +0 -1
  840. package/web/chunk-zg5n1hx4.js.br +0 -0
  841. package/web/chunk-zg5n1hx4.js.gz +0 -0
  842. package/web/chunk-zmrd0bnc.js +0 -139
  843. package/web/chunk-zmrd0bnc.js.br +0 -0
  844. package/web/chunk-zmrd0bnc.js.gz +0 -0
  845. package/web/chunk-zqm6n89p.js +0 -7
  846. package/web/chunk-zqm6n89p.js.br +0 -0
  847. package/web/chunk-zqm6n89p.js.gz +0 -0
  848. package/web/chunk-zvat895r.js +0 -1
  849. package/web/chunk-zvat895r.js.br +0 -0
  850. package/web/chunk-zvat895r.js.gz +0 -0
  851. package/web/chunk-zxt17pcp.js +0 -1
  852. package/web/chunk-zxt17pcp.js.br +0 -0
  853. package/web/chunk-zxt17pcp.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{t,i,W}from"./chunk-kasv56qe.js";var Pe=t((e,o,r,n)=>{e.attr("class",r);let{width:h,height:a,x:w,y:x}=u(e,o);W(e,a,h,n);let c=m(w,x,h,a,o);e.attr("viewBox",c),i.debug(`viewBox configured: ${c} with padding: ${o}`)},"setupViewPortForSVG"),u=t((e,o)=>{let r=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:r.width+o*2,height:r.height+o*2,x:r.x,y:r.y}},"calculateDimensionsWithPadding"),m=t((e,o,r,n,h)=>`${e-h} ${o-h} ${r} ${n}`,"createViewBox");
2
+ export{Pe};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t,i}from"./chunk-kasv56qe.js";import{he,In,Dn}from"./chunk-7mwghj09.js";import{ie}from"./chunk-e54b48p5.js";import{Ia,kn}from"./chunk-fnzyprme.js";var s=Ia().RailroadEbnf.parser.LangiumParser,a=t((e)=>{let r=e.alternatives.map(m);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformChoice"),m=t((e)=>{let r=e.elements.map(p);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformSequence"),o=t((e)=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return a(e.element);case"EbnfOptional":return{type:"optional",element:a(e.element)};case"EbnfRepetition":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),l=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},o(r.except)]};default:throw Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),p=t((e)=>e.postfixes.reduce((r,n)=>l(r,n),o(e.base)),"transformTerm"),f=t((e)=>({name:e.name,definition:a(e.definition)}),"transformRule"),u=t((e)=>{if(ie(e,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(f(r)))},"populateDb"),c={parse:t((e)=>{he.clear(),i.debug("[EBNF Parser] Starting Langium parse");let r=s.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new kn(r);let n=r.value;i.debug("[EBNF Parser] Parsed rules:",n.rules.length),u(n),i.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:he}},x={parser:c,db:he,renderer:Dn,styles:In};export{x as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{ee,e,n,b}from"./chunk-9rf2smk2.js";import{Zn,ra}from"./chunk-pgnfj8ea.js";import"./chunk-70kws32b.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=b(),r=ee(),t=ra({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",trustedOnly:!0,models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(Zn,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Pn}from"./chunk-xkqekh81.js";import"./chunk-6ycpdpfj.js";export{Pn as default};
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ import{ie}from"./chunk-e54b48p5.js";import{t,i,F,A,q,N,M,P,R,I,O,D,d,Za,g,Xr,zi,Z}from"./chunk-kasv56qe.js";import{Ti,fe}from"./chunk-fnzyprme.js";var U="position frame",_="frame positioned",B="position relation",G="relation positioned",pe=t(function(e){i.debug("options str",e)},"setOptions"),ve=t(function(){return{}},"getOptions"),be=t(function(){L(),N()},"clear");function L(){S={}}t(L,"reset");var we=F.eventmodeling,ye=t(()=>Z({...we,...A().eventmodeling}),"getConfig"),S={};function V(){let e=Pe,{ast:r}=S,n=C();if(!r)throw Error("No data for EventModel");return r.frames.forEach((a,o)=>{let s=Q(a,r.dataEntities,n);e=y(e,{$kind:U,index:o,frame:a,textProps:s});let c=void 0;if(oe(a))i.debug("source frame",a.sourceFrames),c=r.frames.filter((m)=>a.sourceFrames.some((u)=>u.$refText===m.name)),c.forEach((m)=>{e=y(e,{$kind:B,index:o,frame:a,sourceFrame:m})});else e=y(e,{$kind:B,index:o,frame:a})}),e={...e,sortedSwimlanesArray:W(e.swimlanes)},e}t(V,"getState");function X(e){S.ast=void 0;let r=new Set;for(let n of e.frames){if(r.has(n.name)){let a=n.$cstNode?.range.start.line,o=a===void 0?"":` on line ${a+1}`;throw Error(`Duplicate event modeling frame ID "${n.name}"${o}`)}r.add(n.name)}S.ast=e}t(X,"setAst");var l={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function C(){return l}t(C,"getDiagramProps");var Pe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function j(e){let r=e.split(".");if(r.length===2)return r[0];return}t(j,"extractNamespace");function Y(e){let r=e.split(".");if(r.length===2)return r[1];return e}t(Y,"extractName");function z(e,r){if(!r||r.length===0)return;return Object.values(e).find((n)=>n.namespace===r)}t(z,"findSwimlaneByNamespace");function w(e,r,n){return Math.max(r,...Object.keys(e).filter((a)=>{let o=Number.parseInt(a);return o>r&&o<n}).map((a)=>Number.parseInt(a)))+1}t(w,"findNextAvailableIndex");function K(e,r){let n=j(e.entityIdentifier),a=z(r,n);switch(e.modelEntityType){case"ui":case"pcr":case"processor":if(a)return{index:a.index,label:a.namespace||l.labelUiAutomation};else if(n)return{index:w(r,0,100),label:l.labelUiAutomationPrefix+n};return{index:0,label:l.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":if(a)return{index:a.index,label:a.namespace||l.labelCommandReadModel};else if(n)return{index:w(r,100,200),label:l.labelCommandReadModelPrefix+n};return{index:100,label:l.labelCommandReadModel};case"evt":case"event":default:if(a)return{index:a.index,label:a.namespace||l.labelEvents};else if(n)return{index:w(r,200,300),label:l.labelEventsPrefix+n};return{index:200,label:l.labelEvents}}}t(K,"calculateSwimlaneProps");function J(e){let{themeVariables:r}=A();switch(e.modelEntityType){case"ui":return{fill:r.emUiFill??"white",stroke:r.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:r.emProcessorFill??"#edb3f6",stroke:r.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:r.emReadModelFill??"#d3f1a2",stroke:r.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:r.emCommandFill??"#bcd6fe",stroke:r.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:r.emEventFill??"#ffb778",stroke:r.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}t(J,"calculateEntityVisualProps");function Q(e,r,n){let a=A(),o=q(Y(e.entityIdentifier)??"",a),s,c={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"},u=`<b>${Xr(o,n.textMaxWidth,c)}</b>`;if(e.dataInlineValue)s=e.dataInlineValue,s=s.substring(s.indexOf("{")+1),s=s.substring(0,s.lastIndexOf("}")-1),s=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" ","&nbsp;");if(e.dataReference){let b=r.find((k)=>k.name===e.dataReference?.$refText);if(b)s=b.dataBlockValue,s=s.substring(s.indexOf(`{
2
+ `)+2),s=s.substring(0,s.lastIndexOf("}")-1),s=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" ","&nbsp;"),s+="<br/>"}let x=s!==void 0;if(x)u+=`<br/><br/><code style="text-align: left; display: block;max-width:${n.textMaxWidth}px">${s}</code>`;let h={fontSize:c.fontSize,fontWeight:c.fontWeight,fontFamily:c.fontFamily},f=zi(u,h),v=x?f.width/3:f.width,p={content:u,width:v,height:f.height};return i.debug(`[${e.name}] ${e.entityIdentifier} text`,p),p}t(Q,"calculateTextProps");function ee(e,r){let n=r,a=J(n.frame),o={width:n.textProps.width+2*l.boxTextPadding,height:n.textProps.height+2*l.boxTextPadding};return[{$kind:_,frame:n.frame,index:n.index,visual:a,dimension:o,textProps:n.textProps}]}t(ee,"decidePositionFrame");function te(e,r,n){if(r===void 0)return l.contentStartX;if(r.index===e.index&&e.r)return e.r+l.boxPadding;if(n===void 0)return l.contentStartX;return n.r-l.boxOverlap+l.boxPadding}t(te,"calculateX");function ne(e,r){let n=[...e.map((a)=>a.r),r];return Math.max(...n)}t(ne,"calculateMaxRight");function W(e){return Object.values(e).sort((r,n)=>r.index-n.index)}t(W,"sortedSwimlanesArray");function re(e,r){let n=r,a=K(n.frame,e.swimlanes),o;if(a.index in e.swimlanes)o=e.swimlanes[a.index];else o={index:a.index,label:a.label,r:0,y:a.index*l.swimlaneMinHeight+l.swimlaneGap,height:l.swimlaneMinHeight,maxHeight:l.swimlaneMinHeight};let s=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,c=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,m={width:Math.max(l.boxMinWidth,Math.min(l.boxMaxWidth,n.dimension.width))+2*l.boxPadding,height:Math.max(l.boxMinHeight,Math.min(l.boxMaxHeight,n.dimension.height))+2*l.boxPadding},u=te(o,c,s),x=u+m.width+l.boxPadding,h=ne(Object.values(e.swimlanes),x);o.r=u+m.width,o.maxHeight=Math.max(o.maxHeight,m.height),o.height=Math.max(l.swimlaneMinHeight,o.maxHeight)+2*l.swimlanePadding;let f={x:u,y:l.swimlanePadding+o.y,r:x,dimension:m,leftSibling:!1,swimlane:o,visual:n.visual,text:n.textProps.content,frame:n.frame,index:n.index},v={...e,boxes:[...e.boxes,f],swimlanes:{...e.swimlanes,[`${o.index}`]:o},previousSwimlaneNumber:a.index,previousFrame:n.frame,maxR:h},p=W(v.swimlanes);if(p.length>0)p[0].y=0;for(let b=1;b<p.length;b++){let k=p[b],H=p[b-1];k.y=H.y+H.height+l.swimlaneGap}return v}t(re,"evolveFramePositioned");function ae(e,r){if(e===0&&r.sourceFrames.length===0)return!0;return!1}t(ae,"isFirstFrame");function oe(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}t(oe,"hasSourceFrame");function E(e,r){if(r===void 0||r===null)return;return e.find((n)=>n.frame.name===r.name)}t(E,"findBoxByFrame");function se(e,r,n){if(n<0)return;for(let a=n;a>=0;a--){let o=e[a];if(o.swimlane.index!==r)return o}return}t(se,"findBoxByLineIndex");function de(e,r){let n=r;if(ae(n.index,n.frame))return[];let a=E(e.boxes,n.frame);if(a===void 0)throw Error(`Target box not found for frame ${n.frame.name}`);let o;if(n.sourceFrame)o=E(e.boxes,n.sourceFrame);else{if(Ti(n.frame))return[];o=se(e.boxes,a.swimlane.index,n.index-1)}if(o===void 0)return[];return[{$kind:G,frame:n.frame,index:n.index,sourceBox:o,targetBox:a}]}t(de,"decidePositionRelation");function le(e,r){let n=r,a={visual:{fill:"none",stroke:"#000"},source:{x:n.sourceBox.x,y:n.sourceBox.y},target:{x:n.targetBox.x,y:n.targetBox.y},sourceBox:n.sourceBox,targetBox:n.targetBox};return{...e,relations:[...e.relations,a]}}t(le,"evolveRelationPositioned");var Se={[U]:ee,[B]:de},Me={[_]:re,[G]:le};function ce(e,r){let n=Se[r.$kind];if(n===void 0||n===null)return[];let a=n(e,r);return i.debug("decided events",a),a}t(ce,"decide");function me(e,r){let n=r.reduce((a,o)=>{let s=Me[o.$kind];if(s===void 0||s===null)return a;return s(a,o)},e);return i.debug("evolve events",{state:e,newState:n,events:r}),n}t(me,"evolve");function y(e,r){let n=ce(e,r);return me(e,n)}t(y,"dispatch");var T={getConfig:ye,preserveCommentsWhenParsing:!0,setOptions:pe,getOptions:ve,clear:be,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D,setAst:X,getDiagramProps:C,getState:V},ke={parse:t(async(e)=>{let r=await fe("eventmodeling",e);i.debug(r),T.setAst(r),ie(r,T)},"parse")},Fe=d(),Be=Fe?.eventmodeling;function ue(e,r){return(n)=>{let a=n.swimlane.y+r.swimlanePadding,o=e.append("g").attr("class","em-box");o.append("rect").attr("x",n.x).attr("y",a).attr("rx","3").attr("width",n.dimension.width).attr("height",n.dimension.height).attr("stroke",n.visual.stroke).attr("fill",n.visual.fill),o.append("foreignObject").attr("x",n.x+r.boxPadding).attr("y",a+10).attr("width",n.dimension.width-2*r.boxPadding).attr("height",n.dimension.height-2*r.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(n.text)}}t(ue,"renderD3Box");function xe(e,r){return e>r}t(xe,"dirUpwards");function ge(e,r,n,a){return(o)=>{let s=o.sourceBox.swimlane.y+r.swimlanePadding,c=o.targetBox.swimlane.y+r.swimlanePadding,m=xe(s,c),u=o.sourceBox.x+o.sourceBox.dimension.width*2/3,x=o.targetBox.x+o.targetBox.dimension.width/3,h,f;if(i.debug(`rendering relation up=${m} for `,{sourceBox:o.sourceBox,targetBox:o.targetBox}),m)h=s,f=c+o.targetBox.dimension.height;else h=s+o.sourceBox.dimension.height,f=c;let v=a.emRelationStroke??o.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",o.visual.fill).attr("stroke",v).attr("stroke-width","1").attr("marker-end",`url(#${n})`).attr("d",`M${u} ${h} L${x} ${f}`)}}t(ge,"renderD3Relation");function he(e,r,n,a){return(o)=>{let s=e.append("g").attr("class","em-swimlane"),c=a.emSwimlaneBackgroundOdd??"rgb(250,250,250)",m=a.emSwimlaneBackgroundStroke??"rgb(240,240,240)";s.append("rect").attr("x",0).attr("y",o.y).attr("rx","3").attr("width",r+n.swimlanePadding).attr("height",o.height).attr("fill",c).attr("stroke",m),s.append("text").attr("font-weight",n.swimlaneTextFontWeight).attr("x",30).attr("y",o.y+30).text(o.label)}}t(he,"renderD3Swimlane");var Ee=t(function(e,r,n,a){if(i.debug("in eventmodeling renderer",e+`
3
+ `,"id:",r,n),!Be)throw Error("EventModeling config not found");let o=a.db,{themeVariables:s,eventmodeling:c}=d(),m=g(`[id="${r}"]`),u=o.getDiagramProps(),x=o.getState(),h=`em-arrowhead-${r}`,f=s.emArrowhead??"#000000";x.sortedSwimlanesArray.forEach(he(m,x.maxR,u,s)),x.boxes.forEach(ue(m,u)),x.relations.forEach(ge(m,u,h,s)),m.append("defs").append("marker").attr("id",h).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",f),Za(void 0,m,c?.padding??30,c?.useMaxWidth)},"draw"),Ae={draw:Ee},$e=t((e)=>"","getStyles"),Re=$e,Ue={parser:ke,db:T,renderer:Ae,styles:Re};export{Ue as diagram};
Binary file
Binary file
@@ -0,0 +1,38 @@
1
+ import{t,i,Ae,q,C,W,M,P,R,I,d,g,Xr,Fi,Dt,T,Ui}from"./chunk-kasv56qe.js";import{yr}from"./chunk-g7ec62te.js";var Jt=function(){var e=t(function(wt,v,E,w){for(E=E||{},w=wt.length;w--;E[wt[w]]=v);return E},"o"),n=[1,24],a=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],h=[1,64],s=[1,65],f=[1,66],b=[1,67],_=[1,68],x=[1,69],S=[1,29],B=[1,30],U=[1,31],V=[1,32],Y=[1,33],H=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],Rt=[1,60],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],D=[1,83],N=[1,84],A=[1,85],L=[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,E,w,m,F,u,Ut){var y=u.length-1;switch(F){case 3:m.setDirection("TB");break;case 4:m.setDirection("BT");break;case 5:m.setDirection("RL");break;case 6:m.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:m.setC4Type(u[y-3]);break;case 19:m.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:m.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),m.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),m.setAccDescription(this.$);break;case 28:u[y].splice(2,0,"ENTERPRISE"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 29:u[y].splice(2,0,"SYSTEM"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),m.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:m.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:m.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:m.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:m.popBoundaryParseStack();break;case 39:m.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:m.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:m.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:m.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:m.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:m.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:m.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:m.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:m.addContainer("container",...u[y]),this.$=u[y];break;case 48:m.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:m.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:m.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:m.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:m.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:m.addComponent("component",...u[y]),this.$=u[y];break;case 54:m.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:m.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:m.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:m.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:m.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:m.addRel("rel",...u[y]),this.$=u[y];break;case 61:m.addRel("birel",...u[y]),this.$=u[y];break;case 62:m.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:m.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:m.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:m.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:m.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),m.addRel("rel",...u[y]),this.$=u[y];break;case 68:m.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:m.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:m.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Lt={};Lt[u[y-1].trim()]=u[y].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:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:70,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:71,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:72,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:73,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(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:D,79:N,80:A},{35:86,75:81,76:O,77:D,79:N,80:A},{35:87,75:81,76:O,77:D,79:N,80:A},{35:88,75:81,76:O,77:D,79:N,80:A},{35:89,75:81,76:O,77:D,79:N,80:A},{35:90,75:81,76:O,77:D,79:N,80:A},{35:91,75:81,76:O,77:D,79:N,80:A},{35:92,75:81,76:O,77:D,79:N,80:A},{35:93,75:81,76:O,77:D,79:N,80:A},{35:94,75:81,76:O,77:D,79:N,80:A},{35:95,75:81,76:O,77:D,79:N,80:A},{35:96,75:81,76:O,77:D,79:N,80:A},{35:97,75:81,76:O,77:D,79:N,80:A},{35:98,75:81,76:O,77:D,79:N,80:A},{35:99,75:81,76:O,77:D,79:N,80:A},{35:100,75:81,76:O,77:D,79:N,80:A},{35:101,75:81,76:O,77:D,79:N,80:A},{35:102,75:81,76:O,77:D,79:N,80:A},{35:103,75:81,76:O,77:D,79:N,80:A},{35:104,75:81,76:O,77:D,79:N,80:A},e(L,[2,59]),{35:105,75:81,76:O,77:D,79:N,80:A},{35:106,75:81,76:O,77:D,79:N,80:A},{35:107,75:81,76:O,77:D,79:N,80:A},{35:108,75:81,76:O,77:D,79:N,80:A},{35:109,75:81,76:O,77:D,79:N,80:A},{35:110,75:81,76:O,77:D,79:N,80:A},{35:111,75:81,76:O,77:D,79:N,80:A},{35:112,75:81,76:O,77:D,79:N,80:A},{35:113,75:81,76:O,77:D,79:N,80:A},{35:114,75:81,76:O,77:D,79:N,80:A},{35:115,75:81,76:O,77:D,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:D,79:N,80:A},{35:120,75:81,76:O,77:D,79:N,80:A},{35:121,75:81,76:O,77:D,79:N,80:A},{35:122,75:81,76:O,77:D,79:N,80:A},{35:123,75:81,76:O,77:D,79:N,80:A},{35:124,75:81,76:O,77:D,79:N,80:A},{35:125,75:81,76:O,77:D,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:a,24:o,26:p,28:l}),e(Vt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:a,24:o,26:p,28:l,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(Ft,[2,21]),e(Ft,[2,22]),e(L,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:D,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),e(L,[2,47]),e(L,[2,48]),e(L,[2,49]),e(L,[2,50]),e(L,[2,51]),e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(L,[2,56]),e(L,[2,57]),e(L,[2,58]),e(L,[2,60]),e(L,[2,61]),e(L,[2,62]),e(L,[2,63]),e(L,[2,64]),e(L,[2,65]),e(L,[2,66]),e(L,[2,67]),e(L,[2,68]),e(L,[2,69]),e(L,[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(L,[2,24]),e(L,[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,E){if(E.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=E,w}},"parseError"),parse:t(function(v){var E=this,w=[0],m=[],F=[null],u=[],Ut=this.table,y="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=u.slice.call(arguments,1),j=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(j.setInput(v,It.yy),It.yy.lexer=j,It.yy.parser=this,typeof j.yylloc>"u")j.yylloc={};var se=j.yylloc;u.push(se);var Fe=j.options&&j.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(K){w.length=w.length-2*K,F.length=F.length-K,u.length=u.length-K}t(Ue,"popStack");function ge(){var K=m.pop()||j.lex()||me;if(typeof K!=="number"){if(K instanceof Array)m=K,K=m.pop();K=E.symbols_[K]||K}return K}t(ge,"lex");var z,ae,Mt,Q,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])Q=this.defaultActions[Mt];else{if(z===null||typeof z>"u")z=ge();Q=Ut[Mt]&&Ut[Mt][z]}if(typeof Q>"u"||!Q.length||!Q[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(j.showPosition)oe="Parse error on line "+(Lt+1)+`:
2
+ `+j.showPosition()+`
3
+ Expecting `+Kt.join(", ")+", got '"+(this.terminals_[z]||z)+"'";else oe="Parse error on line "+(Lt+1)+": Unexpected "+(z==me?"end of input":"'"+(this.terminals_[z]||z)+"'");this.parseError(oe,{text:j.match,token:this.terminals_[z]||z,line:j.yylineno,loc:se,expected:Kt})}if(Q[0]instanceof Array&&Q.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+z);switch(Q[0]){case 1:if(w.push(z),F.push(j.yytext),u.push(j.yylloc),w.push(Q[1]),z=null,!ae){if(_e=j.yyleng,y=j.yytext,Lt=j.yylineno,se=j.yylloc,be>0)be--}else z=ae,ae=null;break;case 2:if(et=this.productions_[Q[1]][1],Yt.$=F[F.length-et],Yt._$={first_line:u[u.length-(et||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(et||1)].first_column,last_column:u[u.length-1].last_column},Fe)Yt._$.range=[u[u.length-(et||1)].range[0],u[u.length-1].range[1]];if(ie=this.performAction.apply(Yt,[y,_e,Lt,It.yy,Q[1],F,u].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),u=u.slice(0,-1*et);w.push(this.productions_[Q[1]][0]),F.push(Yt.$),u.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 wt={EOF:1,parseError:t(function(E,w){if(this.yy.parser)this.yy.parser.parseError(E,w);else throw Error(E)},"parseError"),setInput:t(function(v,E){if(this.yy=E||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 E=v.match(/(?:\r\n?|\n).*/g);if(E)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 E=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var m=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===m.length?this.yylloc.first_column:0)+m[m.length-w.length].length-w[0].length:this.yylloc.first_column-E},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-E];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(),E=Array(v.length+1).join("-");return v+this.upcomingInput()+`
5
+ `+E+"^"},"showPosition"),test_match:t(function(v,E){var w,m,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(m=v[0].match(/(?:\r\n?|\n).*/g),m)this.yylineno+=m.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.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,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var u in F)this[u]=F[u];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,E,w,m;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var u=0;u<F.length;u++)if(w=this._input.match(this.rules[F[u]]),w&&(!E||w[0].length>E[0].length)){if(E=w,m=u,this.options.backtrack_lexer)if(v=this.test_match(w,F[u]),v!==!1)return v;else if(this._backtrack){E=!1;continue}else return!1;else if(!this.options.flex)break}if(E){if(v=this.test_match(E,F[m]),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 E=this.next();if(E)return E;else return this.lex()},"lex"),begin:t(function(E){this.conditionStack.push(E)},"begin"),popState:t(function(){var E=this.conditionStack.length-1;if(E>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(E){if(E=this.conditionStack.length-1-Math.abs(E||0),E>=0)return this.conditionStack[E];else return"INITIAL"},"topState"),pushState:t(function(E){this.begin(E)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(E,w,m,F){var u=F;switch(m){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return wt}();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)=>d()[e],"getRequiredConfig"),G=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[a,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=G.has(p)?{text:l}:l}else e[a]=o}},"assignAttributes"),Ce=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],X="global",J="",tt=[Ce()],Xt=[],de="",pe=!1,Zt=4,$t=2,Re,ze=t(function(){return Re},"getC4Type"),We=t(function(e){Re=q(e,d())},"setC4Type"),Xe=t(function(e,n,a,o,p,l,r,h,s){if(e===void 0||e===null||n===void 0||n===null||a===void 0||a===null||o===void 0||o===null)return;let f={},b=Xt.find((_)=>_.from===n&&_.to===a);if(b)f=b;else Xt.push(f);if(f.type=e,f.from=n,f.to=a,f.label={text:o},p===void 0||p===null)f.techn??={text:""};else if(typeof p==="object"){let[_,x]=Object.entries(p)[0];f[_]=G.has(_)?{text:x}:x}else f.techn={text:p};if(l===void 0||l===null)f.descr??={text:""};else if(typeof l==="object"){let[_,x]=Object.entries(l)[0];f[_]=G.has(_)?{text:x}:x}else f.descr={text:l};Bt(f,{sprite:r,tags:h,link:s}),f.wrap=Nt()},"addRel"),qe=t(function(e,n,a,o,p,l,r){if(n===null||a===null)return;let h={},s=Z.find((f)=>f.alias===n);if(s&&n===s.alias)h=s;else h.alias=n,Z.push(h);if(a===void 0||a===null)h.label={text:""};else h.label={text:a};if(o===void 0||o===null)h.descr??={text:""};else if(typeof o==="object"){let[f,b]=Object.entries(o)[0];h[f]=G.has(f)?{text:b}:b}else h.descr={text:o};Bt(h,{sprite:p,tags:l,link:r}),h.typeC4Shape={text:e},h.parentBoundary=X,h.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.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(a===void 0||a===null)l.type={text:"system"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.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(a===void 0||a===null)l.type={text:"container"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addContainerBoundary"),Je=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=tt.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,tt.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{tags:r,link:h}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Ot.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,a,o,p,l,r,h,s,f,b){let _=Z.find((x)=>x.alias===n);if(_===void 0){if(_=tt.find((x)=>x.alias===n),_===void 0)return}if(a!==void 0&&a!==null)if(typeof a==="object"){let[x,S]=Object.entries(a)[0];_[x]=S}else _.bgColor=a;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,S]=Object.entries(o)[0];_[x]=S}else _.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,S]=Object.entries(p)[0];_[x]=S}else _.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,S]=Object.entries(l)[0];_[x]=S}else _.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,S]=Object.entries(r)[0];_[x]=S}else _.shape=r;if(h!==void 0&&h!==null)if(typeof h==="object"){let[x,S]=Object.entries(h)[0];_[x]=S}else _.sprite=h;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,S]=Object.entries(s)[0];_[x]=S}else _.techn=s;if(f!==void 0&&f!==null)if(typeof f==="object"){let[x,S]=Object.entries(f)[0];_[x]=S}else _.legendText=f;if(b!==void 0&&b!==null)if(typeof b==="object"){let[x,S]=Object.entries(b)[0];_[x]=S}else _.legendSprite=b},"updateElStyle"),t0=t(function(e,n,a,o,p,l,r){let h=Xt.find((s)=>s.from===n&&s.to===a);if(h===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,f]=Object.entries(o)[0];h[s]=f}else h.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,f]=Object.entries(p)[0];h[s]=f}else h.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,f]=Object.entries(l)[0];h[s]=parseInt(f)}else h.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,f]=Object.entries(r)[0];h[s]=parseInt(f)}else h.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,a){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof a==="object"){let l=Object.values(a)[0];p=parseInt(l)}else p=parseInt(a);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),we=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(we(e))},"getC4ShapeKeys"),Oe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Oe,c0=t(function(){return 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=[Ce()],J="",X="global",Ot=[""],Xt=[],Ot=[""],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=q(e,d())},"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:we,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Oe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},Pe=t(function(e,n){return yr(e,n)},"drawRect"),b0=t((e,n,a,o)=>{let p=e.append("g"),l=0;for(let r of n){let h=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",f=r.offsetX?parseInt(String(r.offsetX)):0,b=r.offsetY?parseInt(String(r.offsetY)):0,_="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,S=a.messageFont();if(jt(a)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+b,x,r.label.height,{fill:h},S),r.techn&&r.techn.text!=="")S=a.messageFont(),jt(a)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+b,Math.max(x,r.techn.width),r.techn.height,{fill:h,"font-style":"italic"},S)}},"drawRels"),m0=t(function(e,n,a){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",h={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)h={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:h};Pe(o,s);let f=a.boundaryFont();if(f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=r,jt(a)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},f),n.type&&n.type.text!=="")f=a.boundaryFont(),f.fontColor=r,jt(a)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},f);if(n.descr&&n.descr.text!=="")f=a.boundaryFont(),f.fontSize=f.fontSize-2,f.fontColor=r,jt(a)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},f)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),jt=function(){function e(p,l,r,h,s,f,b){let _=l.append("text").attr("x",r+s/2).attr("y",h+f/2+5).style("text-anchor","middle").text(p);o(_,b)}t(e,"byText");function n(p,l,r,h,s,f,b,_){let{fontSize:x,fontFamily:S,fontWeight:B}=_,U=p.split(C.lineBreakRegex);for(let V=0;V<U.length;V++){let Y=V*x-x*(U.length-1)/2,H=l.append("text").attr("x",r+s/2).attr("y",h).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",S);H.append("tspan").attr("dy",Y).text(U[V]).attr("alignment-baseline","mathematical"),o(H,b)}}t(n,"byTspan");function a(p,l,r,h,s,f,b,_){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",h).attr("width",s).attr("height",f).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,h,s,f,b,_),o(B,b)}t(a,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?a:p.textPlacement==="old"?e:n}}(),nt={drawRect:Pe,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=g("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:g(o.body),doc:o}}return{root:g("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let a=e.typeC4Shape.text;if(a==="person"||a==="external_person")return"person";if(w0.has(a))return"cylinder";if(R0.has(a))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),De=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(De),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let a=e.typeC4Shape.text,o=e.bgColor??(ve(a)&&n[`${a}_bg_color`]),p=e.borderColor??(ve(a)&&n[`${a}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,a,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let h=P0(e),s=M0(e,n);if(h==="rounded"||h==="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:h,cssClasses:r.join(" "),cssStyles:s,padding:a,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ne=4,ue=2;Jt.yy=ce;var k={},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,a,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,a,o){if(e[n]===void 0)e[n]=a;else e[n]=o(a,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,a=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=a||p>=a||this.nextData.cnt>Ne)o=this.nextData.startx+e.margin+k.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ae(k,e),e?.fontFamily)k.personFontFamily=k.systemFontFamily=k.messageFontFamily=e.fontFamily;if(e?.fontSize)k.personFontSize=k.systemFontSize=k.messageFontSize=e.fontSize;if(e?.fontWeight)k.personFontWeight=k.systemFontWeight=k.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 Pt(e,n,a,o,p){let l=n[e];if(!l.width)if(a)l.text=Xr(l.text,p,o),l.textLines=l.text.split(C.lineBreakRegex).length,l.width=p,l.height=Fi(l.text,o);else{let r=l.text.split(C.lineBreakRegex);l.textLines=r.length;let h=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Dt(s,o),l.width),h=Fi(s,o),l.height=l.height+h}return l}t(Pt,"calcC4ShapeTextWH");var Ie=t(function(e,n,a){let o=a.data.startx,p=a.data.starty;n.x=o,n.y=p,n.width=a.data.stopx-o,n.height=a.data.stopy-p,n.intersect=(s)=>T.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=k.c4ShapeMargin-35;let l=n.wrap&&k.wrap,r=Gt(k);r.fontSize=r.fontSize+2,r.fontWeight="bold";let h=Dt(n.label.text,r);Pt("label",n,l,r,h),nt.drawBoundary(e,n,k)},"drawBoundary"),Me=t(async function(e,n,a,o){let p=d(),l=p.look??"classic",r={config:p},h=n.attr("id")??"",s=o.map((b)=>a[Number(b)]),f=t((b)=>{let _=b.shape?Ui[b.shape]:void 0;if(!_)throw Error(`C4: no shape handler for "${b.shape}"`);return _},"shapeHandlerFor");await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`;let x=await f(_)(n,_,r);b.width=_.width??k.width,b.height=_.height??k.height,b.margin=k.c4ShapeMargin,x.remove()}));for(let b of s)e.insert(b);await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`,_.x=b.x+b.width/2,_.y=b.y+b.height/2;let x=n.append("g").attr("transform",`translate(${b.x+b.width/2}, ${b.y+b.height/2})`);await f(_)(x,_,r),b.intersect=_.intersect})),e.bumpLastMargin(k.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:a,y:o}=e.intersect(n);return new V0(a,o)},"getIntersectPoint"),Y0=t(function(e,n){let a={x:0,y:0};a.x=n.x+n.width/2,a.y=n.y+n.height/2;let o=Ee(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let p=Ee(n,a);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,a,o,p){let l=o.db.getC4Type(),r=0;for(let h of n){r=r+1;let s=h.wrap&&k.wrap,f=B0(k);if(l==="C4Dynamic")h.label.text=r+": "+h.label.text;let b=Dt(h.label.text,f);if(Pt("label",h,s,f,b),h.techn&&h.techn.text!=="")b=Dt(h.techn.text,f),Pt("techn",h,s,f,b);if(h.descr&&h.descr.text!=="")b=Dt(h.descr.text,f),Pt("descr",h,s,f,b);let _=a(h.from),x=a(h.to);if(!_||!x)throw Error(`C4 rel "${h.from}" -> "${h.to}" references an unknown shape or boundary`);let S=Y0(_,x);if(!S.startPoint||!S.endPoint)throw Error(`Could not calculate intersection points for rel "${h.from}" -> "${h.to}"`);h.startPoint=S.startPoint,h.endPoint=S.endPoint}nt.drawRels(e,n,k,p)},"drawRels");async function fe(e,n,a,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=a.data.widthLimit/Math.min(ue,o.length);for(let[h,s]of o.entries()){let f=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=f,f=s.image.Y+s.image.height;let b=s.wrap&&k.wrap,_=Gt(k);_.fontSize=_.fontSize+2,_.fontWeight="bold";let x=Pt("label",s,b,_,r.data.widthLimit);if(x.Y=f+8,f=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(k),Y=Pt("type",s,b,V,r.data.widthLimit);Y.Y=f+5,f=Y.Y+Y.height}if(s.descr&&s.descr.text!==""){let V=Gt(k);V.fontSize=V.fontSize-2;let Y=Pt("descr",s,b,V,r.data.widthLimit);Y.Y=f+20,f=Y.Y+Y.height}if(h==0||h%ue===0){let V=a.data.startx+k.diagramMarginX,Y=a.data.stopy+k.diagramMarginY+f;r.setData(V,V,Y,Y)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+k.diagramMarginX:r.data.startx,Y=r.data.starty;r.setData(V,V,Y,Y)}r.name=s.alias;let S=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,S,B);n=s.alias;let U=l.getBoundaries(n);if(U.length>0)await fe(e,n,r,U,p);if(s.alias!=="global")Ie(e,s,r);a.data.stopy=Math.max(r.data.stopy+k.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+k.c4ShapeMargin,a.data.stopx),zt=Math.max(zt,a.data.stopx),Wt=Math.max(Wt,a.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,a,o){k=Te("c4");let p=d().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(k.wrap),Ne=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),i.debug(`C:${JSON.stringify(k,null,2)}`);let h=l.select(`[id="${n}"]`);nt.insertComputerIcon(h,n),nt.insertDatabaseIcon(h,n),nt.insertClockIcon(h,n);let s=new Le(o);s.setData(k.diagramMarginX,k.diagramMarginX,k.diagramMarginY,k.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=k.diagramMarginX,Wt=k.diagramMarginY;let f=r.getTitle(),b=r.getBoundaries("");await fe(h,"",s,b,o),nt.insertArrowHead(h,n),nt.insertArrowEnd(h,n),nt.insertArrowCrossHead(h,n),nt.insertArrowFilledHead(h,n),F0(h,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let _=s.data,{startx:x,starty:S}=_,U=Wt-S+2*k.diagramMarginY,V=zt-x,Y=V+2*k.diagramMarginX;if(f)h.append("text").text(f).attr("x",V/2-4*k.diagramMarginX).attr("y",S+k.diagramMarginY);W(h,U,Y,k.useMaxWidth);let H=f?60:0;h.attr("viewBox",x-k.diagramMarginX+" -"+(k.diagramMarginY+H)+" "+Y+" "+(U+H)),i.debug("models:",_)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=d().c4??{},n=new CSSStyleSheet;for(let a of De){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${a} .label {}`,n.cssRules.length)],p=e[`${a}FontFamily`],l=e[`${a}FontSize`],r=e[`${a}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((a)=>a.style.length>0).map((a)=>` ${a.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
@@ -0,0 +1 @@
1
+ import{Ia}from"./chunk-fnzyprme.js";export{Ia as createRailroadEbnfServices};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{On,Pr,$n,to}from"./chunk-5nbyvd4t.js";import{Bn}from"./chunk-f9rv8b13.js";import{Un,Ja,sa,kt,ei}from"./chunk-kasv56qe.js";function s(r,n){return r==null||n==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function x(r,n){return r==null||n==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function Ra(r){let n,e,t;if(r.length!==2)n=s,e=(f,c)=>s(r(f),c),t=(f,c)=>r(f)-c;else n=r===s||r===x?r:O,e=r,t=r;function o(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<0)i=l+1;else p=l}while(i<p)}return i}function a(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<=0)i=l+1;else p=l}while(i<p)}return i}function u(f,c,i=0,p=f.length){let l=o(f,c,i,p-1);return l>i&&t(f[l-1],c)>-t(f[l],c)?l-1:l}return{left:o,center:u,right:a}}function O(){return 0}function y(r){return r===null?NaN:+r}var V=Ra(s),{right:T,left:ir}=V,or=Ra(y).center,z=T;var E=Math.sqrt(50),G=Math.sqrt(10),H=Math.sqrt(2);function g(r,n,e){let t=(n-r)/Math.max(0,e),o=Math.floor(Math.log10(t)),a=t/Math.pow(10,o),u=a>=E?10:a>=G?5:a>=H?2:1,f,c,i;if(o<0){if(i=Math.pow(10,-o)/u,f=Math.round(r*i),c=Math.round(n*i),f/i<r)++f;if(c/i>n)--c;i=-i}else{if(i=Math.pow(10,o)*u,f=Math.round(r/i),c=Math.round(n/i),f*i<r)++f;if(c*i>n)--c}if(c<f&&0.5<=e&&e<2)return g(r,n,e*2);return[f,c,i]}function v(r,n,e){if(n=+n,r=+r,e=+e,!(e>0))return[];if(r===n)return[r];let t=n<r,[o,a,u]=t?g(n,r,e):g(r,n,e);if(!(a>=o))return[];let f=a-o+1,c=Array(f);if(t)if(u<0)for(let i=0;i<f;++i)c[i]=(a-i)/-u;else for(let i=0;i<f;++i)c[i]=(a-i)*u;else if(u<0)for(let i=0;i<f;++i)c[i]=(o+i)/-u;else for(let i=0;i<f;++i)c[i]=(o+i)*u;return c}function M(r,n,e){return n=+n,r=+r,e=+e,g(r,n,e)[2]}function Si(r,n,e){n=+n,r=+r,e=+e;let t=n<r,o=t?M(n,r,e):M(r,n,e);return(t?-1:1)*(o<0?1/-o:o)}function N(r,n){if(!n)n=[];var e=r?Math.min(n.length,r.length):0,t=n.slice(),o;return function(a){for(o=0;o<e;++o)t[o]=r[o]*(1-a)+n[o]*a;return t}}function B(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function P(r,n){var e=n?n.length:0,t=r?Math.min(e,r.length):0,o=Array(t),a=Array(e),u;for(u=0;u<t;++u)o[u]=h(r[u],n[u]);for(;u<e;++u)a[u]=n[u];return function(f){for(u=0;u<t;++u)a[u]=o[u](f);return a}}function w(r,n){var e=new Date;return r=+r,n=+n,function(t){return e.setTime(r*(1-t)+n*t),e}}function k(r,n){var e={},t={},o;if(r===null||typeof r!=="object")r={};if(n===null||typeof n!=="object")n={};for(o in n)if(o in r)e[o]=h(r[o],n[o]);else t[o]=n[o];return function(a){for(o in e)t[o]=e[o](a);return t}}function h(r,n){var e=typeof n,t;return n==null||e==="boolean"?Ja(n):(e==="number"?kt:e==="string"?(t=Un(n))?(n=t,sa):ei:n instanceof Un?sa:n instanceof Date?w:B(n)?N:Array.isArray(n)?P:typeof n.valueOf!=="function"&&typeof n.toString!=="function"||isNaN(n)?k:kt)(r,n)}function A(r,n){return r=+r,n=+n,function(e){return Math.round(r*(1-e)+n*e)}}function R(r){return Math.max(0,-On(Math.abs(r)))}function S(r,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(On(n)/3)))*3-On(Math.abs(r)))}function j(r,n){return r=Math.abs(r),n=Math.abs(n)-r,Math.max(0,On(n)-On(r))+1}function F(r){return function(){return r}}function q(r){return+r}var C=[0,1];function d(r){return r}function D(r,n){return(n-=r=+r)?function(e){return(e-r)/n}:F(isNaN(n)?NaN:0.5)}function J(r,n){var e;if(r>n)e=r,r=n,n=e;return function(t){return Math.max(r,Math.min(n,t))}}function K(r,n,e){var t=r[0],o=r[1],a=n[0],u=n[1];if(o<t)t=D(o,t),a=e(u,a);else t=D(t,o),a=e(a,u);return function(f){return a(t(f))}}function Q(r,n,e){var t=Math.min(r.length,n.length)-1,o=Array(t),a=Array(t),u=-1;if(r[t]<r[0])r=r.slice().reverse(),n=n.slice().reverse();while(++u<t)o[u]=D(r[u],r[u+1]),a[u]=e(n[u],n[u+1]);return function(f){var c=z(r,f,1,t)-1;return a[c](o[c](f))}}function eo(r,n){return n.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())}function U(){var r=C,n=C,e=h,t,o,a,u=d,f,c,i;function p(){var m=Math.min(r.length,n.length);if(u!==d)u=J(r[0],r[m-1]);return f=m>2?Q:K,c=i=null,l}function l(m){return m==null||isNaN(m=+m)?a:(c||(c=f(r.map(t),n,e)))(t(u(m)))}return l.invert=function(m){return u(o((i||(i=f(n,r.map(t),kt)))(m)))},l.domain=function(m){return arguments.length?(r=Array.from(m,q),p()):r.slice()},l.range=function(m){return arguments.length?(n=Array.from(m),p()):n.slice()},l.rangeRound=function(m){return n=Array.from(m),e=A,p()},l.clamp=function(m){return arguments.length?(u=m?!0:d,p()):u!==d},l.interpolate=function(m){return arguments.length?(e=m,p()):e},l.unknown=function(m){return arguments.length?(a=m,l):a},function(m,L){return t=m,o=L,p()}}function Ai(){return U()(d,d)}function I(r,n,e,t){var o=Si(r,n,e),a;switch(t=Pr(t==null?",f":t),t.type){case"s":{var u=Math.max(Math.abs(r),Math.abs(n));if(t.precision==null&&!isNaN(a=S(o,u)))t.precision=a;return to(t,u)}case"":case"e":case"g":case"p":case"r":{if(t.precision==null&&!isNaN(a=j(o,Math.max(Math.abs(r),Math.abs(n)))))t.precision=a-(t.type==="e");break}case"f":case"%":{if(t.precision==null&&!isNaN(a=R(o)))t.precision=a-(t.type==="%")*2;break}}return $n(t)}function W(r){var n=r.domain;return r.ticks=function(e){var t=n();return v(t[0],t[t.length-1],e==null?10:e)},r.tickFormat=function(e,t){var o=n();return I(o[0],o[o.length-1],e==null?10:e,t)},r.nice=function(e){if(e==null)e=10;var t=n(),o=0,a=t.length-1,u=t[o],f=t[a],c,i,p=10;if(f<u)i=u,u=f,f=i,i=o,o=a,a=i;while(p-- >0){if(i=M(u,f,e),i===c)return t[o]=u,t[a]=f,n(t);else if(i>0)u=Math.floor(u/i)*i,f=Math.ceil(f/i)*i;else if(i<0)u=Math.ceil(u*i)/i,f=Math.floor(f*i)/i;else break;c=i}return r},r}function _n(){var r=Ai();return r.copy=function(){return eo(r,_n())},Bn.apply(r,arguments),W(r)}
2
+ export{Ra,Si,eo,Ai,_n};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{t,i,W,J}from"./chunk-kasv56qe.js";import{fe}from"./chunk-fnzyprme.js";var n={parse:t(async(r)=>{let e=await fe("info",r);i.debug(e)},"parse")},s={version:"12.2.0"},p=t(()=>s.version,"getVersion"),g={getVersion:p},m=t((r,e,o)=>{i.debug(`rendering info diagram
2
+ `+r);let a=J(e);W(a,100,400,!0),a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),v={draw:m},y={parser:n,db:g,renderer:v};export{y as diagram};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{v,s,a,e,n,b,ye}from"./chunk-9rf2smk2.js";import{Qi}from"./chunk-70kws32b.js";function Zn(t){let{Button:i,SettingActions:l,cn:d}=b();return n(l,{children:[t.notice&&n("span",{role:t.notice.type==="error"?"alert":"status",className:d("mr-auto flex min-w-0 items-center gap-1.5 text-xs",t.notice.type==="success"?"text-success":"text-danger"),children:[t.notice.type==="success"?e(Qi,{className:"size-3.5 shrink-0"}):e(ye,{className:"size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:t.notice.text})]}),t.dirty&&e(i,{type:"button",variant:"ghost",size:"sm",disabled:t.busy,onClick:t.onReset,children:"撤销更改"}),e(i,{form:t.formID,type:"submit",variant:"primary",size:"sm",disabled:t.busy||!t.dirty,children:t.saving?"保存中…":"保存"})]})}function ra(t){let{connection:i,endpoint:l,loadError:d}=t,[g,y]=a(null),[c,f]=a(null),[N,P]=a({models:[]}),[S,p]=a(!0),[M,T]=a(!1),[h,x]=a(!1),[k,r]=a(null),m=v(async(u=!1)=>{if(u)T(!0);else p(!0);r(null);try{let[o,C]=await Promise.all([i.request(l),i.request("/api/models")]);y(o),f(o),P(C)}catch(o){r({type:"error",text:o instanceof Error?o.message:d})}finally{p(!1),T(!1)}},[i,l,d]);s(()=>{m()},[m]);let w=c&&g?t.differs(c,g):!1;return{settings:c,modelList:N,loading:S,refreshing:M,saving:h,notice:k,dirty:w,load:m,save:async(u)=>{if(u?.preventDefault(),!c||h||S)return;x(!0),r(null);try{let o=await i.request(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.toBody(c))});y(o),f(o),r({type:"success",text:"设置已保存"})}catch(o){r({type:"error",text:o instanceof Error?o.message:"保存设置失败"})}finally{x(!1)}},reset:()=>{f(g),r(null)},edit:(u)=>{f((o)=>o?u(o):null),r(null)}}}
2
+ export{Zn,ra};
Binary file
Binary file
@@ -0,0 +1,24 @@
1
+ import{ie}from"./chunk-e54b48p5.js";import{t,i,Qe,F,A,W,N,M,P,R,I,O,D,g,J,$i,L,Z}from"./chunk-kasv56qe.js";import{$n}from"./chunk-5nbyvd4t.js";import{fe}from"./chunk-fnzyprme.js";import{Vt}from"./chunk-4k4c2se1.js";import{Pe}from"./chunk-kmhbkjqx.js";function Xe(e){var r=0,n=e.children,l=n&&n.length;if(!l)r=1;else while(--l>=0)r+=n[l].value;e.value=r}function me(){return this.eachAfter(Xe)}function ge(e,r){let n=-1;for(let l of this)e.call(r,l,++n,this);return this}function ye(e,r){var n=this,l=[n],o,p,u=-1;while(n=l.pop())if(e.call(r,n,++u,this),o=n.children)for(p=o.length-1;p>=0;--p)l.push(o[p]);return this}function xe(e,r){var n=this,l=[n],o=[],p,u,f,S=-1;while(n=l.pop())if(o.push(n),p=n.children)for(u=0,f=p.length;u<f;++u)l.push(p[u]);while(n=o.pop())e.call(r,n,++S,this);return this}function Se(e,r){let n=-1;for(let l of this)if(e.call(r,l,++n,this))return l}function ve(e){return this.eachAfter(function(r){var n=+e(r.data)||0,l=r.children,o=l&&l.length;while(--o>=0)n+=l[o].value;r.value=n})}function be(e){return this.eachBefore(function(r){if(r.children)r.children.sort(e)})}function we(e){var r=this,n=Ye(r,e),l=[r];while(r!==n)r=r.parent,l.push(r);var o=l.length;while(e!==n)l.splice(o,0,e),e=e.parent;return l}function Ye(e,r){if(e===r)return e;var n=e.ancestors(),l=r.ancestors(),o=null;e=n.pop(),r=l.pop();while(e===r)o=e,e=n.pop(),r=l.pop();return o}function Ce(){var e=this,r=[e];while(e=e.parent)r.push(e);return r}function Te(){return Array.from(this)}function Le(){var e=[];return this.eachBefore(function(r){if(!r.children)e.push(r)}),e}function $e(){var e=this,r=[];return e.each(function(n){if(n!==e)r.push({source:n.parent,target:n})}),r}function*Ae(){var e=this,r,n=[e],l,o,p;do{r=n.reverse(),n=[];while(e=r.pop())if(yield e,l=e.children)for(o=0,p=l.length;o<p;++o)n.push(l[o])}while(n.length)}function te(e,r){if(e instanceof Map){if(e=[void 0,e],r===void 0)r=Ue}else if(r===void 0)r=Ze;var n=new oe(e),l,o=[n],p,u,f,S;while(l=o.pop())if((u=r(l.data))&&(S=(u=Array.from(u)).length)){l.children=u;for(f=S-1;f>=0;--f)o.push(p=u[f]=new oe(u[f])),p.parent=l,p.depth=l.depth+1}return n.eachBefore(Ke)}function je(){return te(this).eachBefore(Je)}function Ze(e){return e.children}function Ue(e){return Array.isArray(e)?e[1]:null}function Je(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function Ke(e){var r=0;do e.height=r;while((e=e.parent)&&e.height<++r)}function oe(e){this.data=e,this.depth=this.height=0,this.parent=null}oe.prototype=te.prototype={constructor:oe,count:me,each:ge,eachAfter:xe,eachBefore:ye,find:Se,sum:ve,sort:be,path:we,ancestors:Ce,descendants:Te,leaves:Le,links:$e,copy:je,[Symbol.iterator]:Ae};function Ve(e){if(typeof e!=="function")throw Error();return e}function ae(){return 0}function U(e){return function(){return e}}function Fe(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Ne(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(l-r)/e.value;while(++f<S)u=p[f],u.y0=n,u.y1=o,u.x0=r,u.x1=r+=u.value*d}function ke(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(o-n)/e.value;while(++f<S)u=p[f],u.x0=r,u.x1=l,u.y0=n,u.y1=n+=u.value*d}var et=(1+Math.sqrt(5))/2;function tt(e,r,n,l,o,p){var u=[],f=r.children,S,d,h=0,T=0,s=f.length,C,b,w=r.value,m,v,q,E,K,ne,G;while(h<s){C=o-n,b=p-l;do m=f[T++].value;while(!m&&T<s);v=q=m,ne=Math.max(b/C,C/b)/(w*e),G=m*m*ne,K=Math.max(q/G,G/v);for(;T<s;++T){if(m+=d=f[T].value,d<v)v=d;if(d>q)q=d;if(G=m*m*ne,E=Math.max(q/G,G/v),E>K){m-=d;break}K=E}if(u.push(S={value:m,dice:C<b,children:f.slice(h,T)}),S.dice)Ne(S,n,l,o,w?l+=b*m/w:p);else ke(S,n,l,w?n+=C*m/w:o,p);w-=m,h=T}return u}var Be=function e(r){function n(l,o,p,u,f){tt(r,l,o,p,u,f)}return n.ratio=function(l){return e((l=+l)>1?l:1)},n}(et);function de(){var e=Be,r=!1,n=1,l=1,o=[0],p=ae,u=ae,f=ae,S=ae,d=ae;function h(s){if(s.x0=s.y0=0,s.x1=n,s.y1=l,s.eachBefore(T),o=[0],r)s.eachBefore(Fe);return s}function T(s){var C=o[s.depth],b=s.x0+C,w=s.y0+C,m=s.x1-C,v=s.y1-C;if(m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;if(s.x0=b,s.y0=w,s.x1=m,s.y1=v,s.children){if(C=o[s.depth+1]=p(s)/2,b+=d(s)-C,w+=u(s)-C,m-=f(s)-C,v-=S(s)-C,m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;e(s,b,w,m,v)}}return h.round=function(s){return arguments.length?(r=!!s,h):r},h.size=function(s){return arguments.length?(n=+s[0],l=+s[1],h):[n,l]},h.tile=function(s){return arguments.length?(e=Ve(s),h):e},h.padding=function(s){return arguments.length?h.paddingInner(s).paddingOuter(s):h.paddingInner()},h.paddingInner=function(s){return arguments.length?(p=typeof s==="function"?s:U(+s),h):p},h.paddingOuter=function(s){return arguments.length?h.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s):h.paddingTop()},h.paddingTop=function(s){return arguments.length?(u=typeof s==="function"?s:U(+s),h):u},h.paddingRight=function(s){return arguments.length?(f=typeof s==="function"?s:U(+s),h):f},h.paddingBottom=function(s){return arguments.length?(S=typeof s==="function"?s:U(+s),h):S},h.paddingLeft=function(s){return arguments.length?(d=typeof s==="function"?s:U(+s),h):d},h}var Ee=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=F,r=A();return Z({...e.treemap,...r.treemap??{}})}addNode(e,r){if(this.nodes.push(e),this.levels.set(e,r),r===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},l=r.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(l)l.forEach((o)=>{if($i(o))if(n?.textStyles)n.textStyles.push(o);else n.textStyles=[o];if(n?.styles)n.styles.push(o);else n.styles=[o]});this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){N(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function Re(e){if(!e.length)return[];let r=[],n=[];return e.forEach((l)=>{let o={name:l.name,children:l.type==="Leaf"?void 0:[]};if(o.classSelector=l?.classSelector,l?.cssCompiledStyles)o.cssCompiledStyles=l.cssCompiledStyles;if(l.type==="Leaf"&&l.value!==void 0)o.value=l.value;while(n.length>0&&n[n.length-1].level>=l.level)n.pop();if(n.length===0)r.push(o);else{let p=n[n.length-1].node;if(p.children)p.children.push(o);else p.children=[o]}if(l.type!=="Leaf")n.push({node:o,level:l.level})}),r}t(Re,"buildHierarchy");var at=t((e,r)=>{ie(e,r);let n=[];for(let p of e.TreemapRows??[])if(p.$type==="ClassDefStatement")r.addClass(p.className??"",p.styleText??"");for(let p of e.TreemapRows??[]){let u=p.item;if(!u)continue;let f=p.indent?parseInt(p.indent):0,S=rt(u),d=u.classSelector?r.getStylesForClass(u.classSelector):[],h=d.length>0?d:void 0,T={level:f,name:S,type:u.$type,value:u.value,classSelector:u.classSelector,cssCompiledStyles:h};n.push(T)}let l=Re(n),o=t((p,u)=>{for(let f of p)if(r.addNode(f,u),f.children&&f.children.length>0)o(f.children,u+1)},"addNodesRecursively");o(l,0)},"populate"),rt=t((e)=>e.name?String(e.name):"","getItemName"),We={parser:{yy:void 0},parse:t(async(e)=>{try{let n=await fe("treemap",e);i.debug("Treemap AST:",n);let l=We.parser?.yy;if(!(l instanceof Ee))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");at(n,l)}catch(r){throw i.error("Error parsing treemap:",r),r}},"parse")},nt=10,re=10,se=25,lt=t((e,r,n,l)=>{let o=l.db,p=o.getConfig(),u=p.padding??nt,f=o.getDiagramTitle(),S=o.getRoot(),{themeVariables:d}=A();if(!S)return;let h=f?30:0,T=J(r),s=p.nodeWidth?p.nodeWidth*re:960,C=p.nodeHeight?p.nodeHeight*re:500,b=s,w=C+h;T.attr("viewBox",`0 0 ${b} ${w}`),W(T,w,b,p.useMaxWidth);let m;try{let a=p.valueFormat||",";if(a==="$0,0")m=t((c)=>"$"+$n(",")(c),"valueFormat");else if(a.startsWith("$")&&a.includes(",")){let c=/\.\d+/.exec(a),y=c?c[0]:"";m=t((k)=>"$"+$n(","+y)(k),"valueFormat")}else if(a.startsWith("$")){let c=a.substring(1);m=t((y)=>"$"+$n(c||"")(y),"valueFormat")}else m=$n(a)}catch(a){i.error("Error creating format function:",a),m=$n(",")}let v=Vt().range(["transparent",d.cScale0,d.cScale1,d.cScale2,d.cScale3,d.cScale4,d.cScale5,d.cScale6,d.cScale7,d.cScale8,d.cScale9,d.cScale10,d.cScale11]),q=Vt().range(["transparent",d.cScalePeer0,d.cScalePeer1,d.cScalePeer2,d.cScalePeer3,d.cScalePeer4,d.cScalePeer5,d.cScalePeer6,d.cScalePeer7,d.cScalePeer8,d.cScalePeer9,d.cScalePeer10,d.cScalePeer11]),E=Vt().range([d.cScaleLabel0,d.cScaleLabel1,d.cScaleLabel2,d.cScaleLabel3,d.cScaleLabel4,d.cScaleLabel5,d.cScaleLabel6,d.cScaleLabel7,d.cScaleLabel8,d.cScaleLabel9,d.cScaleLabel10,d.cScaleLabel11]);if(f)T.append("text").attr("x",b/2).attr("y",h/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(f);let K=T.append("g").attr("transform",`translate(0, ${h})`).attr("class","treemapContainer"),ne=te(S).sum((a)=>a.value??0).sort((a,c)=>(c.value??0)-(a.value??0)),Me=de().size([s,C]).paddingTop((a)=>a.children&&a.children.length>0?se+re:0).paddingInner(u).paddingLeft((a)=>a.children&&a.children.length>0?re:0).paddingRight((a)=>a.children&&a.children.length>0?re:0).paddingBottom((a)=>a.children&&a.children.length>0?re:0).round(!0)(ne),He=Me.descendants().filter((a)=>a.children&&a.children.length>0),le=K.selectAll(".treemapSection").data(He).enter().append("g").attr("class","treemapSection").attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(le.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",se).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(a)=>{if(a.depth===0)return"display: none;";return""}),le.append("clipPath").attr("id",(a,c)=>`clip-section-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-12)).attr("height",se),le.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class",(a,c)=>`treemapSection section${c}`).attr("fill",(a)=>v(a.data.name)).attr("fill-opacity",0.6).attr("stroke",(a)=>q(a.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c=L({cssCompiledStyles:a.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),le.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",se/2).attr("dominant-baseline","middle").text((a)=>a.depth===0?"":a.data.name).attr("font-weight","bold").attr("clip-path",(a,c)=>`url(#clip-section-${r}-${c})`).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+E(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=L({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(a){if(a.depth===0)return;let c=g(this),y=a.data.name;c.text(y);let k=a.x1-a.x0,z=6,_;if(p.showValues!==!1&&a.value){let B=k-10,j=30,qe=10;_=B-30-10-z}else _=k-z-6;let x=Math.max(15,_),Y=c.node();if(Y.getComputedTextLength()>x){let j=y;while(j.length>0){if(j=y.substring(0,j.length-1),j.length===0){if(c.text("..."),Y.getComputedTextLength()>x)c.text("");break}if(c.text(j+"..."),Y.getComputedTextLength()<=x)break}}}),p.showValues!==!1)le.append("text").attr("class","treemapSectionValue").attr("x",(a)=>a.x1-a.x0-10).attr("y",se/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((a)=>a.value?m(a.value):"").attr("font-style","italic").attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+E(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=L({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let _e=Me.leaves(),H=_e.length>20,Ie=H?16:38,ce=H?14:28,Q=H?4:8,ee=H?4:6,ue=H?2:4,ze=H?8:10,he=H?1:2,pe=K.selectAll(".treemapLeafGroup").data(_e).enter().append("g").attr("class",(a,c)=>`treemapNode treemapLeafGroup leaf${c}${a.data.classSelector?` ${a.data.classSelector}`:""}x`).attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(pe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class","treemapLeaf").attr("fill",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("style",(a)=>L({cssCompiledStyles:a.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("stroke-width",3),pe.append("clipPath").attr("id",(a,c)=>`clip-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-4)).attr("height",(a)=>Math.max(0,a.y1-a.y0-4)),pe.append("text").attr("class","treemapLabel").attr("x",(a)=>(a.x1-a.x0)/2).attr("y",(a)=>(a.y1-a.y0)/2).attr("style",(a)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Ie}px;fill:`+E(a.data.name)+";",y=L({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(a,c)=>`url(#clip-${r}-${c})`).text((a)=>a.data.name).each(function(a){let c=g(this),y=a.x1-a.x0,k=a.y1-a.y0,z=c.node(),_=y-2*ue,X=k-2*ue;if(_<ze||X<ze){c.style("display","none");return}let x=parseInt(c.style("font-size"),10),Y=0.6;while(z.getComputedTextLength()>_&&x>Q)x--,c.style("font-size",`${x}px`);let V=Math.max(ee,Math.min(ce,Math.round(x*Y))),B=x+he+V;while(B>X&&x>Q){if(x--,V=Math.max(ee,Math.min(ce,Math.round(x*Y))),V<ee&&x===Q)break;if(c.style("font-size",`${x}px`),B=x+he+V,V<=ee&&B>X);}if(c.style("font-size",`${x}px`),H){if(x<Q||X<Q)c.style("display","none")}else if(z.getComputedTextLength()>_||x<Q||X<x)c.style("display","none")}),p.showValues!==!1)pe.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${ce}px;fill:`+E(c.data.name)+";",k=L({cssCompiledStyles:c.data.cssCompiledStyles});return y+k.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${r}-${y})`).text((c)=>c.value?m(c.value):"").each(function(c){let y=g(this),k=this.parentNode;if(!k){y.style("display","none");return}let z=g(k).select(".treemapLabel");if(z.empty()||z.style("display")==="none"){y.style("display","none");return}let _=parseFloat(z.style("font-size")),x=Math.max(ee,Math.min(ce,Math.round(_*0.6)));y.style("font-size",`${x}px`);let V=(c.y1-c.y0)/2+_/2+he;y.attr("y",V);let B=c.x1-c.x0,De=c.y1-c.y0-4,Ge=B-2*ue;if(y.node().getComputedTextLength()>Ge||V+x>De||x<ee)y.style("display","none");else y.style("display",null)});let Oe=p.diagramPadding??8;Pe(T,Oe,"flowchart",p?.useMaxWidth||!1)},"draw"),ot=t(function(e,r){return r.db.getClasses()},"getClasses"),st={draw:lt,getClasses:ot},it={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ct=t(({treemap:e}={})=>{let r=Qe(),n=A(),l=Z(r,n.themeVariables),o=Z(it,e),p=o.titleColor??l.titleColor,u=o.labelColor??l.textColor,f=o.valueColor??l.textColor;return`
2
+ .treemapNode.section {
3
+ stroke: ${o.sectionStrokeColor};
4
+ stroke-width: ${o.sectionStrokeWidth};
5
+ fill: ${o.sectionFillColor};
6
+ }
7
+ .treemapNode.leaf {
8
+ stroke: ${o.leafStrokeColor};
9
+ stroke-width: ${o.leafStrokeWidth};
10
+ fill: ${o.leafFillColor};
11
+ }
12
+ .treemapLabel {
13
+ fill: ${u};
14
+ font-size: ${o.labelFontSize};
15
+ }
16
+ .treemapValue {
17
+ fill: ${f};
18
+ font-size: ${o.valueFontSize};
19
+ }
20
+ .treemapTitle {
21
+ fill: ${p};
22
+ font-size: ${o.titleFontSize};
23
+ }
24
+ `},"getStyles"),pt=ct,ua={parser:We,get db(){return new Ee},renderer:st,styles:pt};export{ua as diagram};
Binary file
Binary file