@bkm016/basalt 0.1.17 → 0.1.19

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 (907) hide show
  1. package/README.md +1 -1
  2. package/chunk-0b2brwjc.js +3 -0
  3. package/chunk-13pbt8mn.js +2 -0
  4. package/chunk-14085qqt.js +8 -0
  5. package/chunk-2dph65ye.js +3 -0
  6. package/chunk-2v8anxgd.js +9 -0
  7. package/chunk-37f4ks5f.js +3 -0
  8. package/chunk-3q1hxwxb.js +5 -0
  9. package/chunk-3qs33s9g.js +2 -0
  10. package/chunk-53m94h0b.js +7 -0
  11. package/chunk-5jy2cnyr.js +18 -0
  12. package/chunk-5wfyn3k0.js +3 -0
  13. package/chunk-69v706tc.js +5 -0
  14. package/chunk-79h4rzza.js +2 -0
  15. package/chunk-7xfde6se.js +3 -0
  16. package/chunk-8bf4g2d7.js +3 -0
  17. package/chunk-adq8c7vt.js +25 -0
  18. package/chunk-ahpg469e.js +3 -0
  19. package/chunk-ary9gky8.js +7 -0
  20. package/chunk-becsymjn.js +2 -0
  21. package/chunk-beqps81c.js +4 -0
  22. package/chunk-bnvynyww.js +3 -0
  23. package/chunk-c785tr0e.js +4078 -0
  24. package/chunk-cc19pbgm.js +12 -0
  25. package/chunk-d6g5m56z.js +2 -0
  26. package/chunk-e2m8ap8f.js +3 -0
  27. package/chunk-etkktxdc.js +2 -0
  28. package/chunk-etxsj2ey.js +10 -0
  29. package/chunk-f2ajxymw.js +2 -0
  30. package/chunk-f2bcfa6z.js +7 -0
  31. package/chunk-f47qdrkp.js +2 -0
  32. package/chunk-f5yg6yd0.js +3 -0
  33. package/chunk-fj56fznw.js +3 -0
  34. package/chunk-fjk9ztjc.js +11 -0
  35. package/chunk-g99n5ywc.js +3 -0
  36. package/chunk-grwavjp7.js +2 -0
  37. package/chunk-gsek3gpd.js +3 -0
  38. package/chunk-gv9hbv9j.js +2 -0
  39. package/chunk-h045t6f1.js +2 -0
  40. package/chunk-h4g1tzk6.js +11 -0
  41. package/chunk-had2k7b9.js +20 -0
  42. package/chunk-hbm45044.js +25 -0
  43. package/chunk-hd2hars5.js +3 -0
  44. package/chunk-hfh230tm.js +2 -0
  45. package/chunk-hkx7d1j9.js +7 -0
  46. package/chunk-jbk2tmza.js +5 -0
  47. package/chunk-jv9sy0np.js +2 -0
  48. package/chunk-kdc8tq70.js +2 -0
  49. package/chunk-keq5kv9b.js +3 -0
  50. package/chunk-m1nevdw6.js +3 -0
  51. package/chunk-m6yrpt1f.js +5 -0
  52. package/chunk-mrchbvsy.js +4 -0
  53. package/chunk-n9x6akk3.js +2 -0
  54. package/chunk-ne94brn4.js +3 -0
  55. package/chunk-nv1jg79d.js +2 -0
  56. package/chunk-pvdt969t.js +59 -0
  57. package/chunk-q22dnah8.js +3 -0
  58. package/chunk-q2zayphb.js +10 -0
  59. package/chunk-q4h6djtp.js +2 -0
  60. package/chunk-qa8mne61.js +2 -0
  61. package/chunk-r9z9m75h.js +16 -0
  62. package/chunk-rmyzxqkd.js +467 -0
  63. package/chunk-rq647zmf.js +2 -0
  64. package/chunk-sj4jvm9p.js +2 -0
  65. package/chunk-sq0ra5m8.js +4 -0
  66. package/chunk-sxg03n4v.js +2 -0
  67. package/chunk-t0m1wjrn.js +3 -0
  68. package/chunk-t3mq64c8.js +3 -0
  69. package/chunk-td52edcm.js +31 -0
  70. package/chunk-tdnwaaw4.js +12 -0
  71. package/chunk-teky87xx.js +3 -0
  72. package/chunk-v1avwm7q.js +3 -0
  73. package/chunk-wcmk8ee3.js +3 -0
  74. package/chunk-wf9r0frb.js +3 -0
  75. package/chunk-wx697mre.js +2 -0
  76. package/chunk-wzz64ygm.js +2 -0
  77. package/chunk-xb9mwt5a.js +2 -0
  78. package/chunk-xbkbaa84.js +2 -0
  79. package/chunk-xjy31n64.js +3 -0
  80. package/chunk-xzn34n38.js +389 -0
  81. package/chunk-yprp5s5v.js +3 -0
  82. package/chunk-yyhdabhq.js +15 -0
  83. package/chunk-z2jp61ze.js +39 -0
  84. package/chunk-zt5szcek.js +3 -0
  85. package/chunk-zxb6cg3m.js +2 -0
  86. package/compiled.js +11 -11
  87. package/package.json +1 -1
  88. package/ui-test-worker.js +40 -40
  89. package/web/chunk-0ays2hhj.js +41 -0
  90. package/web/chunk-0ays2hhj.js.br +0 -0
  91. package/web/chunk-0ays2hhj.js.gz +0 -0
  92. package/web/chunk-0na4c1bp.js +139 -0
  93. package/web/chunk-0na4c1bp.js.br +0 -0
  94. package/web/chunk-0na4c1bp.js.gz +0 -0
  95. package/web/chunk-0y0p0ct0.js +1 -0
  96. package/web/chunk-0y0p0ct0.js.br +0 -0
  97. package/web/chunk-0y0p0ct0.js.gz +0 -0
  98. package/web/chunk-191v8amv.js +1 -0
  99. package/web/chunk-191v8amv.js.br +0 -0
  100. package/web/chunk-191v8amv.js.gz +0 -0
  101. package/web/chunk-1c6rhsft.js +200 -0
  102. package/web/chunk-1c6rhsft.js.br +0 -0
  103. package/web/chunk-1c6rhsft.js.gz +0 -0
  104. package/web/chunk-1mwkrh5f.js +370 -0
  105. package/web/chunk-1mwkrh5f.js.br +0 -0
  106. package/web/chunk-1mwkrh5f.js.gz +0 -0
  107. package/web/chunk-1q4r17he.js +2 -0
  108. package/web/chunk-1q4r17he.js.br +0 -0
  109. package/web/chunk-1q4r17he.js.gz +0 -0
  110. package/web/chunk-1sm3c8an.js +8 -0
  111. package/web/chunk-1sm3c8an.js.br +0 -0
  112. package/web/chunk-1sm3c8an.js.gz +0 -0
  113. package/web/chunk-1vmjpvy5.js +1 -0
  114. package/web/chunk-1vmjpvy5.js.br +0 -0
  115. package/web/chunk-1vmjpvy5.js.gz +0 -0
  116. package/web/chunk-1x4z5w5e.js +1 -0
  117. package/web/chunk-1x4z5w5e.js.br +2 -0
  118. package/web/chunk-1x4z5w5e.js.gz +0 -0
  119. package/web/chunk-22ncha3b.js +142 -0
  120. package/web/chunk-22ncha3b.js.br +0 -0
  121. package/web/chunk-22ncha3b.js.gz +0 -0
  122. package/web/chunk-239rqgmj.js +24 -0
  123. package/web/chunk-239rqgmj.js.br +0 -0
  124. package/web/chunk-239rqgmj.js.gz +0 -0
  125. package/web/chunk-2c6zessc.js +2 -0
  126. package/web/chunk-2c6zessc.js.br +0 -0
  127. package/web/chunk-2c6zessc.js.gz +0 -0
  128. package/web/chunk-2m7b1wmp.js +1 -0
  129. package/web/chunk-2m7b1wmp.js.br +0 -0
  130. package/web/chunk-2m7b1wmp.js.gz +0 -0
  131. package/web/chunk-2qncw4c0.js +2 -0
  132. package/web/chunk-2qncw4c0.js.br +0 -0
  133. package/web/chunk-2qncw4c0.js.gz +0 -0
  134. package/web/chunk-2r497559.js +2 -0
  135. package/web/chunk-2r497559.js.br +0 -0
  136. package/web/chunk-2r497559.js.gz +0 -0
  137. package/web/chunk-2t43cra8.js +1 -0
  138. package/web/chunk-2t43cra8.js.br +0 -0
  139. package/web/chunk-2t43cra8.js.gz +0 -0
  140. package/web/chunk-2v379e1v.js +1 -0
  141. package/web/chunk-2v379e1v.js.br +2 -0
  142. package/web/chunk-2v379e1v.js.gz +0 -0
  143. package/web/chunk-2ywd0vz2.js +1 -0
  144. package/web/chunk-2ywd0vz2.js.br +0 -0
  145. package/web/chunk-2ywd0vz2.js.gz +0 -0
  146. package/web/chunk-3626tdgf.js +1 -0
  147. package/web/chunk-3626tdgf.js.br +0 -0
  148. package/web/chunk-3626tdgf.js.gz +0 -0
  149. package/web/chunk-3fq54zbf.js +2 -0
  150. package/web/chunk-3fq54zbf.js.br +0 -0
  151. package/web/chunk-3fq54zbf.js.gz +0 -0
  152. package/web/chunk-3jptvn0z.js +1 -0
  153. package/web/chunk-3jptvn0z.js.br +0 -0
  154. package/web/chunk-3jptvn0z.js.gz +0 -0
  155. package/web/chunk-3k31m9yk.js +7 -0
  156. package/web/chunk-3k31m9yk.js.br +0 -0
  157. package/web/chunk-3k31m9yk.js.gz +0 -0
  158. package/web/chunk-3wrebqcz.js +1 -0
  159. package/web/chunk-3wrebqcz.js.br +0 -0
  160. package/web/chunk-3wrebqcz.js.gz +0 -0
  161. package/web/chunk-42z866aa.js +1 -0
  162. package/web/chunk-42z866aa.js.br +0 -0
  163. package/web/chunk-42z866aa.js.gz +0 -0
  164. package/web/chunk-46r5s1ag.js +1 -0
  165. package/web/chunk-46r5s1ag.js.br +2 -0
  166. package/web/chunk-46r5s1ag.js.gz +0 -0
  167. package/web/chunk-4h8kxmac.js +1 -0
  168. package/web/chunk-4h8kxmac.js.br +2 -0
  169. package/web/chunk-4h8kxmac.js.gz +0 -0
  170. package/web/chunk-4hmp8qcv.js +1 -0
  171. package/web/chunk-4hmp8qcv.js.br +0 -0
  172. package/web/chunk-4hmp8qcv.js.gz +0 -0
  173. package/web/chunk-4ryyn6k5.js +1 -0
  174. package/web/chunk-4ryyn6k5.js.br +0 -0
  175. package/web/chunk-4ryyn6k5.js.gz +0 -0
  176. package/web/chunk-4zp7b44y.js +78 -0
  177. package/web/chunk-4zp7b44y.js.br +0 -0
  178. package/web/chunk-4zp7b44y.js.gz +0 -0
  179. package/web/chunk-52n1enqe.js +1 -0
  180. package/web/chunk-52n1enqe.js.br +0 -0
  181. package/web/chunk-52n1enqe.js.gz +0 -0
  182. package/web/chunk-5m5jve5q.js +2 -0
  183. package/web/chunk-5m5jve5q.js.br +0 -0
  184. package/web/chunk-5m5jve5q.js.gz +0 -0
  185. package/web/chunk-62ssrwet.js +1 -0
  186. package/web/chunk-62ssrwet.js.br +0 -0
  187. package/web/chunk-62ssrwet.js.gz +0 -0
  188. package/web/chunk-6e14fdx8.js +1 -0
  189. package/web/chunk-6e14fdx8.js.br +0 -0
  190. package/web/chunk-6e14fdx8.js.gz +0 -0
  191. package/web/chunk-6kckk3j9.js +1 -0
  192. package/web/chunk-6kckk3j9.js.br +2 -0
  193. package/web/chunk-6kckk3j9.js.gz +0 -0
  194. package/web/chunk-6vdh5wx5.js +1 -0
  195. package/web/chunk-6vdh5wx5.js.br +0 -0
  196. package/web/chunk-6vdh5wx5.js.gz +0 -0
  197. package/web/chunk-6wyrfrh1.js +1 -0
  198. package/web/chunk-6wyrfrh1.js.br +0 -0
  199. package/web/chunk-6wyrfrh1.js.gz +0 -0
  200. package/web/chunk-77pcpdb5.js +303 -0
  201. package/web/chunk-77pcpdb5.js.br +0 -0
  202. package/web/chunk-77pcpdb5.js.gz +0 -0
  203. package/web/chunk-7dq3x88k.js +120 -0
  204. package/web/chunk-7dq3x88k.js.br +0 -0
  205. package/web/chunk-7dq3x88k.js.gz +0 -0
  206. package/web/chunk-7ebwmmjn.js +34 -0
  207. package/web/chunk-7ebwmmjn.js.br +0 -0
  208. package/web/chunk-7ebwmmjn.js.gz +0 -0
  209. package/web/chunk-7jra5kj0.js +1 -0
  210. package/web/chunk-7jra5kj0.js.br +0 -0
  211. package/web/chunk-7jra5kj0.js.gz +0 -0
  212. package/web/chunk-8dgtprxa.js +2 -0
  213. package/web/chunk-8dgtprxa.js.br +0 -0
  214. package/web/chunk-8dgtprxa.js.gz +0 -0
  215. package/web/chunk-8mrw5mgn.js +1 -0
  216. package/web/chunk-8mrw5mgn.js.br +0 -0
  217. package/web/chunk-8mrw5mgn.js.gz +0 -0
  218. package/web/chunk-8n1cyb8k.js +99 -0
  219. package/web/chunk-8n1cyb8k.js.br +0 -0
  220. package/web/chunk-8n1cyb8k.js.gz +0 -0
  221. package/web/chunk-8ssjqdky.js +1 -0
  222. package/web/chunk-8ssjqdky.js.br +2 -0
  223. package/web/chunk-8ssjqdky.js.gz +0 -0
  224. package/web/chunk-90k6xrsa.js +2 -0
  225. package/web/chunk-90k6xrsa.js.br +0 -0
  226. package/web/chunk-90k6xrsa.js.gz +0 -0
  227. package/web/chunk-926v5sg8.js +24 -0
  228. package/web/chunk-926v5sg8.js.br +0 -0
  229. package/web/chunk-926v5sg8.js.gz +0 -0
  230. package/web/chunk-9kvr6dkh.js +106 -0
  231. package/web/chunk-9kvr6dkh.js.br +0 -0
  232. package/web/chunk-9kvr6dkh.js.gz +0 -0
  233. package/web/chunk-9s6zj1sh.js +217 -0
  234. package/web/chunk-9s6zj1sh.js.br +0 -0
  235. package/web/chunk-9s6zj1sh.js.gz +0 -0
  236. package/web/chunk-acpyx69f.js +1 -0
  237. package/web/chunk-acpyx69f.js.br +0 -0
  238. package/web/chunk-acpyx69f.js.gz +0 -0
  239. package/web/chunk-amch1hp8.js +1 -0
  240. package/web/chunk-amch1hp8.js.br +0 -0
  241. package/web/chunk-amch1hp8.js.gz +0 -0
  242. package/web/chunk-azjpkz26.js +38 -0
  243. package/web/chunk-azjpkz26.js.br +0 -0
  244. package/web/chunk-azjpkz26.js.gz +0 -0
  245. package/web/chunk-b2zmxzm0.js +2 -0
  246. package/web/chunk-b2zmxzm0.js.br +0 -0
  247. package/web/chunk-b2zmxzm0.js.gz +0 -0
  248. package/web/chunk-bgn0bkad.js +98 -0
  249. package/web/chunk-bgn0bkad.js.br +0 -0
  250. package/web/chunk-bgn0bkad.js.gz +0 -0
  251. package/web/chunk-bka3pbzn.js +4 -0
  252. package/web/chunk-bka3pbzn.js.br +0 -0
  253. package/web/chunk-bka3pbzn.js.gz +0 -0
  254. package/web/chunk-ck23t8as.js +2 -0
  255. package/web/chunk-ck23t8as.js.br +0 -0
  256. package/web/chunk-ck23t8as.js.gz +0 -0
  257. package/web/chunk-cp5ec63g.js +30 -0
  258. package/web/chunk-cp5ec63g.js.br +0 -0
  259. package/web/chunk-cp5ec63g.js.gz +0 -0
  260. package/web/chunk-cw21gjwg.js +39 -0
  261. package/web/chunk-cw21gjwg.js.br +0 -0
  262. package/web/chunk-cw21gjwg.js.gz +0 -0
  263. package/web/chunk-cxcpk0qt.js +2 -0
  264. package/web/chunk-cxcpk0qt.js.br +0 -0
  265. package/web/chunk-cxcpk0qt.js.gz +0 -0
  266. package/web/chunk-d3s30py8.js +1 -0
  267. package/web/chunk-d3s30py8.js.br +0 -0
  268. package/web/chunk-d3s30py8.js.gz +0 -0
  269. package/web/chunk-dj4jc1ec.js +1 -0
  270. package/web/chunk-dj4jc1ec.js.br +0 -0
  271. package/web/chunk-dj4jc1ec.js.gz +0 -0
  272. package/web/chunk-ef2xw0kb.js +1 -0
  273. package/web/chunk-ef2xw0kb.js.br +0 -0
  274. package/web/chunk-ef2xw0kb.js.gz +0 -0
  275. package/web/chunk-fek0yrg5.js +2 -0
  276. package/web/chunk-fek0yrg5.js.br +0 -0
  277. package/web/chunk-fek0yrg5.js.gz +0 -0
  278. package/web/chunk-fgm2r34b.js +36 -0
  279. package/web/chunk-fgm2r34b.js.br +0 -0
  280. package/web/chunk-fgm2r34b.js.gz +0 -0
  281. package/web/chunk-fpqs301q.js +2 -0
  282. package/web/chunk-fpqs301q.js.br +0 -0
  283. package/web/chunk-fpqs301q.js.gz +0 -0
  284. package/web/chunk-fv6se8xf.js +1 -0
  285. package/web/chunk-fv6se8xf.js.br +2 -0
  286. package/web/chunk-fv6se8xf.js.gz +0 -0
  287. package/web/chunk-g0nagyx2.js +1 -0
  288. package/web/chunk-g0nagyx2.js.br +0 -0
  289. package/web/chunk-g0nagyx2.js.gz +0 -0
  290. package/web/chunk-g5fp9ep9.js +1 -0
  291. package/web/chunk-g5fp9ep9.js.br +0 -0
  292. package/web/chunk-g5fp9ep9.js.gz +0 -0
  293. package/web/chunk-gh1fmd3j.js +3 -0
  294. package/web/chunk-gh1fmd3j.js.br +0 -0
  295. package/web/chunk-gh1fmd3j.js.gz +0 -0
  296. package/web/chunk-gq5825re.js +70 -0
  297. package/web/chunk-gq5825re.js.br +0 -0
  298. package/web/chunk-gq5825re.js.gz +0 -0
  299. package/web/chunk-gy57dyny.js +1 -0
  300. package/web/chunk-gy57dyny.js.br +0 -0
  301. package/web/chunk-gy57dyny.js.gz +0 -0
  302. package/web/chunk-j7p6xhe2.js +1 -0
  303. package/web/chunk-j7p6xhe2.js.br +0 -0
  304. package/web/chunk-j7p6xhe2.js.gz +0 -0
  305. package/web/chunk-jb8xfsc6.js +2 -0
  306. package/web/chunk-jb8xfsc6.js.br +0 -0
  307. package/web/chunk-jb8xfsc6.js.gz +0 -0
  308. package/web/chunk-jqyxnnn0.js +1 -0
  309. package/web/chunk-jqyxnnn0.js.br +0 -0
  310. package/web/chunk-jqyxnnn0.js.gz +0 -0
  311. package/web/chunk-jtwct1bx.js +1133 -0
  312. package/web/chunk-jtwct1bx.js.br +0 -0
  313. package/web/chunk-jtwct1bx.js.gz +0 -0
  314. package/web/chunk-k22kq2t7.js +12 -0
  315. package/web/chunk-k22kq2t7.js.br +0 -0
  316. package/web/chunk-k22kq2t7.js.gz +0 -0
  317. package/web/chunk-k2ry7k7s.js +1 -0
  318. package/web/chunk-k2ry7k7s.js.br +0 -0
  319. package/web/chunk-k2ry7k7s.js.gz +0 -0
  320. package/web/chunk-kdbrrecz.js +332 -0
  321. package/web/chunk-kdbrrecz.js.br +0 -0
  322. package/web/chunk-kdbrrecz.js.gz +0 -0
  323. package/web/chunk-kes2tf1q.js +2 -0
  324. package/web/chunk-kes2tf1q.js.br +3 -0
  325. package/web/chunk-kes2tf1q.js.gz +0 -0
  326. package/web/chunk-ksrzt6c5.js +1 -0
  327. package/web/chunk-ksrzt6c5.js.br +0 -0
  328. package/web/chunk-ksrzt6c5.js.gz +0 -0
  329. package/web/chunk-m2ethr1n.js +84 -0
  330. package/web/chunk-m2ethr1n.js.br +0 -0
  331. package/web/chunk-m2ethr1n.js.gz +0 -0
  332. package/web/chunk-m7tcm69z.js +292 -0
  333. package/web/chunk-m7tcm69z.js.br +0 -0
  334. package/web/chunk-m7tcm69z.js.gz +0 -0
  335. package/web/chunk-m8bz4e6n.js +2 -0
  336. package/web/chunk-m8bz4e6n.js.br +0 -0
  337. package/web/chunk-m8bz4e6n.js.gz +0 -0
  338. package/web/chunk-mva687p4.js +1 -0
  339. package/web/chunk-mva687p4.js.br +0 -0
  340. package/web/chunk-mva687p4.js.gz +0 -0
  341. package/web/chunk-n8fe9j5b.js +214 -0
  342. package/web/chunk-n8fe9j5b.js.br +0 -0
  343. package/web/chunk-n8fe9j5b.js.gz +0 -0
  344. package/web/chunk-nckx4yfd.js +62 -0
  345. package/web/chunk-nckx4yfd.js.br +0 -0
  346. package/web/chunk-nckx4yfd.js.gz +0 -0
  347. package/web/chunk-ncynjha5.js +2 -0
  348. package/web/chunk-ncynjha5.js.br +0 -0
  349. package/web/chunk-ncynjha5.js.gz +0 -0
  350. package/web/chunk-nq7dp0wj.js +291 -0
  351. package/web/chunk-nq7dp0wj.js.br +0 -0
  352. package/web/chunk-nq7dp0wj.js.gz +0 -0
  353. package/web/chunk-pagep4k3.js +1 -0
  354. package/web/chunk-pagep4k3.js.br +0 -0
  355. package/web/chunk-pagep4k3.js.gz +0 -0
  356. package/web/chunk-pbrk7zdw.js +1 -0
  357. package/web/chunk-pbrk7zdw.js.br +0 -0
  358. package/web/chunk-pbrk7zdw.js.gz +0 -0
  359. package/web/chunk-q0cs1bhg.js +2 -0
  360. package/web/chunk-q0cs1bhg.js.br +0 -0
  361. package/web/chunk-q0cs1bhg.js.gz +0 -0
  362. package/web/chunk-q749pgke.js +1 -0
  363. package/web/chunk-q749pgke.js.br +0 -0
  364. package/web/chunk-q749pgke.js.gz +0 -0
  365. package/web/chunk-q7yry602.js +1 -0
  366. package/web/chunk-q7yry602.js.br +0 -0
  367. package/web/chunk-q7yry602.js.gz +0 -0
  368. package/web/chunk-qkeaa97s.js +1 -0
  369. package/web/chunk-qkeaa97s.js.br +0 -0
  370. package/web/chunk-qkeaa97s.js.gz +0 -0
  371. package/web/chunk-qx7afyba.js +1 -0
  372. package/web/chunk-qx7afyba.js.br +0 -0
  373. package/web/chunk-qx7afyba.js.gz +0 -0
  374. package/web/chunk-rcaqmcm4.js +40 -0
  375. package/web/chunk-rcaqmcm4.js.br +0 -0
  376. package/web/chunk-rcaqmcm4.js.gz +0 -0
  377. package/web/chunk-s5kbbker.js +89 -0
  378. package/web/chunk-s5kbbker.js.br +0 -0
  379. package/web/chunk-s5kbbker.js.gz +0 -0
  380. package/web/chunk-sdq69ysp.js +2 -0
  381. package/web/chunk-sdq69ysp.js.br +0 -0
  382. package/web/chunk-sdq69ysp.js.gz +0 -0
  383. package/web/chunk-sk0cmsbx.js +7 -0
  384. package/web/chunk-sk0cmsbx.js.br +0 -0
  385. package/web/chunk-sk0cmsbx.js.gz +0 -0
  386. package/web/chunk-smmcx1z4.js +324 -0
  387. package/web/chunk-smmcx1z4.js.br +0 -0
  388. package/web/chunk-smmcx1z4.js.gz +0 -0
  389. package/web/chunk-sq7ntjp0.js +16 -0
  390. package/web/chunk-sq7ntjp0.js.br +0 -0
  391. package/web/chunk-sq7ntjp0.js.gz +0 -0
  392. package/web/chunk-st27df9w.js +2 -0
  393. package/web/chunk-st27df9w.js.br +0 -0
  394. package/web/chunk-st27df9w.js.gz +0 -0
  395. package/web/chunk-svxkg8n3.js +2 -0
  396. package/web/chunk-svxkg8n3.js.br +0 -0
  397. package/web/chunk-svxkg8n3.js.gz +0 -0
  398. package/web/chunk-t9nzrp2p.js +1 -0
  399. package/web/chunk-t9nzrp2p.js.br +0 -0
  400. package/web/chunk-t9nzrp2p.js.gz +0 -0
  401. package/web/chunk-t9t9v1r8.js +55 -0
  402. package/web/chunk-t9t9v1r8.js.br +0 -0
  403. package/web/chunk-t9t9v1r8.js.gz +0 -0
  404. package/web/chunk-tzpv48j3.js +2 -0
  405. package/web/chunk-tzpv48j3.js.br +0 -0
  406. package/web/chunk-tzpv48j3.js.gz +0 -0
  407. package/web/chunk-vgsk4ppw.js +7 -0
  408. package/web/chunk-vgsk4ppw.js.br +0 -0
  409. package/web/chunk-vgsk4ppw.js.gz +0 -0
  410. package/web/chunk-vq41ta7n.js +4 -0
  411. package/web/chunk-vq41ta7n.js.br +0 -0
  412. package/web/chunk-vq41ta7n.js.gz +0 -0
  413. package/web/chunk-w08egbqf.js +1 -0
  414. package/web/chunk-w08egbqf.js.br +0 -0
  415. package/web/chunk-w08egbqf.js.gz +0 -0
  416. package/web/chunk-wcmq0qgh.js +1 -0
  417. package/web/chunk-wcmq0qgh.js.br +0 -0
  418. package/web/chunk-wcmq0qgh.js.gz +0 -0
  419. package/web/chunk-wctq02yb.js +2 -0
  420. package/web/chunk-wctq02yb.js.br +0 -0
  421. package/web/chunk-wctq02yb.js.gz +0 -0
  422. package/web/chunk-wfwadf3r.js +2 -0
  423. package/web/chunk-wfwadf3r.js.br +0 -0
  424. package/web/chunk-wfwadf3r.js.gz +0 -0
  425. package/web/chunk-wgas5t5y.js +1 -0
  426. package/web/chunk-wgas5t5y.js.br +0 -0
  427. package/web/chunk-wgas5t5y.js.gz +0 -0
  428. package/web/chunk-x7k4eyee.js +21 -0
  429. package/web/chunk-x7k4eyee.js.br +0 -0
  430. package/web/chunk-x7k4eyee.js.gz +0 -0
  431. package/web/chunk-xpv38q1f.js +140 -0
  432. package/web/chunk-xpv38q1f.js.br +0 -0
  433. package/web/chunk-xpv38q1f.js.gz +0 -0
  434. package/web/chunk-xt671z8e.js +1 -0
  435. package/web/chunk-xt671z8e.js.br +0 -0
  436. package/web/chunk-xt671z8e.js.gz +0 -0
  437. package/web/chunk-xwrrkwwx.css +1 -0
  438. package/web/chunk-xwrrkwwx.css.br +0 -0
  439. package/web/chunk-xwrrkwwx.css.gz +0 -0
  440. package/web/chunk-xwy3gth5.js +89 -0
  441. package/web/chunk-xwy3gth5.js.br +0 -0
  442. package/web/chunk-xwy3gth5.js.gz +0 -0
  443. package/web/chunk-xwyadj9p.js +2 -0
  444. package/web/chunk-xwyadj9p.js.br +0 -0
  445. package/web/chunk-xwyadj9p.js.gz +0 -0
  446. package/web/chunk-xzgvnd23.js +1 -0
  447. package/web/chunk-xzgvnd23.js.br +0 -0
  448. package/web/chunk-xzgvnd23.js.gz +0 -0
  449. package/web/chunk-y05m6rvz.js +1 -0
  450. package/web/chunk-y05m6rvz.js.br +2 -0
  451. package/web/chunk-y05m6rvz.js.gz +0 -0
  452. package/web/chunk-z51mtwh3.js +169 -0
  453. package/web/chunk-z51mtwh3.js.br +0 -0
  454. package/web/chunk-z51mtwh3.js.gz +0 -0
  455. package/web/chunk-z77xrqc1.js +1 -0
  456. package/web/chunk-z77xrqc1.js.br +0 -0
  457. package/web/chunk-z77xrqc1.js.gz +0 -0
  458. package/web/chunk-z946nbmn.js +2 -0
  459. package/web/chunk-z946nbmn.js.br +0 -0
  460. package/web/chunk-z946nbmn.js.gz +0 -0
  461. package/web/index.html +1 -1
  462. package/web/index.html.br +0 -0
  463. package/web/index.html.gz +0 -0
  464. package/worker.js +1 -1
  465. package/chunk-06s9pr82.js +0 -3
  466. package/chunk-0crbhhna.js +0 -2
  467. package/chunk-1c9nr9rs.js +0 -5
  468. package/chunk-1w4nh5t6.js +0 -5
  469. package/chunk-2eaehpp6.js +0 -9
  470. package/chunk-30dxcr91.js +0 -7
  471. package/chunk-37ndxehw.js +0 -3
  472. package/chunk-38g4jd6v.js +0 -5
  473. package/chunk-44a7f5ta.js +0 -25
  474. package/chunk-44b9yx79.js +0 -2
  475. package/chunk-46vy2m29.js +0 -2
  476. package/chunk-4f6p4n7k.js +0 -3
  477. package/chunk-4hf0r9hv.js +0 -12
  478. package/chunk-4w8j6n7z.js +0 -2
  479. package/chunk-4yxd2kg1.js +0 -3
  480. package/chunk-62ebm0bn.js +0 -2
  481. package/chunk-6ae9810t.js +0 -25
  482. package/chunk-6ef085c1.js +0 -20
  483. package/chunk-6exa9fp7.js +0 -3
  484. package/chunk-73t051r6.js +0 -2
  485. package/chunk-7mgkpn94.js +0 -59
  486. package/chunk-86yr2c0r.js +0 -3
  487. package/chunk-8jn0yax5.js +0 -482
  488. package/chunk-8np9b2y8.js +0 -3
  489. package/chunk-8r4baw9e.js +0 -3
  490. package/chunk-9ew8cap5.js +0 -3
  491. package/chunk-9jtvj8md.js +0 -4172
  492. package/chunk-9vam83py.js +0 -2
  493. package/chunk-9xjecw6c.js +0 -2
  494. package/chunk-b2wpj81x.js +0 -3
  495. package/chunk-b350b01x.js +0 -12
  496. package/chunk-bjvv3403.js +0 -2
  497. package/chunk-bv96b8q7.js +0 -2
  498. package/chunk-c8g9jjqs.js +0 -3
  499. package/chunk-cs91rmbf.js +0 -18
  500. package/chunk-drett6hb.js +0 -2
  501. package/chunk-e8x8zwkg.js +0 -3
  502. package/chunk-ehnc8g6v.js +0 -7
  503. package/chunk-evnqkyt7.js +0 -16
  504. package/chunk-fzftb4n2.js +0 -10
  505. package/chunk-g2etemv5.js +0 -3
  506. package/chunk-g5p9mj1r.js +0 -3
  507. package/chunk-ge38dhv9.js +0 -3
  508. package/chunk-hggam3je.js +0 -2
  509. package/chunk-m5km74eq.js +0 -8
  510. package/chunk-mh4bjtfs.js +0 -11
  511. package/chunk-nrdszs0g.js +0 -5
  512. package/chunk-p78wde92.js +0 -3
  513. package/chunk-pdt65s31.js +0 -3
  514. package/chunk-pjgt1bdx.js +0 -3
  515. package/chunk-pna1wh02.js +0 -39
  516. package/chunk-pyj6avd5.js +0 -3
  517. package/chunk-q6tgpaf3.js +0 -2
  518. package/chunk-qd2enpr2.js +0 -3
  519. package/chunk-rghqprav.js +0 -2
  520. package/chunk-rqn67tm8.js +0 -2
  521. package/chunk-t33bm5aa.js +0 -2
  522. package/chunk-tfhp09nj.js +0 -3
  523. package/chunk-v9ttcf6r.js +0 -3
  524. package/chunk-vd5332ps.js +0 -2
  525. package/chunk-vqm94hz2.js +0 -3
  526. package/chunk-vv9csar7.js +0 -2
  527. package/chunk-w55cnj0f.js +0 -3
  528. package/chunk-wnd3y4c0.js +0 -10
  529. package/chunk-xafx1p7z.js +0 -3
  530. package/chunk-xba6fr5v.js +0 -2
  531. package/chunk-xf7zw32f.js +0 -31
  532. package/chunk-y0274xr2.js +0 -7
  533. package/chunk-ypxs8djn.js +0 -2
  534. package/chunk-zcwz44db.js +0 -2
  535. package/chunk-zhyzhekt.js +0 -2
  536. package/web/chunk-013et20n.js +0 -2
  537. package/web/chunk-013et20n.js.br +0 -0
  538. package/web/chunk-013et20n.js.gz +0 -0
  539. package/web/chunk-0ernj3c0.js +0 -1
  540. package/web/chunk-0ernj3c0.js.br +0 -0
  541. package/web/chunk-0ernj3c0.js.gz +0 -0
  542. package/web/chunk-0j65yg1p.js +0 -1
  543. package/web/chunk-0j65yg1p.js.br +0 -0
  544. package/web/chunk-0j65yg1p.js.gz +0 -0
  545. package/web/chunk-0khcpaa8.js +0 -1
  546. package/web/chunk-0khcpaa8.js.br +0 -0
  547. package/web/chunk-0khcpaa8.js.gz +0 -0
  548. package/web/chunk-0wbdd74r.js +0 -1
  549. package/web/chunk-0wbdd74r.js.br +0 -2
  550. package/web/chunk-0wbdd74r.js.gz +0 -0
  551. package/web/chunk-1f2wvhq9.js +0 -1
  552. package/web/chunk-1f2wvhq9.js.br +0 -0
  553. package/web/chunk-1f2wvhq9.js.gz +0 -0
  554. package/web/chunk-1q2kmv35.js +0 -332
  555. package/web/chunk-1q2kmv35.js.br +0 -0
  556. package/web/chunk-1q2kmv35.js.gz +0 -0
  557. package/web/chunk-1tfrm3pk.js +0 -2
  558. package/web/chunk-1tfrm3pk.js.br +0 -0
  559. package/web/chunk-1tfrm3pk.js.gz +0 -0
  560. package/web/chunk-2qt5fy5n.js +0 -1
  561. package/web/chunk-2qt5fy5n.js.br +0 -0
  562. package/web/chunk-2qt5fy5n.js.gz +0 -0
  563. package/web/chunk-2sxtb709.js +0 -1
  564. package/web/chunk-2sxtb709.js.br +0 -0
  565. package/web/chunk-2sxtb709.js.gz +0 -0
  566. package/web/chunk-2wrwm0qe.js +0 -1
  567. package/web/chunk-2wrwm0qe.js.br +0 -0
  568. package/web/chunk-2wrwm0qe.js.gz +0 -0
  569. package/web/chunk-2wwj27b9.js +0 -7
  570. package/web/chunk-2wwj27b9.js.br +0 -0
  571. package/web/chunk-2wwj27b9.js.gz +0 -0
  572. package/web/chunk-33mmrjdp.js +0 -1
  573. package/web/chunk-33mmrjdp.js.br +0 -2
  574. package/web/chunk-33mmrjdp.js.gz +0 -0
  575. package/web/chunk-33tb7q04.js +0 -2
  576. package/web/chunk-33tb7q04.js.br +0 -0
  577. package/web/chunk-33tb7q04.js.gz +0 -0
  578. package/web/chunk-3txb4sha.js +0 -1
  579. package/web/chunk-3txb4sha.js.br +0 -0
  580. package/web/chunk-3txb4sha.js.gz +0 -0
  581. package/web/chunk-3xgfsx7y.js +0 -2
  582. package/web/chunk-3xgfsx7y.js.br +0 -0
  583. package/web/chunk-3xgfsx7y.js.gz +0 -0
  584. package/web/chunk-40jka4r7.js +0 -2
  585. package/web/chunk-40jka4r7.js.br +0 -0
  586. package/web/chunk-40jka4r7.js.gz +0 -0
  587. package/web/chunk-41vh5n86.js +0 -1
  588. package/web/chunk-41vh5n86.js.br +0 -0
  589. package/web/chunk-41vh5n86.js.gz +0 -0
  590. package/web/chunk-5kz048x3.js +0 -2
  591. package/web/chunk-5kz048x3.js.br +0 -0
  592. package/web/chunk-5kz048x3.js.gz +0 -0
  593. package/web/chunk-5mbz8yj9.js +0 -3
  594. package/web/chunk-5mbz8yj9.js.br +0 -0
  595. package/web/chunk-5mbz8yj9.js.gz +0 -0
  596. package/web/chunk-6024wfxb.js +0 -30
  597. package/web/chunk-6024wfxb.js.br +0 -0
  598. package/web/chunk-6024wfxb.js.gz +0 -0
  599. package/web/chunk-6ey4c6gw.js +0 -2
  600. package/web/chunk-6ey4c6gw.js.br +0 -0
  601. package/web/chunk-6ey4c6gw.js.gz +0 -0
  602. package/web/chunk-6q3p851n.js +0 -1
  603. package/web/chunk-6q3p851n.js.br +0 -2
  604. package/web/chunk-6q3p851n.js.gz +0 -0
  605. package/web/chunk-74g3wh08.js +0 -2
  606. package/web/chunk-74g3wh08.js.br +0 -0
  607. package/web/chunk-74g3wh08.js.gz +0 -0
  608. package/web/chunk-78akzkgs.js +0 -84
  609. package/web/chunk-78akzkgs.js.br +0 -0
  610. package/web/chunk-78akzkgs.js.gz +0 -0
  611. package/web/chunk-7ck99bsp.js +0 -62
  612. package/web/chunk-7ck99bsp.js.br +0 -0
  613. package/web/chunk-7ck99bsp.js.gz +0 -0
  614. package/web/chunk-7fjbyns9.js +0 -1
  615. package/web/chunk-7fjbyns9.js.br +0 -0
  616. package/web/chunk-7fjbyns9.js.gz +0 -0
  617. package/web/chunk-7n6b2xra.js +0 -21
  618. package/web/chunk-7n6b2xra.js.br +0 -0
  619. package/web/chunk-7n6b2xra.js.gz +0 -0
  620. package/web/chunk-7p4mcqkd.js +0 -78
  621. package/web/chunk-7p4mcqkd.js.br +0 -0
  622. package/web/chunk-7p4mcqkd.js.gz +0 -0
  623. package/web/chunk-7ztwkhg5.js +0 -1
  624. package/web/chunk-7ztwkhg5.js.br +0 -0
  625. package/web/chunk-7ztwkhg5.js.gz +0 -0
  626. package/web/chunk-823etvc3.js +0 -99
  627. package/web/chunk-823etvc3.js.br +0 -0
  628. package/web/chunk-823etvc3.js.gz +0 -0
  629. package/web/chunk-8ec53vjd.js +0 -1
  630. package/web/chunk-8ec53vjd.js.br +0 -0
  631. package/web/chunk-8ec53vjd.js.gz +0 -0
  632. package/web/chunk-8g55ytgz.js +0 -1
  633. package/web/chunk-8g55ytgz.js.br +0 -0
  634. package/web/chunk-8g55ytgz.js.gz +0 -0
  635. package/web/chunk-8q76yd76.js +0 -291
  636. package/web/chunk-8q76yd76.js.br +0 -0
  637. package/web/chunk-8q76yd76.js.gz +0 -0
  638. package/web/chunk-9kbrjmtz.js +0 -1
  639. package/web/chunk-9kbrjmtz.js.br +0 -0
  640. package/web/chunk-9kbrjmtz.js.gz +0 -0
  641. package/web/chunk-9s4bh6qm.js +0 -40
  642. package/web/chunk-9s4bh6qm.js.br +0 -0
  643. package/web/chunk-9s4bh6qm.js.gz +0 -0
  644. package/web/chunk-a449xjq6.js +0 -7
  645. package/web/chunk-a449xjq6.js.br +0 -0
  646. package/web/chunk-a449xjq6.js.gz +0 -0
  647. package/web/chunk-b05eay33.js +0 -1
  648. package/web/chunk-b05eay33.js.br +0 -0
  649. package/web/chunk-b05eay33.js.gz +0 -0
  650. package/web/chunk-bdypt5mj.js +0 -142
  651. package/web/chunk-bdypt5mj.js.br +0 -0
  652. package/web/chunk-bdypt5mj.js.gz +0 -0
  653. package/web/chunk-ccy2q2z0.js +0 -2
  654. package/web/chunk-ccy2q2z0.js.br +0 -0
  655. package/web/chunk-ccy2q2z0.js.gz +0 -0
  656. package/web/chunk-ceg13tma.js +0 -2
  657. package/web/chunk-ceg13tma.js.br +0 -0
  658. package/web/chunk-ceg13tma.js.gz +0 -0
  659. package/web/chunk-ch60a61d.js +0 -2
  660. package/web/chunk-ch60a61d.js.br +0 -0
  661. package/web/chunk-ch60a61d.js.gz +0 -0
  662. package/web/chunk-czvdg0c5.js +0 -1
  663. package/web/chunk-czvdg0c5.js.br +0 -0
  664. package/web/chunk-czvdg0c5.js.gz +0 -0
  665. package/web/chunk-dsa5m3h6.js +0 -200
  666. package/web/chunk-dsa5m3h6.js.br +0 -0
  667. package/web/chunk-dsa5m3h6.js.gz +0 -0
  668. package/web/chunk-dww3grm3.js +0 -24
  669. package/web/chunk-dww3grm3.js.br +0 -0
  670. package/web/chunk-dww3grm3.js.gz +0 -0
  671. package/web/chunk-e187gt5x.js +0 -1
  672. package/web/chunk-e187gt5x.js.br +0 -0
  673. package/web/chunk-e187gt5x.js.gz +0 -0
  674. package/web/chunk-ey0zwvbx.js +0 -1
  675. package/web/chunk-ey0zwvbx.js.br +0 -0
  676. package/web/chunk-ey0zwvbx.js.gz +0 -0
  677. package/web/chunk-ey14knbn.js +0 -2
  678. package/web/chunk-ey14knbn.js.br +0 -0
  679. package/web/chunk-ey14knbn.js.gz +0 -0
  680. package/web/chunk-fba06jm8.js +0 -1132
  681. package/web/chunk-fba06jm8.js.br +0 -0
  682. package/web/chunk-fba06jm8.js.gz +0 -0
  683. package/web/chunk-fh56vgfx.js +0 -39
  684. package/web/chunk-fh56vgfx.js.br +0 -0
  685. package/web/chunk-fh56vgfx.js.gz +0 -0
  686. package/web/chunk-ft05x3my.js +0 -169
  687. package/web/chunk-ft05x3my.js.br +0 -0
  688. package/web/chunk-ft05x3my.js.gz +0 -0
  689. package/web/chunk-fzmrnh17.js +0 -303
  690. package/web/chunk-fzmrnh17.js.br +0 -0
  691. package/web/chunk-fzmrnh17.js.gz +0 -0
  692. package/web/chunk-gbt7asd7.js +0 -2
  693. package/web/chunk-gbt7asd7.js.br +0 -0
  694. package/web/chunk-gbt7asd7.js.gz +0 -0
  695. package/web/chunk-gh9fkn3t.js +0 -1
  696. package/web/chunk-gh9fkn3t.js.br +0 -2
  697. package/web/chunk-gh9fkn3t.js.gz +0 -0
  698. package/web/chunk-h1syyjqq.js +0 -2
  699. package/web/chunk-h1syyjqq.js.br +0 -0
  700. package/web/chunk-h1syyjqq.js.gz +0 -0
  701. package/web/chunk-h7byk4z3.js +0 -140
  702. package/web/chunk-h7byk4z3.js.br +0 -0
  703. package/web/chunk-h7byk4z3.js.gz +0 -0
  704. package/web/chunk-hby0hkv4.js +0 -1
  705. package/web/chunk-hby0hkv4.js.br +0 -0
  706. package/web/chunk-hby0hkv4.js.gz +0 -0
  707. package/web/chunk-hjvsp2yx.js +0 -1
  708. package/web/chunk-hjvsp2yx.js.br +0 -0
  709. package/web/chunk-hjvsp2yx.js.gz +0 -0
  710. package/web/chunk-hpjzy5ww.js +0 -1
  711. package/web/chunk-hpjzy5ww.js.br +0 -0
  712. package/web/chunk-hpjzy5ww.js.gz +0 -0
  713. package/web/chunk-hzfp8kqx.js +0 -217
  714. package/web/chunk-hzfp8kqx.js.br +0 -0
  715. package/web/chunk-hzfp8kqx.js.gz +0 -0
  716. package/web/chunk-j8f0m1dq.js +0 -1
  717. package/web/chunk-j8f0m1dq.js.br +0 -0
  718. package/web/chunk-j8f0m1dq.js.gz +0 -0
  719. package/web/chunk-jc178ad5.js +0 -2
  720. package/web/chunk-jc178ad5.js.br +0 -0
  721. package/web/chunk-jc178ad5.js.gz +0 -0
  722. package/web/chunk-jcsf0ke5.js +0 -41
  723. package/web/chunk-jcsf0ke5.js.br +0 -0
  724. package/web/chunk-jcsf0ke5.js.gz +0 -0
  725. package/web/chunk-jg43a2xk.js +0 -139
  726. package/web/chunk-jg43a2xk.js.br +0 -0
  727. package/web/chunk-jg43a2xk.js.gz +0 -0
  728. package/web/chunk-jrgdxqtq.js +0 -7
  729. package/web/chunk-jrgdxqtq.js.br +0 -0
  730. package/web/chunk-jrgdxqtq.js.gz +0 -0
  731. package/web/chunk-js8dvtfg.js +0 -2
  732. package/web/chunk-js8dvtfg.js.br +0 -0
  733. package/web/chunk-js8dvtfg.js.gz +0 -0
  734. package/web/chunk-jt0s9qs7.js +0 -1
  735. package/web/chunk-jt0s9qs7.js.br +0 -0
  736. package/web/chunk-jt0s9qs7.js.gz +0 -0
  737. package/web/chunk-jv5faf88.js +0 -34
  738. package/web/chunk-jv5faf88.js.br +0 -0
  739. package/web/chunk-jv5faf88.js.gz +0 -0
  740. package/web/chunk-k295x81w.js +0 -370
  741. package/web/chunk-k295x81w.js.br +0 -0
  742. package/web/chunk-k295x81w.js.gz +0 -0
  743. package/web/chunk-k6wxwgp1.js +0 -55
  744. package/web/chunk-k6wxwgp1.js.br +0 -0
  745. package/web/chunk-k6wxwgp1.js.gz +0 -0
  746. package/web/chunk-k9vc7kp2.js +0 -292
  747. package/web/chunk-k9vc7kp2.js.br +0 -0
  748. package/web/chunk-k9vc7kp2.js.gz +0 -0
  749. package/web/chunk-kxyws7q7.js +0 -1
  750. package/web/chunk-kxyws7q7.js.br +0 -0
  751. package/web/chunk-kxyws7q7.js.gz +0 -0
  752. package/web/chunk-mcgf645h.js +0 -1
  753. package/web/chunk-mcgf645h.js.br +0 -4
  754. package/web/chunk-mcgf645h.js.gz +0 -0
  755. package/web/chunk-mj3tshy8.js +0 -214
  756. package/web/chunk-mj3tshy8.js.br +0 -0
  757. package/web/chunk-mj3tshy8.js.gz +0 -0
  758. package/web/chunk-mnb2wdvy.js +0 -24
  759. package/web/chunk-mnb2wdvy.js.br +0 -0
  760. package/web/chunk-mnb2wdvy.js.gz +0 -0
  761. package/web/chunk-ndf58dgc.js +0 -1
  762. package/web/chunk-ndf58dgc.js.br +0 -0
  763. package/web/chunk-ndf58dgc.js.gz +0 -0
  764. package/web/chunk-nhpm5nd5.js +0 -2
  765. package/web/chunk-nhpm5nd5.js.br +0 -0
  766. package/web/chunk-nhpm5nd5.js.gz +0 -0
  767. package/web/chunk-nwxjdetb.js +0 -1
  768. package/web/chunk-nwxjdetb.js.br +0 -0
  769. package/web/chunk-nwxjdetb.js.gz +0 -0
  770. package/web/chunk-nyjfcard.js +0 -106
  771. package/web/chunk-nyjfcard.js.br +0 -0
  772. package/web/chunk-nyjfcard.js.gz +0 -0
  773. package/web/chunk-pcfjcy3a.js +0 -324
  774. package/web/chunk-pcfjcy3a.js.br +0 -0
  775. package/web/chunk-pcfjcy3a.js.gz +0 -0
  776. package/web/chunk-pry6wdbe.js +0 -1
  777. package/web/chunk-pry6wdbe.js.br +0 -0
  778. package/web/chunk-pry6wdbe.js.gz +0 -0
  779. package/web/chunk-pvahdcgy.js +0 -2
  780. package/web/chunk-pvahdcgy.js.br +0 -0
  781. package/web/chunk-pvahdcgy.js.gz +0 -0
  782. package/web/chunk-q3njnnef.js +0 -16
  783. package/web/chunk-q3njnnef.js.br +0 -0
  784. package/web/chunk-q3njnnef.js.gz +0 -0
  785. package/web/chunk-rbmp2e4b.js +0 -1
  786. package/web/chunk-rbmp2e4b.js.br +0 -0
  787. package/web/chunk-rbmp2e4b.js.gz +0 -0
  788. package/web/chunk-rcre1stj.js +0 -1
  789. package/web/chunk-rcre1stj.js.br +0 -0
  790. package/web/chunk-rcre1stj.js.gz +0 -0
  791. package/web/chunk-rdb6091n.js +0 -89
  792. package/web/chunk-rdb6091n.js.br +0 -0
  793. package/web/chunk-rdb6091n.js.gz +0 -0
  794. package/web/chunk-ryw7xnab.js +0 -1
  795. package/web/chunk-ryw7xnab.js.br +0 -0
  796. package/web/chunk-ryw7xnab.js.gz +0 -0
  797. package/web/chunk-sbbmy02e.js +0 -2
  798. package/web/chunk-sbbmy02e.js.br +0 -0
  799. package/web/chunk-sbbmy02e.js.gz +0 -0
  800. package/web/chunk-sydy10mb.js +0 -1
  801. package/web/chunk-sydy10mb.js.br +0 -0
  802. package/web/chunk-sydy10mb.js.gz +0 -0
  803. package/web/chunk-t0ywnp5e.js +0 -1
  804. package/web/chunk-t0ywnp5e.js.br +0 -0
  805. package/web/chunk-t0ywnp5e.js.gz +0 -0
  806. package/web/chunk-t72jq97z.js +0 -2
  807. package/web/chunk-t72jq97z.js.br +0 -0
  808. package/web/chunk-t72jq97z.js.gz +0 -0
  809. package/web/chunk-tfcc9bcz.js +0 -4
  810. package/web/chunk-tfcc9bcz.js.br +0 -0
  811. package/web/chunk-tfcc9bcz.js.gz +0 -0
  812. package/web/chunk-v2bvbgfc.js +0 -2
  813. package/web/chunk-v2bvbgfc.js.br +0 -0
  814. package/web/chunk-v2bvbgfc.js.gz +0 -0
  815. package/web/chunk-v7zq4vc9.js +0 -12
  816. package/web/chunk-v7zq4vc9.js.br +0 -0
  817. package/web/chunk-v7zq4vc9.js.gz +0 -0
  818. package/web/chunk-vh8pkcem.css +0 -1
  819. package/web/chunk-vh8pkcem.css.br +0 -0
  820. package/web/chunk-vh8pkcem.css.gz +0 -0
  821. package/web/chunk-vq3sby7x.js +0 -1
  822. package/web/chunk-vq3sby7x.js.br +0 -0
  823. package/web/chunk-vq3sby7x.js.gz +0 -0
  824. package/web/chunk-was9xf03.js +0 -8
  825. package/web/chunk-was9xf03.js.br +0 -0
  826. package/web/chunk-was9xf03.js.gz +0 -0
  827. package/web/chunk-we1v1829.js +0 -2
  828. package/web/chunk-we1v1829.js.br +0 -0
  829. package/web/chunk-we1v1829.js.gz +0 -0
  830. package/web/chunk-wg2exnxe.js +0 -1
  831. package/web/chunk-wg2exnxe.js.br +0 -2
  832. package/web/chunk-wg2exnxe.js.gz +0 -0
  833. package/web/chunk-wvd3zj1m.js +0 -70
  834. package/web/chunk-wvd3zj1m.js.br +0 -0
  835. package/web/chunk-wvd3zj1m.js.gz +0 -0
  836. package/web/chunk-wzmxtr30.js +0 -1
  837. package/web/chunk-wzmxtr30.js.br +0 -0
  838. package/web/chunk-wzmxtr30.js.gz +0 -0
  839. package/web/chunk-x815g7yp.js +0 -1
  840. package/web/chunk-x815g7yp.js.br +0 -0
  841. package/web/chunk-x815g7yp.js.gz +0 -0
  842. package/web/chunk-x8ps0p82.js +0 -98
  843. package/web/chunk-x8ps0p82.js.br +0 -0
  844. package/web/chunk-x8ps0p82.js.gz +0 -0
  845. package/web/chunk-xea3snym.js +0 -1
  846. package/web/chunk-xea3snym.js.br +0 -0
  847. package/web/chunk-xea3snym.js.gz +0 -0
  848. package/web/chunk-xg4v60m7.js +0 -1
  849. package/web/chunk-xg4v60m7.js.br +0 -0
  850. package/web/chunk-xg4v60m7.js.gz +0 -0
  851. package/web/chunk-xhr9jrjt.js +0 -89
  852. package/web/chunk-xhr9jrjt.js.br +0 -0
  853. package/web/chunk-xhr9jrjt.js.gz +0 -0
  854. package/web/chunk-xp90g2e7.js +0 -36
  855. package/web/chunk-xp90g2e7.js.br +0 -0
  856. package/web/chunk-xp90g2e7.js.gz +0 -0
  857. package/web/chunk-xs1g97qa.js +0 -2
  858. package/web/chunk-xs1g97qa.js.br +0 -0
  859. package/web/chunk-xs1g97qa.js.gz +0 -0
  860. package/web/chunk-xyk1wpr4.js +0 -1
  861. package/web/chunk-xyk1wpr4.js.br +0 -3
  862. package/web/chunk-xyk1wpr4.js.gz +0 -0
  863. package/web/chunk-yavbdwyt.js +0 -1
  864. package/web/chunk-yavbdwyt.js.br +0 -0
  865. package/web/chunk-yavbdwyt.js.gz +0 -0
  866. package/web/chunk-yfnhnsxe.js +0 -4
  867. package/web/chunk-yfnhnsxe.js.br +0 -0
  868. package/web/chunk-yfnhnsxe.js.gz +0 -0
  869. package/web/chunk-yk965yth.js +0 -1
  870. package/web/chunk-yk965yth.js.br +0 -0
  871. package/web/chunk-yk965yth.js.gz +0 -0
  872. package/web/chunk-ynhcjhsx.js +0 -2
  873. package/web/chunk-ynhcjhsx.js.br +0 -0
  874. package/web/chunk-ynhcjhsx.js.gz +0 -0
  875. package/web/chunk-ypmm1gts.js +0 -1
  876. package/web/chunk-ypmm1gts.js.br +0 -0
  877. package/web/chunk-ypmm1gts.js.gz +0 -0
  878. package/web/chunk-yssx5a5q.js +0 -1
  879. package/web/chunk-yssx5a5q.js.br +0 -0
  880. package/web/chunk-yssx5a5q.js.gz +0 -0
  881. package/web/chunk-z0a8cnq8.js +0 -1
  882. package/web/chunk-z0a8cnq8.js.br +0 -0
  883. package/web/chunk-z0a8cnq8.js.gz +0 -0
  884. package/web/chunk-z1afsvbv.js +0 -2
  885. package/web/chunk-z1afsvbv.js.br +0 -0
  886. package/web/chunk-z1afsvbv.js.gz +0 -0
  887. package/web/chunk-z1ka8jtd.js +0 -2
  888. package/web/chunk-z1ka8jtd.js.br +0 -0
  889. package/web/chunk-z1ka8jtd.js.gz +0 -0
  890. package/web/chunk-z7tdzen9.js +0 -1
  891. package/web/chunk-z7tdzen9.js.br +0 -0
  892. package/web/chunk-z7tdzen9.js.gz +0 -0
  893. package/web/chunk-zbwjj06m.js +0 -38
  894. package/web/chunk-zbwjj06m.js.br +0 -0
  895. package/web/chunk-zbwjj06m.js.gz +0 -0
  896. package/web/chunk-zd2j189j.js +0 -1
  897. package/web/chunk-zd2j189j.js.br +0 -0
  898. package/web/chunk-zd2j189j.js.gz +0 -0
  899. package/web/chunk-zfgpq4n4.js +0 -120
  900. package/web/chunk-zfgpq4n4.js.br +0 -0
  901. package/web/chunk-zfgpq4n4.js.gz +0 -0
  902. package/web/chunk-zgas56xw.js +0 -1
  903. package/web/chunk-zgas56xw.js.br +0 -0
  904. package/web/chunk-zgas56xw.js.gz +0 -0
  905. package/web/chunk-zkfepf91.js +0 -1
  906. package/web/chunk-zkfepf91.js.br +0 -0
  907. package/web/chunk-zkfepf91.js.gz +0 -0
