@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,4 +0,0 @@
1
- import{t,a,l,D,Tt,Ro,bt,en,At,Kn,tn}from"./chunk-h8mhnze5.js";import{be,Oe,et,Ee,pt,Wt,Y,me,ct,Gt,ut,pr,va,ba,xa,bn,Ct,_a,xn,$e,_n,$t,St,wn,Ht,kn,wa,ka,mr,xe,Ca,Cn,Yt,Sn,fr,hr,Zt,Sa,gr,Ta,Gr,mt,yr,Ea,Aa,Ra,Ye,vr,br,Tn,La,xr,g,tt,ft,_e,Xt,ae}from"./chunk-z08c63ph.js";import{ha,ga,W,Un,fo,ya,dr}from"./chunk-vgyp8wa2.js";import{Lt}from"./chunk-bcp6na49.js";var cr={};Lt(cr,{default:()=>rr});var co=/\s/;function lo(r){var e=r.length;while(e--&&co.test(r.charAt(e)));return e}var ee=lo;var ho=/^\s+/;function go(r){return r?r.slice(0,ee(r)+1).replace(ho,""):r}var te=go;var ne=NaN,vo=/^[-+]0x[0-9a-f]+$/i,bo=/^0b[01]+$/i,yo=/^0o[0-7]+$/i,wo=parseInt;function _o(r){if(typeof r=="number")return r;if(pt(r))return ne;if(me(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=me(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=te(r);var n=bo.test(r);return n||yo.test(r)?wo(r.slice(2),n?2:8):vo.test(r)?ne:+r}var oe=_o;var ie=1/0,Eo=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;function xo(r){if(!r)return r===0?r:0;if(r=oe(r),r===ie||r===-ie){var e=r<0?-1:1;return e*Eo}return r===r?r:0}var V=xo;function Oo(r){var e=V(r),n=e%1;return e===e?n?e-n:e:0}var fe=Oo;var se=Object.create,Lo=function(){function r(){}return function(e){if(!me(e))return{};if(se)return se(e);r.prototype=e;var n=new r;return r.prototype=void 0,n}}(),ue=Lo;function Io(r,e){var n=-1,o=r.length;e||(e=Array(o));while(++n<o)e[n]=r[n];return e}var sr=Io;function So(r,e,n){if(e=="__proto__"&&pr)pr(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0});else r[e]=n}var R=So;var No=Object.prototype,Po=No.hasOwnProperty;function ko(r,e,n){var o=r[e];if(!(Po.call(r,e)&&Ct(o,n))||n===void 0&&!(e in r))R(r,e,n)}var M=ko;function To(r,e,n,o){var i=!n;n||(n={});var f=-1,s=e.length;while(++f<s){var u=e[f],d=o?o(n[u],r[u],u,n,r):void 0;if(d===void 0)d=r[u];if(i)R(n,u,d);else M(n,u,d)}return n}var P=To;function Co(r,e,n){if(!me(n))return!1;var o=typeof e;if(o=="number"?$e(n)&&bn(e,n.length):o=="string"&&(e in n))return Ct(n[e],r);return!1}var T=Co;function Ao(r){return xn(function(e,n){var o=-1,i=n.length,f=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;if(f=r.length>3&&typeof f=="function"?(i--,f):void 0,s&&T(n[0],n[1],s))f=i<3?void 0:f,i=1;e=Object(e);while(++o<i){var u=n[o];if(u)r(e,u,o,f)}return e})}var de=Ao;function Mo(r){var e=[];if(r!=null)for(var n in Object(r))e.push(n);return e}var ce=Mo;var jo=Object.prototype,Do=jo.hasOwnProperty;function Go(r){if(!me(r))return ce(r);var e=_n(r),n=[];for(var o in r)if(!(o=="constructor"&&(e||!Do.call(r,o))))n.push(o);return n}var pe=Go;function Xo(r){return $e(r)?wa(r,!0):pe(r)}var L=Xo;function Uo(r){var e=r==null?0:r.length;return e?hr(r,1):[]}var S=Uo;function Vo(r){return va(_a(r,void 0,S),r+"")}var le=Vo;var Yo=ka(Object.getPrototypeOf,Object),z=Yo;var Wo="[object Object]",qo=Function.prototype,Ho=Object.prototype,he=qo.toString,Ko=Ho.hasOwnProperty,Jo=he.call(Object);function Zo(r){if(!Ee(r)||et(r)!=Wo)return!1;var e=z(r);if(e===null)return!0;var n=Ko.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&he.call(n)==Jo}var ge=Zo;var $o="\\ud800-\\udfff",Qo="\\u0300-\\u036f",ri="\\ufe20-\\ufe2f",ei="\\u20d0-\\u20ff",ti=Qo+ri+ei,ni="\\ufe0e\\ufe0f",oi="\\u200d",ii=RegExp("["+oi+$o+ti+ni+"]");function ai(r){return ii.test(r)}var ve=ai;function fi(r,e){return r&&P(e,xe(e),r)}var ye=fi;function si(r,e){return r&&P(e,L(e),r)}var we=si;var Ne=typeof cr=="object"&&cr&&!cr.nodeType&&cr,Le=Ne&&typeof ur=="object"&&ur&&!ur.nodeType&&ur,ui=Le&&Le.exports===Ne,Ie=ui?be.Buffer:void 0,Se=Ie?Ie.allocUnsafe:void 0;function di(r,e){if(e)return r.slice();var n=r.length,o=Se?Se(n):new r.constructor(n);return r.copy(o),o}var rr=di;function ci(r,e){return P(r,gr(r),e)}var Pe=ci;var pi=Object.getOwnPropertySymbols,li=!pi?Sa:function(r){var e=[];while(r)fr(e,gr(r)),r=z(r);return e},lr=li;function mi(r,e){return P(r,lr(r),e)}var ke=mi;function hi(r){return Ta(r,L,lr)}var Te=hi;var gi=Object.prototype,vi=gi.hasOwnProperty;function bi(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&vi.call(r,"index"))n.index=r.index,n.input=r.input;return n}var Ce=bi;function yi(r){var e=new r.constructor(r.byteLength);return new yr(e).set(new yr(r)),e}var q=yi;function wi(r,e){var n=e?q(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var Ae=wi;var _i=/\w*$/;function Ei(r){var e=new r.constructor(r.source,_i.exec(r));return e.lastIndex=r.lastIndex,e}var Re=Ei;var Me=Oe?Oe.prototype:void 0,je=Me?Me.valueOf:void 0;function xi(r){return je?Object(je.call(r)):{}}var Be=xi;function Oi(r,e){var n=e?q(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var wr=Oi;var Li="[object Boolean]",Ii="[object Date]",Si="[object Map]",Ni="[object Number]",Pi="[object RegExp]",ki="[object Set]",Ti="[object String]",Ci="[object Symbol]",Ai="[object ArrayBuffer]",Ri="[object DataView]",Mi="[object Float32Array]",ji="[object Float64Array]",Bi="[object Int8Array]",Di="[object Int16Array]",Fi="[object Int32Array]",Gi="[object Uint8Array]",Xi="[object Uint8ClampedArray]",Ui="[object Uint16Array]",Vi="[object Uint32Array]";function Yi(r,e,n){var o=r.constructor;switch(e){case Ai:return q(r);case Li:case Ii:return new o(+r);case Ri:return Ae(r,n);case Mi:case ji:case Bi:case Di:case Fi:case Gi:case Xi:case Ui:case Vi:return wr(r,n);case Si:return new o;case Ni:case Ti:return new o(r);case Pi:return Re(r);case ki:return new o;case Ci:return Be(r)}}var De=Yi;function zi(r){return typeof r.constructor=="function"&&!_n(r)?ue(z(r)):{}}var _r=zi;var Wi="[object Map]";function qi(r){return Ee(r)&&mt(r)==Wi}var Fe=qi;var Ge=Ht&&Ht.isMap,Hi=Ge?wn(Ge):Fe,Xe=Hi;var Ki="[object Set]";function Ji(r){return Ee(r)&&mt(r)==Ki}var Ue=Ji;var Ve=Ht&&Ht.isSet,Zi=Ve?wn(Ve):Ue,ze=Zi;var $i=1,Qi=2,ra=4,We="[object Arguments]",ea="[object Array]",ta="[object Boolean]",na="[object Date]",oa="[object Error]",qe="[object Function]",ia="[object GeneratorFunction]",aa="[object Map]",fa="[object Number]",He="[object Object]",sa="[object RegExp]",ua="[object Set]",da="[object String]",ca="[object Symbol]",pa="[object WeakMap]",la="[object ArrayBuffer]",ma="[object DataView]",Oa="[object Float32Array]",Ia="[object Float64Array]",Na="[object Int8Array]",Pa="[object Int16Array]",Ma="[object Int32Array]",ja="[object Uint8Array]",Ba="[object Uint8ClampedArray]",Da="[object Uint16Array]",Fa="[object Uint32Array]",x={};x[We]=x[ea]=x[la]=x[ma]=x[ta]=x[na]=x[Oa]=x[Ia]=x[Na]=x[Pa]=x[Ma]=x[aa]=x[fa]=x[He]=x[sa]=x[ua]=x[da]=x[ca]=x[ja]=x[Ba]=x[Da]=x[Fa]=!0;x[oa]=x[qe]=x[pa]=!1;function Er(r,e,n,o,i,f){var s,u=e&$i,d=e&Qi,c=e&ra;if(n)s=i?n(r,o,i,f):n(r);if(s!==void 0)return s;if(!me(r))return r;var p=Y(r);if(p){if(s=Ce(r),!u)return sr(r,s)}else{var m=mt(r),h=m==qe||m==ia;if(St(r))return rr(r,u);if(m==He||m==We||h&&!i){if(s=d||h?{}:_r(r),!u)return d?ke(r,we(s,r)):Pe(r,ye(s,r))}else{if(!x[m])return i?r:{};s=De(r,m,u)}}f||(f=new Zt);var b=f.get(r);if(b)return b;if(f.set(r,s),ze(r))r.forEach(function(v){s.add(Er(v,e,n,v,r,f))});else if(Xe(r))r.forEach(function(v,_){s.set(_,Er(v,e,n,_,r,f))});var w=c?d?Te:Gr:d?L:xe,y=p?void 0:w(r);return ba(y||r,function(v,_){if(y)_=v,v=r[_];M(s,_,Er(v,e,n,_,r,f))}),s}var Ke=Er;var Ga=1,Xa=4;function Ua(r){return Ke(r,Ga|Xa)}var Je=Ua;var Va=function(){return be.Date.now()},kr=Va;var Ze=Object.prototype,Ya=Ze.hasOwnProperty,za=xn(function(r,e){r=Object(r);var n=-1,o=e.length,i=o>2?e[2]:void 0;if(i&&T(e[0],e[1],i))o=1;while(++n<o){var f=e[n],s=L(f),u=-1,d=s.length;while(++u<d){var c=s[u],p=r[c];if(p===void 0||Ct(p,Ze[c])&&!Ya.call(r,c))r[c]=f[c]}}return r}),Qe=za;function Wa(r,e,n){if(n!==void 0&&!Ct(r[e],n)||n===void 0&&!(e in r))R(r,e,n)}var er=Wa;function qa(r,e){if(e==="constructor"&&typeof r[e]==="function")return;if(e=="__proto__")return;return r[e]}var tr=qa;function Ha(r){return P(r,L(r))}var rt=Ha;function Ka(r,e,n,o,i,f,s){var u=tr(r,n),d=tr(e,n),c=s.get(d);if(c){er(r,n,c);return}var p=f?f(u,d,n+"",r,e,s):void 0,m=p===void 0;if(m){var h=Y(d),b=!h&&St(d),w=!h&&!b&&kn(d);if(p=d,h||b||w)if(Y(u))p=u;else if(La(u))p=sr(u);else if(b)m=!1,p=rr(d,!0);else if(w)m=!1,p=wr(d,!0);else p=[];else if(ge(d)||$t(d)){if(p=u,$t(u))p=rt(u);else if(!me(u)||Gt(u))p=_r(d)}else m=!1}if(m)s.set(d,p),i(p,d,o,f,s),s.delete(d);er(r,n,p)}var nt=Ka;function ot(r,e,n,o,i){if(r===e)return;vr(e,function(f,s){if(i||(i=new Zt),me(f))nt(r,e,s,n,ot,o,i);else{var u=o?o(tr(r,s),f,s+"",r,e,i):void 0;if(u===void 0)u=f;er(r,s,u)}},L)}var it=ot;function Ja(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}var X=Ja;function Za(r){return function(e,n,o){var i=Object(e);if(!$e(e)){var f=Ye(n,3);e=xe(e),n=function(u){return f(i[u],u,i)}}var s=r(e,n,o);return s>-1?i[f?e[s]:s]:void 0}}var at=Za;var $a=Math.max;function Qa(r,e,n){var o=r==null?0:r.length;if(!o)return-1;var i=n==null?0:fe(n);if(i<0)i=$a(o+i,0);return xa(r,Ye(e,3),i)}var st=Qa;var rf=at(st),nr=rf;function ef(r,e){var n=-1,o=$e(r)?Array(r.length):[];return Tn(r,function(i,f,s){o[++n]=e(i,f,s)}),o}var Or=ef;function tf(r,e){var n=Y(r)?Wt:Or;return n(r,Ye(e,3))}var E=tf;function nf(r,e){return r==null?r:vr(r,xr(e),L)}var dt=nf;function of(r,e){return r&&br(r,xr(e))}var lt=of;function af(r,e){return r>e}var ht=af;var ff=Object.prototype,sf=ff.hasOwnProperty;function uf(r,e){return r!=null&&sf.call(r,e)}var gt=uf;function df(r,e){return r!=null&&Ea(r,e,gt)}var Lr=df;var cf="[object String]";function pf(r){return typeof r=="string"||!Y(r)&&Ee(r)&&et(r)==cf}var vt=pf;function lf(r,e){return r<e}var Ir=lf;function mf(r,e){var n={};return e=Ye(e,3),br(r,function(o,i,f){R(n,i,e(o,i,f))}),n}var H=mf;function hf(r,e,n){var o=-1,i=r.length;while(++o<i){var f=r[o],s=e(f);if(s!=null&&(u===void 0?s===s&&!pt(s):n(s,u)))var u=s,d=f}return d}var K=hf;function gf(r){return r&&r.length?K(r,ct,ht):void 0}var I=gf;var vf=de(function(r,e,n){it(r,e,n)}),or=vf;function bf(r){return r&&r.length?K(r,ct,Ir):void 0}var j=bf;function yf(r,e){return r&&r.length?K(r,Ye(e,2),Ir):void 0}var J=yf;function wf(r,e,n,o){if(!me(r))return r;e=Cn(e,r);var i=-1,f=e.length,s=f-1,u=r;while(u!=null&&++i<f){var d=Yt(e[i]),c=n;if(d==="__proto__"||d==="constructor"||d==="prototype")return r;if(i!=s){var p=u[d];if(c=o?o(p,d,u):void 0,c===void 0)c=me(p)?p:bn(e[i+1])?[]:{}}M(u,d,c),u=u[d]}return r}var yt=wf;function _f(r,e,n){var o=-1,i=e.length,f={};while(++o<i){var s=e[o],u=Sn(r,s);if(n(u,s))yt(f,Cn(s,r),u)}return f}var wt=_f;function Ef(r,e){var n=r.length;r.sort(e);while(n--)r[n]=r[n].value;return r}var _t=Ef;function xf(r,e){if(r!==e){var n=r!==void 0,o=r===null,i=r===r,f=pt(r),s=e!==void 0,u=e===null,d=e===e,c=pt(e);if(!u&&!c&&!f&&r>e||f&&s&&d&&!u&&!c||o&&s&&d||!n&&d||!i)return 1;if(!o&&!f&&!c&&r<e||c&&n&&i&&!o&&!f||u&&n&&i||!s&&i||!d)return-1}return 0}var Et=xf;function Of(r,e,n){var o=-1,i=r.criteria,f=e.criteria,s=i.length,u=n.length;while(++o<s){var d=Et(i[o],f[o]);if(d){if(o>=u)return d;var c=n[o];return d*(c=="desc"?-1:1)}}return r.index-e.index}var xt=Of;function Lf(r,e,n){if(e.length)e=Wt(e,function(f){if(Y(f))return function(s){return Sn(s,f.length===1?f[0]:f)};return f});else e=[ct];var o=-1;e=Wt(e,wn(Ye));var i=Or(r,function(f,s,u){var d=Wt(e,function(c){return c(f)});return{criteria:d,index:++o,value:f}});return _t(i,function(f,s){return xt(f,s,n)})}var Ot=Lf;var If=Ra("length"),It=If;var Pt="\\ud800-\\udfff",Sf="\\u0300-\\u036f",Nf="\\ufe20-\\ufe2f",Pf="\\u20d0-\\u20ff",kf=Sf+Nf+Pf,Tf="\\ufe0e\\ufe0f",Cf="["+Pt+"]",Tr="["+kf+"]",Cr="\\ud83c[\\udffb-\\udfff]",Af="(?:"+Tr+"|"+Cr+")",kt="[^"+Pt+"]",Rt="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",Rf="\\u200d",jt=Af+"?",Bt="["+Tf+"]?",Mf="(?:"+Rf+"(?:"+[kt,Rt,Mt].join("|")+")"+Bt+jt+")*",jf=Bt+jt+Mf,Bf="(?:"+[kt+Tr+"?",Tr,Rt,Mt,Cf].join("|")+")",Nt=RegExp(Cr+"(?="+Cr+")|"+Bf+jf,"g");function Df(r){var e=Nt.lastIndex=0;while(Nt.test(r))++e;return e}var Dt=Df;function Ff(r){return ve(r)?Dt(r):It(r)}var Ft=Ff;function Gf(r,e){return wt(r,e,function(n,o){return Aa(r,o)})}var Ut=Gf;var Xf=le(function(r,e){return r==null?{}:Ut(r,e)}),Z=Xf;var{ceil:Uf,max:Vf}=Math;function Yf(r,e,n,o){var i=-1,f=Vf(Uf((e-r)/(n||1)),0),s=Array(f);while(f--)s[o?f:++i]=r,r+=n;return s}var Vt=Yf;function zf(r){return function(e,n,o){if(o&&typeof o!="number"&&T(e,n,o))n=o=void 0;if(e=V(e),n===void 0)n=e,e=0;else n=V(n);return o=o===void 0?e<n?1:-1:V(o),Vt(e,n,o,r)}}var zt=zf;var Wf=zt(),N=Wf;var qf="[object Map]",Hf="[object Set]";function Kf(r){if(r==null)return 0;if($e(r))return vt(r)?Ft(r):r.length;var e=mt(r);if(e==qf||e==Hf)return r.size;return mr(r).length}var qt=Kf;var Jf=xn(function(r,e){if(r==null)return[];var n=e.length;if(n>1&&T(r,e[0],e[1]))e=[];else if(n>2&&T(e[0],e[1],e[2]))e=[e[0]];return Ot(r,hr(e,1),[])}),C=Jf;var Zf=0;function $f(r){var e=++Zf;return Ca(r)+e}var Q=$f;function Qf(r,e,n){var o=-1,i=r.length,f=e.length,s={};while(++o<i){var u=o<f?e[o]:void 0;n(s,r[o],u)}return s}var Kt=Qf;function rs(r,e){return Kt(r||[],e||[],M)}var Ar=rs;class Rr{constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,e=r._prev;if(e!==r)return Jt(e),e}enqueue(r){var e=this._sentinel;if(r._prev&&r._next)Jt(r);r._next=e._next,e._next._prev=r,e._next=r,r._prev=e}toString(){var r=[],e=this._sentinel,n=e._prev;while(n!==e)r.push(JSON.stringify(n,es)),n=n._prev;return"["+r.join(", ")+"]"}}function Jt(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function es(r,e){if(r!=="_next"&&r!=="_prev")return e}var ts=ut(1);function Qt(r,e){if(r.nodeCount()<=1)return[];var n=os(r,e||ts),o=ns(n.graph,n.buckets,n.zeroIdx);return S(E(o,function(i){return r.outEdges(i.v,i.w)}))}function ns(r,e,n){var o=[],i=e[e.length-1],f=e[0],s;while(r.nodeCount()){while(s=f.dequeue())Mr(r,e,n,s);while(s=i.dequeue())Mr(r,e,n,s);if(r.nodeCount()){for(var u=e.length-2;u>0;--u)if(s=e[u].dequeue(),s){o=o.concat(Mr(r,e,n,s,!0));break}}}return o}function Mr(r,e,n,o,i){var f=i?[]:void 0;return g(r.inEdges(o.v),function(s){var u=r.edge(s),d=r.node(s.v);if(i)f.push({v:s.v,w:s.w});d.out-=u,jr(e,n,d)}),g(r.outEdges(o.v),function(s){var u=r.edge(s),d=s.w,c=r.node(d);c.in-=u,jr(e,n,c)}),r.removeNode(o.v),f}function os(r,e){var n=new ae,o=0,i=0;g(r.nodes(),function(u){n.setNode(u,{v:u,in:0,out:0})}),g(r.edges(),function(u){var d=n.edge(u.v,u.w)||0,c=e(u),p=d+c;n.setEdge(u.v,u.w,p),i=Math.max(i,n.node(u.v).out+=c),o=Math.max(o,n.node(u.w).in+=c)});var f=N(i+o+3).map(function(){return new Rr}),s=o+1;return g(n.nodes(),function(u){jr(f,s,n.node(u))}),{graph:n,buckets:f,zeroIdx:s}}function jr(r,e,n){if(!n.out)r[0].enqueue(n);else if(!n.in)r[r.length-1].enqueue(n);else r[n.out-n.in+e].enqueue(n)}function rn(r){var e=r.graph().acyclicer==="greedy"?Qt(r,n(r)):is(r);g(e,function(o){var i=r.edge(o);r.removeEdge(o),i.forwardName=o.name,i.reversed=!0,r.setEdge(o.w,o.v,i,Q("rev"))});function n(o){return function(i){return o.edge(i).weight}}}function is(r){var e=[],n={},o={};function i(f){if(Object.prototype.hasOwnProperty.call(o,f))return;o[f]=!0,n[f]=!0,g(r.outEdges(f),function(s){if(Object.prototype.hasOwnProperty.call(n,s.w))e.push(s);else i(s.w)}),delete n[f]}return g(r.nodes(),i),e}function nn(r){g(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var o=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,o)}})}function k(r,e,n,o){var i;do i=Q(o);while(r.hasNode(i));return n.dummy=e,r.setNode(i,n),i}function an(r){var e=new ae().setGraph(r.graph());return g(r.nodes(),function(n){e.setNode(n,r.node(n))}),g(r.edges(),function(n){var o=e.edge(n.v,n.w)||{weight:0,minlen:1},i=r.edge(n);e.setEdge(n.v,n.w,{weight:o.weight+i.weight,minlen:Math.max(o.minlen,i.minlen)})}),e}function Sr(r){var e=new ae({multigraph:r.isMultigraph()}).setGraph(r.graph());return g(r.nodes(),function(n){if(!r.children(n).length)e.setNode(n,r.node(n))}),g(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function Br(r,e){var{x:n,y:o}=r,i=e.x-n,f=e.y-o,s=r.width/2,u=r.height/2;if(!i&&!f)throw Error("Not possible to find intersection inside of the rectangle");var d,c;if(Math.abs(f)*s>Math.abs(i)*u){if(f<0)u=-u;d=u*i/f,c=u}else{if(i<0)s=-s;d=s,c=s*f/i}return{x:n+d,y:o+c}}function B(r){var e=E(N(Fr(r)+1),function(){return[]});return g(r.nodes(),function(n){var o=r.node(n),i=o.rank;if(!_e(i))e[i][o.order]=n}),e}function fn(r){var e=j(E(r.nodes(),function(n){return r.node(n).rank}));g(r.nodes(),function(n){var o=r.node(n);if(Lr(o,"rank"))o.rank-=e})}function sn(r){var e=j(E(r.nodes(),function(f){return r.node(f).rank})),n=[];g(r.nodes(),function(f){var s=r.node(f).rank-e;if(!n[s])n[s]=[];n[s].push(f)});var o=0,i=r.graph().nodeRankFactor;g(n,function(f,s){if(_e(f)&&s%i!==0)--o;else if(o)g(f,function(u){r.node(u).rank+=o})})}function Dr(r,e,n,o){var i={width:0,height:0};if(arguments.length>=4)i.rank=n,i.order=o;return k(r,"border",i,e)}function Fr(r){return I(E(r.nodes(),function(e){var n=r.node(e).rank;if(!_e(n))return n}))}function un(r,e){var n={lhs:[],rhs:[]};return g(r,function(o){if(e(o))n.lhs.push(o);else n.rhs.push(o)}),n}function dn(r,e){var n=kr();try{return e()}finally{console.log(r+" time: "+(kr()-n)+"ms")}}function cn(r,e){return e()}function ln(r){function e(n){var o=r.children(n),i=r.node(n);if(o.length)g(o,e);if(Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var f=i.minRank,s=i.maxRank+1;f<s;++f)pn(r,"borderLeft","_bl",n,i,f),pn(r,"borderRight","_br",n,i,f)}}g(r.children(),e)}function pn(r,e,n,o,i,f){var s={width:0,height:0,rank:f,borderType:e},u=i[e][f-1],d=k(r,"border",s,n);if(i[e][f]=d,r.setParent(d,o),u)r.setEdge(u,d,{weight:1})}function hn(r){var e=r.graph().rankdir.toLowerCase();if(e==="lr"||e==="rl")vn(r)}function gn(r){var e=r.graph().rankdir.toLowerCase();if(e==="bt"||e==="rl")as(r);if(e==="lr"||e==="rl")fs(r),vn(r)}function vn(r){g(r.nodes(),function(e){mn(r.node(e))}),g(r.edges(),function(e){mn(r.edge(e))})}function mn(r){var e=r.width;r.width=r.height,r.height=e}function as(r){g(r.nodes(),function(e){Xr(r.node(e))}),g(r.edges(),function(e){var n=r.edge(e);if(g(n.points,Xr),Object.prototype.hasOwnProperty.call(n,"y"))Xr(n)})}function Xr(r){r.y=-r.y}function fs(r){g(r.nodes(),function(e){Ur(r.node(e))}),g(r.edges(),function(e){var n=r.edge(e);if(g(n.points,Ur),Object.prototype.hasOwnProperty.call(n,"x"))Ur(n)})}function Ur(r){var e=r.x;r.x=r.y,r.y=e}function yn(r){r.graph().dummyChains=[],g(r.edges(),function(e){us(r,e)})}function us(r,e){var n=e.v,o=r.node(n).rank,i=e.w,f=r.node(i).rank,s=e.name,u=r.edge(e),d=u.labelRank;if(f===o+1)return;r.removeEdge(e);var c=void 0,p,m;for(m=0,++o;o<f;++m,++o){if(u.points=[],c={width:0,height:0,edgeLabel:u,edgeObj:e,rank:o},p=k(r,"edge",c,"_d"),o===d)c.width=u.width,c.height=u.height,c.dummy="edge-label",c.labelpos=u.labelpos;if(r.setEdge(n,p,{weight:u.weight},s),m===0)r.graph().dummyChains.push(p);n=p}r.setEdge(n,i,{weight:u.weight},s)}function En(r){g(r.graph().dummyChains,function(e){var n=r.node(e),o=n.edgeLabel,i;r.setEdge(n.edgeObj,o);while(n.dummy){if(i=r.successors(e)[0],r.removeNode(e),o.points.push({x:n.x,y:n.y}),n.dummy==="edge-label")o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height;e=i,n=r.node(e)}})}function ir(r){var e={};function n(o){var i=r.node(o);if(Object.prototype.hasOwnProperty.call(e,o))return i.rank;e[o]=!0;var f=j(E(r.outEdges(o),function(s){return n(s.w)-r.edge(s).minlen}));if(f===Number.POSITIVE_INFINITY||f===void 0||f===null)f=0;return i.rank=f}g(r.sources(),n)}function U(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function Nr(r){var e=new ae({directed:!1}),n=r.nodes()[0],o=r.nodeCount();e.setNode(n,{});var i,f;while(ds(e,r)<o)i=cs(e,r),f=e.hasNode(i.v)?U(r,i):-U(r,i),ps(e,r,f);return e}function ds(r,e){function n(o){g(e.nodeEdges(o),function(i){var f=i.v,s=o===f?i.w:f;if(!r.hasNode(s)&&!U(e,i))r.setNode(s,{}),r.setEdge(o,s,{}),n(s)})}return g(r.nodes(),n),r.nodeCount()}function cs(r,e){return J(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return U(e,n)})}function ps(r,e,n){g(r.nodes(),function(o){e.node(o).rank+=n})}var dh=ut(1);var vh=ut(1);Vr.CycleException=ar;function Vr(r){var e={},n={},o=[];function i(f){if(Object.prototype.hasOwnProperty.call(n,f))throw new ar;if(!Object.prototype.hasOwnProperty.call(e,f))n[f]=!0,e[f]=!0,g(r.predecessors(f),i),delete n[f],o.push(f)}if(g(r.sinks(),i),qt(e)!==r.nodeCount())throw new ar;return o}function ar(){}ar.prototype=Error();function Pr(r,e,n){if(!Y(e))e=[e];var o=(r.isDirected()?r.successors:r.neighbors).bind(r),i=[],f={};return g(e,function(s){if(!r.hasNode(s))throw Error("Graph does not have node: "+s);Ln(r,s,n==="post",f,o,i)}),i}function Ln(r,e,n,o,i,f){if(!Object.prototype.hasOwnProperty.call(o,e)){if(o[e]=!0,!n)f.push(e);if(g(i(e),function(s){Ln(r,s,n,o,i,f)}),n)f.push(e)}}function Yr(r,e){return Pr(r,e,"post")}function zr(r,e){return Pr(r,e,"pre")}G.initLowLimValues=qr;G.initCutValues=Wr;G.calcCutValue=Nn;G.leaveEdge=An;G.enterEdge=Rn;G.exchangeEdges=Mn;function G(r){r=an(r),ir(r);var e=Nr(r);qr(e),Wr(e,r);var n,o;while(n=An(e))o=Rn(e,r,n),Mn(e,r,n,o)}function Wr(r,e){var n=Yr(r,r.nodes());n=n.slice(0,n.length-1),g(n,function(o){vs(r,e,o)})}function vs(r,e,n){var o=r.node(n),i=o.parent;r.edge(n,i).cutvalue=Nn(r,e,n)}function Nn(r,e,n){var o=r.node(n),i=o.parent,f=!0,s=e.edge(n,i),u=0;if(!s)f=!1,s=e.edge(i,n);return u=s.weight,g(e.nodeEdges(n),function(d){var c=d.v===n,p=c?d.w:d.v;if(p!==i){var m=c===f,h=e.edge(d).weight;if(u+=m?h:-h,ys(r,n,p)){var b=r.edge(n,p).cutvalue;u+=m?-b:b}}}),u}function qr(r,e){if(arguments.length<2)e=r.nodes()[0];Pn(r,{},1,e)}function Pn(r,e,n,o,i){var f=n,s=r.node(o);if(e[o]=!0,g(r.neighbors(o),function(u){if(!Object.prototype.hasOwnProperty.call(e,u))n=Pn(r,e,n,u,o)}),s.low=f,s.lim=n++,i)s.parent=i;else delete s.parent;return n}function An(r){return nr(r.edges(),function(e){return r.edge(e).cutvalue<0})}function Rn(r,e,n){var{v:o,w:i}=n;if(!e.hasEdge(o,i))o=n.w,i=n.v;var f=r.node(o),s=r.node(i),u=f,d=!1;if(f.lim>s.lim)u=s,d=!0;var c=tt(e.edges(),function(p){return d===In(r,r.node(p.v),u)&&d!==In(r,r.node(p.w),u)});return J(c,function(p){return U(e,p)})}function Mn(r,e,n,o){var{v:i,w:f}=n;r.removeEdge(i,f),r.setEdge(o.v,o.w,{}),qr(r),Wr(r,e),bs(r,e)}function bs(r,e){var n=nr(r.nodes(),function(i){return!e.node(i).parent}),o=zr(r,n);o=o.slice(1),g(o,function(i){var f=r.node(i).parent,s=e.edge(i,f),u=!1;if(!s)s=e.edge(f,i),u=!0;e.node(i).rank=e.node(f).rank+(u?s.minlen:-s.minlen)})}function ys(r,e,n){return r.hasEdge(e,n)}function In(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Hr(r){switch(r.graph().ranker){case"network-simplex":jn(r);break;case"tight-tree":_s(r);break;case"longest-path":ws(r);break;default:jn(r)}}var ws=ir;function _s(r){ir(r),Nr(r)}function jn(r){G(r)}function Bn(r){var e=k(r,"root",{},"_root"),n=Es(r),o=I(ft(n))-1,i=2*o+1;r.graph().nestingRoot=e,g(r.edges(),function(s){r.edge(s).minlen*=i});var f=xs(r)+1;g(r.children(),function(s){Dn(r,e,i,f,o,n,s)}),r.graph().nodeRankFactor=i}function Dn(r,e,n,o,i,f,s){var u=r.children(s);if(!u.length){if(s!==e)r.setEdge(e,s,{weight:0,minlen:n});return}var d=Dr(r,"_bt"),c=Dr(r,"_bb"),p=r.node(s);if(r.setParent(d,s),p.borderTop=d,r.setParent(c,s),p.borderBottom=c,g(u,function(m){Dn(r,e,n,o,i,f,m);var h=r.node(m),b=h.borderTop?h.borderTop:m,w=h.borderBottom?h.borderBottom:m,y=h.borderTop?o:2*o,v=b!==w?1:i-f[s]+1;r.setEdge(d,b,{weight:y,minlen:v,nestingEdge:!0}),r.setEdge(w,c,{weight:y,minlen:v,nestingEdge:!0})}),!r.parent(s))r.setEdge(e,d,{weight:0,minlen:i+f[s]})}function Es(r){var e={};function n(o,i){var f=r.children(o);if(f&&f.length)g(f,function(s){n(s,i+1)});e[o]=i}return g(r.children(),function(o){n(o,1)}),e}function xs(r){return Xt(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function Fn(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,g(r.edges(),function(n){var o=r.edge(n);if(o.nestingEdge)r.removeEdge(n)})}function Gn(r,e,n){var o={},i;g(n,function(f){var s=r.parent(f),u,d;while(s){if(u=r.parent(s),u)d=o[u],o[u]=s;else d=i,i=s;if(d&&d!==s){e.setEdge(d,s);return}s=u}})}function Xn(r,e,n){var o=Ls(r),i=new ae({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(f){return r.node(f)});return g(r.nodes(),function(f){var s=r.node(f),u=r.parent(f);if(s.rank===e||s.minRank<=e&&e<=s.maxRank){if(i.setNode(f),i.setParent(f,u||o),g(r[n](f),function(d){var c=d.v===f?d.w:d.v,p=i.edge(c,f),m=!_e(p)?p.weight:0;i.setEdge(c,f,{weight:r.edge(d).weight+m})}),Object.prototype.hasOwnProperty.call(s,"minRank"))i.setNode(f,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]})}}),i}function Ls(r){var e;while(r.hasNode(e=Q("_root")));return e}function Vn(r,e){var n=0;for(var o=1;o<e.length;++o)n+=Is(r,e[o-1],e[o]);return n}function Is(r,e,n){var o=Ar(n,E(n,function(c,p){return p})),i=S(E(e,function(c){return C(E(r.outEdges(c),function(p){return{pos:o[p.w],weight:r.edge(p).weight}}),"pos")})),f=1;while(f<n.length)f<<=1;var s=2*f-1;f-=1;var u=E(Array(s),function(){return 0}),d=0;return g(i.forEach(function(c){var p=c.pos+f;u[p]+=c.weight;var m=0;while(p>0){if(p%2)m+=u[p+1];p=p-1>>1,u[p]+=c.weight}d+=c.weight*m})),d}function Yn(r){var e={},n=tt(r.nodes(),function(u){return!r.children(u).length}),o=I(E(n,function(u){return r.node(u).rank})),i=E(N(o+1),function(){return[]});function f(u){if(Lr(e,u))return;e[u]=!0;var d=r.node(u);i[d.rank].push(u),g(r.successors(u),f)}var s=C(n,function(u){return r.node(u).rank});return g(s,f),i}function zn(r,e){return E(e,function(n){var o=r.inEdges(n);if(!o.length)return{v:n};else{var i=Xt(o,function(f,s){var u=r.edge(s),d=r.node(s.v);return{sum:f.sum+u.weight*d.order,weight:f.weight+u.weight}},{sum:0,weight:0});return{v:n,barycenter:i.sum/i.weight,weight:i.weight}}})}function Wn(r,e){var n={};g(r,function(i,f){var s=n[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:f};if(!_e(i.barycenter))s.barycenter=i.barycenter,s.weight=i.weight}),g(e.edges(),function(i){var f=n[i.v],s=n[i.w];if(!_e(f)&&!_e(s))s.indegree++,f.out.push(n[i.w])});var o=tt(n,function(i){return!i.indegree});return Ss(o)}function Ss(r){var e=[];function n(f){return function(s){if(s.merged)return;if(_e(s.barycenter)||_e(f.barycenter)||s.barycenter>=f.barycenter)Ns(f,s)}}function o(f){return function(s){if(s.in.push(f),--s.indegree===0)r.push(s)}}while(r.length){var i=r.pop();e.push(i),g(i.in.reverse(),n(i)),g(i.out,o(i))}return E(tt(e,function(f){return!f.merged}),function(f){return Z(f,["vs","i","barycenter","weight"])})}function Ns(r,e){var n=0,o=0;if(r.weight)n+=r.barycenter*r.weight,o+=r.weight;if(e.weight)n+=e.barycenter*e.weight,o+=e.weight;r.vs=e.vs.concat(r.vs),r.barycenter=n/o,r.weight=o,r.i=Math.min(e.i,r.i),e.merged=!0}function Hn(r,e){var n=un(r,function(p){return Object.prototype.hasOwnProperty.call(p,"barycenter")}),o=n.lhs,i=C(n.rhs,function(p){return-p.i}),f=[],s=0,u=0,d=0;o.sort(Ps(!!e)),d=qn(f,i,d),g(o,function(p){d+=p.vs.length,f.push(p.vs),s+=p.barycenter*p.weight,u+=p.weight,d=qn(f,i,d)});var c={vs:S(f)};if(u)c.barycenter=s/u,c.weight=u;return c}function qn(r,e,n){var o;while(e.length&&(o=X(e)).i<=n)e.pop(),r.push(o.vs),n++;return n}function Ps(r){return function(e,n){if(e.barycenter<n.barycenter)return-1;else if(e.barycenter>n.barycenter)return 1;return!r?e.i-n.i:n.i-e.i}}function Kr(r,e,n,o){var i=r.children(e),f=r.node(e),s=f?f.borderLeft:void 0,u=f?f.borderRight:void 0,d={};if(s)i=tt(i,function(w){return w!==s&&w!==u});var c=zn(r,i);g(c,function(w){if(r.children(w.v).length){var y=Kr(r,w.v,n,o);if(d[w.v]=y,Object.prototype.hasOwnProperty.call(y,"barycenter"))Ts(w,y)}});var p=Wn(c,n);ks(p,d);var m=Hn(p,o);if(s){if(m.vs=S([s,m.vs,u]),r.predecessors(s).length){var h=r.node(r.predecessors(s)[0]),b=r.node(r.predecessors(u)[0]);if(!Object.prototype.hasOwnProperty.call(m,"barycenter"))m.barycenter=0,m.weight=0;m.barycenter=(m.barycenter*m.weight+h.order+b.order)/(m.weight+2),m.weight+=2}}return m}function ks(r,e){g(r,function(n){n.vs=S(n.vs.map(function(o){if(e[o])return e[o].vs;return o}))})}function Ts(r,e){if(!_e(r.barycenter))r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight;else r.barycenter=e.barycenter,r.weight=e.weight}function $n(r){var e=Fr(r),n=Jn(r,N(1,e+1),"inEdges"),o=Jn(r,N(e-1,-1,-1),"outEdges"),i=Yn(r);Zn(r,i);var f=Number.POSITIVE_INFINITY,s;for(var u=0,d=0;d<4;++u,++d){Cs(u%2?n:o,u%4>=2),i=B(r);var c=Vn(r,i);if(c<f)d=0,s=Je(i),f=c}Zn(r,s)}function Jn(r,e,n){return E(e,function(o){return Xn(r,o,n)})}function Cs(r,e){var n=new ae;g(r,function(o){var i=o.graph().root,f=Kr(o,i,n,e);g(f.vs,function(s,u){o.node(s).order=u}),Gn(o,n,f.vs)})}function Zn(r,e){g(e,function(n){g(n,function(o,i){r.node(o).order=i})})}function Qn(r){var e=Rs(r);g(r.graph().dummyChains,function(n){var o=r.node(n),i=o.edgeObj,f=As(r,e,i.v,i.w),{path:s,lca:u}=f,d=0,c=s[d],p=!0;while(n!==i.w){if(o=r.node(n),p){while((c=s[d])!==u&&r.node(c).maxRank<o.rank)d++;if(c===u)p=!1}if(!p){while(d<s.length-1&&r.node(c=s[d+1]).minRank<=o.rank)d++;c=s[d]}r.setParent(n,c),n=r.successors(n)[0]}})}function As(r,e,n,o){var i=[],f=[],s=Math.min(e[n].low,e[o].low),u=Math.max(e[n].lim,e[o].lim),d,c;d=n;do d=r.parent(d),i.push(d);while(d&&(e[d].low>s||u>e[d].lim));c=d,d=o;while((d=r.parent(d))!==c)f.push(d);return{path:i.concat(f.reverse()),lca:c}}function Rs(r){var e={},n=0;function o(i){var f=n;g(r.children(i),o),e[i]={low:f,lim:n++}}return g(r.children(),o),e}function Ms(r,e){var n={};function o(i,f){var s=0,u=0,d=i.length,c=X(f);return g(f,function(p,m){var h=Bs(r,p),b=h?r.node(h).order:d;if(h||p===c)g(f.slice(u,m+1),function(w){g(r.predecessors(w),function(y){var v=r.node(y),_=v.order;if((_<s||b<_)&&!(v.dummy&&r.node(w).dummy))ro(n,y,w)})}),u=m+1,s=b}),f}return Xt(e,o),n}function js(r,e){var n={};function o(f,s,u,d,c){var p;g(N(s,u),function(m){if(p=f[m],r.node(p).dummy)g(r.predecessors(p),function(h){var b=r.node(h);if(b.dummy&&(b.order<d||b.order>c))ro(n,h,p)})})}function i(f,s){var u=-1,d,c=0;return g(s,function(p,m){if(r.node(p).dummy==="border"){var h=r.predecessors(p);if(h.length)d=r.node(h[0]).order,o(s,c,m,u,d),c=m,u=d}o(s,c,s.length,d,f.length)}),s}return Xt(e,i),n}function Bs(r,e){if(r.node(e).dummy)return nr(r.predecessors(e),function(n){return r.node(n).dummy})}function ro(r,e,n){if(e>n){var o=e;e=n,n=o}if(!Object.prototype.hasOwnProperty.call(r,e))Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var i=r[e];Object.defineProperty(i,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function Ds(r,e,n){if(e>n){var o=e;e=n,n=o}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function Fs(r,e,n,o){var i={},f={},s={};return g(e,function(u){g(u,function(d,c){i[d]=d,f[d]=d,s[d]=c})}),g(e,function(u){var d=-1;g(u,function(c){var p=o(c);if(p.length){p=C(p,function(y){return s[y]});var m=(p.length-1)/2;for(var h=Math.floor(m),b=Math.ceil(m);h<=b;++h){var w=p[h];if(f[c]===c&&d<s[w]&&!Ds(n,c,w))f[w]=c,f[c]=i[c]=i[w],d=s[w]}}})}),{root:i,align:f}}function Gs(r,e,n,o,i){var f={},s=Xs(r,e,n,i),u=i?"borderLeft":"borderRight";function d(m,h){var b=s.nodes(),w=b.pop(),y={};while(w){if(y[w])m(w);else y[w]=!0,b.push(w),b=b.concat(h(w));w=b.pop()}}function c(m){f[m]=s.inEdges(m).reduce(function(h,b){return Math.max(h,f[b.v]+s.edge(b))},0)}function p(m){var h=s.outEdges(m).reduce(function(w,y){return Math.min(w,f[y.w]-s.edge(y))},Number.POSITIVE_INFINITY),b=r.node(m);if(h!==Number.POSITIVE_INFINITY&&b.borderType!==u)f[m]=Math.max(f[m],h)}return d(c,s.predecessors.bind(s)),d(p,s.successors.bind(s)),g(o,function(m){f[m]=f[n[m]]}),f}function Xs(r,e,n,o){var i=new ae,f=r.graph(),s=zs(f.nodesep,f.edgesep,o);return g(e,function(u){var d;g(u,function(c){var p=n[c];if(i.setNode(p),d){var m=n[d],h=i.edge(m,p);i.setEdge(m,p,Math.max(s(r,c,d),h||0))}d=c})}),i}function Us(r,e){return J(ft(e),function(n){var{NEGATIVE_INFINITY:o,POSITIVE_INFINITY:i}=Number;return dt(n,function(f,s){var u=Ws(r,s)/2;o=Math.max(f+u,o),i=Math.min(f-u,i)}),o-i})}function Vs(r,e){var n=ft(e),o=j(n),i=I(n);g(["u","d"],function(f){g(["l","r"],function(s){var u=f+s,d=r[u],c;if(d===e)return;var p=ft(d);if(c=s==="l"?o-j(p):i-I(p),c)r[u]=H(d,function(m){return m+c})})})}function Ys(r,e){return H(r.ul,function(n,o){if(e)return r[e.toLowerCase()][o];else{var i=C(E(r,o));return(i[1]+i[2])/2}})}function eo(r){var e=B(r),n=or(Ms(r,e),js(r,e)),o={},i;g(["u","d"],function(s){i=s==="u"?e:ft(e).reverse(),g(["l","r"],function(u){if(u==="r")i=E(i,function(m){return ft(m).reverse()});var d=(s==="u"?r.predecessors:r.successors).bind(r),c=Fs(r,i,n,d),p=Gs(r,i,c.root,c.align,u==="r");if(u==="r")p=H(p,function(m){return-m});o[s+u]=p})});var f=Us(r,o);return Vs(o,f),Ys(o,r.graph().align)}function zs(r,e,n){return function(o,i,f){var s=o.node(i),u=o.node(f),d=0,c;if(d+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":c=-s.width/2;break;case"r":c=s.width/2;break}if(c)d+=n?c:-c;if(c=0,d+=(s.dummy?e:r)/2,d+=(u.dummy?e:r)/2,d+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":c=u.width/2;break;case"r":c=-u.width/2;break}if(c)d+=n?c:-c;return c=0,d}}function Ws(r,e){return r.node(e).width}function to(r){r=Sr(r),qs(r),lt(eo(r),function(e,n){r.node(n).x=e})}function qs(r){var e=B(r),n=r.graph().ranksep,o=0;g(e,function(i){var f=I(E(i,function(s){return r.node(s).height}));g(i,function(s){r.node(s).y=o+f/2}),o+=f+n})}function $r(r,e){var n=e&&e.debugTiming?dn:cn;n("layout",()=>{var o=n(" buildLayoutGraph",()=>ou(r));n(" runLayout",()=>Hs(o,n)),n(" updateInputGraph",()=>Ks(r,o))})}function Hs(r,e){e(" makeSpaceForEdgeLabels",()=>iu(r)),e(" removeSelfEdges",()=>mu(r)),e(" acyclic",()=>rn(r)),e(" nestingGraph.run",()=>Bn(r)),e(" rank",()=>Hr(Sr(r))),e(" injectEdgeLabelProxies",()=>au(r)),e(" removeEmptyRanks",()=>sn(r)),e(" nestingGraph.cleanup",()=>Fn(r)),e(" normalizeRanks",()=>fn(r)),e(" assignRankMinMax",()=>fu(r)),e(" removeEdgeLabelProxies",()=>su(r)),e(" normalize.run",()=>yn(r)),e(" parentDummyChains",()=>Qn(r)),e(" addBorderSegments",()=>ln(r)),e(" order",()=>$n(r)),e(" insertSelfEdges",()=>hu(r)),e(" adjustCoordinateSystem",()=>hn(r)),e(" position",()=>to(r)),e(" positionSelfEdges",()=>gu(r)),e(" removeBorderNodes",()=>lu(r)),e(" normalize.undo",()=>En(r)),e(" fixupEdgeLabelCoords",()=>cu(r)),e(" undoCoordinateSystem",()=>gn(r)),e(" translateGraph",()=>uu(r)),e(" assignNodeIntersects",()=>du(r)),e(" reversePoints",()=>pu(r)),e(" acyclic.undo",()=>nn(r))}function Ks(r,e){g(r.nodes(),function(n){var o=r.node(n),i=e.node(n);if(o){if(o.x=i.x,o.y=i.y,e.children(n).length)o.width=i.width,o.height=i.height}}),g(r.edges(),function(n){var o=r.edge(n),i=e.edge(n);if(o.points=i.points,Object.prototype.hasOwnProperty.call(i,"x"))o.x=i.x,o.y=i.y}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var Js=["nodesep","edgesep","ranksep","marginx","marginy"],Zs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},$s=["acyclicer","ranker","rankdir","align"],Qs=["width","height"],ru={width:0,height:0},eu=["minlen","weight","width","height","labeloffset"],tu={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nu=["labelpos"];function ou(r){var e=new ae({multigraph:!0,compound:!0}),n=Zr(r.graph());return e.setGraph(or({},Zs,Jr(n,Js),Z(n,$s))),g(r.nodes(),function(o){var i=Zr(r.node(o));e.setNode(o,Qe(Jr(i,Qs),ru)),e.setParent(o,r.parent(o))}),g(r.edges(),function(o){var i=Zr(r.edge(o));e.setEdge(o,or({},tu,Jr(i,eu),Z(i,nu)))}),e}function iu(r){var e=r.graph();e.ranksep/=2,g(r.edges(),function(n){var o=r.edge(n);if(o.minlen*=2,o.labelpos.toLowerCase()!=="c")if(e.rankdir==="TB"||e.rankdir==="BT")o.width+=o.labeloffset;else o.height+=o.labeloffset})}function au(r){g(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var o=r.node(e.v),i=r.node(e.w),f={rank:(i.rank-o.rank)/2+o.rank,e};k(r,"edge-proxy",f,"_ep")}})}function fu(r){var e=0;g(r.nodes(),function(n){var o=r.node(n);if(o.borderTop)o.minRank=r.node(o.borderTop).rank,o.maxRank=r.node(o.borderBottom).rank,e=I(e,o.maxRank)}),r.graph().maxRank=e}function su(r){g(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="edge-proxy")r.edge(n.e).labelRank=n.rank,r.removeNode(e)})}function uu(r){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,i=0,f=r.graph(),s=f.marginx||0,u=f.marginy||0;function d(c){var{x:p,y:m,width:h,height:b}=c;e=Math.min(e,p-h/2),n=Math.max(n,p+h/2),o=Math.min(o,m-b/2),i=Math.max(i,m+b/2)}g(r.nodes(),function(c){d(r.node(c))}),g(r.edges(),function(c){var p=r.edge(c);if(Object.prototype.hasOwnProperty.call(p,"x"))d(p)}),e-=s,o-=u,g(r.nodes(),function(c){var p=r.node(c);p.x-=e,p.y-=o}),g(r.edges(),function(c){var p=r.edge(c);if(g(p.points,function(m){m.x-=e,m.y-=o}),Object.prototype.hasOwnProperty.call(p,"x"))p.x-=e;if(Object.prototype.hasOwnProperty.call(p,"y"))p.y-=o}),f.width=n-e+s,f.height=i-o+u}function du(r){g(r.edges(),function(e){var n=r.edge(e),o=r.node(e.v),i=r.node(e.w),f,s;if(!n.points)n.points=[],f=i,s=o;else f=n.points[0],s=n.points[n.points.length-1];n.points.unshift(Br(o,f)),n.points.push(Br(i,s))})}function cu(r){g(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x")){if(n.labelpos==="l"||n.labelpos==="r")n.width-=n.labeloffset;switch(n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}})}function pu(r){g(r.edges(),function(e){var n=r.edge(e);if(n.reversed)n.points.reverse()})}function lu(r){g(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),o=r.node(n.borderTop),i=r.node(n.borderBottom),f=r.node(X(n.borderLeft)),s=r.node(X(n.borderRight));n.width=Math.abs(s.x-f.x),n.height=Math.abs(i.y-o.y),n.x=f.x+n.width/2,n.y=o.y+n.height/2}}),g(r.nodes(),function(e){if(r.node(e).dummy==="border")r.removeNode(e)})}function mu(r){g(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);if(!n.selfEdges)n.selfEdges=[];n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function hu(r){var e=B(r);g(e,function(n){var o=0;g(n,function(i,f){var s=r.node(i);s.order=f+o,g(s.selfEdges,function(u){k(r,"selfedge",{width:u.label.width,height:u.label.height,rank:s.rank,order:f+ ++o,e:u.e,label:u.label},"_se")}),delete s.selfEdges})})}function gu(r){g(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var o=r.node(n.e.v),i=o.x+o.width/2,f=o.y,s=n.x-i,u=o.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:i+2*s/3,y:f-u},{x:i+5*s/6,y:f-u},{x:i+s,y:f},{x:i+5*s/6,y:f+u},{x:i+2*s/3,y:f+u}],n.label.x=n.x,n.label.y=n.y}})}function Jr(r,e){return H(Z(r,e),Number)}function Zr(r){var e={};return g(r,function(n,o){e[o.toLowerCase()]=n}),e}var no=t((r,e,n)=>Math.max(e,Math.min(n,r)),"clamp"),oo=t((r="TB")=>{switch(r){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),vu=t((r)=>r==="flowchart"||r==="flowchart-v2"||r==="stateDiagram"||r==="er"||r==="classDiagram","shouldMergeSelfLoopSegments"),bu=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],yu=t((r,e,n,o,i)=>{let f=[],s=new Set;if(n.forEach(({start:p,end:m})=>{if(p!==o)s.add(p);if(m!==o)s.add(m)}),s.forEach((p)=>{let m=r.node(p);if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)}),f.length===0)n.forEach(({edge:p})=>{(p.points??[]).forEach((m)=>{if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)})});if(f.length===0)return oo(i);let u=f.reduce((p,m)=>({x:p.x+m.x/f.length,y:p.y+m.y/f.length}),{x:0,y:0}),d=u.x-e.x,c=u.y-e.y;if(Math.abs(d)>Math.abs(c))return d>0?"right":"left";if(Math.abs(c)>0)return c>0?"bottom":"top";return oo(i)},"getSelfLoopSide"),wu=t((r,e="top",n=0,o=0)=>{let i=r.x,f=r.y-n,s=r.width/2,u=r.height/2,d=Math.max(36,Math.min(100,r.width*0.8)),c=no(Math.max(o,r.width*0.35),36,d),p=no(Math.min(r.width,r.height)*0.45,24,48);switch(e){case"bottom":{let m=f+u;return[{x:i-c/2,y:m},{x:i-c/2,y:m+p},{x:i+c/2,y:m+p},{x:i+c/2,y:m}]}case"right":{let m=i+s;return[{x:m,y:f-c/2},{x:m+p,y:f-c/2},{x:m+p,y:f+c/2},{x:m,y:f+c/2}]}case"left":{let m=i-s;return[{x:m,y:f-c/2},{x:m-p,y:f-c/2},{x:m-p,y:f+c/2},{x:m,y:f+c/2}]}case"top":default:{let m=f-u;return[{x:i-c/2,y:m},{x:i-c/2,y:m-p},{x:i+c/2,y:m-p},{x:i+c/2,y:m}]}}},"getSelfLoopPoints"),_u=t((r,e,n="top",o=0,i={})=>{let s=r.x,u=r.y-o,d=i.width??0,c=i.height??0;switch(n){case"bottom":return{x:s,y:Math.max(...e.map((p)=>p.y))+c/2+4};case"right":return{x:Math.max(...e.map((p)=>p.x))+d/2+4,y:u};case"left":return{x:Math.min(...e.map((p)=>p.x))-d/2-4,y:u};case"top":default:return{x:s,y:Math.min(...e.map((p)=>p.y))-c/2-4}}},"getSelfLoopLabelPosition"),uo=t((r,e=0,{mergeSelfLoops:n=!0}={})=>{let o=new Map,i=[],f=r.graph()?.rankdir;return r.edges().forEach((s)=>{let u=r.edge(s);if(n&&u.selfLoop){let d=u.selfLoop.id;if(!o.has(d))o.set(d,[]);o.get(d).push({edge:u,start:s.v,end:s.w})}else i.push({edge:u,start:s.v,end:s.w})}),o.forEach((s)=>{if(s.length!==3){s.forEach((_)=>i.push(_));return}s.sort((_,A)=>_.edge.selfLoop.order-A.edge.selfLoop.order);let[u,d,c]=s,p=u.edge.originalEdge??d.edge.originalEdge??c.edge.originalEdge??d.edge,m=r.node(p.start);if(!m){s.forEach((_)=>i.push(_));return}let h={width:d.edge.width,height:d.edge.height},b=yu(r,m,s,p.start,f),w=wu(m,b,e,h.width??0),y=_u(m,w,b,e,h),v={...d.edge,...p,id:p.id,points:w,start:p.start,end:p.end,x:y.x,y:y.y,width:h.width,height:h.height,labelStyle:d.edge.labelStyle,fromCluster:u.edge.fromCluster??d.edge.fromCluster??c.edge.fromCluster,toCluster:u.edge.toCluster??d.edge.toCluster??c.edge.toCluster};delete v.selfLoop,delete v.originalEdge,i.push({edge:v,start:v.start,end:v.end})}),i},"getEdgesToRender"),ao=t(async({element:r,graph:e,diagramType:n,id:o,parentCluster:i,siteConfig:f})=>{let s=e.graph().rankdir;a.trace("Dir in recursive render - dir:",s);let{clusters:u,edgePaths:d,edgeLabels:c,nodes:p,rootGroups:m}=ha(r,{edgePathsClass:"edgePaths"});if(!e.nodes())a.info("No nodes found for",e);else a.info("Recursive render XXX",e.nodes());if(e.edges().length>0)a.info("Recursive edges",e.edge(e.edges()[0]));let h=vu(n);await Promise.all(e.nodes().map(async function(y){let v=e.node(y);if(i!==void 0){let _=JSON.parse(JSON.stringify(i.clusterData));if(a.trace(`Setting data for parent cluster XXX
2
- Node.id = `,y,`
3
- data=`,_.height,`
4
- Parent cluster`,i.height),e.setNode(i.id,_),!e.parent(y))a.trace("Setting parent",y,i.id),e.setParent(y,i.id,_)}if(a.info("(Insert) Node XXX"+y+": "+JSON.stringify(e.node(y))),v?.clusterNode){a.info("Cluster identified XBX",y,v.width,e.node(y));let{ranksep:_,nodesep:A}=e.graph();v.graph.setGraph({...v.graph.graph(),ranksep:_+25,nodesep:A});let Qr=await Lu({element:p,graph:v.graph,diagramType:n,id:o,parentCluster:e.node(y),siteConfig:f}),re=Qr.elem;D(v,re),v.diff=Qr.diff||0,a.info("New compound node after recursive render XAX",y,"width",v.width,"height",v.height),Ro(re,v)}else if(e.children(y).length>0)a.trace("Cluster - the non recursive path XBX",y,v.id,v,v.width,"Graph:",e),a.trace(Un(v.id,e)),W.set(v.id,{id:Un(v.id,e),node:v});else a.trace("Node - the non recursive path XAX",y,p,e.node(y),s),await ga(p,e.node(y),{config:f,dir:s})})),await t(async()=>{let y=e.edges().map(async function(v){let _=e.edge(v.v,v.w,v.name);if(a.info("Edge "+v.v+" -> "+v.w+": "+JSON.stringify(v)),a.info("Edge "+v.v+" -> "+v.w+": ",v," ",JSON.stringify(e.edge(v))),a.info("Fix",W,"ids:",v.v,v.w,"Translating: ",W.get(v.v),W.get(v.w)),h&&_.selfLoop){if(_.selfLoop.order!==1)return;let A={..._.originalEdge,..._,id:_.selfLoop.id,startLabelLeft:_.originalEdge?.startLabelLeft??_.startLabelLeft,startLabelRight:_.originalEdge?.startLabelRight??_.startLabelRight,endLabelLeft:_.originalEdge?.endLabelLeft??_.endLabelLeft,endLabelRight:_.originalEdge?.endLabelRight??_.endLabelRight};await At(c,A),_.width=A.width,_.height=A.height,_.labelStyle=A.labelStyle;return}await At(c,_)});await Promise.all(y)},"processEdges")();let{subGraphTitleTotalMargin:w}=Tt(f);return{elem:m,graph:e,groups:{clusters:u,edgePaths:d,edgeLabels:c,nodes:p,rootGroups:m},diagramType:n,id:o,mergeSelfLoops:h,subGraphTitleTotalMargin:w}},"measureDagreGraph"),so=t((r)=>{a.info("############################################# XXX"),a.info("### Layout ### XXX"),a.info("############################################# XXX"),$r(r)},"runDagreGraphLayout"),Eu=t((r,e,n)=>{let o=r.node(e);if(!o)return;let i={...o};if(o?.clusterNode)i.y=(o.y??0)+n;else if(r.children(e).length>0)i.height=(o.height??0)+n;else i.y=(o.y??0)+n/2;return i},"normalizeDagreNode"),io=t((r,e)=>{bu.forEach((n)=>{if(e[n]!==void 0)r[n]=e[n]})},"applyDagreNodeLayout"),xu=t((r,e,n,o)=>({...r,start:r.start??e,end:r.end??n,points:(r.points??[]).map((i)=>({...i,y:typeof i.y==="number"?i.y+o:i.y}))}),"normalizeDagreEdge"),Bo=t((r,e)=>{let{graph:n,mergeSelfLoops:o,subGraphTitleTotalMargin:i=0}=e,f=new Map(r.nodes.map((u)=>[u.id,u]));ya(n).forEach((u)=>{let d=Eu(n,u,i);if(!d)return;io(n.node(u),d);let c=f.get(u);if(c)io(c,d)});let s=i/2;return r.edges=uo(n,s,{mergeSelfLoops:o}).map(({edge:u,start:d,end:c})=>xu(u,d,c,s)),r},"applyDagreLayoutResult"),Ou=t(async({elem:r,graph:e,groups:{clusters:n,edgePaths:o},diagramType:i,id:f,mergeSelfLoops:s,subGraphTitleTotalMargin:u})=>{let d=0;await Promise.all(ya(e).map(async function(m){let h=e.node(m);if(a.info("Position XBX => "+m+": ("+h.x,","+h.y,") width: ",h.width," height: ",h.height),h?.clusterNode)h.y+=u,a.info("A tainted cluster node XBX1",m,h.id,h.width,h.height,h.x,h.y,e.parent(m)),W.get(h.id).node=h,bt(h);else if(e.children(m).length>0){a.info("A pure cluster node XBX1",m,h.id,h.x,h.y,h.width,h.height,e.parent(m)),h.height+=u,e.node(h.parentId);let b=h?.padding/2||0,w=h?.labelBBox?.height||0,y=w-b||0;a.debug("OffsetY",y,"labelHeight",w,"halfPadding",b),await en(n,h),W.get(h.id).node=h}else{let b=e.node(h.parentId);h.y+=u/2,a.info("A regular node XBX1 - using the padding",h.id,"parent",h.parentId,h.width,h.height,h.x,h.y,"offsetY",h.offsetY,"parent",b,b?.offsetY,h),bt(h)}}));let c=u/2;return uo(e,c,{mergeSelfLoops:s}).forEach(function({edge:m,start:h,end:b}){a.info("Edge "+h+" -> "+b+": "+JSON.stringify(m),m),m.points.forEach((_)=>_.y+=c);let w=e.node(h),y=e.node(b),v=tn(o,m,W,i,w,y,f);Kn(m,v)}),e.nodes().forEach(function(m){let h=e.node(m);if(a.info(m,h.type,h.diff),h.isGroup)d=h.diff}),a.warn("Returning from recursive render XAX",r,d),{elem:r,diff:d}},"paintDagreLayoutCore"),Lu=t(async(r)=>{let e=await ao(r);return so(e.graph),await Ou(e)},"renderDagreSubgraph"),po=t((r)=>{let e=new ae({multigraph:!0,compound:!0}).setGraph({rankdir:r.direction,nodesep:r.config?.nodeSpacing||r.nodeSpacing||r.config?.flowchart?.nodeSpacing,ranksep:r.config?.rankSpacing||r.rankSpacing||r.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return r.nodes.forEach((n)=>{if(e.setNode(n.id,{...n}),n.parentId)e.setParent(n.id,n.parentId)}),a.debug("Edges:",r.edges),r.edges.forEach((n)=>{if(n.start===n.end){let o=n.start,i=o+"---"+o+"---1",f=o+"---"+o+"---2",s=e.node(o);e.setNode(i,{domId:i,id:i,parentId:s.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(i,s.parentId),e.setNode(f,{domId:f,id:f,parentId:s.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(f,s.parentId);let u=structuredClone(n),d=structuredClone(n),c=structuredClone(n),p=structuredClone(n);if(d.originalEdge=u,d.selfLoop={id:u.id,order:0},c.originalEdge=u,c.selfLoop={id:u.id,order:1},p.originalEdge=u,p.selfLoop={id:u.id,order:2},d.label="",d.arrowTypeEnd="none",d.endLabelLeft="",d.endLabelRight="",d.startLabelLeft="",d.id=o+"-cyclic-special-1",c.startLabelRight="",c.startLabelLeft="",c.endLabelLeft="",c.endLabelRight="",c.arrowTypeStart="none",c.arrowTypeEnd="none",c.id=o+"-cyclic-special-mid",p.label="",p.startLabelRight="",p.startLabelLeft="",p.arrowTypeStart="none",s.isGroup)d.fromCluster=o,p.toCluster=o;p.id=o+"-cyclic-special-2",p.arrowTypeStart="none",e.setEdge(o,i,d,o+"-cyclic-special-0"),e.setEdge(i,f,c,o+"-cyclic-special-1"),e.setEdge(f,o,p,o+"-cyclic-special-2")}else e.setEdge(n.start,n.end,{...n},n.id)}),fo(e),{graph:e}},"prepareLayoutForDagre"),Fo=t(async(r,{element:e,preparedLayout:n})=>{let o=n??po(r),i=l(),f=await ao({element:e,graph:o.graph,diagramType:r.type,id:r.diagramId,parentCluster:void 0,siteConfig:i});return o.measuredLayout=f,f},"measureDagreLayout"),zo=t((r,e)=>{let n=e.preparedLayout?.measuredLayout;if(!n)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return so(n.graph),Bo(r,n),n},"runDagreLayoutCore"),Iu=t((r,{measure:e})=>ya(e.graph).map((n)=>e.graph.node(n)).filter(Boolean),"getDagrePaintNodes"),Su=t((r,e,{measure:n})=>r?n.graph.node(r):void 0,"getDagreEdgeNode"),mo=dr({prepareLayout:po,measureLayout:Fo,runLayoutCore:zo,paintOptions:{clusterDb:W,getNodes:Iu,getEdgeNode:Su,skipNode:t((r,{measure:e})=>!e.graph.hasNode(r.id),"skipNode"),isCluster:t((r,{measure:e})=>e.graph.hasNode(r.id)&&(e.graph.children(r.id)??[]).length>0,"isCluster")}});export{uo,Bo,po,Fo,zo,mo};
@@ -1,2 +0,0 @@
1
- import{t,p}from"./chunk-h8mhnze5.js";var he=t((o,e)=>{let n;if(e==="sandbox")n=p("#i"+o);return(e==="sandbox"?p(n.nodes()[0].contentDocument.body):p("body")).select(`[id="${o}"]`)},"getDiagramElement");
2
- export{he};
@@ -1 +0,0 @@
1
- import{Ei}from"./chunk-gaf9brzv.js";export{Ei as default};
@@ -1 +0,0 @@
1
- import{Rt}from"./chunk-vvvd3grf.js";export{Rt as default};
@@ -1 +0,0 @@
1
- import{or}from"./chunk-tfsrk2rc.js";export{or as createRailroadServices};
@@ -1,39 +0,0 @@
1
- import{H}from"./chunk-85d7jkp0.js";import{t,a,N,F,C,S,E,T,A,I,R,l,ie,Wn,Qr,V,Ge,j}from"./chunk-h8mhnze5.js";import{J}from"./chunk-tfsrk2rc.js";import{_t}from"./chunk-cge0cjfm.js";import{Je}from"./chunk-wcj3bxdf.js";function rt(e,o){return o<e?-1:o>e?1:o>=e?0:NaN}function at(e){return e}function nt(){var e=at,o=rt,b=null,W=ie(0),g=ie(Wn),h=ie(0);function s(r){var i,u=(r=Qr(r)).length,m,k,L=0,v=Array(u),c=Array(u),O=+W.apply(this,arguments),G=Math.min(Wn,Math.max(-Wn,g.apply(this,arguments)-O)),P,X=Math.min(Math.abs(G)/u,h.apply(this,arguments)),p=X*(G<0?-1:1),z;for(i=0;i<u;++i)if((z=c[v[i]=i]=+e(r[i],i,r))>0)L+=z;if(o!=null)v.sort(function(B,x){return o(c[B],c[x])});else if(b!=null)v.sort(function(B,x){return b(r[B],r[x])});for(i=0,k=L?(G-u*p)/L:0;i<u;++i,O=P)m=v[i],z=c[m],P=O+(z>0?z*k:0)+p,c[m]={data:r[m],index:i,value:z,startAngle:O,endAngle:P,padAngle:X};return c}return s.value=function(r){return arguments.length?(e=typeof r==="function"?r:ie(+r),s):e},s.sortValues=function(r){return arguments.length?(o=r,b=null,s):o},s.sort=function(r){return arguments.length?(b=r,o=null,s):b},s.startAngle=function(r){return arguments.length?(W=typeof r==="function"?r:ie(+r),s):W},s.endAngle=function(r){return arguments.length?(g=typeof r==="function"?r:ie(+r),s):g},s.padAngle=function(r){return arguments.length?(h=typeof r==="function"?r:ie(+r),s):h},s}var gt=N.pie,it={sections:new Map,showData:!1,config:gt},{sections:K,showData:ot}=it,xt=structuredClone(gt),St=t(()=>structuredClone(xt),"getConfig"),yt=t(()=>{K=new Map,ot=it.showData,C()},"clear"),wt=t(({label:e,value:o})=>{if(o<0)throw Error(`"${e}" has invalid value: ${o}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);if(!K.has(e))K.set(e,o),a.debug(`added new section: ${e}, with value: ${o}`)},"addSection"),At=t(()=>K,"getSections"),Ct=t((e)=>{ot=e},"setShowData"),$t=t(()=>ot,"getShowData"),dt={getConfig:St,clear:yt,setDiagramTitle:I,getDiagramTitle:R,setAccTitle:S,getAccTitle:E,setAccDescription:T,getAccDescription:A,addSection:wt,getSections:At,setShowData:Ct,getShowData:$t},Dt=t((e,o)=>{H(e,o),o.setShowData(e.showData),e.sections.map(o.addSection)},"populateDb"),Tt={parse:t(async(e)=>{let o=await J("pie",e);a.debug(o),Dt(o,dt)},"parse")},bt=t((e)=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieCircle.highlighted{
8
- scale: 1.05;
9
- opacity: 1;
10
- }
11
- .pieCircle.highlightedOnHover:hover{
12
- transition-duration: 250ms;
13
- scale: 1.05;
14
- opacity: 1;
15
- }
16
- .pieOuterCircle{
17
- stroke: ${e.pieOuterStrokeColor};
18
- stroke-width: ${e.pieOuterStrokeWidth};
19
- fill: none;
20
- }
21
- .pieTitleText {
22
- text-anchor: middle;
23
- font-size: ${e.pieTitleTextSize};
24
- fill: ${e.pieTitleTextColor};
25
- font-family: ${e.fontFamily};
26
- }
27
- .slice {
28
- font-family: ${e.fontFamily};
29
- fill: ${e.pieSectionTextColor};
30
- font-size:${e.pieSectionTextSize};
31
- // fill: white;
32
- }
33
- .legend text {
34
- fill: ${e.pieLegendTextColor};
35
- font-family: ${e.fontFamily};
36
- font-size: ${e.pieLegendTextSize};
37
- }
38
- `,"getStyles"),kt=bt,zt=t((e)=>{let o=[...e.values()].reduce((g,h)=>g+h,0),b=[...e.entries()].map(([g,h])=>({label:g,value:h})).filter((g)=>g.value/o*100>=1);return nt().value((g)=>g.value).sort(null)(b)},"createPieArcs"),Et=t((e,o,b,W)=>{a.debug(`rendering pie chart
39
- `+e);let g=W.db,h=l(),s=j(g.getConfig(),h.pie),r=40,i=18,u=4,m=450,k=m,L=V(o),v=L.append("g");v.attr("transform","translate("+k/2+","+m/2+")");let{themeVariables:c}=h,[O]=Ge(c.pieOuterStrokeWidth);O??=2;let{legendPosition:G,textPosition:P}=s,X=s.donutHole>0&&s.donutHole<=0.9?s.donutHole:0,p=Math.min(k,m)/2-r,z=_t().innerRadius(X*p).outerRadius(p),B=_t().innerRadius(p*P).outerRadius(p*P),x=v.append("g");x.append("circle").attr("cx",0).attr("cy",0).attr("r",p+O/2).attr("class","pieOuterCircle");let Z=g.getSections(),pt=zt(Z),ft=[c.pie1,c.pie2,c.pie3,c.pie4,c.pie5,c.pie6,c.pie7,c.pie8,c.pie9,c.pie10,c.pie11,c.pie12],Q=0;Z.forEach((n)=>{Q+=n});let lt=pt.filter((n)=>(n.data.value/Q*100).toFixed(0)!=="0"),Y=Je(ft).domain([...Z.keys()]);x.selectAll("mySlices").data(lt).enter().append("path").attr("d",z).attr("fill",(n)=>Y(n.data.label)).attr("class",(n)=>{let d="pieCircle";if(s.highlightSlice==="hover")d+=" highlightedOnHover";else if(s.highlightSlice===n.data.label)d+=" highlighted";return d}),x.selectAll("mySlices").data(lt).enter().append("text").text((n)=>(n.data.value/Q*100).toFixed(0)+"%").attr("transform",(n)=>"translate("+B.centroid(n)+")").style("text-anchor","middle").attr("class","slice");let ht=v.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText"),U=[...Z.entries()].map(([n,d])=>({label:n,value:d})),M=v.selectAll(".legend").data(U).enter().append("g").attr("class","legend");M.append("rect").attr("width",i).attr("height",i).style("fill",(n)=>Y(n.label)).style("stroke",(n)=>Y(n.label)),M.append("text").attr("x",i+u).attr("y",i-u).text((n)=>{if(g.getShowData())return`${n.label} [${n.value}]`;return n.label});let _=Math.max(...M.selectAll("text").nodes().map((n)=>n?.getBoundingClientRect().width??0)),q=m,tt=k+r,f=i+u,et=U.length*f;switch(G){case"center":M.attr("transform",(n,d)=>{let y=f*U.length/2,w=-_/2-(i+u),D=d*f-y;return"translate("+w+","+D+")"});break;case"top":q+=et,M.attr("transform",(n,d)=>{let y=p,w=-_/2-(i+u),D=d*f-y;return`translate(${w}, ${D})`}),x.attr("transform",()=>`translate(0, ${et+f})`);break;case"bottom":q+=et,M.attr("transform",(n,d)=>{let y=-p-f,w=-_/2-(i+u),D=d*f-y;return"translate("+w+","+D+")"});break;case"left":tt+=i+u+_,M.attr("transform",(n,d)=>{let y=f*U.length/2,w=-p-(i+u),D=d*f-y;return"translate("+w+","+D+")"}),x.attr("transform",()=>`translate(${_+i+u}, 0)`);break;case"right":default:tt+=i+u+_,M.attr("transform",(n,d)=>{let y=f*U.length/2,w=12*i,D=d*f-y;return"translate("+w+","+D+")"});break}let st=ht.node()?.getBoundingClientRect().width??0,mt=k/2-st/2,vt=k/2+st/2,ct=Math.min(0,mt),ut=Math.max(tt,vt)-ct;L.attr("viewBox",`${ct} 0 ${ut} ${q}`),F(L,q,ut,s.useMaxWidth)},"draw"),Mt={draw:Et},Jt={parser:Tt,db:dt,renderer:Mt,styles:kt};export{Jt as diagram};
@@ -1,2 +0,0 @@
1
- import{t}from"./chunk-h8mhnze5.js";function H(c,e){if(c.accDescr)e.setAccDescription?.(c.accDescr);if(c.accTitle)e.setAccTitle?.(c.accTitle);if(c.title)e.setDiagramTitle?.(c.title)}t(H,"populateCommonDb");
2
- export{H};
@@ -1 +0,0 @@
1
- import{tr}from"./chunk-e229cr90.js";export{tr as default};
@@ -1 +0,0 @@
1
- import{zi}from"./chunk-tfsrk2rc.js";export{zi as createEventModelingServices};
@@ -1 +0,0 @@
1
- import{Jn}from"./chunk-5d9veaef.js";export{Jn as default};