@bkm016/basalt 0.1.27 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (846) hide show
  1. package/chunk-01fz0kzx.js +2 -0
  2. package/chunk-06k5mcmy.js +4018 -0
  3. package/chunk-14pg1g7b.js +2 -0
  4. package/chunk-1cvzbvsq.js +2 -0
  5. package/chunk-1pgj58dw.js +20 -0
  6. package/chunk-200cn72d.js +16 -0
  7. package/chunk-2nd8hvf3.js +31 -0
  8. package/chunk-39wsmkd7.js +4 -0
  9. package/chunk-54qc1d5t.js +2 -0
  10. package/chunk-59enxka6.js +50 -0
  11. package/chunk-5fs3331q.js +3 -0
  12. package/chunk-674kjaqz.js +2 -0
  13. package/chunk-6pqsx156.js +12 -0
  14. package/chunk-6rw1ex78.js +2 -0
  15. package/chunk-6vz0znf6.js +8 -0
  16. package/chunk-73z1fv3d.js +9 -0
  17. package/chunk-7dnq7g8f.js +3 -0
  18. package/chunk-7emc0sy7.js +11 -0
  19. package/chunk-7nsrfrmx.js +2 -0
  20. package/chunk-8hxsap9d.js +5 -0
  21. package/chunk-8kmtns4v.js +5 -0
  22. package/chunk-9dy56agy.js +51 -0
  23. package/chunk-9mt2k1a7.js +5 -0
  24. package/chunk-9sq7yxh7.js +12 -0
  25. package/chunk-9x1yprjh.js +2 -0
  26. package/chunk-a5k24aj6.js +3 -0
  27. package/chunk-ades3qy7.js +10 -0
  28. package/chunk-ag642nqs.js +8 -0
  29. package/chunk-av3zmcd8.js +3 -0
  30. package/chunk-b1hdfsj4.js +25 -0
  31. package/chunk-b5448t3j.js +2 -0
  32. package/chunk-b6rvzkxg.js +3 -0
  33. package/chunk-b8acka7e.js +2 -0
  34. package/chunk-bh680te4.js +2 -0
  35. package/chunk-cb4rvanv.js +2 -0
  36. package/chunk-d6hcvbkh.js +3 -0
  37. package/chunk-dqxks09b.js +3 -0
  38. package/chunk-eg161ep9.js +3 -0
  39. package/chunk-exjytvzn.js +2 -0
  40. package/chunk-f6kg68bj.js +3 -0
  41. package/chunk-fcxdq1dy.js +7 -0
  42. package/chunk-fkjjadt4.js +3 -0
  43. package/chunk-fr1zvytp.js +7 -0
  44. package/chunk-fx3cc8nr.js +3 -0
  45. package/chunk-hvxc1wyv.js +3 -0
  46. package/chunk-j24fq8ss.js +2 -0
  47. package/chunk-j55tyjct.js +2 -0
  48. package/chunk-jn0dhvkp.js +2 -0
  49. package/chunk-k9dw37w2.js +3 -0
  50. package/chunk-m6bm0739.js +2 -0
  51. package/chunk-mkfdzt82.js +2 -0
  52. package/chunk-nbm1tqvg.js +3 -0
  53. package/chunk-p5ga5as0.js +25 -0
  54. package/chunk-pmefr1ak.js +490 -0
  55. package/chunk-r49sxmnc.js +3 -0
  56. package/chunk-rf6t7zeb.js +286 -0
  57. package/chunk-s0ne3yb9.js +2 -0
  58. package/chunk-s8ybq82n.js +5 -0
  59. package/chunk-spv39wem.js +7 -0
  60. package/chunk-stgqqm7m.js +59 -0
  61. package/chunk-sykaz5bf.js +18 -0
  62. package/chunk-sz0jywpb.js +39 -0
  63. package/chunk-vcngwaee.js +3 -0
  64. package/chunk-vpvznxf4.js +3 -0
  65. package/chunk-vzh6e5f2.js +2 -0
  66. package/chunk-wkvrtjtc.js +2 -0
  67. package/chunk-wzd9b2qk.js +2 -0
  68. package/chunk-x1cva1gc.js +2 -0
  69. package/chunk-x83jcg3x.js +3 -0
  70. package/chunk-xdyee71m.js +10 -0
  71. package/chunk-xdygdssk.js +3 -0
  72. package/chunk-xjcg6cxc.js +3 -0
  73. package/chunk-xran6f0c.js +2 -0
  74. package/chunk-ymn1s2xs.js +3 -0
  75. package/chunk-ysqx0ye8.js +2 -0
  76. package/chunk-z58jafcm.js +3 -0
  77. package/chunk-zf1c6rj7.js +63 -0
  78. package/chunk-zgtahh10.js +44 -0
  79. package/compiled.js +11 -11
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +79 -77
  82. package/web/chunk-0nt1mz09.js +1 -0
  83. package/web/chunk-0nt1mz09.js.br +0 -0
  84. package/web/chunk-0nt1mz09.js.gz +0 -0
  85. package/web/chunk-0yye7ex1.js +1 -0
  86. package/web/chunk-0yye7ex1.js.br +0 -0
  87. package/web/chunk-0yye7ex1.js.gz +0 -0
  88. package/web/chunk-1pffd2va.js +2 -0
  89. package/web/chunk-1pffd2va.js.br +0 -0
  90. package/web/chunk-1pffd2va.js.gz +0 -0
  91. package/web/chunk-368znnfs.js +1 -0
  92. package/web/chunk-368znnfs.js.br +0 -0
  93. package/web/chunk-368znnfs.js.gz +0 -0
  94. package/web/chunk-3tx9tqfb.js +291 -0
  95. package/web/chunk-3tx9tqfb.js.br +0 -0
  96. package/web/chunk-3tx9tqfb.js.gz +0 -0
  97. package/web/chunk-46ht4dh6.js +24 -0
  98. package/web/chunk-46ht4dh6.js.br +0 -0
  99. package/web/chunk-46ht4dh6.js.gz +0 -0
  100. package/web/chunk-4c418rk9.js +1 -0
  101. package/web/chunk-4c418rk9.js.br +2 -0
  102. package/web/chunk-4c418rk9.js.gz +0 -0
  103. package/web/chunk-4p0sm8e7.js +7 -0
  104. package/web/chunk-4p0sm8e7.js.br +0 -0
  105. package/web/chunk-4p0sm8e7.js.gz +0 -0
  106. package/web/chunk-4zam960g.js +1 -0
  107. package/web/chunk-4zam960g.js.br +0 -0
  108. package/web/chunk-4zam960g.js.gz +0 -0
  109. package/web/chunk-5h63t21g.js +1 -0
  110. package/web/chunk-5h63t21g.js.br +0 -0
  111. package/web/chunk-5h63t21g.js.gz +0 -0
  112. package/web/chunk-5h7xm5mn.js +1 -0
  113. package/web/chunk-5h7xm5mn.js.br +0 -0
  114. package/web/chunk-5h7xm5mn.js.gz +0 -0
  115. package/web/chunk-6crex674.js +89 -0
  116. package/web/chunk-6crex674.js.br +0 -0
  117. package/web/chunk-6crex674.js.gz +0 -0
  118. package/web/chunk-6v031vc6.js +21 -0
  119. package/web/chunk-6v031vc6.js.br +0 -0
  120. package/web/chunk-6v031vc6.js.gz +0 -0
  121. package/web/chunk-782gfmtk.js +38 -0
  122. package/web/chunk-782gfmtk.js.br +0 -0
  123. package/web/chunk-782gfmtk.js.gz +0 -0
  124. package/web/chunk-7a6szg06.js +2 -0
  125. package/web/chunk-7a6szg06.js.br +0 -0
  126. package/web/chunk-7a6szg06.js.gz +0 -0
  127. package/web/chunk-7dvbxn34.js +4 -0
  128. package/web/chunk-7dvbxn34.js.br +0 -0
  129. package/web/chunk-7dvbxn34.js.gz +0 -0
  130. package/web/chunk-7g795nba.js +1 -0
  131. package/web/chunk-7g795nba.js.br +2 -0
  132. package/web/chunk-7g795nba.js.gz +0 -0
  133. package/web/chunk-8fymhvne.js +1 -0
  134. package/web/chunk-8fymhvne.js.br +0 -0
  135. package/web/chunk-8fymhvne.js.gz +0 -0
  136. package/web/chunk-8kcp1h63.js +1 -0
  137. package/web/chunk-8kcp1h63.js.br +0 -0
  138. package/web/chunk-8kcp1h63.js.gz +0 -0
  139. package/web/chunk-8vtr60yn.js +2 -0
  140. package/web/chunk-8vtr60yn.js.br +0 -0
  141. package/web/chunk-8vtr60yn.js.gz +0 -0
  142. package/web/chunk-8y14zggg.js +2 -0
  143. package/web/chunk-8y14zggg.js.br +0 -0
  144. package/web/chunk-8y14zggg.js.gz +0 -0
  145. package/web/chunk-8zg840m3.js +1 -0
  146. package/web/chunk-8zg840m3.js.br +0 -0
  147. package/web/chunk-8zg840m3.js.gz +0 -0
  148. package/web/chunk-940sc4ny.js +7 -0
  149. package/web/chunk-940sc4ny.js.br +0 -0
  150. package/web/chunk-940sc4ny.js.gz +0 -0
  151. package/web/chunk-94f4sz0m.js +1 -0
  152. package/web/chunk-94f4sz0m.js.br +0 -0
  153. package/web/chunk-94f4sz0m.js.gz +0 -0
  154. package/web/chunk-94jy9s3n.js +55 -0
  155. package/web/chunk-94jy9s3n.js.br +0 -0
  156. package/web/chunk-94jy9s3n.js.gz +0 -0
  157. package/web/chunk-97qfkg6n.js +30 -0
  158. package/web/chunk-97qfkg6n.js.br +0 -0
  159. package/web/chunk-97qfkg6n.js.gz +0 -0
  160. package/web/chunk-99mgkmjb.js +62 -0
  161. package/web/chunk-99mgkmjb.js.br +0 -0
  162. package/web/chunk-99mgkmjb.js.gz +0 -0
  163. package/web/chunk-9afn27bs.js +1 -0
  164. package/web/chunk-9afn27bs.js.br +2 -0
  165. package/web/chunk-9afn27bs.js.gz +0 -0
  166. package/web/chunk-aw4h94zp.js +1 -0
  167. package/web/chunk-aw4h94zp.js.br +0 -0
  168. package/web/chunk-aw4h94zp.js.gz +0 -0
  169. package/web/chunk-azdhgj11.js +40 -0
  170. package/web/chunk-azdhgj11.js.br +0 -0
  171. package/web/chunk-azdhgj11.js.gz +0 -0
  172. package/web/chunk-batey85v.js +2 -0
  173. package/web/chunk-batey85v.js.br +0 -0
  174. package/web/chunk-batey85v.js.gz +0 -0
  175. package/web/chunk-brbxfap5.js +99 -0
  176. package/web/chunk-brbxfap5.js.br +0 -0
  177. package/web/chunk-brbxfap5.js.gz +0 -0
  178. package/web/chunk-bxc8a663.js +2 -0
  179. package/web/chunk-bxc8a663.js.br +0 -0
  180. package/web/chunk-bxc8a663.js.gz +0 -0
  181. package/web/chunk-c2t7zyge.js +169 -0
  182. package/web/chunk-c2t7zyge.js.br +0 -0
  183. package/web/chunk-c2t7zyge.js.gz +0 -0
  184. package/web/chunk-c5bfa3rp.js +1 -0
  185. package/web/chunk-c5bfa3rp.js.br +0 -0
  186. package/web/chunk-c5bfa3rp.js.gz +0 -0
  187. package/web/chunk-c86a6am5.js +2 -0
  188. package/web/chunk-c86a6am5.js.br +3 -0
  189. package/web/chunk-c86a6am5.js.gz +0 -0
  190. package/web/chunk-dgtp38mj.js +1 -0
  191. package/web/chunk-dgtp38mj.js.br +0 -0
  192. package/web/chunk-dgtp38mj.js.gz +0 -0
  193. package/web/chunk-e4h4dg4y.js +303 -0
  194. package/web/chunk-e4h4dg4y.js.br +0 -0
  195. package/web/chunk-e4h4dg4y.js.gz +0 -0
  196. package/web/chunk-e5f8e2ta.js +1 -0
  197. package/web/chunk-e5f8e2ta.js.br +0 -0
  198. package/web/chunk-e5f8e2ta.js.gz +0 -0
  199. package/web/chunk-e7rwnv7e.js +1 -0
  200. package/web/chunk-e7rwnv7e.js.br +0 -0
  201. package/web/chunk-e7rwnv7e.js.gz +0 -0
  202. package/web/chunk-ef9tqrz4.js +324 -0
  203. package/web/chunk-ef9tqrz4.js.br +0 -0
  204. package/web/chunk-ef9tqrz4.js.gz +0 -0
  205. package/web/chunk-ekcnhcm0.js +1 -0
  206. package/web/chunk-ekcnhcm0.js.br +0 -0
  207. package/web/chunk-ekcnhcm0.js.gz +0 -0
  208. package/web/chunk-ekkdhece.js +41 -0
  209. package/web/chunk-ekkdhece.js.br +0 -0
  210. package/web/chunk-ekkdhece.js.gz +0 -0
  211. package/web/chunk-enbqe508.js +36 -0
  212. package/web/chunk-enbqe508.js.br +0 -0
  213. package/web/chunk-enbqe508.js.gz +0 -0
  214. package/web/chunk-ev517x0c.js +1 -0
  215. package/web/chunk-ev517x0c.js.br +0 -0
  216. package/web/chunk-ev517x0c.js.gz +0 -0
  217. package/web/chunk-ex47jeev.js +1 -0
  218. package/web/chunk-ex47jeev.js.br +0 -0
  219. package/web/chunk-ex47jeev.js.gz +0 -0
  220. package/web/chunk-ft9p7cr8.js +8 -0
  221. package/web/chunk-ft9p7cr8.js.br +0 -0
  222. package/web/chunk-ft9p7cr8.js.gz +0 -0
  223. package/web/chunk-fybmc8p1.js +1 -0
  224. package/web/chunk-fybmc8p1.js.br +0 -0
  225. package/web/chunk-fybmc8p1.js.gz +0 -0
  226. package/web/chunk-g6e50kx0.js +3 -0
  227. package/web/chunk-g6e50kx0.js.br +0 -0
  228. package/web/chunk-g6e50kx0.js.gz +0 -0
  229. package/web/chunk-g6grehr5.css +1 -0
  230. package/web/chunk-g6grehr5.css.br +0 -0
  231. package/web/chunk-g6grehr5.css.gz +0 -0
  232. package/web/chunk-gbzfq3rg.js +332 -0
  233. package/web/chunk-gbzfq3rg.js.br +0 -0
  234. package/web/chunk-gbzfq3rg.js.gz +0 -0
  235. package/web/chunk-gsg8yq3m.js +1 -0
  236. package/web/chunk-gsg8yq3m.js.br +0 -0
  237. package/web/chunk-gsg8yq3m.js.gz +0 -0
  238. package/web/chunk-hgcgbxns.js +1 -0
  239. package/web/chunk-hgcgbxns.js.br +0 -0
  240. package/web/chunk-hgcgbxns.js.gz +0 -0
  241. package/web/chunk-hh8ck7sy.js +2 -0
  242. package/web/chunk-hh8ck7sy.js.br +0 -0
  243. package/web/chunk-hh8ck7sy.js.gz +0 -0
  244. package/web/chunk-hj18pw9f.js +2 -0
  245. package/web/chunk-hj18pw9f.js.br +0 -0
  246. package/web/chunk-hj18pw9f.js.gz +0 -0
  247. package/web/chunk-hk4jd2qq.js +24 -0
  248. package/web/chunk-hk4jd2qq.js.br +0 -0
  249. package/web/chunk-hk4jd2qq.js.gz +0 -0
  250. package/web/chunk-hrnx1576.js +4 -0
  251. package/web/chunk-hrnx1576.js.br +0 -0
  252. package/web/chunk-hrnx1576.js.gz +0 -0
  253. package/web/chunk-j0ns5dyq.js +120 -0
  254. package/web/chunk-j0ns5dyq.js.br +0 -0
  255. package/web/chunk-j0ns5dyq.js.gz +0 -0
  256. package/web/chunk-j21a7pd1.js +1 -0
  257. package/web/chunk-j21a7pd1.js.br +0 -0
  258. package/web/chunk-j21a7pd1.js.gz +0 -0
  259. package/web/chunk-jbejy8k3.js +1139 -0
  260. package/web/chunk-jbejy8k3.js.br +0 -0
  261. package/web/chunk-jbejy8k3.js.gz +0 -0
  262. package/web/chunk-jeq99z4t.js +70 -0
  263. package/web/chunk-jeq99z4t.js.br +0 -0
  264. package/web/chunk-jeq99z4t.js.gz +0 -0
  265. package/web/chunk-jqq07zta.js +1 -0
  266. package/web/chunk-jqq07zta.js.br +0 -0
  267. package/web/chunk-jqq07zta.js.gz +0 -0
  268. package/web/chunk-k6m37v6k.js +1 -0
  269. package/web/chunk-k6m37v6k.js.br +0 -0
  270. package/web/chunk-k6m37v6k.js.gz +0 -0
  271. package/web/chunk-kajk2w5j.js +217 -0
  272. package/web/chunk-kajk2w5j.js.br +0 -0
  273. package/web/chunk-kajk2w5j.js.gz +0 -0
  274. package/web/chunk-kcrypnnf.js +1 -0
  275. package/web/chunk-kcrypnnf.js.br +0 -0
  276. package/web/chunk-kcrypnnf.js.gz +0 -0
  277. package/web/chunk-kyksv8an.js +1 -0
  278. package/web/chunk-kyksv8an.js.br +2 -0
  279. package/web/chunk-kyksv8an.js.gz +0 -0
  280. package/web/chunk-mkhcq6z6.js +1 -0
  281. package/web/chunk-mkhcq6z6.js.br +0 -0
  282. package/web/chunk-mkhcq6z6.js.gz +0 -0
  283. package/web/chunk-mytypet0.js +2 -0
  284. package/web/chunk-mytypet0.js.br +0 -0
  285. package/web/chunk-mytypet0.js.gz +0 -0
  286. package/web/chunk-mzb086jr.js +1 -0
  287. package/web/chunk-mzb086jr.js.br +0 -0
  288. package/web/chunk-mzb086jr.js.gz +0 -0
  289. package/web/chunk-mzevfdmp.js +1 -0
  290. package/web/chunk-mzevfdmp.js.br +0 -0
  291. package/web/chunk-mzevfdmp.js.gz +0 -0
  292. package/web/chunk-n7c5sndg.js +1 -0
  293. package/web/chunk-n7c5sndg.js.br +0 -0
  294. package/web/chunk-n7c5sndg.js.gz +0 -0
  295. package/web/chunk-ned200k0.js +84 -0
  296. package/web/chunk-ned200k0.js.br +0 -0
  297. package/web/chunk-ned200k0.js.gz +0 -0
  298. package/web/chunk-ngcd5a3c.js +1 -0
  299. package/web/chunk-ngcd5a3c.js.br +0 -0
  300. package/web/chunk-ngcd5a3c.js.gz +0 -0
  301. package/web/chunk-nx14h1a6.js +1 -0
  302. package/web/chunk-nx14h1a6.js.br +0 -0
  303. package/web/chunk-nx14h1a6.js.gz +0 -0
  304. package/web/chunk-p3fv7nbz.js +1 -0
  305. package/web/chunk-p3fv7nbz.js.br +0 -0
  306. package/web/chunk-p3fv7nbz.js.gz +0 -0
  307. package/web/chunk-pktgtyf6.js +1 -0
  308. package/web/chunk-pktgtyf6.js.br +0 -0
  309. package/web/chunk-pktgtyf6.js.gz +0 -0
  310. package/web/chunk-pm504vps.js +89 -0
  311. package/web/chunk-pm504vps.js.br +0 -0
  312. package/web/chunk-pm504vps.js.gz +0 -0
  313. package/web/chunk-pnvkphs0.js +12 -0
  314. package/web/chunk-pnvkphs0.js.br +0 -0
  315. package/web/chunk-pnvkphs0.js.gz +0 -0
  316. package/web/chunk-ptvshaa0.js +2 -0
  317. package/web/chunk-ptvshaa0.js.br +0 -0
  318. package/web/chunk-ptvshaa0.js.gz +0 -0
  319. package/web/chunk-py4737sc.js +39 -0
  320. package/web/chunk-py4737sc.js.br +0 -0
  321. package/web/chunk-py4737sc.js.gz +0 -0
  322. package/web/chunk-pz5wcbdv.js +139 -0
  323. package/web/chunk-pz5wcbdv.js.br +0 -0
  324. package/web/chunk-pz5wcbdv.js.gz +0 -0
  325. package/web/chunk-q467b529.js +1 -0
  326. package/web/chunk-q467b529.js.br +0 -0
  327. package/web/chunk-q467b529.js.gz +0 -0
  328. package/web/chunk-qbvbfpx8.js +1 -0
  329. package/web/chunk-qbvbfpx8.js.br +0 -0
  330. package/web/chunk-qbvbfpx8.js.gz +0 -0
  331. package/web/chunk-qgfc4ptt.js +7 -0
  332. package/web/chunk-qgfc4ptt.js.br +0 -0
  333. package/web/chunk-qgfc4ptt.js.gz +0 -0
  334. package/web/chunk-qmmss130.js +2 -0
  335. package/web/chunk-qmmss130.js.br +0 -0
  336. package/web/chunk-qmmss130.js.gz +0 -0
  337. package/web/chunk-qqrzr444.js +2 -0
  338. package/web/chunk-qqrzr444.js.br +0 -0
  339. package/web/chunk-qqrzr444.js.gz +0 -0
  340. package/web/chunk-r2fjprkk.js +1 -0
  341. package/web/chunk-r2fjprkk.js.br +0 -0
  342. package/web/chunk-r2fjprkk.js.gz +0 -0
  343. package/web/chunk-rcn21n5e.js +214 -0
  344. package/web/chunk-rcn21n5e.js.br +0 -0
  345. package/web/chunk-rcn21n5e.js.gz +0 -0
  346. package/web/chunk-rpnw9xwe.js +1 -0
  347. package/web/chunk-rpnw9xwe.js.br +0 -0
  348. package/web/chunk-rpnw9xwe.js.gz +0 -0
  349. package/web/chunk-rv5h4d8w.js +1 -0
  350. package/web/chunk-rv5h4d8w.js.br +0 -0
  351. package/web/chunk-rv5h4d8w.js.gz +0 -0
  352. package/web/chunk-s8e8gzvn.js +16 -0
  353. package/web/chunk-s8e8gzvn.js.br +0 -0
  354. package/web/chunk-s8e8gzvn.js.gz +0 -0
  355. package/web/chunk-sa57mndb.js +1 -0
  356. package/web/chunk-sa57mndb.js.br +0 -0
  357. package/web/chunk-sa57mndb.js.gz +0 -0
  358. package/web/chunk-sc90h9bd.js +2 -0
  359. package/web/chunk-sc90h9bd.js.br +0 -0
  360. package/web/chunk-sc90h9bd.js.gz +0 -0
  361. package/web/chunk-t44qa4yt.js +200 -0
  362. package/web/chunk-t44qa4yt.js.br +0 -0
  363. package/web/chunk-t44qa4yt.js.gz +0 -0
  364. package/web/chunk-t8b8cdak.js +2 -0
  365. package/web/chunk-t8b8cdak.js.br +0 -0
  366. package/web/chunk-t8b8cdak.js.gz +0 -0
  367. package/web/chunk-t9cgbcf2.js +1 -0
  368. package/web/chunk-t9cgbcf2.js.br +0 -0
  369. package/web/chunk-t9cgbcf2.js.gz +0 -0
  370. package/web/chunk-tk8kf0bf.js +2 -0
  371. package/web/chunk-tk8kf0bf.js.br +0 -0
  372. package/web/chunk-tk8kf0bf.js.gz +0 -0
  373. package/web/chunk-tt3v857c.js +106 -0
  374. package/web/chunk-tt3v857c.js.br +0 -0
  375. package/web/chunk-tt3v857c.js.gz +0 -0
  376. package/web/chunk-vjnmqaam.js +2 -0
  377. package/web/chunk-vjnmqaam.js.br +0 -0
  378. package/web/chunk-vjnmqaam.js.gz +0 -0
  379. package/web/chunk-vp5qf59s.js +1 -0
  380. package/web/chunk-vp5qf59s.js.br +0 -0
  381. package/web/chunk-vp5qf59s.js.gz +0 -0
  382. package/web/chunk-wrax5wt5.js +292 -0
  383. package/web/chunk-wrax5wt5.js.br +0 -0
  384. package/web/chunk-wrax5wt5.js.gz +0 -0
  385. package/web/chunk-xk8637wb.js +1 -0
  386. package/web/chunk-xk8637wb.js.br +0 -0
  387. package/web/chunk-xk8637wb.js.gz +0 -0
  388. package/web/chunk-yarejzzs.js +142 -0
  389. package/web/chunk-yarejzzs.js.br +0 -0
  390. package/web/chunk-yarejzzs.js.gz +0 -0
  391. package/web/chunk-yg6ys554.js +1 -0
  392. package/web/chunk-yg6ys554.js.br +0 -0
  393. package/web/chunk-yg6ys554.js.gz +0 -0
  394. package/web/chunk-yq6xkb5w.js +370 -0
  395. package/web/chunk-yq6xkb5w.js.br +0 -0
  396. package/web/chunk-yq6xkb5w.js.gz +0 -0
  397. package/web/chunk-yw98mr7e.js +2 -0
  398. package/web/chunk-yw98mr7e.js.br +0 -0
  399. package/web/chunk-yw98mr7e.js.gz +0 -0
  400. package/web/chunk-z07kf12w.js +78 -0
  401. package/web/chunk-z07kf12w.js.br +0 -0
  402. package/web/chunk-z07kf12w.js.gz +0 -0
  403. package/web/chunk-z5sk390b.js +2 -0
  404. package/web/chunk-z5sk390b.js.br +0 -0
  405. package/web/chunk-z5sk390b.js.gz +0 -0
  406. package/web/chunk-zh2szkjy.js +140 -0
  407. package/web/chunk-zh2szkjy.js.br +0 -0
  408. package/web/chunk-zh2szkjy.js.gz +0 -0
  409. package/web/chunk-zrmm67mx.js +34 -0
  410. package/web/chunk-zrmm67mx.js.br +0 -0
  411. package/web/chunk-zrmm67mx.js.gz +0 -0
  412. package/web/chunk-zyfr25n1.js +98 -0
  413. package/web/chunk-zyfr25n1.js.br +0 -0
  414. package/web/chunk-zyfr25n1.js.gz +0 -0
  415. package/web/chunk-zykkmwba.js +2 -0
  416. package/web/chunk-zykkmwba.js.br +0 -0
  417. package/web/chunk-zykkmwba.js.gz +0 -0
  418. package/web/chunk-zzs4h31m.js +2 -0
  419. package/web/chunk-zzs4h31m.js.br +0 -0
  420. package/web/chunk-zzs4h31m.js.gz +0 -0
  421. package/web/index.html +1 -1
  422. package/web/index.html.br +0 -0
  423. package/web/index.html.gz +0 -0
  424. package/worker.js +1 -1
  425. package/chunk-00jhevnt.js +0 -3
  426. package/chunk-04tx0etc.js +0 -2
  427. package/chunk-0r86p29p.js +0 -7
  428. package/chunk-10x1zefx.js +0 -25
  429. package/chunk-1amcz1cz.js +0 -10
  430. package/chunk-1pfdps04.js +0 -2
  431. package/chunk-206g40v9.js +0 -59
  432. package/chunk-2364s958.js +0 -7
  433. package/chunk-3fv2qcpg.js +0 -12
  434. package/chunk-3zz4a5tn.js +0 -31
  435. package/chunk-45wfmdts.js +0 -44
  436. package/chunk-4hkwjw05.js +0 -2
  437. package/chunk-4pq7ycp2.js +0 -5
  438. package/chunk-5e0qfdgx.js +0 -5
  439. package/chunk-7hpf9qq2.js +0 -3
  440. package/chunk-82dkdvs9.js +0 -2
  441. package/chunk-8913dkey.js +0 -3
  442. package/chunk-8g1sbmwf.js +0 -3
  443. package/chunk-8hfch7d0.js +0 -2
  444. package/chunk-90arpvgz.js +0 -2
  445. package/chunk-912knnfg.js +0 -11
  446. package/chunk-97bazdk3.js +0 -20
  447. package/chunk-9akexjfn.js +0 -2
  448. package/chunk-9dgmbwcc.js +0 -2
  449. package/chunk-acd2cwza.js +0 -3
  450. package/chunk-ach16jbw.js +0 -2
  451. package/chunk-ax823t5v.js +0 -3
  452. package/chunk-b03hg30w.js +0 -2
  453. package/chunk-bh29df86.js +0 -5
  454. package/chunk-bhpg72c4.js +0 -2
  455. package/chunk-bwww6j2q.js +0 -2
  456. package/chunk-c126k8wc.js +0 -2
  457. package/chunk-cb3jgak9.js +0 -3
  458. package/chunk-cjeyy6da.js +0 -3
  459. package/chunk-cs4gb2hb.js +0 -2
  460. package/chunk-en5t6hwd.js +0 -3
  461. package/chunk-f4n1csz0.js +0 -3
  462. package/chunk-j16smb6d.js +0 -2
  463. package/chunk-j7eqp97m.js +0 -2
  464. package/chunk-jdrqn8m1.js +0 -2
  465. package/chunk-jp1gqkbp.js +0 -4
  466. package/chunk-jrcvxscb.js +0 -9
  467. package/chunk-jxcghx26.js +0 -50
  468. package/chunk-k8zq95wr.js +0 -2
  469. package/chunk-ken7ras9.js +0 -8
  470. package/chunk-kqgpjmcf.js +0 -2
  471. package/chunk-krbdx24j.js +0 -3
  472. package/chunk-ky2ym708.js +0 -8
  473. package/chunk-kzfy666j.js +0 -16
  474. package/chunk-n0stnnxv.js +0 -2
  475. package/chunk-n9m2pagh.js +0 -2
  476. package/chunk-nedvy6yk.js +0 -10
  477. package/chunk-ng5g0fy3.js +0 -3
  478. package/chunk-nqeqasyt.js +0 -7
  479. package/chunk-nt30x5a7.js +0 -3
  480. package/chunk-q1s5r204.js +0 -3
  481. package/chunk-qj0vfk01.js +0 -2
  482. package/chunk-qqfdg01g.js +0 -3
  483. package/chunk-rj6qknjx.js +0 -12
  484. package/chunk-rvrj0nrs.js +0 -3
  485. package/chunk-sbhj5h2q.js +0 -2
  486. package/chunk-t71zzafh.js +0 -3
  487. package/chunk-t7fwvzmh.js +0 -3
  488. package/chunk-tpv5hz99.js +0 -5
  489. package/chunk-tx2rrrtq.js +0 -2
  490. package/chunk-tyzzbhr5.js +0 -3
  491. package/chunk-tzbefwf0.js +0 -286
  492. package/chunk-v4p8807b.js +0 -18
  493. package/chunk-vnxjcym9.js +0 -17
  494. package/chunk-w35r8v6x.js +0 -39
  495. package/chunk-wbygknv2.js +0 -3
  496. package/chunk-wk63htqy.js +0 -2
  497. package/chunk-wwazj6mz.js +0 -3
  498. package/chunk-x3g1bzq6.js +0 -51
  499. package/chunk-xpc75mkw.js +0 -25
  500. package/chunk-ydhdewcv.js +0 -4014
  501. package/chunk-ypxn8bec.js +0 -3
  502. package/chunk-yztc2q9q.js +0 -490
  503. package/web/chunk-00a6amwf.js +0 -1
  504. package/web/chunk-00a6amwf.js.br +0 -0
  505. package/web/chunk-00a6amwf.js.gz +0 -0
  506. package/web/chunk-023b3kdx.js +0 -214
  507. package/web/chunk-023b3kdx.js.br +0 -0
  508. package/web/chunk-023b3kdx.js.gz +0 -0
  509. package/web/chunk-1bzdt1n8.js +0 -1
  510. package/web/chunk-1bzdt1n8.js.br +0 -2
  511. package/web/chunk-1bzdt1n8.js.gz +0 -0
  512. package/web/chunk-1fnxbfkf.js +0 -139
  513. package/web/chunk-1fnxbfkf.js.br +0 -0
  514. package/web/chunk-1fnxbfkf.js.gz +0 -0
  515. package/web/chunk-1qd75yjn.js +0 -2
  516. package/web/chunk-1qd75yjn.js.br +0 -0
  517. package/web/chunk-1qd75yjn.js.gz +0 -0
  518. package/web/chunk-20v068s6.js +0 -1
  519. package/web/chunk-20v068s6.js.br +0 -0
  520. package/web/chunk-20v068s6.js.gz +0 -0
  521. package/web/chunk-22jfhjk3.js +0 -2
  522. package/web/chunk-22jfhjk3.js.br +0 -0
  523. package/web/chunk-22jfhjk3.js.gz +0 -0
  524. package/web/chunk-37hn49td.js +0 -2
  525. package/web/chunk-37hn49td.js.br +0 -0
  526. package/web/chunk-37hn49td.js.gz +0 -0
  527. package/web/chunk-3crfxxst.js +0 -21
  528. package/web/chunk-3crfxxst.js.br +0 -0
  529. package/web/chunk-3crfxxst.js.gz +0 -0
  530. package/web/chunk-3hg9a6xa.js +0 -1
  531. package/web/chunk-3hg9a6xa.js.br +0 -0
  532. package/web/chunk-3hg9a6xa.js.gz +0 -0
  533. package/web/chunk-3m2nnnk5.js +0 -1
  534. package/web/chunk-3m2nnnk5.js.br +0 -0
  535. package/web/chunk-3m2nnnk5.js.gz +0 -0
  536. package/web/chunk-3ry5cjnp.js +0 -169
  537. package/web/chunk-3ry5cjnp.js.br +0 -0
  538. package/web/chunk-3ry5cjnp.js.gz +0 -0
  539. package/web/chunk-407zrkgx.js +0 -40
  540. package/web/chunk-407zrkgx.js.br +0 -0
  541. package/web/chunk-407zrkgx.js.gz +0 -0
  542. package/web/chunk-43e1ste5.js +0 -1
  543. package/web/chunk-43e1ste5.js.br +0 -0
  544. package/web/chunk-43e1ste5.js.gz +0 -0
  545. package/web/chunk-45ex0e3e.js +0 -2
  546. package/web/chunk-45ex0e3e.js.br +0 -0
  547. package/web/chunk-45ex0e3e.js.gz +0 -0
  548. package/web/chunk-508cpafz.js +0 -142
  549. package/web/chunk-508cpafz.js.br +0 -0
  550. package/web/chunk-508cpafz.js.gz +0 -0
  551. package/web/chunk-538r4sey.js +0 -1
  552. package/web/chunk-538r4sey.js.br +0 -0
  553. package/web/chunk-538r4sey.js.gz +0 -0
  554. package/web/chunk-55zs0yq1.js +0 -1
  555. package/web/chunk-55zs0yq1.js.br +0 -0
  556. package/web/chunk-55zs0yq1.js.gz +0 -0
  557. package/web/chunk-58gh3tbh.js +0 -34
  558. package/web/chunk-58gh3tbh.js.br +0 -0
  559. package/web/chunk-58gh3tbh.js.gz +0 -0
  560. package/web/chunk-5h3r1hpg.js +0 -89
  561. package/web/chunk-5h3r1hpg.js.br +0 -0
  562. package/web/chunk-5h3r1hpg.js.gz +0 -0
  563. package/web/chunk-68q4nnmc.js +0 -2
  564. package/web/chunk-68q4nnmc.js.br +0 -3
  565. package/web/chunk-68q4nnmc.js.gz +0 -0
  566. package/web/chunk-6ktmzq32.js +0 -16
  567. package/web/chunk-6ktmzq32.js.br +0 -0
  568. package/web/chunk-6ktmzq32.js.gz +0 -0
  569. package/web/chunk-6ry6x1ez.js +0 -1
  570. package/web/chunk-6ry6x1ez.js.br +0 -0
  571. package/web/chunk-6ry6x1ez.js.gz +0 -0
  572. package/web/chunk-6wxxypbv.js +0 -7
  573. package/web/chunk-6wxxypbv.js.br +0 -0
  574. package/web/chunk-6wxxypbv.js.gz +0 -0
  575. package/web/chunk-6x9r1z9z.js +0 -291
  576. package/web/chunk-6x9r1z9z.js.br +0 -0
  577. package/web/chunk-6x9r1z9z.js.gz +0 -0
  578. package/web/chunk-719tz8xw.js +0 -1
  579. package/web/chunk-719tz8xw.js.br +0 -0
  580. package/web/chunk-719tz8xw.js.gz +0 -0
  581. package/web/chunk-7devrtv4.js +0 -2
  582. package/web/chunk-7devrtv4.js.br +0 -3
  583. package/web/chunk-7devrtv4.js.gz +0 -0
  584. package/web/chunk-7rs26q98.js +0 -2
  585. package/web/chunk-7rs26q98.js.br +0 -0
  586. package/web/chunk-7rs26q98.js.gz +0 -0
  587. package/web/chunk-82aqq58f.js +0 -24
  588. package/web/chunk-82aqq58f.js.br +0 -0
  589. package/web/chunk-82aqq58f.js.gz +0 -0
  590. package/web/chunk-96n00vam.js +0 -1
  591. package/web/chunk-96n00vam.js.br +0 -0
  592. package/web/chunk-96n00vam.js.gz +0 -0
  593. package/web/chunk-a11ev6ff.js +0 -1
  594. package/web/chunk-a11ev6ff.js.br +0 -0
  595. package/web/chunk-a11ev6ff.js.gz +0 -0
  596. package/web/chunk-a1cpkzwh.js +0 -2
  597. package/web/chunk-a1cpkzwh.js.br +0 -0
  598. package/web/chunk-a1cpkzwh.js.gz +0 -0
  599. package/web/chunk-a31z4c14.js +0 -4
  600. package/web/chunk-a31z4c14.js.br +0 -0
  601. package/web/chunk-a31z4c14.js.gz +0 -0
  602. package/web/chunk-b07y0tzq.js +0 -1
  603. package/web/chunk-b07y0tzq.js.br +0 -0
  604. package/web/chunk-b07y0tzq.js.gz +0 -0
  605. package/web/chunk-b4d1948q.js +0 -62
  606. package/web/chunk-b4d1948q.js.br +0 -0
  607. package/web/chunk-b4d1948q.js.gz +0 -0
  608. package/web/chunk-btk2h3vh.js +0 -36
  609. package/web/chunk-btk2h3vh.js.br +0 -0
  610. package/web/chunk-btk2h3vh.js.gz +0 -0
  611. package/web/chunk-bw9crrb4.js +0 -1
  612. package/web/chunk-bw9crrb4.js.br +0 -0
  613. package/web/chunk-bw9crrb4.js.gz +0 -0
  614. package/web/chunk-c1s7faqj.js +0 -2
  615. package/web/chunk-c1s7faqj.js.br +0 -0
  616. package/web/chunk-c1s7faqj.js.gz +0 -0
  617. package/web/chunk-c3d08dw1.js +0 -1
  618. package/web/chunk-c3d08dw1.js.br +0 -0
  619. package/web/chunk-c3d08dw1.js.gz +0 -0
  620. package/web/chunk-cgt871p9.js +0 -1
  621. package/web/chunk-cgt871p9.js.br +0 -0
  622. package/web/chunk-cgt871p9.js.gz +0 -0
  623. package/web/chunk-crfbqd4d.js +0 -2
  624. package/web/chunk-crfbqd4d.js.br +0 -0
  625. package/web/chunk-crfbqd4d.js.gz +0 -0
  626. package/web/chunk-ctr4kt7p.js +0 -332
  627. package/web/chunk-ctr4kt7p.js.br +0 -0
  628. package/web/chunk-ctr4kt7p.js.gz +0 -0
  629. package/web/chunk-cys4n4sv.js +0 -1
  630. package/web/chunk-cys4n4sv.js.br +0 -0
  631. package/web/chunk-cys4n4sv.js.gz +0 -0
  632. package/web/chunk-d6wcabaa.css +0 -1
  633. package/web/chunk-d6wcabaa.css.br +0 -0
  634. package/web/chunk-d6wcabaa.css.gz +0 -0
  635. package/web/chunk-d7nrrcwp.js +0 -38
  636. package/web/chunk-d7nrrcwp.js.br +0 -0
  637. package/web/chunk-d7nrrcwp.js.gz +0 -0
  638. package/web/chunk-df9ja645.js +0 -1
  639. package/web/chunk-df9ja645.js.br +0 -0
  640. package/web/chunk-df9ja645.js.gz +0 -0
  641. package/web/chunk-dhxc6xe9.js +0 -1
  642. package/web/chunk-dhxc6xe9.js.br +0 -2
  643. package/web/chunk-dhxc6xe9.js.gz +0 -0
  644. package/web/chunk-dy2egpw5.js +0 -12
  645. package/web/chunk-dy2egpw5.js.br +0 -0
  646. package/web/chunk-dy2egpw5.js.gz +0 -0
  647. package/web/chunk-eq59kad4.js +0 -303
  648. package/web/chunk-eq59kad4.js.br +0 -0
  649. package/web/chunk-eq59kad4.js.gz +0 -0
  650. package/web/chunk-f05s9gsw.js +0 -7
  651. package/web/chunk-f05s9gsw.js.br +0 -0
  652. package/web/chunk-f05s9gsw.js.gz +0 -0
  653. package/web/chunk-f2bb976c.js +0 -1
  654. package/web/chunk-f2bb976c.js.br +0 -0
  655. package/web/chunk-f2bb976c.js.gz +0 -0
  656. package/web/chunk-f4aabnnv.js +0 -1
  657. package/web/chunk-f4aabnnv.js.br +0 -0
  658. package/web/chunk-f4aabnnv.js.gz +0 -0
  659. package/web/chunk-fmbc7t17.js +0 -7
  660. package/web/chunk-fmbc7t17.js.br +0 -0
  661. package/web/chunk-fmbc7t17.js.gz +0 -0
  662. package/web/chunk-g0s2xxfd.js +0 -324
  663. package/web/chunk-g0s2xxfd.js.br +0 -0
  664. package/web/chunk-g0s2xxfd.js.gz +0 -0
  665. package/web/chunk-g1k9nggh.js +0 -39
  666. package/web/chunk-g1k9nggh.js.br +0 -0
  667. package/web/chunk-g1k9nggh.js.gz +0 -0
  668. package/web/chunk-g26mzwzc.js +0 -1
  669. package/web/chunk-g26mzwzc.js.br +0 -0
  670. package/web/chunk-g26mzwzc.js.gz +0 -0
  671. package/web/chunk-g7b4p9k9.js +0 -1
  672. package/web/chunk-g7b4p9k9.js.br +0 -0
  673. package/web/chunk-g7b4p9k9.js.gz +0 -0
  674. package/web/chunk-ghr3jf15.js +0 -140
  675. package/web/chunk-ghr3jf15.js.br +0 -0
  676. package/web/chunk-ghr3jf15.js.gz +0 -0
  677. package/web/chunk-gv4zh4er.js +0 -1
  678. package/web/chunk-gv4zh4er.js.br +0 -0
  679. package/web/chunk-gv4zh4er.js.gz +0 -0
  680. package/web/chunk-gw0e69yj.js +0 -1
  681. package/web/chunk-gw0e69yj.js.br +0 -0
  682. package/web/chunk-gw0e69yj.js.gz +0 -0
  683. package/web/chunk-gxwsf4t1.js +0 -2
  684. package/web/chunk-gxwsf4t1.js.br +0 -0
  685. package/web/chunk-gxwsf4t1.js.gz +0 -0
  686. package/web/chunk-hh6vpvar.js +0 -84
  687. package/web/chunk-hh6vpvar.js.br +0 -0
  688. package/web/chunk-hh6vpvar.js.gz +0 -0
  689. package/web/chunk-hxqqy585.js +0 -1
  690. package/web/chunk-hxqqy585.js.br +0 -0
  691. package/web/chunk-hxqqy585.js.gz +0 -0
  692. package/web/chunk-hxsrph02.js +0 -1139
  693. package/web/chunk-hxsrph02.js.br +0 -0
  694. package/web/chunk-hxsrph02.js.gz +0 -0
  695. package/web/chunk-hxx6ad4x.js +0 -1
  696. package/web/chunk-hxx6ad4x.js.br +0 -0
  697. package/web/chunk-hxx6ad4x.js.gz +0 -0
  698. package/web/chunk-j2gkg76r.js +0 -2
  699. package/web/chunk-j2gkg76r.js.br +0 -0
  700. package/web/chunk-j2gkg76r.js.gz +0 -0
  701. package/web/chunk-jcbheqv1.js +0 -1
  702. package/web/chunk-jcbheqv1.js.br +0 -0
  703. package/web/chunk-jcbheqv1.js.gz +0 -0
  704. package/web/chunk-jhx6v9es.js +0 -1
  705. package/web/chunk-jhx6v9es.js.br +0 -0
  706. package/web/chunk-jhx6v9es.js.gz +0 -0
  707. package/web/chunk-jnhem746.js +0 -292
  708. package/web/chunk-jnhem746.js.br +0 -0
  709. package/web/chunk-jnhem746.js.gz +0 -0
  710. package/web/chunk-jr796qsk.js +0 -1
  711. package/web/chunk-jr796qsk.js.br +0 -0
  712. package/web/chunk-jr796qsk.js.gz +0 -0
  713. package/web/chunk-jw92texh.js +0 -1
  714. package/web/chunk-jw92texh.js.br +0 -0
  715. package/web/chunk-jw92texh.js.gz +0 -0
  716. package/web/chunk-k89686qj.js +0 -2
  717. package/web/chunk-k89686qj.js.br +0 -0
  718. package/web/chunk-k89686qj.js.gz +0 -0
  719. package/web/chunk-mvm0gvwj.js +0 -24
  720. package/web/chunk-mvm0gvwj.js.br +0 -0
  721. package/web/chunk-mvm0gvwj.js.gz +0 -0
  722. package/web/chunk-n033azqs.js +0 -30
  723. package/web/chunk-n033azqs.js.br +0 -0
  724. package/web/chunk-n033azqs.js.gz +0 -0
  725. package/web/chunk-n0fqhrqv.js +0 -89
  726. package/web/chunk-n0fqhrqv.js.br +0 -0
  727. package/web/chunk-n0fqhrqv.js.gz +0 -0
  728. package/web/chunk-n1p03ng0.js +0 -1
  729. package/web/chunk-n1p03ng0.js.br +0 -0
  730. package/web/chunk-n1p03ng0.js.gz +0 -0
  731. package/web/chunk-nb73fq72.js +0 -1
  732. package/web/chunk-nb73fq72.js.br +0 -0
  733. package/web/chunk-nb73fq72.js.gz +0 -0
  734. package/web/chunk-nxnkb0w4.js +0 -55
  735. package/web/chunk-nxnkb0w4.js.br +0 -0
  736. package/web/chunk-nxnkb0w4.js.gz +0 -0
  737. package/web/chunk-nymsmy8d.js +0 -78
  738. package/web/chunk-nymsmy8d.js.br +0 -0
  739. package/web/chunk-nymsmy8d.js.gz +0 -0
  740. package/web/chunk-nzqxb0ea.js +0 -1
  741. package/web/chunk-nzqxb0ea.js.br +0 -0
  742. package/web/chunk-nzqxb0ea.js.gz +0 -0
  743. package/web/chunk-p26b4zdm.js +0 -1
  744. package/web/chunk-p26b4zdm.js.br +0 -0
  745. package/web/chunk-p26b4zdm.js.gz +0 -0
  746. package/web/chunk-qa0wwff0.js +0 -1
  747. package/web/chunk-qa0wwff0.js.br +0 -0
  748. package/web/chunk-qa0wwff0.js.gz +0 -0
  749. package/web/chunk-qgv81n98.js +0 -1
  750. package/web/chunk-qgv81n98.js.br +0 -0
  751. package/web/chunk-qgv81n98.js.gz +0 -0
  752. package/web/chunk-qtwjt5mm.js +0 -3
  753. package/web/chunk-qtwjt5mm.js.br +0 -0
  754. package/web/chunk-qtwjt5mm.js.gz +0 -0
  755. package/web/chunk-r49dy5vx.js +0 -1
  756. package/web/chunk-r49dy5vx.js.br +0 -0
  757. package/web/chunk-r49dy5vx.js.gz +0 -0
  758. package/web/chunk-r97hd8wk.js +0 -98
  759. package/web/chunk-r97hd8wk.js.br +0 -0
  760. package/web/chunk-r97hd8wk.js.gz +0 -0
  761. package/web/chunk-s6a13wxe.js +0 -2
  762. package/web/chunk-s6a13wxe.js.br +0 -0
  763. package/web/chunk-s6a13wxe.js.gz +0 -0
  764. package/web/chunk-sb61aqg8.js +0 -4
  765. package/web/chunk-sb61aqg8.js.br +0 -0
  766. package/web/chunk-sb61aqg8.js.gz +0 -0
  767. package/web/chunk-scwrkcdw.js +0 -1
  768. package/web/chunk-scwrkcdw.js.br +0 -0
  769. package/web/chunk-scwrkcdw.js.gz +0 -0
  770. package/web/chunk-shtvhd61.js +0 -200
  771. package/web/chunk-shtvhd61.js.br +0 -0
  772. package/web/chunk-shtvhd61.js.gz +0 -0
  773. package/web/chunk-t5e9vh89.js +0 -1
  774. package/web/chunk-t5e9vh89.js.br +0 -0
  775. package/web/chunk-t5e9vh89.js.gz +0 -0
  776. package/web/chunk-tbgavq0t.js +0 -2
  777. package/web/chunk-tbgavq0t.js.br +0 -0
  778. package/web/chunk-tbgavq0t.js.gz +0 -0
  779. package/web/chunk-tefm9md2.js +0 -2
  780. package/web/chunk-tefm9md2.js.br +0 -0
  781. package/web/chunk-tefm9md2.js.gz +0 -0
  782. package/web/chunk-tp3fpa0t.js +0 -1
  783. package/web/chunk-tp3fpa0t.js.br +0 -0
  784. package/web/chunk-tp3fpa0t.js.gz +0 -0
  785. package/web/chunk-tr7fg3tv.js +0 -8
  786. package/web/chunk-tr7fg3tv.js.br +0 -0
  787. package/web/chunk-tr7fg3tv.js.gz +0 -0
  788. package/web/chunk-v5xf47q0.js +0 -1
  789. package/web/chunk-v5xf47q0.js.br +0 -0
  790. package/web/chunk-v5xf47q0.js.gz +0 -0
  791. package/web/chunk-vwms8c7b.js +0 -1
  792. package/web/chunk-vwms8c7b.js.br +0 -0
  793. package/web/chunk-vwms8c7b.js.gz +0 -0
  794. package/web/chunk-w2gy2tmp.js +0 -99
  795. package/web/chunk-w2gy2tmp.js.br +0 -0
  796. package/web/chunk-w2gy2tmp.js.gz +0 -0
  797. package/web/chunk-whfh2wev.js +0 -41
  798. package/web/chunk-whfh2wev.js.br +0 -0
  799. package/web/chunk-whfh2wev.js.gz +0 -0
  800. package/web/chunk-wjecy48x.js +0 -1
  801. package/web/chunk-wjecy48x.js.br +0 -0
  802. package/web/chunk-wjecy48x.js.gz +0 -0
  803. package/web/chunk-wqmyjj6w.js +0 -370
  804. package/web/chunk-wqmyjj6w.js.br +0 -0
  805. package/web/chunk-wqmyjj6w.js.gz +0 -0
  806. package/web/chunk-wv83gygp.js +0 -1
  807. package/web/chunk-wv83gygp.js.br +0 -0
  808. package/web/chunk-wv83gygp.js.gz +0 -0
  809. package/web/chunk-x1gr0017.js +0 -70
  810. package/web/chunk-x1gr0017.js.br +0 -0
  811. package/web/chunk-x1gr0017.js.gz +0 -0
  812. package/web/chunk-xa9m0mh2.js +0 -106
  813. package/web/chunk-xa9m0mh2.js.br +0 -0
  814. package/web/chunk-xa9m0mh2.js.gz +0 -0
  815. package/web/chunk-xjbxndxz.js +0 -2
  816. package/web/chunk-xjbxndxz.js.br +0 -0
  817. package/web/chunk-xjbxndxz.js.gz +0 -0
  818. package/web/chunk-xsfmh8rr.js +0 -217
  819. package/web/chunk-xsfmh8rr.js.br +0 -0
  820. package/web/chunk-xsfmh8rr.js.gz +0 -0
  821. package/web/chunk-xvsb3w1f.js +0 -1
  822. package/web/chunk-xvsb3w1f.js.br +0 -0
  823. package/web/chunk-xvsb3w1f.js.gz +0 -0
  824. package/web/chunk-y2jkaf1e.js +0 -2
  825. package/web/chunk-y2jkaf1e.js.br +0 -0
  826. package/web/chunk-y2jkaf1e.js.gz +0 -0
  827. package/web/chunk-ynpx7j96.js +0 -1
  828. package/web/chunk-ynpx7j96.js.br +0 -0
  829. package/web/chunk-ynpx7j96.js.gz +0 -0
  830. package/web/chunk-z04ncfs3.js +0 -2
  831. package/web/chunk-z04ncfs3.js.br +0 -0
  832. package/web/chunk-z04ncfs3.js.gz +0 -0
  833. package/web/chunk-zapwrc5k.js +0 -2
  834. package/web/chunk-zapwrc5k.js.br +0 -0
  835. package/web/chunk-zapwrc5k.js.gz +0 -0
  836. package/web/chunk-zq1qbaxb.js +0 -2
  837. package/web/chunk-zq1qbaxb.js.br +0 -0
  838. package/web/chunk-zq1qbaxb.js.gz +0 -0
  839. package/web/chunk-zs7physk.js +0 -120
  840. package/web/chunk-zs7physk.js.br +0 -0
  841. package/web/chunk-zs7physk.js.gz +0 -0
  842. /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
  843. /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
  844. /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
  845. /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
  846. /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Pa}from"./chunk-508cpafz.js";export{Pa as createRailroadServices};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Ms}from"./chunk-508cpafz.js";export{Ms as createRadarServices};