@@ -1,291 +0,0 @@
1
- import{t,a,nt,k,A,R,I,L,D,P,N,u,f,$s,F,Ie,Te,Ee,cn,Fe,ze}from"./chunk-fzmrnh17.js";import{Dn}from"./chunk-ch60a61d.js";import{Be}from"./chunk-pvahdcgy.js";import{Re}from"./chunk-ceg13tma.js";var Pt=function(){var e=t(function(Q,c,S,n){for(S=S||{},n=Q.length;n--;S[Q[n]]=c);return S},"o"),s=[1,2],l=[1,3],r=[1,4],d=[2,4],p=[1,9],y=[1,11],m=[1,16],o=[1,17],E=[1,18],_=[1,19],Y=[1,33],V=[1,20],j=[1,21],w=[1,22],g=[1,23],M=[1,24],O=[1,26],z=[1,27],W=[1,28],K=[1,29],x=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,S,n,T,v,i,it){var h=i.length-1;switch(v){case 3:return T.setRootDoc(i[h]),i[h];break;case 4:this.$=[];break;case 5:if(i[h]!="nl")i[h-1].push(i[h]),this.$=i[h-1];break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:let Et=i[h-1];Et.description=T.trimColon(i[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:let _t=T.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:_t};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var X=i[h],J=i[h-2].trim();if(i[h].match(":")){var ct=i[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[h-3],url:i[h-2],tooltip:i[h-1]};break;case 33:this.$={stmt:"click",id:i[h-3],url:i[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 36:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 37:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:Y,57:rt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:Y,57:rt},e(b,[2,17]),e(Vt,d,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,72],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,d,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,81],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,S){if(S.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=S,n}},"parseError"),parse:t(function(c){var S=this,n=[0],T=[],v=[null],i=[],it=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=i.slice.call(arguments,1),C=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(C.setInput(c,tt.yy),tt.yy.lexer=C,tt.yy.parser=this,typeof C.yylloc>"u")C.yylloc={};var It=C.yylloc;i.push(It);var ue=C.options&&C.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(H){n.length=n.length-2*H,v.length=v.length-H,i.length=i.length-H}t(fe,"popStack");function Mt(){var H=T.pop()||C.lex()||_t;if(typeof H!=="number"){if(H instanceof Array)T=H,H=T.pop();H=S.symbols_[H]||H}return H}t(Mt,"lex");var B,Nt,et,U,Qe,Ot,at={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])U=this.defaultActions[et];else{if(B===null||typeof B>"u")B=Mt();U=it[et]&&it[et][B]}if(typeof U>"u"||!U.length||!U[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(C.showPosition)Rt="Parse error on line "+(X+1)+`:
2
- `+C.showPosition()+`
3
- Expecting `+Dt.join(", ")+", got '"+(this.terminals_[B]||B)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(B==_t?"end of input":"'"+(this.terminals_[B]||B)+"'");this.parseError(Rt,{text:C.match,token:this.terminals_[B]||B,line:C.yylineno,loc:It,expected:Dt})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+B);switch(U[0]){case 1:if(n.push(B),v.push(C.yytext),i.push(C.yylloc),n.push(U[1]),B=null,!Nt){if(J=C.yyleng,h=C.yytext,X=C.yylineno,It=C.yylloc,ct>0)ct--}else B=Nt,Nt=null;break;case 2:if(q=this.productions_[U[1]][1],at.$=v[v.length-q],at._$={first_line:i[i.length-(q||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(q||1)].first_column,last_column:i[i.length-1].last_column},ue)at._$.range=[i[i.length-(q||1)].range[0],i[i.length-1].range[1]];if(Ot=this.performAction.apply(at,[h,J,X,tt.yy,U[1],v,i].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),v=v.slice(0,-1*q),i=i.slice(0,-1*q);n.push(this.productions_[U[1]][0]),v.push(at.$),i.push(at._$),Wt=it[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(S,n){if(this.yy.parser)this.yy.parser.parseError(S,n);else throw Error(S)},"parseError"),setInput:t(function(c,S){if(this.yy=S||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var S=c.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),c},"input"),unput:t(function(c){var S=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var T=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1)this.yylineno-=n.length-1;var v=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[v[0],v[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),S=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
- `+S+"^"},"showPosition"),test_match:t(function(c,S){var n,T,v;if(this.options.backtrack_lexer){if(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)v.yylloc.range=this.yylloc.range.slice(0)}if(T=c[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var i in v)this[i]=v[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,S,n,T;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var i=0;i<v.length;i++)if(n=this._input.match(this.rules[v[i]]),n&&(!S||n[0].length>S[0].length)){if(S=n,T=i,this.options.backtrack_lexer)if(c=this.test_match(n,v[i]),c!==!1)return c;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(c=this.test_match(S,v[T]),c!==!1)return c;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(S,n,T,v){function i(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)S.lexer.unput(J);n.yytext=X}return!0}t(i,"processId");var it=v;switch(T){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!i())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!i())return;return this.popState(),"ID";break;case 66:if(!i())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!i())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",De="state",Ce=`${pt}-${De}`,re="transition",Ae="note",xe="note-edge",Le=`${re} ${xe}`,we=`${pt}-${Ae}`,Ne="cluster",Oe=`${pt}-${Ne}`,$e="cluster-alt",Pe=`${pt}-${$e}`,ie="parent",ae="note",Ge="state",Yt="----",Ye=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ve=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let d=ne++,p=r?void 0:d;return ht.set(s,p),p},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let d=l!==null&&l.length>0?`${r}${l}`:"";return`${Ge}-${e}${d}-${s}`}t(xt,"stateDomId");var Me=t((e,s,l,r,d,p,y,m)=>{a.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,d,p,y,m);break;case ft:ut(e,o,l,r,d,p,y,m);break;case Bt:{ut(e,o.state1,l,r,d,p,y,m),ut(e,o.state2,l,r,d,p,y,m);let E=y==="neo",_={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:E?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:k.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};d.push(_),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((d)=>{let p=l.get(d);if(p)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...p.styles]})}let r=e.find((d)=>d.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,d,p,y,m)=>{let o=s.id,E=l.get(o),_=oe(E),Y=le(E),V=u(),j=_.trim()!==""||Y.length>0;if(a.info("dataFetcher parsedItem",s,E,Y),o!=="root"){let w=$t;if(s.start===!0)w=be;else if(s.start===!1)w=ke;if(s.type!==ft)w=s.type;if(!At.get(o))At.set(o,{id:o,shape:w,description:k.sanitizeText(o,V),cssClasses:`${_} ${Ce}`,cssStyles:Y});let g=At.get(o);if(s.description){if(Array.isArray(g.description))g.shape=Ft,g.description.push(s.description);else if(g.description?.length&&g.description.length>0)if(g.shape=Ft,g.description===o)g.description=[s.description];else g.description=[g.description,s.description];else g.shape=$t,g.description=s.description;g.description=k.sanitizeTextOrArray(g.description,V)}if(g.description?.length===1&&g.shape===Ft)if(g.type==="group")g.shape=Ut;else g.shape=$t;if(!g.type&&s.doc)a.info("Setting cluster for XCX",o,zt(s)),g.type="group",g.isGroup=!0,g.dir=zt(s),g.shape=s.type===qt?Gt:Ut,g.colorIndex=Ve(g.shape,o,e,j),g.cssClasses=`${g.cssClasses} ${Oe} ${p?Pe:""}`;let M={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:o,dir:g.dir,domId:xt(o,Z),type:g.type,isGroup:g.type==="group",colorIndex:g.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(M.shape===Gt)M.label="";if(e&&e.id!=="root")a.trace("Setting node ",o," to be child of its parent ",e.id),M.parentId=e.id;if(M.centerLabel=!0,s.note){let O={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:we,cssStyles:[],cssCompiledStyles:[],id:o+Ye+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:V.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,W={labelStyle:"",shape:ve,label:s.note.text,cssClasses:g.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,W.id=z,O.parentId=z,dt(r,W,m),dt(r,O,m),dt(r,M,m);let K=o,x=O.id;if(s.note.position==="left of")K=O.id,x=o;d.push({id:K+"-"+x,start:K,end:x,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Le,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,M,m)}if(s.doc)a.trace("Adding nodes children "),Me(s,s.doc,l,r,d,!p,y,m)},"dataFetcher"),We=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),je=t(function(e,s){return s.db.getClasses()},"getClasses"),Ue=t(async function(e,s,l,r){a.info("REF0:"),a.info("Drawing state diagram (v2)",s);let{securityLevel:d,state:p,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=Be(s,d);if(m.type=r.type,m.layoutAlgorithm=ze(y),m.nodeSpacing=p?.nodeSpacing||50,m.rankSpacing=p?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await Fe(m,o);let _=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((V,j)=>{let w=typeof j==="string"?j:typeof j?.id==="string"?j.id:"",g=m.nodes.find((x)=>x.id===w);if(!w){a.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(j));return}let M=o.node()?.querySelectorAll("g.node, g.rough-node"),O;if(M?.forEach((x)=>{let st=x.textContent?.trim();if(x.id===g?.domId||st===w)O=x}),!O){a.warn("⚠️ Could not find node matching text:",w);return}let z=O.parentNode;if(!z){a.warn("⚠️ Node has no parent, cannot wrap:",w);return}let W=document.createElementNS("http://www.w3.org/2000/svg","a"),K=V.url.replace(/^"+|"+$/g,"");if(W.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),W.setAttribute("target","_blank"),V.tooltip){let x=V.tooltip.replace(/^"+|"+$/g,"");W.setAttribute("title",x),O.setAttribute("title",x)}z.replaceChild(W,O),W.appendChild(O),a.info("\uD83D\uDD17 Wrapped node in <a> tag for:",w,V.url)})}catch(Y){a.error("❌ Error injecting clickable links:",Y)}F.insertTitle(o,"statediagramTitleText",p?.titleTopMargin??25,r.db.getDiagramTitle()),Re(o,_,pt,p?.useMaxWidth??!0)},"draw"),He={getClasses:je,draw:Ue,getDir:ce},G={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=I,this.setAccTitle=R,this.getAccDescription=D,this.setAccDescription=L,this.setDiagramTitle=P,this.getDiagramTitle=N,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();We(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let d=this.getState(r);if(!d){let p=r.trim();this.addState(p),d=this.getState(p)}if(d)d.styles=l.map((p)=>p.replace(/;/g,"")?.trim())}}setRootDoc(e){if(a.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===G.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],d=[];for(let p of s.doc)if(p.type===qt){let y=Ct(p);y.doc=Ct(d),r.push(y),d=[]}else d.push(p);if(r.length>0&&d.length>0){let p={stmt:lt,id:$s(),type:"divider",doc:Ct(d)};r.push(Ct(p)),s.doc=r}s.doc.forEach((p)=>this.docTranslator(s,p,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,d=void 0,p=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))a.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:d,classes:[],styles:[],textStyles:[]});else{let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);if(!E.doc)E.doc=l;if(!E.type)E.type=s}if(r)a.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((_)=>this.addDescription(o,_.trim()));if(d){let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);E.note=d,E.note.text=k.sanitizeText(E.note.text,u())}if(p)a.info("Setting state classes",o,p),(Array.isArray(p)?p:[p]).forEach((_)=>this.setCssClass(o,_.trim()));if(y)a.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((_)=>this.setStyle(o,_.trim()));if(m)a.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((_)=>this.setTextStyle(o,_.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,A()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),a.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===G.START_NODE)return this.startEndCount++,`${G.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===G.START_NODE?G.START_TYPE:s}endIdIfNeeded(e=""){if(e===G.END_NODE)return this.startEndCount++,`${G.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===G.END_NODE?G.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),d=this.startTypeIfNeeded(e.id.trim(),e.type),p=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,d,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(p,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:k.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),d=this.startTypeIfNeeded(e),p=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,d),this.addState(p,y),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:l?k.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(k.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(G.STYLECLASS_SEP).forEach((r)=>{let d=r.replace(/([^;]*);/,"$1").trim();if(RegExp(G.COLOR_KEYWORD).exec(r)){let y=d.replace(G.FILL_KEYWORD,G.BG_FILL).replace(G.COLOR_KEYWORD,G.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(d)})}getClasses(){return this.classes}setupToolTips(e){let s=Dn();f(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(d)=>{let p=f(d.currentTarget),y=p.attr("title");if(y===null)return;let m=d.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(nt.sanitize(y)),p.classed("hover",!0)}).on("mouseout",(d)=>{s.transition().duration(500).style("opacity",0),f(d.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let d=l.trim();this.addState(d),r=this.getState(d)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let d=Ee(e.look),p=Ie(l),y="";for(let m=0;m<cn(r);m++){let o=r[m],E=p?`fill: ${l[m%l.length]};`:"",_=`[data-look="${d}"][data-color-id="color-${m}"]`;y+=`
7
-
8
- /* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
9
- the body, so what stays visible of \`outer\` is the band behind the label. */
10
- ${_}.statediagram-cluster rect.outer {
11
- stroke: ${o};
12
- ${E}
13
- }
14
-
15
- ${_}.statediagram-cluster rect.inner {
16
- stroke: ${o};
17
- }
18
-
19
- /* Concurrency regions. Siblings of one composite share a slot, so a divided composite
20
- reads as one thing split into parts rather than as several composites. */
21
- ${_}.statediagram-cluster rect.divider {
22
- stroke: ${o};
23
- ${E}
24
- }
25
-
26
- /* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
27
- needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
28
- \`inner\` and \`divider\` to match the classic branch, which is what lets these
29
- discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
30
- tinted the whole composite, losing \`compositeBackground\` and diverging from what
31
- classic and neo do.
32
-
33
- roughjs emits two paths per shape and marks them: the filled shape carries
34
- \`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
35
- what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
36
- region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
37
- would otherwise gain an edge it was drawn without. */
38
- ${_}.statediagram-cluster .outer path[stroke='none'] {
39
- ${E}
40
- }
41
-
42
- ${_}.statediagram-cluster .outer path[fill='none'] {
43
- stroke: ${o};
44
- }
45
-
46
- /* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
47
- where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
48
- hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
49
- the outline and no selector separates them. An \`.inner\` stroke rule therefore
50
- repainted the hatching of every alt composite in the palette colour instead of
51
- leaving it on \`altBackground\`. The container still reads as palette-coloured: the
52
- \`outer\` shape spans the whole composite, so its outline already frames the body. */
53
-
54
- /* Regions split the same way, which is why \`divider\` fills solid rather than taking
55
- roughjs's default hachure -- see the note on that call. Hatched, both of its paths
56
- carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
57
- the border rule repainted the hatching. */
58
- ${_}.statediagram-cluster .divider path[stroke='none'] {
59
- ${E}
60
- }
61
-
62
- ${_}.statediagram-cluster .divider path[fill='none'] {
63
- stroke: ${o};
64
- }
65
- `}return y},"genColor"),Je=t((e)=>`
66
- ${Xe(e)}
67
- defs [id$="-barbEnd"] {
68
- fill: ${e.transitionColor};
69
- stroke: ${e.transitionColor};
70
- }
71
- g.stateGroup text {
72
- fill: ${e.nodeBorder};
73
- stroke: none;
74
- font-size: 10px;
75
- }
76
- g.stateGroup text {
77
- fill: ${e.textColor};
78
- stroke: none;
79
- font-size: 10px;
80
-
81
- }
82
- g.stateGroup .state-title {
83
- font-weight: bolder;
84
- fill: ${e.stateLabelColor};
85
- }
86
-
87
- g.stateGroup rect {
88
- fill: ${e.mainBkg};
89
- stroke: ${e.nodeBorder};
90
- }
91
-
92
- g.stateGroup line {
93
- stroke: ${e.lineColor};
94
- stroke-width: ${e.strokeWidth||1};
95
- }
96
-
97
- .transition {
98
- stroke: ${e.transitionColor};
99
- stroke-width: ${e.strokeWidth||1};
100
- fill: none;
101
- }
102
-
103
- .stateGroup .composit {
104
- fill: ${e.background};
105
- border-bottom: 1px
106
- }
107
-
108
- .stateGroup .alt-composit {
109
- fill: #e0e0e0;
110
- border-bottom: 1px
111
- }
112
-
113
- .state-note {
114
- stroke: ${e.noteBorderColor};
115
- fill: ${e.noteBkgColor};
116
-
117
- text {
118
- fill: ${e.noteTextColor};
119
- stroke: none;
120
- font-size: 10px;
121
- }
122
- }
123
-
124
- .stateLabel .box {
125
- stroke: none;
126
- stroke-width: 0;
127
- fill: ${e.mainBkg};
128
- opacity: 0.5;
129
- }
130
-
131
- .edgeLabel .label rect {
132
- fill: ${e.labelBackgroundColor};
133
- opacity: 0.5;
134
- }
135
- .edgeLabel {
136
- background-color: ${e.edgeLabelBackground};
137
- p {
138
- background-color: ${e.edgeLabelBackground};
139
- }
140
- rect {
141
- opacity: 0.5;
142
- background-color: ${e.edgeLabelBackground};
143
- fill: ${e.edgeLabelBackground};
144
- }
145
- text-align: center;
146
- }
147
- .edgeLabel .label text {
148
- fill: ${e.transitionLabelColor||e.tertiaryTextColor};
149
- }
150
- .label div .edgeLabel {
151
- color: ${e.transitionLabelColor||e.tertiaryTextColor};
152
- }
153
-
154
- .stateLabel text {
155
- fill: ${e.stateLabelColor};
156
- font-size: 10px;
157
- font-weight: bold;
158
- }
159
-
160
- .node circle.state-start {
161
- fill: ${e.specialStateColor};
162
- stroke: ${e.specialStateColor};
163
- }
164
-
165
- .node .fork-join {
166
- fill: ${e.specialStateColor};
167
- stroke: ${e.specialStateColor};
168
- }
169
-
170
- .node circle.state-end {
171
- fill: ${e.innerEndBackground};
172
- stroke: ${e.background};
173
- stroke-width: 1.5
174
- }
175
- .end-state-inner {
176
- fill: ${e.compositeBackground||e.background};
177
- // stroke: ${e.background};
178
- stroke-width: 1.5
179
- }
180
-
181
- .node rect {
182
- fill: ${e.stateBkg||e.mainBkg};
183
- stroke: ${e.stateBorder||e.nodeBorder};
184
- stroke-width: ${e.strokeWidth||1}px;
185
- }
186
- .node polygon {
187
- fill: ${e.mainBkg};
188
- stroke: ${e.stateBorder||e.nodeBorder};;
189
- stroke-width: ${e.strokeWidth||1}px;
190
- }
191
- [id$="-barbEnd"] {
192
- fill: ${e.lineColor};
193
- }
194
-
195
- .statediagram-cluster rect {
196
- fill: ${e.compositeTitleBackground};
197
- stroke: ${e.stateBorder||e.nodeBorder};
198
- stroke-width: ${e.strokeWidth||1}px;
199
- }
200
-
201
- .cluster-label, .nodeLabel {
202
- color: ${e.stateLabelColor};
203
- // line-height: 1;
204
- }
205
-
206
- .statediagram-cluster rect.outer {
207
- rx: 5px;
208
- ry: 5px;
209
- }
210
- .statediagram-state .divider {
211
- stroke: ${e.stateBorder||e.nodeBorder};
212
- }
213
-
214
- .statediagram-state .title-state {
215
- rx: 5px;
216
- ry: 5px;
217
- }
218
- .statediagram-cluster.statediagram-cluster .inner {
219
- fill: ${e.compositeBackground||e.background};
220
- }
221
- .statediagram-cluster.statediagram-cluster-alt .inner {
222
- fill: ${e.altBackground?e.altBackground:"#efefef"};
223
- }
224
-
225
- .statediagram-cluster .inner {
226
- rx:0;
227
- ry:0;
228
- }
229
-
230
- .statediagram-state rect.basic {
231
- rx: 5px;
232
- ry: 5px;
233
- }
234
- .statediagram-state rect.divider {
235
- stroke-dasharray: 10,10;
236
- fill: ${e.altBackground?e.altBackground:"#efefef"};
237
- }
238
-
239
- .note-edge {
240
- stroke-dasharray: 5;
241
- }
242
-
243
- .statediagram-note rect {
244
- fill: ${e.noteBkgColor};
245
- stroke: ${e.noteBorderColor};
246
- stroke-width: 1px;
247
- rx: 0;
248
- ry: 0;
249
- }
250
- .statediagram-note rect {
251
- fill: ${e.noteBkgColor};
252
- stroke: ${e.noteBorderColor};
253
- stroke-width: 1px;
254
- rx: 0;
255
- ry: 0;
256
- }
257
-
258
- .statediagram-note text {
259
- fill: ${e.noteTextColor};
260
- }
261
-
262
- .statediagram-note .nodeLabel {
263
- color: ${e.noteTextColor};
264
- }
265
- .statediagram .edgeLabel {
266
- color: red; // ${e.noteTextColor};
267
- }
268
-
269
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
270
- fill: ${e.lineColor};
271
- stroke: ${e.lineColor};
272
- stroke-width: ${e.strokeWidth||1};
273
- }
274
-
275
- .statediagramTitleText {
276
- text-anchor: middle;
277
- font-size: 18px;
278
- fill: ${e.textColor};
279
- }
280
-
281
- [data-look="neo"].statediagram-cluster rect {
282
- fill: ${e.mainBkg};
283
- stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
284
- stroke-width: ${e.strokeWidth??1};
285
- }
286
- [data-look="neo"].statediagram-cluster rect.outer {
287
- rx: ${e.radius}px;
288
- ry: ${e.radius}px;
289
- filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
290
- }
291
- `,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:He,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{qo}from"./chunk-ynhcjhsx.js";export{qo as default};
Binary file
Binary file
@@ -1,40 +0,0 @@
1
- import{t,k,ln,A,R,I,L,D,P,N,u,Lr,f,_e,Jr,ul,ho,go,ta}from"./chunk-fzmrnh17.js";import{Hr,br}from"./chunk-emxa4wv3.js";import{$t}from"./chunk-k3aa37pw.js";function nt(n,l){let y=0;if(l===void 0){for(let g of n)if(g=+g)y+=g}else{let g=-1;for(let _ of n)if(_=+l(_,++g,n))y+=_}return y}function ht(n){var l=n.length/6|0,y=Array(l),g=0;while(g<l)y[g]="#"+n.slice(g*6,++g*6);return y}var dt=ht("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function Lt(n){return n.source}function Et(n){return n.target}function Pt(n){let l=Lt,y=Et,g=ho,_=go,w=null,m=null,B=Jr(i);function i(){let o,h=ul.call(arguments),v=l.apply(this,h),x=y.apply(this,h);if(w==null)m=n(o=B());if(m.lineStart(),h[0]=v,m.point(+g.apply(this,h),+_.apply(this,h)),h[0]=x,m.point(+g.apply(this,h),+_.apply(this,h)),m.lineEnd(),o)return m=null,o+""||null}return i.source=function(o){return arguments.length?(l=o,i):l},i.target=function(o){return arguments.length?(y=o,i):y},i.x=function(o){return arguments.length?(g=typeof o==="function"?o:_e(+o),i):g},i.y=function(o){return arguments.length?(_=typeof o==="function"?o:_e(+o),i):_},i.context=function(o){return arguments.length?(o==null?w=m=null:m=n(w=o),i):w},i}function kt(){return Pt(ta)}function At(n){return n.target.depth}function pt(n){return n.depth}function yt(n,l){return l-1-n.height}function rt(n,l){return n.sourceLinks.length?n.depth:l-1}function mt(n){return n.targetLinks.length?n.depth:n.sourceLinks.length?br(n.sourceLinks,At)-1:0}function tt(n){return function(){return n}}function bt(n,l){return st(n.source,l.source)||n.index-l.index}function vt(n,l){return st(n.target,l.target)||n.index-l.index}function st(n,l){return n.y0-l.y0}function gt(n){return n.value}function Tt(n){return n.index}function Ct(n){return n.nodes}function Bt(n){return n.links}function _t(n,l){let y=n.get(l);if(!y)throw Error("missing: "+l);return y}function St({nodes:n}){for(let l of n){let y=l.y0,g=y;for(let _ of l.sourceLinks)_.y0=y+_.width/2,y+=_.width;for(let _ of l.targetLinks)_.y1=g+_.width/2,g+=_.width}}function ot(){let n=0,l=0,y=1,g=1,_=24,w=8,m,B=Tt,i=rt,o,h,v=Ct,x=Bt,d=6;function S(){let e={nodes:v.apply(null,arguments),links:x.apply(null,arguments)};return O(e),G(e),W(e),U(e),z(e),St(e),e}S.update=function(e){return St(e),e},S.nodeId=function(e){return arguments.length?(B=typeof e==="function"?e:tt(e),S):B},S.nodeAlign=function(e){return arguments.length?(i=typeof e==="function"?e:tt(e),S):i},S.nodeSort=function(e){return arguments.length?(o=e,S):o},S.nodeWidth=function(e){return arguments.length?(_=+e,S):_},S.nodePadding=function(e){return arguments.length?(w=m=+e,S):w},S.nodes=function(e){return arguments.length?(v=typeof e==="function"?e:tt(e),S):v},S.links=function(e){return arguments.length?(x=typeof e==="function"?e:tt(e),S):x},S.linkSort=function(e){return arguments.length?(h=e,S):h},S.size=function(e){return arguments.length?(n=l=0,y=+e[0],g=+e[1],S):[y-n,g-l]},S.extent=function(e){return arguments.length?(n=+e[0][0],y=+e[1][0],l=+e[0][1],g=+e[1][1],S):[[n,l],[y,g]]},S.iterations=function(e){return arguments.length?(d=+e,S):d};function O({nodes:e,links:a}){for(let[r,s]of e.entries())s.index=r,s.sourceLinks=[],s.targetLinks=[];let c=new Map(e.map((r,s)=>[B(r,s,e),r]));for(let[r,s]of a.entries()){s.index=r;let{source:p,target:b}=s;if(typeof p!=="object")p=s.source=_t(c,p);if(typeof b!=="object")b=s.target=_t(c,b);p.sourceLinks.push(s),b.targetLinks.push(s)}if(h!=null)for(let{sourceLinks:r,targetLinks:s}of e)r.sort(h),s.sort(h)}function G({nodes:e}){for(let a of e)a.value=a.fixedValue===void 0?Math.max(nt(a.sourceLinks,gt),nt(a.targetLinks,gt)):a.fixedValue}function W({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let p of c){p.depth=s;for(let{target:b}of p.sourceLinks)r.add(b)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function U({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let p of c){p.height=s;for(let{source:b}of p.targetLinks)r.add(b)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function Q({nodes:e}){let a=Hr(e,(s)=>s.depth)+1,c=(y-n-_)/(a-1),r=Array(a);for(let s of e){let p=Math.max(0,Math.min(a-1,Math.floor(i.call(null,s,a))));if(s.layer=p,s.x0=n+p*c,s.x1=s.x0+_,r[p])r[p].push(s);else r[p]=[s]}if(o)for(let s of r)s.sort(o);return r}function q(e){let a=br(e,(c)=>(g-l-(c.length-1)*m)/nt(c,gt));for(let c of e){let r=l;for(let s of c){s.y0=r,s.y1=r+s.value*a,r=s.y1+m;for(let p of s.sourceLinks)p.width=p.value*a}r=(g-r+m)/(c.length+1);for(let s=0;s<c.length;++s){let p=c[s];p.y0+=r*(s+1),p.y1+=r*(s+1)}K(c)}}function z(e){let a=Q(e);m=Math.min(w,(g-l)/(Hr(a,(c)=>c.length)-1)),q(a);for(let c=0;c<d;++c){let r=Math.pow(0.99,c),s=Math.max(1-r,(c+1)/d);Y(a,r,s),E(a,r,s)}}function E(e,a,c){for(let r=1,s=e.length;r<s;++r){let p=e[r];for(let b of p){let J=0,M=0;for(let{source:C,value:ft}of b.targetLinks){let et=ft*(b.layer-C.layer);J+=T(C,b)*et,M+=et}if(!(M>0))continue;let F=(J/M-b.y0)*a;b.y0+=F,b.y1+=F,Z(b)}if(o===void 0)p.sort(st);H(p,c)}}function Y(e,a,c){for(let r=e.length,s=r-2;s>=0;--s){let p=e[s];for(let b of p){let J=0,M=0;for(let{target:C,value:ft}of b.sourceLinks){let et=ft*(C.layer-b.layer);J+=V(b,C)*et,M+=et}if(!(M>0))continue;let F=(J/M-b.y0)*a;b.y0+=F,b.y1+=F,Z(b)}if(o===void 0)p.sort(st);H(p,c)}}function H(e,a){let c=e.length>>1,r=e[c];j(e,r.y0-m,c-1,a),X(e,r.y1+m,c+1,a),j(e,g,e.length-1,a),X(e,l,0,a)}function X(e,a,c,r){for(;c<e.length;++c){let s=e[c],p=(a-s.y0)*r;if(p>0.000001)s.y0+=p,s.y1+=p;a=s.y1+m}}function j(e,a,c,r){for(;c>=0;--c){let s=e[c],p=(s.y1-a)*r;if(p>0.000001)s.y0-=p,s.y1-=p;a=s.y0-m}}function Z({sourceLinks:e,targetLinks:a}){if(h===void 0){for(let{source:{sourceLinks:c}}of a)c.sort(vt);for(let{target:{targetLinks:c}}of e)c.sort(bt)}}function K(e){if(h===void 0)for(let{sourceLinks:a,targetLinks:c}of e)a.sort(vt),c.sort(bt)}function T(e,a){let c=e.y0-(e.sourceLinks.length-1)*m/2;for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c+=s+m}for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c-=s}return c}function V(e,a){let c=a.y0-(a.targetLinks.length-1)*m/2;for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c+=s+m}for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c-=s}return c}return S}function Ot(n){return[n.source.x1,n.y0]}function Rt(n){return[n.target.x0,n.y1]}function it(){return kt().source(Ot).target(Rt)}var xt=function(){var n=t(function(B,i,o,h){for(o=o||{},h=B.length;h--;o[B[h]]=i);return o},"o"),l=[1,9],y=[1,10],g=[1,5,10,12],_={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:t(function(i,o,h,v,x,d,S){var O=d.length-1;switch(x){case 7:let G=v.findOrCreateNode(d[O-4].trim().replaceAll('""','"')),W=v.findOrCreateNode(d[O-2].trim().replaceAll('""','"')),U=parseFloat(d[O].trim());v.addLink(G,W,U);break;case 8:case 9:case 11:this.$=d[O];break;case 10:this.$=d[O-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:l,20:y},{1:[2,6],7:11,10:[1,12]},n(y,[2,4],{9:13,5:[1,14]}),{12:[1,15]},n(g,[2,8]),n(g,[2,9]),{19:[1,16]},n(g,[2,11]),{1:[2,1]},{1:[2,5]},n(y,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:l,20:y},{15:18,16:7,17:8,18:l,20:y},{18:[1,19]},n(y,[2,3]),{12:[1,20]},n(g,[2,10]),{15:21,16:7,17:8,18:l,20:y},n([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:t(function(i,o){if(o.recoverable)this.trace(i);else{var h=Error(i);throw h.hash=o,h}},"parseError"),parse:t(function(i){var o=this,h=[0],v=[],x=[null],d=[],S=this.table,O="",G=0,W=0,U=0,Q=2,q=1,z=d.slice.call(arguments,1),E=Object.create(this.lexer),Y={yy:{}};for(var H in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,H))Y.yy[H]=this.yy[H];if(E.setInput(i,Y.yy),Y.yy.lexer=E,Y.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var X=E.yylloc;d.push(X);var j=E.options&&E.options.ranges;if(typeof Y.yy.parseError==="function")this.parseError=Y.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Z(C){h.length=h.length-2*C,x.length=x.length-C,d.length=d.length-C}t(Z,"popStack");function K(){var C=v.pop()||E.lex()||q;if(typeof C!=="number"){if(C instanceof Array)v=C,C=v.pop();C=o.symbols_[C]||C}return C}t(K,"lex");var T,V,e,a,c,r,s={},p,b,J,M;while(!0){if(e=h[h.length-1],this.defaultActions[e])a=this.defaultActions[e];else{if(T===null||typeof T>"u")T=K();a=S[e]&&S[e][T]}if(typeof a>"u"||!a.length||!a[0]){var F="";M=[];for(p in S[e])if(this.terminals_[p]&&p>Q)M.push("'"+this.terminals_[p]+"'");if(E.showPosition)F="Parse error on line "+(G+1)+`:
2
- `+E.showPosition()+`
3
- Expecting `+M.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else F="Parse error on line "+(G+1)+": Unexpected "+(T==q?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(F,{text:E.match,token:this.terminals_[T]||T,line:E.yylineno,loc:X,expected:M})}if(a[0]instanceof Array&&a.length>1)throw Error("Parse Error: multiple actions possible at state: "+e+", token: "+T);switch(a[0]){case 1:if(h.push(T),x.push(E.yytext),d.push(E.yylloc),h.push(a[1]),T=null,!V){if(W=E.yyleng,O=E.yytext,G=E.yylineno,X=E.yylloc,U>0)U--}else T=V,V=null;break;case 2:if(b=this.productions_[a[1]][1],s.$=x[x.length-b],s._$={first_line:d[d.length-(b||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(b||1)].first_column,last_column:d[d.length-1].last_column},j)s._$.range=[d[d.length-(b||1)].range[0],d[d.length-1].range[1]];if(r=this.performAction.apply(s,[O,W,G,Y.yy,a[1],x,d].concat(z)),typeof r<"u")return r;if(b)h=h.slice(0,-1*b*2),x=x.slice(0,-1*b),d=d.slice(0,-1*b);h.push(this.productions_[a[1]][0]),x.push(s.$),d.push(s._$),J=S[h[h.length-2]][h[h.length-1]],h.push(J);break;case 3:return!0}}return!0},"parse")},w=function(){var B={EOF:1,parseError:t(function(o,h){if(this.yy.parser)this.yy.parser.parseError(o,h);else throw Error(o)},"parseError"),setInput:t(function(i,o){if(this.yy=o||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);if(o)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),i},"input"),unput:t(function(i){var o=i.length,h=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var v=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),h.length-1)this.yylineno-=h.length-1;var x=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:h?(h.length===v.length?this.yylloc.first_column:0)+v[v.length-h.length].length-h[0].length:this.yylloc.first_column-o},this.options.ranges)this.yylloc.range=[x[0],x[0]+this.yyleng-o];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(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),o=Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
- `+o+"^"},"showPosition"),test_match:t(function(i,o){var h,v,x;if(this.options.backtrack_lexer){if(x={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)x.yylloc.range=this.yylloc.range.slice(0)}if(v=i[0].match(/(?:\r\n?|\n).*/g),v)this.yylineno+=v.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:v?v[v.length-1].length-v[v.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],h=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var d in x)this[d]=x[d];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,o,h,v;if(!this._more)this.yytext="",this.match="";var x=this._currentRules();for(var d=0;d<x.length;d++)if(h=this._input.match(this.rules[x[d]]),h&&(!o||h[0].length>o[0].length)){if(o=h,v=d,this.options.backtrack_lexer)if(i=this.test_match(h,x[d]),i!==!1)return i;else if(this._backtrack){o=!1;continue}else return!1;else if(!this.options.flex)break}if(o){if(i=this.test_match(o,x[v]),i!==!1)return i;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 o=this.next();if(o)return o;else return this.lex()},"lex"),begin:t(function(o){this.conditionStack.push(o)},"begin"),popState:t(function(){var o=this.conditionStack.length-1;if(o>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(o){if(o=this.conditionStack.length-1-Math.abs(o||0),o>=0)return this.conditionStack[o];else return"INITIAL"},"topState"),pushState:t(function(o){this.begin(o)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(o,h,v,x){var d=x;switch(v){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return B}();_.lexer=w;function m(){this.yy={}}return t(m,"Parser"),m.prototype=_,_.Parser=m,new m}();xt.parser=xt;var at=xt,ct=[],ut=[],lt=new Map,Nt=t(()=>{ct=[],ut=[],lt=new Map,A()},"clear"),Gt=class{constructor(n,l,y=0){this.source=n,this.target=l,this.value=y}static{t(this,"SankeyLink")}},It=t((n,l,y)=>{ct.push(new Gt(n,l,y))},"addLink"),Mt=class{constructor(n){this.ID=n}static{t(this,"SankeyNode")}},Yt=t((n)=>{n=k.sanitizeText(n,u());let l=lt.get(n);if(l===void 0)l=new Mt(n),lt.set(n,l),ut.push(l);return l},"findOrCreateNode"),Dt=t(()=>ut,"getNodes"),jt=t(()=>ct,"getLinks"),zt=t(()=>({nodes:ut.map((n)=>({id:n.ID})),links:ct.map((n)=>({source:n.source.ID,target:n.target.ID,value:n.value}))}),"getGraph"),Vt={nodesMap:lt,getConfig:t(()=>u().sankey,"getConfig"),getNodes:Dt,getLinks:jt,getGraph:zt,addLink:It,findOrCreateNode:Yt,getAccTitle:I,setAccTitle:R,getAccDescription:D,setAccDescription:L,getDiagramTitle:N,setDiagramTitle:P,clear:Nt},wt=class n{static{t(this,"Uid")}static{this.count=0}static next(l){return new n(l+ ++n.count)}constructor(l){this.id=l,this.href=`#${l}`}toString(){return"url("+this.href+")"}},Ft={left:pt,right:yt,center:mt,justify:rt},Wt=t((n)=>{let l=0,y=0;for(let g of n){let _=g.value??0;if(_>l)l=_,y=g.layer??0}return y},"findCentralNodeLayer"),Ut=t(function(n,l,y,g){let{securityLevel:_,sankey:w}=u(),m=Lr.sankey,B;if(_==="sandbox")B=f("#i"+l);let i=_==="sandbox"?f(B.nodes()[0].contentDocument.body):f("body"),o=_==="sandbox"?i.select(`[id="${l}"]`):f(`[id="${l}"]`),h=w?.width??m.width,v=w?.height??m.width,x=w?.useMaxWidth??m.useMaxWidth,d=w?.nodeAlignment??m.nodeAlignment,S=w?.prefix??m.prefix,O=w?.suffix??m.suffix,G=w?.showValues??m.showValues,W=w?.nodeWidth??m.nodeWidth??10,U=w?.nodePadding??m.nodePadding??12,Q=w?.labelStyle??m.labelStyle??"legacy",q=w?.nodeColors??{},z=g.db.getGraph(),E=Ft[d];ot().nodeId((r)=>r.id).nodeWidth(W).nodePadding(U+(G?15:0)).nodeAlign(E).extent([[0,0],[h,v]])(z);let H=Wt(z.nodes),X=$t(dt),j=t((r)=>q[r]??X(r),"getNodeColor");o.append("g").attr("class","nodes").selectAll(".node").data(z.nodes).join("g").attr("class","node").attr("id",(r)=>(r.uid=wt.next("node-")).id).attr("transform",function(r){return"translate("+r.x0+","+r.y0+")"}).attr("x",(r)=>r.x0).attr("y",(r)=>r.y0).append("rect").attr("height",(r)=>r.y1-r.y0).attr("width",(r)=>r.x1-r.x0).attr("fill",(r)=>j(r.id));let Z=t(({id:r,value:s})=>{if(!G)return r;return`${r}
7
- ${S}${Math.round(s*100)/100}${O}`},"getText"),K=t((r)=>{if(Q==="outlined"){if((r.layer??0)<H)return{x:r.x0-6,anchor:"end"};return{x:r.x1+6,anchor:"start"}}if(r.x0<h/2)return{x:r.x1+6,anchor:"start"};return{x:r.x0-6,anchor:"end"}},"getLabelPosition"),T=o.append("g").attr("class","node-labels").attr("font-size",14),V=t((r)=>T.selectAll(r?`.${r}`:"text").data(z.nodes).join("text").attr("class",r??null).attr("x",(s)=>K(s).x).attr("y",(s)=>(s.y1+s.y0)/2).attr("dy",`${G?"0":"0.35"}em`).attr("text-anchor",(s)=>K(s).anchor).text(Z),"appendLabel");if(Q==="outlined")V("sankey-label-bg"),V("sankey-label-fg");else V();let e=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",0.5).selectAll(".link").data(z.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),a=w?.linkColor??"gradient";if(a==="gradient"){let r=e.append("linearGradient").attr("id",(s)=>(s.uid=wt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",(s)=>s.source.x1).attr("x2",(s)=>s.target.x0);r.append("stop").attr("offset","0%").attr("stop-color",(s)=>j(s.source.id)),r.append("stop").attr("offset","100%").attr("stop-color",(s)=>j(s.target.id))}let c;switch(a){case"gradient":c=t((r)=>r.uid,"coloring");break;case"source":c=t((r)=>j(r.source.id),"coloring");break;case"target":c=t((r)=>j(r.target.id),"coloring");break;default:c=a}e.append("path").attr("d",it()).attr("stroke",c).attr("stroke-width",(r)=>Math.max(1,r.width)),ln(void 0,o,0,x)},"draw"),Ht={draw:Ut},Xt=t((n)=>n.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
8
- `).trim(),"prepareTextForParsing"),Jt=t((n)=>`.label {
9
- font-family: ${n.fontFamily};
10
- }
11
-
12
- .node-labels {
13
- font-family: ${n.fontFamily};
14
- }
15
-
16
- /* Outlined label style - background stroke for better readability */
17
- .sankey-label-bg {
18
- stroke: ${n.mainBkg||n.background||"#fff"};
19
- stroke-width: 4px;
20
- stroke-linejoin: round;
21
- paint-order: stroke;
22
- }
23
-
24
- /* Foreground label text */
25
- .sankey-label-fg {
26
- fill: ${n.textColor};
27
- }
28
-
29
- /* Node styling */
30
- .node rect {
31
- shape-rendering: crispEdges;
32
- }
33
-
34
- /* Link styling */
35
- .link {
36
- fill: none;
37
- stroke-opacity: 0.5;
38
- mix-blend-mode: multiply;
39
- }
40
- `,"getStyles"),Kt=Jt,Qt=at.parse.bind(at);at.parse=(n)=>Qt(Xt(n));var Be={styles:Kt,parser:at,db:Vt,renderer:Ht};export{Be as diagram};
Binary file
Binary file
@@ -1,7 +0,0 @@
1
- import{t,a,Ge,B,S,U,G,A,R,I,L,D,P,N,ea,Q,X,zs}from"./chunk-fzmrnh17.js";import"./chunk-41vh5n86.js";import{$t}from"./chunk-k3aa37pw.js";import{hn}from"./chunk-t72jq97z.js";import{Rn}from"./chunk-drr7mqg2.js";function vt(e,i,s){e=+e,i=+i,s=(o=arguments.length)<2?(i=e,e=0,1):o<3?1:+s;var n=-1,o=Math.max(0,Math.ceil((i-e)/s))|0,c=Array(o);while(++n<o)c[n]=e+n*s;return c}function xt(){var e=$t().unknown(void 0),{domain:i,range:s}=e,n=0,o=1,c,l,f=!1,g=0,b=0,E=0.5;delete e.unknown;function T(){var w=i().length,H=o<n,V=H?o:n,W=H?n:o;if(c=(W-V)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(V+=(W-V-c*(w-g))*E,l=c*(1-g),f)V=Math.round(V),l=Math.round(l);var q=vt(w).map(function(it){return V+c*it});return s(H?q.reverse():q)}return e.domain=function(w){return arguments.length?(i(w),T()):i()},e.range=function(w){return arguments.length?([n,o]=w,n=+n,o=+o,T()):[n,o]},e.rangeRound=function(w){return[n,o]=w,n=+n,o=+o,f=!0,T()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,T()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),T()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),T()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,T()):b},e.align=function(w){return arguments.length?(E=Math.max(0,Math.min(1,w)),T()):E},e.copy=function(){return xt(i(),[n,o]).round(f).paddingInner(g).paddingOuter(b).align(E)},Rn.apply(T(),arguments)}var Pt=function(){var e=t(function(J,h,u,x){for(u=u||{},x=J.length;x--;u[J[x]]=h);return u},"o"),i=[1,10,12,14,16,18,19,21,23],s=[2,6],n=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],E=[1,28],T=[1,29],w=[1,30],H=[1,31],V=[1,32],W=[1,33],q=[1,34],it=[1,35],nt=[1,36],k=[1,37],K=[1,43],d=[1,42],j=[1,47],Z=[1,50],_=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],F=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],z=[26,28],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,v,r,rt){var m=r.length-1;switch(v){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(i,s,{3:1,4:2,7:4,5:n,36:o,37:c,38:l}),{1:[3]},e(i,s,{4:2,7:4,3:8,5:n,36:o,37:c,38:l}),e(i,s,{4:2,7:4,6:9,3:10,5:n,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(i,s,{4:2,7:4,3:21,5:n,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(i,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},{11:39,13:38,24:K,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},{11:45,15:44,29:j,30:g,35:46,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},{11:49,17:48,24:Z,30:g,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},{11:52,17:51,24:Z,30:g,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(_,[2,18]),{1:[2,2]},e(_,[2,8]),e(_,[2,9]),e(ot,[2,39],{41:55,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(F,[2,42]),e(F,[2,44]),e(F,[2,45]),e(F,[2,46]),e(F,[2,47]),e(F,[2,48]),e(F,[2,49]),e(F,[2,50]),e(F,[2,51]),e(F,[2,52]),e(F,[2,53]),e(_,[2,10]),e(_,[2,24],{32:41,31:56,24:K,29:d}),e(_,[2,26]),e(_,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},e(_,[2,11]),e(_,[2,32],{35:60,29:j}),e(_,[2,34]),{33:[1,61]},e(_,[2,12]),{17:62,24:Z},{25:63,27:64,29:gt},e(_,[2,14]),{17:66,24:Z},e(_,[2,16]),e(_,[2,17]),e(F,[2,43]),e(_,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(_,[2,33]),{29:[1,70]},e(_,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(z,[2,23],{30:[1,73]}),e(_,[2,15]),e(_,[2,28]),e(_,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:E,43:T,44:w,45:H,46:V,47:W,48:q,49:it,50:nt,51:k},e(_,[2,35]),e(_,[2,19]),{25:75,27:64,29:gt},e(z,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],v=[null],r=[],rt=this.table,m="",bt=0,Yt=0,Nt=0,xe=2,Ht=1,fe=r.slice.call(arguments,1),O=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(O.setInput(h,ht.yy),ht.yy.lexer=O,ht.yy.parser=this,typeof O.yylloc>"u")O.yylloc={};var Rt=O.yylloc;r.push(Rt);var pe=O.options&&O.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(et){x.length=x.length-2*et,v.length=v.length-et,r.length=r.length-et}t(me,"popStack");function Ut(){var et=p.pop()||O.lex()||Ht;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t(Ut,"lex");var Y,_t,lt,tt,Be,Tt,ut={},yt,at,qt,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])tt=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=Ut();tt=rt[lt]&&rt[lt][Y]}if(typeof tt>"u"||!tt.length||!tt[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>xe)wt.push("'"+this.terminals_[yt]+"'");if(O.showPosition)Dt="Parse error on line "+(bt+1)+`:
2
- `+O.showPosition()+`
3
- Expecting `+wt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(Y==Ht?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Dt,{text:O.match,token:this.terminals_[Y]||Y,line:O.yylineno,loc:Rt,expected:wt})}if(tt[0]instanceof Array&&tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(tt[0]){case 1:if(x.push(Y),v.push(O.yytext),r.push(O.yylloc),x.push(tt[1]),Y=null,!_t){if(Yt=O.yyleng,m=O.yytext,bt=O.yylineno,Rt=O.yylloc,Nt>0)Nt--}else Y=_t,_t=null;break;case 2:if(at=this.productions_[tt[1]][1],ut.$=v[v.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},pe)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Yt,bt,ht.yy,tt[1],v,r].concat(fe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),v=v.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[tt[1]][0]),v.push(ut.$),r.push(ut._$),qt=rt[x[x.length-2]][x[x.length-1]],x.push(qt);break;case 3:return!0}}return!0},"parse")},st=function(){var J={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)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),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=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),x.length-1)this.yylineno-=x.length-1;var v=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[v[0],v[0]+this.yyleng-u];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(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
5
- `+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,v;if(this.options.backtrack_lexer){if(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)v.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in v)this[r]=v[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var r=0;r<v.length;r++)if(x=this._input.match(this.rules[v[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,v[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,v[p]),h!==!1)return h;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 u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>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(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,v){var r=v;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return J}();C.lexer=st;function M(){this.yy={}}return t(M,"Parser"),M.prototype=C,C.Parser=M,new M}();Pt.parser=Pt;var be=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,i){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*i,height:i};let s={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i),o=n.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=zs(n,1,g),E=b?b.width/l:g.length*i,T=b?b.height/f:i;s.width=Math.max(s.width,E),s.height=Math.max(s.height,T)}return n.remove(),s}},Gt=0.7,jt=0.2,Qt=class{constructor(e,i,s,n){this.axisConfig=e,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(Gt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(Gt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let i=e.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth)i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let s=this.getLabelDimension(),n=jt*e.width;this.outerPadding=Math.min(s.width/2,n);let o=s.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*s.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*s.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=s.height,o<=i)i-=o,this.showLabel=!0}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength)this.showTick=!0,i-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=s.height,n<=i)i-=n,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-i}calculateSpaceIfDrawnVertical(e){let i=e.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth)i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let s=this.getLabelDimension(),n=jt*e.height;this.outerPadding=Math.min(s.height/2,n);let o=s.width+this.axisConfig.labelPadding*2;if(o<=i)i-=o,this.showLabel=!0}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength)this.showTick=!0,i-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=s.height,n<=i)i-=n,this.showTitle=!0}this.boundingRect.width=e.width-i,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let i=this.normalizedLabelRotationInRad;if(i===0)return 0;return Math.sin(i)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((i)=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((s)=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((i)=>({text:i.toString(),x:this.getScaleValue(i)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((s)=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((i)=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let i=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((s)=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},ye=class extends Qt{static{t(this,"BandAxis")}constructor(e,i,s,n,o){super(e,n,o,i);this.categories=s,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),a.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends Qt{static{t(this,"LinearAxis")}constructor(e,i,s,n,o){super(e,n,o,i);this.domain=s,this.scale=hn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=hn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,i,s,n){let o=new It(n);if(At(e))return new ye(i,s,e.categories,e.title,o);return new we(i,s,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var ke=class{constructor(e,i,s,n){this.textDimensionCalculator=e,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,e.width),n=i.height+2*this.chartConfig.titlePadding;if(n<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=s,this.boundingRect.height=n,this.titleWidth=i.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,i){let s=Math.min(this.titleWidth,this.chartConfig.width)/2,n=Math.min(Math.max((e+i)/2,s),this.chartConfig.width-s);this.boundingRect.x=n-s,this.boundingRect.width=s*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,i,s,n){let o=new It(n);return new ke(o,e,i,s)}t(Kt,"getChartTitleComponent");var Ae=0.75,Ce=0.5,Se=0.35;function Et(e){return{fontSize:e,markerSize:e*Ae,markerSpacing:e*Se,itemSpacing:e*Ce}}t(Et,"getLegendLayout");var Re=class{constructor(e,i,s,n){this.textDimensionCalculator=e,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:i,markerSize:s,markerSpacing:n,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),i),l=this.chartConfig.legendPadding*2+s+n+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*i+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:i,markerSpacing:s,itemSpacing:n}=Et(this.chartConfig.legendFontSize),o=e+n,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,E]of this.visiblePlots.entries())if(kt(E))f.push({x:c,y:l+b*o,width:i,height:i,fill:E.fill,strokeFill:E.fill,strokeWidth:0});else{let T=l+b*o+i/2;g.push({path:`M ${c},${T} L ${c+i},${T}`,strokeFill:E.strokeFill,strokeWidth:E.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,E)=>({text:b.title,x:c+i+s,y:l+E*o+i/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,i,s,n){let o=new It(n);return new Re(o,e,i,s)}t(Zt,"getChartLegendComponent");var _e=class{constructor(e,i,s,n,o){this.plotData=e,this.xAxis=i,this.yAxis=s,this.orientation=n,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((n)=>[this.xAxis.getScaleValue(n[0]),this.yAxis.getScaleValue(n[1])]),i;if(this.orientation==="horizontal")i=ea().y((n)=>n[0]).x((n)=>n[1])(e);else i=ea().x((n)=>n[0]).y((n)=>n[1])(e);if(!i)return[];let s=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)s.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return s}},Te=class{constructor(e,i,s,n,o,c){this.barData=e,this.boundingRect=i,this.xAxis=s,this.yAxis=n,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),i=0.05,s=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,n=s/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-n,height:s,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-n,y:o[1],width:s,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},De=class{constructor(e,i,s){this.chartConfig=e,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,i){this.xAxis=e,this.yAxis=i}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{let n=new _e(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);e.push(...n.getDrawableElement())}break;case"bar":{let n=new Te(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);e.push(...n.getDrawableElement())}break}return e}};function Jt(e,i,s){return new De(e,i,s)}t(Jt,"getPlotComponent");var ve=class{constructor(e,i,s,n){this.chartConfig=e,this.chartData=i,this.componentStore={title:Kt(e,i,s,n),plot:Jt(e,i,s),legend:Zt(e,i,s,n),xAxis:Lt(i.xAxis,e.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},n),yAxis:Lt(i.yAxis,e.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},n)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,i-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=f.height,i-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:i}),i-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:i}),s=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(i>0)l+=i,i=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.title.alignTo(s,s+c),this.componentStore.legend.setBoundingBoxXY({x:s+c,y:n+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([s,s+c]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:n+l}),this.componentStore.yAxis.setRange([n,n+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,i-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=g.height,i-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:i}),e-=g.width,n=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:i}),i-=g.height,o=s+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(i>0)f+=i,i=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:n,y:o}),this.componentStore.title.alignTo(n,n+l),this.componentStore.legend.setBoundingBoxXY({x:n+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([n,n+l]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:s}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let i of Object.values(this.componentStore))e.push(...i.getDrawableElements());return e}},Pe=class{static{t(this,"XYChartBuilder")}static build(e,i,s,n){return new ve(e,i,s,n).getDrawableElement()}},ft=0,te,pt=Ot(),mt=zt(),y=Vt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function zt(){let e=Ge(),i=S();return X(e.xyChart,i.themeVariables.xyChart)}t(zt,"getChartDefaultThemeConfig");function Ot(){let e=S();return X(B.xyChart,e.xyChart)}t(Ot,"getChartDefaultConfig");function Vt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Vt,"getChartDefaultData");function ct(e){let i=S();return U(e.trim(),i)}t(ct,"textSanitizer");function ee(e){te=e}t(ee,"setTmpSVGG");function ie(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(ie,"setOrientation");function se(e){y.xAxis.title=ct(e.text)}t(se,"setXAxisTitle");function Wt(e,i){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:i},Ct=!0}t(Wt,"setXAxisRangeData");function ne(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((i)=>ct(i.text))},Ct=!0}t(ne,"setXAxisBand");function ae(e){y.yAxis.title=ct(e.text)}t(ae,"setYAxisTitle");function oe(e,i){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:i},Bt=!0}t(oe,"setYAxisRangeData");function re(e){let i=Math.min(...e),s=Math.max(...e),n=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(n,i),max:Math.max(o,s)}}t(re,"setYAxisRangeFromPlotData");function Ft(e){let i=[];if(e.length===0)return i;if(!Ct){let s=dt(y.xAxis)?y.xAxis.min:1/0,n=dt(y.xAxis)?y.xAxis.max:-1/0;Wt(Math.min(s,1),Math.max(n,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)re(e);if(At(y.xAxis))i=y.xAxis.categories.map((s,n)=>[s,e[n]]);if(dt(y.xAxis)){let s=y.xAxis.min,n=y.xAxis.max;if(e.length===1)i=[[`${s}`,e[0]]];else{let o=(n-s)/(e.length-1);i=e.map((c,l)=>[`${s+l*o}`,c])}}return i}t(Ft,"transformDataWithoutCategory");function Xt(e){return Mt[e===0?0:e%Mt.length]}t(Xt,"getPlotColorFromPalette");function he(e,i){let s=i.map((l)=>l.value),n=i.map((l)=>l.label?ct(l.label):""),o=Ft(s),c=n.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Xt(ft),strokeWidth:2,data:o,...c?{pointLabels:n}:{}}),ft++}t(he,"setLineData");function le(e,i){let s=i.map((o)=>o.value),n=Ft(s);y.plots.push({type:"bar",title:ct(e.text),fill:Xt(ft),data:n}),ft++}t(le,"setBarData");function ce(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=N(),Pe.build(pt,y,mt,te)}t(ce,"getDrawableElem");function ge(){return mt}t(ge,"getChartThemeConfig");function ue(){return pt}t(ue,"getChartConfig");function de(){return y}t(de,"getXYChartData");var Le=t(function(){A(),ft=0,pt=Ot(),y=Vt(),mt=zt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Ee={getDrawableElem:ce,clear:Le,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:N,getAccDescription:D,setAccDescription:L,setOrientation:ie,setXAxisTitle:se,setXAxisRangeData:Wt,setXAxisBand:ne,setYAxisTitle:ae,setYAxisRangeData:oe,setLineData:he,setBarData:le,setTmpSVGG:ee,getChartThemeConfig:ge,getChartConfig:ue,getXYChartData:de},Me=t((e,i,s,n)=>{let o=n.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function E(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(E,"getTextTransformation"),a.debug(`Rendering xychart chart
7
- `+e);let T=Q(i),w=T.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");G(T,l.height,l.width,!0),T.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(T.append("g").attr("class","mermaid-tmp-group"));let V=o.getDrawableElem(),W={};function q(k){let K=w,d="";for(let[j]of k.entries()){let Z=w;if(j>0&&W[d])Z=W[d];if(d+=k[j],K=W[d],!K)K=W[d]=Z.append("g").attr("class",k[j])}return K}t(q,"getGroup");for(let k of V){if(k.data.length===0)continue;let K=q(k.groupTexts);switch(k.type){case"rect":if(K.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let j=function(C,st){let{data:M,label:J}=C;return st*J.length*Z<=M.width-_};var it=j;t(j,"fitsHorizontally");let Z=0.7,_=10,ot=k.data.map((C,st)=>({data:C,label:f[st].toString()})).filter((C)=>C.data.width>0&&C.data.height>0),F=ot.map((C)=>{let{data:st}=C,M=st.height*0.7;while(!j(C,M)&&M>0)M-=1;return M}),gt=Math.floor(Math.min(...F)),z=t((C)=>{if(d)return C.data.x+C.data.width+_;else return C.data.x+C.data.width-_},"determineLabelXPosition");K.selectAll("text").data(ot).enter().append("text").attr("x",z).attr("y",(C)=>C.data.y+C.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((C)=>C.label)}else{let j=function(z,C,st){let{data:M,label:J}=z,h=0.7,u=C*J.length*0.7,x=M.x+M.width/2,p=x-u/2,v=x+u/2,r=p>=M.x&&v<=M.x+M.width,rt=M.y+st+C<=M.y+M.height;return r&&rt};var nt=j;t(j,"fitsInBar");let Z=10,_=k.data.map((z,C)=>({data:z,label:f[C].toString()})).filter((z)=>z.data.width>0&&z.data.height>0),ot=_.map((z)=>{let{data:C,label:st}=z,M=C.width/(st.length*0.7);while(!j(z,M,Z)&&M>0)M-=1;return M}),F=Math.floor(Math.min(...ot)),gt=t((z)=>{if(d)return z.data.y-Z;else return z.data.y+Z},"determineLabelYPosition");K.selectAll("text").data(_).enter().append("text").attr("x",(z)=>z.data.x+z.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${F}px`).text((z)=>z.label)}}break;case"text":K.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>E(d)).text((d)=>d.text);break;case"path":K.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Ie={draw:Me},Ze={parser:be,db:Ee,renderer:Ie};export{Ze as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{ws}from"./chunk-bdypt5mj.js";export{ws as createArchitectureServices};
Binary file
Binary file