@bkm016/basalt 0.1.28 → 0.1.29

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 (846) hide show
  1. package/chunk-01fz0kzx.js +2 -0
  2. package/chunk-06k5mcmy.js +4018 -0
  3. package/chunk-14pg1g7b.js +2 -0
  4. package/chunk-1cvzbvsq.js +2 -0
  5. package/chunk-1pgj58dw.js +20 -0
  6. package/chunk-200cn72d.js +16 -0
  7. package/chunk-2nd8hvf3.js +31 -0
  8. package/chunk-39wsmkd7.js +4 -0
  9. package/chunk-54qc1d5t.js +2 -0
  10. package/chunk-59enxka6.js +50 -0
  11. package/chunk-5fs3331q.js +3 -0
  12. package/chunk-674kjaqz.js +2 -0
  13. package/chunk-6pqsx156.js +12 -0
  14. package/chunk-6rw1ex78.js +2 -0
  15. package/chunk-6vz0znf6.js +8 -0
  16. package/chunk-73z1fv3d.js +9 -0
  17. package/chunk-7dnq7g8f.js +3 -0
  18. package/chunk-7emc0sy7.js +11 -0
  19. package/chunk-7nsrfrmx.js +2 -0
  20. package/chunk-8hxsap9d.js +5 -0
  21. package/chunk-8kmtns4v.js +5 -0
  22. package/chunk-9dy56agy.js +51 -0
  23. package/chunk-9mt2k1a7.js +5 -0
  24. package/chunk-9sq7yxh7.js +12 -0
  25. package/chunk-9x1yprjh.js +2 -0
  26. package/chunk-a5k24aj6.js +3 -0
  27. package/chunk-ades3qy7.js +10 -0
  28. package/chunk-ag642nqs.js +8 -0
  29. package/chunk-av3zmcd8.js +3 -0
  30. package/chunk-b1hdfsj4.js +25 -0
  31. package/chunk-b5448t3j.js +2 -0
  32. package/chunk-b6rvzkxg.js +3 -0
  33. package/chunk-b8acka7e.js +2 -0
  34. package/chunk-bh680te4.js +2 -0
  35. package/chunk-cb4rvanv.js +2 -0
  36. package/chunk-d6hcvbkh.js +3 -0
  37. package/chunk-dqxks09b.js +3 -0
  38. package/chunk-eg161ep9.js +3 -0
  39. package/chunk-exjytvzn.js +2 -0
  40. package/chunk-f6kg68bj.js +3 -0
  41. package/chunk-fcxdq1dy.js +7 -0
  42. package/chunk-fkjjadt4.js +3 -0
  43. package/chunk-fr1zvytp.js +7 -0
  44. package/chunk-fx3cc8nr.js +3 -0
  45. package/chunk-hvxc1wyv.js +3 -0
  46. package/chunk-j24fq8ss.js +2 -0
  47. package/chunk-j55tyjct.js +2 -0
  48. package/chunk-jn0dhvkp.js +2 -0
  49. package/chunk-k9dw37w2.js +3 -0
  50. package/chunk-m6bm0739.js +2 -0
  51. package/chunk-mkfdzt82.js +2 -0
  52. package/chunk-nbm1tqvg.js +3 -0
  53. package/chunk-p5ga5as0.js +25 -0
  54. package/chunk-pmefr1ak.js +490 -0
  55. package/chunk-r49sxmnc.js +3 -0
  56. package/chunk-rf6t7zeb.js +286 -0
  57. package/chunk-s0ne3yb9.js +2 -0
  58. package/chunk-s8ybq82n.js +5 -0
  59. package/chunk-spv39wem.js +7 -0
  60. package/chunk-stgqqm7m.js +59 -0
  61. package/chunk-sykaz5bf.js +18 -0
  62. package/chunk-sz0jywpb.js +39 -0
  63. package/chunk-vcngwaee.js +3 -0
  64. package/chunk-vpvznxf4.js +3 -0
  65. package/chunk-vzh6e5f2.js +2 -0
  66. package/chunk-wkvrtjtc.js +2 -0
  67. package/chunk-wzd9b2qk.js +2 -0
  68. package/chunk-x1cva1gc.js +2 -0
  69. package/chunk-x83jcg3x.js +3 -0
  70. package/chunk-xdyee71m.js +10 -0
  71. package/chunk-xdygdssk.js +3 -0
  72. package/chunk-xjcg6cxc.js +3 -0
  73. package/chunk-xran6f0c.js +2 -0
  74. package/chunk-ymn1s2xs.js +3 -0
  75. package/chunk-ysqx0ye8.js +2 -0
  76. package/chunk-z58jafcm.js +3 -0
  77. package/chunk-zf1c6rj7.js +63 -0
  78. package/chunk-zgtahh10.js +44 -0
  79. package/compiled.js +11 -11
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +79 -77
  82. package/web/chunk-0nt1mz09.js +1 -0
  83. package/web/chunk-0nt1mz09.js.br +0 -0
  84. package/web/chunk-0nt1mz09.js.gz +0 -0
  85. package/web/chunk-0yye7ex1.js +1 -0
  86. package/web/chunk-0yye7ex1.js.br +0 -0
  87. package/web/chunk-0yye7ex1.js.gz +0 -0
  88. package/web/chunk-1pffd2va.js +2 -0
  89. package/web/chunk-1pffd2va.js.br +0 -0
  90. package/web/chunk-1pffd2va.js.gz +0 -0
  91. package/web/chunk-368znnfs.js +1 -0
  92. package/web/chunk-368znnfs.js.br +0 -0
  93. package/web/chunk-368znnfs.js.gz +0 -0
  94. package/web/chunk-3tx9tqfb.js +291 -0
  95. package/web/chunk-3tx9tqfb.js.br +0 -0
  96. package/web/chunk-3tx9tqfb.js.gz +0 -0
  97. package/web/chunk-46ht4dh6.js +24 -0
  98. package/web/chunk-46ht4dh6.js.br +0 -0
  99. package/web/chunk-46ht4dh6.js.gz +0 -0
  100. package/web/chunk-4c418rk9.js +1 -0
  101. package/web/chunk-4c418rk9.js.br +2 -0
  102. package/web/chunk-4c418rk9.js.gz +0 -0
  103. package/web/chunk-4p0sm8e7.js +7 -0
  104. package/web/chunk-4p0sm8e7.js.br +0 -0
  105. package/web/chunk-4p0sm8e7.js.gz +0 -0
  106. package/web/chunk-4zam960g.js +1 -0
  107. package/web/chunk-4zam960g.js.br +0 -0
  108. package/web/chunk-4zam960g.js.gz +0 -0
  109. package/web/chunk-5h63t21g.js +1 -0
  110. package/web/chunk-5h63t21g.js.br +0 -0
  111. package/web/chunk-5h63t21g.js.gz +0 -0
  112. package/web/chunk-5h7xm5mn.js +1 -0
  113. package/web/chunk-5h7xm5mn.js.br +0 -0
  114. package/web/chunk-5h7xm5mn.js.gz +0 -0
  115. package/web/chunk-6crex674.js +89 -0
  116. package/web/chunk-6crex674.js.br +0 -0
  117. package/web/chunk-6crex674.js.gz +0 -0
  118. package/web/chunk-6v031vc6.js +21 -0
  119. package/web/chunk-6v031vc6.js.br +0 -0
  120. package/web/chunk-6v031vc6.js.gz +0 -0
  121. package/web/chunk-782gfmtk.js +38 -0
  122. package/web/chunk-782gfmtk.js.br +0 -0
  123. package/web/chunk-782gfmtk.js.gz +0 -0
  124. package/web/chunk-7a6szg06.js +2 -0
  125. package/web/chunk-7a6szg06.js.br +0 -0
  126. package/web/chunk-7a6szg06.js.gz +0 -0
  127. package/web/chunk-7dvbxn34.js +4 -0
  128. package/web/chunk-7dvbxn34.js.br +0 -0
  129. package/web/chunk-7dvbxn34.js.gz +0 -0
  130. package/web/chunk-7g795nba.js +1 -0
  131. package/web/chunk-7g795nba.js.br +2 -0
  132. package/web/chunk-7g795nba.js.gz +0 -0
  133. package/web/chunk-8fymhvne.js +1 -0
  134. package/web/chunk-8fymhvne.js.br +0 -0
  135. package/web/chunk-8fymhvne.js.gz +0 -0
  136. package/web/chunk-8kcp1h63.js +1 -0
  137. package/web/chunk-8kcp1h63.js.br +0 -0
  138. package/web/chunk-8kcp1h63.js.gz +0 -0
  139. package/web/chunk-8vtr60yn.js +2 -0
  140. package/web/chunk-8vtr60yn.js.br +0 -0
  141. package/web/chunk-8vtr60yn.js.gz +0 -0
  142. package/web/chunk-8y14zggg.js +2 -0
  143. package/web/chunk-8y14zggg.js.br +0 -0
  144. package/web/chunk-8y14zggg.js.gz +0 -0
  145. package/web/chunk-8zg840m3.js +1 -0
  146. package/web/chunk-8zg840m3.js.br +0 -0
  147. package/web/chunk-8zg840m3.js.gz +0 -0
  148. package/web/chunk-940sc4ny.js +7 -0
  149. package/web/chunk-940sc4ny.js.br +0 -0
  150. package/web/chunk-940sc4ny.js.gz +0 -0
  151. package/web/chunk-94f4sz0m.js +1 -0
  152. package/web/chunk-94f4sz0m.js.br +0 -0
  153. package/web/chunk-94f4sz0m.js.gz +0 -0
  154. package/web/chunk-94jy9s3n.js +55 -0
  155. package/web/chunk-94jy9s3n.js.br +0 -0
  156. package/web/chunk-94jy9s3n.js.gz +0 -0
  157. package/web/chunk-97qfkg6n.js +30 -0
  158. package/web/chunk-97qfkg6n.js.br +0 -0
  159. package/web/chunk-97qfkg6n.js.gz +0 -0
  160. package/web/chunk-99mgkmjb.js +62 -0
  161. package/web/chunk-99mgkmjb.js.br +0 -0
  162. package/web/chunk-99mgkmjb.js.gz +0 -0
  163. package/web/chunk-9afn27bs.js +1 -0
  164. package/web/chunk-9afn27bs.js.br +2 -0
  165. package/web/chunk-9afn27bs.js.gz +0 -0
  166. package/web/chunk-aw4h94zp.js +1 -0
  167. package/web/chunk-aw4h94zp.js.br +0 -0
  168. package/web/chunk-aw4h94zp.js.gz +0 -0
  169. package/web/chunk-azdhgj11.js +40 -0
  170. package/web/chunk-azdhgj11.js.br +0 -0
  171. package/web/chunk-azdhgj11.js.gz +0 -0
  172. package/web/chunk-batey85v.js +2 -0
  173. package/web/chunk-batey85v.js.br +0 -0
  174. package/web/chunk-batey85v.js.gz +0 -0
  175. package/web/chunk-brbxfap5.js +99 -0
  176. package/web/chunk-brbxfap5.js.br +0 -0
  177. package/web/chunk-brbxfap5.js.gz +0 -0
  178. package/web/chunk-bxc8a663.js +2 -0
  179. package/web/chunk-bxc8a663.js.br +0 -0
  180. package/web/chunk-bxc8a663.js.gz +0 -0
  181. package/web/chunk-c2t7zyge.js +169 -0
  182. package/web/chunk-c2t7zyge.js.br +0 -0
  183. package/web/chunk-c2t7zyge.js.gz +0 -0
  184. package/web/chunk-c5bfa3rp.js +1 -0
  185. package/web/chunk-c5bfa3rp.js.br +0 -0
  186. package/web/chunk-c5bfa3rp.js.gz +0 -0
  187. package/web/chunk-c86a6am5.js +2 -0
  188. package/web/chunk-c86a6am5.js.br +3 -0
  189. package/web/chunk-c86a6am5.js.gz +0 -0
  190. package/web/chunk-dgtp38mj.js +1 -0
  191. package/web/chunk-dgtp38mj.js.br +0 -0
  192. package/web/chunk-dgtp38mj.js.gz +0 -0
  193. package/web/chunk-e4h4dg4y.js +303 -0
  194. package/web/chunk-e4h4dg4y.js.br +0 -0
  195. package/web/chunk-e4h4dg4y.js.gz +0 -0
  196. package/web/chunk-e5f8e2ta.js +1 -0
  197. package/web/chunk-e5f8e2ta.js.br +0 -0
  198. package/web/chunk-e5f8e2ta.js.gz +0 -0
  199. package/web/chunk-e7rwnv7e.js +1 -0
  200. package/web/chunk-e7rwnv7e.js.br +0 -0
  201. package/web/chunk-e7rwnv7e.js.gz +0 -0
  202. package/web/chunk-ef9tqrz4.js +324 -0
  203. package/web/chunk-ef9tqrz4.js.br +0 -0
  204. package/web/chunk-ef9tqrz4.js.gz +0 -0
  205. package/web/chunk-ekcnhcm0.js +1 -0
  206. package/web/chunk-ekcnhcm0.js.br +0 -0
  207. package/web/chunk-ekcnhcm0.js.gz +0 -0
  208. package/web/chunk-ekkdhece.js +41 -0
  209. package/web/chunk-ekkdhece.js.br +0 -0
  210. package/web/chunk-ekkdhece.js.gz +0 -0
  211. package/web/chunk-enbqe508.js +36 -0
  212. package/web/chunk-enbqe508.js.br +0 -0
  213. package/web/chunk-enbqe508.js.gz +0 -0
  214. package/web/chunk-ev517x0c.js +1 -0
  215. package/web/chunk-ev517x0c.js.br +0 -0
  216. package/web/chunk-ev517x0c.js.gz +0 -0
  217. package/web/chunk-ex47jeev.js +1 -0
  218. package/web/chunk-ex47jeev.js.br +0 -0
  219. package/web/chunk-ex47jeev.js.gz +0 -0
  220. package/web/chunk-ft9p7cr8.js +8 -0
  221. package/web/chunk-ft9p7cr8.js.br +0 -0
  222. package/web/chunk-ft9p7cr8.js.gz +0 -0
  223. package/web/chunk-fybmc8p1.js +1 -0
  224. package/web/chunk-fybmc8p1.js.br +0 -0
  225. package/web/chunk-fybmc8p1.js.gz +0 -0
  226. package/web/chunk-g6e50kx0.js +3 -0
  227. package/web/chunk-g6e50kx0.js.br +0 -0
  228. package/web/chunk-g6e50kx0.js.gz +0 -0
  229. package/web/chunk-g6grehr5.css +1 -0
  230. package/web/chunk-g6grehr5.css.br +0 -0
  231. package/web/chunk-g6grehr5.css.gz +0 -0
  232. package/web/chunk-gbzfq3rg.js +332 -0
  233. package/web/chunk-gbzfq3rg.js.br +0 -0
  234. package/web/chunk-gbzfq3rg.js.gz +0 -0
  235. package/web/chunk-gsg8yq3m.js +1 -0
  236. package/web/chunk-gsg8yq3m.js.br +0 -0
  237. package/web/chunk-gsg8yq3m.js.gz +0 -0
  238. package/web/chunk-hgcgbxns.js +1 -0
  239. package/web/chunk-hgcgbxns.js.br +0 -0
  240. package/web/chunk-hgcgbxns.js.gz +0 -0
  241. package/web/chunk-hh8ck7sy.js +2 -0
  242. package/web/chunk-hh8ck7sy.js.br +0 -0
  243. package/web/chunk-hh8ck7sy.js.gz +0 -0
  244. package/web/chunk-hj18pw9f.js +2 -0
  245. package/web/chunk-hj18pw9f.js.br +0 -0
  246. package/web/chunk-hj18pw9f.js.gz +0 -0
  247. package/web/chunk-hk4jd2qq.js +24 -0
  248. package/web/chunk-hk4jd2qq.js.br +0 -0
  249. package/web/chunk-hk4jd2qq.js.gz +0 -0
  250. package/web/chunk-hrnx1576.js +4 -0
  251. package/web/chunk-hrnx1576.js.br +0 -0
  252. package/web/chunk-hrnx1576.js.gz +0 -0
  253. package/web/chunk-j0ns5dyq.js +120 -0
  254. package/web/chunk-j0ns5dyq.js.br +0 -0
  255. package/web/chunk-j0ns5dyq.js.gz +0 -0
  256. package/web/chunk-j21a7pd1.js +1 -0
  257. package/web/chunk-j21a7pd1.js.br +0 -0
  258. package/web/chunk-j21a7pd1.js.gz +0 -0
  259. package/web/chunk-jbejy8k3.js +1139 -0
  260. package/web/chunk-jbejy8k3.js.br +0 -0
  261. package/web/chunk-jbejy8k3.js.gz +0 -0
  262. package/web/chunk-jeq99z4t.js +70 -0
  263. package/web/chunk-jeq99z4t.js.br +0 -0
  264. package/web/chunk-jeq99z4t.js.gz +0 -0
  265. package/web/chunk-jqq07zta.js +1 -0
  266. package/web/chunk-jqq07zta.js.br +0 -0
  267. package/web/chunk-jqq07zta.js.gz +0 -0
  268. package/web/chunk-k6m37v6k.js +1 -0
  269. package/web/chunk-k6m37v6k.js.br +0 -0
  270. package/web/chunk-k6m37v6k.js.gz +0 -0
  271. package/web/chunk-kajk2w5j.js +217 -0
  272. package/web/chunk-kajk2w5j.js.br +0 -0
  273. package/web/chunk-kajk2w5j.js.gz +0 -0
  274. package/web/chunk-kcrypnnf.js +1 -0
  275. package/web/chunk-kcrypnnf.js.br +0 -0
  276. package/web/chunk-kcrypnnf.js.gz +0 -0
  277. package/web/chunk-kyksv8an.js +1 -0
  278. package/web/chunk-kyksv8an.js.br +2 -0
  279. package/web/chunk-kyksv8an.js.gz +0 -0
  280. package/web/chunk-mkhcq6z6.js +1 -0
  281. package/web/chunk-mkhcq6z6.js.br +0 -0
  282. package/web/chunk-mkhcq6z6.js.gz +0 -0
  283. package/web/chunk-mytypet0.js +2 -0
  284. package/web/chunk-mytypet0.js.br +0 -0
  285. package/web/chunk-mytypet0.js.gz +0 -0
  286. package/web/chunk-mzb086jr.js +1 -0
  287. package/web/chunk-mzb086jr.js.br +0 -0
  288. package/web/chunk-mzb086jr.js.gz +0 -0
  289. package/web/chunk-mzevfdmp.js +1 -0
  290. package/web/chunk-mzevfdmp.js.br +0 -0
  291. package/web/chunk-mzevfdmp.js.gz +0 -0
  292. package/web/chunk-n7c5sndg.js +1 -0
  293. package/web/chunk-n7c5sndg.js.br +0 -0
  294. package/web/chunk-n7c5sndg.js.gz +0 -0
  295. package/web/chunk-ned200k0.js +84 -0
  296. package/web/chunk-ned200k0.js.br +0 -0
  297. package/web/chunk-ned200k0.js.gz +0 -0
  298. package/web/chunk-ngcd5a3c.js +1 -0
  299. package/web/chunk-ngcd5a3c.js.br +0 -0
  300. package/web/chunk-ngcd5a3c.js.gz +0 -0
  301. package/web/chunk-nx14h1a6.js +1 -0
  302. package/web/chunk-nx14h1a6.js.br +0 -0
  303. package/web/chunk-nx14h1a6.js.gz +0 -0
  304. package/web/chunk-p3fv7nbz.js +1 -0
  305. package/web/chunk-p3fv7nbz.js.br +0 -0
  306. package/web/chunk-p3fv7nbz.js.gz +0 -0
  307. package/web/chunk-pktgtyf6.js +1 -0
  308. package/web/chunk-pktgtyf6.js.br +0 -0
  309. package/web/chunk-pktgtyf6.js.gz +0 -0
  310. package/web/chunk-pm504vps.js +89 -0
  311. package/web/chunk-pm504vps.js.br +0 -0
  312. package/web/chunk-pm504vps.js.gz +0 -0
  313. package/web/chunk-pnvkphs0.js +12 -0
  314. package/web/chunk-pnvkphs0.js.br +0 -0
  315. package/web/chunk-pnvkphs0.js.gz +0 -0
  316. package/web/chunk-ptvshaa0.js +2 -0
  317. package/web/chunk-ptvshaa0.js.br +0 -0
  318. package/web/chunk-ptvshaa0.js.gz +0 -0
  319. package/web/chunk-py4737sc.js +39 -0
  320. package/web/chunk-py4737sc.js.br +0 -0
  321. package/web/chunk-py4737sc.js.gz +0 -0
  322. package/web/chunk-pz5wcbdv.js +139 -0
  323. package/web/chunk-pz5wcbdv.js.br +0 -0
  324. package/web/chunk-pz5wcbdv.js.gz +0 -0
  325. package/web/chunk-q467b529.js +1 -0
  326. package/web/chunk-q467b529.js.br +0 -0
  327. package/web/chunk-q467b529.js.gz +0 -0
  328. package/web/chunk-qbvbfpx8.js +1 -0
  329. package/web/chunk-qbvbfpx8.js.br +0 -0
  330. package/web/chunk-qbvbfpx8.js.gz +0 -0
  331. package/web/chunk-qgfc4ptt.js +7 -0
  332. package/web/chunk-qgfc4ptt.js.br +0 -0
  333. package/web/chunk-qgfc4ptt.js.gz +0 -0
  334. package/web/chunk-qmmss130.js +2 -0
  335. package/web/chunk-qmmss130.js.br +0 -0
  336. package/web/chunk-qmmss130.js.gz +0 -0
  337. package/web/chunk-qqrzr444.js +2 -0
  338. package/web/chunk-qqrzr444.js.br +0 -0
  339. package/web/chunk-qqrzr444.js.gz +0 -0
  340. package/web/chunk-r2fjprkk.js +1 -0
  341. package/web/chunk-r2fjprkk.js.br +0 -0
  342. package/web/chunk-r2fjprkk.js.gz +0 -0
  343. package/web/chunk-rcn21n5e.js +214 -0
  344. package/web/chunk-rcn21n5e.js.br +0 -0
  345. package/web/chunk-rcn21n5e.js.gz +0 -0
  346. package/web/chunk-rpnw9xwe.js +1 -0
  347. package/web/chunk-rpnw9xwe.js.br +0 -0
  348. package/web/chunk-rpnw9xwe.js.gz +0 -0
  349. package/web/chunk-rv5h4d8w.js +1 -0
  350. package/web/chunk-rv5h4d8w.js.br +0 -0
  351. package/web/chunk-rv5h4d8w.js.gz +0 -0
  352. package/web/chunk-s8e8gzvn.js +16 -0
  353. package/web/chunk-s8e8gzvn.js.br +0 -0
  354. package/web/chunk-s8e8gzvn.js.gz +0 -0
  355. package/web/chunk-sa57mndb.js +1 -0
  356. package/web/chunk-sa57mndb.js.br +0 -0
  357. package/web/chunk-sa57mndb.js.gz +0 -0
  358. package/web/chunk-sc90h9bd.js +2 -0
  359. package/web/chunk-sc90h9bd.js.br +0 -0
  360. package/web/chunk-sc90h9bd.js.gz +0 -0
  361. package/web/chunk-t44qa4yt.js +200 -0
  362. package/web/chunk-t44qa4yt.js.br +0 -0
  363. package/web/chunk-t44qa4yt.js.gz +0 -0
  364. package/web/chunk-t8b8cdak.js +2 -0
  365. package/web/chunk-t8b8cdak.js.br +0 -0
  366. package/web/chunk-t8b8cdak.js.gz +0 -0
  367. package/web/chunk-t9cgbcf2.js +1 -0
  368. package/web/chunk-t9cgbcf2.js.br +0 -0
  369. package/web/chunk-t9cgbcf2.js.gz +0 -0
  370. package/web/chunk-tk8kf0bf.js +2 -0
  371. package/web/chunk-tk8kf0bf.js.br +0 -0
  372. package/web/chunk-tk8kf0bf.js.gz +0 -0
  373. package/web/chunk-tt3v857c.js +106 -0
  374. package/web/chunk-tt3v857c.js.br +0 -0
  375. package/web/chunk-tt3v857c.js.gz +0 -0
  376. package/web/chunk-vjnmqaam.js +2 -0
  377. package/web/chunk-vjnmqaam.js.br +0 -0
  378. package/web/chunk-vjnmqaam.js.gz +0 -0
  379. package/web/chunk-vp5qf59s.js +1 -0
  380. package/web/chunk-vp5qf59s.js.br +0 -0
  381. package/web/chunk-vp5qf59s.js.gz +0 -0
  382. package/web/chunk-wrax5wt5.js +292 -0
  383. package/web/chunk-wrax5wt5.js.br +0 -0
  384. package/web/chunk-wrax5wt5.js.gz +0 -0
  385. package/web/chunk-xk8637wb.js +1 -0
  386. package/web/chunk-xk8637wb.js.br +0 -0
  387. package/web/chunk-xk8637wb.js.gz +0 -0
  388. package/web/chunk-yarejzzs.js +142 -0
  389. package/web/chunk-yarejzzs.js.br +0 -0
  390. package/web/chunk-yarejzzs.js.gz +0 -0
  391. package/web/chunk-yg6ys554.js +1 -0
  392. package/web/chunk-yg6ys554.js.br +0 -0
  393. package/web/chunk-yg6ys554.js.gz +0 -0
  394. package/web/chunk-yq6xkb5w.js +370 -0
  395. package/web/chunk-yq6xkb5w.js.br +0 -0
  396. package/web/chunk-yq6xkb5w.js.gz +0 -0
  397. package/web/chunk-yw98mr7e.js +2 -0
  398. package/web/chunk-yw98mr7e.js.br +0 -0
  399. package/web/chunk-yw98mr7e.js.gz +0 -0
  400. package/web/chunk-z07kf12w.js +78 -0
  401. package/web/chunk-z07kf12w.js.br +0 -0
  402. package/web/chunk-z07kf12w.js.gz +0 -0
  403. package/web/chunk-z5sk390b.js +2 -0
  404. package/web/chunk-z5sk390b.js.br +0 -0
  405. package/web/chunk-z5sk390b.js.gz +0 -0
  406. package/web/chunk-zh2szkjy.js +140 -0
  407. package/web/chunk-zh2szkjy.js.br +0 -0
  408. package/web/chunk-zh2szkjy.js.gz +0 -0
  409. package/web/chunk-zrmm67mx.js +34 -0
  410. package/web/chunk-zrmm67mx.js.br +0 -0
  411. package/web/chunk-zrmm67mx.js.gz +0 -0
  412. package/web/chunk-zyfr25n1.js +98 -0
  413. package/web/chunk-zyfr25n1.js.br +0 -0
  414. package/web/chunk-zyfr25n1.js.gz +0 -0
  415. package/web/chunk-zykkmwba.js +2 -0
  416. package/web/chunk-zykkmwba.js.br +0 -0
  417. package/web/chunk-zykkmwba.js.gz +0 -0
  418. package/web/chunk-zzs4h31m.js +2 -0
  419. package/web/chunk-zzs4h31m.js.br +0 -0
  420. package/web/chunk-zzs4h31m.js.gz +0 -0
  421. package/web/index.html +1 -1
  422. package/web/index.html.br +0 -0
  423. package/web/index.html.gz +0 -0
  424. package/worker.js +1 -1
  425. package/chunk-00jhevnt.js +0 -3
  426. package/chunk-04tx0etc.js +0 -2
  427. package/chunk-0r86p29p.js +0 -7
  428. package/chunk-10x1zefx.js +0 -25
  429. package/chunk-1amcz1cz.js +0 -10
  430. package/chunk-1pfdps04.js +0 -2
  431. package/chunk-206g40v9.js +0 -59
  432. package/chunk-2364s958.js +0 -7
  433. package/chunk-3fv2qcpg.js +0 -12
  434. package/chunk-3zz4a5tn.js +0 -31
  435. package/chunk-45wfmdts.js +0 -44
  436. package/chunk-4hkwjw05.js +0 -2
  437. package/chunk-4n4wn5cj.js +0 -4014
  438. package/chunk-4pq7ycp2.js +0 -5
  439. package/chunk-5e0qfdgx.js +0 -5
  440. package/chunk-78yngmvf.js +0 -51
  441. package/chunk-7hpf9qq2.js +0 -3
  442. package/chunk-82dkdvs9.js +0 -2
  443. package/chunk-8913dkey.js +0 -3
  444. package/chunk-8g1sbmwf.js +0 -3
  445. package/chunk-8hfch7d0.js +0 -2
  446. package/chunk-90arpvgz.js +0 -2
  447. package/chunk-912knnfg.js +0 -11
  448. package/chunk-97bazdk3.js +0 -20
  449. package/chunk-9akexjfn.js +0 -2
  450. package/chunk-9dgmbwcc.js +0 -2
  451. package/chunk-a454ntda.js +0 -50
  452. package/chunk-acd2cwza.js +0 -3
  453. package/chunk-ach16jbw.js +0 -2
  454. package/chunk-ax823t5v.js +0 -3
  455. package/chunk-b03hg30w.js +0 -2
  456. package/chunk-bh29df86.js +0 -5
  457. package/chunk-bhpg72c4.js +0 -2
  458. package/chunk-bwww6j2q.js +0 -2
  459. package/chunk-c126k8wc.js +0 -2
  460. package/chunk-cb3jgak9.js +0 -3
  461. package/chunk-cjeyy6da.js +0 -3
  462. package/chunk-cs4gb2hb.js +0 -2
  463. package/chunk-en5t6hwd.js +0 -3
  464. package/chunk-f4n1csz0.js +0 -3
  465. package/chunk-j16smb6d.js +0 -2
  466. package/chunk-j7eqp97m.js +0 -2
  467. package/chunk-jdrqn8m1.js +0 -2
  468. package/chunk-jp1gqkbp.js +0 -4
  469. package/chunk-jrcvxscb.js +0 -9
  470. package/chunk-k8zq95wr.js +0 -2
  471. package/chunk-ken7ras9.js +0 -8
  472. package/chunk-kqgpjmcf.js +0 -2
  473. package/chunk-krbdx24j.js +0 -3
  474. package/chunk-ky2ym708.js +0 -8
  475. package/chunk-kzfy666j.js +0 -16
  476. package/chunk-n0stnnxv.js +0 -2
  477. package/chunk-n9m2pagh.js +0 -2
  478. package/chunk-nedvy6yk.js +0 -10
  479. package/chunk-ng5g0fy3.js +0 -3
  480. package/chunk-nqeqasyt.js +0 -7
  481. package/chunk-nt30x5a7.js +0 -3
  482. package/chunk-q1s5r204.js +0 -3
  483. package/chunk-qj0vfk01.js +0 -2
  484. package/chunk-qqfdg01g.js +0 -3
  485. package/chunk-rj6qknjx.js +0 -12
  486. package/chunk-rvrj0nrs.js +0 -3
  487. package/chunk-sbhj5h2q.js +0 -2
  488. package/chunk-t71zzafh.js +0 -3
  489. package/chunk-t7fwvzmh.js +0 -3
  490. package/chunk-tpv5hz99.js +0 -5
  491. package/chunk-tx2rrrtq.js +0 -2
  492. package/chunk-tyzzbhr5.js +0 -3
  493. package/chunk-tzbefwf0.js +0 -286
  494. package/chunk-v4p8807b.js +0 -18
  495. package/chunk-vnxjcym9.js +0 -17
  496. package/chunk-w35r8v6x.js +0 -39
  497. package/chunk-wbygknv2.js +0 -3
  498. package/chunk-wk63htqy.js +0 -2
  499. package/chunk-wwazj6mz.js +0 -3
  500. package/chunk-xpc75mkw.js +0 -25
  501. package/chunk-ypxn8bec.js +0 -3
  502. package/chunk-yztc2q9q.js +0 -490
  503. package/web/chunk-02z7yrhn.js +0 -2
  504. package/web/chunk-02z7yrhn.js.br +0 -0
  505. package/web/chunk-02z7yrhn.js.gz +0 -0
  506. package/web/chunk-0an1eqtf.js +0 -1
  507. package/web/chunk-0an1eqtf.js.br +0 -0
  508. package/web/chunk-0an1eqtf.js.gz +0 -0
  509. package/web/chunk-128zy60g.js +0 -99
  510. package/web/chunk-128zy60g.js.br +0 -0
  511. package/web/chunk-128zy60g.js.gz +0 -0
  512. package/web/chunk-1e2jy7m2.js +0 -139
  513. package/web/chunk-1e2jy7m2.js.br +0 -0
  514. package/web/chunk-1e2jy7m2.js.gz +0 -0
  515. package/web/chunk-1v3e001f.js +0 -1
  516. package/web/chunk-1v3e001f.js.br +0 -0
  517. package/web/chunk-1v3e001f.js.gz +0 -0
  518. package/web/chunk-214p3rj6.js +0 -41
  519. package/web/chunk-214p3rj6.js.br +0 -0
  520. package/web/chunk-214p3rj6.js.gz +0 -0
  521. package/web/chunk-29byd5kf.js +0 -89
  522. package/web/chunk-29byd5kf.js.br +0 -0
  523. package/web/chunk-29byd5kf.js.gz +0 -0
  524. package/web/chunk-3fbh1wxk.js +0 -62
  525. package/web/chunk-3fbh1wxk.js.br +0 -0
  526. package/web/chunk-3fbh1wxk.js.gz +0 -0
  527. package/web/chunk-3fnrzj1h.js +0 -98
  528. package/web/chunk-3fnrzj1h.js.br +0 -0
  529. package/web/chunk-3fnrzj1h.js.gz +0 -0
  530. package/web/chunk-3g1095m7.js +0 -78
  531. package/web/chunk-3g1095m7.js.br +0 -0
  532. package/web/chunk-3g1095m7.js.gz +0 -0
  533. package/web/chunk-3nn7w4hw.js +0 -2
  534. package/web/chunk-3nn7w4hw.js.br +0 -0
  535. package/web/chunk-3nn7w4hw.js.gz +0 -0
  536. package/web/chunk-3qa8xcdr.js +0 -1
  537. package/web/chunk-3qa8xcdr.js.br +0 -0
  538. package/web/chunk-3qa8xcdr.js.gz +0 -0
  539. package/web/chunk-3x69jfmh.js +0 -332
  540. package/web/chunk-3x69jfmh.js.br +0 -0
  541. package/web/chunk-3x69jfmh.js.gz +0 -0
  542. package/web/chunk-4v6m77sv.css +0 -1
  543. package/web/chunk-4v6m77sv.css.br +0 -0
  544. package/web/chunk-4v6m77sv.css.gz +0 -0
  545. package/web/chunk-4vk6xma5.js +0 -1
  546. package/web/chunk-4vk6xma5.js.br +0 -0
  547. package/web/chunk-4vk6xma5.js.gz +0 -0
  548. package/web/chunk-50pdas2t.js +0 -1
  549. package/web/chunk-50pdas2t.js.br +0 -0
  550. package/web/chunk-50pdas2t.js.gz +0 -0
  551. package/web/chunk-56a6zytc.js +0 -1139
  552. package/web/chunk-56a6zytc.js.br +0 -0
  553. package/web/chunk-56a6zytc.js.gz +0 -0
  554. package/web/chunk-5ckj4zez.js +0 -1
  555. package/web/chunk-5ckj4zez.js.br +0 -2
  556. package/web/chunk-5ckj4zez.js.gz +0 -0
  557. package/web/chunk-5mr8z024.js +0 -2
  558. package/web/chunk-5mr8z024.js.br +0 -0
  559. package/web/chunk-5mr8z024.js.gz +0 -0
  560. package/web/chunk-5q4pemdh.js +0 -1
  561. package/web/chunk-5q4pemdh.js.br +0 -0
  562. package/web/chunk-5q4pemdh.js.gz +0 -0
  563. package/web/chunk-63ft76vs.js +0 -1
  564. package/web/chunk-63ft76vs.js.br +0 -0
  565. package/web/chunk-63ft76vs.js.gz +0 -0
  566. package/web/chunk-67ynxnvq.js +0 -8
  567. package/web/chunk-67ynxnvq.js.br +0 -0
  568. package/web/chunk-67ynxnvq.js.gz +0 -0
  569. package/web/chunk-6c2pv79h.js +0 -1
  570. package/web/chunk-6c2pv79h.js.br +0 -0
  571. package/web/chunk-6c2pv79h.js.gz +0 -0
  572. package/web/chunk-719tz8xw.js +0 -1
  573. package/web/chunk-719tz8xw.js.br +0 -0
  574. package/web/chunk-719tz8xw.js.gz +0 -0
  575. package/web/chunk-77nxgqqb.js +0 -4
  576. package/web/chunk-77nxgqqb.js.br +0 -0
  577. package/web/chunk-77nxgqqb.js.gz +0 -0
  578. package/web/chunk-7c59jb8d.js +0 -2
  579. package/web/chunk-7c59jb8d.js.br +0 -0
  580. package/web/chunk-7c59jb8d.js.gz +0 -0
  581. package/web/chunk-7ed5jf6e.js +0 -36
  582. package/web/chunk-7ed5jf6e.js.br +0 -0
  583. package/web/chunk-7ed5jf6e.js.gz +0 -0
  584. package/web/chunk-891bpx3c.js +0 -70
  585. package/web/chunk-891bpx3c.js.br +0 -0
  586. package/web/chunk-891bpx3c.js.gz +0 -0
  587. package/web/chunk-8h4dc48v.js +0 -292
  588. package/web/chunk-8h4dc48v.js.br +0 -0
  589. package/web/chunk-8h4dc48v.js.gz +0 -0
  590. package/web/chunk-96n00vam.js +0 -1
  591. package/web/chunk-96n00vam.js.br +0 -0
  592. package/web/chunk-96n00vam.js.gz +0 -0
  593. package/web/chunk-9bs7khrr.js +0 -24
  594. package/web/chunk-9bs7khrr.js.br +0 -0
  595. package/web/chunk-9bs7khrr.js.gz +0 -0
  596. package/web/chunk-9ctyqr3n.js +0 -169
  597. package/web/chunk-9ctyqr3n.js.br +0 -0
  598. package/web/chunk-9ctyqr3n.js.gz +0 -0
  599. package/web/chunk-9qdx0ekk.js +0 -142
  600. package/web/chunk-9qdx0ekk.js.br +0 -0
  601. package/web/chunk-9qdx0ekk.js.gz +0 -0
  602. package/web/chunk-9r0rnt6d.js +0 -214
  603. package/web/chunk-9r0rnt6d.js.br +0 -0
  604. package/web/chunk-9r0rnt6d.js.gz +0 -0
  605. package/web/chunk-a11ev6ff.js +0 -1
  606. package/web/chunk-a11ev6ff.js.br +0 -0
  607. package/web/chunk-a11ev6ff.js.gz +0 -0
  608. package/web/chunk-ac9g3w7v.js +0 -1
  609. package/web/chunk-ac9g3w7v.js.br +0 -0
  610. package/web/chunk-ac9g3w7v.js.gz +0 -0
  611. package/web/chunk-ackts7ph.js +0 -24
  612. package/web/chunk-ackts7ph.js.br +0 -0
  613. package/web/chunk-ackts7ph.js.gz +0 -0
  614. package/web/chunk-asyqrf38.js +0 -1
  615. package/web/chunk-asyqrf38.js.br +0 -0
  616. package/web/chunk-asyqrf38.js.gz +0 -0
  617. package/web/chunk-b13crsv9.js +0 -1
  618. package/web/chunk-b13crsv9.js.br +0 -0
  619. package/web/chunk-b13crsv9.js.gz +0 -0
  620. package/web/chunk-brg2zcv5.js +0 -55
  621. package/web/chunk-brg2zcv5.js.br +0 -0
  622. package/web/chunk-brg2zcv5.js.gz +0 -0
  623. package/web/chunk-bw9crrb4.js +0 -1
  624. package/web/chunk-bw9crrb4.js.br +0 -0
  625. package/web/chunk-bw9crrb4.js.gz +0 -0
  626. package/web/chunk-c3d08dw1.js +0 -1
  627. package/web/chunk-c3d08dw1.js.br +0 -0
  628. package/web/chunk-c3d08dw1.js.gz +0 -0
  629. package/web/chunk-cgwnzse1.js +0 -16
  630. package/web/chunk-cgwnzse1.js.br +0 -0
  631. package/web/chunk-cgwnzse1.js.gz +0 -0
  632. package/web/chunk-cm4fjb6j.js +0 -2
  633. package/web/chunk-cm4fjb6j.js.br +0 -0
  634. package/web/chunk-cm4fjb6j.js.gz +0 -0
  635. package/web/chunk-cys4n4sv.js +0 -1
  636. package/web/chunk-cys4n4sv.js.br +0 -0
  637. package/web/chunk-cys4n4sv.js.gz +0 -0
  638. package/web/chunk-djrvdzsb.js +0 -89
  639. package/web/chunk-djrvdzsb.js.br +0 -0
  640. package/web/chunk-djrvdzsb.js.gz +0 -0
  641. package/web/chunk-dsffzc1e.js +0 -2
  642. package/web/chunk-dsffzc1e.js.br +0 -0
  643. package/web/chunk-dsffzc1e.js.gz +0 -0
  644. package/web/chunk-e1wy8050.js +0 -370
  645. package/web/chunk-e1wy8050.js.br +0 -0
  646. package/web/chunk-e1wy8050.js.gz +0 -0
  647. package/web/chunk-ebknmxdp.js +0 -2
  648. package/web/chunk-ebknmxdp.js.br +0 -0
  649. package/web/chunk-ebknmxdp.js.gz +0 -0
  650. package/web/chunk-egjv760p.js +0 -2
  651. package/web/chunk-egjv760p.js.br +0 -0
  652. package/web/chunk-egjv760p.js.gz +0 -0
  653. package/web/chunk-etpd8y98.js +0 -1
  654. package/web/chunk-etpd8y98.js.br +0 -0
  655. package/web/chunk-etpd8y98.js.gz +0 -0
  656. package/web/chunk-f5kr9p2k.js +0 -1
  657. package/web/chunk-f5kr9p2k.js.br +0 -2
  658. package/web/chunk-f5kr9p2k.js.gz +0 -0
  659. package/web/chunk-fjhqg9ag.js +0 -2
  660. package/web/chunk-fjhqg9ag.js.br +0 -0
  661. package/web/chunk-fjhqg9ag.js.gz +0 -0
  662. package/web/chunk-fyr6rm2p.js +0 -2
  663. package/web/chunk-fyr6rm2p.js.br +0 -0
  664. package/web/chunk-fyr6rm2p.js.gz +0 -0
  665. package/web/chunk-grjq1g15.js +0 -1
  666. package/web/chunk-grjq1g15.js.br +0 -0
  667. package/web/chunk-grjq1g15.js.gz +0 -0
  668. package/web/chunk-h4bzgvbg.js +0 -303
  669. package/web/chunk-h4bzgvbg.js.br +0 -0
  670. package/web/chunk-h4bzgvbg.js.gz +0 -0
  671. package/web/chunk-heen0v5d.js +0 -12
  672. package/web/chunk-heen0v5d.js.br +0 -0
  673. package/web/chunk-heen0v5d.js.gz +0 -0
  674. package/web/chunk-henez15c.js +0 -4
  675. package/web/chunk-henez15c.js.br +0 -0
  676. package/web/chunk-henez15c.js.gz +0 -0
  677. package/web/chunk-hpcvwdkg.js +0 -1
  678. package/web/chunk-hpcvwdkg.js.br +0 -0
  679. package/web/chunk-hpcvwdkg.js.gz +0 -0
  680. package/web/chunk-hpvyk6rz.js +0 -324
  681. package/web/chunk-hpvyk6rz.js.br +0 -0
  682. package/web/chunk-hpvyk6rz.js.gz +0 -0
  683. package/web/chunk-j0dyf1g8.js +0 -2
  684. package/web/chunk-j0dyf1g8.js.br +0 -3
  685. package/web/chunk-j0dyf1g8.js.gz +0 -0
  686. package/web/chunk-jb89v31q.js +0 -1
  687. package/web/chunk-jb89v31q.js.br +0 -0
  688. package/web/chunk-jb89v31q.js.gz +0 -0
  689. package/web/chunk-jb949ewp.js +0 -217
  690. package/web/chunk-jb949ewp.js.br +0 -0
  691. package/web/chunk-jb949ewp.js.gz +0 -0
  692. package/web/chunk-je4bf95v.js +0 -1
  693. package/web/chunk-je4bf95v.js.br +0 -0
  694. package/web/chunk-je4bf95v.js.gz +0 -0
  695. package/web/chunk-js6c1973.js +0 -1
  696. package/web/chunk-js6c1973.js.br +0 -0
  697. package/web/chunk-js6c1973.js.gz +0 -0
  698. package/web/chunk-k140nr54.js +0 -1
  699. package/web/chunk-k140nr54.js.br +0 -0
  700. package/web/chunk-k140nr54.js.gz +0 -0
  701. package/web/chunk-k89686qj.js +0 -2
  702. package/web/chunk-k89686qj.js.br +0 -0
  703. package/web/chunk-k89686qj.js.gz +0 -0
  704. package/web/chunk-kknrn2wb.js +0 -84
  705. package/web/chunk-kknrn2wb.js.br +0 -0
  706. package/web/chunk-kknrn2wb.js.gz +0 -0
  707. package/web/chunk-mhtzdq9d.js +0 -140
  708. package/web/chunk-mhtzdq9d.js.br +0 -0
  709. package/web/chunk-mhtzdq9d.js.gz +0 -0
  710. package/web/chunk-mrnj2k3v.js +0 -2
  711. package/web/chunk-mrnj2k3v.js.br +0 -0
  712. package/web/chunk-mrnj2k3v.js.gz +0 -0
  713. package/web/chunk-my0k5w7f.js +0 -39
  714. package/web/chunk-my0k5w7f.js.br +0 -0
  715. package/web/chunk-my0k5w7f.js.gz +0 -0
  716. package/web/chunk-n08727ym.js +0 -34
  717. package/web/chunk-n08727ym.js.br +0 -0
  718. package/web/chunk-n08727ym.js.gz +0 -0
  719. package/web/chunk-n5ghyxwk.js +0 -38
  720. package/web/chunk-n5ghyxwk.js.br +0 -0
  721. package/web/chunk-n5ghyxwk.js.gz +0 -0
  722. package/web/chunk-nt21rjrm.js +0 -21
  723. package/web/chunk-nt21rjrm.js.br +0 -0
  724. package/web/chunk-nt21rjrm.js.gz +0 -0
  725. package/web/chunk-nzgj9qx5.js +0 -2
  726. package/web/chunk-nzgj9qx5.js.br +0 -0
  727. package/web/chunk-nzgj9qx5.js.gz +0 -0
  728. package/web/chunk-p9wm0dv3.js +0 -1
  729. package/web/chunk-p9wm0dv3.js.br +0 -0
  730. package/web/chunk-p9wm0dv3.js.gz +0 -0
  731. package/web/chunk-pqh9yszs.js +0 -106
  732. package/web/chunk-pqh9yszs.js.br +0 -0
  733. package/web/chunk-pqh9yszs.js.gz +0 -0
  734. package/web/chunk-q0vsqq43.js +0 -1
  735. package/web/chunk-q0vsqq43.js.br +0 -0
  736. package/web/chunk-q0vsqq43.js.gz +0 -0
  737. package/web/chunk-qv5d69fn.js +0 -2
  738. package/web/chunk-qv5d69fn.js.br +0 -0
  739. package/web/chunk-qv5d69fn.js.gz +0 -0
  740. package/web/chunk-r7afv22v.js +0 -2
  741. package/web/chunk-r7afv22v.js.br +0 -0
  742. package/web/chunk-r7afv22v.js.gz +0 -0
  743. package/web/chunk-rc6at4k5.js +0 -291
  744. package/web/chunk-rc6at4k5.js.br +0 -0
  745. package/web/chunk-rc6at4k5.js.gz +0 -0
  746. package/web/chunk-rnsvrehz.js +0 -30
  747. package/web/chunk-rnsvrehz.js.br +0 -0
  748. package/web/chunk-rnsvrehz.js.gz +0 -0
  749. package/web/chunk-rsmhn1fq.js +0 -1
  750. package/web/chunk-rsmhn1fq.js.br +0 -0
  751. package/web/chunk-rsmhn1fq.js.gz +0 -0
  752. package/web/chunk-s1p271av.js +0 -1
  753. package/web/chunk-s1p271av.js.br +0 -0
  754. package/web/chunk-s1p271av.js.gz +0 -0
  755. package/web/chunk-s6a13wxe.js +0 -2
  756. package/web/chunk-s6a13wxe.js.br +0 -0
  757. package/web/chunk-s6a13wxe.js.gz +0 -0
  758. package/web/chunk-sc4kwbnh.js +0 -1
  759. package/web/chunk-sc4kwbnh.js.br +0 -2
  760. package/web/chunk-sc4kwbnh.js.gz +0 -0
  761. package/web/chunk-scebh2ee.js +0 -1
  762. package/web/chunk-scebh2ee.js.br +0 -0
  763. package/web/chunk-scebh2ee.js.gz +0 -0
  764. package/web/chunk-shtkgxz6.js +0 -2
  765. package/web/chunk-shtkgxz6.js.br +0 -0
  766. package/web/chunk-shtkgxz6.js.gz +0 -0
  767. package/web/chunk-spmfwbhd.js +0 -1
  768. package/web/chunk-spmfwbhd.js.br +0 -0
  769. package/web/chunk-spmfwbhd.js.gz +0 -0
  770. package/web/chunk-svtenejf.js +0 -1
  771. package/web/chunk-svtenejf.js.br +0 -0
  772. package/web/chunk-svtenejf.js.gz +0 -0
  773. package/web/chunk-t9z1bp8j.js +0 -3
  774. package/web/chunk-t9z1bp8j.js.br +0 -0
  775. package/web/chunk-t9z1bp8j.js.gz +0 -0
  776. package/web/chunk-tbgavq0t.js +0 -2
  777. package/web/chunk-tbgavq0t.js.br +0 -0
  778. package/web/chunk-tbgavq0t.js.gz +0 -0
  779. package/web/chunk-tnttdgsc.js +0 -1
  780. package/web/chunk-tnttdgsc.js.br +0 -0
  781. package/web/chunk-tnttdgsc.js.gz +0 -0
  782. package/web/chunk-tp3fpa0t.js +0 -1
  783. package/web/chunk-tp3fpa0t.js.br +0 -0
  784. package/web/chunk-tp3fpa0t.js.gz +0 -0
  785. package/web/chunk-txdkp6yc.js +0 -7
  786. package/web/chunk-txdkp6yc.js.br +0 -0
  787. package/web/chunk-txdkp6yc.js.gz +0 -0
  788. package/web/chunk-v34mwgx8.js +0 -1
  789. package/web/chunk-v34mwgx8.js.br +0 -0
  790. package/web/chunk-v34mwgx8.js.gz +0 -0
  791. package/web/chunk-vtp01n96.js +0 -1
  792. package/web/chunk-vtp01n96.js.br +0 -0
  793. package/web/chunk-vtp01n96.js.gz +0 -0
  794. package/web/chunk-vx1qmkbm.js +0 -120
  795. package/web/chunk-vx1qmkbm.js.br +0 -0
  796. package/web/chunk-vx1qmkbm.js.gz +0 -0
  797. package/web/chunk-vxx451tt.js +0 -1
  798. package/web/chunk-vxx451tt.js.br +0 -0
  799. package/web/chunk-vxx451tt.js.gz +0 -0
  800. package/web/chunk-w8epfc0c.js +0 -1
  801. package/web/chunk-w8epfc0c.js.br +0 -0
  802. package/web/chunk-w8epfc0c.js.gz +0 -0
  803. package/web/chunk-whgh2r7d.js +0 -200
  804. package/web/chunk-whgh2r7d.js.br +0 -0
  805. package/web/chunk-whgh2r7d.js.gz +0 -0
  806. package/web/chunk-x0p1n5ws.js +0 -1
  807. package/web/chunk-x0p1n5ws.js.br +0 -2
  808. package/web/chunk-x0p1n5ws.js.gz +0 -0
  809. package/web/chunk-x2tk9zeq.js +0 -1
  810. package/web/chunk-x2tk9zeq.js.br +0 -0
  811. package/web/chunk-x2tk9zeq.js.gz +0 -0
  812. package/web/chunk-xbt045kt.js +0 -1
  813. package/web/chunk-xbt045kt.js.br +0 -2
  814. package/web/chunk-xbt045kt.js.gz +0 -0
  815. package/web/chunk-xh3agbvb.js +0 -7
  816. package/web/chunk-xh3agbvb.js.br +0 -0
  817. package/web/chunk-xh3agbvb.js.gz +0 -0
  818. package/web/chunk-xpw1spgj.js +0 -40
  819. package/web/chunk-xpw1spgj.js.br +0 -0
  820. package/web/chunk-xpw1spgj.js.gz +0 -0
  821. package/web/chunk-y2jkaf1e.js +0 -2
  822. package/web/chunk-y2jkaf1e.js.br +0 -0
  823. package/web/chunk-y2jkaf1e.js.gz +0 -0
  824. package/web/chunk-yp2jydfj.js +0 -1
  825. package/web/chunk-yp2jydfj.js.br +0 -0
  826. package/web/chunk-yp2jydfj.js.gz +0 -0
  827. package/web/chunk-yxp1es3b.js +0 -1
  828. package/web/chunk-yxp1es3b.js.br +0 -0
  829. package/web/chunk-yxp1es3b.js.gz +0 -0
  830. package/web/chunk-yzrww95m.js +0 -7
  831. package/web/chunk-yzrww95m.js.br +0 -0
  832. package/web/chunk-yzrww95m.js.gz +0 -0
  833. package/web/chunk-z502b5p0.js +0 -1
  834. package/web/chunk-z502b5p0.js.br +0 -0
  835. package/web/chunk-z502b5p0.js.gz +0 -0
  836. package/web/chunk-zny7cya7.js +0 -1
  837. package/web/chunk-zny7cya7.js.br +0 -2
  838. package/web/chunk-zny7cya7.js.gz +0 -0
  839. package/web/chunk-zq1qbaxb.js +0 -2
  840. package/web/chunk-zq1qbaxb.js.br +0 -0
  841. package/web/chunk-zq1qbaxb.js.gz +0 -0
  842. /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
  843. /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
  844. /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
  845. /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
  846. /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