Binary file
Binary file
@@ -1,34 +0,0 @@
1
- import{t,de,Wa,f,h,F,A,Y,L,M,R,P,I,O,D,g,J,Q,v}from"./chunk-eq59kad4.js";var ue=(e,s)=>Wa(e,"a",-s),St=ue;function kt(e,s){let i=he(e),n=i.filter((c)=>fe(c,e)),r=0,o=0,a=[];if(n.length>1){let c=Wt(n);for(let d=0;d<n.length;++d){let l=n[d];l.angle=Math.atan2(l.x-c.x,l.y-c.y)}n.sort((d,l)=>l.angle-d.angle);let x=n[n.length-1];for(let d=0;d<n.length;++d){let l=n[d];o+=(x.x+l.x)*(l.y-x.y);let k={x:(l.x+x.x)/2,y:(l.y+x.y)/2},p=null;for(let _=0;_<l.parentIndex.length;++_)if(x.parentIndex.includes(l.parentIndex[_])){let S=e[l.parentIndex[_]],C=Math.atan2(l.x-S.x,l.y-S.y),B=Math.atan2(x.x-S.x,x.y-S.y),j=B-C;if(j<0)j+=2*Math.PI;let N=B-j/2,m=ot(k,{x:S.x+S.radius*Math.sin(N),y:S.y+S.radius*Math.cos(N)});if(m>S.radius*2)m=S.radius*2;if(p==null||p.width>m)p={circle:S,width:m,p1:l,p2:x,large:m>S.radius,sweep:!0}}if(p!=null)a.push(p),r+=Et(p.circle.radius,p.width),x=l}}else{let c=e[0];for(let d=1;d<e.length;++d)if(e[d].radius<c.radius)c=e[d];let x=!1;for(let d=0;d<e.length;++d)if(ot(e[d],c)>Math.abs(c.radius-e[d].radius)){x=!0;break}if(x)r=o=0;else r=c.radius*c.radius*Math.PI,a.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-0.0000000001,y:c.y+c.radius},width:c.radius*2,large:!0,sweep:!0})}if(o/=2,s)s.area=r+o,s.arcArea=r,s.polygonArea=o,s.arcs=a,s.innerPoints=n,s.intersectionPoints=i;return r+o}function fe(e,s){return s.every((i)=>ot(e,i)<i.radius+0.0000000001)}function he(e){let s=[];for(let i=0;i<e.length;++i)for(let n=i+1;n<e.length;++n){let r=Gt(e[i],e[n]);for(let o of r)o.parentIndex=[i,n],s.push(o)}return s}function Et(e,s){return e*e*Math.acos(1-s/e)-(e-s)*Math.sqrt(s*(2*e-s))}function ot(e,s){return Math.sqrt((e.x-s.x)*(e.x-s.x)+(e.y-s.y)*(e.y-s.y))}function Rt(e,s,i){if(i>=e+s)return 0;if(i<=Math.abs(e-s))return Math.PI*Math.min(e,s)*Math.min(e,s);let n=e-(i*i-s*s+e*e)/(2*i),r=s-(i*i-e*e+s*s)/(2*i);return Et(e,n)+Et(s,r)}function Gt(e,s){let i=ot(e,s),n=e.radius,r=s.radius;if(i>=n+r||i<=Math.abs(n-r))return[];let o=(n*n-r*r+i*i)/(2*i),a=Math.sqrt(n*n-o*o),c=e.x+o*(s.x-e.x)/i,x=e.y+o*(s.y-e.y)/i,d=-(s.y-e.y)*(a/i),l=-(s.x-e.x)*(a/i);return[{x:c+d,y:x-l},{x:c-d,y:x+l}]}function Wt(e){let s={x:0,y:0};for(let i of e)s.x+=i.x,s.y+=i.y;return s.x/=e.length,s.y/=e.length,s}function ge(e,s,i,n){n=n||{};let r=n.maxIterations||100,o=n.tolerance||0.0000000001,a=e(s),c=e(i),x=i-s;if(a*c>0)throw"Initial bisect points must have opposite signs";if(a===0)return s;if(c===0)return i;for(let d=0;d<r;++d){x/=2;let l=s+x,k=e(l);if(k*a>=0)s=l;if(Math.abs(x)<o||k===0)return l}return s+x}function Tt(e){let s=Array(e);for(let i=0;i<e;++i)s[i]=0;return s}function qt(e,s){return Tt(e).map(()=>Tt(s))}function pt(e,s){let i=0;for(let n=0;n<e.length;++n)i+=e[n]*s[n];return i}function zt(e){return Math.sqrt(pt(e,e))}function At(e,s,i){for(let n=0;n<s.length;++n)e[n]=s[n]*i}function gt(e,s,i,n,r){for(let o=0;o<e.length;++o)e[o]=s*i[o]+n*r[o]}function Kt(e,s,i){i=i||{};let n=i.maxIterations||s.length*200,r=i.nonZeroDelta||1.05,o=i.zeroDelta||0.001,a=i.minErrorDelta||0.000001,c=i.minErrorDelta||0.00001,x=i.rho!==void 0?i.rho:1,d=i.chi!==void 0?i.chi:2,l=i.psi!==void 0?i.psi:-0.5,k=i.sigma!==void 0?i.sigma:0.5,p,_=s.length,S=Array(_+1);S[0]=s,S[0].fx=e(s),S[0].id=0;for(let E=0;E<_;++E){let u=s.slice();u[E]=u[E]?u[E]*r:o,S[E+1]=u,S[E+1].fx=e(u),S[E+1].id=E+1}function C(E){for(let u=0;u<E.length;u++)S[_][u]=E[u];S[_].fx=E.fx}let B=(E,u)=>E.fx-u.fx,j=s.slice(),N=s.slice(),m=s.slice(),w=s.slice();for(let E=0;E<n;++E){if(S.sort(B),i.history){let b=S.map((y)=>{let G=y.slice();return G.fx=y.fx,G.id=y.id,G});b.sort((y,G)=>y.id-G.id),i.history.push({x:S[0].slice(),fx:S[0].fx,simplex:b})}p=0;for(let b=0;b<_;++b)p=Math.max(p,Math.abs(S[0][b]-S[1][b]));if(Math.abs(S[0].fx-S[_].fx)<a&&p<c)break;for(let b=0;b<_;++b){j[b]=0;for(let y=0;y<_;++y)j[b]+=S[y][b];j[b]/=_}let u=S[_];if(gt(N,1+x,j,-x,u),N.fx=e(N),N.fx<S[0].fx)if(gt(w,1+d,j,-d,u),w.fx=e(w),w.fx<N.fx)C(w);else C(N);else if(N.fx>=S[_-1].fx){let b=!1;if(N.fx>u.fx)if(gt(m,1+l,j,-l,u),m.fx=e(m),m.fx<u.fx)C(m);else b=!0;else if(gt(m,1-l*x,j,l*x,u),m.fx=e(m),m.fx<N.fx)C(m);else b=!0;if(b){if(k>=1)break;for(let y=1;y<S.length;++y)gt(S[y],1-k,S[0],k,S[y]),S[y].fx=e(S[y])}}else C(N)}return S.sort(B),{fx:S[0].fx,x:S[0]}}function xe(e,s,i,n,r,o,a){let c=i.fx,x=pt(i.fxprime,s),d=c,l=c,k=x,p=0;r=r||1,o=o||0.000001,a=a||0.1;function _(S,C,B){for(let j=0;j<16;++j)if(r=(S+C)/2,gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||d>=B)C=r;else{if(Math.abs(k)<=-a*x)return r;if(k*(C-S)>=0)C=S;S=r,B=d}return 0}for(let S=0;S<10;++S){if(gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||S&&d>=l)return _(p,r,l);if(Math.abs(k)<=-a*x)return r;if(k>=0)return _(r,p,d);l=d,p=r,r*=2}return r}function ye(e,s,i){let n={x:s.slice(),fx:0,fxprime:s.slice()},r={x:s.slice(),fx:0,fxprime:s.slice()},o=s.slice(),a,c,x=1,d;i=i||{},d=i.maxIterations||s.length*20,n.fx=e(n.x,n.fxprime),a=n.fxprime.slice(),At(a,n.fxprime,-1);for(let l=0;l<d;++l){if(x=xe(e,a,n,r,x),i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});if(!x)At(a,n.fxprime,-1);else{gt(o,1,r.fxprime,-1,n.fxprime);let k=pt(n.fxprime,n.fxprime),p=Math.max(0,pt(o,r.fxprime)/k);gt(a,p,a,-1,r.fxprime),c=n,n=r,r=c}if(zt(n.fxprime)<=0.00001)break}if(i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});return n}function Ht(e,s={}){s.maxIterations=s.maxIterations||500;let i=s.initialLayout||ve,n=s.lossFunction||mt,r=pe(e,s),o=i(r,s),a=Object.keys(o),c=[];for(let l of a)c.push(o[l].x),c.push(o[l].y);let d=Kt((l)=>{let k={};for(let p=0;p<a.length;++p){let _=a[p];k[_]={x:l[2*p],y:l[2*p+1],radius:o[_].radius}}return n(k,r)},c,s).x;for(let l=0;l<a.length;++l){let k=a[l];o[k].x=d[2*l],o[k].y=d[2*l+1]}return o}var Yt=0.0000000001;function Ct(e,s,i){if(Math.min(e,s)*Math.min(e,s)*Math.PI<=i+Yt)return Math.abs(e-s);return ge((n)=>Rt(e,s,n)-i,0,e+s)}function pe(e,s={}){let i=s.distinct,n=e.map((c)=>Object.assign({},c));function r(c){return c.join(";")}if(i){let c=new Map;for(let x of n)for(let d=0;d<x.sets.length;d++){let l=String(x.sets[d]);c.set(l,x.size+(c.get(l)||0));for(let k=d+1;k<x.sets.length;k++){let p=String(x.sets[k]),_=`${l};${p}`,S=`${p};${l}`;c.set(_,x.size+(c.get(_)||0)),c.set(S,x.size+(c.get(S)||0))}}for(let x of n)if(x.sets.length<3)x.size=c.get(r(x.sets))}let o=[],a=new Set;for(let c of n)if(c.sets.length===1)o.push(c.sets[0]);else if(c.sets.length===2){let x=c.sets[0],d=c.sets[1];a.add(r(c.sets)),a.add(r([d,x]))}o.sort((c,x)=>c===x?0:c<x?-1:1);for(let c=0;c<o.length;++c){let x=o[c];for(let d=c+1;d<o.length;++d){let l=o[d];if(!a.has(r([x,l])))n.push({sets:[x,l],size:0})}}return n}function me(e,s,i){let n=qt(s.length,s.length),r=qt(s.length,s.length);return e.filter((o)=>o.sets.length===2).forEach((o)=>{let a=i[o.sets[0]],c=i[o.sets[1]],x=Math.sqrt(s[a].size/Math.PI),d=Math.sqrt(s[c].size/Math.PI),l=Ct(x,d,o.size);n[a][c]=n[c][a]=l;let k=0;if(o.size+0.0000000001>=Math.min(s[a].size,s[c].size))k=1;else if(o.size<=0.0000000001)k=-1;r[a][c]=r[c][a]=k}),{distances:n,constraints:r}}function be(e,s,i,n){for(let o=0;o<s.length;++o)s[o]=0;let r=0;for(let o=0;o<i.length;++o){let a=e[2*o],c=e[2*o+1];for(let x=o+1;x<i.length;++x){let d=e[2*x],l=e[2*x+1],k=i[o][x],p=n[o][x],_=(d-a)*(d-a)+(l-c)*(l-c),S=Math.sqrt(_),C=_-k*k;if(p>0&&S<=k||p<0&&S>=k)continue;r+=2*C*C,s[2*o]+=4*C*(a-d),s[2*o+1]+=4*C*(c-l),s[2*x]+=4*C*(d-a),s[2*x+1]+=4*C*(l-c)}}return r}function ve(e,s={}){let i=Ie(e,s),n=s.lossFunction||mt;if(e.length>=8){let r=ke(e,s),o=n(r,e),a=n(i,e);if(o+0.00000001<a)i=r}return i}function ke(e,s={}){let i=s.restarts||10,n=[],r={};for(let p of e)if(p.sets.length===1)r[p.sets[0]]=n.length,n.push(p);let{distances:o,constraints:a}=me(e,n,r),c=zt(o.map(zt))/o.length;o=o.map((p)=>p.map((_)=>_/c));let x=(p,_)=>be(p,_,o,a),d=null;for(let p=0;p<i;++p){let _=Tt(o.length*2).map(Math.random),S=ye(x,_,s);if(!d||S.fx<d.fx)d=S}let l=d.x,k={};for(let p=0;p<n.length;++p){let _=n[p];k[_.sets[0]]={x:l[2*p]*c,y:l[2*p+1]*c,radius:Math.sqrt(_.size/Math.PI)}}if(s.history)for(let p of s.history)At(p.x,c);return k}function Ie(e,s){let i=s&&s.lossFunction?s.lossFunction:mt,n={},r={};for(let k of e)if(k.sets.length===1){let p=k.sets[0];n[p]={x:10000000000,y:10000000000,rowid:n.length,size:k.size,radius:Math.sqrt(k.size/Math.PI)},r[p]=[]}e=e.filter((k)=>k.sets.length===2);for(let k of e){let p=k.weight!=null?k.weight:1,_=k.sets[0],S=k.sets[1];if(k.size+Yt>=Math.min(n[_].size,n[S].size))p=0;r[_].push({set:S,size:k.size,weight:p}),r[S].push({set:_,size:k.size,weight:p})}let o=[];Object.keys(r).forEach((k)=>{let p=0;for(let _=0;_<r[k].length;++_)p+=r[k][_].size*r[k][_].weight;o.push({set:k,size:p})});function a(k,p){return p.size-k.size}o.sort(a);let c={};function x(k){return k.set in c}function d(k,p){n[p].x=k.x,n[p].y=k.y,c[p]=!0}d({x:0,y:0},o[0].set);for(let k=1;k<o.length;++k){let p=o[k].set,_=r[p].filter(x),S=n[p];if(_.sort(a),_.length===0)throw"ERROR: missing pairwise overlap information";let C=[];for(var l=0;l<_.length;++l){let N=n[_[l].set],m=Ct(S.radius,N.radius,_[l].size);C.push({x:N.x+m,y:N.y}),C.push({x:N.x-m,y:N.y}),C.push({y:N.y+m,x:N.x}),C.push({y:N.y-m,x:N.x});for(let w=l+1;w<_.length;++w){let E=n[_[w].set],u=Ct(S.radius,E.radius,_[w].size),b=Gt({x:N.x,y:N.y,radius:m},{x:E.x,y:E.y,radius:u});C.push(...b)}}let B=100000000000000000000000000000000000000000000000000,j=C[0];for(let N of C){n[p].x=N.x,n[p].y=N.y;let m=i(n,e);if(m<B)B=m,j=N}d(j,p)}return n}function mt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let a=e[n.sets[0]],c=e[n.sets[1]];r=Rt(a.radius,c.radius,ot(a,c))}else r=kt(n.sets.map((a)=>e[a]));let o=n.weight!=null?n.weight:1;i+=o*(r-n.size)*(r-n.size)}return i}function Xt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let c=e[n.sets[0]],x=e[n.sets[1]];r=Rt(c.radius,x.radius,ot(c,x))}else r=kt(n.sets.map((c)=>e[c]));let o=n.weight!=null?n.weight:1,a=Math.log((r+1)/(n.size+1));i+=o*a*a}return i}function Me(e,s,i){if(i==null)e.sort((r,o)=>o.radius-r.radius);else e.sort(i);if(e.length>0){let r=e[0].x,o=e[0].y;for(let a of e)a.x-=r,a.y-=o}if(e.length===2){if(ot(e[0],e[1])<Math.abs(e[1].radius-e[0].radius))e[1].x=e[0].x+e[0].radius-e[1].radius-0.0000000001,e[1].y=e[0].y}if(e.length>1){let r=Math.atan2(e[1].x,e[1].y)-s,o=Math.cos(r),a=Math.sin(r);for(let c of e){let{x,y:d}=c;c.x=o*x-a*d,c.y=a*x+o*d}}if(e.length>2){let r=Math.atan2(e[2].x,e[2].y)-s;while(r<0)r+=2*Math.PI;while(r>2*Math.PI)r-=2*Math.PI;if(r>Math.PI){let o=e[1].y/(0.0000000001+e[1].x);for(let a of e){var n=(a.x+o*a.y)/(1+o*o);a.x=2*n-a.x,a.y=2*n*o-a.y}}}}function Se(e){e.forEach((r)=>{r.parent=r});function s(r){if(r.parent!==r)r.parent=s(r.parent);return r.parent}function i(r,o){let a=s(r),c=s(o);a.parent=c}for(let r=0;r<e.length;++r)for(let o=r+1;o<e.length;++o){let a=e[r].radius+e[o].radius;if(ot(e[r],e[o])+0.0000000001<a)i(e[o],e[r])}let n=new Map;for(let r=0;r<e.length;++r){let o=s(e[r]).parent.setid;if(!n.has(o))n.set(o,[]);n.get(o).push(e[r])}return e.forEach((r)=>{delete r.parent}),Array.from(n.values())}function Dt(e){let s=(i)=>{let n=e.reduce((o,a)=>Math.max(o,a[i]+a.radius),Number.NEGATIVE_INFINITY),r=e.reduce((o,a)=>Math.min(o,a[i]-a.radius),Number.POSITIVE_INFINITY);return{max:n,min:r}};return{xRange:s("x"),yRange:s("y")}}function Zt(e,s,i){if(s==null)s=Math.PI/2;let n=$t(e).map((d)=>Object.assign({},d)),r=Se(n);for(let d of r){Me(d,s,i);let l=Dt(d);d.size=(l.xRange.max-l.xRange.min)*(l.yRange.max-l.yRange.min),d.bounds=l}r.sort((d,l)=>l.size-d.size),n=r[0];let o=n.bounds,a=(o.xRange.max-o.xRange.min)/50;function c(d,l,k){if(!d)return;let p=d.bounds,_,S;if(l)_=o.xRange.max-p.xRange.min+a;else{_=o.xRange.max-p.xRange.max;let C=(p.xRange.max-p.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;if(C<0)_+=C}if(k)S=o.yRange.max-p.yRange.min+a;else{S=o.yRange.max-p.yRange.max;let C=(p.yRange.max-p.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;if(C<0)S+=C}for(let C of d)C.x+=_,C.y+=S,n.push(C)}let x=1;while(x<r.length)c(r[x],!0,!1),c(r[x+1],!1,!0),c(r[x+2],!0,!0),x+=3,o=Dt(n);return Qt(n)}function Jt(e,s,i,n,r){let o=$t(e);s-=2*n,i-=2*n;let{xRange:a,yRange:c}=Dt(o);if(a.max===a.min||c.max===c.min)return console.log("not scaling solution: zero size detected"),e;let x,d;if(r){let _=Math.sqrt(r/Math.PI)*2;x=s/_,d=i/_}else x=s/(a.max-a.min),d=i/(c.max-c.min);let l=Math.min(d,x),k=(s-(a.max-a.min)*l)/2,p=(i-(c.max-c.min)*l)/2;return Qt(o.map((_)=>({radius:l*_.radius,x:n+k+(_.x-a.min)*l,y:n+p+(_.y-c.min)*l,setid:_.setid})))}function Qt(e){let s={};for(let i of e)s[i.setid]=i;return s}function $t(e){return Object.keys(e).map((i)=>Object.assign(e[i],{setid:i}))}function te(e={}){let s=!1,i=600,n=350,r=15,o=1000,a=Math.PI/2,c=!0,x=null,d=!0,l=!0,k=null,p=null,_=!1,S=null,C=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,B={},j=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],N=0,m=function(b){if(b in B)return B[b];var y=B[b]=j[N];if(N+=1,N>=j.length)N=0;return y},w=Ht,E=mt;function u(b){let y=b.datum(),G=new Set;y.forEach((T)=>{if(T.size==0&&T.sets.length==1)G.add(T.sets[0])}),y=y.filter((T)=>!T.sets.some((X)=>G.has(X)));let z={},W={};if(y.length>0){let T=w(y,{lossFunction:E,distinct:_});if(c)T=Zt(T,a,p);z=Jt(T,i,n,r,x),W=ne(z,y,C)}let at={};y.forEach((T)=>{if(T.label)at[T.sets]=T.label});function nt(T){if(T.sets in at)return at[T.sets];if(T.sets.length==1)return""+T.sets[0]}b.selectAll("svg").data([z]).enter().append("svg");let H=b.select("svg");if(s)H.attr("viewBox",`0 0 ${i} ${n}`);else H.attr("width",i).attr("height",n);let U={},K=!1;H.selectAll(".venn-area path").each(function(T){let X=this.getAttribute("d");if(T.sets.length==1&&X&&!_)K=!0,U[T.sets[0]]=Ee(X)});function V(T){return(X)=>{let yt=T.sets.map((dt)=>{let ht=U[dt],rt=z[dt];if(!ht)ht={x:i/2,y:n/2,radius:1};if(!rt)rt={x:i/2,y:n/2,radius:1};return{x:ht.x*(1-X)+rt.x*X,y:ht.y*(1-X)+rt.y*X,radius:ht.radius*(1-X)+rt.radius*X}});return Ut(yt,S)}}let Z=H.selectAll(".venn-area").data(y,(T)=>T.sets),st=Z.enter().append("g").attr("class",(T)=>`venn-area venn-${T.sets.length==1?"circle":"intersection"}${T.colour||T.color?" venn-coloured":""}`).attr("data-venn-sets",(T)=>T.sets.join("_")),tt=st.append("path"),lt=st.append("text").attr("class","label").text((T)=>nt(T)).attr("text-anchor","middle").attr("dy",".35em").attr("x",i/2).attr("y",n/2);if(l)tt.style("fill-opacity","0").filter((T)=>T.sets.length==1).style("fill",(T)=>T.colour?T.colour:T.color?T.color:m(T.sets)).style("fill-opacity",".25"),lt.style("fill",(T)=>{if(T.colour||T.color)return"#FFF";if(e.textFill)return e.textFill;return T.sets.length==1?m(T.sets):"#444"});function it(T){if(typeof T.transition==="function")return T.transition("venn").duration(o);return T}let et=b;if(K&&typeof et.transition==="function")et=it(b),et.selectAll("path").attrTween("d",V);else et.selectAll("path").attr("d",(T)=>Ut(T.sets.map((X)=>z[X])),S);let q=et.selectAll("text").filter((T)=>(T.sets in W)).text((T)=>nt(T)).attr("x",(T)=>Math.floor(W[T.sets].x)).attr("y",(T)=>Math.floor(W[T.sets].y));if(d)if(K)if("on"in q)q.on("end",wt(z,nt));else q.each("end",wt(z,nt));else q.each(wt(z,nt));let ft=it(Z.exit()).remove();if(typeof Z.transition==="function")ft.selectAll("path").attrTween("d",V);let ut=ft.selectAll("text").attr("x",i/2).attr("y",n/2);if(k!==null)lt.style("font-size","0px"),q.style("font-size",k),ut.style("font-size","0px");return{circles:z,textCentres:W,nodes:Z,enter:st,update:et,exit:ft}}return u.wrap=function(b){if(!arguments.length)return d;return d=b,u},u.useViewBox=function(){return s=!0,u},u.width=function(b){if(!arguments.length)return i;return i=b,u},u.height=function(b){if(!arguments.length)return n;return n=b,u},u.padding=function(b){if(!arguments.length)return r;return r=b,u},u.distinct=function(b){if(!arguments.length)return _;return _=b,u},u.colours=function(b){if(!arguments.length)return m;return m=b,u},u.colors=function(b){if(!arguments.length)return m;return m=b,u},u.fontSize=function(b){if(!arguments.length)return k;return k=b,u},u.round=function(b){if(!arguments.length)return S;return S=b,u},u.duration=function(b){if(!arguments.length)return o;return o=b,u},u.layoutFunction=function(b){if(!arguments.length)return w;return w=b,u},u.normalize=function(b){if(!arguments.length)return c;return c=b,u},u.scaleToFit=function(b){if(!arguments.length)return x;return x=b,u},u.styled=function(b){if(!arguments.length)return l;return l=b,u},u.orientation=function(b){if(!arguments.length)return a;return a=b,u},u.orientationOrder=function(b){if(!arguments.length)return p;return p=b,u},u.lossFunction=function(b){if(!arguments.length)return E;return E=b==="default"?mt:b==="logRatio"?Xt:b,u},u}function wt(e,s){return function(i){let n=this,r=e[i.sets[0]].radius||50,o=s(i)||"",a=o.split(/\s+/).reverse(),c=3,x=(o.length+a.length)/3,d=a.pop(),l=[d],k=0,p=1.1;n.textContent=null;let _=[];function S(m){let w=n.ownerDocument.createElementNS(n.namespaceURI,"tspan");return w.textContent=m,_.push(w),n.append(w),w}let C=S(d);while(!0){if(d=a.pop(),!d)break;l.push(d);let m=l.join(" ");if(C.textContent=m,m.length>x&&C.getComputedTextLength()>r)l.pop(),C.textContent=l.join(" "),l=[d],C=S(d),k++}let B=0.35-k*p/2,j=n.getAttribute("x"),N=n.getAttribute("y");_.forEach((m,w)=>{m.setAttribute("x",j),m.setAttribute("y",N),m.setAttribute("dy",`${B+w*p}em`)})}}function _t(e,s,i){let n=s[0].radius-ot(s[0],e);for(let r=1;r<s.length;++r){let o=s[r].radius-ot(s[r],e);if(o<=n)n=o}for(let r=0;r<i.length;++r){let o=ot(i[r],e)-i[r].radius;if(o<=n)n=o}return n}function ee(e,s,i){let n=[];for(let l of e)n.push({x:l.x,y:l.y}),n.push({x:l.x+l.radius/2,y:l.y}),n.push({x:l.x-l.radius/2,y:l.y}),n.push({x:l.x,y:l.y+l.radius/2}),n.push({x:l.x,y:l.y-l.radius/2});let r=n[0],o=_t(n[0],e,s);for(let l=1;l<n.length;++l){let k=_t(n[l],e,s);if(k>=o)r=n[l],o=k}let a=Kt((l)=>-1*_t({x:l[0],y:l[1]},e,s),[r.x,r.y],{maxIterations:500,minErrorDelta:0.0000000001}).x,c={x:i?0:a[0],y:a[1]},x=!0;for(let l of e)if(ot(c,l)>l.radius){x=!1;break}for(let l of s)if(ot(c,l)<l.radius){x=!1;break}if(x)return c;if(e.length==1)return{x:e[0].x,y:e[0].y};let d={};if(kt(e,d),d.arcs.length===0)return{x:0,y:-1000,disjoint:!0};if(d.arcs.length==1)return{x:d.arcs[0].circle.x,y:d.arcs[0].circle.y};if(s.length)return ee(e,[]);return Wt(d.arcs.map((l)=>l.p1))}function we(e){let s={},i=Object.keys(e);for(let n of i)s[n]=[];for(let n=0;n<i.length;n++){let r=i[n],o=e[r];for(let a=n+1;a<i.length;++a){let c=i[a],x=e[c],d=ot(o,x);if(d+x.radius<=o.radius+0.0000000001)s[c].push(r);else if(d+o.radius<=x.radius+0.0000000001)s[r].push(c)}}return s}function ne(e,s,i){let n={},r=we(e);for(let o=0;o<s.length;++o){let a=s[o].sets,c={},x={};for(let p=0;p<a.length;++p){c[a[p]]=!0;let _=r[a[p]];for(let S=0;S<_.length;++S)x[_[S]]=!0}let d=[],l=[];for(let p in e)if(p in c)d.push(e[p]);else if(!(p in x))l.push(e[p]);let k=ee(d,l,i);if(n[a]=k,k.disjoint&&s[o].size>0)console.log("WARNING: area "+a+" not represented on screen")}return n}function _e(e,s,i){let n=[];return n.push(`
2
- M`,e,s),n.push(`
3
- m`,-i,0),n.push(`
4
- a`,i,i,0,1,0,i*2,0),n.push(`
5
- a`,i,i,0,1,0,-i*2,0),n.join(" ")}function Ee(e){let s=e.split(" ");return{x:Number.parseFloat(s[1]),y:Number.parseFloat(s[2]),radius:-Number.parseFloat(s[4])}}function se(e){if(e.length===0)return[];let s={};return kt(e,s),s.arcs}function ie(e,s){if(e.length===0)return"M 0 0";let i=Math.pow(10,s||0),n=s!=null?(o)=>Math.round(o*i)/i:(o)=>o;if(e.length==1){let o=e[0].circle;return _e(n(o.x),n(o.y),n(o.radius))}let r=[`
6
- M`,n(e[0].p2.x),n(e[0].p2.y)];for(let o of e){let a=n(o.circle.radius);r.push(`
7
- A`,a,a,0,o.large?1:0,o.sweep?1:0,n(o.p1.x),n(o.p1.y))}return r.join(" ")}function Ut(e,s){return ie(se(e),s)}function re(e,s={}){let{lossFunction:i,layoutFunction:n=Ht,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:a,width:c=600,height:x=350,padding:d=15,scaleToFit:l=!1,symmetricalTextCentre:k=!1,distinct:p,round:_=2}=s,S=n(e,{lossFunction:i==="default"||!i?mt:i==="logRatio"?Xt:i,distinct:p});if(r)S=Zt(S,o,a);let C=Jt(S,c,x,d,l),B=ne(C,e,k),j=new Map(Object.keys(C).map((w)=>[w,{set:w,x:C[w].x,y:C[w].y,radius:C[w].radius}])),N=e.map((w)=>{let E=w.sets.map((y)=>j.get(y)),u=se(E),b=ie(u,_);return{circles:E,arcs:u,path:b,area:w,has:new Set(w.sets)}});function m(w){let E="";for(let u of N)if(u.has.size>w.length&&w.every((b)=>u.has.has(b)))E+=" "+u.path;return E}return N.map(({circles:w,arcs:E,path:u,area:b})=>({data:b,text:B[b.sets],circles:w,arcs:E,path:u,distinctPath:u+m(b.sets)}))}var Nt=function(){var e=t(function(N,m,w,E){for(w=w||{},E=N.length;E--;w[N[E]]=m);return w},"o"),s=[5,8],i=[7,8,11,12,17,19,22,24],n=[1,17],r=[1,18],o=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],a=[1,31],c=[1,39],x=[7,8,11,12,17,19,22,24,27],d=[1,57],l=[1,56],k=[1,58],p=[1,59],_=[1,60],S=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:t(function(m,w,E,u,b,y,G){var z=y.length-1;switch(b){case 1:return y[z-1];case 2:case 3:case 4:this.$=[];break;case 5:y[z-1].push(y[z]),this.$=y[z-1];break;case 6:this.$=[];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:this.$=y[z];break;case 8:u.setDiagramTitle(y[z].substr(6)),this.$=y[z].substr(6);break;case 9:if(u.addSubsetData([y[z]],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 10:if(u.addSubsetData([y[z-1]],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 11:if(u.addSubsetData([y[z-2]],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 12:if(u.addSubsetData([y[z-3]],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 13:if(y[z].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z]);if(u.addSubsetData(y[z],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 14:if(y[z-1].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-1]);if(u.addSubsetData(y[z-1],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 15:if(y[z-2].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-2]);if(u.addSubsetData(y[z-2],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 16:if(y[z-3].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-3]);if(u.addSubsetData(y[z-3],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 17:case 18:case 19:u.addTextData(y[z-1],y[z],void 0);break;case 20:case 21:u.addTextData(y[z-2],y[z-1],y[z]);break;case 23:u.addStyleData(y[z-1],y[z]);break;case 24:case 25:case 26:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z],void 0);break;case 27:case 28:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z-1],y[z]);break;case 29:case 41:this.$=[y[z]];break;case 30:case 42:this.$=[...y[z-2],y[z]];break;case 31:this.$=[y[z-2],y[z]];break;case 33:this.$=y[z].join(" ");break;case 34:this.$=[y[z]];break;case 35:y[z-1].push(y[z]),this.$=y[z-1];break;case 43:case 44:this.$=y[z];break}},"anonymous"),table:[e(s,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},e(i,[2,4],{6:5}),e(s,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},e(i,[2,5]),e(i,[2,6]),e(i,[2,7]),e(i,[2,8]),{13:16,20:n,21:r},{13:20,18:19,20:n,21:r},{13:20,18:21,20:n,21:r},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:n,21:r},e(i,[2,9],{14:[1,27],15:[1,28]}),e(o,[2,43]),e(o,[2,44]),e(i,[2,13],{14:[1,29],15:[1,30],27:a}),e(o,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:a},e(i,[2,22]),e(i,[2,24],{14:[1,35]}),e(i,[2,25],{14:[1,36]}),e(i,[2,26]),{20:c,25:37,26:38,27:a},e(i,[2,10],{15:[1,40]}),{16:[1,41]},e(i,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:n,21:r},e(i,[2,17],{14:[1,45]}),e(i,[2,18],{14:[1,46]}),e(i,[2,19]),e(i,[2,27]),e(i,[2,28]),e(i,[2,23],{27:[1,47]}),e(x,[2,29]),{15:[1,48]},{16:[1,49]},e(i,[2,11]),{16:[1,50]},e(i,[2,15]),e(o,[2,42]),e(i,[2,20]),e(i,[2,21]),{20:c,26:51},{16:d,20:l,21:[1,53],28:52,29:54,30:55,31:k,32:p,33:_},e(i,[2,12]),e(i,[2,16]),e(x,[2,30]),e(x,[2,31]),e(x,[2,32]),e(x,[2,33],{30:61,16:d,20:l,31:k,32:p,33:_}),e(S,[2,34]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),e(S,[2,40]),e(S,[2,35])],defaultActions:{6:[2,1]},parseError:t(function(m,w){if(w.recoverable)this.trace(m);else{var E=Error(m);throw E.hash=w,E}},"parseError"),parse:t(function(m){var w=this,E=[0],u=[],b=[null],y=[],G=this.table,z="",W=0,at=0,nt=0,H=2,U=1,K=y.slice.call(arguments,1),V=Object.create(this.lexer),Z={yy:{}};for(var st in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,st))Z.yy[st]=this.yy[st];if(V.setInput(m,Z.yy),Z.yy.lexer=V,Z.yy.parser=this,typeof V.yylloc>"u")V.yylloc={};var tt=V.yylloc;y.push(tt);var lt=V.options&&V.options.ranges;if(typeof Z.yy.parseError==="function")this.parseError=Z.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function it(ct){E.length=E.length-2*ct,b.length=b.length-ct,y.length=y.length-ct}t(it,"popStack");function et(){var ct=u.pop()||V.lex()||U;if(typeof ct!=="number"){if(ct instanceof Array)u=ct,ct=u.pop();ct=w.symbols_[ct]||ct}return ct}t(et,"lex");var q,ft,ut,T,X,yt,dt={},ht,rt,Bt,vt;while(!0){if(ut=E[E.length-1],this.defaultActions[ut])T=this.defaultActions[ut];else{if(q===null||typeof q>"u")q=et();T=G[ut]&&G[ut][q]}if(typeof T>"u"||!T.length||!T[0]){var Mt="";vt=[];for(ht in G[ut])if(this.terminals_[ht]&&ht>H)vt.push("'"+this.terminals_[ht]+"'");if(V.showPosition)Mt="Parse error on line "+(W+1)+`:
8
- `+V.showPosition()+`
9
- Expecting `+vt.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Mt="Parse error on line "+(W+1)+": Unexpected "+(q==U?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Mt,{text:V.match,token:this.terminals_[q]||q,line:V.yylineno,loc:tt,expected:vt})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+ut+", token: "+q);switch(T[0]){case 1:if(E.push(q),b.push(V.yytext),y.push(V.yylloc),E.push(T[1]),q=null,!ft){if(at=V.yyleng,z=V.yytext,W=V.yylineno,tt=V.yylloc,nt>0)nt--}else q=ft,ft=null;break;case 2:if(rt=this.productions_[T[1]][1],dt.$=b[b.length-rt],dt._$={first_line:y[y.length-(rt||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(rt||1)].first_column,last_column:y[y.length-1].last_column},lt)dt._$.range=[y[y.length-(rt||1)].range[0],y[y.length-1].range[1]];if(yt=this.performAction.apply(dt,[z,at,W,Z.yy,T[1],b,y].concat(K)),typeof yt<"u")return yt;if(rt)E=E.slice(0,-1*rt*2),b=b.slice(0,-1*rt),y=y.slice(0,-1*rt);E.push(this.productions_[T[1]][0]),b.push(dt.$),y.push(dt._$),Bt=G[E[E.length-2]][E[E.length-1]],E.push(Bt);break;case 3:return!0}}return!0},"parse")},B=function(){var N={EOF:1,parseError:t(function(w,E){if(this.yy.parser)this.yy.parser.parseError(w,E);else throw Error(w)},"parseError"),setInput:t(function(m,w){if(this.yy=w||this.yy||{},this._input=m,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 m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var w=m.match(/(?:\r\n?|\n).*/g);if(w)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),m},"input"),unput:t(function(m){var w=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var u=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),E.length-1)this.yylineno-=E.length-1;var b=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:E?(E.length===u.length?this.yylloc.first_column:0)+u[u.length-E.length].length-E[0].length:this.yylloc.first_column-w},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-w];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).
10
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(m){this.unput(this.match.slice(m))},"less"),pastInput:t(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var m=this.match;if(m.length<20)m+=this._input.substr(0,20-m.length);return(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var m=this.pastInput(),w=Array(m.length+1).join("-");return m+this.upcomingInput()+`
11
- `+w+"^"},"showPosition"),test_match:t(function(m,w){var E,u,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(u=m[0].match(/(?:\r\n?|\n).*/g),u)this.yylineno+=u.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,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(m[0].length),this.matched+=m[0],E=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(E)return E;else if(this._backtrack){for(var y in b)this[y]=b[y];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var m,w,E,u;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var y=0;y<b.length;y++)if(E=this._input.match(this.rules[b[y]]),E&&(!w||E[0].length>w[0].length)){if(w=E,u=y,this.options.backtrack_lexer)if(m=this.test_match(E,b[y]),m!==!1)return m;else if(this._backtrack){w=!1;continue}else return!1;else if(!this.options.flex)break}if(w){if(m=this.test_match(w,b[u]),m!==!1)return m;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
12
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var w=this.next();if(w)return w;else return this.lex()},"lex"),begin:t(function(w){this.conditionStack.push(w)},"begin"),popState:t(function(){var w=this.conditionStack.length-1;if(w>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(w){if(w=this.conditionStack.length-1-Math.abs(w||0),w>=0)return this.conditionStack[w];else return"INITIAL"},"topState"),pushState:t(function(w){this.begin(w)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(w,E,u,b){var y=b;switch(u){case 0:break;case 1:break;case 2:break;case 3:if(w.getIndentMode&&w.getIndentMode())return w.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 4:break;case 5:if(w.setIndentMode)w.setIndentMode(!1);this.begin("INITIAL"),this.unput(E.yytext);break;case 6:return this.begin("bol"),8;break;case 7:break;case 8:break;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(w.consumeIndentText)w.consumeIndentText=!1;else return 19;break;case 15:return 24;case 16:return E.yytext=E.yytext.slice(2,-2),14;break;case 17:return E.yytext=E.yytext.slice(1,-1).trim(),14;break;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}};return N}();C.lexer=B;function j(){this.yy={}}return t(j,"Parser"),j.prototype=C,C.Parser=j,new j}();Nt.parser=Nt;var ze=Nt,Ot=[],Lt=[],jt=[],Ft=new Set,Pt,Vt=!1,Ae=t((e,s,i)=>{let n=It(e).sort(),r=i??10/Math.pow(e.length,2);if(Pt=n,n.length===1)Ft.add(n[0]);Ot.push({sets:n,size:r,label:s?bt(s):void 0})},"addSubsetData"),Ce=t(()=>Ot,"getSubsetData"),bt=t((e)=>{let s=e.trim();if(s.length>=2&&s.startsWith('"')&&s.endsWith('"'))return s.slice(1,-1);return s},"normalizeText"),De=t((e)=>e?bt(e):e,"normalizeStyleValue"),Re=t((e,s,i)=>{let n=bt(s);Lt.push({sets:It(e).sort(),id:n,label:i?bt(i):void 0})},"addTextData"),Ne=t((e,s)=>{let i=It(e).sort(),n={};for(let[r,o]of s)n[r]=De(o)??o;jt.push({targets:i,styles:n})},"addStyleData"),Oe=t(()=>jt,"getStyleData"),It=t((e)=>e.map((s)=>bt(s)),"normalizeIdentifierList"),Le=t((e)=>{let i=It(e).filter((n)=>!Ft.has(n));if(i.length>0)throw Error(`unknown set identifier: ${i.join(", ")}`)},"validateUnionIdentifiers"),je=t(()=>Lt,"getTextData"),Fe=t(()=>Pt,"getCurrentSets"),Pe=t(()=>Vt,"getIndentMode"),Ve=t((e)=>{Vt=e},"setIndentMode"),Be=F.venn;function oe(){return Q(Be,A().venn)}t(oe,"getConfig");var qe=t(()=>{L(),Ot.length=0,Lt.length=0,jt.length=0,Ft.clear(),Pt=void 0,Vt=!1},"customClear"),Ue={getConfig:oe,clear:qe,setAccTitle:M,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P,addSubsetData:Ae,getSubsetData:Ce,addTextData:Re,addStyleData:Ne,validateUnionIdentifiers:Le,getTextData:je,getStyleData:Oe,getCurrentSets:Fe,getIndentMode:Pe,setIndentMode:Ve},Ge=t((e)=>`
13
- .venn-title {
14
- font-size: 32px;
15
- fill: ${e.vennTitleTextColor};
16
- font-family: ${e.fontFamily};
17
- }
18
-
19
- .venn-circle text {
20
- font-size: 48px;
21
- font-family: ${e.fontFamily};
22
- }
23
-
24
- .venn-intersection text {
25
- font-size: 48px;
26
- fill: ${e.vennSetTextColor};
27
- font-family: ${e.fontFamily};
28
- }
29
-
30
- .venn-text-node {
31
- font-family: ${e.fontFamily};
32
- color: ${e.vennSetTextColor};
33
- }
34
- `,"getStyles"),We=Ge;function ae(e){let s=new Map;for(let i of e){let n=i.targets.join("|"),r=s.get(n);if(r)Object.assign(r,i.styles);else s.set(n,{...i.styles})}return s}t(ae,"buildStyleByKey");var Ke=t((e,s,i,n)=>{let r=n.db,o=r.getConfig?.(),{themeVariables:a,look:c,handDrawnSeed:x}=A(),d=c==="handDrawn",l=[a.venn1,a.venn2,a.venn3,a.venn4,a.venn5,a.venn6,a.venn7,a.venn8].filter(Boolean),k=r.getDiagramTitle?.(),p=r.getSubsetData(),_=r.getTextData(),S=ae(r.getStyleData()),C=ce(p),B=o?.width??800,j=o?.height??450,N=1600,m=B/1600,w=k?48*m:0,E=a.primaryTextColor??a.textColor,u=J(s);if(u.attr("viewBox",`0 0 ${B} ${j}`),k)u.append("text").text(k).attr("class","venn-title").attr("font-size",`${32*m}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*m).style("fill",a.vennTitleTextColor||a.titleColor);let b=g(document.createElement("div")),y=te().width(B).height(j-w);b.datum(C).call(y);let G=d?v.svg(b.select("svg").node()):void 0,z=re(C,{width:B,height:j-w,padding:o?.padding??15}),W=new Map;for(let U of z){let K=xt([...U.data.sets].sort());W.set(K,U)}if(_.length>0)le(o,W,b,_,m,S);let at=de(a.background||"#f4f4f4");if(b.selectAll(".venn-circle").each(function(U,K){let V=g(this),st=xt([...U.sets].sort()),tt=S.get(st),lt=l.length>0?l[K%l.length]:void 0,it=tt?.fill||lt||a.primaryColor;V.classed(`venn-set-${K%8}`,!0);let et=tt?.["fill-opacity"]??0.1,q=tt?.stroke||it,ft=tt?.["stroke-width"]||`${5*m}`;if(d&&G){let T=W.get(st);if(T&&T.circles.length>0){let X=T.circles[0],yt=G.circle(X.x,X.y,X.radius*2,{roughness:0.7,seed:x,fill:St(it,0.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+K*60,stroke:q,strokeWidth:parseFloat(String(ft))});V.select("path").remove(),V.node()?.insertBefore(yt,V.select("text").node())}}else V.select("path").style("fill",it).style("fill-opacity",et).style("stroke",q).style("stroke-width",ft).style("stroke-opacity",0.95);let ut=tt?.color||(at?f(it,30):h(it,30));V.select("text").style("font-size",`${48*m}px`).style("fill",ut)}),d&&G)b.selectAll(".venn-intersection").each(function(U){let K=g(this),Z=xt([...U.sets].sort()),st=S.get(Z),tt=st?.fill;if(tt){let lt=K.select("path"),it=lt.attr("d");if(it){let et=G.path(it,{roughness:0.7,seed:x,fill:St(tt,0.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),q=lt.node();q?.parentNode?.insertBefore(et,q),lt.remove()}}else K.select("path").style("fill-opacity",0);K.select("text").style("font-size",`${48*m}px`).style("fill",st?.color??a.vennSetTextColor??E)});else b.selectAll(".venn-intersection text").style("font-size",`${48*m}px`).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.color??a.vennSetTextColor??E}),b.selectAll(".venn-intersection path").style("fill-opacity",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill?1:0}).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill??"transparent"});let nt=u.append("g").attr("transform",`translate(0, ${w})`),H=b.select("svg").node();if(H&&"childNodes"in H)for(let U of[...H.childNodes])nt.node()?.appendChild(U);Y(u,j,B,o?.useMaxWidth??!0)},"draw");function xt(e){return e.join("|")}t(xt,"stableSetsKey");function le(e,s,i,n,r,o){let a=e?.useDebugLayout??!1,x=i.select("svg").append("g").attr("class","venn-text-nodes"),d=new Map;for(let l of n){let k=xt(l.sets),p=d.get(k);if(p)p.push(l);else d.set(k,[l])}for(let[l,k]of d.entries()){let p=s.get(l);if(!p?.text)continue;let _=p.text.x,S=p.text.y,C=Math.min(...p.circles.map((H)=>H.radius)),B=Math.min(...p.circles.map((H)=>H.radius-Math.hypot(_-H.x,S-H.y))),j=Number.isFinite(B)?Math.max(0,B):0;if(j===0&&Number.isFinite(C))j=C*0.6;let N=x.append("g").attr("class","venn-text-area").attr("font-size",`${40*r}px`);if(a)N.append("circle").attr("class","venn-text-debug-circle").attr("cx",_).attr("cy",S).attr("r",j).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*r).attr("stroke-dasharray",`${6*r} ${4*r}`);let m=Math.max(80*r,j*2*0.95),w=Math.max(60*r,j*2*0.95),b=(p.data.label&&p.data.label.length>0?Math.min(32*r,j*0.25):0)+(k.length<=2?30*r:0),y=_-m/2,G=S-w/2+b,z=Math.max(1,Math.ceil(Math.sqrt(k.length))),W=Math.max(1,Math.ceil(k.length/z)),at=m/z,nt=w/W;for(let[H,U]of k.entries()){let K=H%z,V=Math.floor(H/z),Z=y+at*(K+0.5),st=G+nt*(V+0.5);if(a)N.append("rect").attr("class","venn-text-debug-cell").attr("x",y+at*K).attr("y",G+nt*V).attr("width",at).attr("height",nt).attr("fill","none").attr("stroke","teal").attr("stroke-width",1*r).attr("stroke-dasharray",`${4*r} ${3*r}`);let tt=at*0.9,lt=nt*0.9,it=N.append("foreignObject").attr("class","venn-text-node-fo").attr("width",tt).attr("height",lt).attr("x",Z-tt/2).attr("y",st-lt/2).attr("overflow","visible"),et=o.get(U.id)?.color,q=it.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(U.label??U.id);if(et)q.style("color",et)}}}t(le,"renderTextNodes");function ce(e){let s=new Set(e.map((r)=>[...r.sets].sort().join("|"))),i=new Map(e.filter((r)=>r.sets.length===1&&r.size!==void 0).map((r)=>[r.sets[0],r.size])),n=[];for(let r of e){if(r.sets.length<3)continue;let o=[...r.sets].sort();for(let a=0;a<o.length-1;a++)for(let c=a+1;c<o.length;c++){let x=[o[a],o[c]],d=x.join("|");if(!s.has(d)){s.add(d);let l=i.get(x[0]),k=i.get(x[1]),p=l!==void 0&&k!==void 0?Math.min(l,k)/4:2.5;n.push({sets:x,size:p,label:""})}}}return n.length>0?[...e,...n]:e}t(ce,"ensurePairwiseSubsets");var He={draw:Ke},rn={parser:ze,db:Ue,renderer:He,styles:We};export{rn as diagram};
Binary file
Binary file
@@ -1,89 +0,0 @@
1
- import{t,i,Xe,A,q,Y,L,d,J}from"./chunk-eq59kad4.js";var N="",M="",O="",D=[],z=new Map,v=t((e)=>q(e,d()),"sanitizeText"),y=t((e)=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),G=t(()=>{N="",M="",O="",D.length=0,z.clear(),L(),i.debug("[Railroad] Database cleared")},"clear"),B=t((e)=>{N=v(e),i.debug("[Railroad] Title set:",e)},"setTitle"),P=t(()=>N,"getTitle"),U=t((e)=>{let a={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};if(i.debug("[Railroad] Adding rule:",a.name),z.has(a.name))i.warn(`[Railroad] Rule '${a.name}' is already defined. Overwriting.`);D.push(a),z.set(a.name,a)},"addRule"),j=t(()=>D,"getRules"),K=t((e)=>z.get(e),"getRule"),Q=t((e)=>{M=v(e).replace(/^\s+/g,""),i.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),Z=t(()=>M,"getAccTitle"),V=t((e)=>{O=v(e).replace(/\n\s+/g,`
2
- `),i.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ee=t(()=>O,"getAccDescription"),te=B,re=P,ve={clear:G,setTitle:B,getTitle:P,addRule:U,getRules:j,getRule:K,setAccTitle:Q,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),I=t((e)=>{if(!e)return!1;return Object.keys(e).every((a)=>a==="railroad"||ae.has(a))},"isRailroadStyleOptions"),oe=t((e)=>{if(!e)return{};if("railroad"in e&&e.railroad)return e.railroad;return I(e)?e:{}},"extractRailroadOverrides"),le=t((e)=>{if(!e||I(e))return{};let{railroad:a,svgId:l,theme:n,look:r,...o}=e;return o},"extractThemeOverrides"),u=t((e,a)=>{if(typeof e!=="string")return a;let l=e.trim();return ie.test(l)?l:a},"sanitizeColorValue"),X=t((e,a)=>{if(typeof e!=="string")return a;let l=e.trim();return ne.test(l)?l:a},"sanitizeFontFamilyValue"),F=t((e,a)=>{let l=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(l)&&l>=0?l:a},"sanitizeNumberValue"),se=t((e)=>{let a=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(a)&&a>0?a:void 0},"parseThemeFontSize"),de=t((e)=>{let a=X(e.fontFamily,T.fontFamily),l=se(e.fontSize)??T.fontSize;return{...T,fontFamily:a,fontSize:l,terminalFill:u(e.secondBkg??e.secondaryColor,T.terminalFill),terminalStroke:u(e.secondaryBorderColor??e.lineColor,T.terminalStroke),terminalTextColor:u(e.secondaryTextColor??e.textColor,T.terminalTextColor),nonTerminalFill:u(e.mainBkg??e.background,T.nonTerminalFill),nonTerminalStroke:u(e.primaryBorderColor??e.lineColor,T.nonTerminalStroke),nonTerminalTextColor:u(e.primaryTextColor??e.textColor,T.nonTerminalTextColor),lineColor:u(e.lineColor,T.lineColor),markerFill:u(e.lineColor,T.markerFill),commentFill:u(e.labelBackground??e.tertiaryColor,T.commentFill),commentStroke:u(e.tertiaryBorderColor??e.lineColor,T.commentStroke),commentTextColor:u(e.tertiaryTextColor??e.textColor,T.commentTextColor),specialFill:u(e.tertiaryColor??e.secondaryColor,T.specialFill),specialStroke:u(e.tertiaryBorderColor??e.secondaryBorderColor,T.specialStroke),ruleNameColor:u(e.titleColor??e.textColor,T.ruleNameColor)}},"buildThemeDefaults"),E=t((e)=>{let a=A(),l={...Xe(),...a.themeVariables??{},...le(e)},n=de(l),r={...a.railroad??{},...oe(e)};return{compactMode:r.compactMode??n.compactMode,padding:F(r.padding,n.padding),verticalSeparation:F(r.verticalSeparation,n.verticalSeparation),horizontalSeparation:F(r.horizontalSeparation,n.horizontalSeparation),arcRadius:F(r.arcRadius,n.arcRadius),fontSize:F(r.fontSize,n.fontSize),fontFamily:X(r.fontFamily,n.fontFamily),terminalFill:u(r.terminalFill,n.terminalFill),terminalStroke:u(r.terminalStroke,n.terminalStroke),terminalTextColor:u(r.terminalTextColor,n.terminalTextColor),nonTerminalFill:u(r.nonTerminalFill,n.nonTerminalFill),nonTerminalStroke:u(r.nonTerminalStroke,n.nonTerminalStroke),nonTerminalTextColor:u(r.nonTerminalTextColor,n.nonTerminalTextColor),lineColor:u(r.lineColor,n.lineColor),strokeWidth:F(r.strokeWidth,n.strokeWidth),markerFill:u(r.markerFill,n.markerFill),commentFill:u(r.commentFill,n.commentFill),commentStroke:u(r.commentStroke,n.commentStroke),commentTextColor:u(r.commentTextColor,n.commentTextColor),specialFill:u(r.specialFill,n.specialFill),specialStroke:u(r.specialStroke,n.specialStroke),ruleNameColor:u(r.ruleNameColor,n.ruleNameColor),showMarkers:r.showMarkers??n.showMarkers,markerRadius:F(r.markerRadius,n.markerRadius)}},"buildRailroadStyleOptions"),Mn=t((e)=>{let{fontFamily:a,fontSize:l,terminalFill:n,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:m,nonTerminalTextColor:s,lineColor:f,strokeWidth:p,markerFill:h,commentFill:C,commentStroke:c,commentTextColor:x,specialFill:R,specialStroke:S,ruleNameColor:k}=E(e);return`
3
- .railroad-diagram {
4
- font-family: ${a};
5
- font-size: ${l}px;
6
- }
7
-
8
- .railroad-terminal rect {
9
- fill: ${n};
10
- stroke: ${r};
11
- stroke-width: ${p}px;
12
- }
13
-
14
- .railroad-terminal text {
15
- fill: ${o};
16
- font-family: ${a};
17
- font-size: ${l}px;
18
- text-anchor: middle;
19
- dominant-baseline: middle;
20
- }
21
-
22
- .railroad-nonterminal rect {
23
- fill: ${g};
24
- stroke: ${m};
25
- stroke-width: ${p}px;
26
- }
27
-
28
- .railroad-nonterminal text {
29
- fill: ${s};
30
- font-family: ${a};
31
- font-size: ${l}px;
32
- text-anchor: middle;
33
- dominant-baseline: middle;
34
- }
35
-
36
- .railroad-line {
37
- stroke: ${f};
38
- stroke-width: ${p}px;
39
- fill: none;
40
- }
41
-
42
- .railroad-start circle,
43
- .railroad-end circle {
44
- fill: ${h};
45
- }
46
-
47
- .railroad-comment ellipse {
48
- fill: ${C};
49
- stroke: ${c};
50
- stroke-width: ${p}px;
51
- }
52
-
53
- .railroad-comment text {
54
- fill: ${x};
55
- font-style: italic;
56
- font-family: ${a};
57
- font-size: ${l}px;
58
- text-anchor: middle;
59
- dominant-baseline: middle;
60
- }
61
-
62
- .railroad-special rect {
63
- fill: ${R};
64
- stroke: ${S};
65
- stroke-width: ${p}px;
66
- stroke-dasharray: 5,3;
67
- }
68
-
69
- .railroad-special text {
70
- fill: ${s};
71
- font-family: ${a};
72
- font-size: ${l}px;
73
- text-anchor: middle;
74
- dominant-baseline: middle;
75
- }
76
-
77
- .railroad-rule-name {
78
- font-weight: bold;
79
- fill: ${k};
80
- font-family: ${a};
81
- font-size: ${l}px;
82
- }
83
-
84
- .railroad-group {
85
- /* Grouping container, no specific styles */
86
- }
87
- `},"getStyles"),w=class{constructor(){this.d=""}static{t(this,"PathBuilder")}moveTo(e,a){return this.d+=`M ${e} ${a} `,this}lineTo(e,a){return this.d+=`L ${e} ${a} `,this}horizontalTo(e){return this.d+=`H ${e} `,this}verticalTo(e){return this.d+=`V ${e} `,this}arcTo(e,a,l,n,r,o,g){return this.d+=`A ${e} ${a} ${l} ${n?1:0} ${r?1:0} ${o} ${g} `,this}build(){return this.d.trim()}},ce=class{constructor(e,a=E()){this.textCache=new Map,this.svg=e,this.config=a}static{t(this,"RailroadRenderer")}measureText(e){if(this.textCache.has(e))return this.textCache.get(e);let a=this.svg.append("text").attr("font-family",this.config.fontFamily).attr("font-size",this.config.fontSize).text(e),l=a.node().getBBox(),n={width:l.width,height:l.height};return a.remove(),this.textCache.set(e,n),n}renderTerminal(e,a){let l=this.measureText(a),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-terminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r).attr("rx",10).attr("ry",10),o.append("text").attr("x",n/2).attr("y",r/2).text(a),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderNonTerminal(e,a){let l=this.measureText(a),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-nonterminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r),o.append("text").attr("x",n/2).attr("y",r/2).text(a),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderSequence(e,a){let l=a.map((s)=>this.renderExpression(e,s)),n=0,r=0,o=0;for(let s of l)n+=s.dimensions.width,r=Math.max(r,s.dimensions.up),o=Math.max(o,s.dimensions.down);n+=(l.length-1)*this.config.horizontalSeparation;let g=e.append("g").attr("class","railroad-sequence"),m=0;for(let s=0;s<l.length;s++){let f=l[s],p=r-f.dimensions.up;if(g.node().appendChild(f.element).setAttribute("transform",`translate(${m}, ${p})`),s<l.length-1){let C=m+f.dimensions.width,c=C+this.config.horizontalSeparation,x=r;g.append("path").attr("class","railroad-line").attr("d",new w().moveTo(C,x).lineTo(c,x).build())}m+=f.dimensions.width+this.config.horizontalSeparation}return{element:g.node(),dimensions:{width:n,height:r+o,up:r,down:o}}}renderChoice(e,a){let l=a.map((h)=>this.renderExpression(e,h)),n=0,r=0;for(let h of l)n=Math.max(n,h.dimensions.width),r+=h.dimensions.height;r+=(l.length-1)*this.config.verticalSeparation;let o=this.config.arcRadius,g=o*4,m=n+g,s=e.append("g").attr("class","railroad-choice"),f=0,p=r/2;for(let h of l){let C=f,c=C+h.dimensions.up,x=o*2+(n-h.dimensions.width)/2;s.node().appendChild(h.element).setAttribute("transform",`translate(${x}, ${C})`);let S=new w,k=c>p;if(c===p)S.moveTo(0,p).lineTo(x,c);else S.moveTo(0,p).arcTo(o,o,0,!1,k,o,p+(k?o:-o)).lineTo(o,c-(k?o:-o)).arcTo(o,o,0,!1,!k,o*2,c).lineTo(x,c);s.append("path").attr("class","railroad-line").attr("d",S.build());let b=new w,W=x+h.dimensions.width,H=m-o*2;if(c===p)b.moveTo(W,c).lineTo(m,p);else b.moveTo(W,c).lineTo(H,c).arcTo(o,o,0,!1,!k,m-o,c+(k?-o:o)).lineTo(m-o,p+(k?o:-o)).arcTo(o,o,0,!1,k,m,p);s.append("path").attr("class","railroad-line").attr("d",b.build()),f+=h.dimensions.height+this.config.verticalSeparation}return{element:s.node(),dimensions:{width:m,height:r,up:p,down:r-p}}}renderOptional(e,a){let l=this.renderExpression(e,a),n=this.config.arcRadius,r=n*2,o=l.dimensions.width+n*4,g=l.dimensions.height+r,m=e.append("g").attr("class","railroad-optional"),s=n*2,f=r;m.node().appendChild(l.element).setAttribute("transform",`translate(${s}, ${f})`);let h=f+l.dimensions.up,C=new w().moveTo(0,h).lineTo(n*2,h);m.append("path").attr("class","railroad-line").attr("d",C.build());let c=new w().moveTo(s+l.dimensions.width,h).lineTo(o,h);m.append("path").attr("class","railroad-line").attr("d",c.build());let x=new w().moveTo(0,h).arcTo(n,n,0,!1,!1,n,h-n).lineTo(n,n).arcTo(n,n,0,!1,!0,n*2,0).lineTo(o-n*2,0).arcTo(n,n,0,!1,!0,o-n,n).lineTo(o-n,h-n).arcTo(n,n,0,!1,!1,o,h);return m.append("path").attr("class","railroad-line").attr("d",x.build()),{element:m.node(),dimensions:{width:o,height:g,up:h,down:g-h}}}renderRepetition(e,a,l){let n=this.renderExpression(e,a),r=this.config.arcRadius,o=r*2,g=n.dimensions.width+r*4,m=l===0,s=n.dimensions.height+o+(m?o:0),f=e.append("g").attr("class","railroad-repetition"),p=r*2,h=m?o:0;f.node().appendChild(n.element).setAttribute("transform",`translate(${p}, ${h})`);let c=h+n.dimensions.up;f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(0,c).lineTo(r*2,c).build()),f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(p+n.dimensions.width,c).lineTo(g,c).build());let x=h+n.dimensions.height+r,R=new w().moveTo(p+n.dimensions.width,c).arcTo(r,r,0,!1,!0,p+n.dimensions.width+r,c+r).lineTo(p+n.dimensions.width+r,x).arcTo(r,r,0,!1,!0,p+n.dimensions.width,x+r).lineTo(r*2,x+r).arcTo(r,r,0,!1,!0,r,x).lineTo(r,c+r).arcTo(r,r,0,!1,!0,r*2,c);if(f.append("path").attr("class","railroad-line").attr("d",R.build()),m){let S=new w().moveTo(0,c).arcTo(r,r,0,!1,!1,r,c-r).lineTo(r,r).arcTo(r,r,0,!1,!0,r*2,0).lineTo(g-r*2,0).arcTo(r,r,0,!1,!0,g-r,r).lineTo(g-r,c-r).arcTo(r,r,0,!1,!1,g,c);f.append("path").attr("class","railroad-line").attr("d",S.build())}return{element:f.node(),dimensions:{width:g,height:s,up:c,down:s-c}}}renderSpecial(e,a){let l=this.measureText("? "+a+" ?"),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-special");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r),o.append("text").attr("x",n/2).attr("y",r/2).text("? "+a+" ?"),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderExpression(e,a){switch(a.type){case"terminal":return this.renderTerminal(e,a.value);case"nonterminal":return this.renderNonTerminal(e,a.name);case"sequence":return this.renderSequence(e,a.elements);case"choice":return this.renderChoice(e,a.alternatives);case"optional":return this.renderOptional(e,a.element);case"repetition":return this.renderRepetition(e,a.element,a.min);case"special":return this.renderSpecial(e,a.text);default:throw Error(`Unknown node type: ${a.type}`)}}renderRule(e,a){let l=this.svg.append("g").attr("class","railroad-rule").attr("transform",`translate(0, ${a})`),n=e.name+" =",r=this.measureText(n).width+20,o=r+20,g=l.append("g"),m=this.renderExpression(g,e.definition),s=Math.max(20,m.dimensions.up),f=s-m.dimensions.up;return g.attr("transform",`translate(${o}, ${f})`),l.append("g").attr("class","railroad-rule-name-group").append("text").attr("class","railroad-rule-name").attr("x",0).attr("y",s).text(n),l.append("g").attr("class","railroad-start").append("circle").attr("cx",r).attr("cy",s).attr("r",this.config.markerRadius),l.append("g").attr("class","railroad-end").append("circle").attr("cx",o+m.dimensions.width+10).attr("cy",s).attr("r",this.config.markerRadius),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(r+this.config.markerRadius,s).lineTo(o,s).build()),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(o+m.dimensions.width,s).lineTo(o+m.dimensions.width+10-this.config.markerRadius,s).build()),{height:Math.max(40,f+m.dimensions.height+this.config.padding*2),width:o+m.dimensions.width+10+this.config.markerRadius}}renderDiagram(e){let a=this.config.padding,l=0;for(let n of e){let r=this.renderRule(n,a);a+=r.height+this.config.verticalSeparation,l=Math.max(l,r.width)}return{width:l+this.config.padding*2,height:a+this.config.padding}}},_=t((e,a,l)=>{Y(e,a.height,a.width,l),e.attr("viewBox",`0 0 ${a.width} ${a.height}`)},"configureRailroadSvgSize"),me=t((e,a,l)=>{i.debug(`[Railroad] Rendering diagram
88
- `+e);try{let n=J(a);n.attr("class","railroad-diagram");let o=A().railroad?.useMaxWidth??!0,g=ve.getRules();if(i.debug(`[Railroad] Rendering ${g.length} rules`),g.length===0){i.warn("[Railroad] No rules to render"),_(n,{height:100,width:200},o);return}let s=new ce(n,E()).renderDiagram(g);_(n,s,o),i.debug("[Railroad] Render complete")}catch(n){throw i.error("[Railroad] Render error:",n),n}},"draw"),Pn={draw:me};
89
- export{ve,Mn,Pn};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{e,n,b,Fe}from"./chunk-hxsrph02.js";function wi(a){let t=a.filter((l)=>l.closedAt===null);if(!t.length)return[];return[{label:"项目",options:t.map((l)=>({value:l.id,label:l.name,description:l.directory}))}]}function ki(a){let{Input:t}=b();return n("div",{className:"relative mb-3 min-w-0",children:[e(Fe,{"aria-hidden":!0,className:"pointer-events-none absolute top-3 left-3 size-4 text-faint"}),e(t,{type:"search","aria-label":a.label,placeholder:a.placeholder,value:a.value,onChange:(l)=>a.onChange(l.target.value),className:"h-10 min-w-0 pl-9"})]})}function Ci(){return e("div",{role:"status","aria-label":"正在加载",className:"divide-y divide-line",children:[0,1,2].map((a)=>n("div",{className:"h-16 space-y-2 px-4 py-3",children:[e("div",{className:"h-3 w-24 animate-pulse rounded bg-raised"}),e("div",{className:"h-3 w-2/3 animate-pulse rounded bg-raised"})]},a))})}
2
- export{wi,ki,Ci};
@@ -1,3 +0,0 @@
1
- �  6N�c��I:S�={A�骿�ⷂ�]N��x�8q�s�3L\S�=*��}^:��R��BDt���8���tJax�FX������#�u��UN��ޚt��Y ��7��Z�"�X����� ��XH$����I��:�$H��~<Y�Y
2
- �φ~W�N���jr�u�*� q�QȨ1F\��P���8�\��Cթ�=�����Ch@����1|)}ڳ�T4����+�Z�7���>��
3
- Rk��t�C��Us1�L�)LA^��-�~���x#<O�_�L;�Lt`�L�c�Ԫ=iwx�LM_��� U8��d&V]�Dž�Z'��s(�
Binary file
@@ -1,16 +0,0 @@
1
- import{t}from"./chunk-eq59kad4.js";var Et=t(()=>`
2
- /* Font Awesome icon styling - consolidated */
3
- .label-icon {
4
- display: inline-block;
5
- height: 1em;
6
- overflow: visible;
7
- vertical-align: -0.125em;
8
- }
9
-
10
- .node .label-icon path {
11
- fill: currentColor;
12
- stroke: revert;
13
- stroke-width: revert;
14
- }
15
- `,"getIconStyles");
16
- export{Et};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Ia}from"./chunk-508cpafz.js";export{Ia as createRailroadAbnfServices};
Binary file
Binary file
@@ -1,7 +0,0 @@
1
- import{y,s,w,o,a,m,e,n,b,Ft}from"./chunk-hxsrph02.js";import{yt,Yn,Lt,hc,Xn,Oa,Li,qs,gc}from"./chunk-zq1qbaxb.js";var z="__chat__";function E(v){return e("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-raised",children:e("div",{className:"h-full rounded-full bg-accent transition-all duration-300",style:{width:`${v.percent}%`}})})}function _(v){return e("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:v.children})}function B(v){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:v.children})}function V(v){return n(B,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:yt(v.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:yt(v.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:yt(v.stat.cacheReadTokens)}),v.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",Xn(v.cacheHitRate),")"]})]})]})}function Q(v){let{projects:k,selectedProjectID:D,onSelectProject:g}=v,{style:l}=b();if(k.length===0)return e("div",{className:l("surface.empty"),children:"暂无项目统计数据"});return e("div",{className:"divide-y divide-line",children:k.map((t)=>{let p=t.projectID??z,f=D===p,j=Math.max(t.tokenShare>0?1:0,t.tokenShare*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate",children:t.name}),e("span",{className:l("control.badge","font-mono truncate max-w-[240px]"),title:t.directory||"未绑定项目目录",children:t.directory||"独立会话"}),e("button",{type:"button",onClick:()=>g(f?null:p),className:"rounded px-1.5 py-0.5 text-2xs text-accent hover:bg-accent/10 transition-colors cursor-pointer shrink-0",children:f?"取消筛选":"筛选"})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Yn(t.totalTokens),children:yt(t.totalTokens)}),n("span",{className:"text-2xs text-faint",children:["(",Xn(t.tokenShare),")"]})]})]}),e(E,{percent:j}),n(_,{children:[e(V,{stat:t,cacheHitRate:t.cacheHitRate}),n(B,{children:[n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Lt(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.sessionCount.toLocaleString()})," 会话"]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:t.toolCalls.toLocaleString()})," 次"]})]})]})]},p)})})}function Z(v){let{models:k}=v,{ModelIcon:D,style:g}=b();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无模型调用数据"});return e("div",{className:"divide-y divide-line",children:k.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e(D,{modelID:l.model,className:"size-4 shrink-0"}),e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.shortName}),e("span",{className:g("control.badge","font-mono shrink-0"),children:l.provider})]}),n("div",{className:"flex items-baseline gap-2.5 font-mono tabular-nums shrink-0",children:[l.avgTps!==null&&n("span",{className:"text-2xs text-dim",children:[l.avgTps.toFixed(1)," tok/s"]}),n("span",{className:"text-xs font-medium text-ink",title:Yn(l.totalTokens),children:[yt(l.totalTokens)," ",n("span",{className:"text-2xs font-normal text-faint",children:["(",Xn(l.share),")"]})]})]})]}),e(E,{percent:t}),n(_,{children:[e(V,{stat:l,cacheHitRate:l.cacheHitRate}),n(B,{children:[n("span",{children:[e("span",{className:"text-ink",children:l.turns.toLocaleString()})," 轮",l.errors>0?n("span",{className:"text-danger",children:[" (",l.errors," 错)"]}):null]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:l.toolCalls.toLocaleString()})," 次"]}),l.generationMs>0&&n("span",{children:["推理 ",e("span",{className:"text-ink",children:hc(l.generationMs)})]})]})]})]},l.model)})})}function J(v){let{tools:k}=v,{StatusChip:D,style:g}=b();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无工具调用数据"});return e("div",{className:"divide-y divide-line",children:k.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100),p=l.successRate>=0.95?"success":l.successRate>=0.8?"warning":"danger",f=Math.max(0,l.calls-l.errors),j=l.calls>0?Math.round(l.outputBytes/l.calls):0;return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.name}),n(D,{tone:p,children:["成功率 ",Xn(l.successRate)]})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[n("span",{className:"text-xs font-medium text-ink",children:[l.calls.toLocaleString()," 次"]}),n("span",{className:"text-2xs text-faint",children:["(",Xn(l.share),")"]})]})]}),e(E,{percent:t}),n(_,{children:[n(B,{children:[n("span",{children:["成功 ",e("span",{className:"text-ink",children:f.toLocaleString()})," 次"]}),n("span",{children:["失败 ",e("span",{className:l.errors>0?"text-danger":"text-ink",children:l.errors.toLocaleString()})," 次"]})]}),n(B,{children:[n("span",{children:["累计输出 ",e("span",{className:"text-ink",children:Oa(l.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:Oa(j)})]})]})]})]},l.name)})})}function X(v){let{sessions:k,onOpenSession:D}=v,{style:g}=b();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无高消耗会话记录"});let l=Math.max(1,...k.map((t)=>t.totalTokens));return e("div",{className:"divide-y divide-line",children:k.map((t)=>{let p=l>0?Math.max(1,t.totalTokens/l*100):0,f=t.model.split("/").pop()??t.model;return n("button",{type:"button",onClick:()=>D(t.id),className:"group block w-full p-4 text-left space-y-2.5 hover:bg-raised/40 transition-colors cursor-pointer",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate group-hover:text-accent transition-colors",children:t.title.trim()||"新会话"}),e("span",{className:g("control.badge","font-mono truncate max-w-[140px] shrink-0"),title:t.projectName,children:t.projectName}),t.kind==="sub"&&e("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 text-2xs text-accent shrink-0",children:"子代理"}),t.archivedAt!==null&&e("span",{className:g("control.badge","shrink-0"),children:"已归档"})]}),n("div",{className:"flex items-center gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Yn(t.totalTokens),children:yt(t.totalTokens)}),e(Ft,{className:"size-3.5 text-faint group-hover:text-ink group-hover:translate-x-0.5 transition-all"})]})]}),e(E,{percent:p}),n(_,{children:[e(V,{stat:t}),n(B,{children:[e("span",{className:"text-ink",children:f}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Lt(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.assistantTurns})," 轮"]}),e("span",{className:"text-faint",children:gc(t.updated)})]})]})]},t.id)})})}var ee=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function te(v){let{cn:k,Segmented:D,SettingGroup:g,style:l}=b(),{daily:t}=v,[p,f]=a("tokens"),[j,P]=a(null),R=w(()=>t.some((r)=>r.totalTokens>0||r.activeDurationMs>0||r.runs>0),[t]),C=w(()=>{if(t.length===0)return{totalText:"0",avgText:"0",peakDate:"—",peakValueText:"0"};if(p==="tokens"){let T=t.reduce((M,H)=>M+H.totalTokens,0),S=t.filter((M)=>M.totalTokens>0).length,h=t[0];for(let M of t)if(!h||M.totalTokens>h.totalTokens)h=M;return{totalText:yt(T),totalFullText:Yn(T),avgText:S>0?yt(Math.round(T/S)):"0",peakDate:h&&h.totalTokens>0?Li(h.date):"—",peakValueText:h&&h.totalTokens>0?yt(h.totalTokens):"0"}}if(p==="duration"){let T=t.reduce((M,H)=>M+H.activeDurationMs,0),S=t.filter((M)=>M.activeDurationMs>0).length,h=t[0];for(let M of t)if(!h||M.activeDurationMs>h.activeDurationMs)h=M;return{totalText:Lt(T),totalFullText:Lt(T),avgText:S>0?Lt(Math.round(T/S)):"0s",peakDate:h&&h.activeDurationMs>0?Li(h.date):"—",peakValueText:h&&h.activeDurationMs>0?Lt(h.activeDurationMs):"0s"}}let r=t.reduce((T,S)=>T+S.assistantTurns,0),i=t.reduce((T,S)=>T+S.userMessages,0),u=r+i,x=t.filter((T)=>T.assistantTurns>0||T.userMessages>0).length,d=t[0];for(let T of t){let S=d?d.assistantTurns+d.userMessages:0;if(!d||T.assistantTurns+T.userMessages>S)d=T}let L=d?d.assistantTurns+d.userMessages:0;return{totalText:`${u.toLocaleString()} 轮`,totalFullText:`助手 ${r.toLocaleString()} 轮 · 用户 ${i.toLocaleString()} 问`,avgText:x>0?`${(u/x).toFixed(1)} 轮/天`:"0 轮/天",peakDate:d&&L>0?Li(d.date):"—",peakValueText:d&&L>0?`${L.toLocaleString()} 轮`:"0 轮"}},[t,p]),N=w(()=>{if(j){let r=t.find((i)=>i.date===j);if(r)return r}for(let r=t.length-1;r>=0;r--){let i=t[r];if(i&&(i.totalTokens>0||i.activeDurationMs>0||i.runs>0))return i}return t[t.length-1]},[t,j]),O=w(()=>{if(p==="tokens")return Math.max(1,...t.map((r)=>r.totalTokens));if(p==="duration")return Math.max(1000,...t.map((r)=>r.activeDurationMs));return Math.max(1,...t.map((r)=>r.assistantTurns+r.userMessages))},[t,p]),c=w(()=>{if(t.length<=7)return t.map((u)=>u.date);let r=6,i=[];for(let u=0;u<r;u++){let x=Math.round(u*(t.length-1)/(r-1)),d=t[x];if(d)i.push(d.date)}return i},[t]);if(!R)return e(g,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>f(r),options:ee}),children:e("div",{className:l("surface.empty"),children:"当前时间范围内暂无活跃数据"})});return e(g,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>f(r),options:ee}),children:n("div",{className:"p-4 space-y-4",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 font-mono text-dim tabular-nums",children:[n("span",{children:["汇总 ",e("span",{className:"text-ink",children:C.totalText})]}),n("span",{children:["日均 ",e("span",{className:"text-ink",children:C.avgText})]}),n("span",{children:["峰值 ",e("span",{className:"text-ink",children:C.peakValueText}),C.peakDate!=="—"?n("span",{className:"text-faint",children:[" (",C.peakDate,")"]}):null]})]}),n("div",{className:"flex items-center gap-3 text-2xs text-dim",children:[p==="tokens"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent/40"}),"缓存读"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"输入"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"输出"]})]}),p==="duration"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"工作调度"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"模型推理"]})]}),p==="activity"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"助手回复"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"用户提问"]})]})]})]}),n("div",{className:"relative h-44 w-full pt-1",children:[n("div",{className:"absolute inset-0 flex flex-col justify-between pointer-events-none pb-5 text-3xs text-faint/60",children:[e("div",{className:"border-b border-line/40 w-full"}),e("div",{className:"border-b border-line/30 w-full"}),e("div",{className:"border-b border-line/40 w-full"})]}),n("section",{"aria-label":"每日趋势柱状序列",className:"relative h-full flex flex-col justify-between",onMouseLeave:()=>P(null),children:[e("div",{className:"flex-1 flex items-end gap-1 sm:gap-1.5 pb-2",children:t.map((r)=>{let i=r.totalTokens;if(p==="duration")i=r.activeDurationMs;else if(p==="activity")i=r.assistantTurns+r.userMessages;let u=i<=0,x=u?0:Math.max(3,Math.min(100,i/O*100)),d=N?.date===r.date;return n("button",{type:"button","aria-label":`${r.date} 统计数据`,className:"flex-1 h-full flex flex-col justify-end items-center group cursor-pointer relative min-w-0 bg-transparent p-0 border-0 focus:outline-hidden",onMouseEnter:()=>P(r.date),onFocus:()=>P(r.date),onClick:()=>P(r.date),children:[e("div",{className:k("absolute inset-y-0 w-full rounded-xs transition-colors pointer-events-none",d?"bg-accent/10":"group-hover:bg-raised/60")}),u?e("div",{className:"h-1 w-full max-w-[24px] rounded-full bg-raised group-hover:bg-dim/30"}):n("div",{className:"w-full max-w-[24px] rounded-t-xs overflow-hidden flex flex-col justify-end transition-all duration-150",style:{height:`${x}%`},children:[p==="tokens"&&n(m,{children:[r.outputTokens>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.outputTokens/r.totalTokens*100}%`}}),r.inputTokens+r.cacheWriteTokens>0&&e("div",{className:"bg-accent transition-all duration-200",style:{height:`${(r.inputTokens+r.cacheWriteTokens)/r.totalTokens*100}%`}}),r.cacheReadTokens>0&&e("div",{className:"bg-accent/40 transition-all duration-200",style:{height:`${r.cacheReadTokens/r.totalTokens*100}%`}})]}),p==="duration"&&n(m,{children:[r.generationMs>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${Math.min(100,r.generationMs/Math.max(1,r.activeDurationMs)*100)}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]}),p==="activity"&&n(m,{children:[r.userMessages>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.userMessages/Math.max(1,r.assistantTurns+r.userMessages)*100}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]})]}),d&&e("div",{className:"absolute -bottom-1 size-1 rounded-full bg-accent"})]},r.date)})}),e("div",{className:k("flex items-center pt-1.5 text-3xs text-faint font-mono tabular-nums",t.length<=7?"gap-1 sm:gap-1.5":"justify-between"),children:c.map((r)=>e("div",{className:k("whitespace-nowrap",t.length<=7&&"flex-1 text-center"),children:Li(r)},r))})]})]}),e("div",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-line pt-3 font-mono text-xs tabular-nums",children:N?n(m,{children:[e("span",{className:"text-ink",children:qs(N.date)}),n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 text-dim",children:[n("span",{children:["Token ",e("span",{className:"text-ink",children:yt(N.totalTokens)})]}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Lt(N.activeDurationMs)})]}),n("span",{children:["交互 ",n("span",{className:"text-ink",children:[N.assistantTurns+N.userMessages," 轮"]})]}),n("span",{children:["工具 ",n("span",{className:"text-ink",children:[N.toolCalls," 次"]})]})]})]}):e("span",{className:"font-sans text-faint",children:"悬停柱状图查看单日明细"})})]})})}function se(v){let{cn:k,SettingGroup:D}=b(),{daily:g,hourly:l}=v,[t,p]=a(null),f=w(()=>{let i=new Map;for(let x of l)i.set(x.hour,x);let u=[];for(let x=0;x<24;x++){let d=i.get(x);if(d)u.push(d);else u.push({hour:x,totalTokens:0,activeDurationMs:0,userMessages:0,assistantTurns:0,runs:0})}return u},[l]),j=w(()=>{let i=f[0];for(let u of f)if(!i||u.totalTokens>i.totalTokens)i=u;return i&&i.totalTokens>0?i:null},[f]),P=w(()=>f.reduce((i,u)=>i+u.totalTokens,0),[f]),R=w(()=>Math.max(1,...f.map((i)=>i.totalTokens)),[f]),C=w(()=>{if(P<=0)return 0;return f.filter((u)=>u.hour>=8&&u.hour<20).reduce((u,x)=>u+x.totalTokens,0)/P},[f,P]),N=w(()=>Math.max(1,...g.map((i)=>i.totalTokens)),[g]),O=w(()=>{let i=0,u=0;for(let x of g)if(x.totalTokens>0||x.activeDurationMs>0||x.runs>0){if(u++,u>i)i=u}else u=0;return i},[g]),c=w(()=>g.filter((i)=>i.totalTokens>0||i.activeDurationMs>0||i.runs>0).length,[g]),r=t!==null?f[t]:j;return n(D,{title:"活跃时段与热力",action:n("div",{className:"flex items-center gap-3 font-mono text-xs text-faint tabular-nums",children:[n("span",{children:["日间占比 ",Xn(C)]}),n("span",{children:["连续活跃 ",O," 天"]}),n("span",{children:["活跃 ",c,"/",g.length," 天"]})]}),children:[n("div",{className:"p-4 space-y-3",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[e("span",{className:"text-dim",children:"24 小时分布"}),r?n("div",{className:"flex items-center gap-3 font-mono text-dim tabular-nums",children:[n("span",{className:"text-ink",children:[t!==null?"时段 ":"高峰 ",String(r.hour).padStart(2,"0"),":00 -"," ",String((r.hour+1)%24).padStart(2,"0"),":00"]}),e("span",{className:"text-ink",children:yt(r.totalTokens)}),r.activeDurationMs>0&&e("span",{children:Lt(r.activeDurationMs)})]}):e("span",{className:"text-faint",children:"暂无时段分布"})]}),n("section",{"aria-label":"24 小时活跃分布序列",className:"h-28 w-full flex flex-col justify-between pt-1",onMouseLeave:()=>p(null),children:[e("div",{className:"flex-1 flex items-end gap-1.5 pb-1.5",children:f.map((i)=>{let u=j?.hour===i.hour,x=t===i.hour,d=i.totalTokens>0?Math.max(6,i.totalTokens/R*100):0,L=`${String(i.hour).padStart(2,"0")}:00 - ${String((i.hour+1)%24).padStart(2,"0")}:00
2
- 消耗: ${Yn(i.totalTokens)} Token
3
- 耗时: ${Lt(i.activeDurationMs)}
4
- 助手轮次: ${i.assistantTurns} 轮`;return e("button",{type:"button","aria-label":`${String(i.hour).padStart(2,"0")}:00 时段统计`,className:"flex-1 h-full flex flex-col justify-end items-center group relative cursor-pointer bg-transparent p-0 border-0 focus:outline-hidden",title:L,onMouseEnter:()=>p(i.hour),onFocus:()=>p(i.hour),onClick:()=>p(i.hour),children:d>0?e("div",{className:k("w-full max-w-[20px] rounded-t-xs transition-all duration-200",u||x?"bg-accent":"bg-accent/55 group-hover:bg-accent"),style:{height:`${d}%`}}):e("div",{className:"h-1 w-full max-w-[20px] rounded-full bg-raised group-hover:bg-dim/30"})},i.hour)})}),n("div",{className:"flex justify-between items-center text-3xs text-faint font-mono pt-1.5 border-t border-line/40",children:[e("span",{children:"00:00"}),e("span",{children:"04:00"}),e("span",{children:"08:00"}),e("span",{children:"12:00"}),e("span",{children:"16:00"}),e("span",{children:"20:00"}),e("span",{children:"23:00"})]})]})]}),n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"text-xs text-dim",children:["自然日热力 (",g.length," 天)"]}),e("div",{className:"flex flex-wrap items-center gap-1.5",children:g.map((i)=>{let u="bg-raised";if(i.totalTokens>0){let d=i.totalTokens/N;if(d<=0.33)u="bg-accent/30";else if(d<=0.66)u="bg-accent/60";else u="bg-accent"}let x=`${qs(i.date)}
5
- 消耗: ${Yn(i.totalTokens)} Token
6
- 耗时: ${Lt(i.activeDurationMs)}
7
- 助手轮次: ${i.assistantTurns} 轮`;return e("div",{className:k("size-3.5 rounded-xs transition-transform hover:scale-125 cursor-pointer",u),title:x},i.date)})})]})]})}var re=[{value:"7d",label:"近 7 天"},{value:"30d",label:"近 30 天"},{value:"90d",label:"近 90 天"},{value:"all",label:"全部"}],W=new Map,ae=[];function K(v,k){return`${v}:${k??"all"}`}function we(v){let{connection:k,onOpen:D}=v,{Button:g,PageLayout:l,Segmented:t,SettingGroup:p,style:f}=b(),[j,P]=a("30d"),[R,C]=a(null),[N,O]=a("projects"),[c,r]=a(()=>W.get(K("30d",null))??null),[i,u]=a(()=>!W.has(K("30d",null))),[x,d]=a(null),[L,T]=a(()=>ae),S=o(0),h=y(async()=>{let H=++S.current,I=K(j,R),U=W.get(I);if(U)r(U);u(!0);try{let F=new URLSearchParams({range:j,tzOffset:String(new Date().getTimezoneOffset())});if(R)F.set("projectID",R);let G=await k.request(`/api/stats?${F.toString()}`);if(H!==S.current)return;if(W.set(I,G),r(G),d(null),G.projects)T((ne)=>{let Y=new Map(ne.map((A)=>[A.id,A.name]));for(let A of G.projects)if(A.projectID)Y.set(A.projectID,A.name);let q=Array.from(Y.entries()).map(([A,oe])=>({id:A,name:oe}));return ae=q,q})}catch(F){if(H===S.current)d(F instanceof Error?F.message:"加载统计数据失败")}finally{if(H===S.current)u(!1)}},[k,j,R]);s(()=>(h(),()=>{S.current++}),[h]);let M=w(()=>{if(!R)return null;if(R===z)return"独立聊天";return(L.find((I)=>I.id===R)??c?.projects.find((I)=>I.projectID===R))?.name??"指定项目"},[R,L,c]);return n(l,{title:M?n(m,{children:["统计 ",n("span",{className:"text-dim",children:["· ",M]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(m,{children:[R&&e(g,{size:"sm",variant:"ghost",onClick:()=>C(null),children:"返回全部"}),e(t,{value:j,onChange:P,options:re})]}),children:[x&&n("div",{className:"mb-4 flex items-center justify-between rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:[e("span",{children:x}),e(g,{size:"sm",variant:"ghost",onClick:()=>{h()},className:"text-danger hover:text-danger",children:"重试"})]}),i&&!c?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载统计…"}):!c?e("div",{className:f("surface.card","p-12 text-center text-sm text-dim"),children:"暂无统计数据"}):n("div",{className:"space-y-8",children:[e(p,{title:"核心总览",unboxed:!0,children:n("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"总 Token 消耗"}),n("span",{className:"font-mono tabular-nums",children:["缓存命中 ",Xn(c.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${Yn(c.overview.totalTokens)} Token`,children:yt(c.overview.totalTokens)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["输入 ",yt(c.overview.inputTokens)]}),n("span",{children:["输出 ",yt(c.overview.outputTokens)]}),n("span",{children:["缓存读 ",yt(c.overview.cacheReadTokens)]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"活跃工作耗时"}),n("span",{className:"font-mono tabular-nums",children:["日均"," ",c.overview.activeDays>0?Lt(c.overview.activeDurationMs/c.overview.activeDays):"0s"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:Lt(c.overview.activeDurationMs)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["模型推理 ",Lt(c.overview.generationMs)]}),n("span",{children:["并发累计 ",Lt(c.overview.cumulativeRunDurationMs)]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"会话与工作流"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.activeProjects,"/",c.overview.totalProjects," 活跃项目"]})]}),n("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:[c.overview.sessionCount.toLocaleString()," 个会话"]}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.mainSessionCount," 主会话 / ",c.overview.subSessionCount," 子代理"]}),n("span",{children:[c.overview.userMessages," 提问 / ",c.overview.assistantTurns," 回复"]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"吞吐效率与调用"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.compactions," 次折叠"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:c.overview.avgTps!==null?`${c.overview.avgTps.toFixed(1)} tok/s`:`${c.overview.toolCalls.toLocaleString()} 次调用`}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.toolCalls.toLocaleString()," 次工具调用"]}),n("span",{children:[c.overview.runCount.toLocaleString()," 次运行"]})]})]})]})}),e(te,{daily:c.daily}),e(se,{daily:c.daily,hourly:c.hourly}),e(p,{title:"分类明细",action:e(t,{value:N,onChange:O,options:[{value:"projects",label:`项目消耗 (${c.projects.length})`},{value:"models",label:`模型分析 (${c.models.length})`},{value:"tools",label:`工具调用 (${c.tools.length})`},{value:"sessions",label:`高消耗会话 (${c.topSessions.length})`}]}),children:n("div",{className:"animate-fade",children:[N==="projects"&&e(Q,{projects:c.projects,selectedProjectID:R,onSelectProject:C,onOpenSession:D}),N==="models"&&e(Z,{models:c.models}),N==="tools"&&e(J,{tools:c.tools}),N==="sessions"&&e(X,{sessions:c.topSessions,onOpenSession:D})]},N)})]})]})}export{we as StatsPage};
Binary file
Binary file