@bkm016/basalt 0.1.16 → 0.1.18

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 (647) hide show
  1. package/{chunk-p78wde92.js → chunk-02q61grt.js} +2 -2
  2. package/chunk-03r6s8pm.js +2 -0
  3. package/{chunk-38g4jd6v.js → chunk-09fsdkd3.js} +3 -3
  4. package/{chunk-8r4baw9e.js → chunk-0bg4w7ht.js} +2 -2
  5. package/chunk-0s4r7k7j.js +2 -0
  6. package/chunk-27kw4nth.js +2 -0
  7. package/chunk-2ag9mvms.js +10 -0
  8. package/{chunk-9ew8cap5.js → chunk-2shwjp8q.js} +1 -1
  9. package/chunk-3114vstw.js +2 -0
  10. package/chunk-31meb34a.js +2 -0
  11. package/chunk-34w345mt.js +2 -0
  12. package/{chunk-30dxcr91.js → chunk-3amfr8zp.js} +3 -3
  13. package/chunk-40nk2jjt.js +2 -0
  14. package/{chunk-44a7f5ta.js → chunk-49bz6hg5.js} +5 -5
  15. package/{chunk-e8x8zwkg.js → chunk-4hgkwa4k.js} +2 -2
  16. package/chunk-4wfd77kc.js +2 -0
  17. package/{chunk-9vam83py.js → chunk-55kpabb3.js} +1 -1
  18. package/chunk-5p2asrj6.js +2 -0
  19. package/chunk-65hg0v7e.js +2 -0
  20. package/chunk-67qw30cj.js +3770 -0
  21. package/{chunk-b350b01x.js → chunk-6rehcf49.js} +5 -5
  22. package/chunk-6vkz3wqz.js +25 -0
  23. package/chunk-81yk0kj2.js +3 -0
  24. package/chunk-885vf5kb.js +2 -0
  25. package/{chunk-46vy2m29.js → chunk-8wy08x0d.js} +1 -1
  26. package/chunk-9cqa9trx.js +4 -0
  27. package/chunk-ae45qq4z.js +2 -0
  28. package/chunk-ag3em5yv.js +4 -0
  29. package/chunk-b5k5p49x.js +2 -0
  30. package/chunk-b84vbfjc.js +2 -0
  31. package/{chunk-cs91rmbf.js → chunk-dkpgstr2.js} +7 -7
  32. package/{chunk-4f6p4n7k.js → chunk-dzn4c87v.js} +2 -2
  33. package/{chunk-8np9b2y8.js → chunk-e2m8ap8f.js} +2 -2
  34. package/{chunk-37ndxehw.js → chunk-e5xsyr0n.js} +2 -2
  35. package/chunk-f97ma522.js +3 -0
  36. package/chunk-f9yneea6.js +3 -0
  37. package/{chunk-vqm94hz2.js → chunk-fj56fznw.js} +2 -2
  38. package/{chunk-xf7zw32f.js → chunk-fk43jgwe.js} +5 -5
  39. package/{chunk-mh4bjtfs.js → chunk-frjqjdkx.js} +4 -4
  40. package/{chunk-rqn67tm8.js → chunk-fycz7ap5.js} +1 -1
  41. package/chunk-fzefs6kn.js +3 -0
  42. package/chunk-g1n8k4dg.js +5 -0
  43. package/{chunk-qd2enpr2.js → chunk-g5mdw639.js} +2 -2
  44. package/chunk-gnvx44kj.js +10 -0
  45. package/chunk-gpympx0t.js +467 -0
  46. package/{chunk-b2wpj81x.js → chunk-gyp2jn7d.js} +1 -1
  47. package/{chunk-y0274xr2.js → chunk-hambwbfz.js} +4 -4
  48. package/{chunk-1c9nr9rs.js → chunk-j02kqpvq.js} +2 -2
  49. package/{chunk-ehnc8g6v.js → chunk-j1h7pabk.js} +5 -5
  50. package/{chunk-w55cnj0f.js → chunk-j6hn9qz6.js} +2 -2
  51. package/{chunk-m5km74eq.js → chunk-jfx4c32t.js} +2 -2
  52. package/{chunk-7mgkpn94.js → chunk-jjj8a18b.js} +6 -6
  53. package/{chunk-pdt65s31.js → chunk-k3c32v59.js} +2 -2
  54. package/{chunk-rghqprav.js → chunk-k8j3fvx5.js} +1 -1
  55. package/chunk-kcn3af9r.js +12 -0
  56. package/{chunk-pyj6avd5.js → chunk-keq5kv9b.js} +2 -2
  57. package/{chunk-evnqkyt7.js → chunk-m45dpnd1.js} +12 -12
  58. package/chunk-m4wf04dz.js +15 -0
  59. package/chunk-m8k6t63k.js +2 -0
  60. package/{chunk-0crbhhna.js → chunk-nrggp4x6.js} +1 -1
  61. package/chunk-nt549hv5.js +2 -0
  62. package/{chunk-06s9pr82.js → chunk-pg4mtrdy.js} +2 -2
  63. package/chunk-psr4rxnn.js +20 -0
  64. package/chunk-qhhv81gd.js +2 -0
  65. package/chunk-qprms4rt.js +2 -0
  66. package/chunk-r0pm6dap.js +3 -0
  67. package/{chunk-44b9yx79.js → chunk-rck0kx09.js} +1 -1
  68. package/chunk-rsn8ad6s.js +2 -0
  69. package/{chunk-zhyzhekt.js → chunk-skzh3q1s.js} +1 -1
  70. package/{chunk-g2etemv5.js → chunk-sm4b3q49.js} +2 -2
  71. package/{chunk-g5p9mj1r.js → chunk-ste3ek53.js} +2 -2
  72. package/chunk-t3mq64c8.js +3 -0
  73. package/chunk-trw86cmb.js +11 -0
  74. package/{chunk-tfhp09nj.js → chunk-tv7met41.js} +2 -2
  75. package/{chunk-pna1wh02.js → chunk-w33aapmk.js} +12 -12
  76. package/chunk-wkqrsfrb.js +389 -0
  77. package/chunk-wxngqzqs.js +3 -0
  78. package/chunk-xgfqmm46.js +2 -0
  79. package/{chunk-2eaehpp6.js → chunk-xr77j4f8.js} +3 -3
  80. package/{chunk-c8g9jjqs.js → chunk-ykstnss8.js} +2 -2
  81. package/{chunk-1w4nh5t6.js → chunk-yqv7ej5r.js} +3 -3
  82. package/chunk-z97bcdg2.js +3 -0
  83. package/chunk-z9s7pwv5.js +7 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +41 -41
  87. package/web/{chunk-75meb0dh.js → chunk-013et20n.js} +2 -2
  88. package/web/chunk-013et20n.js.br +0 -0
  89. package/web/chunk-013et20n.js.gz +0 -0
  90. package/web/chunk-0ernj3c0.js +1 -0
  91. package/web/chunk-0ernj3c0.js.br +0 -0
  92. package/web/chunk-0ernj3c0.js.gz +0 -0
  93. package/web/chunk-0j65yg1p.js +1 -0
  94. package/web/chunk-0j65yg1p.js.br +0 -0
  95. package/web/chunk-0j65yg1p.js.gz +0 -0
  96. package/web/chunk-0khcpaa8.js +1 -0
  97. package/web/chunk-0khcpaa8.js.br +0 -0
  98. package/web/chunk-0khcpaa8.js.gz +0 -0
  99. package/web/chunk-0wbdd74r.js +1 -0
  100. package/web/chunk-0wbdd74r.js.br +2 -0
  101. package/web/chunk-0wbdd74r.js.gz +0 -0
  102. package/web/chunk-1f2wvhq9.js +1 -0
  103. package/web/chunk-1f2wvhq9.js.br +0 -0
  104. package/web/chunk-1f2wvhq9.js.gz +0 -0
  105. package/web/{chunk-75kzvpf3.js → chunk-1q2kmv35.js} +18 -18
  106. package/web/chunk-1q2kmv35.js.br +0 -0
  107. package/web/chunk-1q2kmv35.js.gz +0 -0
  108. package/web/{chunk-36e78034.js → chunk-1tfrm3pk.js} +2 -2
  109. package/web/chunk-1tfrm3pk.js.br +0 -0
  110. package/web/chunk-1tfrm3pk.js.gz +0 -0
  111. package/web/chunk-2qt5fy5n.js +1 -0
  112. package/web/chunk-2qt5fy5n.js.br +0 -0
  113. package/web/chunk-2qt5fy5n.js.gz +0 -0
  114. package/web/chunk-2sxtb709.js +1 -0
  115. package/web/chunk-2sxtb709.js.br +0 -0
  116. package/web/chunk-2sxtb709.js.gz +0 -0
  117. package/web/chunk-2wrwm0qe.js +1 -0
  118. package/web/chunk-2wrwm0qe.js.br +0 -0
  119. package/web/chunk-2wrwm0qe.js.gz +0 -0
  120. package/web/{chunk-5sss3r97.js → chunk-2wwj27b9.js} +3 -3
  121. package/web/chunk-2wwj27b9.js.br +0 -0
  122. package/web/chunk-2wwj27b9.js.gz +0 -0
  123. package/web/chunk-33mmrjdp.js +1 -0
  124. package/web/chunk-33mmrjdp.js.br +2 -0
  125. package/web/chunk-33mmrjdp.js.gz +0 -0
  126. package/web/chunk-33tb7q04.js +2 -0
  127. package/web/chunk-33tb7q04.js.br +0 -0
  128. package/web/chunk-33tb7q04.js.gz +0 -0
  129. package/web/chunk-3txb4sha.js +1 -0
  130. package/web/chunk-3txb4sha.js.br +0 -0
  131. package/web/chunk-3txb4sha.js.gz +0 -0
  132. package/web/{chunk-n3f5a91k.js → chunk-3xgfsx7y.js} +2 -2
  133. package/web/chunk-3xgfsx7y.js.br +0 -0
  134. package/web/chunk-3xgfsx7y.js.gz +0 -0
  135. package/web/chunk-40jka4r7.js +2 -0
  136. package/web/chunk-40jka4r7.js.br +0 -0
  137. package/web/chunk-40jka4r7.js.gz +0 -0
  138. package/web/{chunk-mcm3t5wr.js → chunk-41vh5n86.js} +1 -1
  139. package/web/chunk-41vh5n86.js.br +0 -0
  140. package/web/chunk-41vh5n86.js.gz +0 -0
  141. package/web/chunk-4wd9r73y.js.br +0 -0
  142. package/web/chunk-4wd9r73y.js.gz +0 -0
  143. package/web/chunk-5kz048x3.js +2 -0
  144. package/web/chunk-5kz048x3.js.br +0 -0
  145. package/web/chunk-5kz048x3.js.gz +0 -0
  146. package/web/chunk-5mbz8yj9.js +3 -0
  147. package/web/chunk-5mbz8yj9.js.br +0 -0
  148. package/web/chunk-5mbz8yj9.js.gz +0 -0
  149. package/web/chunk-6024wfxb.js +30 -0
  150. package/web/chunk-6024wfxb.js.br +0 -0
  151. package/web/chunk-6024wfxb.js.gz +0 -0
  152. package/web/chunk-6ey4c6gw.js +2 -0
  153. package/web/chunk-6ey4c6gw.js.br +0 -0
  154. package/web/chunk-6ey4c6gw.js.gz +0 -0
  155. package/web/chunk-6q3p851n.js +1 -0
  156. package/web/chunk-6q3p851n.js.br +2 -0
  157. package/web/chunk-6q3p851n.js.gz +0 -0
  158. package/web/{chunk-qbhv18t0.js → chunk-74g3wh08.js} +2 -2
  159. package/web/chunk-74g3wh08.js.br +0 -0
  160. package/web/chunk-74g3wh08.js.gz +0 -0
  161. package/web/{chunk-vcnsvj49.js → chunk-78akzkgs.js} +14 -14
  162. package/web/chunk-78akzkgs.js.br +0 -0
  163. package/web/chunk-78akzkgs.js.gz +0 -0
  164. package/web/chunk-7ck99bsp.js +62 -0
  165. package/web/chunk-7ck99bsp.js.br +0 -0
  166. package/web/chunk-7ck99bsp.js.gz +0 -0
  167. package/web/chunk-7fjbyns9.js +1 -0
  168. package/web/chunk-7fjbyns9.js.br +0 -0
  169. package/web/chunk-7fjbyns9.js.gz +0 -0
  170. package/web/chunk-7n6b2xra.js +21 -0
  171. package/web/chunk-7n6b2xra.js.br +0 -0
  172. package/web/chunk-7n6b2xra.js.gz +0 -0
  173. package/web/chunk-7p4mcqkd.js +78 -0
  174. package/web/chunk-7p4mcqkd.js.br +0 -0
  175. package/web/chunk-7p4mcqkd.js.gz +0 -0
  176. package/web/chunk-7ztwkhg5.js +1 -0
  177. package/web/chunk-7ztwkhg5.js.br +0 -0
  178. package/web/chunk-7ztwkhg5.js.gz +0 -0
  179. package/web/{chunk-t89tfrpj.js → chunk-823etvc3.js} +19 -19
  180. package/web/chunk-823etvc3.js.br +0 -0
  181. package/web/chunk-823etvc3.js.gz +0 -0
  182. package/web/{chunk-ps489yjy.js → chunk-8ec53vjd.js} +1 -1
  183. package/web/chunk-8ec53vjd.js.br +0 -0
  184. package/web/chunk-8ec53vjd.js.gz +0 -0
  185. package/web/chunk-8g239029.js.br +0 -0
  186. package/web/chunk-8g239029.js.gz +0 -0
  187. package/web/{chunk-p0jghn6b.js → chunk-8g55ytgz.js} +1 -1
  188. package/web/chunk-8g55ytgz.js.br +0 -0
  189. package/web/chunk-8g55ytgz.js.gz +0 -0
  190. package/web/chunk-8nxjthxc.js +1 -0
  191. package/web/chunk-8nxjthxc.js.br +0 -0
  192. package/web/chunk-8nxjthxc.js.gz +0 -0
  193. package/web/chunk-8q76yd76.js +291 -0
  194. package/web/chunk-8q76yd76.js.br +0 -0
  195. package/web/chunk-8q76yd76.js.gz +0 -0
  196. package/web/chunk-9kbrjmtz.js +1 -0
  197. package/web/chunk-9kbrjmtz.js.br +0 -0
  198. package/web/chunk-9kbrjmtz.js.gz +0 -0
  199. package/web/chunk-9s4bh6qm.js +40 -0
  200. package/web/chunk-9s4bh6qm.js.br +0 -0
  201. package/web/chunk-9s4bh6qm.js.gz +0 -0
  202. package/web/chunk-9v1f6yc8.js.br +0 -0
  203. package/web/chunk-9v1f6yc8.js.gz +0 -0
  204. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  205. package/web/chunk-9vf3zy3d.js.br +0 -0
  206. package/web/chunk-9vf3zy3d.js.gz +0 -0
  207. package/web/{chunk-ef03t1mb.js → chunk-a449xjq6.js} +6 -6
  208. package/web/chunk-a449xjq6.js.br +0 -0
  209. package/web/chunk-a449xjq6.js.gz +0 -0
  210. package/web/chunk-ad6x47yy.js.br +0 -0
  211. package/web/chunk-ad6x47yy.js.gz +0 -0
  212. package/web/chunk-b05eay33.js +1 -0
  213. package/web/chunk-b05eay33.js.br +0 -0
  214. package/web/chunk-b05eay33.js.gz +0 -0
  215. package/web/{chunk-tfsrk2rc.js → chunk-bdypt5mj.js} +55 -55
  216. package/web/chunk-bdypt5mj.js.br +0 -0
  217. package/web/chunk-bdypt5mj.js.gz +0 -0
  218. package/web/chunk-bvyjy17t.js +14 -0
  219. package/web/chunk-bvyjy17t.js.br +0 -0
  220. package/web/chunk-bvyjy17t.js.gz +0 -0
  221. package/web/{chunk-ctmxm4qd.js → chunk-ccy2q2z0.js} +2 -2
  222. package/web/chunk-ccy2q2z0.js.br +0 -0
  223. package/web/chunk-ccy2q2z0.js.gz +0 -0
  224. package/web/{chunk-wvt76598.js → chunk-ceg13tma.js} +2 -2
  225. package/web/chunk-ceg13tma.js.br +0 -0
  226. package/web/chunk-ceg13tma.js.gz +0 -0
  227. package/web/{chunk-z2hvvkf5.js → chunk-ch60a61d.js} +2 -2
  228. package/web/chunk-ch60a61d.js.br +0 -0
  229. package/web/chunk-ch60a61d.js.gz +0 -0
  230. package/web/chunk-czvdg0c5.js +1 -0
  231. package/web/chunk-czvdg0c5.js.br +0 -0
  232. package/web/chunk-czvdg0c5.js.gz +0 -0
  233. package/web/chunk-d18r4m14.js.br +0 -0
  234. package/web/chunk-d18r4m14.js.gz +0 -0
  235. package/web/chunk-dmqtdeb4.js.br +0 -0
  236. package/web/chunk-dmqtdeb4.js.gz +0 -0
  237. package/web/chunk-drr7mqg2.js +1 -0
  238. package/web/chunk-drr7mqg2.js.br +0 -0
  239. package/web/chunk-drr7mqg2.js.gz +0 -0
  240. package/web/{chunk-chh8bg2h.js → chunk-dsa5m3h6.js} +34 -34
  241. package/web/chunk-dsa5m3h6.js.br +0 -0
  242. package/web/chunk-dsa5m3h6.js.gz +0 -0
  243. package/web/chunk-dww3grm3.js +24 -0
  244. package/web/chunk-dww3grm3.js.br +0 -0
  245. package/web/chunk-dww3grm3.js.gz +0 -0
  246. package/web/chunk-e187gt5x.js +1 -0
  247. package/web/chunk-e187gt5x.js.br +0 -0
  248. package/web/chunk-e187gt5x.js.gz +0 -0
  249. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  250. package/web/chunk-emxa4wv3.js.br +0 -0
  251. package/web/chunk-emxa4wv3.js.gz +0 -0
  252. package/web/{chunk-gjchc4kg.js → chunk-ey0zwvbx.js} +1 -1
  253. package/web/chunk-ey0zwvbx.js.br +0 -0
  254. package/web/chunk-ey0zwvbx.js.gz +0 -0
  255. package/web/chunk-ey14knbn.js +2 -0
  256. package/web/chunk-ey14knbn.js.br +0 -0
  257. package/web/chunk-ey14knbn.js.gz +0 -0
  258. package/web/chunk-fba06jm8.js +1132 -0
  259. package/web/chunk-fba06jm8.js.br +0 -0
  260. package/web/chunk-fba06jm8.js.gz +0 -0
  261. package/web/chunk-fh56vgfx.js +39 -0
  262. package/web/chunk-fh56vgfx.js.br +0 -0
  263. package/web/chunk-fh56vgfx.js.gz +0 -0
  264. package/web/chunk-ft05x3my.js +169 -0
  265. package/web/chunk-ft05x3my.js.br +0 -0
  266. package/web/chunk-ft05x3my.js.gz +0 -0
  267. package/web/chunk-fzmrnh17.js +303 -0
  268. package/web/chunk-fzmrnh17.js.br +0 -0
  269. package/web/chunk-fzmrnh17.js.gz +0 -0
  270. package/web/{chunk-ybqt106a.js → chunk-gbt7asd7.js} +2 -2
  271. package/web/chunk-gbt7asd7.js.br +0 -0
  272. package/web/chunk-gbt7asd7.js.gz +0 -0
  273. package/web/chunk-gh9fkn3t.js +1 -0
  274. package/web/chunk-gh9fkn3t.js.br +2 -0
  275. package/web/chunk-gh9fkn3t.js.gz +0 -0
  276. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  277. package/web/chunk-h1syyjqq.js.br +0 -0
  278. package/web/chunk-h1syyjqq.js.gz +0 -0
  279. package/web/{chunk-mv5axm2y.js → chunk-h7byk4z3.js} +12 -12
  280. package/web/chunk-h7byk4z3.js.br +0 -0
  281. package/web/chunk-h7byk4z3.js.gz +0 -0
  282. package/web/chunk-hby0hkv4.js +1 -0
  283. package/web/chunk-hby0hkv4.js.br +0 -0
  284. package/web/chunk-hby0hkv4.js.gz +0 -0
  285. package/web/chunk-hjvsp2yx.js +1 -0
  286. package/web/chunk-hjvsp2yx.js.br +0 -0
  287. package/web/chunk-hjvsp2yx.js.gz +0 -0
  288. package/web/chunk-hp167dbv.js.br +0 -0
  289. package/web/chunk-hp167dbv.js.gz +0 -0
  290. package/web/{chunk-qwwqdmhv.js → chunk-hpjzy5ww.js} +1 -1
  291. package/web/chunk-hpjzy5ww.js.br +0 -0
  292. package/web/chunk-hpjzy5ww.js.gz +0 -0
  293. package/web/{chunk-1np2aamb.js → chunk-hzfp8kqx.js} +11 -11
  294. package/web/chunk-hzfp8kqx.js.br +0 -0
  295. package/web/chunk-hzfp8kqx.js.gz +0 -0
  296. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  297. package/web/chunk-j6jjk46a.js.br +0 -0
  298. package/web/chunk-j6jjk46a.js.gz +0 -0
  299. package/web/chunk-j8f0m1dq.js +1 -0
  300. package/web/chunk-j8f0m1dq.js.br +0 -0
  301. package/web/chunk-j8f0m1dq.js.gz +0 -0
  302. package/web/{chunk-t9pg7qf8.js → chunk-jc178ad5.js} +2 -2
  303. package/web/chunk-jc178ad5.js.br +0 -0
  304. package/web/chunk-jc178ad5.js.gz +0 -0
  305. package/web/chunk-jcsf0ke5.js +41 -0
  306. package/web/chunk-jcsf0ke5.js.br +0 -0
  307. package/web/chunk-jcsf0ke5.js.gz +0 -0
  308. package/web/chunk-jg43a2xk.js +139 -0
  309. package/web/chunk-jg43a2xk.js.br +0 -0
  310. package/web/chunk-jg43a2xk.js.gz +0 -0
  311. package/web/chunk-jrgdxqtq.js +7 -0
  312. package/web/chunk-jrgdxqtq.js.br +0 -0
  313. package/web/chunk-jrgdxqtq.js.gz +0 -0
  314. package/web/chunk-js8dvtfg.js +2 -0
  315. package/web/chunk-js8dvtfg.js.br +0 -0
  316. package/web/chunk-js8dvtfg.js.gz +0 -0
  317. package/web/chunk-jt0s9qs7.js +1 -0
  318. package/web/chunk-jt0s9qs7.js.br +0 -0
  319. package/web/chunk-jt0s9qs7.js.gz +0 -0
  320. package/web/chunk-jv5faf88.js +34 -0
  321. package/web/chunk-jv5faf88.js.br +0 -0
  322. package/web/chunk-jv5faf88.js.gz +0 -0
  323. package/web/{chunk-vb2z2azk.js → chunk-k295x81w.js} +79 -79
  324. package/web/chunk-k295x81w.js.br +0 -0
  325. package/web/chunk-k295x81w.js.gz +0 -0
  326. package/web/{chunk-wcj3bxdf.js → chunk-k3aa37pw.js} +2 -2
  327. package/web/chunk-k3aa37pw.js.br +0 -0
  328. package/web/chunk-k3aa37pw.js.gz +0 -0
  329. package/web/{chunk-wgmwgaw4.js → chunk-k6wxwgp1.js} +26 -26
  330. package/web/chunk-k6wxwgp1.js.br +0 -0
  331. package/web/chunk-k6wxwgp1.js.gz +0 -0
  332. package/web/chunk-k9vc7kp2.js +292 -0
  333. package/web/chunk-k9vc7kp2.js.br +0 -0
  334. package/web/chunk-k9vc7kp2.js.gz +0 -0
  335. package/web/chunk-kxyws7q7.js +1 -0
  336. package/web/chunk-kxyws7q7.js.br +0 -0
  337. package/web/chunk-kxyws7q7.js.gz +0 -0
  338. package/web/{chunk-c0hdp2zj.js → chunk-mcgf645h.js} +1 -1
  339. package/web/chunk-mcgf645h.js.br +4 -0
  340. package/web/chunk-mcgf645h.js.gz +0 -0
  341. package/web/{chunk-3gj2t10x.js → chunk-mj3tshy8.js} +31 -31
  342. package/web/chunk-mj3tshy8.js.br +0 -0
  343. package/web/chunk-mj3tshy8.js.gz +0 -0
  344. package/web/chunk-mnb2wdvy.js +24 -0
  345. package/web/chunk-mnb2wdvy.js.br +0 -0
  346. package/web/chunk-mnb2wdvy.js.gz +0 -0
  347. package/web/chunk-ndf58dgc.js +1 -0
  348. package/web/chunk-ndf58dgc.js.br +0 -0
  349. package/web/chunk-ndf58dgc.js.gz +0 -0
  350. package/web/chunk-nhpm5nd5.js +2 -0
  351. package/web/chunk-nhpm5nd5.js.br +0 -0
  352. package/web/chunk-nhpm5nd5.js.gz +0 -0
  353. package/web/chunk-nj0cv1cq.js.br +0 -0
  354. package/web/chunk-nj0cv1cq.js.gz +0 -0
  355. package/web/{chunk-0zyekjym.js → chunk-nwxjdetb.js} +1 -1
  356. package/web/chunk-nwxjdetb.js.br +0 -0
  357. package/web/chunk-nwxjdetb.js.gz +0 -0
  358. package/web/chunk-nyjfcard.js +106 -0
  359. package/web/chunk-nyjfcard.js.br +0 -0
  360. package/web/chunk-nyjfcard.js.gz +0 -0
  361. package/web/chunk-nzey7cpv.js.br +0 -0
  362. package/web/chunk-nzey7cpv.js.gz +0 -0
  363. package/web/{chunk-g8wy9sa6.js → chunk-pcfjcy3a.js} +23 -23
  364. package/web/chunk-pcfjcy3a.js.br +0 -0
  365. package/web/chunk-pcfjcy3a.js.gz +0 -0
  366. package/web/chunk-pry6wdbe.js +1 -0
  367. package/web/chunk-pry6wdbe.js.br +0 -0
  368. package/web/chunk-pry6wdbe.js.gz +0 -0
  369. package/web/chunk-pvahdcgy.js +2 -0
  370. package/web/chunk-pvahdcgy.js.br +0 -0
  371. package/web/chunk-pvahdcgy.js.gz +0 -0
  372. package/web/{chunk-ffn1a0zw.js → chunk-q3njnnef.js} +2 -2
  373. package/web/chunk-q3njnnef.js.br +0 -0
  374. package/web/chunk-q3njnnef.js.gz +0 -0
  375. package/web/chunk-qxvqkkmw.js +1 -0
  376. package/web/chunk-qxvqkkmw.js.br +0 -0
  377. package/web/chunk-qxvqkkmw.js.gz +0 -0
  378. package/web/chunk-qych3sbs.js +1 -0
  379. package/web/chunk-qych3sbs.js.br +0 -0
  380. package/web/chunk-qych3sbs.js.gz +0 -0
  381. package/web/chunk-r1dnh0s8.js.br +0 -0
  382. package/web/chunk-r1dnh0s8.js.gz +0 -0
  383. package/web/chunk-r5eakmw6.js.br +0 -0
  384. package/web/chunk-r5eakmw6.js.gz +0 -0
  385. package/web/chunk-rbmp2e4b.js +1 -0
  386. package/web/chunk-rbmp2e4b.js.br +0 -0
  387. package/web/chunk-rbmp2e4b.js.gz +0 -0
  388. package/web/chunk-rcre1stj.js +1 -0
  389. package/web/chunk-rcre1stj.js.br +0 -0
  390. package/web/chunk-rcre1stj.js.gz +0 -0
  391. package/web/chunk-rdb6091n.js +89 -0
  392. package/web/chunk-rdb6091n.js.br +0 -0
  393. package/web/chunk-rdb6091n.js.gz +0 -0
  394. package/web/chunk-ryw7xnab.js +1 -0
  395. package/web/chunk-ryw7xnab.js.br +0 -0
  396. package/web/chunk-ryw7xnab.js.gz +0 -0
  397. package/web/{chunk-1hx4xtdk.js → chunk-sbbmy02e.js} +2 -2
  398. package/web/chunk-sbbmy02e.js.br +0 -0
  399. package/web/chunk-sbbmy02e.js.gz +0 -0
  400. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  401. package/web/chunk-sgbc835w.js.br +0 -0
  402. package/web/chunk-sgbc835w.js.gz +0 -0
  403. package/web/chunk-sydy10mb.js +1 -0
  404. package/web/chunk-sydy10mb.js.br +0 -0
  405. package/web/chunk-sydy10mb.js.gz +0 -0
  406. package/web/chunk-t0ywnp5e.js +1 -0
  407. package/web/chunk-t0ywnp5e.js.br +0 -0
  408. package/web/chunk-t0ywnp5e.js.gz +0 -0
  409. package/web/chunk-t6agpn2z.js.br +0 -0
  410. package/web/chunk-t6agpn2z.js.gz +0 -0
  411. package/web/{chunk-hhnhgthx.js → chunk-t72jq97z.js} +2 -2
  412. package/web/chunk-t72jq97z.js.br +0 -0
  413. package/web/chunk-t72jq97z.js.gz +0 -0
  414. package/web/{chunk-6ty9vw27.js → chunk-tfcc9bcz.js} +3 -3
  415. package/web/chunk-tfcc9bcz.js.br +0 -0
  416. package/web/chunk-tfcc9bcz.js.gz +0 -0
  417. package/web/{chunk-27tchdxd.js → chunk-v2bvbgfc.js} +2 -2
  418. package/web/chunk-v2bvbgfc.js.br +0 -0
  419. package/web/chunk-v2bvbgfc.js.gz +0 -0
  420. package/web/{chunk-madrcnm1.js → chunk-v7zq4vc9.js} +5 -5
  421. package/web/chunk-v7zq4vc9.js.br +0 -0
  422. package/web/chunk-v7zq4vc9.js.gz +0 -0
  423. package/web/chunk-vh8pkcem.css.br +0 -0
  424. package/web/chunk-vh8pkcem.css.gz +0 -0
  425. package/web/chunk-vq3sby7x.js +1 -0
  426. package/web/chunk-vq3sby7x.js.br +0 -0
  427. package/web/chunk-vq3sby7x.js.gz +0 -0
  428. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  429. package/web/chunk-vszya05r.js.br +0 -0
  430. package/web/chunk-vszya05r.js.gz +0 -0
  431. package/web/chunk-was9xf03.js +8 -0
  432. package/web/chunk-was9xf03.js.br +0 -0
  433. package/web/chunk-was9xf03.js.gz +0 -0
  434. package/web/chunk-we1v1829.js +2 -0
  435. package/web/chunk-we1v1829.js.br +0 -0
  436. package/web/chunk-we1v1829.js.gz +0 -0
  437. package/web/chunk-wfa1c8dn.js +1 -0
  438. package/web/chunk-wfa1c8dn.js.br +0 -0
  439. package/web/chunk-wfa1c8dn.js.gz +0 -0
  440. package/web/chunk-wg2exnxe.js +1 -0
  441. package/web/chunk-wg2exnxe.js.br +2 -0
  442. package/web/chunk-wg2exnxe.js.gz +0 -0
  443. package/web/chunk-wvd3zj1m.js +70 -0
  444. package/web/chunk-wvd3zj1m.js.br +0 -0
  445. package/web/chunk-wvd3zj1m.js.gz +0 -0
  446. package/web/chunk-wzmxtr30.js +1 -0
  447. package/web/chunk-wzmxtr30.js.br +0 -0
  448. package/web/chunk-wzmxtr30.js.gz +0 -0
  449. package/web/chunk-x815g7yp.js +1 -0
  450. package/web/chunk-x815g7yp.js.br +0 -0
  451. package/web/chunk-x815g7yp.js.gz +0 -0
  452. package/web/{chunk-0qnetvsc.js → chunk-x8ps0p82.js} +14 -14
  453. package/web/chunk-x8ps0p82.js.br +0 -0
  454. package/web/chunk-x8ps0p82.js.gz +0 -0
  455. package/web/{chunk-y2ykn1gm.js → chunk-xea3snym.js} +1 -1
  456. package/web/chunk-xea3snym.js.br +0 -0
  457. package/web/chunk-xea3snym.js.gz +0 -0
  458. package/web/chunk-xet1jjy9.js.br +0 -0
  459. package/web/chunk-xet1jjy9.js.gz +0 -0
  460. package/web/{chunk-vjnvfb8z.js → chunk-xg4v60m7.js} +1 -1
  461. package/web/chunk-xg4v60m7.js.br +0 -0
  462. package/web/chunk-xg4v60m7.js.gz +0 -0
  463. package/web/chunk-xhr9jrjt.js +89 -0
  464. package/web/chunk-xhr9jrjt.js.br +0 -0
  465. package/web/chunk-xhr9jrjt.js.gz +0 -0
  466. package/web/chunk-xp90g2e7.js +36 -0
  467. package/web/chunk-xp90g2e7.js.br +0 -0
  468. package/web/chunk-xp90g2e7.js.gz +0 -0
  469. package/web/{chunk-e229cr90.js → chunk-xs1g97qa.js} +2 -2
  470. package/web/chunk-xs1g97qa.js.br +0 -0
  471. package/web/chunk-xs1g97qa.js.gz +0 -0
  472. package/web/chunk-xyk1wpr4.js +1 -0
  473. package/web/chunk-xyk1wpr4.js.br +3 -0
  474. package/web/chunk-xyk1wpr4.js.gz +0 -0
  475. package/web/chunk-yavbdwyt.js +1 -0
  476. package/web/chunk-yavbdwyt.js.br +0 -0
  477. package/web/chunk-yavbdwyt.js.gz +0 -0
  478. package/web/chunk-yfnhnsxe.js +4 -0
  479. package/web/chunk-yfnhnsxe.js.br +0 -0
  480. package/web/chunk-yfnhnsxe.js.gz +0 -0
  481. package/web/chunk-yk965yth.js +1 -0
  482. package/web/chunk-yk965yth.js.br +0 -0
  483. package/web/chunk-yk965yth.js.gz +0 -0
  484. package/web/{chunk-c1z290wm.js → chunk-ynhcjhsx.js} +2 -2
  485. package/web/chunk-ynhcjhsx.js.br +0 -0
  486. package/web/chunk-ynhcjhsx.js.gz +0 -0
  487. package/web/chunk-ypmm1gts.js +1 -0
  488. package/web/chunk-ypmm1gts.js.br +0 -0
  489. package/web/chunk-ypmm1gts.js.gz +0 -0
  490. package/web/chunk-yssx5a5q.js +1 -0
  491. package/web/chunk-yssx5a5q.js.br +0 -0
  492. package/web/chunk-yssx5a5q.js.gz +0 -0
  493. package/web/chunk-z09emmrb.js.br +0 -0
  494. package/web/chunk-z09emmrb.js.gz +0 -0
  495. package/web/chunk-z0a8cnq8.js +1 -0
  496. package/web/chunk-z0a8cnq8.js.br +0 -0
  497. package/web/chunk-z0a8cnq8.js.gz +0 -0
  498. package/web/{chunk-gaf9brzv.js → chunk-z1afsvbv.js} +2 -2
  499. package/web/chunk-z1afsvbv.js.br +0 -0
  500. package/web/chunk-z1afsvbv.js.gz +0 -0
  501. package/web/{chunk-w60dxtyz.js → chunk-z1ka8jtd.js} +2 -2
  502. package/web/chunk-z1ka8jtd.js.br +0 -0
  503. package/web/chunk-z1ka8jtd.js.gz +0 -0
  504. package/web/chunk-z7tdzen9.js +1 -0
  505. package/web/chunk-z7tdzen9.js.br +0 -0
  506. package/web/chunk-z7tdzen9.js.gz +0 -0
  507. package/web/{chunk-444xfger.js → chunk-zbwjj06m.js} +7 -7
  508. package/web/chunk-zbwjj06m.js.br +0 -0
  509. package/web/chunk-zbwjj06m.js.gz +0 -0
  510. package/web/chunk-zd2j189j.js +1 -0
  511. package/web/chunk-zd2j189j.js.br +0 -0
  512. package/web/chunk-zd2j189j.js.gz +0 -0
  513. package/web/chunk-zfgpq4n4.js +120 -0
  514. package/web/chunk-zfgpq4n4.js.br +0 -0
  515. package/web/chunk-zfgpq4n4.js.gz +0 -0
  516. package/web/chunk-zgas56xw.js +1 -0
  517. package/web/chunk-zgas56xw.js.br +0 -0
  518. package/web/chunk-zgas56xw.js.gz +0 -0
  519. package/web/chunk-zkfepf91.js +1 -0
  520. package/web/chunk-zkfepf91.js.br +0 -0
  521. package/web/chunk-zkfepf91.js.gz +0 -0
  522. package/web/icon-1wgy7kzy.svg.br +0 -0
  523. package/web/icon-1wgy7kzy.svg.gz +0 -0
  524. package/web/icon.svg.br +0 -0
  525. package/web/icon.svg.gz +0 -0
  526. package/web/index.html +11 -1
  527. package/web/index.html.br +0 -0
  528. package/web/index.html.gz +0 -0
  529. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  530. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  531. package/web/manifest.webmanifest.br +0 -0
  532. package/web/manifest.webmanifest.gz +0 -0
  533. package/web/sw.js +146 -27
  534. package/web/sw.js.br +0 -0
  535. package/web/sw.js.gz +0 -0
  536. package/worker.js +1 -1
  537. package/chunk-4hf0r9hv.js +0 -12
  538. package/chunk-4w8j6n7z.js +0 -2
  539. package/chunk-4yxd2kg1.js +0 -3
  540. package/chunk-62ebm0bn.js +0 -2
  541. package/chunk-6ae9810t.js +0 -25
  542. package/chunk-6ef085c1.js +0 -20
  543. package/chunk-6exa9fp7.js +0 -3
  544. package/chunk-73t051r6.js +0 -2
  545. package/chunk-86yr2c0r.js +0 -3
  546. package/chunk-8jn0yax5.js +0 -482
  547. package/chunk-9xjecw6c.js +0 -2
  548. package/chunk-9ymm1gge.js +0 -4172
  549. package/chunk-bjvv3403.js +0 -2
  550. package/chunk-bv96b8q7.js +0 -2
  551. package/chunk-drett6hb.js +0 -2
  552. package/chunk-fzftb4n2.js +0 -10
  553. package/chunk-ge38dhv9.js +0 -3
  554. package/chunk-hggam3je.js +0 -2
  555. package/chunk-nrdszs0g.js +0 -5
  556. package/chunk-pjgt1bdx.js +0 -3
  557. package/chunk-q6tgpaf3.js +0 -2
  558. package/chunk-t33bm5aa.js +0 -2
  559. package/chunk-v9ttcf6r.js +0 -3
  560. package/chunk-vd5332ps.js +0 -2
  561. package/chunk-vv9csar7.js +0 -2
  562. package/chunk-wnd3y4c0.js +0 -10
  563. package/chunk-xba6fr5v.js +0 -2
  564. package/chunk-ypxs8djn.js +0 -2
  565. package/chunk-zcwz44db.js +0 -2
  566. package/web/chunk-0zb330w3.js +0 -89
  567. package/web/chunk-11byy7vm.js +0 -1
  568. package/web/chunk-160x5pv7.js +0 -1
  569. package/web/chunk-19g09ekr.js +0 -40
  570. package/web/chunk-1gzprnyd.js +0 -1
  571. package/web/chunk-1je4p601.js +0 -139
  572. package/web/chunk-1rjtqf8h.js +0 -2
  573. package/web/chunk-1y387f45.js +0 -1
  574. package/web/chunk-23258z1r.js +0 -1
  575. package/web/chunk-27592nd8.js +0 -36
  576. package/web/chunk-2hqmdqn3.js +0 -41
  577. package/web/chunk-2q79n966.js +0 -2
  578. package/web/chunk-2ws74tfa.js +0 -21
  579. package/web/chunk-2z8epr8f.js +0 -34
  580. package/web/chunk-4k62e61g.js +0 -291
  581. package/web/chunk-4z6wma3s.js +0 -78
  582. package/web/chunk-5wkqqa59.js +0 -1
  583. package/web/chunk-5yczs6sb.js +0 -1
  584. package/web/chunk-5yn7mwvt.js +0 -1
  585. package/web/chunk-705tkt2r.js +0 -1
  586. package/web/chunk-753qp8sa.js +0 -4
  587. package/web/chunk-76e3npmd.js +0 -2
  588. package/web/chunk-7p04dn0k.js +0 -1
  589. package/web/chunk-7qq1ypvj.js +0 -1
  590. package/web/chunk-7rb3v8gy.js +0 -1
  591. package/web/chunk-7yz88k97.js +0 -39
  592. package/web/chunk-85d7jkp0.js +0 -2
  593. package/web/chunk-90kgn35s.js +0 -1
  594. package/web/chunk-931y1g0h.js +0 -1
  595. package/web/chunk-at0xtfhy.js +0 -1
  596. package/web/chunk-bcp6na49.js +0 -1145
  597. package/web/chunk-bz1q7qdd.js +0 -8
  598. package/web/chunk-c0evk1xy.js +0 -1
  599. package/web/chunk-cge0cjfm.js +0 -2
  600. package/web/chunk-e9mmkrc3.js +0 -7
  601. package/web/chunk-f8nnrk6y.js +0 -292
  602. package/web/chunk-fcrswzgm.js +0 -106
  603. package/web/chunk-fw4fa7j6.js +0 -1
  604. package/web/chunk-fx8hheqz.js +0 -1
  605. package/web/chunk-gj16e7z0.js +0 -1
  606. package/web/chunk-h0c42zy3.js +0 -1
  607. package/web/chunk-h1y8y203.js +0 -1
  608. package/web/chunk-h6vy008x.js +0 -24
  609. package/web/chunk-h8mhnze5.js +0 -303
  610. package/web/chunk-j27mtdr2.js +0 -1
  611. package/web/chunk-jys02310.js +0 -1
  612. package/web/chunk-kew13yzg.js +0 -1
  613. package/web/chunk-kx5r8nf2.js +0 -1
  614. package/web/chunk-m7c0xk69.js +0 -1
  615. package/web/chunk-mrnx4f74.js +0 -70
  616. package/web/chunk-mtdsrtc5.js +0 -1
  617. package/web/chunk-n3spc397.js +0 -24
  618. package/web/chunk-nbcpbqq4.js +0 -1
  619. package/web/chunk-nhc280n0.js +0 -1
  620. package/web/chunk-nx1bcekh.js +0 -2
  621. package/web/chunk-p8t7s4z4.js +0 -1
  622. package/web/chunk-pgh1cx6w.js +0 -1
  623. package/web/chunk-qgzn0ha5.js +0 -89
  624. package/web/chunk-qtwxq6hj.js +0 -3
  625. package/web/chunk-qwp3dhmf.js +0 -1
  626. package/web/chunk-rjh54ygb.js +0 -120
  627. package/web/chunk-ryh8jdzy.js +0 -1
  628. package/web/chunk-s3t8dkkz.js +0 -1
  629. package/web/chunk-sk1w7f7h.js +0 -1
  630. package/web/chunk-smkrxjm5.js +0 -1
  631. package/web/chunk-sv5ph7fa.js +0 -1
  632. package/web/chunk-t9twxmsg.js +0 -1
  633. package/web/chunk-tfdchqn4.js +0 -62
  634. package/web/chunk-tvvggvjt.js +0 -169
  635. package/web/chunk-ty87gdvr.js +0 -1
  636. package/web/chunk-v16s0x7c.js +0 -1
  637. package/web/chunk-vgyp8wa2.js +0 -2
  638. package/web/chunk-vphzndz8.js +0 -2
  639. package/web/chunk-xtss82z2.js +0 -1
  640. package/web/chunk-y0mef85j.js +0 -1
  641. package/web/chunk-ym9qfsjs.js +0 -30
  642. package/web/chunk-ypdptddq.js +0 -1
  643. package/web/chunk-z08c63ph.js +0 -2
  644. package/web/chunk-z6x74qfh.js +0 -1
  645. package/web/chunk-z86pjpqp.js +0 -1
  646. package/web/chunk-zh0vjc6g.js +0 -1
  647. package/web/chunk-zns9wmab.js +0 -1