@@ -0,0 +1,291 @@
1
+ import{t,i,st,C,L,M,P,R,I,O,D,u,g,nc,H,De,Ne,Me,mn,He,Ue}from"./chunk-e4h4dg4y.js";import{$n}from"./chunk-ptvshaa0.js";import{ze}from"./chunk-t8b8cdak.js";import{Pe}from"./chunk-c86a6am5.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],d=[2,4],f=[1,9],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],B=[1,33],G=[1,20],W=[1,21],x=[1,22],S=[1,23],Y=[1,24],w=[1,26],z=[1,27],V=[1,28],K=[1,29],A=[1,30],rt=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],it=[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,p,n,k,_,a,at){var h=a.length-1;switch(_){case 3:return k.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var ct=a[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:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:k.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[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:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},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:B,57:it},{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:B,57:it},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:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},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:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},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,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],k=[],_=[null],a=[],at=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=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(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var N,Nt,et,j,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(N===null||typeof N>"u")N=Mt();j=at[et]&&at[et][N]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in at[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
2
+ `+v.showPosition()+`
3
+ Expecting `+Dt.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(N==_t?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[N]||N,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+N);switch(j[0]){case 1:if(n.push(N),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),N=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,ct>0)ct--}else N=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],nt.$=_[_.length-q],nt._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)nt._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(nt,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(nt.$),a.push(nt._$),Wt=at[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(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||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 p=c.match(/(?:\r\n?|\n).*/g);if(p)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 p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var k=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 _=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===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-p];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(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
+ `+p+"^"},"showPosition"),test_match:t(function(c,p){var n,k,_;if(this.options.backtrack_lexer){if(_={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)_.yylloc.range=this.yylloc.range.slice(0)}if(k=c[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.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,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,_[k]),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 p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>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(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,k,_){function a(){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)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var at=_;switch(k){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(!a())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(!a())return;return this.popState(),"ID";break;case 66:if(!a())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(!a())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",Te="note",Ee="noteGroup",pt="statediagram",_e="state",ve=`${pt}-${_e}`,re="transition",Ce="note",Ae="note-edge",xe=`${re} ${Ae}`,Le=`${pt}-${Ce}`,we="cluster",Ie=`${pt}-${we}`,Oe="cluster-alt",Re=`${pt}-${Oe}`,ie="parent",ae="note",$e="state",Yt="----",Fe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=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++,f=r?void 0:d;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let d=l!==null&&l.length>0?`${r}${l}`:"";return`${$e}-${e}${d}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,d,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,d,f,y,m);break;case ft:ut(e,o,l,r,d,f,y,m);break;case Bt:{ut(e,o.state1,l,r,d,f,y,m),ut(e,o.state2,l,r,d,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};d.push(E),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 f=l.get(d);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.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,f,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),B=le(T),G=u(),W=E.trim()!==""||B.length>0;if(i.info("dataFetcher parsedItem",s,T,B),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,G),cssClasses:`${E} ${ve}`,cssStyles:B});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,G)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ie} ${f?Re:""}`;let Y={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(Y.shape===Gt)Y.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),Y.parentId=e.id;if(Y.centerLabel=!0,s.note){let w={labelStyle:"",shape:Te,label:s.note.text,labelType:"markdown",cssClasses:Le,cssStyles:[],cssCompiledStyles:[],id:o+Fe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:G.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,V={labelStyle:"",shape:Ee,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,V.id=z,w.parentId=z,dt(r,V,m),dt(r,w,m),dt(r,Y,m);let K=o,A=w.id;if(s.note.position==="left of")K=w.id,A=o;d.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:xe,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,Y,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,d,!f,y,m)},"dataFetcher"),Ye=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"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:d,state:f,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,d);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((G,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=m.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let Y=o.node()?.querySelectorAll("g.node, g.rough-node"),w;if(Y?.forEach((A)=>{let rt=A.textContent?.trim();if(A.id===S?.domId||rt===x)w=A}),!w){i.warn("⚠️ Could not find node matching text:",x);return}let z=w.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let V=document.createElementNS("http://www.w3.org/2000/svg","a"),K=G.url.replace(/^"+|"+$/g,"");if(V.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),V.setAttribute("target","_blank"),G.tooltip){let A=G.tooltip.replace(/^"+|"+$/g,"");V.setAttribute("title",A),w.setAttribute("title",A)}z.replaceChild(V,w),V.appendChild(w),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,G.url)})}catch(B){i.error("❌ Error injecting clickable links:",B)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Pe(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},F={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=P,this.setAccTitle=M,this.getAccDescription=I,this.setAccDescription=R,this.setDiagramTitle=O,this.getDiagramTitle=D,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();Ye(),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 f=r.trim();this.addState(f),d=this.getState(f)}if(d)d.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.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===F.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 f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(d),r.push(y),d=[]}else d.push(f);if(r.length>0&&d.length>0){let f={stmt:lt,id:nc(),type:"divider",doc:Ct(d)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!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,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.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 T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(d){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=d,T.note.text=C.sanitizeText(T.note.text,u())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.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,L()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===F.START_NODE)return this.startEndCount++,`${F.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===F.START_NODE?F.START_TYPE:s}endIdIfNeeded(e=""){if(e===F.END_NODE)return this.startEndCount++,`${F.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===F.END_NODE?F.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),d=this.startTypeIfNeeded(e.id.trim(),e.type),f=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(f,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.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),f=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,d),this.addState(f,y),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.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(C.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(F.STYLECLASS_SEP).forEach((r)=>{let d=r.replace(/([^;]*);/,"$1").trim();if(RegExp(F.COLOR_KEYWORD).exec(r)){let y=d.replace(F.FILL_KEYWORD,F.BG_FILL).replace(F.COLOR_KEYWORD,F.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(d)})}getClasses(){return this.classes}setupToolTips(e){let s=$n();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(d)=>{let f=g(d.currentTarget),y=f.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(st.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(d)=>{s.transition().duration(500).style("opacity",0),g(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(!Ne(s,r))return"";let d=Me(e.look),f=De(l),y="";for(let m=0;m<mn(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[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
+ ${E}.statediagram-cluster rect.outer {
11
+ stroke: ${o};
12
+ ${T}
13
+ }
14
+
15
+ ${E}.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
+ ${E}.statediagram-cluster rect.divider {
22
+ stroke: ${o};
23
+ ${T}
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
+ ${E}.statediagram-cluster .outer path[stroke='none'] {
39
+ ${T}
40
+ }
41
+
42
+ ${E}.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
+ ${E}.statediagram-cluster .divider path[stroke='none'] {
59
+ ${T}
60
+ }
61
+
62
+ ${E}.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:je,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -0,0 +1,24 @@
1
+ import{ae}from"./chunk-mytypet0.js";import{t,i,Ke,F,A,W,L,M,P,R,I,O,D,g,J,$i,E,Z}from"./chunk-e4h4dg4y.js";import{Dn}from"./chunk-5h7xm5mn.js";import{fe}from"./chunk-yarejzzs.js";import{Ut}from"./chunk-7a6szg06.js";import{Pe}from"./chunk-c86a6am5.js";function Xe(e){var r=0,n=e.children,l=n&&n.length;if(!l)r=1;else while(--l>=0)r+=n[l].value;e.value=r}function me(){return this.eachAfter(Xe)}function ge(e,r){let n=-1;for(let l of this)e.call(r,l,++n,this);return this}function ye(e,r){var n=this,l=[n],o,p,u=-1;while(n=l.pop())if(e.call(r,n,++u,this),o=n.children)for(p=o.length-1;p>=0;--p)l.push(o[p]);return this}function xe(e,r){var n=this,l=[n],o=[],p,u,f,S=-1;while(n=l.pop())if(o.push(n),p=n.children)for(u=0,f=p.length;u<f;++u)l.push(p[u]);while(n=o.pop())e.call(r,n,++S,this);return this}function Se(e,r){let n=-1;for(let l of this)if(e.call(r,l,++n,this))return l}function ve(e){return this.eachAfter(function(r){var n=+e(r.data)||0,l=r.children,o=l&&l.length;while(--o>=0)n+=l[o].value;r.value=n})}function be(e){return this.eachBefore(function(r){if(r.children)r.children.sort(e)})}function we(e){var r=this,n=Ye(r,e),l=[r];while(r!==n)r=r.parent,l.push(r);var o=l.length;while(e!==n)l.splice(o,0,e),e=e.parent;return l}function Ye(e,r){if(e===r)return e;var n=e.ancestors(),l=r.ancestors(),o=null;e=n.pop(),r=l.pop();while(e===r)o=e,e=n.pop(),r=l.pop();return o}function Ce(){var e=this,r=[e];while(e=e.parent)r.push(e);return r}function Te(){return Array.from(this)}function Le(){var e=[];return this.eachBefore(function(r){if(!r.children)e.push(r)}),e}function $e(){var e=this,r=[];return e.each(function(n){if(n!==e)r.push({source:n.parent,target:n})}),r}function*Ae(){var e=this,r,n=[e],l,o,p;do{r=n.reverse(),n=[];while(e=r.pop())if(yield e,l=e.children)for(o=0,p=l.length;o<p;++o)n.push(l[o])}while(n.length)}function te(e,r){if(e instanceof Map){if(e=[void 0,e],r===void 0)r=Ue}else if(r===void 0)r=Ze;var n=new se(e),l,o=[n],p,u,f,S;while(l=o.pop())if((u=r(l.data))&&(S=(u=Array.from(u)).length)){l.children=u;for(f=S-1;f>=0;--f)o.push(p=u[f]=new se(u[f])),p.parent=l,p.depth=l.depth+1}return n.eachBefore(Qe)}function je(){return te(this).eachBefore(Je)}function Ze(e){return e.children}function Ue(e){return Array.isArray(e)?e[1]:null}function Je(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function Qe(e){var r=0;do e.height=r;while((e=e.parent)&&e.height<++r)}function se(e){this.data=e,this.depth=this.height=0,this.parent=null}se.prototype=te.prototype={constructor:se,count:me,each:ge,eachAfter:xe,eachBefore:ye,find:Se,sum:ve,sort:be,path:we,ancestors:Ce,descendants:Te,leaves:Le,links:$e,copy:je,[Symbol.iterator]:Ae};function Ve(e){if(typeof e!=="function")throw Error();return e}function re(){return 0}function U(e){return function(){return e}}function Fe(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Ne(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(l-r)/e.value;while(++f<S)u=p[f],u.y0=n,u.y1=o,u.x0=r,u.x1=r+=u.value*d}function ke(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(o-n)/e.value;while(++f<S)u=p[f],u.x0=r,u.x1=l,u.y0=n,u.y1=n+=u.value*d}var et=(1+Math.sqrt(5))/2;function tt(e,r,n,l,o,p){var u=[],f=r.children,S,d,h=0,T=0,s=f.length,C,b,w=r.value,m,v,q,B,K,le,G;while(h<s){C=o-n,b=p-l;do m=f[T++].value;while(!m&&T<s);v=q=m,le=Math.max(b/C,C/b)/(w*e),G=m*m*le,K=Math.max(q/G,G/v);for(;T<s;++T){if(m+=d=f[T].value,d<v)v=d;if(d>q)q=d;if(G=m*m*le,B=Math.max(q/G,G/v),B>K){m-=d;break}K=B}if(u.push(S={value:m,dice:C<b,children:f.slice(h,T)}),S.dice)Ne(S,n,l,o,w?l+=b*m/w:p);else ke(S,n,l,w?n+=C*m/w:o,p);w-=m,h=T}return u}var Be=function e(r){function n(l,o,p,u,f){tt(r,l,o,p,u,f)}return n.ratio=function(l){return e((l=+l)>1?l:1)},n}(et);function de(){var e=Be,r=!1,n=1,l=1,o=[0],p=re,u=re,f=re,S=re,d=re;function h(s){if(s.x0=s.y0=0,s.x1=n,s.y1=l,s.eachBefore(T),o=[0],r)s.eachBefore(Fe);return s}function T(s){var C=o[s.depth],b=s.x0+C,w=s.y0+C,m=s.x1-C,v=s.y1-C;if(m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;if(s.x0=b,s.y0=w,s.x1=m,s.y1=v,s.children){if(C=o[s.depth+1]=p(s)/2,b+=d(s)-C,w+=u(s)-C,m-=f(s)-C,v-=S(s)-C,m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;e(s,b,w,m,v)}}return h.round=function(s){return arguments.length?(r=!!s,h):r},h.size=function(s){return arguments.length?(n=+s[0],l=+s[1],h):[n,l]},h.tile=function(s){return arguments.length?(e=Ve(s),h):e},h.padding=function(s){return arguments.length?h.paddingInner(s).paddingOuter(s):h.paddingInner()},h.paddingInner=function(s){return arguments.length?(p=typeof s==="function"?s:U(+s),h):p},h.paddingOuter=function(s){return arguments.length?h.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s):h.paddingTop()},h.paddingTop=function(s){return arguments.length?(u=typeof s==="function"?s:U(+s),h):u},h.paddingRight=function(s){return arguments.length?(f=typeof s==="function"?s:U(+s),h):f},h.paddingBottom=function(s){return arguments.length?(S=typeof s==="function"?s:U(+s),h):S},h.paddingLeft=function(s){return arguments.length?(d=typeof s==="function"?s:U(+s),h):d},h}var Ee=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=F,r=A();return Z({...e.treemap,...r.treemap??{}})}addNode(e,r){if(this.nodes.push(e),this.levels.set(e,r),r===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},l=r.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(l)l.forEach((o)=>{if($i(o))if(n?.textStyles)n.textStyles.push(o);else n.textStyles=[o];if(n?.styles)n.styles.push(o);else n.styles=[o]});this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){L(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function Re(e){if(!e.length)return[];let r=[],n=[];return e.forEach((l)=>{let o={name:l.name,children:l.type==="Leaf"?void 0:[]};if(o.classSelector=l?.classSelector,l?.cssCompiledStyles)o.cssCompiledStyles=l.cssCompiledStyles;if(l.type==="Leaf"&&l.value!==void 0)o.value=l.value;while(n.length>0&&n[n.length-1].level>=l.level)n.pop();if(n.length===0)r.push(o);else{let p=n[n.length-1].node;if(p.children)p.children.push(o);else p.children=[o]}if(l.type!=="Leaf")n.push({node:o,level:l.level})}),r}t(Re,"buildHierarchy");var at=t((e,r)=>{ae(e,r);let n=[];for(let p of e.TreemapRows??[])if(p.$type==="ClassDefStatement")r.addClass(p.className??"",p.styleText??"");for(let p of e.TreemapRows??[]){let u=p.item;if(!u)continue;let f=p.indent?parseInt(p.indent):0,S=rt(u),d=u.classSelector?r.getStylesForClass(u.classSelector):[],h=d.length>0?d:void 0,T={level:f,name:S,type:u.$type,value:u.value,classSelector:u.classSelector,cssCompiledStyles:h};n.push(T)}let l=Re(n),o=t((p,u)=>{for(let f of p)if(r.addNode(f,u),f.children&&f.children.length>0)o(f.children,u+1)},"addNodesRecursively");o(l,0)},"populate"),rt=t((e)=>e.name?String(e.name):"","getItemName"),We={parser:{yy:void 0},parse:t(async(e)=>{try{let n=await fe("treemap",e);i.debug("Treemap AST:",n);let l=We.parser?.yy;if(!(l instanceof Ee))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");at(n,l)}catch(r){throw i.error("Error parsing treemap:",r),r}},"parse")},nt=10,ne=10,ie=25,lt=t((e,r,n,l)=>{let o=l.db,p=o.getConfig(),u=p.padding??nt,f=o.getDiagramTitle(),S=o.getRoot(),{themeVariables:d}=A();if(!S)return;let h=f?30:0,T=J(r),s=p.nodeWidth?p.nodeWidth*ne:960,C=p.nodeHeight?p.nodeHeight*ne:500,b=s,w=C+h;T.attr("viewBox",`0 0 ${b} ${w}`),W(T,w,b,p.useMaxWidth);let m;try{let a=p.valueFormat||",";if(a==="$0,0")m=t((c)=>"$"+Dn(",")(c),"valueFormat");else if(a.startsWith("$")&&a.includes(",")){let c=/\.\d+/.exec(a),y=c?c[0]:"";m=t((N)=>"$"+Dn(","+y)(N),"valueFormat")}else if(a.startsWith("$")){let c=a.substring(1);m=t((y)=>"$"+Dn(c||"")(y),"valueFormat")}else m=Dn(a)}catch(a){i.error("Error creating format function:",a),m=Dn(",")}let v=Ut().range(["transparent",d.cScale0,d.cScale1,d.cScale2,d.cScale3,d.cScale4,d.cScale5,d.cScale6,d.cScale7,d.cScale8,d.cScale9,d.cScale10,d.cScale11]),q=Ut().range(["transparent",d.cScalePeer0,d.cScalePeer1,d.cScalePeer2,d.cScalePeer3,d.cScalePeer4,d.cScalePeer5,d.cScalePeer6,d.cScalePeer7,d.cScalePeer8,d.cScalePeer9,d.cScalePeer10,d.cScalePeer11]),B=Ut().range([d.cScaleLabel0,d.cScaleLabel1,d.cScaleLabel2,d.cScaleLabel3,d.cScaleLabel4,d.cScaleLabel5,d.cScaleLabel6,d.cScaleLabel7,d.cScaleLabel8,d.cScaleLabel9,d.cScaleLabel10,d.cScaleLabel11]);if(f)T.append("text").attr("x",b/2).attr("y",h/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(f);let K=T.append("g").attr("transform",`translate(0, ${h})`).attr("class","treemapContainer"),le=te(S).sum((a)=>a.value??0).sort((a,c)=>(c.value??0)-(a.value??0)),Me=de().size([s,C]).paddingTop((a)=>a.children&&a.children.length>0?ie+ne:0).paddingInner(u).paddingLeft((a)=>a.children&&a.children.length>0?ne:0).paddingRight((a)=>a.children&&a.children.length>0?ne:0).paddingBottom((a)=>a.children&&a.children.length>0?ne:0).round(!0)(le),He=Me.descendants().filter((a)=>a.children&&a.children.length>0),oe=K.selectAll(".treemapSection").data(He).enter().append("g").attr("class","treemapSection").attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",ie).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(a)=>{if(a.depth===0)return"display: none;";return""}),oe.append("clipPath").attr("id",(a,c)=>`clip-section-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-12)).attr("height",ie),oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class",(a,c)=>`treemapSection section${c}`).attr("fill",(a)=>v(a.data.name)).attr("fill-opacity",0.6).attr("stroke",(a)=>q(a.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c=E({cssCompiledStyles:a.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),oe.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",ie/2).attr("dominant-baseline","middle").text((a)=>a.depth===0?"":a.data.name).attr("font-weight","bold").attr("clip-path",(a,c)=>`url(#clip-section-${r}-${c})`).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(a){if(a.depth===0)return;let c=g(this),y=a.data.name;c.text(y);let N=a.x1-a.x0,_=6,k;if(p.showValues!==!1&&a.value){let V=N-10,j=30,qe=10;k=V-30-10-_}else k=N-_-6;let x=Math.max(15,k),Y=c.node();if(Y.getComputedTextLength()>x){let j=y;while(j.length>0){if(j=y.substring(0,j.length-1),j.length===0){if(c.text("..."),Y.getComputedTextLength()>x)c.text("");break}if(c.text(j+"..."),Y.getComputedTextLength()<=x)break}}}),p.showValues!==!1)oe.append("text").attr("class","treemapSectionValue").attr("x",(a)=>a.x1-a.x0-10).attr("y",ie/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((a)=>a.value?m(a.value):"").attr("font-style","italic").attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let _e=Me.leaves(),H=_e.length>20,Ie=H?16:38,ce=H?14:28,Q=H?4:8,ee=H?4:6,ue=H?2:4,ze=H?8:10,he=H?1:2,pe=K.selectAll(".treemapLeafGroup").data(_e).enter().append("g").attr("class",(a,c)=>`treemapNode treemapLeafGroup leaf${c}${a.data.classSelector?` ${a.data.classSelector}`:""}x`).attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(pe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class","treemapLeaf").attr("fill",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("style",(a)=>E({cssCompiledStyles:a.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("stroke-width",3),pe.append("clipPath").attr("id",(a,c)=>`clip-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-4)).attr("height",(a)=>Math.max(0,a.y1-a.y0-4)),pe.append("text").attr("class","treemapLabel").attr("x",(a)=>(a.x1-a.x0)/2).attr("y",(a)=>(a.y1-a.y0)/2).attr("style",(a)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Ie}px;fill:`+B(a.data.name)+";",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(a,c)=>`url(#clip-${r}-${c})`).text((a)=>a.data.name).each(function(a){let c=g(this),y=a.x1-a.x0,N=a.y1-a.y0,_=c.node(),k=y-2*ue,X=N-2*ue;if(k<ze||X<ze){c.style("display","none");return}let x=parseInt(c.style("font-size"),10),Y=0.6;while(_.getComputedTextLength()>k&&x>Q)x--,c.style("font-size",`${x}px`);let z=Math.max(ee,Math.min(ce,Math.round(x*Y))),V=x+he+z;while(V>X&&x>Q){if(x--,z=Math.max(ee,Math.min(ce,Math.round(x*Y))),z<ee&&x===Q)break;if(c.style("font-size",`${x}px`),V=x+he+z,z<=ee&&V>X);}if(c.style("font-size",`${x}px`),H){if(x<Q||X<Q)c.style("display","none")}else if(_.getComputedTextLength()>k||x<Q||X<x)c.style("display","none")}),p.showValues!==!1)pe.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${ce}px;fill:`+B(c.data.name)+";",N=E({cssCompiledStyles:c.data.cssCompiledStyles});return y+N.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${r}-${y})`).text((c)=>c.value?m(c.value):"").each(function(c){let y=g(this),N=this.parentNode;if(!N){y.style("display","none");return}let _=g(N).select(".treemapLabel");if(_.empty()||_.style("display")==="none"){y.style("display","none");return}let k=parseFloat(_.style("font-size")),x=Math.max(ee,Math.min(ce,Math.round(k*0.6)));y.style("font-size",`${x}px`);let z=(c.y1-c.y0)/2+k/2+he;y.attr("y",z);let V=c.x1-c.x0,De=c.y1-c.y0-4,Ge=V-2*ue;if(y.node().getComputedTextLength()>Ge||z+x>De||x<ee)y.style("display","none");else y.style("display",null)});let Oe=p.diagramPadding??8;Pe(T,Oe,"flowchart",p?.useMaxWidth||!1)},"draw"),ot=t(function(e,r){return r.db.getClasses()},"getClasses"),st={draw:lt,getClasses:ot},it={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ct=t(({treemap:e}={})=>{let r=Ke(),n=A(),l=Z(r,n.themeVariables),o=Z(it,e),p=o.titleColor??l.titleColor,u=o.labelColor??l.textColor,f=o.valueColor??l.textColor;return`
2
+ .treemapNode.section {
3
+ stroke: ${o.sectionStrokeColor};
4
+ stroke-width: ${o.sectionStrokeWidth};
5
+ fill: ${o.sectionFillColor};
6
+ }
7
+ .treemapNode.leaf {
8
+ stroke: ${o.leafStrokeColor};
9
+ stroke-width: ${o.leafStrokeWidth};
10
+ fill: ${o.leafFillColor};
11
+ }
12
+ .treemapLabel {
13
+ fill: ${u};
14
+ font-size: ${o.labelFontSize};
15
+ }
16
+ .treemapValue {
17
+ fill: ${f};
18
+ font-size: ${o.valueFontSize};
19
+ }
20
+ .treemapTitle {
21
+ fill: ${p};
22
+ font-size: ${o.titleFontSize};
23
+ }
24
+ `},"getStyles"),pt=ct,ua={parser:We,get db(){return new Ee},renderer:st,styles:pt};export{ua as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Bs}from"./chunk-yarejzzs.js";export{Bs as createPieServices};
@@ -0,0 +1,2 @@
1
+ "�import{Bs}from"./chunk-yarejzzs.js";export{Bs as createPieServices};
2
+ 
Binary file
@@ -0,0 +1,7 @@
1
+ import{t,i,Ke,F,q,W,L,M,P,R,I,O,D,u,g}from"./chunk-e4h4dg4y.js";import"./chunk-5h7xm5mn.js";import{bn}from"./chunk-qmmss130.js";var Ut=function(){var e=t(function(st,o,h,f){for(h=h||{},f=st.length;f--;h[st[f]]=o);return h},"o"),r=[1,3],T=[1,4],y=[1,5],l=[1,6],p=[1,7],E=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],d=[55,56,57],v=[2,36],_=[1,37],A=[1,36],m=[1,38],k=[1,35],S=[1,43],b=[1,41],z=[1,45],St=[1,14],_t=[1,23],At=[1,18],Ft=[1,19],mt=[1,20],zt=[1,21],qt=[1,22],n=[1,24],Ot=[1,25],Ht=[1,26],Xt=[1,27],Mt=[1,28],Yt=[1,29],tt=[1,32],et=[1,33],V=[1,34],w=[1,39],B=[1,40],N=[1,42],U=[1,44],at=[1,63],nt=[1,62],Q=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],jt=[1,66],Gt=[1,67],Kt=[1,68],Zt=[1,69],Jt=[1,70],$t=[1,71],te=[1,72],ee=[1,73],ie=[1,74],ae=[1,75],ne=[1,76],re=[1,77],G=[4,5,6,7,8,9,10,11,12,13,14,15,18],ht=[1,91],ct=[1,92],dt=[1,93],ut=[1,100],xt=[1,94],ft=[1,97],gt=[1,95],pt=[1,96],yt=[1,98],bt=[1,99],Vt=[1,103],se=[10,55,56,57],K=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],It={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:t(function(o,h,f,x,C,a,kt){var s=a.length-1;switch(C){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+""+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],x.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),x.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),x.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),x.setAccDescription(this.$);break;case 46:x.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:x.addPoint(a[s-3],"",a[s-1],a[s],[]);break;case 48:x.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:x.addPoint(a[s-4],"",a[s-2],a[s-1],a[s]);break;case 50:x.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:x.setXAxisLeftText(a[s-2]),x.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=" ⟶ ",x.setXAxisLeftText(a[s-1]);break;case 53:x.setXAxisLeftText(a[s]);break;case 54:x.setYAxisBottomText(a[s-2]),x.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=" ⟶ ",x.setYAxisBottomText(a[s-1]);break;case 56:x.setYAxisBottomText(a[s]);break;case 57:x.setQuadrant1Text(a[s]);break;case 58:x.setQuadrant2Text(a[s]);break;case 59:x.setQuadrant3Text(a[s]);break;case 60:x.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:"text"};break;case 65:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:"text"};break;case 67:this.$={text:a[s],type:"markdown"};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+""+a[s];break}},"anonymous"),table:[{18:r,26:1,27:2,28:T,55:y,56:l,57:p},{1:[3]},{18:r,26:8,27:2,28:T,55:y,56:l,57:p},{18:r,26:9,27:2,28:T,55:y,56:l,57:p},e(E,[2,33],{29:10}),e(c,[2,61]),e(c,[2,62]),e(c,[2,63]),{1:[2,30]},{1:[2,31]},e(d,v,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:_,5:A,10:m,12:k,13:S,14:b,15:z,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:V,64:w,65:B,66:N,67:U}),e(E,[2,34]),{27:46,55:y,56:l,57:p},e(d,[2,37]),e(d,v,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:_,5:A,10:m,12:k,13:S,14:b,15:z,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:V,64:w,65:B,66:N,67:U}),e(d,[2,39]),e(d,[2,40]),e(d,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(d,[2,45]),e(d,[2,46]),{18:[1,51]},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:52,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:53,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:54,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:55,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:56,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:57,58:31,60:tt,61:et,63:V,64:w,65:B,66:N,67:U},{4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,44:[1,58],47:[1,59],58:61,59:60,63:V,64:w,65:B,66:N,67:U},e(Q,[2,64]),e(Q,[2,66]),e(Q,[2,67]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(Q,[2,74]),e(Q,[2,75]),e(Q,[2,76]),e(Q,[2,77]),e(Q,[2,78]),e(Q,[2,79]),e(Q,[2,80]),e(Q,[2,81]),e(E,[2,35]),e(d,[2,38]),e(d,[2,42]),e(d,[2,43]),e(d,[2,44]),{3:65,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,21:64},e(d,[2,53],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,49:[1,78],63:V,64:w,65:B,66:N,67:U}),e(d,[2,56],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,49:[1,79],63:V,64:w,65:B,66:N,67:U}),e(d,[2,57],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),e(d,[2,58],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),e(d,[2,59],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),e(d,[2,60],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),{45:[1,80]},{44:[1,81]},e(Q,[2,65]),e(Q,[2,82]),e(Q,[2,83]),e(Q,[2,84]),{3:83,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,18:[1,82]},e(G,[2,23]),e(G,[2,1]),e(G,[2,2]),e(G,[2,3]),e(G,[2,4]),e(G,[2,5]),e(G,[2,6]),e(G,[2,7]),e(G,[2,8]),e(G,[2,9]),e(G,[2,10]),e(G,[2,11]),e(G,[2,12]),e(d,[2,52],{58:31,43:84,4:_,5:A,10:m,12:k,13:S,14:b,15:z,60:tt,61:et,63:V,64:w,65:B,66:N,67:U}),e(d,[2,55],{58:31,43:85,4:_,5:A,10:m,12:k,13:S,14:b,15:z,60:tt,61:et,63:V,64:w,65:B,66:N,67:U}),{46:[1,86]},{45:[1,87]},{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:89,23:88},e(G,[2,24]),e(d,[2,51],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),e(d,[2,54],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:N,67:U}),e(d,[2,47],{22:89,16:90,23:101,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{46:[1,102]},e(d,[2,29],{10:Vt}),e(se,[2,27],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),e(K,[2,25]),e(K,[2,13]),e(K,[2,14]),e(K,[2,15]),e(K,[2,16]),e(K,[2,17]),e(K,[2,18]),e(K,[2,19]),e(K,[2,20]),e(K,[2,21]),e(K,[2,22]),e(d,[2,49],{10:Vt}),e(d,[2,48],{22:89,16:90,23:105,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:106},e(K,[2,26]),e(d,[2,50],{10:Vt}),e(se,[2,28],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt})],defaultActions:{8:[2,30],9:[2,31]},parseError:t(function(o,h){if(h.recoverable)this.trace(o);else{var f=Error(o);throw f.hash=h,f}},"parseError"),parse:t(function(o){var h=this,f=[0],x=[],C=[null],a=[],kt=this.table,s="",vt=0,oe=0,le=0,ve=2,he=1,Ce=a.slice.call(arguments,1),H=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))ot.yy[wt]=this.yy[wt];if(H.setInput(o,ot.yy),ot.yy.lexer=H,ot.yy.parser=this,typeof H.yylloc>"u")H.yylloc={};var Bt=H.yylloc;a.push(Bt);var Le=H.options&&H.options.ranges;if(typeof ot.yy.parseError==="function")this.parseError=ot.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ee(J){f.length=f.length-2*J,C.length=C.length-J,a.length=a.length-J}t(Ee,"popStack");function ce(){var J=x.pop()||H.lex()||he;if(typeof J!=="number"){if(J instanceof Array)x=J,J=x.pop();J=h.symbols_[J]||J}return J}t(ce,"lex");var Y,Rt,lt,Z,Re,Nt,Tt={},Ct,rt,de,Lt;while(!0){if(lt=f[f.length-1],this.defaultActions[lt])Z=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=ce();Z=kt[lt]&&kt[lt][Y]}if(typeof Z>"u"||!Z.length||!Z[0]){var Wt="";Lt=[];for(Ct in kt[lt])if(this.terminals_[Ct]&&Ct>ve)Lt.push("'"+this.terminals_[Ct]+"'");if(H.showPosition)Wt="Parse error on line "+(vt+1)+`:
2
+ `+H.showPosition()+`
3
+ Expecting `+Lt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Wt="Parse error on line "+(vt+1)+": Unexpected "+(Y==he?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Wt,{text:H.match,token:this.terminals_[Y]||Y,line:H.yylineno,loc:Bt,expected:Lt})}if(Z[0]instanceof Array&&Z.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(Z[0]){case 1:if(f.push(Y),C.push(H.yytext),a.push(H.yylloc),f.push(Z[1]),Y=null,!Rt){if(oe=H.yyleng,s=H.yytext,vt=H.yylineno,Bt=H.yylloc,le>0)le--}else Y=Rt,Rt=null;break;case 2:if(rt=this.productions_[Z[1]][1],Tt.$=C[C.length-rt],Tt._$={first_line:a[a.length-(rt||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(rt||1)].first_column,last_column:a[a.length-1].last_column},Le)Tt._$.range=[a[a.length-(rt||1)].range[0],a[a.length-1].range[1]];if(Nt=this.performAction.apply(Tt,[s,oe,vt,ot.yy,Z[1],C,a].concat(Ce)),typeof Nt<"u")return Nt;if(rt)f=f.slice(0,-1*rt*2),C=C.slice(0,-1*rt),a=a.slice(0,-1*rt);f.push(this.productions_[Z[1]][0]),C.push(Tt.$),a.push(Tt._$),de=kt[f[f.length-2]][f[f.length-1]],f.push(de);break;case 3:return!0}}return!0},"parse")},Pe=function(){var st={EOF:1,parseError:t(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw Error(h)},"parseError"),setInput:t(function(o,h){if(this.yy=h||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);if(h)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),o},"input"),unput:t(function(o){var h=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var x=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1)this.yylineno-=f.length-1;var C=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:f?(f.length===x.length?this.yylloc.first_column:0)+x[x.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges)this.yylloc.range=[C[0],C[0]+this.yyleng-h];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(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),h=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+h+"^"},"showPosition"),test_match:t(function(o,h){var f,x,C;if(this.options.backtrack_lexer){if(C={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)C.yylloc.range=this.yylloc.range.slice(0)}if(x=o[0].match(/(?:\r\n?|\n).*/g),x)this.yylineno+=x.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],f=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(f)return f;else if(this._backtrack){for(var a in C)this[a]=C[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,h,f,x;if(!this._more)this.yytext="",this.match="";var C=this._currentRules();for(var a=0;a<C.length;a++)if(f=this._input.match(this.rules[C[a]]),f&&(!h||f[0].length>h[0].length)){if(h=f,x=a,this.options.backtrack_lexer)if(o=this.test_match(f,C[a]),o!==!1)return o;else if(this._backtrack){h=!1;continue}else return!1;else if(!this.options.flex)break}if(h){if(o=this.test_match(h,C[x]),o!==!1)return o;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 h=this.next();if(h)return h;else return this.lex()},"lex"),begin:t(function(h){this.conditionStack.push(h)},"begin"),popState:t(function(){var h=this.conditionStack.length-1;if(h>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(h){if(h=this.conditionStack.length-1-Math.abs(h||0),h>=0)return this.conditionStack[h];else return"INITIAL"},"topState"),pushState:t(function(h){this.begin(h)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(h,f,x,C){var a=C;switch(x){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return st}();It.lexer=Pe;function Pt(){this.yy={}}return t(Pt,"Parser"),Pt.prototype=It,It.Parser=Pt,new Pt}();Ut.parser=Ut;var De=Ut,j=Ke(),ze=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{t(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:F.quadrantChart?.chartWidth||500,chartWidth:F.quadrantChart?.chartHeight||500,titlePadding:F.quadrantChart?.titlePadding||10,titleFontSize:F.quadrantChart?.titleFontSize||20,quadrantPadding:F.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:F.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:F.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:F.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:F.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:F.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:F.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:F.quadrantChart?.pointTextPadding||5,pointLabelFontSize:F.quadrantChart?.pointLabelFontSize||12,pointRadius:F.quadrantChart?.pointRadius||5,xAxisPosition:F.quadrantChart?.xAxisPosition||"top",yAxisPosition:F.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:F.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:F.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:j.quadrant1Fill,quadrant2Fill:j.quadrant2Fill,quadrant3Fill:j.quadrant3Fill,quadrant4Fill:j.quadrant4Fill,quadrant1TextFill:j.quadrant1TextFill,quadrant2TextFill:j.quadrant2TextFill,quadrant3TextFill:j.quadrant3TextFill,quadrant4TextFill:j.quadrant4TextFill,quadrantPointFill:j.quadrantPointFill,quadrantPointTextFill:j.quadrantPointTextFill,quadrantXAxisTextFill:j.quadrantXAxisTextFill,quadrantYAxisTextFill:j.quadrantYAxisTextFill,quadrantTitleFill:j.quadrantTitleFill,quadrantInternalBorderStrokeFill:j.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:j.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,i.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){i.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){i.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,T,y){let l=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,p={top:e==="top"&&r?l:0,bottom:e==="bottom"&&r?l:0},E=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,c={left:this.config.yAxisPosition==="left"&&T?E:0,right:this.config.yAxisPosition==="right"&&T?E:0},d=this.config.titleFontSize+this.config.titlePadding*2,v={top:y?d:0},_=this.config.quadrantPadding+c.left,A=this.config.quadrantPadding+p.top+v.top,m=this.config.chartWidth-this.config.quadrantPadding*2-c.left-c.right,k=this.config.chartHeight-this.config.quadrantPadding*2-p.top-p.bottom-v.top,S=m/2,b=k/2;return{xAxisSpace:p,yAxisSpace:c,titleSpace:v,quadrantSpace:{quadrantLeft:_,quadrantTop:A,quadrantWidth:m,quadrantHalfWidth:S,quadrantHeight:k,quadrantHalfHeight:b}}}getAxisLabels(e,r,T,y){let{quadrantSpace:l,titleSpace:p}=y,{quadrantHalfHeight:E,quadrantHeight:c,quadrantLeft:d,quadrantHalfWidth:v,quadrantTop:_,quadrantWidth:A}=l,m=Boolean(this.data.xAxisRightText),k=Boolean(this.data.yAxisTopText),S=[];if(this.data.xAxisLeftText&&r)S.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:d+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.xAxisRightText&&r)S.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:d+v+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.yAxisBottomText&&T)S.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+d+A+this.config.quadrantPadding,y:_+c-(k?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});if(this.data.yAxisTopText&&T)S.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+d+A+this.config.quadrantPadding,y:_+E-(k?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});return S}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:T,quadrantLeft:y,quadrantHalfWidth:l,quadrantTop:p}=r,E=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p,width:l,height:T,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p,width:l,height:T,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant4Fill}];for(let c of E)if(c.text.x=c.x+c.width/2,this.data.points.length===0)c.text.y=c.y+c.height/2,c.text.horizontalPos="middle";else c.text.y=c.y+this.config.quadrantTextTopPadding,c.text.horizontalPos="top";return E}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:T,quadrantLeft:y,quadrantTop:l,quadrantWidth:p}=r,E=bn().domain([0,1]).range([y,p+y]),c=bn().domain([0,1]).range([T+l,l]);return this.data.points.map((v)=>{let _=this.classes.get(v.className);if(_)v={..._,...v};return{x:E(v.x),y:c(v.y),fill:v.color??this.themeConfig.quadrantPointFill,radius:v.radius??this.config.pointRadius,text:{text:v.text,fill:this.themeConfig.quadrantPointTextFill,x:E(v.x),y:c(v.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:v.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:v.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:T}=e,{quadrantHalfHeight:y,quadrantHeight:l,quadrantLeft:p,quadrantHalfWidth:E,quadrantTop:c,quadrantWidth:d}=T;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c,x2:p+d+r,y2:c},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p+d,y1:c+r,x2:p+d,y2:c+l-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c+l,x2:p+d+r,y2:c+l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p,y1:c+r,x2:p,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+E,y1:c+r,x2:p+E,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+r,y1:c+y,x2:p+d-r,y2:c+y}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2};return}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),T=this.config.showTitle&&!!this.data.titleText,y=this.data.points.length>0?"bottom":this.config.xAxisPosition,l=this.calculateSpace(y,e,r,T);return{points:this.getQuadrantPoints(l),quadrants:this.getQuadrants(l),axisLabels:this.getAxisLabels(y,e,r,l),borderLines:this.getBorders(l),title:this.getTitle(T)}}},Et=class extends Error{static{t(this,"InvalidStyleError")}constructor(e,r,T){super(`value for ${e} ${r} is invalid, please use a valid ${T}`);this.name="InvalidStyleError"}};function Qt(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}t(Qt,"validateHexCode");function ue(e){return!/^\d+$/.test(e)}t(ue,"validateNumber");function xe(e){return!/^\d+px$/.test(e)}t(xe,"validateSizeInPixels");function it(e){return q(e.trim(),u())}t(it,"textSanitizer");var X=new ze;function fe(e){X.setData({quadrant1Text:it(e.text)})}t(fe,"setQuadrant1Text");function ge(e){X.setData({quadrant2Text:it(e.text)})}t(ge,"setQuadrant2Text");function pe(e){X.setData({quadrant3Text:it(e.text)})}t(pe,"setQuadrant3Text");function ye(e){X.setData({quadrant4Text:it(e.text)})}t(ye,"setQuadrant4Text");function be(e){X.setData({xAxisLeftText:it(e.text)})}t(be,"setXAxisLeftText");function Te(e){X.setData({xAxisRightText:it(e.text)})}t(Te,"setXAxisRightText");function me(e){X.setData({yAxisTopText:it(e.text)})}t(me,"setYAxisTopText");function qe(e){X.setData({yAxisBottomText:it(e.text)})}t(qe,"setYAxisBottomText");function Dt(e){let r={};for(let T of e){let[y,l]=T.trim().split(/\s*:\s*/);if(y==="radius"){if(ue(l))throw new Et(y,l,"number");r.radius=parseInt(l)}else if(y==="color"){if(Qt(l))throw new Et(y,l,"hex code");r.color=l}else if(y==="stroke-color"){if(Qt(l))throw new Et(y,l,"hex code");r.strokeColor=l}else if(y==="stroke-width"){if(xe(l))throw new Et(y,l,"number of pixels (eg. 10px)");r.strokeWidth=l}else throw Error(`style named ${y} is not supported.`)}return r}t(Dt,"parseStyles");function ke(e,r,T,y,l){let p=Dt(l);X.addPoints([{x:T,y,text:it(e.text),className:r,...p}])}t(ke,"addPoint");function Se(e,r){X.addClass(e,Dt(r))}t(Se,"addClass");function _e(e){X.setConfig({chartWidth:e})}t(_e,"setWidth");function Ae(e){X.setConfig({chartHeight:e})}t(Ae,"setHeight");function Fe(){let e=u(),{themeVariables:r,quadrantChart:T}=e;if(T)X.setConfig(T);return X.setThemeConfig({quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantTitleFill:r.quadrantTitleFill}),X.setData({titleText:D()}),X.build()}t(Fe,"getQuadrantData");var Ve=t(function(){X.clear(),L()},"clear"),Ie={setWidth:_e,setHeight:Ae,setQuadrant1Text:fe,setQuadrant2Text:ge,setQuadrant3Text:pe,setQuadrant4Text:ye,setXAxisLeftText:be,setXAxisRightText:Te,setYAxisTopText:me,setYAxisBottomText:qe,parseStyles:Dt,addPoint:ke,addClass:Se,getQuadrantData:Fe,clear:Ve,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},we=t((e,r,T,y)=>{function l(n){return n==="top"?"hanging":"middle"}t(l,"getDominantBaseLine");function p(n){return n==="left"?"start":"middle"}t(p,"getTextAnchor");function E(n){return`translate(${n.x}, ${n.y}) rotate(${n.rotation||0})`}t(E,"getTransformation");let c=u();i.debug(`Rendering quadrant chart
7
+ `+e);let d=c.securityLevel,v;if(d==="sandbox")v=g("#i"+r);let A=(d==="sandbox"?g(v.nodes()[0].contentDocument.body):g("body")).select(`[id="${r}"]`),m=A.append("g").attr("class","main"),k=c.quadrantChart?.chartWidth??500,S=c.quadrantChart?.chartHeight??500;W(A,S,k,c.quadrantChart?.useMaxWidth??!0),A.attr("viewBox","0 0 "+k+" "+S),y.db.setHeight(S),y.db.setWidth(k);let b=y.db.getQuadrantData(),z=m.append("g").attr("class","quadrants"),St=m.append("g").attr("class","border"),_t=m.append("g").attr("class","data-points"),At=m.append("g").attr("class","labels"),Ft=m.append("g").attr("class","title");if(b.title)Ft.append("text").attr("x",0).attr("y",0).attr("fill",b.title.fill).attr("font-size",b.title.fontSize).attr("dominant-baseline",l(b.title.horizontalPos)).attr("text-anchor",p(b.title.verticalPos)).attr("transform",E(b.title)).text(b.title.text);if(b.borderLines)St.selectAll("line").data(b.borderLines).enter().append("line").attr("x1",(n)=>n.x1).attr("y1",(n)=>n.y1).attr("x2",(n)=>n.x2).attr("y2",(n)=>n.y2).style("stroke",(n)=>n.strokeFill).style("stroke-width",(n)=>n.strokeWidth);let mt=z.selectAll("g.quadrant").data(b.quadrants).enter().append("g").attr("class","quadrant");mt.append("rect").attr("x",(n)=>n.x).attr("y",(n)=>n.y).attr("width",(n)=>n.width).attr("height",(n)=>n.height).attr("fill",(n)=>n.fill),mt.append("text").attr("x",0).attr("y",0).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>E(n.text)).text((n)=>n.text.text),At.selectAll("g.label").data(b.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((n)=>n.text).attr("fill",(n)=>n.fill).attr("font-size",(n)=>n.fontSize).attr("dominant-baseline",(n)=>l(n.horizontalPos)).attr("text-anchor",(n)=>p(n.verticalPos)).attr("transform",(n)=>E(n));let qt=_t.selectAll("g.data-point").data(b.points).enter().append("g").attr("class","data-point");qt.append("circle").attr("cx",(n)=>n.x).attr("cy",(n)=>n.y).attr("r",(n)=>n.radius).attr("fill",(n)=>n.fill).attr("stroke",(n)=>n.strokeColor).attr("stroke-width",(n)=>n.strokeWidth),qt.append("text").attr("x",0).attr("y",0).text((n)=>n.text.text).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>E(n.text))},"draw"),Be={draw:we},He={parser:De,db:Ie,renderer:Be,styles:t(()=>"","styles")};export{He as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{a,h,e,n,b,l,ye,ce,Q,zt}from"./chunk-jbejy8k3.js";var B=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],x=l("circle-slash",B);function S(t){if(!t||typeof t!=="object")return;if(!("id"in t)||typeof t.id!=="string")return;if(!("state"in t)||typeof t.state!=="string")return;return{id:t.id,state:t.state,command:"command"in t&&typeof t.command==="string"?t.command:void 0,code:"code"in t&&(t.code===null||typeof t.code==="number")?t.code:void 0,output:"output"in t&&typeof t.output==="string"?t.output:void 0}}function U(t){let{Button:N,Panel:k,style:C}=b(),s=S(t.payload),[o,r]=a(!1),[P,I]=a(!1),[c,u]=a();if(!s)return null;let i=P?"killed":s.state,m=i==="running",d=i==="exited"&&s.code===0,f=i==="killed"||i==="timeout",p=s.output?.trim(),z=async()=>{if(o)return;r(!0),u(void 0);try{await t.connection.request(`/api/sessions/${encodeURIComponent(t.sessionID)}/jobs/${encodeURIComponent(s.id)}/kill`,{method:"POST"}),I(!0)}catch(g){u(g instanceof Error?g.message:"停止失败,后台任务可能已结束")}finally{r(!1)}};return n(k,{className:"my-2",header:n(h,{children:[e(zt,{className:"size-3.5 shrink-0 text-faint"}),e("span",{className:"truncate font-mono text-ink/90",title:s.command??s.id,children:s.command??`任务 ${s.id}`})]}),actions:n(h,{children:[m&&n(h,{children:[n("span",{className:"flex items-center gap-1 text-warning",children:[e(ce,{className:"size-3.5 animate-spin"}),e("span",{children:"后台运行中"})]}),e(N,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:o,onClick:()=>{z()},children:"停止"})]}),d&&n("span",{className:"flex items-center gap-1 text-success",children:[e(Q,{className:"size-3.5"}),e("span",{children:"已完成"})]}),f&&n("span",{className:"flex items-center gap-1 text-faint",children:[e(x,{className:"size-3.5"}),e("span",{children:i==="timeout"?"已超时":"已停止"})]}),!m&&!d&&!f&&n("span",{className:"flex items-center gap-1 text-danger",children:[e(ye,{className:"size-3.5"}),n("span",{children:["退出码 ",s.code??"异常"]})]})]}),children:[c&&e("p",{role:"status",className:"border-b border-line px-4 py-2.5 text-xs text-danger",children:c}),p&&e("pre",{className:C("chat.toolOutput","max-h-60 text-ink/90 select-text"),children:p})]})}export{U as BashJobCard};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Pa}from"./chunk-yarejzzs.js";export{Pa as createRailroadEbnfServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ function C(t){return Math.abs(t=Math.round(t))>=1000000000000000000000?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function g(t,r){if(!isFinite(t)||t===0)return null;var i=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"),e=t.slice(0,i);return[e.length>1?e[0]+e.slice(2):e,+t.slice(i+1)]}function In(t){return t=g(Math.abs(t)),t?t[1]:NaN}function G(t,r){return function(i,e){var o=i.length,a=[],c=0,u=t[0],M=0;while(o>0&&u>0){if(M+u+1>e)u=Math.max(1,e-M);if(a.push(i.substring(o-=u,o+u)),(M+=u+1)>e)break;u=t[c=(c+1)%t.length]}return a.reverse().join(r)}}function I(t){return function(r){return r.replace(/[0-9]/g,function(i){return t[+i]})}}var tt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rr(t){if(!(r=tt.exec(t)))throw Error("invalid format: "+t);var r;return new E({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}Rr.prototype=E.prototype;function E(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}E.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function R(t){t:for(var r=t.length,i=1,e=-1,o;i<r;++i)switch(t[i]){case".":e=o=i;break;case"0":if(e===0)e=i;o=i;break;default:if(!+t[i])break t;if(e>0)e=0;break}return e>0?t.slice(0,e)+t.slice(o+1):t}var P;function X(t,r){var i=g(t,r);if(!i)return P=void 0,t.toPrecision(r);var e=i[0],o=i[1],a=o-(P=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,c=e.length;return a===c?e:a>c?e+Array(a-c+1).join("0"):a>0?e.slice(0,a)+"."+e.slice(a):"0."+Array(1-a).join("0")+g(t,Math.max(0,r+a-1))[0]}function F(t,r){var i=g(t,r);if(!i)return t+"";var e=i[0],o=i[1];return o<0?"0."+Array(-o).join("0")+e:e.length>o+1?e.slice(0,o+1)+"."+e.slice(o+1):e+Array(o-e.length+2).join("0")}var O={"%":(t,r)=>(t*100).toFixed(r),b:(t)=>Math.round(t).toString(2),c:(t)=>t+"",d:C,e:(t,r)=>t.toExponential(r),f:(t,r)=>t.toFixed(r),g:(t,r)=>t.toPrecision(r),o:(t)=>Math.round(t).toString(8),p:(t,r)=>F(t*100,r),r:F,s:X,X:(t)=>Math.round(t).toString(16).toUpperCase(),x:(t)=>Math.round(t).toString(16)};function N(t){return t}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function U(t){var r=t.grouping===void 0||t.thousands===void 0?N:G(K.call(t.grouping,Number),t.thousands+""),i=t.currency===void 0?"":t.currency[0]+"",e=t.currency===void 0?"":t.currency[1]+"",o=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?N:I(K.call(t.numerals,String)),c=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"−":t.minus+"",M=t.nan===void 0?"NaN":t.nan+"";function Z(f,p){f=Rr(f);var y=f.fill,w=f.align,s=f.sign,S=f.symbol,k=f.zero,L=f.width,T=f.comma,x=f.precision,q=f.trim,m=f.type;if(m==="n")T=!0,m="g";else if(!O[m])x===void 0&&(x=12),q=!0,m="g";if(k||y==="0"&&w==="=")k=!0,y="0",w="=";var W=(p&&p.prefix!==void 0?p.prefix:"")+(S==="$"?i:S==="#"&&/[boxX]/.test(m)?"0"+m.toLowerCase():""),_=(S==="$"?e:/[%p]/.test(m)?c:"")+(p&&p.suffix!==void 0?p.suffix:""),B=O[m],v=/[defgprs%]/.test(m);x=x===void 0?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function H(n){var l=W,d=_,b,J,z;if(m==="c")d=B(n)+d,n="";else{n=+n;var A=n<0||1/n<0;if(n=isNaN(n)?M:B(Math.abs(n),x),q)n=R(n);if(A&&+n===0&&s!=="+")A=!1;if(l=(A?s==="("?s:u:s==="-"||s==="("?"":s)+l,d=(m==="s"&&!isNaN(n)&&P!==void 0?Q[8+P/3]:"")+d+(A&&s==="("?")":""),v){b=-1,J=n.length;while(++b<J)if(z=n.charCodeAt(b),48>z||z>57){d=(z===46?o+n.slice(b+1):n.slice(b))+d,n=n.slice(0,b);break}}}if(T&&!k)n=r(n,1/0);var j=l.length+n.length+d.length,h=j<L?Array(L-j+1).join(y):"";if(T&&k)n=r(h+n,h.length?L-d.length:1/0),h="";switch(w){case"<":n=l+n+d+h;break;case"=":n=l+h+n+d;break;case"^":n=h.slice(0,j=h.length>>1)+l+n+d+h.slice(j);break;default:n=h+l+n+d;break}return a(n)}return H.toString=function(){return f+""},H}function V(f,p){var y=Math.max(-8,Math.min(8,Math.floor(In(p)/3)))*3,w=Math.pow(10,-y),s=Z((f=Rr(f),f.type="f",f),{suffix:Q[8+y/3]});return function(S){return s(w*S)}}return{format:Z,formatPrefix:V}}var D,Dn,no;Y({thousands:",",grouping:[3],currency:["$",""]});function Y(t){return D=U(t),Dn=D.format,no=D.formatPrefix,D}export{In,Rr,Dn,no};
Binary file
Binary file