@@ -1,15 +1,15 @@
1
- import{t,a,de,x,b,F,C,l,p,qa,Nn,un,Va,Ir,Dr,Nr,Mr,Wa,Ga,Ha,Ya,Za,Xa,Ka,Qa,Ja,ei,ti,ni,ri,ai,ii,oi,si,dn,ci,pe,le,ce,Xe,Ke,Et,bt,At,Kn,tn,Qn}from"./chunk-h8mhnze5.js";import{ae}from"./chunk-z08c63ph.js";import{qe}from"./chunk-ffn1a0zw.js";import{Bt}from"./chunk-2q79n966.js";function Te(e){return Array.isArray(e)}function Ne(e){if(Nn(e))return e;let o=un(e);if(!Qe(e))return{};if(Te(e)){let i=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))i.index=e.index,i.input=e.input;return i}if(dn(e)){let i=e;return new i.constructor(i.buffer,i.byteOffset,i.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let i=e,{buffer:g,byteOffset:f,byteLength:r}=i,d=new ArrayBuffer(r),w=new Uint8Array(g,f,r);return new Uint8Array(d).set(w),new DataView(d)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let g=new e.constructor(e.valueOf());if(o==="[object String]")et(g,e);else ge(g,e);return g}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let i=e,g=new RegExp(i.source,i.flags);return g.lastIndex=i.lastIndex,g}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let i=e,g=new Map;return i.forEach((f,r)=>{g.set(r,f)}),g}if(o==="[object Set]"){let i=e,g=new Set;return i.forEach((f)=>{g.add(f)}),g}if(o==="[object Arguments]"){let i=e,g={};return ge(g,i),g.length=i.length,g[Symbol.iterator]=i[Symbol.iterator],g}let u={};return tt(u,e),ge(u,e),$e(u,e),u}function Qe(e){switch(un(e)){case Mr:case Za:case Xa:case Qa:case Nr:case Ga:case oi:case si:case ri:case ai:case ii:case Ha:case Dr:case Ka:case Va:case Ya:case Ir:case Wa:case Ja:case ei:case ti:case ni:return!0;default:return!1}}function ge(e,o){for(let u in o)if(Object.hasOwn(o,u))e[u]=o[u]}function $e(e,o){let u=Object.getOwnPropertySymbols(o);for(let i=0;i<u.length;i++){let g=u[i];if(Object.prototype.propertyIsEnumerable.call(o,g))e[g]=o[g]}}function et(e,o){let u=o.valueOf().length;for(let i in o)if(Object.hasOwn(o,i)&&(Number.isNaN(Number(i))||Number(i)>=u))e[i]=o[i]}function tt(e,o){let u=Object.getPrototypeOf(o);if(u!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,u)}}var be=function(){var e=t(function(B,S,n,h){for(n=n||{},h=B.length;h--;n[B[h]]=S);return n},"o"),o=[1,15],u=[1,7],i=[1,13],g=[1,14],f=[1,19],r=[1,16],d=[1,17],w=[1,18],E=[8,30],k=[8,10,21,28,29,30,31,39,43,46],L=[1,23],_=[1,24],T=[8,10,15,16,21,28,29,30,31,39,43,46],y=[8,10,15,16,21,27,28,29,30,31,39,43,46],I=[1,49],N={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(S,n,h,m,D,s,H){var c=s.length-1;switch(D){case 4:m.getLogger().debug("Rule: separator (NL) ");break;case 5:m.getLogger().debug("Rule: separator (Space) ");break;case 6:m.getLogger().debug("Rule: separator (EOF) ");break;case 7:m.getLogger().debug("Rule: hierarchy: ",s[c-1]),m.setHierarchy(s[c-1]);break;case 8:m.getLogger().debug("Stop NL ");break;case 9:m.getLogger().debug("Stop EOF ");break;case 10:m.getLogger().debug("Stop NL2 ");break;case 11:m.getLogger().debug("Stop EOF2 ");break;case 12:m.getLogger().debug("Rule: statement: ",s[c]),typeof s[c].length==="number"?this.$=s[c]:this.$=[s[c]];break;case 13:m.getLogger().debug("Rule: statement #2: ",s[c-1]),this.$=[s[c-1]].concat(s[c]);break;case 14:m.getLogger().debug("Rule: link: ",s[c],S),this.$={edgeTypeStr:s[c],label:""};break;case 15:m.getLogger().debug("Rule: LABEL link: ",s[c-3],s[c-1],s[c]),this.$={edgeTypeStr:s[c],label:s[c-1]};break;case 18:let V=parseInt(s[c]),j=m.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:m.getLogger().debug("Rule: (nodeStatement link node) ",s[c-2],s[c-1],s[c]," typestr: ",s[c-1].edgeTypeStr);let G=m.edgeStrToEdgeData(s[c-1].edgeTypeStr),re=m.edgeStrToEdgeStartData(s[c-1].edgeTypeStr),q=m.edgeStrToThickness(s[c-1].edgeTypeStr),se=m.edgeStrToPattern(s[c-1].edgeTypeStr);this.$=[{id:s[c-2].id,label:s[c-2].label,type:s[c-2].type,directions:s[c-2].directions},{id:s[c-2].id+"-"+s[c].id,start:s[c-2].id,end:s[c].id,label:s[c-1].label,type:"edge",thickness:q,pattern:se,directions:s[c].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[c].id,label:s[c].label,type:m.typeStr2Type(s[c].typeStr),directions:s[c].directions}];break;case 24:m.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[c-1],s[c]),this.$={id:s[c-1].id,label:s[c-1].label,type:m.typeStr2Type(s[c-1].typeStr),directions:s[c-1].directions,widthInColumns:parseInt(s[c],10)};break;case 25:m.getLogger().debug("Rule: nodeStatement (node) ",s[c]),this.$={id:s[c].id,label:s[c].label,type:m.typeStr2Type(s[c].typeStr),directions:s[c].directions,widthInColumns:1};break;case 26:m.getLogger().debug("APA123",this?this:"na"),m.getLogger().debug("COLUMNS: ",s[c]),this.$={type:"column-setting",columns:s[c]==="auto"?-1:parseInt(s[c])};break;case 27:m.getLogger().debug("Rule: id-block statement : ",s[c-2],s[c-1]);let O=m.generateId();this.$={...s[c-2],type:"composite",children:s[c-1]};break;case 28:m.getLogger().debug("Rule: blockStatement : ",s[c-2],s[c-1],s[c]);let K=m.generateId();this.$={id:K,type:"composite",label:"",children:s[c-1]};break;case 29:m.getLogger().debug("Rule: node (NODE_ID separator): ",s[c]),this.$={id:s[c]};break;case 30:m.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[c-1],s[c]),this.$={id:s[c-1],label:s[c].label,typeStr:s[c].typeStr,directions:s[c].directions};break;case 31:m.getLogger().debug("Rule: dirList: ",s[c]),this.$=[s[c]];break;case 32:m.getLogger().debug("Rule: dirList: ",s[c-1],s[c]),this.$=[s[c-1]].concat(s[c]);break;case 33:m.getLogger().debug("Rule: nodeShapeNLabel: ",s[c-2],s[c-1],s[c]),this.$={typeStr:s[c-2]+s[c],label:s[c-1]};break;case 34:m.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[c-3],s[c-2]," #3:",s[c-1],s[c]),this.$={typeStr:s[c-3]+s[c],label:s[c-2],directions:s[c-1]};break;case 35:case 36:this.$={type:"classDef",id:s[c-1].trim(),css:s[c].trim()};break;case 37:this.$={type:"applyClass",id:s[c-1].trim(),styleClass:s[c].trim()};break;case 38:this.$={type:"applyStyles",id:s[c-1].trim(),stylesStr:s[c].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:u,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:w},{8:[1,20]},e(E,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:u,28:i,29:g,31:f,39:r,43:d,46:w}),e(k,[2,16],{14:22,15:L,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(T,[2,25],{27:[1,25]}),e(k,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:u,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:w},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(y,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(E,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(T,[2,24]),{10:o,11:37,13:4,14:22,15:L,16:_,19:5,20:6,21:u,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:w},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(y,[2,30]),{18:[1,43]},{18:[1,44]},e(T,[2,23]),{18:[1,45]},{30:[1,46]},e(k,[2,28]),e(k,[2,35]),e(k,[2,36]),e(k,[2,37]),e(k,[2,38]),{36:[1,47]},{33:48,34:I},{15:[1,50]},e(k,[2,27]),e(y,[2,33]),{38:[1,51]},{33:52,34:I,38:[2,31]},{31:[2,15]},e(y,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(S,n){if(n.recoverable)this.trace(S);else{var h=Error(S);throw h.hash=n,h}},"parseError"),parse:t(function(S){var n=this,h=[0],m=[],D=[null],s=[],H=this.table,c="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),O=Object.create(this.lexer),K={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))K.yy[ie]=this.yy[ie];if(O.setInput(S,K.yy),K.yy.lexer=O,K.yy.parser=this,typeof O.yylloc>"u")O.yylloc={};var ne=O.yylloc;s.push(ne);var Je=O.options&&O.options.ranges;if(typeof K.yy.parseError==="function")this.parseError=K.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ze(P){h.length=h.length-2*P,D.length=D.length-P,s.length=s.length-P}t(Ze,"popStack");function _e(){var P=m.pop()||O.lex()||q;if(typeof P!=="number"){if(P instanceof Array)m=P,P=m.pop();P=n.symbols_[P]||P}return P}t(_e,"lex");var A,oe,W,R,vt,ue,U={},J,Y,De,Z;while(!0){if(W=h[h.length-1],this.defaultActions[W])R=this.defaultActions[W];else{if(A===null||typeof A>"u")A=_e();R=H[W]&&H[W][A]}if(typeof R>"u"||!R.length||!R[0]){var he="";Z=[];for(J in H[W])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(O.showPosition)he="Parse error on line "+(V+1)+`:
1
+ import{t,a,Le,S,k,G,A,u,f,yo,Pr,lr,vo,Ga,Ha,Ya,Za,bo,xo,_o,wo,ko,Co,So,To,Eo,Ao,Ro,Lo,Io,Do,No,Mo,Po,cr,$o,Ie,Te,Ee,Lt,It,bn,un,xn,aa,Kn,ia}from"./chunk-fzmrnh17.js";import{xe}from"./chunk-6ey4c6gw.js";import{kt}from"./chunk-q3njnnef.js";import{In}from"./chunk-we1v1829.js";function _e(e){return Array.isArray(e)}function De(e){if(Pr(e))return e;let o=lr(e);if(!qe(e))return{};if(_e(e)){let i=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))i.index=e.index,i.input=e.input;return i}if(cr(e)){let i=e;return new i.constructor(i.buffer,i.byteOffset,i.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let i=e,{buffer:g,byteOffset:p,byteLength:r}=i,d=new ArrayBuffer(r),w=new Uint8Array(g,p,r);return new Uint8Array(d).set(w),new DataView(d)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let g=new e.constructor(e.valueOf());if(o==="[object String]")Ze(g,e);else ce(g,e);return g}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let i=e,g=new RegExp(i.source,i.flags);return g.lastIndex=i.lastIndex,g}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let i=e,g=new Map;return i.forEach((p,r)=>{g.set(r,p)}),g}if(o==="[object Set]"){let i=e,g=new Set;return i.forEach((p)=>{g.add(p)}),g}if(o==="[object Arguments]"){let i=e,g={};return ce(g,i),g.length=i.length,g[Symbol.iterator]=i[Symbol.iterator],g}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(lr(e)){case Za:case ko:case Co:case To:case Ya:case xo:case Mo:case Po:case Io:case Do:case No:case _o:case Ha:case So:case vo:case wo:case Ga:case bo:case Eo:case Ao:case Ro:case Lo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let i=0;i<c.length;i++){let g=c[i];if(Object.prototype.propertyIsEnumerable.call(o,g))e[g]=o[g]}}function Ze(e,o){let c=o.valueOf().length;for(let i in o)if(Object.hasOwn(o,i)&&(Number.isNaN(Number(i))||Number(i)>=c))e[i]=o[i]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,h){for(n=n||{},h=B.length;h--;n[B[h]]=b);return n},"o"),o=[1,15],c=[1,7],i=[1,13],g=[1,14],p=[1,19],r=[1,16],d=[1,17],w=[1,18],E=[8,30],L=[8,10,21,28,29,30,31,39,43,46],m=[1,23],_=[1,24],T=[8,10,15,16,21,28,29,30,31,39,43,46],y=[8,10,15,16,21,27,28,29,30,31,39,43,46],I=[1,49],N={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,h,x,D,s,U){var l=s.length-1;switch(D){case 4:x.getLogger().debug("Rule: separator (NL) ");break;case 5:x.getLogger().debug("Rule: separator (Space) ");break;case 6:x.getLogger().debug("Rule: separator (EOF) ");break;case 7:x.getLogger().debug("Rule: hierarchy: ",s[l-1]),x.setHierarchy(s[l-1]);break;case 8:x.getLogger().debug("Stop NL ");break;case 9:x.getLogger().debug("Stop EOF ");break;case 10:x.getLogger().debug("Stop NL2 ");break;case 11:x.getLogger().debug("Stop EOF2 ");break;case 12:x.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:x.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:x.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:x.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let W=parseInt(s[l]),X=x.generateId();this.$={id:X,type:"space",label:"",width:W,children:[]};break;case 23:x.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let j=x.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=x.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=x.edgeStrToThickness(s[l-1].edgeTypeStr),se=x.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:j,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:x.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:x.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:x.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:x.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:x.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:x.getLogger().debug("APA123",this?this:"na"),x.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:x.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let O=x.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:x.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=x.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:x.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:x.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:x.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:x.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:x.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:x.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:p,39:r,43:d,46:w},{8:[1,20]},e(E,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:i,29:g,31:p,39:r,43:d,46:w}),e(L,[2,16],{14:22,15:m,16:_}),e(L,[2,17]),e(L,[2,18]),e(L,[2,19]),e(L,[2,20]),e(L,[2,21]),e(L,[2,22]),e(T,[2,25],{27:[1,25]}),e(L,[2,26]),{19:26,26:12,31:p},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:p,39:r,43:d,46:w},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(y,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(E,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(T,[2,24]),{10:o,11:37,13:4,14:22,15:m,16:_,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:p,39:r,43:d,46:w},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(y,[2,30]),{18:[1,43]},{18:[1,44]},e(T,[2,23]),{18:[1,45]},{30:[1,46]},e(L,[2,28]),e(L,[2,35]),e(L,[2,36]),e(L,[2,37]),e(L,[2,38]),{36:[1,47]},{33:48,34:I},{15:[1,50]},e(L,[2,27]),e(y,[2,33]),{38:[1,51]},{33:52,34:I,38:[2,31]},{31:[2,15]},e(y,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var h=Error(b);throw h.hash=n,h}},"parseError"),parse:t(function(b){var n=this,h=[0],x=[],D=[null],s=[],U=this.table,l="",W=0,X=0,j=0,re=2,q=1,se=s.slice.call(arguments,1),O=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(O.setInput(b,M.yy),M.yy.lexer=O,M.yy.parser=this,typeof O.yylloc>"u")O.yylloc={};var ae=O.yylloc;s.push(ae);var je=O.options&&O.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){h.length=h.length-2*P,D.length=D.length-P,s.length=s.length-P}t(Ge,"popStack");function ye(){var P=x.pop()||O.lex()||q;if(typeof P!=="number"){if(P instanceof Array)x=P,P=x.pop();P=n.symbols_[P]||P}return P}t(ye,"lex");var v,ne,Y,R,Ot,oe,V={},J,K,we,Z;while(!0){if(Y=h[h.length-1],this.defaultActions[Y])R=this.defaultActions[Y];else{if(v===null||typeof v>"u")v=ye();R=U[Y]&&U[Y][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in U[Y])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(O.showPosition)le="Parse error on line "+(W+1)+`:
2
2
  `+O.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else he="Parse error on line "+(V+1)+": Unexpected "+(A==q?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(he,{text:O.match,token:this.terminals_[A]||A,line:O.yylineno,loc:ne,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+A);switch(R[0]){case 1:if(h.push(A),D.push(O.yytext),s.push(O.yylloc),h.push(R[1]),A=null,!oe){if(j=O.yyleng,c=O.yytext,V=O.yylineno,ne=O.yylloc,G>0)G--}else A=oe,oe=null;break;case 2:if(Y=this.productions_[R[1]][1],U.$=D[D.length-Y],U._$={first_line:s[s.length-(Y||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(Y||1)].first_column,last_column:s[s.length-1].last_column},Je)U._$.range=[s[s.length-(Y||1)].range[0],s[s.length-1].range[1]];if(ue=this.performAction.apply(U,[c,j,V,K.yy,R[1],D,s].concat(se)),typeof ue<"u")return ue;if(Y)h=h.slice(0,-1*Y*2),D=D.slice(0,-1*Y),s=s.slice(0,-1*Y);h.push(this.productions_[R[1]][0]),D.push(U.$),s.push(U._$),De=H[h[h.length-2]][h[h.length-1]],h.push(De);break;case 3:return!0}}return!0},"parse")},v=function(){var B={EOF:1,parseError:t(function(n,h){if(this.yy.parser)this.yy.parser.parseError(n,h);else throw Error(n)},"parseError"),setInput:t(function(S,n){if(this.yy=n||this.yy||{},this._input=S,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 S=this._input[0];this.yytext+=S,this.yyleng++,this.offset++,this.match+=S,this.matched+=S;var n=S.match(/(?:\r\n?|\n).*/g);if(n)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),S},"input"),unput:t(function(S){var n=S.length,h=S.split(/(?:\r\n?|\n)/g);this._input=S+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var m=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1)this.yylineno-=h.length-1;var D=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===m.length?this.yylloc.first_column:0)+m[m.length-h.length].length-h[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[D[0],D[0]+this.yyleng-n];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(S){this.unput(this.match.slice(S))},"less"),pastInput:t(function(){var S=this.matched.substr(0,this.matched.length-this.match.length);return(S.length>20?"...":"")+S.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var S=this.match;if(S.length<20)S+=this._input.substr(0,20-S.length);return(S.substr(0,20)+(S.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var S=this.pastInput(),n=Array(S.length+1).join("-");return S+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(S,n){var h,m,D;if(this.options.backtrack_lexer){if(D={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)D.yylloc.range=this.yylloc.range.slice(0)}if(m=S[0].match(/(?:\r\n?|\n).*/g),m)this.yylineno+=m.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+S[0].length},this.yytext+=S[0],this.match+=S[0],this.matches=S,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(S[0].length),this.matched+=S[0],h=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var s in D)this[s]=D[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var S,n,h,m;if(!this._more)this.yytext="",this.match="";var D=this._currentRules();for(var s=0;s<D.length;s++)if(h=this._input.match(this.rules[D[s]]),h&&(!n||h[0].length>n[0].length)){if(n=h,m=s,this.options.backtrack_lexer)if(S=this.test_match(h,D[s]),S!==!1)return S;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(S=this.test_match(n,D[m]),S!==!1)return S;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 n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,h,m,D){var s=D;switch(m){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",h.yytext);break;case 4:n.getLogger().debug("_",h.yytext);break;case 5:return 5;case 6:return h.yytext=-1,28;break;case 7:return h.yytext=h.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",h.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",h.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",h.yytext),"STR";break;case 14:return h.yytext=h.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",h.yytext),21;break;case 15:return h.yytext="1",n.getLogger().debug("COLUMNS (LEX)",h.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",h.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",h.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",h.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",h.yytext),"DIR";break;case 86:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",h.yytext),"DIR";break;case 87:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",h.yytext),"DIR";break;case 88:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",h.yytext),"DIR";break;case 89:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",h.yytext),"DIR";break;case 90:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",h.yytext),"DIR";break;case 91:return h.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",h.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",h.yytext),h.yytext=h.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();N.lexer=v;function z(){this.yy={}}return t(z,"Parser"),z.prototype=N,N.Parser=z,new z}();be.parser=be;var rt=be,M=new Map,me=[],Se=new Map,Ie="color",Oe="fill",st="bgFill",ve=",",Q=new Map,Le="",it=t((e)=>b.sanitizeText(e,l()),"sanitizeText"),at=t(function(e,o=""){let u=Q.get(e);if(!u)u={id:e,styles:[],textStyles:[]},Q.set(e,u);if(o!==void 0&&o!==null)o.split(ve).forEach((i)=>{let g=i.replace(/([^;]*);/,"$1").trim();if(RegExp(Ie).exec(i)){let r=g.replace(Oe,st).replace(Ie,Oe);u.textStyles.push(r)}u.styles.push(g)})},"addStyleClass"),nt=t(function(e,o=""){let u=M.get(e);if(o!==void 0&&o!==null)u.styles=o.split(ve)},"addStyle2Node"),ot=t(function(e,o){e.split(",").forEach(function(u){let i=M.get(u);if(i===void 0){let g=u.trim();i={id:g,type:"na",children:[]},M.set(g,i)}if(!i.classes)i.classes=[];i.classes.push(o)})},"setCssClass"),Ae=0,ze=t((e,o)=>{let u=e.flat(),i=[],f=u.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of u){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)a.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=it(r.label);if(r.type==="classDef"){at(r.id,r.css);continue}if(r.type==="applyClass"){ot(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)nt(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let d=(Se.get(r.id)??0)+1;Se.set(r.id,d),r.id=d+"-"+r.id,me.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let d=M.get(r.id);if(d===void 0){if(r.type==="composite")r.colorIndex=Ae++;M.set(r.id,r)}else{if(r.type!=="na")d.type=r.type;if(r.label!==r.id)d.label=r.label}if(r.children)ze(r.children,r);if(r.type==="space"){let w=r.width??1;for(let E=0;E<w;E++){let k=Ne(r);k.id=k.id+"-"+E,M.set(k.id,k),i.push(k)}}else if(d===void 0)i.push(r)}}o.children=i},"populateBlockDatabase"),ke=[],X={id:"root",type:"composite",children:[],columns:-1},lt=t(()=>{a.debug("Clear called"),C(),X={id:"root",type:"composite",children:[],columns:-1},M=new Map([["root",X]]),ke=[],Q=new Map,me=[],Se=new Map,Le="",Ae=0},"clear");function Be(e){switch(a.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return a.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Be,"typeStr2Type");function Re(e){switch(a.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Re,"edgeTypeStr2Type");function Pe(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Pe,"edgeStrToEdgeData");function Fe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Fe,"edgeStrToEdgeStartData");function Me(e){return e.includes("==")?"thick":"normal"}t(Me,"edgeStrToThickness");function Ye(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ye,"edgeStrToPattern");var Ce=0,ct=t(()=>(Ce++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Ce),"generateId"),ut=t((e)=>{X.children=e,ze(e,X),ke=X.children},"setHierarchy"),ht=t((e)=>{let o=M.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),gt=t(()=>[...M.values()],"getBlocksFlat"),dt=t(()=>ke||[],"getBlocks"),pt=t(()=>me,"getEdges"),ft=t((e)=>M.get(e),"getBlock"),St=t((e)=>{M.set(e.id,e)},"setBlock"),xt=t((e)=>{Le=e},"setDiagramId"),mt=t(()=>Le,"getDiagramId"),Lt=t(()=>a,"getLogger"),kt=t(function(){return Q},"getClasses"),yt={getConfig:t(()=>x().block,"getConfig"),typeStr2Type:Be,edgeTypeStr2Type:Re,edgeStrToEdgeData:Pe,edgeStrToEdgeStartData:Fe,edgeStrToThickness:Me,edgeStrToPattern:Ye,getLogger:Lt,getBlocksFlat:gt,getBlocks:dt,getEdges:pt,setHierarchy:ut,getBlock:ft,setBlock:St,getColumns:ht,getClasses:kt,clear:lt,generateId:ct,setDiagramId:xt,getDiagramId:mt},wt=yt,_t=t((e)=>{let{theme:o,bkgColorArray:u,borderColorArray:i}=e;if(!le(o,i))return"";let g=ce(e.look),f=pe(u),r="";for(let d=0;d<Xe(e.THEME_COLOR_LIMIT,i);d++){let w=i[d%i.length],E=f?`fill: ${u[d%u.length]};`:"",k=`[data-look="${g}"][data-color-id="color-${d}"]`;r+=`
3
+ Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(W+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:O.match,token:this.terminals_[v]||v,line:O.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+Y+", token: "+v);switch(R[0]){case 1:if(h.push(v),D.push(O.yytext),s.push(O.yylloc),h.push(R[1]),v=null,!ne){if(X=O.yyleng,l=O.yytext,W=O.yylineno,ae=O.yylloc,j>0)j--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],V.$=D[D.length-K],V._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)V._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(V,[l,X,W,M.yy,R[1],D,s].concat(se)),typeof oe<"u")return oe;if(K)h=h.slice(0,-1*K*2),D=D.slice(0,-1*K),s=s.slice(0,-1*K);h.push(this.productions_[R[1]][0]),D.push(V.$),s.push(V._$),we=U[h[h.length-2]][h[h.length-1]],h.push(we);break;case 3:return!0}}return!0},"parse")},C=function(){var B={EOF:1,parseError:t(function(n,h){if(this.yy.parser)this.yy.parser.parseError(n,h);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,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 b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)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),b},"input"),unput:t(function(b){var n=b.length,h=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;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),h.length-1)this.yylineno-=h.length-1;var D=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===x.length?this.yylloc.first_column:0)+x[x.length-h.length].length-h[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[D[0],D[0]+this.yyleng-n];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(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
+ `+n+"^"},"showPosition"),test_match:t(function(b,n){var h,x,D;if(this.options.backtrack_lexer){if(D={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)D.yylloc.range=this.yylloc.range.slice(0)}if(x=b[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+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],h=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var s in D)this[s]=D[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,h,x;if(!this._more)this.yytext="",this.match="";var D=this._currentRules();for(var s=0;s<D.length;s++)if(h=this._input.match(this.rules[D[s]]),h&&(!n||h[0].length>n[0].length)){if(n=h,x=s,this.options.backtrack_lexer)if(b=this.test_match(h,D[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,D[x]),b!==!1)return b;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 n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,h,x,D){var s=D;switch(x){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",h.yytext);break;case 4:n.getLogger().debug("_",h.yytext);break;case 5:return 5;case 6:return h.yytext=-1,28;break;case 7:return h.yytext=h.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",h.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",h.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",h.yytext),"STR";break;case 14:return h.yytext=h.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",h.yytext),21;break;case 15:return h.yytext="1",n.getLogger().debug("COLUMNS (LEX)",h.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",h.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",h.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",h.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",h.yytext),"DIR";break;case 86:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",h.yytext),"DIR";break;case 87:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",h.yytext),"DIR";break;case 88:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",h.yytext),"DIR";break;case 89:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",h.yytext),"DIR";break;case 90:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",h.yytext),"DIR";break;case 91:return h.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",h.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",h.yytext),h.yytext=h.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();N.lexer=C;function z(){this.yy={}}return t(z,"Parser"),z.prototype=N,N.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,Ne="color",Oe="fill",et="bgFill",ve=",",Q=new Map,fe="",tt=t((e)=>k.sanitizeText(e,u()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(ve).forEach((i)=>{let g=i.replace(/([^;]*);/,"$1").trim();if(RegExp(Ne).exec(i)){let r=g.replace(Oe,et).replace(Ne,Oe);c.textStyles.push(r)}c.styles.push(g)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(ve)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let i=F.get(c);if(i===void 0){let g=c.trim();i={id:g,type:"na",children:[]},F.set(g,i)}if(!i.classes)i.classes=[];i.classes.push(o)})},"setCssClass"),Ae=0,ze=t((e,o)=>{let c=e.flat(),i=[],p=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof p==="number"&&p>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>p)a.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${p}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let d=(ge.get(r.id)??0)+1;ge.set(r.id,d),r.id=d+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let d=F.get(r.id);if(d===void 0){if(r.type==="composite")r.colorIndex=Ae++;F.set(r.id,r)}else{if(r.type!=="na")d.type=r.type;if(r.label!==r.id)d.label=r.label}if(r.children)ze(r.children,r);if(r.type==="space"){let w=r.width??1;for(let E=0;E<w;E++){let L=De(r);L.id=L.id+"-"+E,F.set(L.id,L),i.push(L)}}else if(d===void 0)i.push(r)}}o.children=i},"populateBlockDatabase"),be=[],H={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{a.debug("Clear called"),A(),H={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",H]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",Ae=0},"clear");function Be(e){switch(a.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return a.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Be,"typeStr2Type");function Re(e){switch(a.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Re,"edgeTypeStr2Type");function Pe(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Pe,"edgeStrToEdgeData");function Fe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Fe,"edgeStrToEdgeStartData");function Me(e){return e.includes("==")?"thick":"normal"}t(Me,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Ce=0,nt=t(()=>(Ce++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Ce),"generateId"),ot=t((e)=>{H.children=e,ze(e,H),be=H.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>a,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>S().block,"getConfig"),typeStr2Type:Be,edgeTypeStr2Type:Re,edgeStrToEdgeData:Pe,edgeStrToEdgeStartData:Fe,edgeStrToThickness:Me,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,yt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:i}=e;if(!Te(o,i))return"";let g=Ee(e.look),p=Ie(c),r="";for(let d=0;d<Lt(e.THEME_COLOR_LIMIT,i);d++){let w=i[d%i.length],E=p?`fill: ${c[d%c.length]};`:"",L=`[data-look="${g}"][data-color-id="color-${d}"]`;r+=`
7
7
 
8
- ${k}.node rect.composite {
8
+ ${L}.node rect.composite {
9
9
  stroke: ${w};
10
10
  ${E}
11
11
  }
12
- `}return r},"genColor"),fe=t((e,o)=>{let u=Bt,i=u(e,"r"),g=u(e,"g"),f=u(e,"b");return de(i,g,f,o)},"fade"),Dt=t((e)=>`${_t(e)}
12
+ `}return r},"genColor"),ue=t((e,o)=>{let c=In,i=c(e,"r"),g=c(e,"g"),p=c(e,"b");return Le(i,g,p,o)},"fade"),wt=t((e)=>`${yt(e)}
13
13
  .label {
14
14
  font-family: ${e.fontFamily};
15
15
  color: ${e.nodeTextColor||e.textColor};
@@ -99,9 +99,9 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else he="Parse er
99
99
  }
100
100
 
101
101
  .node .cluster {
102
- // fill: ${fe(e.mainBkg,0.5)};
103
- fill: ${fe(e.clusterBkg,0.5)};
104
- stroke: ${fe(e.clusterBorder,0.2)};
102
+ // fill: ${ue(e.mainBkg,0.5)};
103
+ fill: ${ue(e.clusterBkg,0.5)};
104
+ stroke: ${ue(e.clusterBorder,0.2)};
105
105
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
106
106
  stroke-width: 1px;
107
107
  }
@@ -136,5 +136,5 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else he="Parse er
136
136
  font-size: 18px;
137
137
  fill: ${e.textColor};
138
138
  }
139
- ${qe()}
140
- `,"getStyles"),Tt=Dt;function xe(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let u=o%e,i=Math.floor(o/e);return{px:u,py:i}}t(xe,"calculateBlockPosition");var Nt=t((e)=>{let o=0,u=0;for(let i of e.children){let{width:g,height:f,x:r,y:d}=i.size??{width:0,height:0,x:0,y:0};if(a.debug("getMaxChildSize abc95 child:",i.id,"width:",g,"height:",f,"x:",r,"y:",d,i.type),i.type==="space")continue;let w=g/(i.widthInColumns??1);if(w>o)o=w;if(f>u)u=f}return{width:o,height:u}},"getMaxChildSize");function ee(e,o,u=0,i=0,g=8){if(a.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",u),!e?.size?.width)e.size={width:u,height:i,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let y of e.children)ee(y,o,0,0,g);let d=Nt(e);f=d.width,r=d.height,a.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let y of e.children)if(y.size)a.debug(`abc95 Setting size of children of ${e.id} id=${y.id} ${f} ${r} ${JSON.stringify(y.size)}`),y.size.width=f*(y.widthInColumns??1)+g*((y.widthInColumns??1)-1),y.size.height=r,y.size.x=0,y.size.y=0,a.debug(`abc95 updating size of ${e.id} children child:${y.id} maxWidth:${f} maxHeight:${r}`);for(let y of e.children)ee(y,o,f,r,g);let w=e.columns??-1,E=0;for(let y of e.children)E+=y.widthInColumns??1;let k=e.children.length;if(w>0&&w<E)k=w;let L=Math.ceil(E/k),_=k*(f+g)+g,T=L*(r+g)+g;if(_<u){a.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${u} siblingHeight ${i} width ${_}`),_=u,T=i;let y=(u-k*g-g)/k,I=(i-L*g-g)/L;a.debug("Size indata abc88",e.id,"childWidth",y,"maxWidth",f),a.debug("Size indata abc88",e.id,"childHeight",I,"maxHeight",r),a.debug("Size indata abc88 xSize",k,"padding",g);for(let N of e.children)if(N.size)N.size.width=y,N.size.height=I,N.size.x=0,N.size.y=0}if(a.debug(`abc95 (finale calc) ${e.id} xSize ${k} ySize ${L} columns ${w}${e.children.length} width=${Math.max(_,e.size?.width||0)}`),_<(e?.size?.width||0)){_=e?.size?.width||0;let y=w>0?Math.min(e.children.length,w):e.children.length;if(y>0){let I=(_-y*g-g)/y;a.debug("abc95 (growing to fit) width",e.id,_,e.size?.width,I);for(let N of e.children)if(N.size)N.size.width=I}}e.size={width:_,height:T,x:0,y:0}}a.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function ye(e,o,u=8){a.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let i=e.columns??-1;if(a.debug("layoutBlocks columns abc95",e.id,"=>",i,e),e.children&&e.children.length>0){let g=e?.children[0]?.size?.width??0,f=e.children.length*g+(e.children.length-1)*u;a.debug("widthOfChildren 88",f,"posX");let r=new Map;{let L=0;for(let _ of e.children){if(!_.size)continue;let{py:T}=xe(i,L),y=r.get(T)??0;if(_.size.height>y)r.set(T,_.size.height);let I=_?.widthInColumns??1;if(i>0)I=Math.min(I,i-L%i);L+=I}}let d=new Map;{let L=0,_=[...r.keys()].sort((T,y)=>T-y);for(let T of _)d.set(T,L),L+=(r.get(T)??0)+u}let w=0;a.debug("abc91 block?.size?.x",e.id,e?.size?.x);let E=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-u,k=0;for(let L of e.children){let _=e;if(!L.size)continue;let{width:T,height:y}=L.size,{px:I,py:N}=xe(i,w);if(N!=k)k=N,E=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-u,a.debug("New row in layout for block",e.id," and child ",L.id,k);if(a.debug(`abc89 layout blocks (child) id: ${L.id} Pos: ${w} (px, py) ${I},${N} (${_?.size?.x},${_?.size?.y}) parent: ${_.id} width: ${T}${u}`),_.size){let z=T/2;L.size.x=E+u+z,a.debug(`abc91 layout blocks (calc) px, pyid:${L.id} startingPos=X${E} new startingPosX${L.size.x} ${z} padding=${u} width=${T} halfWidth=${z} => x:${L.size.x} y:${L.size.y} ${L.widthInColumns} (width * (child?.w || 1)) / 2 ${T*(L?.widthInColumns??1)/2}`),E=L.size.x+z;let B=d.get(N)??0,S=r.get(N)??y;L.size.y=_.size.y-_.size.height/2+B+S/2+u,a.debug(`abc88 layout blocks (calc) px, pyid:${L.id}startingPosX${E}${u}${z}=>x:${L.size.x}y:${L.size.y}${L.widthInColumns}(width * (child?.w || 1)) / 2${T*(L?.widthInColumns??1)/2}`)}if(L.children)ye(L,o,u);let v=L?.widthInColumns??1;if(i>0)v=Math.min(v,i-w%i);w+=v,a.debug("abc88 columnsPos",L,w)}}a.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(ye,"layoutBlocks");function we(e,{minX:o,minY:u,maxX:i,maxY:g}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:d,height:w}=e.size;if(f-d/2<o)o=f-d/2;if(r-w/2<u)u=r-w/2;if(f+d/2>i)i=f+d/2;if(r+w/2>g)g=r+w/2}if(e.children)for(let f of e.children)({minX:o,minY:u,maxX:i,maxY:g}=we(f,{minX:o,minY:u,maxX:i,maxY:g}));return{minX:o,minY:u,maxX:i,maxY:g}}t(we,"findBounds");function We(e){let o=e.getBlock("root");if(!o)return;let u=l()?.block?.padding??8;ee(o,e,0,0,u),ye(o,e,u),a.debug("getBlocks",JSON.stringify(o,null,2));let{minX:i,minY:g,maxX:f,maxY:r}=we(o),d=r-g,w=f-i;return{x:i,y:g,width:w,height:d}}t(We,"layout");function Ee(e,o,u=!1){let i=e,g="default";if((i?.classes?.length||0)>0)g=(i?.classes??[]).join(" ");g=g+" flowchart-label";let f=(i?.classes??[]).flatMap((y)=>o.getClasses().get(y)?.styles??[]),r=0,d="rect",w;switch(i.type){case"round":r=5,d="rect";break;case"composite":r=0,d="composite",w=0;break;case"square":d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"block_arrow":d="block_arrow";break;case"odd":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"rect_left_inv_arrow":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"group":d="rect";break;case"doublecircle":d="doublecircle";break;default:d="rect"}let E=ci(i?.styles??[]),k=i.label,L=i.size??{width:0,height:0,x:0,y:0},_=o.getDiagramId();return{labelStyle:E.labelStyle,shape:d,label:k,labelText:k,rx:r,ry:r,class:g,cssClasses:g,cssStyles:i?.styles??[],cssCompiledStyles:f,style:E.style,id:i.id,domId:_?`${_}-${i.id}`:i.id,isGroup:!1,directions:i.directions,width:L.width||void 0,height:L.height||void 0,wrappingWidth:L.width||Number.POSITIVE_INFINITY,x:L.x,y:L.y,positioned:u,intersect:void 0,padding:w??x()?.block?.padding??0,widthInColumns:i.widthInColumns??1,colorIndex:i.colorIndex,look:x().look}}t(Ee,"getNodeFromBlock");async function Ve(e,o,u){let i=Ee(o,u,!1);if(o.type==="group")return;let g=x(),f=await Et(e,i,{config:g}),r=f.node()?.getBBox()??{width:0,height:0},d=u.getBlock(i.id);d.size={width:r.width,height:r.height,x:0,y:0,node:f},u.setBlock(d),f.remove()}t(Ve,"calculateBlockSize");async function Ue(e,o,u){let i=Ee(o,u,!0);if(u.getBlock(i.id).type!=="space"){let f=x(),r=await Et(e,i,{config:f});if(i.colorIndex!==void 0)Ke(r,i.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=i?.intersect,bt(i)}}t(Ue,"insertBlockPositioned");async function te(e,o,u,i){for(let g of o)if(await i(e,g,u),g.children)await te(e,g.children,u,i)}t(te,"performOperations");async function He(e,o,u){await te(e,o,u,Ve)}t(He,"calculateBlockSizes");async function je(e,o,u){await te(e,o,u,Ue)}t(je,"insertBlocks");async function Ge(e,o,u,i,g){let f=new ae({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of u)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let d=i.getBlock(r.start),w=i.getBlock(r.end);if(d?.size&&w?.size){let E=d.size,k=w.size,L=[{x:E.x,y:E.y},{x:E.x+(k.x-E.x)/2,y:E.y+(k.y-E.y)/2},{x:k.x,y:k.y}],_=g?`${g}-${r.id}`:r.id,T=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",y=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",I=`${T} ${y} flowchart-link LS-a1 LE-b1`;if(tn(e,{...r,id:_,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:L,classes:I},{},"block",f.node(r.start),f.node(r.end),g),r.label)await At(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:L,classes:I}),Kn({...r,x:L[1].x,y:L[1].y},{originalPath:L})}}}t(Ge,"insertEdges");var It=t(function(e,o){return o.db.getClasses()},"getClasses"),Ot=t(async function(e,o,u,i){let{securityLevel:g,block:f}=x(),r=i.db;r.setDiagramId(o);let d;if(g==="sandbox")d=p("#i"+o);let w=g==="sandbox"?p(d.nodes()[0].contentDocument.body):p("body"),E=g==="sandbox"?w.select(`[id="${o}"]`):p(`[id="${o}"]`);qa(E,x()),Qn(E,["point","circle","cross"],i.type,o);let L=r.getBlocks(),_=r.getBlocksFlat(),T=r.getEdges(),y=E.insert("g").attr("class","block");await He(y,L,r);let I=We(r);await je(y,L,r),await Ge(y,T,_,r,o);let N=y.node()?.getBBox(),v=N&&Number.isFinite(N.width)&&Number.isFinite(N.height)?N:I;if(v){let z=Math.max(1,Math.round(0.125*(v.width/v.height))),B=v.height+z+10,S=v.width+10,{useMaxWidth:n}=f;F(E,B,S,!!n),a.debug("Here Bounds",I,v),E.attr("viewBox",`${v.x-5} ${v.y-5} ${v.width+10} ${v.height+10}`)}},"draw"),Ct={draw:Ot,getClasses:It},ar={parser:rt,db:wt,renderer:Ct,styles:Tt};export{ar as diagram};
139
+ ${kt()}
140
+ `,"getStyles"),Et=wt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,i=Math.floor(o/e);return{px:c,py:i}}t(de,"calculateBlockPosition");var _t=t((e)=>{let o=0,c=0;for(let i of e.children){let{width:g,height:p,x:r,y:d}=i.size??{width:0,height:0,x:0,y:0};if(a.debug("getMaxChildSize abc95 child:",i.id,"width:",g,"height:",p,"x:",r,"y:",d,i.type),i.type==="space")continue;let w=g/(i.widthInColumns??1);if(w>o)o=w;if(p>c)c=p}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,i=0,g=8){if(a.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:i,x:0,y:0};let p=0,r=0;if(e.children?.length>0){for(let y of e.children)ee(y,o,0,0,g);let d=_t(e);p=d.width,r=d.height,a.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",p,r);for(let y of e.children)if(y.size)a.debug(`abc95 Setting size of children of ${e.id} id=${y.id} ${p} ${r} ${JSON.stringify(y.size)}`),y.size.width=p*(y.widthInColumns??1)+g*((y.widthInColumns??1)-1),y.size.height=r,y.size.x=0,y.size.y=0,a.debug(`abc95 updating size of ${e.id} children child:${y.id} maxWidth:${p} maxHeight:${r}`);for(let y of e.children)ee(y,o,p,r,g);let w=e.columns??-1,E=0;for(let y of e.children)E+=y.widthInColumns??1;let L=e.children.length;if(w>0&&w<E)L=w;let m=Math.ceil(E/L),_=L*(p+g)+g,T=m*(r+g)+g;if(_<c){a.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${i} width ${_}`),_=c,T=i;let y=(c-L*g-g)/L,I=(i-m*g-g)/m;a.debug("Size indata abc88",e.id,"childWidth",y,"maxWidth",p),a.debug("Size indata abc88",e.id,"childHeight",I,"maxHeight",r),a.debug("Size indata abc88 xSize",L,"padding",g);for(let N of e.children)if(N.size)N.size.width=y,N.size.height=I,N.size.x=0,N.size.y=0}if(a.debug(`abc95 (finale calc) ${e.id} xSize ${L} ySize ${m} columns ${w}${e.children.length} width=${Math.max(_,e.size?.width||0)}`),_<(e?.size?.width||0)){_=e?.size?.width||0;let y=w>0?Math.min(e.children.length,w):e.children.length;if(y>0){let I=(_-y*g-g)/y;a.debug("abc95 (growing to fit) width",e.id,_,e.size?.width,I);for(let N of e.children)if(N.size)N.size.width=I}}e.size={width:_,height:T,x:0,y:0}}a.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){a.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let i=e.columns??-1;if(a.debug("layoutBlocks columns abc95",e.id,"=>",i,e),e.children&&e.children.length>0){let g=e?.children[0]?.size?.width??0,p=e.children.length*g+(e.children.length-1)*c;a.debug("widthOfChildren 88",p,"posX");let r=new Map;{let m=0;for(let _ of e.children){if(!_.size)continue;let{py:T}=de(i,m),y=r.get(T)??0;if(_.size.height>y)r.set(T,_.size.height);let I=_?.widthInColumns??1;if(i>0)I=Math.min(I,i-m%i);m+=I}}let d=new Map;{let m=0,_=[...r.keys()].sort((T,y)=>T-y);for(let T of _)d.set(T,m),m+=(r.get(T)??0)+c}let w=0;a.debug("abc91 block?.size?.x",e.id,e?.size?.x);let E=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,L=0;for(let m of e.children){let _=e;if(!m.size)continue;let{width:T,height:y}=m.size,{px:I,py:N}=de(i,w);if(N!=L)L=N,E=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,a.debug("New row in layout for block",e.id," and child ",m.id,L);if(a.debug(`abc89 layout blocks (child) id: ${m.id} Pos: ${w} (px, py) ${I},${N} (${_?.size?.x},${_?.size?.y}) parent: ${_.id} width: ${T}${c}`),_.size){let z=T/2;m.size.x=E+c+z,a.debug(`abc91 layout blocks (calc) px, pyid:${m.id} startingPos=X${E} new startingPosX${m.size.x} ${z} padding=${c} width=${T} halfWidth=${z} => x:${m.size.x} y:${m.size.y} ${m.widthInColumns} (width * (child?.w || 1)) / 2 ${T*(m?.widthInColumns??1)/2}`),E=m.size.x+z;let B=d.get(N)??0,b=r.get(N)??y;m.size.y=_.size.y-_.size.height/2+B+b/2+c,a.debug(`abc88 layout blocks (calc) px, pyid:${m.id}startingPosX${E}${c}${z}=>x:${m.size.x}y:${m.size.y}${m.widthInColumns}(width * (child?.w || 1)) / 2${T*(m?.widthInColumns??1)/2}`)}if(m.children)Se(m,o,c);let C=m?.widthInColumns??1;if(i>0)C=Math.min(C,i-w%i);w+=C,a.debug("abc88 columnsPos",m,w)}}a.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function me(e,{minX:o,minY:c,maxX:i,maxY:g}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:p,y:r,width:d,height:w}=e.size;if(p-d/2<o)o=p-d/2;if(r-w/2<c)c=r-w/2;if(p+d/2>i)i=p+d/2;if(r+w/2>g)g=r+w/2}if(e.children)for(let p of e.children)({minX:o,minY:c,maxX:i,maxY:g}=me(p,{minX:o,minY:c,maxX:i,maxY:g}));return{minX:o,minY:c,maxX:i,maxY:g}}t(me,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=u()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),a.debug("getBlocks",JSON.stringify(o,null,2));let{minX:i,minY:g,maxX:p,maxY:r}=me(o),d=r-g,w=p-i;return{x:i,y:g,width:w,height:d}}t(Ye,"layout");function ke(e,o,c=!1){let i=e,g="default";if((i?.classes?.length||0)>0)g=(i?.classes??[]).join(" ");g=g+" flowchart-label";let p=(i?.classes??[]).flatMap((y)=>o.getClasses().get(y)?.styles??[]),r=0,d="rect",w;switch(i.type){case"round":r=5,d="rect";break;case"composite":r=0,d="composite",w=0;break;case"square":d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"block_arrow":d="block_arrow";break;case"odd":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"rect_left_inv_arrow":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"group":d="rect";break;case"doublecircle":d="doublecircle";break;default:d="rect"}let E=$o(i?.styles??[]),L=i.label,m=i.size??{width:0,height:0,x:0,y:0},_=o.getDiagramId();return{labelStyle:E.labelStyle,shape:d,label:L,labelText:L,rx:r,ry:r,class:g,cssClasses:g,cssStyles:i?.styles??[],cssCompiledStyles:p,style:E.style,id:i.id,domId:_?`${_}-${i.id}`:i.id,isGroup:!1,directions:i.directions,width:m.width||void 0,height:m.height||void 0,wrappingWidth:m.width||Number.POSITIVE_INFINITY,x:m.x,y:m.y,positioned:c,intersect:void 0,padding:w??S()?.block?.padding??0,widthInColumns:i.widthInColumns??1,colorIndex:i.colorIndex,look:S().look}}t(ke,"getNodeFromBlock");async function We(e,o,c){let i=ke(o,c,!1);if(o.type==="group")return;let g=S(),p=await bn(e,i,{config:g}),r=p.node()?.getBBox()??{width:0,height:0},d=c.getBlock(i.id);d.size={width:r.width,height:r.height,x:0,y:0,node:p},c.setBlock(d),p.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let i=ke(o,c,!0);if(c.getBlock(i.id).type!=="space"){let p=S(),r=await bn(e,i,{config:p});if(i.colorIndex!==void 0)It(r,i.colorIndex,p.theme,p.themeVariables?.borderColorArray);o.intersect=i?.intersect,un(i)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,i){for(let g of o)if(await i(e,g,c),g.children)await te(e,g.children,c,i)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,i,g){let p=new xe({multigraph:!0,compound:!0});p.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)p.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let d=i.getBlock(r.start),w=i.getBlock(r.end);if(d?.size&&w?.size){let E=d.size,L=w.size,m=[{x:E.x,y:E.y},{x:E.x+(L.x-E.x)/2,y:E.y+(L.y-E.y)/2},{x:L.x,y:L.y}],_=g?`${g}-${r.id}`:r.id,T=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",y=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",I=`${T} ${y} flowchart-link LS-a1 LE-b1`;if(Kn(e,{...r,id:_,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:m,classes:I},{},"block",p.node(r.start),p.node(r.end),g),r.label)await xn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:m,classes:I}),aa({...r,x:m[1].x,y:m[1].y},{originalPath:m})}}}t(Xe,"insertEdges");var Dt=t(function(e,o){return o.db.getClasses()},"getClasses"),Tt=t(async function(e,o,c,i){let{securityLevel:g,block:p}=S(),r=i.db;r.setDiagramId(o);let d;if(g==="sandbox")d=f("#i"+o);let w=g==="sandbox"?f(d.nodes()[0].contentDocument.body):f("body"),E=g==="sandbox"?w.select(`[id="${o}"]`):f(`[id="${o}"]`);yo(E,S()),ia(E,["point","circle","cross"],i.type,o);let m=r.getBlocks(),_=r.getBlocksFlat(),T=r.getEdges(),y=E.insert("g").attr("class","block");await Ue(y,m,r);let I=Ye(r);await He(y,m,r),await Xe(y,T,_,r,o);let N=y.node()?.getBBox(),C=N&&Number.isFinite(N.width)&&Number.isFinite(N.height)?N:I;if(C){let z=Math.max(1,Math.round(0.125*(C.width/C.height))),B=C.height+z+10,b=C.width+10,{useMaxWidth:n}=p;G(E,B,b,!!n),a.debug("Here Bounds",I,C),E.attr("viewBox",`${C.x-5} ${C.y-5} ${C.width+10} ${C.height+10}`)}},"draw"),Nt={draw:Tt,getClasses:Dt},tr={parser:$e,db:mt,renderer:Nt,styles:Et};export{tr as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Zs,Ll,Xs,Il,Dl,Ks}from"./chunk-yfnhnsxe.js";import"./chunk-ey14knbn.js";import"./chunk-6ey4c6gw.js";import"./chunk-fzmrnh17.js";export{Ll as applyDagreLayoutResult,Zs as getEdgesToRender,Il as measureDagreLayout,Xs as prepareLayoutForDagre,Ks as render,Dl as runDagreLayoutCore};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{bs}from"./chunk-bdypt5mj.js";export{bs as createPacketServices};
Binary file
Binary file
Binary file
Binary file
@@ -1 +1 @@
1
- import{r,e,n,y,s,st,U,$n}from"./chunk-bcp6na49.js";var x=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],a=s("check-check",x);var h={once:{label:"已允许本次控制电脑",tone:"text-success",icon:U},session:{label:"本会话始终允许控制",tone:"text-success",icon:a},deny:{label:"已拒绝控制电脑",tone:"text-danger",icon:st},cancelled:{label:"控制电脑授权已取消",tone:"text-faint",icon:$n}};function w(l){let{style:p,cn:c,Collapsible:i,CollapsibleTrigger:m,CollapsibleContent:d,Chevron:u}=y(),[f,C]=r(!1),t=l.payload;if(!t||typeof t.id!=="string"||t.state==="pending")return null;let o=h[t.state],b=o.icon;return n(i,{open:f,onOpenChange:C,className:"w-full text-xs text-ink/90 animate-fade",children:[n(m,{className:p("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(b,{className:c("size-3.5",o.tone)})}),e("span",{className:"shrink-0",children:o.label}),n("span",{className:"min-w-0 flex-1 truncate font-mono text-[11.5px] opacity-80",title:t.app,children:[t.action," ",t.app]}),e(u,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(d,{children:e("pre",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px] font-mono text-[11.5px] break-all whitespace-pre-wrap text-dim",children:t.detail})})]})}export{w as ApprovalCard};
1
+ import{r,e,n,x,s,Ht,Z,Fr}from"./chunk-fba06jm8.js";var h=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],a=s("check-check",h);var g={once:{label:"已允许本次控制电脑",tone:"text-success",icon:Z},session:{label:"本会话始终允许控制",tone:"text-success",icon:a},deny:{label:"已拒绝控制电脑",tone:"text-danger",icon:Ht},cancelled:{label:"控制电脑授权已取消",tone:"text-faint",icon:Fr}};function w(l){let{style:p,cn:c,Collapsible:i,CollapsibleTrigger:m,CollapsibleContent:d,Chevron:u}=x(),[f,C]=r(!1),t=l.payload;if(!t||typeof t.id!=="string"||t.state==="pending")return null;let o=g[t.state],b=o.icon;return n(i,{open:f,onOpenChange:C,className:"w-full text-xs text-ink/90 animate-fade",children:[n(m,{className:p("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(b,{className:c("size-3.5",o.tone)})}),e("span",{className:"shrink-0",children:o.label}),n("span",{className:"min-w-0 flex-1 truncate font-mono text-[11.5px] opacity-80",title:t.app,children:[t.action," ",t.app]}),e(u,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(d,{children:e("pre",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px] font-mono text-[11.5px] break-all whitespace-pre-wrap text-dim",children:t.detail})})]})}export{w as ApprovalCard};
Binary file
Binary file