@bkm016/basalt 0.1.23 → 0.1.24

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 (937) hide show
  1. package/chunk-0ecs4nme.js +18 -0
  2. package/chunk-0mrd775t.js +3 -0
  3. package/chunk-0nxcbf6d.js +472 -0
  4. package/chunk-0p12aad6.js +3 -0
  5. package/chunk-0vdz9j55.js +7 -0
  6. package/chunk-1v0dv855.js +3 -0
  7. package/chunk-2jeg8h8d.js +3 -0
  8. package/chunk-2q3tewbg.js +59 -0
  9. package/chunk-3hqka8zs.js +2 -0
  10. package/chunk-3ktcgaec.js +2 -0
  11. package/chunk-3v0ezmaw.js +39 -0
  12. package/chunk-3zv7ryz0.js +2 -0
  13. package/chunk-4x7xnfw1.js +2 -0
  14. package/chunk-5kd940f5.js +3 -0
  15. package/chunk-628vymvd.js +3 -0
  16. package/chunk-6h9dxrr4.js +2 -0
  17. package/chunk-6ka4m0ax.js +2 -0
  18. package/chunk-6q0ak8d1.js +12 -0
  19. package/chunk-768vwfc3.js +3 -0
  20. package/chunk-7k4xghss.js +5 -0
  21. package/chunk-8jv34hrx.js +7 -0
  22. package/chunk-8yv55y6g.js +3 -0
  23. package/chunk-95rqa8r8.js +2 -0
  24. package/chunk-979mxkzt.js +2 -0
  25. package/chunk-9y8v1vrt.js +15 -0
  26. package/chunk-akf8x16s.js +5 -0
  27. package/chunk-bdr1170y.js +3 -0
  28. package/chunk-bkmd5d8p.js +3 -0
  29. package/chunk-c4nxr37s.js +3566 -0
  30. package/chunk-cte9wd9x.js +4 -0
  31. package/chunk-df7ye0xb.js +9 -0
  32. package/chunk-dsd6pd2m.js +2 -0
  33. package/chunk-eejgn4ye.js +2 -0
  34. package/chunk-eek8fqvj.js +2 -0
  35. package/chunk-ewjrnvjb.js +10 -0
  36. package/chunk-f4tqhvff.js +3 -0
  37. package/chunk-gha8wd63.js +11 -0
  38. package/chunk-gwrpahes.js +2 -0
  39. package/chunk-hz92pdms.js +2 -0
  40. package/chunk-jepxf22f.js +7 -0
  41. package/chunk-kh4yq4rd.js +4 -0
  42. package/chunk-khdch9sx.js +25 -0
  43. package/chunk-m1w7f6d3.js +5 -0
  44. package/chunk-ma91f4qj.js +2 -0
  45. package/chunk-mah60ek9.js +3 -0
  46. package/chunk-mmm1jh57.js +20 -0
  47. package/chunk-mmt11y21.js +2 -0
  48. package/chunk-mny4xyb0.js +3 -0
  49. package/chunk-mq0p4ssz.js +3 -0
  50. package/chunk-mzta1jts.js +10 -0
  51. package/chunk-n0qwj5gm.js +12 -0
  52. package/chunk-n19ec95n.js +3 -0
  53. package/chunk-n5b822pn.js +3 -0
  54. package/chunk-nvxx397h.js +2 -0
  55. package/chunk-nwfhbcme.js +4 -0
  56. package/chunk-pcd14q8r.js +390 -0
  57. package/chunk-pr1hfw3a.js +2 -0
  58. package/chunk-q2re8mn9.js +31 -0
  59. package/chunk-qgg3wk8h.js +2 -0
  60. package/chunk-r9gkfk6f.js +16 -0
  61. package/chunk-rjfph4m5.js +3 -0
  62. package/chunk-rmy489b1.js +7 -0
  63. package/chunk-sf2cp0m6.js +8 -0
  64. package/chunk-sfwy8rqg.js +3 -0
  65. package/chunk-sj2q2amm.js +11 -0
  66. package/chunk-sqfs6z7c.js +3 -0
  67. package/chunk-sy980cjq.js +2 -0
  68. package/chunk-t64hda7b.js +2 -0
  69. package/chunk-tbhqhejq.js +2 -0
  70. package/chunk-trxaygjr.js +5 -0
  71. package/chunk-v7ehjbxx.js +2 -0
  72. package/chunk-vjegsy9q.js +2 -0
  73. package/chunk-vt4xyc4q.js +2 -0
  74. package/chunk-w430z452.js +25 -0
  75. package/chunk-xycq2q8m.js +2 -0
  76. package/chunk-y16fqzad.js +3 -0
  77. package/chunk-y6mng74k.js +2 -0
  78. package/chunk-y8aq7mb7.js +3 -0
  79. package/chunk-ynt6najh.js +3 -0
  80. package/chunk-z1y43t2s.js +3 -0
  81. package/chunk-z6v2pcc0.js +3 -0
  82. package/compiled.js +5 -5
  83. package/package.json +1 -1
  84. package/ui-test-worker.js +24 -24
  85. package/web/chunk-085ttz7c.js +84 -0
  86. package/web/chunk-085ttz7c.js.br +0 -0
  87. package/web/chunk-085ttz7c.js.gz +0 -0
  88. package/web/chunk-0g9ycv0h.js +2 -0
  89. package/web/chunk-0g9ycv0h.js.br +0 -0
  90. package/web/chunk-0g9ycv0h.js.gz +0 -0
  91. package/web/chunk-13x3xyyh.js +7 -0
  92. package/web/chunk-13x3xyyh.js.br +0 -0
  93. package/web/chunk-13x3xyyh.js.gz +0 -0
  94. package/web/chunk-172gywq4.js +214 -0
  95. package/web/chunk-172gywq4.js.br +0 -0
  96. package/web/chunk-172gywq4.js.gz +0 -0
  97. package/web/chunk-176tsg6e.js +2 -0
  98. package/web/chunk-176tsg6e.js.br +0 -0
  99. package/web/chunk-176tsg6e.js.gz +0 -0
  100. package/web/chunk-17d30546.js +38 -0
  101. package/web/chunk-17d30546.js.br +0 -0
  102. package/web/chunk-17d30546.js.gz +0 -0
  103. package/web/chunk-1k6jx4hs.js +1 -0
  104. package/web/chunk-1k6jx4hs.js.br +0 -0
  105. package/web/chunk-1k6jx4hs.js.gz +0 -0
  106. package/web/chunk-1kts05s6.css +1 -0
  107. package/web/chunk-1kts05s6.css.br +0 -0
  108. package/web/chunk-1kts05s6.css.gz +0 -0
  109. package/web/chunk-1z0x1j6q.js +1 -0
  110. package/web/chunk-1z0x1j6q.js.br +0 -0
  111. package/web/chunk-1z0x1j6q.js.gz +0 -0
  112. package/web/chunk-290wy4yk.js +1 -0
  113. package/web/chunk-290wy4yk.js.br +0 -0
  114. package/web/chunk-290wy4yk.js.gz +0 -0
  115. package/web/chunk-2cdw1299.js +1 -0
  116. package/web/chunk-2cdw1299.js.br +0 -0
  117. package/web/chunk-2cdw1299.js.gz +0 -0
  118. package/web/chunk-2fms67zg.js +332 -0
  119. package/web/chunk-2fms67zg.js.br +0 -0
  120. package/web/chunk-2fms67zg.js.gz +0 -0
  121. package/web/chunk-2psxv4dk.js +120 -0
  122. package/web/chunk-2psxv4dk.js.br +0 -0
  123. package/web/chunk-2psxv4dk.js.gz +0 -0
  124. package/web/chunk-2z4zhtw4.js +142 -0
  125. package/web/chunk-2z4zhtw4.js.br +0 -0
  126. package/web/chunk-2z4zhtw4.js.gz +0 -0
  127. package/web/chunk-33eqjx7d.js +2 -0
  128. package/web/chunk-33eqjx7d.js.br +0 -0
  129. package/web/chunk-33eqjx7d.js.gz +0 -0
  130. package/web/chunk-39rtp0f4.js +1 -0
  131. package/web/chunk-39rtp0f4.js.br +0 -0
  132. package/web/chunk-39rtp0f4.js.gz +0 -0
  133. package/web/chunk-3sszg3gr.js +24 -0
  134. package/web/chunk-3sszg3gr.js.br +0 -0
  135. package/web/chunk-3sszg3gr.js.gz +0 -0
  136. package/web/chunk-3vdw9nn7.js +62 -0
  137. package/web/chunk-3vdw9nn7.js.br +0 -0
  138. package/web/chunk-3vdw9nn7.js.gz +0 -0
  139. package/web/chunk-43shp7zx.js +2 -0
  140. package/web/chunk-43shp7zx.js.br +0 -0
  141. package/web/chunk-43shp7zx.js.gz +0 -0
  142. package/web/chunk-4cbcqcd2.js +1 -0
  143. package/web/chunk-4cbcqcd2.js.br +0 -0
  144. package/web/chunk-4cbcqcd2.js.gz +0 -0
  145. package/web/chunk-4v6n6b36.js +1 -0
  146. package/web/chunk-4v6n6b36.js.br +0 -0
  147. package/web/chunk-4v6n6b36.js.gz +0 -0
  148. package/web/chunk-54vdfmx0.js +2 -0
  149. package/web/chunk-54vdfmx0.js.br +0 -0
  150. package/web/chunk-54vdfmx0.js.gz +0 -0
  151. package/web/chunk-59ybhv47.js +1 -0
  152. package/web/chunk-59ybhv47.js.br +0 -0
  153. package/web/chunk-59ybhv47.js.gz +0 -0
  154. package/web/chunk-5a80hcah.js +1 -0
  155. package/web/chunk-5a80hcah.js.br +0 -0
  156. package/web/chunk-5a80hcah.js.gz +0 -0
  157. package/web/chunk-5zkw2kkb.js +140 -0
  158. package/web/chunk-5zkw2kkb.js.br +0 -0
  159. package/web/chunk-5zkw2kkb.js.gz +0 -0
  160. package/web/chunk-634vc92s.js +70 -0
  161. package/web/chunk-634vc92s.js.br +0 -0
  162. package/web/chunk-634vc92s.js.gz +0 -0
  163. package/web/chunk-6n3cwe1h.js +169 -0
  164. package/web/chunk-6n3cwe1h.js.br +0 -0
  165. package/web/chunk-6n3cwe1h.js.gz +0 -0
  166. package/web/chunk-6zr2j7xj.js +1 -0
  167. package/web/chunk-6zr2j7xj.js.br +0 -0
  168. package/web/chunk-6zr2j7xj.js.gz +0 -0
  169. package/web/chunk-713ygtrs.js +200 -0
  170. package/web/chunk-713ygtrs.js.br +0 -0
  171. package/web/chunk-713ygtrs.js.gz +0 -0
  172. package/web/chunk-7m4gmjvp.js +1 -0
  173. package/web/chunk-7m4gmjvp.js.br +0 -0
  174. package/web/chunk-7m4gmjvp.js.gz +0 -0
  175. package/web/chunk-7x90pq42.js +1 -0
  176. package/web/chunk-7x90pq42.js.br +0 -0
  177. package/web/chunk-7x90pq42.js.gz +0 -0
  178. package/web/chunk-7ycp549b.js +2 -0
  179. package/web/chunk-7ycp549b.js.br +0 -0
  180. package/web/chunk-7ycp549b.js.gz +0 -0
  181. package/web/chunk-811qc5bs.js +1 -0
  182. package/web/chunk-811qc5bs.js.br +0 -0
  183. package/web/chunk-811qc5bs.js.gz +0 -0
  184. package/web/chunk-82gjgy45.js +1 -0
  185. package/web/chunk-82gjgy45.js.br +0 -0
  186. package/web/chunk-82gjgy45.js.gz +0 -0
  187. package/web/chunk-8de69eyx.js +2 -0
  188. package/web/chunk-8de69eyx.js.br +0 -0
  189. package/web/chunk-8de69eyx.js.gz +0 -0
  190. package/web/chunk-91s1ns6b.js +55 -0
  191. package/web/chunk-91s1ns6b.js.br +0 -0
  192. package/web/chunk-91s1ns6b.js.gz +0 -0
  193. package/web/chunk-921qw2jf.js +1 -0
  194. package/web/chunk-921qw2jf.js.br +0 -0
  195. package/web/chunk-921qw2jf.js.gz +0 -0
  196. package/web/chunk-96n0nem7.js +2 -0
  197. package/web/chunk-96n0nem7.js.br +0 -0
  198. package/web/chunk-96n0nem7.js.gz +0 -0
  199. package/web/chunk-9k9p5dat.js +1 -0
  200. package/web/chunk-9k9p5dat.js.br +0 -0
  201. package/web/chunk-9k9p5dat.js.gz +0 -0
  202. package/web/chunk-a529550j.js +1 -0
  203. package/web/chunk-a529550j.js.br +0 -0
  204. package/web/chunk-a529550j.js.gz +0 -0
  205. package/web/chunk-abvtsz6z.js +2 -0
  206. package/web/chunk-abvtsz6z.js.br +0 -0
  207. package/web/chunk-abvtsz6z.js.gz +0 -0
  208. package/web/chunk-ac8vmj54.js +1 -0
  209. package/web/chunk-ac8vmj54.js.br +0 -0
  210. package/web/chunk-ac8vmj54.js.gz +0 -0
  211. package/web/chunk-amrt87c9.js +1 -0
  212. package/web/chunk-amrt87c9.js.br +0 -0
  213. package/web/chunk-amrt87c9.js.gz +0 -0
  214. package/web/chunk-b2t33c3t.js +2 -0
  215. package/web/chunk-b2t33c3t.js.br +0 -0
  216. package/web/chunk-b2t33c3t.js.gz +0 -0
  217. package/web/chunk-b9fqnzqd.js +217 -0
  218. package/web/chunk-b9fqnzqd.js.br +0 -0
  219. package/web/chunk-b9fqnzqd.js.gz +0 -0
  220. package/web/chunk-bbs6yq60.js +99 -0
  221. package/web/chunk-bbs6yq60.js.br +0 -0
  222. package/web/chunk-bbs6yq60.js.gz +0 -0
  223. package/web/chunk-bbyqcvdz.js +2 -0
  224. package/web/chunk-bbyqcvdz.js.br +0 -0
  225. package/web/chunk-bbyqcvdz.js.gz +0 -0
  226. package/web/chunk-bg2ps35t.js +2 -0
  227. package/web/chunk-bg2ps35t.js.br +0 -0
  228. package/web/chunk-bg2ps35t.js.gz +0 -0
  229. package/web/chunk-bh0a254y.js +30 -0
  230. package/web/chunk-bh0a254y.js.br +0 -0
  231. package/web/chunk-bh0a254y.js.gz +0 -0
  232. package/web/chunk-bvmvj35k.js +1 -0
  233. package/web/chunk-bvmvj35k.js.br +0 -0
  234. package/web/chunk-bvmvj35k.js.gz +0 -0
  235. package/web/chunk-c2eqwepm.js +2 -0
  236. package/web/chunk-c2eqwepm.js.br +0 -0
  237. package/web/chunk-c2eqwepm.js.gz +0 -0
  238. package/web/chunk-ca8hnmmv.js +34 -0
  239. package/web/chunk-ca8hnmmv.js.br +0 -0
  240. package/web/chunk-ca8hnmmv.js.gz +0 -0
  241. package/web/chunk-ced8pdbc.js +1 -0
  242. package/web/chunk-ced8pdbc.js.br +0 -0
  243. package/web/chunk-ced8pdbc.js.gz +0 -0
  244. package/web/chunk-cj0cmvbm.js +89 -0
  245. package/web/chunk-cj0cmvbm.js.br +0 -0
  246. package/web/chunk-cj0cmvbm.js.gz +0 -0
  247. package/web/chunk-cqr2kq2c.js +1 -0
  248. package/web/chunk-cqr2kq2c.js.br +0 -0
  249. package/web/chunk-cqr2kq2c.js.gz +0 -0
  250. package/web/chunk-crhbhsrh.js +2 -0
  251. package/web/chunk-crhbhsrh.js.br +0 -0
  252. package/web/chunk-crhbhsrh.js.gz +0 -0
  253. package/web/chunk-cxhcrhqc.js +1 -0
  254. package/web/chunk-cxhcrhqc.js.br +0 -0
  255. package/web/chunk-cxhcrhqc.js.gz +0 -0
  256. package/web/chunk-e3d6kvwm.js +1 -0
  257. package/web/chunk-e3d6kvwm.js.br +0 -0
  258. package/web/chunk-e3d6kvwm.js.gz +0 -0
  259. package/web/chunk-ee67ps6t.js +1 -0
  260. package/web/chunk-ee67ps6t.js.br +0 -0
  261. package/web/chunk-ee67ps6t.js.gz +0 -0
  262. package/web/chunk-ekwmp0s0.js +1 -0
  263. package/web/chunk-ekwmp0s0.js.br +0 -0
  264. package/web/chunk-ekwmp0s0.js.gz +0 -0
  265. package/web/chunk-eq28qb33.js +2 -0
  266. package/web/chunk-eq28qb33.js.br +3 -0
  267. package/web/chunk-eq28qb33.js.gz +0 -0
  268. package/web/chunk-f8ac76br.js +2 -0
  269. package/web/chunk-f8ac76br.js.br +3 -0
  270. package/web/chunk-f8ac76br.js.gz +0 -0
  271. package/web/chunk-fp7q643n.js +36 -0
  272. package/web/chunk-fp7q643n.js.br +0 -0
  273. package/web/chunk-fp7q643n.js.gz +0 -0
  274. package/web/chunk-g1penf6y.js +2 -0
  275. package/web/chunk-g1penf6y.js.br +0 -0
  276. package/web/chunk-g1penf6y.js.gz +0 -0
  277. package/web/chunk-g7t1bvvx.js +2 -0
  278. package/web/chunk-g7t1bvvx.js.br +0 -0
  279. package/web/chunk-g7t1bvvx.js.gz +0 -0
  280. package/web/chunk-gf4ky7tp.js +8 -0
  281. package/web/chunk-gf4ky7tp.js.br +0 -0
  282. package/web/chunk-gf4ky7tp.js.gz +0 -0
  283. package/web/chunk-gtcjwz0j.js +1 -0
  284. package/web/chunk-gtcjwz0j.js.br +2 -0
  285. package/web/chunk-gtcjwz0j.js.gz +0 -0
  286. package/web/chunk-gy2y4zfa.js +21 -0
  287. package/web/chunk-gy2y4zfa.js.br +0 -0
  288. package/web/chunk-gy2y4zfa.js.gz +0 -0
  289. package/web/chunk-h1cv1kke.js +16 -0
  290. package/web/chunk-h1cv1kke.js.br +0 -0
  291. package/web/chunk-h1cv1kke.js.gz +0 -0
  292. package/web/chunk-h6k80vqf.js +1 -0
  293. package/web/chunk-h6k80vqf.js.br +0 -0
  294. package/web/chunk-h6k80vqf.js.gz +0 -0
  295. package/web/chunk-hqtm67yw.js +24 -0
  296. package/web/chunk-hqtm67yw.js.br +0 -0
  297. package/web/chunk-hqtm67yw.js.gz +0 -0
  298. package/web/chunk-hsgtzrkh.js +1 -0
  299. package/web/chunk-hsgtzrkh.js.br +0 -0
  300. package/web/chunk-hsgtzrkh.js.gz +0 -0
  301. package/web/chunk-htn0dt64.js +2 -0
  302. package/web/chunk-htn0dt64.js.br +0 -0
  303. package/web/chunk-htn0dt64.js.gz +0 -0
  304. package/web/chunk-j7phw79h.js +1 -0
  305. package/web/chunk-j7phw79h.js.br +0 -0
  306. package/web/chunk-j7phw79h.js.gz +0 -0
  307. package/web/chunk-k69ysa0v.js +1 -0
  308. package/web/chunk-k69ysa0v.js.br +0 -0
  309. package/web/chunk-k69ysa0v.js.gz +0 -0
  310. package/web/chunk-k7h5g8qj.js +1 -0
  311. package/web/chunk-k7h5g8qj.js.br +2 -0
  312. package/web/chunk-k7h5g8qj.js.gz +0 -0
  313. package/web/chunk-k8x1xbf6.js +1 -0
  314. package/web/chunk-k8x1xbf6.js.br +0 -0
  315. package/web/chunk-k8x1xbf6.js.gz +0 -0
  316. package/web/chunk-k8yyb4wc.js +2 -0
  317. package/web/chunk-k8yyb4wc.js.br +0 -0
  318. package/web/chunk-k8yyb4wc.js.gz +0 -0
  319. package/web/chunk-kbvzxsz7.js +324 -0
  320. package/web/chunk-kbvzxsz7.js.br +0 -0
  321. package/web/chunk-kbvzxsz7.js.gz +0 -0
  322. package/web/chunk-kn9bc5z2.js +291 -0
  323. package/web/chunk-kn9bc5z2.js.br +0 -0
  324. package/web/chunk-kn9bc5z2.js.gz +0 -0
  325. package/web/chunk-ksr360js.js +4 -0
  326. package/web/chunk-ksr360js.js.br +0 -0
  327. package/web/chunk-ksr360js.js.gz +0 -0
  328. package/web/chunk-m5nt857c.js +1 -0
  329. package/web/chunk-m5nt857c.js.br +0 -0
  330. package/web/chunk-m5nt857c.js.gz +0 -0
  331. package/web/chunk-mbaw66b5.js +2 -0
  332. package/web/chunk-mbaw66b5.js.br +0 -0
  333. package/web/chunk-mbaw66b5.js.gz +0 -0
  334. package/web/chunk-ms7cscs9.js +1 -0
  335. package/web/chunk-ms7cscs9.js.br +0 -0
  336. package/web/chunk-ms7cscs9.js.gz +0 -0
  337. package/web/chunk-msn8bpe6.js +1 -0
  338. package/web/chunk-msn8bpe6.js.br +0 -0
  339. package/web/chunk-msn8bpe6.js.gz +0 -0
  340. package/web/chunk-n59nyqcr.js +303 -0
  341. package/web/chunk-n59nyqcr.js.br +0 -0
  342. package/web/chunk-n59nyqcr.js.gz +0 -0
  343. package/web/chunk-n9npqkxf.js +1 -0
  344. package/web/chunk-n9npqkxf.js.br +0 -0
  345. package/web/chunk-n9npqkxf.js.gz +0 -0
  346. package/web/chunk-nb3jk1wk.js +1 -0
  347. package/web/chunk-nb3jk1wk.js.br +0 -0
  348. package/web/chunk-nb3jk1wk.js.gz +0 -0
  349. package/web/chunk-ny87aq2j.js +1 -0
  350. package/web/chunk-ny87aq2j.js.br +0 -0
  351. package/web/chunk-ny87aq2j.js.gz +0 -0
  352. package/web/chunk-phr7yps3.js +3 -0
  353. package/web/chunk-phr7yps3.js.br +0 -0
  354. package/web/chunk-phr7yps3.js.gz +0 -0
  355. package/web/chunk-ppccb30x.js +78 -0
  356. package/web/chunk-ppccb30x.js.br +0 -0
  357. package/web/chunk-ppccb30x.js.gz +0 -0
  358. package/web/chunk-q0kx0wyj.js +2 -0
  359. package/web/chunk-q0kx0wyj.js.br +0 -0
  360. package/web/chunk-q0kx0wyj.js.gz +0 -0
  361. package/web/chunk-q17rem99.js +89 -0
  362. package/web/chunk-q17rem99.js.br +0 -0
  363. package/web/chunk-q17rem99.js.gz +0 -0
  364. package/web/chunk-qdq6wvgt.js +139 -0
  365. package/web/chunk-qdq6wvgt.js.br +0 -0
  366. package/web/chunk-qdq6wvgt.js.gz +0 -0
  367. package/web/chunk-qhr6hegh.js +1 -0
  368. package/web/chunk-qhr6hegh.js.br +0 -0
  369. package/web/chunk-qhr6hegh.js.gz +0 -0
  370. package/web/chunk-qjswcwvm.js +1 -0
  371. package/web/chunk-qjswcwvm.js.br +0 -0
  372. package/web/chunk-qjswcwvm.js.gz +0 -0
  373. package/web/chunk-qqtj88e0.js +2 -0
  374. package/web/chunk-qqtj88e0.js.br +0 -0
  375. package/web/chunk-qqtj88e0.js.gz +0 -0
  376. package/web/chunk-r165xpp5.js +1 -0
  377. package/web/chunk-r165xpp5.js.br +0 -0
  378. package/web/chunk-r165xpp5.js.gz +0 -0
  379. package/web/chunk-r4cr8rvt.js +1 -0
  380. package/web/chunk-r4cr8rvt.js.br +0 -0
  381. package/web/chunk-r4cr8rvt.js.gz +0 -0
  382. package/web/chunk-sapy54hm.js +106 -0
  383. package/web/chunk-sapy54hm.js.br +0 -0
  384. package/web/chunk-sapy54hm.js.gz +0 -0
  385. package/web/chunk-sarkb4p9.js +12 -0
  386. package/web/chunk-sarkb4p9.js.br +0 -0
  387. package/web/chunk-sarkb4p9.js.gz +0 -0
  388. package/web/chunk-t7vwsg9r.js +292 -0
  389. package/web/chunk-t7vwsg9r.js.br +0 -0
  390. package/web/chunk-t7vwsg9r.js.gz +0 -0
  391. package/web/chunk-ta913rgd.js +2 -0
  392. package/web/chunk-ta913rgd.js.br +0 -0
  393. package/web/chunk-ta913rgd.js.gz +0 -0
  394. package/web/chunk-tt7j0m6m.js +7 -0
  395. package/web/chunk-tt7j0m6m.js.br +0 -0
  396. package/web/chunk-tt7j0m6m.js.gz +0 -0
  397. package/web/chunk-v36p2ccs.js +2 -0
  398. package/web/chunk-v36p2ccs.js.br +0 -0
  399. package/web/chunk-v36p2ccs.js.gz +0 -0
  400. package/web/chunk-va1rkfan.js +1 -0
  401. package/web/chunk-va1rkfan.js.br +0 -0
  402. package/web/chunk-va1rkfan.js.gz +0 -0
  403. package/web/chunk-vb3sy3hv.js +39 -0
  404. package/web/chunk-vb3sy3hv.js.br +0 -0
  405. package/web/chunk-vb3sy3hv.js.gz +0 -0
  406. package/web/chunk-vgpyff03.js +41 -0
  407. package/web/chunk-vgpyff03.js.br +0 -0
  408. package/web/chunk-vgpyff03.js.gz +0 -0
  409. package/web/chunk-vmpry714.js +1 -0
  410. package/web/chunk-vmpry714.js.br +0 -0
  411. package/web/chunk-vmpry714.js.gz +0 -0
  412. package/web/chunk-vrtdjg91.js +1 -0
  413. package/web/chunk-vrtdjg91.js.br +0 -0
  414. package/web/chunk-vrtdjg91.js.gz +0 -0
  415. package/web/chunk-vx6qbmd7.js +2 -0
  416. package/web/chunk-vx6qbmd7.js.br +0 -0
  417. package/web/chunk-vx6qbmd7.js.gz +0 -0
  418. package/web/chunk-w563538j.js +370 -0
  419. package/web/chunk-w563538j.js.br +0 -0
  420. package/web/chunk-w563538j.js.gz +0 -0
  421. package/web/chunk-w71t7mes.js +1 -0
  422. package/web/chunk-w71t7mes.js.br +0 -0
  423. package/web/chunk-w71t7mes.js.gz +0 -0
  424. package/web/chunk-w96etr1w.js +1 -0
  425. package/web/chunk-w96etr1w.js.br +0 -0
  426. package/web/chunk-w96etr1w.js.gz +0 -0
  427. package/web/chunk-wrqazg2v.js +2 -0
  428. package/web/chunk-wrqazg2v.js.br +0 -0
  429. package/web/chunk-wrqazg2v.js.gz +0 -0
  430. package/web/chunk-xsyrxa45.js +2 -0
  431. package/web/chunk-xsyrxa45.js.br +0 -0
  432. package/web/chunk-xsyrxa45.js.gz +0 -0
  433. package/web/chunk-xv1d350x.js +1 -0
  434. package/web/chunk-xv1d350x.js.br +0 -0
  435. package/web/chunk-xv1d350x.js.gz +0 -0
  436. package/web/chunk-xw8tzrmm.js +1135 -0
  437. package/web/chunk-xw8tzrmm.js.br +0 -0
  438. package/web/chunk-xw8tzrmm.js.gz +0 -0
  439. package/web/chunk-xwsh4jx7.js +1 -0
  440. package/web/chunk-xwsh4jx7.js.br +2 -0
  441. package/web/chunk-xwsh4jx7.js.gz +0 -0
  442. package/web/chunk-xxk7xkrs.js +1 -0
  443. package/web/chunk-xxk7xkrs.js.br +0 -0
  444. package/web/chunk-xxk7xkrs.js.gz +0 -0
  445. package/web/chunk-y5zd05mz.js +40 -0
  446. package/web/chunk-y5zd05mz.js.br +0 -0
  447. package/web/chunk-y5zd05mz.js.gz +0 -0
  448. package/web/chunk-yg9a23mv.js +1 -0
  449. package/web/chunk-yg9a23mv.js.br +0 -0
  450. package/web/chunk-yg9a23mv.js.gz +0 -0
  451. package/web/chunk-ygzgrjj7.js +7 -0
  452. package/web/chunk-ygzgrjj7.js.br +0 -0
  453. package/web/chunk-ygzgrjj7.js.gz +0 -0
  454. package/web/chunk-yp75a6yh.js +4 -0
  455. package/web/chunk-yp75a6yh.js.br +0 -0
  456. package/web/chunk-yp75a6yh.js.gz +0 -0
  457. package/web/chunk-yygayy5a.js +1 -0
  458. package/web/chunk-yygayy5a.js.br +0 -0
  459. package/web/chunk-yygayy5a.js.gz +0 -0
  460. package/web/chunk-za5j3w7x.js +2 -0
  461. package/web/chunk-za5j3w7x.js.br +0 -0
  462. package/web/chunk-za5j3w7x.js.gz +0 -0
  463. package/web/chunk-zs7c2db4.js +1 -0
  464. package/web/chunk-zs7c2db4.js.br +0 -0
  465. package/web/chunk-zs7c2db4.js.gz +0 -0
  466. package/web/chunk-zsae1tn8.js +98 -0
  467. package/web/chunk-zsae1tn8.js.br +0 -0
  468. package/web/chunk-zsae1tn8.js.gz +0 -0
  469. package/web/index.html +1 -1
  470. package/web/index.html.br +0 -0
  471. package/web/index.html.gz +0 -0
  472. package/worker.js +1 -1
  473. package/chunk-01g872ez.js +0 -3
  474. package/chunk-078td1r4.js +0 -7
  475. package/chunk-1mhv12a5.js +0 -3
  476. package/chunk-1zrht78t.js +0 -2
  477. package/chunk-2e4xds74.js +0 -18
  478. package/chunk-2hkpqjqj.js +0 -3
  479. package/chunk-2mhpgb4t.js +0 -2
  480. package/chunk-3nwqng5t.js +0 -59
  481. package/chunk-3zm1ejmh.js +0 -3
  482. package/chunk-4d9p68s9.js +0 -3
  483. package/chunk-5znfck4s.js +0 -5
  484. package/chunk-6048rq29.js +0 -8
  485. package/chunk-61zk13qr.js +0 -3
  486. package/chunk-62ty404c.js +0 -2
  487. package/chunk-6vp2nqbj.js +0 -2
  488. package/chunk-7a5derff.js +0 -25
  489. package/chunk-7qhbff72.js +0 -5
  490. package/chunk-7xw6fpx3.js +0 -3
  491. package/chunk-84rk4tew.js +0 -2
  492. package/chunk-8wb8yr7d.js +0 -12
  493. package/chunk-93b76hhg.js +0 -11
  494. package/chunk-9h05aqdd.js +0 -25
  495. package/chunk-a2jsx2ew.js +0 -3
  496. package/chunk-a2qwx6cr.js +0 -2
  497. package/chunk-a7h459z1.js +0 -2
  498. package/chunk-atjwde1c.js +0 -2
  499. package/chunk-bk20awc9.js +0 -10
  500. package/chunk-bm2jhkqt.js +0 -3
  501. package/chunk-bp4zk5ch.js +0 -3
  502. package/chunk-c5ess8kd.js +0 -3
  503. package/chunk-cj7yhgnd.js +0 -2
  504. package/chunk-cjq2bzkf.js +0 -3
  505. package/chunk-csrpxzn7.js +0 -3
  506. package/chunk-cwesdh51.js +0 -39
  507. package/chunk-dt594v3d.js +0 -9
  508. package/chunk-dwxp0gtf.js +0 -4
  509. package/chunk-ejdewe04.js +0 -3
  510. package/chunk-fkzk83xs.js +0 -2
  511. package/chunk-fsnc2sja.js +0 -3
  512. package/chunk-g18hxgdr.js +0 -12
  513. package/chunk-hfwy0rzt.js +0 -10
  514. package/chunk-hg5wmrfb.js +0 -3
  515. package/chunk-hvex6qjc.js +0 -5
  516. package/chunk-hw8xknv5.js +0 -2
  517. package/chunk-j91wgfzj.js +0 -2
  518. package/chunk-jyx4ynyp.js +0 -3
  519. package/chunk-jz1pavma.js +0 -20
  520. package/chunk-kjjrmfmt.js +0 -2
  521. package/chunk-kz1ja7t7.js +0 -31
  522. package/chunk-mh4s6m7e.js +0 -2
  523. package/chunk-n0g6w24y.js +0 -3
  524. package/chunk-nnp82zvz.js +0 -5
  525. package/chunk-p34keb5j.js +0 -3
  526. package/chunk-pcxaycc3.js +0 -3560
  527. package/chunk-pdwexj34.js +0 -16
  528. package/chunk-phpse938.js +0 -3
  529. package/chunk-pt14ba7d.js +0 -15
  530. package/chunk-q0hvv6bh.js +0 -390
  531. package/chunk-qd4xtknk.js +0 -2
  532. package/chunk-qfg0dr8f.js +0 -2
  533. package/chunk-qnrkh3ca.js +0 -7
  534. package/chunk-r1t5yhee.js +0 -7
  535. package/chunk-r5na5qx5.js +0 -2
  536. package/chunk-r7a6q57s.js +0 -2
  537. package/chunk-smsn4ebc.js +0 -4
  538. package/chunk-sqr8tx1m.js +0 -471
  539. package/chunk-t4twa09y.js +0 -2
  540. package/chunk-tjs6h6zk.js +0 -4
  541. package/chunk-tvbh69tm.js +0 -3
  542. package/chunk-tvv9yfqv.js +0 -11
  543. package/chunk-vbdf5psp.js +0 -2
  544. package/chunk-vr60qwyg.js +0 -2
  545. package/chunk-w509y6w6.js +0 -2
  546. package/chunk-w7n83ye7.js +0 -7
  547. package/chunk-wacjm9ww.js +0 -3
  548. package/chunk-xex050bc.js +0 -3
  549. package/chunk-y0fgbrkc.js +0 -2
  550. package/chunk-ysfpdxjy.js +0 -3
  551. package/chunk-ytsnns2n.js +0 -2
  552. package/chunk-zwgdbrbg.js +0 -2
  553. package/chunk-zz7qjanc.js +0 -2
  554. package/web/chunk-07q4pdkf.js +0 -1
  555. package/web/chunk-07q4pdkf.js.br +0 -0
  556. package/web/chunk-07q4pdkf.js.gz +0 -0
  557. package/web/chunk-0s237vb2.js +0 -2
  558. package/web/chunk-0s237vb2.js.br +0 -0
  559. package/web/chunk-0s237vb2.js.gz +0 -0
  560. package/web/chunk-0zbmaspt.js +0 -24
  561. package/web/chunk-0zbmaspt.js.br +0 -0
  562. package/web/chunk-0zbmaspt.js.gz +0 -0
  563. package/web/chunk-11p8z5sv.js +0 -8
  564. package/web/chunk-11p8z5sv.js.br +0 -0
  565. package/web/chunk-11p8z5sv.js.gz +0 -0
  566. package/web/chunk-1axadk7j.js +0 -2
  567. package/web/chunk-1axadk7j.js.br +0 -0
  568. package/web/chunk-1axadk7j.js.gz +0 -0
  569. package/web/chunk-1ebz6hbk.js +0 -1
  570. package/web/chunk-1ebz6hbk.js.br +0 -0
  571. package/web/chunk-1ebz6hbk.js.gz +0 -0
  572. package/web/chunk-1pg22vjr.js +0 -38
  573. package/web/chunk-1pg22vjr.js.br +0 -0
  574. package/web/chunk-1pg22vjr.js.gz +0 -0
  575. package/web/chunk-1ys90q5s.js +0 -1
  576. package/web/chunk-1ys90q5s.js.br +0 -0
  577. package/web/chunk-1ys90q5s.js.gz +0 -0
  578. package/web/chunk-1zd8azrg.js +0 -34
  579. package/web/chunk-1zd8azrg.js.br +0 -0
  580. package/web/chunk-1zd8azrg.js.gz +0 -0
  581. package/web/chunk-22rjbwxp.js +0 -303
  582. package/web/chunk-22rjbwxp.js.br +0 -0
  583. package/web/chunk-22rjbwxp.js.gz +0 -0
  584. package/web/chunk-2eg9t1mz.js +0 -2
  585. package/web/chunk-2eg9t1mz.js.br +0 -0
  586. package/web/chunk-2eg9t1mz.js.gz +0 -0
  587. package/web/chunk-2emc5sd7.js +0 -12
  588. package/web/chunk-2emc5sd7.js.br +0 -0
  589. package/web/chunk-2emc5sd7.js.gz +0 -0
  590. package/web/chunk-2gj9yydt.js +0 -2
  591. package/web/chunk-2gj9yydt.js.br +0 -0
  592. package/web/chunk-2gj9yydt.js.gz +0 -0
  593. package/web/chunk-2kwn5gsx.js +0 -1
  594. package/web/chunk-2kwn5gsx.js.br +0 -0
  595. package/web/chunk-2kwn5gsx.js.gz +0 -0
  596. package/web/chunk-2r84nrwk.js +0 -99
  597. package/web/chunk-2r84nrwk.js.br +0 -0
  598. package/web/chunk-2r84nrwk.js.gz +0 -0
  599. package/web/chunk-3abhxhtv.js +0 -2
  600. package/web/chunk-3abhxhtv.js.br +0 -0
  601. package/web/chunk-3abhxhtv.js.gz +0 -0
  602. package/web/chunk-3cgxntbk.js +0 -2
  603. package/web/chunk-3cgxntbk.js.br +0 -0
  604. package/web/chunk-3cgxntbk.js.gz +0 -0
  605. package/web/chunk-3g3n9pc5.js +0 -332
  606. package/web/chunk-3g3n9pc5.js.br +0 -0
  607. package/web/chunk-3g3n9pc5.js.gz +0 -0
  608. package/web/chunk-3qmpdzq2.js +0 -1
  609. package/web/chunk-3qmpdzq2.js.br +0 -0
  610. package/web/chunk-3qmpdzq2.js.gz +0 -0
  611. package/web/chunk-3rxjewe5.js +0 -2
  612. package/web/chunk-3rxjewe5.js.br +0 -0
  613. package/web/chunk-3rxjewe5.js.gz +0 -0
  614. package/web/chunk-3vh17h7n.js +0 -62
  615. package/web/chunk-3vh17h7n.js.br +0 -0
  616. package/web/chunk-3vh17h7n.js.gz +0 -0
  617. package/web/chunk-49ywdzda.js +0 -36
  618. package/web/chunk-49ywdzda.js.br +0 -0
  619. package/web/chunk-49ywdzda.js.gz +0 -0
  620. package/web/chunk-5ch8rwjz.js +0 -2
  621. package/web/chunk-5ch8rwjz.js.br +0 -0
  622. package/web/chunk-5ch8rwjz.js.gz +0 -0
  623. package/web/chunk-5k1xca5m.js +0 -324
  624. package/web/chunk-5k1xca5m.js.br +0 -0
  625. package/web/chunk-5k1xca5m.js.gz +0 -0
  626. package/web/chunk-5t1yv276.js +0 -1
  627. package/web/chunk-5t1yv276.js.br +0 -0
  628. package/web/chunk-5t1yv276.js.gz +0 -0
  629. package/web/chunk-612xftnp.js +0 -1
  630. package/web/chunk-612xftnp.js.br +0 -0
  631. package/web/chunk-612xftnp.js.gz +0 -0
  632. package/web/chunk-6183jmyq.js +0 -2
  633. package/web/chunk-6183jmyq.js.br +0 -0
  634. package/web/chunk-6183jmyq.js.gz +0 -0
  635. package/web/chunk-66zp24sf.js +0 -2
  636. package/web/chunk-66zp24sf.js.br +0 -0
  637. package/web/chunk-66zp24sf.js.gz +0 -0
  638. package/web/chunk-67wywbgr.js +0 -2
  639. package/web/chunk-67wywbgr.js.br +0 -0
  640. package/web/chunk-67wywbgr.js.gz +0 -0
  641. package/web/chunk-6j0d6131.js +0 -1
  642. package/web/chunk-6j0d6131.js.br +0 -0
  643. package/web/chunk-6j0d6131.js.gz +0 -0
  644. package/web/chunk-79tbvvqj.js +0 -1
  645. package/web/chunk-79tbvvqj.js.br +0 -0
  646. package/web/chunk-79tbvvqj.js.gz +0 -0
  647. package/web/chunk-7bcksmqx.js +0 -2
  648. package/web/chunk-7bcksmqx.js.br +0 -0
  649. package/web/chunk-7bcksmqx.js.gz +0 -0
  650. package/web/chunk-7c2zkqgd.js +0 -89
  651. package/web/chunk-7c2zkqgd.js.br +0 -0
  652. package/web/chunk-7c2zkqgd.js.gz +0 -0
  653. package/web/chunk-7ed42dqv.js +0 -1
  654. package/web/chunk-7ed42dqv.js.br +0 -0
  655. package/web/chunk-7ed42dqv.js.gz +0 -0
  656. package/web/chunk-7mzdjjha.js +0 -1
  657. package/web/chunk-7mzdjjha.js.br +0 -0
  658. package/web/chunk-7mzdjjha.js.gz +0 -0
  659. package/web/chunk-7t1sb86g.js +0 -2
  660. package/web/chunk-7t1sb86g.js.br +0 -0
  661. package/web/chunk-7t1sb86g.js.gz +0 -0
  662. package/web/chunk-7t5kzbp1.js +0 -1
  663. package/web/chunk-7t5kzbp1.js.br +0 -0
  664. package/web/chunk-7t5kzbp1.js.gz +0 -0
  665. package/web/chunk-7tmzvm05.js +0 -2
  666. package/web/chunk-7tmzvm05.js.br +0 -0
  667. package/web/chunk-7tmzvm05.js.gz +0 -0
  668. package/web/chunk-80k4k6aw.js +0 -7
  669. package/web/chunk-80k4k6aw.js.br +0 -0
  670. package/web/chunk-80k4k6aw.js.gz +0 -0
  671. package/web/chunk-8tvy5xbr.js +0 -217
  672. package/web/chunk-8tvy5xbr.js.br +0 -0
  673. package/web/chunk-8tvy5xbr.js.gz +0 -0
  674. package/web/chunk-95jr0f0q.js +0 -139
  675. package/web/chunk-95jr0f0q.js.br +0 -0
  676. package/web/chunk-95jr0f0q.js.gz +0 -0
  677. package/web/chunk-9h6ayn54.js +0 -16
  678. package/web/chunk-9h6ayn54.js.br +0 -0
  679. package/web/chunk-9h6ayn54.js.gz +0 -0
  680. package/web/chunk-9jzpxvwa.js +0 -106
  681. package/web/chunk-9jzpxvwa.js.br +0 -0
  682. package/web/chunk-9jzpxvwa.js.gz +0 -0
  683. package/web/chunk-9mdbahpr.js +0 -2
  684. package/web/chunk-9mdbahpr.js.br +0 -0
  685. package/web/chunk-9mdbahpr.js.gz +0 -0
  686. package/web/chunk-9w6mjqgp.js +0 -1
  687. package/web/chunk-9w6mjqgp.js.br +0 -0
  688. package/web/chunk-9w6mjqgp.js.gz +0 -0
  689. package/web/chunk-9xb3j03w.js +0 -142
  690. package/web/chunk-9xb3j03w.js.br +0 -0
  691. package/web/chunk-9xb3j03w.js.gz +0 -0
  692. package/web/chunk-abzt3tzj.js +0 -1
  693. package/web/chunk-abzt3tzj.js.br +0 -0
  694. package/web/chunk-abzt3tzj.js.gz +0 -0
  695. package/web/chunk-ahebswgf.js +0 -1
  696. package/web/chunk-ahebswgf.js.br +0 -0
  697. package/web/chunk-ahebswgf.js.gz +0 -0
  698. package/web/chunk-ahsw5yz2.js +0 -2
  699. package/web/chunk-ahsw5yz2.js.br +0 -0
  700. package/web/chunk-ahsw5yz2.js.gz +0 -0
  701. package/web/chunk-b21jhnc3.js +0 -1
  702. package/web/chunk-b21jhnc3.js.br +0 -2
  703. package/web/chunk-b21jhnc3.js.gz +0 -0
  704. package/web/chunk-b3cn4qmw.js +0 -1
  705. package/web/chunk-b3cn4qmw.js.br +0 -0
  706. package/web/chunk-b3cn4qmw.js.gz +0 -0
  707. package/web/chunk-b4qxx7jx.js +0 -2
  708. package/web/chunk-b4qxx7jx.js.br +0 -0
  709. package/web/chunk-b4qxx7jx.js.gz +0 -0
  710. package/web/chunk-b79d9r5v.js +0 -98
  711. package/web/chunk-b79d9r5v.js.br +0 -0
  712. package/web/chunk-b79d9r5v.js.gz +0 -0
  713. package/web/chunk-b9x115jw.css +0 -1
  714. package/web/chunk-b9x115jw.css.br +0 -0
  715. package/web/chunk-b9x115jw.css.gz +0 -0
  716. package/web/chunk-bbnamv1j.js +0 -1
  717. package/web/chunk-bbnamv1j.js.br +0 -2
  718. package/web/chunk-bbnamv1j.js.gz +0 -0
  719. package/web/chunk-bgqfryh2.js +0 -1
  720. package/web/chunk-bgqfryh2.js.br +0 -0
  721. package/web/chunk-bgqfryh2.js.gz +0 -0
  722. package/web/chunk-bjrnqvf4.js +0 -1
  723. package/web/chunk-bjrnqvf4.js.br +0 -0
  724. package/web/chunk-bjrnqvf4.js.gz +0 -0
  725. package/web/chunk-d0bt1ypq.js +0 -140
  726. package/web/chunk-d0bt1ypq.js.br +0 -0
  727. package/web/chunk-d0bt1ypq.js.gz +0 -0
  728. package/web/chunk-dk3dpdnc.js +0 -4
  729. package/web/chunk-dk3dpdnc.js.br +0 -0
  730. package/web/chunk-dk3dpdnc.js.gz +0 -0
  731. package/web/chunk-dr35dsw5.js +0 -1
  732. package/web/chunk-dr35dsw5.js.br +0 -0
  733. package/web/chunk-dr35dsw5.js.gz +0 -0
  734. package/web/chunk-dy9amqbz.js +0 -1
  735. package/web/chunk-dy9amqbz.js.br +0 -0
  736. package/web/chunk-dy9amqbz.js.gz +0 -0
  737. package/web/chunk-e039ekp7.js +0 -89
  738. package/web/chunk-e039ekp7.js.br +0 -0
  739. package/web/chunk-e039ekp7.js.gz +0 -0
  740. package/web/chunk-e2e2fdwq.js +0 -30
  741. package/web/chunk-e2e2fdwq.js.br +0 -0
  742. package/web/chunk-e2e2fdwq.js.gz +0 -0
  743. package/web/chunk-e5j1v42p.js +0 -7
  744. package/web/chunk-e5j1v42p.js.br +0 -0
  745. package/web/chunk-e5j1v42p.js.gz +0 -0
  746. package/web/chunk-emsyqa1e.js +0 -1
  747. package/web/chunk-emsyqa1e.js.br +0 -0
  748. package/web/chunk-emsyqa1e.js.gz +0 -0
  749. package/web/chunk-en7n9d1p.js +0 -41
  750. package/web/chunk-en7n9d1p.js.br +0 -0
  751. package/web/chunk-en7n9d1p.js.gz +0 -0
  752. package/web/chunk-ez4yt1s1.js +0 -1
  753. package/web/chunk-ez4yt1s1.js.br +0 -0
  754. package/web/chunk-ez4yt1s1.js.gz +0 -0
  755. package/web/chunk-fe2hpamc.js +0 -200
  756. package/web/chunk-fe2hpamc.js.br +0 -0
  757. package/web/chunk-fe2hpamc.js.gz +0 -0
  758. package/web/chunk-fm7saxzr.js +0 -1
  759. package/web/chunk-fm7saxzr.js.br +0 -0
  760. package/web/chunk-fm7saxzr.js.gz +0 -0
  761. package/web/chunk-fz5d3ayq.js +0 -2
  762. package/web/chunk-fz5d3ayq.js.br +0 -0
  763. package/web/chunk-fz5d3ayq.js.gz +0 -0
  764. package/web/chunk-gc1ypgy4.js +0 -1
  765. package/web/chunk-gc1ypgy4.js.br +0 -0
  766. package/web/chunk-gc1ypgy4.js.gz +0 -0
  767. package/web/chunk-h23pczjh.js +0 -40
  768. package/web/chunk-h23pczjh.js.br +0 -0
  769. package/web/chunk-h23pczjh.js.gz +0 -0
  770. package/web/chunk-h2sttxfn.js +0 -1
  771. package/web/chunk-h2sttxfn.js.br +0 -2
  772. package/web/chunk-h2sttxfn.js.gz +0 -0
  773. package/web/chunk-h5m9ggsm.js +0 -2
  774. package/web/chunk-h5m9ggsm.js.br +0 -0
  775. package/web/chunk-h5m9ggsm.js.gz +0 -0
  776. package/web/chunk-h5zc1hw5.js +0 -1
  777. package/web/chunk-h5zc1hw5.js.br +0 -0
  778. package/web/chunk-h5zc1hw5.js.gz +0 -0
  779. package/web/chunk-hkg6bts9.js +0 -1
  780. package/web/chunk-hkg6bts9.js.br +0 -0
  781. package/web/chunk-hkg6bts9.js.gz +0 -0
  782. package/web/chunk-hncdpeer.js +0 -120
  783. package/web/chunk-hncdpeer.js.br +0 -0
  784. package/web/chunk-hncdpeer.js.gz +0 -0
  785. package/web/chunk-j40wechd.js +0 -2
  786. package/web/chunk-j40wechd.js.br +0 -0
  787. package/web/chunk-j40wechd.js.gz +0 -0
  788. package/web/chunk-jddmse74.js +0 -169
  789. package/web/chunk-jddmse74.js.br +0 -0
  790. package/web/chunk-jddmse74.js.gz +0 -0
  791. package/web/chunk-jdvdg38q.js +0 -3
  792. package/web/chunk-jdvdg38q.js.br +0 -0
  793. package/web/chunk-jdvdg38q.js.gz +0 -0
  794. package/web/chunk-jf6q93m9.js +0 -1
  795. package/web/chunk-jf6q93m9.js.br +0 -0
  796. package/web/chunk-jf6q93m9.js.gz +0 -0
  797. package/web/chunk-jfd1gybx.js +0 -39
  798. package/web/chunk-jfd1gybx.js.br +0 -0
  799. package/web/chunk-jfd1gybx.js.gz +0 -0
  800. package/web/chunk-jkgkt722.js +0 -1
  801. package/web/chunk-jkgkt722.js.br +0 -0
  802. package/web/chunk-jkgkt722.js.gz +0 -0
  803. package/web/chunk-k427fwgp.js +0 -1
  804. package/web/chunk-k427fwgp.js.br +0 -0
  805. package/web/chunk-k427fwgp.js.gz +0 -0
  806. package/web/chunk-k8pezbya.js +0 -2
  807. package/web/chunk-k8pezbya.js.br +0 -3
  808. package/web/chunk-k8pezbya.js.gz +0 -0
  809. package/web/chunk-k9t941fj.js +0 -1
  810. package/web/chunk-k9t941fj.js.br +0 -0
  811. package/web/chunk-k9t941fj.js.gz +0 -0
  812. package/web/chunk-kkzwvnft.js +0 -1
  813. package/web/chunk-kkzwvnft.js.br +0 -0
  814. package/web/chunk-kkzwvnft.js.gz +0 -0
  815. package/web/chunk-kpm8gp4z.js +0 -292
  816. package/web/chunk-kpm8gp4z.js.br +0 -0
  817. package/web/chunk-kpm8gp4z.js.gz +0 -0
  818. package/web/chunk-kqyk2an3.js +0 -214
  819. package/web/chunk-kqyk2an3.js.br +0 -0
  820. package/web/chunk-kqyk2an3.js.gz +0 -0
  821. package/web/chunk-m3gryxba.js +0 -2
  822. package/web/chunk-m3gryxba.js.br +0 -0
  823. package/web/chunk-m3gryxba.js.gz +0 -0
  824. package/web/chunk-m8h3c5x3.js +0 -1
  825. package/web/chunk-m8h3c5x3.js.br +0 -0
  826. package/web/chunk-m8h3c5x3.js.gz +0 -0
  827. package/web/chunk-mb7sr4tf.js +0 -55
  828. package/web/chunk-mb7sr4tf.js.br +0 -0
  829. package/web/chunk-mb7sr4tf.js.gz +0 -0
  830. package/web/chunk-meqcd10n.js +0 -1
  831. package/web/chunk-meqcd10n.js.br +0 -0
  832. package/web/chunk-meqcd10n.js.gz +0 -0
  833. package/web/chunk-msrq7vsz.js +0 -7
  834. package/web/chunk-msrq7vsz.js.br +0 -0
  835. package/web/chunk-msrq7vsz.js.gz +0 -0
  836. package/web/chunk-n1n55yt8.js +0 -84
  837. package/web/chunk-n1n55yt8.js.br +0 -0
  838. package/web/chunk-n1n55yt8.js.gz +0 -0
  839. package/web/chunk-nmnyaawa.js +0 -24
  840. package/web/chunk-nmnyaawa.js.br +0 -0
  841. package/web/chunk-nmnyaawa.js.gz +0 -0
  842. package/web/chunk-nwepnbvn.js +0 -70
  843. package/web/chunk-nwepnbvn.js.br +0 -0
  844. package/web/chunk-nwepnbvn.js.gz +0 -0
  845. package/web/chunk-p2cmfhpz.js +0 -2
  846. package/web/chunk-p2cmfhpz.js.br +0 -0
  847. package/web/chunk-p2cmfhpz.js.gz +0 -0
  848. package/web/chunk-pac9nyhp.js +0 -2
  849. package/web/chunk-pac9nyhp.js.br +0 -0
  850. package/web/chunk-pac9nyhp.js.gz +0 -0
  851. package/web/chunk-pdt40dj7.js +0 -1
  852. package/web/chunk-pdt40dj7.js.br +0 -2
  853. package/web/chunk-pdt40dj7.js.gz +0 -0
  854. package/web/chunk-phs38wt7.js +0 -2
  855. package/web/chunk-phs38wt7.js.br +0 -0
  856. package/web/chunk-phs38wt7.js.gz +0 -0
  857. package/web/chunk-prc7b9xh.js +0 -1
  858. package/web/chunk-prc7b9xh.js.br +0 -0
  859. package/web/chunk-prc7b9xh.js.gz +0 -0
  860. package/web/chunk-q1e80chw.js +0 -1
  861. package/web/chunk-q1e80chw.js.br +0 -2
  862. package/web/chunk-q1e80chw.js.gz +0 -0
  863. package/web/chunk-q6sv3fhe.js +0 -2
  864. package/web/chunk-q6sv3fhe.js.br +0 -0
  865. package/web/chunk-q6sv3fhe.js.gz +0 -0
  866. package/web/chunk-rdarpbhd.js +0 -2
  867. package/web/chunk-rdarpbhd.js.br +0 -0
  868. package/web/chunk-rdarpbhd.js.gz +0 -0
  869. package/web/chunk-rf93p28v.js +0 -1
  870. package/web/chunk-rf93p28v.js.br +0 -0
  871. package/web/chunk-rf93p28v.js.gz +0 -0
  872. package/web/chunk-rvmk483c.js +0 -1
  873. package/web/chunk-rvmk483c.js.br +0 -0
  874. package/web/chunk-rvmk483c.js.gz +0 -0
  875. package/web/chunk-s99vfrrz.js +0 -1
  876. package/web/chunk-s99vfrrz.js.br +0 -0
  877. package/web/chunk-s99vfrrz.js.gz +0 -0
  878. package/web/chunk-saem11tv.js +0 -2
  879. package/web/chunk-saem11tv.js.br +0 -0
  880. package/web/chunk-saem11tv.js.gz +0 -0
  881. package/web/chunk-scv8t4m6.js +0 -1
  882. package/web/chunk-scv8t4m6.js.br +0 -0
  883. package/web/chunk-scv8t4m6.js.gz +0 -0
  884. package/web/chunk-stsmcqxe.js +0 -1
  885. package/web/chunk-stsmcqxe.js.br +0 -0
  886. package/web/chunk-stsmcqxe.js.gz +0 -0
  887. package/web/chunk-svaq7f3c.js +0 -1134
  888. package/web/chunk-svaq7f3c.js.br +0 -0
  889. package/web/chunk-svaq7f3c.js.gz +0 -0
  890. package/web/chunk-sy099zt8.js +0 -1
  891. package/web/chunk-sy099zt8.js.br +0 -0
  892. package/web/chunk-sy099zt8.js.gz +0 -0
  893. package/web/chunk-thqrbjwn.js +0 -1
  894. package/web/chunk-thqrbjwn.js.br +0 -2
  895. package/web/chunk-thqrbjwn.js.gz +0 -0
  896. package/web/chunk-ty1m1k6b.js +0 -1
  897. package/web/chunk-ty1m1k6b.js.br +0 -0
  898. package/web/chunk-ty1m1k6b.js.gz +0 -0
  899. package/web/chunk-w54qcqk3.js +0 -1
  900. package/web/chunk-w54qcqk3.js.br +0 -0
  901. package/web/chunk-w54qcqk3.js.gz +0 -0
  902. package/web/chunk-wgf4paqc.js +0 -1
  903. package/web/chunk-wgf4paqc.js.br +0 -0
  904. package/web/chunk-wgf4paqc.js.gz +0 -0
  905. package/web/chunk-x5m7phbb.js +0 -1
  906. package/web/chunk-x5m7phbb.js.br +0 -0
  907. package/web/chunk-x5m7phbb.js.gz +0 -0
  908. package/web/chunk-x9wzj52f.js +0 -2
  909. package/web/chunk-x9wzj52f.js.br +0 -0
  910. package/web/chunk-x9wzj52f.js.gz +0 -0
  911. package/web/chunk-xgfam7bx.js +0 -1
  912. package/web/chunk-xgfam7bx.js.br +0 -0
  913. package/web/chunk-xgfam7bx.js.gz +0 -0
  914. package/web/chunk-xnn07hr4.js +0 -21
  915. package/web/chunk-xnn07hr4.js.br +0 -0
  916. package/web/chunk-xnn07hr4.js.gz +0 -0
  917. package/web/chunk-xreg1e03.js +0 -78
  918. package/web/chunk-xreg1e03.js.br +0 -0
  919. package/web/chunk-xreg1e03.js.gz +0 -0
  920. package/web/chunk-xsxd3wsv.js +0 -4
  921. package/web/chunk-xsxd3wsv.js.br +0 -0
  922. package/web/chunk-xsxd3wsv.js.gz +0 -0
  923. package/web/chunk-y7jebh1j.js +0 -1
  924. package/web/chunk-y7jebh1j.js.br +0 -0
  925. package/web/chunk-y7jebh1j.js.gz +0 -0
  926. package/web/chunk-yhn2mwnb.js +0 -291
  927. package/web/chunk-yhn2mwnb.js.br +0 -0
  928. package/web/chunk-yhn2mwnb.js.gz +0 -0
  929. package/web/chunk-yqwvedf5.js +0 -370
  930. package/web/chunk-yqwvedf5.js.br +0 -0
  931. package/web/chunk-yqwvedf5.js.gz +0 -0
  932. package/web/chunk-z3tr221x.js +0 -1
  933. package/web/chunk-z3tr221x.js.br +0 -0
  934. package/web/chunk-z3tr221x.js.gz +0 -0
  935. package/web/chunk-z4n3tx0q.js +0 -1
  936. package/web/chunk-z4n3tx0q.js.br +0 -0
  937. package/web/chunk-z4n3tx0q.js.gz +0 -0
@@ -1 +0,0 @@
1
- import{Ns}from"./chunk-9xb3j03w.js";export{Ns as createInfoServices};
@@ -1,2 +0,0 @@
1
- �"�import{Ns}from"./chunk-9xb3j03w.js";export{Ns as createInfoServices};
2
- 
Binary file
@@ -1 +0,0 @@
1
- import{te,a,e,n,y,ye,se}from"./chunk-svaq7f3c.js";import{Vn,Qr}from"./chunk-q6sv3fhe.js";import"./chunk-2eg9t1mz.js";function B({connection:p}){let{Button:r,ModelIcon:u,ModelSelector:f,SettingGroup:d,SettingRow:h,Switch:v,cn:x}=y(),c=te(),[S,b]=a(""),s=Qr({connection:p,endpoint:"/api/plugins/agents/settings",loadError:"读取理事会设置失败",toBody:(t)=>({schemaVersion:1,models:t.models,research:t.research}),differs:(t,i)=>JSON.stringify(t.models)!==JSON.stringify(i.models)||t.research!==i.research}),N=(t)=>{if(!t)return;s.edit((i)=>{if(i.models.includes(t)||i.models.length>=8)return i;return{...i,models:[...i.models,t]}}),b("")},k=(t)=>{s.edit((i)=>({...i,models:i.models.filter((o)=>o!==t)}))},l=s.settings?.models??[];return n("form",{id:c,onSubmit:s.save,className:"min-w-0 space-y-5",children:[e(d,{title:"参会模型",description:`已选 ${l.length}/8,至少 2 个模型参与群聊交叉审查`,children:n("ul",{className:"divide-y divide-line/60",children:[l.map((t)=>{let i=s.modelList.models.find((C)=>C.id===t),o=t.indexOf("/"),m=o<0?"":t.slice(0,o),g=i?.name??(o<0?t:t.slice(o+1));return n("li",{title:t,className:"group flex min-h-11 items-center gap-3",children:[e("span",{className:"flex size-7 shrink-0 items-center justify-center rounded-lg bg-raised",children:e(u,{modelID:t,className:"size-4",size:16})}),e("span",{className:"min-w-0 flex-1 truncate text-[13px] text-ink",children:g}),m&&e("span",{className:"max-w-32 shrink-0 truncate text-xs text-faint",children:m}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.saving,"aria-label":`移除 ${g}`,onClick:()=>k(t),className:"text-faint opacity-40 group-hover:opacity-100 hover:text-danger focus-visible:opacity-100",children:e(se,{className:"size-3.5"})})]},t)}),l.length<8&&n("li",{className:"flex items-center gap-2",children:[e("div",{className:"min-w-0 flex-1",children:e(f,{variant:"add",models:{models:s.modelList.models.filter((t)=>!l.includes(t.id))},value:S,onChange:N})}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.refreshing||s.saving,"aria-label":"刷新模型列表",title:"刷新模型列表",onClick:()=>void s.load(!0),className:"text-faint hover:text-ink",children:e(ye,{className:x("size-3.5",s.refreshing&&"animate-spin")})})]})]})}),e(d,{title:"流程",children:e(h,{title:"调研阶段",description:"表态前各自先查证,关闭后直接发表意见",children:e(v,{label:"调研阶段",checked:s.settings?.research??!0,disabled:s.loading||s.saving,onCheckedChange:(t)=>{s.edit((i)=>({...i,research:t}))}})})}),e(Vn,{formID:c,notice:s.notice,dirty:s.dirty,busy:s.loading||s.saving,saving:s.saving,onReset:s.reset})]})}export{B as CouncilSettingsSection};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Es}from"./chunk-9xb3j03w.js";export{Es as createCynefinServices};
Binary file
Binary file
@@ -1,140 +0,0 @@
1
- import{t,i,Pe,A,C,W,L,u,g,To,qr,gr,Eo,Za,Qa,Ja,ei,Lo,No,Mo,Po,Ro,Io,Do,Oo,$o,Bo,Fo,zo,Ho,Uo,jo,qo,Vo,vr,Wo,Re,Te,Ee,Rt,It,wn,dn,kn,pa,ar,ua}from"./chunk-22rjbwxp.js";import{_e}from"./chunk-phs38wt7.js";import{At}from"./chunk-9h6ayn54.js";import{Dn}from"./chunk-0s237vb2.js";function ye(e){return Array.isArray(e)}function we(e){if(qr(e))return e;let o=gr(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(vr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:d,byteOffset:f,byteLength:r}=a,p=new ArrayBuffer(r),y=new Uint8Array(d,f,r);return new Uint8Array(p).set(y),new DataView(p)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let d=new e.constructor(e.valueOf());if(o==="[object String]")Ze(d,e);else ce(d,e);return d}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,d=new RegExp(a.source,a.flags);return d.lastIndex=a.lastIndex,d}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,d=new Map;return a.forEach((f,r)=>{d.set(r,f)}),d}if(o==="[object Set]"){let a=e,d=new Set;return a.forEach((f)=>{d.add(f)}),d}if(o==="[object Arguments]"){let a=e,d={};return ce(d,a),d.length=a.length,d[Symbol.iterator]=a[Symbol.iterator],d}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(gr(e)){case ei:case Ro:case Io:case Oo:case Ja:case No:case qo:case Vo:case Ho:case Uo:case jo:case Mo:case Qa:case Do:case Eo:case Po:case Za:case Lo:case $o:case Bo:case Fo:case zo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let d=c[a];if(Object.prototype.propertyIsEnumerable.call(o,d))e[d]=o[d]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,h){for(n=n||{},h=B.length;h--;n[B[h]]=b);return n},"o"),o=[1,15],c=[1,7],a=[1,13],d=[1,14],f=[1,19],r=[1,16],p=[1,17],y=[1,18],w=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],k=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,h,S,_,s,H){var l=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[l-1]),S.setHierarchy(s[l-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:S.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=S.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=S.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=S.edgeStrToThickness(s[l-1].edgeTypeStr),se=S.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:S.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=S.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{8:[1,20]},e(w,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:d,31:f,39:r,43:p,46:y}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(k,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(w,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:o,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(k,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(k,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(k,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var h=Error(b);throw h.hash=n,h}},"parseError"),parse:t(function(b){var n=this,h=[0],S=[],_=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){h.length=h.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=S.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,Y,R,Tt,oe,U={},J,K,ke,Z;while(!0){if(Y=h[h.length-1],this.defaultActions[Y])R=this.defaultActions[Y];else{if(v===null||typeof v>"u")v=Le();R=H[Y]&&H[Y][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[Y])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
2
- `+I.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+Y+", token: "+v);switch(R[0]){case 1:if(h.push(v),_.push(I.yytext),s.push(I.yylloc),h.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=_[_.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)h=h.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);h.push(this.productions_[R[1]][0]),_.push(U.$),s.push(U._$),ke=H[h[h.length-2]][h[h.length-1]],h.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,h){if(this.yy.parser)this.yy.parser.parseError(n,h);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var n=b.length,h=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var S=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1)this.yylineno-=h.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===S.length?this.yylloc.first_column:0)+S[S.length-h.length].length-h[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-n];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(b,n){var h,S,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],h=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,h,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(h=this._input.match(this.rules[_[s]]),h&&(!n||h[0].length>n[0].length)){if(n=h,S=s,this.options.backtrack_lexer)if(b=this.test_match(h,_[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,_[S]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,h,S,_){var s=_;switch(S){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",h.yytext);break;case 4:n.getLogger().debug("_",h.yytext);break;case 5:return 5;case 6:return h.yytext=-1,28;break;case 7:return h.yytext=h.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",h.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",h.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",h.yytext),"STR";break;case 14:return h.yytext=h.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",h.yytext),21;break;case 15:return h.yytext="1",n.getLogger().debug("COLUMNS (LEX)",h.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",h.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",h.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",h.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",h.yytext),"DIR";break;case 86:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",h.yytext),"DIR";break;case 87:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",h.yytext),"DIR";break;case 88:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",h.yytext),"DIR";break;case 89:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",h.yytext),"DIR";break;case 90:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",h.yytext),"DIR";break;case 91:return h.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",h.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",h.yytext),h.yytext=h.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();T.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=T,T.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,De="color",Ne="fill",et="bgFill",Oe=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,u()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Oe).forEach((a)=>{let d=a.replace(/([^;]*);/,"$1").trim();if(RegExp(De).exec(a)){let r=d.replace(Ne,et).replace(De,Ne);c.textStyles.push(r)}c.styles.push(d)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Oe)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let d=c.trim();a={id:d,type:"na",children:[]},F.set(d,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),Ce=0,ve=t((e,o)=>{let c=e.flat(),a=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let p=(ge.get(r.id)??0)+1;ge.set(r.id,p),r.id=p+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let p=F.get(r.id);if(p===void 0){if(r.type==="composite")r.colorIndex=Ce++;F.set(r.id,r)}else{if(r.type!=="na")p.type=r.type;if(r.label!==r.id)p.label=r.label}if(r.children)ve(r.children,r);if(r.type==="space"){let y=r.width??1;for(let w=0;w<y;w++){let m=we(r);m.id=m.id+"-"+w,F.set(m.id,m),a.push(m)}}else if(p===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),L(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",Ce=0},"clear");function Ae(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Ae,"typeStr2Type");function ze(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(ze,"edgeTypeStr2Type");function Be(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Be,"edgeStrToEdgeData");function Fe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Fe,"edgeStrToEdgeStartData");function Me(e){return e.includes("==")?"thick":"normal"}t(Me,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Ie=0,nt=t(()=>(Ie++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Ie),"generateId"),ot=t((e)=>{X.children=e,ve(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:Ae,edgeTypeStr2Type:ze,edgeStrToEdgeData:Be,edgeStrToEdgeStartData:Fe,edgeStrToThickness:Me,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,Lt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Te(o,a))return"";let d=Ee(e.look),f=Re(c),r="";for(let p=0;p<Rt(e.THEME_COLOR_LIMIT,a);p++){let y=a[p%a.length],w=f?`fill: ${c[p%c.length]};`:"",m=`[data-look="${d}"][data-color-id="color-${p}"]`;r+=`
7
-
8
- ${m}.node rect.composite {
9
- stroke: ${y};
10
- ${w}
11
- }
12
- `}return r},"genColor"),ue=t((e,o)=>{let c=Dn,a=c(e,"r"),d=c(e,"g"),f=c(e,"b");return Pe(a,d,f,o)},"fade"),kt=t((e)=>`${Lt(e)}
13
- .label {
14
- font-family: ${e.fontFamily};
15
- color: ${e.nodeTextColor||e.textColor};
16
- }
17
- .cluster-label text {
18
- fill: ${e.titleColor};
19
- }
20
- .cluster-label span {
21
- color: ${e.titleColor};
22
- }
23
-
24
-
25
-
26
- .label text,span {
27
- fill: ${e.nodeTextColor||e.textColor};
28
- color: ${e.nodeTextColor||e.textColor};
29
- }
30
-
31
- .node rect,
32
- .node circle,
33
- .node ellipse,
34
- .node polygon,
35
- .node path {
36
- fill: ${e.mainBkg};
37
- stroke: ${e.nodeBorder};
38
- /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
39
- thinner border than an identical flowchart node under any theme asking for more --
40
- the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
41
- and filter, never stroke-width. */
42
- stroke-width: ${e.strokeWidth??1}px;
43
- }
44
- .flowchart-label text {
45
- text-anchor: middle;
46
- }
47
- // .flowchart-label .text-outer-tspan {
48
- // text-anchor: middle;
49
- // }
50
- // .flowchart-label .text-inner-tspan {
51
- // text-anchor: start;
52
- // }
53
-
54
- .node .label {
55
- text-align: center;
56
- }
57
- .node.clickable {
58
- cursor: pointer;
59
- }
60
-
61
- .arrowheadPath {
62
- fill: ${e.arrowheadColor};
63
- }
64
-
65
- .edgePaths .path {
66
- stroke: ${e.lineColor};
67
- stroke-width: 2.0px;
68
- }
69
-
70
- .flowchart-link {
71
- stroke: ${e.lineColor};
72
- fill: none;
73
- }
74
-
75
- .edgeLabel {
76
- background-color: ${e.edgeLabelBackground};
77
- /*
78
- * This is for backward compatibility with existing code that didn't
79
- * add a \`<p>\` around edge labels.
80
- *
81
- * TODO: We should probably remove this in a future release.
82
- */
83
- p {
84
- margin: 0;
85
- padding: 0;
86
- display: inline;
87
- }
88
- rect {
89
- opacity: 0.5;
90
- background-color: ${e.edgeLabelBackground};
91
- fill: ${e.edgeLabelBackground};
92
- }
93
- text-align: center;
94
- }
95
-
96
- /* For html labels only */
97
- .labelBkg {
98
- background-color: ${e.edgeLabelBackground};
99
- }
100
-
101
- .node .cluster {
102
- // fill: ${ue(e.mainBkg,0.5)};
103
- fill: ${ue(e.clusterBkg,0.5)};
104
- stroke: ${ue(e.clusterBorder,0.2)};
105
- box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
106
- stroke-width: 1px;
107
- }
108
-
109
- .cluster text {
110
- fill: ${e.titleColor};
111
- }
112
-
113
- .cluster span {
114
- color: ${e.titleColor};
115
- }
116
- /* .cluster div {
117
- color: ${e.titleColor};
118
- } */
119
-
120
- div.mermaidTooltip {
121
- position: absolute;
122
- text-align: center;
123
- max-width: 200px;
124
- padding: 2px;
125
- font-family: ${e.fontFamily};
126
- font-size: 12px;
127
- background: ${e.tertiaryColor};
128
- border: 1px solid ${e.border2};
129
- border-radius: 2px;
130
- pointer-events: none;
131
- z-index: 100;
132
- }
133
-
134
- .flowchartTitleText {
135
- text-anchor: middle;
136
- font-size: 18px;
137
- fill: ${e.textColor};
138
- }
139
- ${At()}
140
- `,"getStyles"),yt=kt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var wt=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:d,height:f,x:r,y:p}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",d,"height:",f,"x:",r,"y:",p,a.type),a.type==="space")continue;let y=d/(a.widthInColumns??1);if(y>o)o=y;if(f>c)c=f}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,d=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let k of e.children)ee(k,o,0,0,d);let p=wt(e);f=p.width,r=p.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let k of e.children)if(k.size)i.debug(`abc95 Setting size of children of ${e.id} id=${k.id} ${f} ${r} ${JSON.stringify(k.size)}`),k.size.width=f*(k.widthInColumns??1)+d*((k.widthInColumns??1)-1),k.size.height=r,k.size.x=0,k.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${k.id} maxWidth:${f} maxHeight:${r}`);for(let k of e.children)ee(k,o,f,r,d);let y=e.columns??-1,w=0;for(let k of e.children)w+=k.widthInColumns??1;let m=e.children.length;if(y>0&&y<w)m=y;let x=Math.ceil(w/m),E=m*(f+d)+d,D=x*(r+d)+d;if(E<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${E}`),E=c,D=a;let k=(c-m*d-d)/m,N=(a-x*d-d)/x;i.debug("Size indata abc88",e.id,"childWidth",k,"maxWidth",f),i.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),i.debug("Size indata abc88 xSize",m,"padding",d);for(let T of e.children)if(T.size)T.size.width=k,T.size.height=N,T.size.x=0,T.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${y}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let k=y>0?Math.min(e.children.length,y):e.children.length;if(k>0){let N=(E-k*d-d)/k;i.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let d=e?.children[0]?.size?.width??0,f=e.children.length*d+(e.children.length-1)*c;i.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(a,x),k=r.get(D)??0;if(E.size.height>k)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(a>0)N=Math.min(N,a-x%a);x+=N}}let p=new Map;{let x=0,E=[...r.keys()].sort((D,k)=>D-k);for(let D of E)p.set(D,x),x+=(r.get(D)??0)+c}let y=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:k}=x.size,{px:N,py:T}=de(a,y);if(T!=m)m=T,w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",x.id,m);if(i.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${y} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let z=D/2;x.size.x=w+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${w} new startingPosX${x.size.x} ${z} padding=${c} width=${D} halfWidth=${z} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),w=x.size.x+z;let B=p.get(T)??0,b=r.get(T)??k;x.size.y=E.size.y-E.size.height/2+B+b/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${w}${c}${z}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,o,c);let O=x?.widthInColumns??1;if(a>0)O=Math.min(O,a-y%a);y+=O,i.debug("abc88 columnsPos",x,y)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:d}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:p,height:y}=e.size;if(f-p/2<o)o=f-p/2;if(r-y/2<c)c=r-y/2;if(f+p/2>a)a=f+p/2;if(r+y/2>d)d=r+y/2}if(e.children)for(let f of e.children)({minX:o,minY:c,maxX:a,maxY:d}=xe(f,{minX:o,minY:c,maxX:a,maxY:d}));return{minX:o,minY:c,maxX:a,maxY:d}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=u()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:d,maxX:f,maxY:r}=xe(o),p=r-d,y=f-a;return{x:a,y:d,width:y,height:p}}t(Ye,"layout");function me(e,o,c=!1){let a=e,d="default";if((a?.classes?.length||0)>0)d=(a?.classes??[]).join(" ");d=d+" flowchart-label";let f=(a?.classes??[]).flatMap((k)=>o.getClasses().get(k)?.styles??[]),r=0,p="rect",y;switch(a.type){case"round":r=5,p="rect";break;case"composite":r=0,p="composite",y=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let w=Wo(a?.styles??[]),m=a.label,x=a.size??{width:0,height:0,x:0,y:0},E=o.getDiagramId();return{labelStyle:w.labelStyle,shape:p,label:m,labelText:m,rx:r,ry:r,class:d,cssClasses:d,cssStyles:a?.styles??[],cssCompiledStyles:f,style:w.style,id:a.id,domId:E?`${E}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:y??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let d=A(),f=await wn(e,a,{config:d}),r=f.node()?.getBBox()??{width:0,height:0},p=c.getBlock(a.id);p.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(p),f.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let f=A(),r=await wn(e,a,{config:f});if(a.colorIndex!==void 0)It(r,a.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=a?.intersect,dn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let d of o)if(await a(e,d,c),d.children)await te(e,d.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,d){let f=new _e({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let p=a.getBlock(r.start),y=a.getBlock(r.end);if(p?.size&&y?.size){let w=p.size,m=y.size,x=[{x:w.x,y:w.y},{x:w.x+(m.x-w.x)/2,y:w.y+(m.y-w.y)/2},{x:m.x,y:m.y}],E=d?`${d}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",k=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${k} flowchart-link LS-a1 LE-b1`;if(ar(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),d),r.label)await kn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),pa({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(Xe,"insertEdges");var Et=t(function(e,o){return o.db.getClasses()},"getClasses"),_t=t(async function(e,o,c,a){let{securityLevel:d,block:f}=A(),r=a.db;r.setDiagramId(o);let p;if(d==="sandbox")p=g("#i"+o);let y=d==="sandbox"?g(p.nodes()[0].contentDocument.body):g("body"),w=d==="sandbox"?y.select(`[id="${o}"]`):g(`[id="${o}"]`);To(w,A()),ua(w,["point","circle","cross"],a.type,o);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),k=w.insert("g").attr("class","block");await Ue(k,x,r);let N=Ye(r);await He(k,x,r),await Xe(k,D,E,r,o);let T=k.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,b=O.width+10,{useMaxWidth:n}=f;W(w,B,b,!!n),i.debug("Here Bounds",N,O),w.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Dt={draw:_t,getClasses:Et},tr={parser:$e,db:mt,renderer:Dt,styles:yt};export{tr as diagram};
Binary file
Binary file
@@ -1,4 +0,0 @@
1
- import{q,Sn,s,w,o,a,m,e,n,y,K,es,Fc,ac,si,Fi,zc,ic,Hc,zi,Hi,kr,ts,ns}from"./chunk-svaq7f3c.js";import{Ma}from"./chunk-j40wechd.js";var _={sealed:"已封存",folded:"已折叠",archived:"已移出"},I=["bg-accent","bg-accent-strong","bg-warning","bg-success"];function W(t,l){if(t.startsWith("recent-"))return"json";let d=l.trimStart();if(!d)return"markdown";if(d.startsWith("{")||d.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(d))return"xml";return"markdown"}function L(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let d=[],r=0,i=(p)=>" ".repeat(p),u=/(<([a-zA-Z_][\w.-]*)(?:\s+[^>]*)?>([^\r\n<]*)<\/\2>)|(<\/[a-zA-Z_][\w.-]*>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?\/>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>)|([^<]+)/g;for(let p of t.matchAll(u)){let[,x,,,b,c,f,v]=p;if(x)d.push(`${i(r)}${x.trim()}`);else if(b)r=Math.max(0,r-1),d.push(`${i(r)}${b.trim()}`);else if(f)d.push(`${i(r)}${f.trim()}`),r++;else if(c)d.push(`${i(r)}${c.trim()}`);else if(v){let T=v.trim();if(T)for(let h of T.split(/\r?\n/)){let B=h.trim();if(B)d.push(`${i(r)}${B}`)}}}return d.length>0?d.join(`
2
- `):t}function z(){return n("div",{role:"status","aria-busy":"true","aria-label":"正在加载上下文",className:"space-y-2 animate-pulse",children:[e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"})]})}function k(t){let{style:l}=y();return e("p",{className:l("surface.empty"),children:t.children})}function S(t){let{Chevron:l,Collapsible:d,CollapsibleContent:r,CollapsibleTrigger:i,style:u}=y(),[p,x]=a(!1),[b,c]=a(!1);return n(d,{open:p,onOpenChange:(f)=>Sn(()=>{if(x(f),f)c(!0)}),className:u("surface.interactive","group/collapsible"),children:[n(i,{className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs",children:[t.header,e(l,{className:"-rotate-90 text-faint group-data-[state=open]/collapsible:rotate-90"})]}),e(r,{children:b&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function E(t){let{Code:l}=y();return e(l,{code:t.code,lang:t.lang,className:"text-[11px]! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function O(t){let{cn:l}=y();if(!t.items.length)return e(k,{children:"新会话还没有上下文。发送第一条消息后,这里会显示构成。"});let d=t.items.reduce((r,i)=>r+i.tokens,0)||1;return n("div",{className:"space-y-2.5",children:[e("div",{className:"flex h-2 overflow-hidden rounded-full bg-raised",children:t.items.map((r,i)=>e("span",{className:l(I[i%I.length],"transition-[width] duration-300 ease-out-quint"),title:`${r.label}:${r.tokens.toLocaleString()} token`,style:{width:`${r.tokens/d*100}%`}},r.id))}),e("div",{className:"space-y-1.5",children:t.items.map((r,i)=>e(Y,{item:r,total:d,index:i,color:I[i%I.length]??"bg-accent"},r.id))})]})}function Y(t){let{cn:l,style:d,useTheme:r}=y();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(S,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:d("control.badge","text-[10px]"),children:_[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-[11px] tabular-nums text-faint",children:[i,"%"]})]}),children:e(ee,{item:t.item,percent:i,color:t.color})})}function ee(t){let{cn:l,CopyButton:d,style:r,useTheme:i}=y();i();let u=t.item.detail,p=w(()=>u?W(t.item.id,u):"markdown",[u,t.item.id]),x=w(()=>{if(!u)return"";return p==="xml"?L(u):u},[u,p]);return n(m,{children:[e("div",{className:"mb-2 h-1 overflow-hidden rounded-full bg-raised",children:e("div",{className:l("h-full",t.color),style:{width:`${t.percent}%`}})}),x?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(d,{text:t.item.detail,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-80 overflow-y-auto pr-6 text-dim",children:e(E,{code:x,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var M=40,te={accent:"bg-accent/15 text-accent",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning",danger:"bg-danger/15 text-danger",neutral:"bg-raised text-dim"};function j(t){let{Button:l,CopyButton:d,style:r,useTheme:i}=y();i();let[u,p]=a(M),x=o(null),b=u<t.entries.length;s(()=>{let f=x.current;if(!f||!b||typeof IntersectionObserver>"u")return;let v=new IntersectionObserver((T)=>{if(T.some((h)=>h.isIntersecting))p((h)=>Math.min(t.entries.length,h+M))},{rootMargin:"480px"});return v.observe(f),()=>v.disconnect()},[b,t.entries.length]);let c=w(()=>t.entries.slice(-u).reverse(),[t.entries,u]);if(!t.entries.length)return e(k,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",t.entries.length," 条记录"]}),e(d,{text:()=>t.entries.map((f)=>JSON.stringify(f,null,2)).join(`
3
-
4
- `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),c.map((f)=>e(ae,{entry:f},f.seq)),b&&n("div",{ref:x,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",c.length," / ",t.entries.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((f)=>Math.min(t.entries.length,f+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(t.entries.length),children:"显示全部"})]})]})]})}var ae=q(function(l){let{CopyButton:d,style:r,useTheme:i}=y();i();let u=zc(l.entry),p=w(()=>Fc(l.entry.time),[l.entry.time]);return e(S,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-[10px]",te[u.tone]),children:u.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:u.title}),u.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-[10px] text-faint"),children:u.meta}),e("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-[11px] text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(d,{text:()=>JSON.stringify(l.entry,null,2),size:"icon-xs",label:"复制此条 JSON",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink"})]}),e(se,{entry:l.entry})]})})});function se(t){let{style:l,useTheme:d}=y();d();let r=t.entry;if(r.type==="user")return n("div",{className:"space-y-2",children:[r.text&&e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:si(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,u)=>{let p=i.kind==="image"?Math.floor(i.data.length*0.75):i.data.length;return n("div",{className:l("surface.subtle","inline-flex items-center gap-1.5 px-2 py-1 text-[11px]"),children:[e("span",{className:l("control.badge","text-[10px] text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-[10px] text-faint",children:[i.mimeType," · ",ac(p)]})]},`${i.name}-${u}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-[11px]"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-[11px] text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,u)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:si(i.text)})]},`thinking-${u}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:si(i.text)})]},`text-${u}`);return n("div",{className:l("surface.subtle","p-2.5 space-y-1.5"),children:[n("div",{className:"flex items-center justify-between gap-2 text-[11px]",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-[10px] text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(E,{code:Fi(JSON.stringify(i.input,ic,2)),lang:"json"})})]},i.id||`tool-${u}`)})]});if(r.type==="tool_result")return n("div",{className:"space-y-2",children:[n("div",{className:"flex flex-wrap items-center gap-2 font-mono text-[11px] text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-[10px]",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,u)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-[10.5px] text-faint"),children:["图片 #",u+1," · ",i.mimeType," · ",ac(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${u}`))}),es(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:si(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:Hc(r)})}function A(t){let{cn:l,style:d,useTheme:r}=y();if(r(),!t.todos.length)return e(k,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:d("surface.interactive","flex items-start gap-2.5 px-3 py-2 text-xs"),children:[n("span",{className:l("mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border transition-colors duration-300",i.status==="completed"&&"border-success bg-success text-panel",i.status==="in_progress"&&"border-accent",i.status==="pending"&&"border-line-strong"),children:[i.status==="completed"&&e(K,{className:"size-2.5 animate-pop",strokeWidth:3.5}),i.status==="in_progress"&&e("span",{className:"size-1.5 animate-pulse rounded-full bg-accent"})]}),e("span",{className:l("min-w-0 flex-1 break-words leading-relaxed [overflow-wrap:anywhere]",i.status==="completed"&&"text-faint line-through decoration-faint/60",i.status==="in_progress"&&"font-medium text-ink",i.status==="pending"&&"text-dim"),children:i.content})]},`${i.status}-${i.content}`))})}function F(t){let{cn:l,style:d,useTheme:r}=y();r();let[i,u]=a("all"),p=w(()=>t.tools.filter((c)=>c.deferred).length,[t.tools]),x=t.tools.length-p,b=w(()=>{if(i==="deferred")return t.tools.filter((c)=>c.deferred);if(i==="active")return t.tools.filter((c)=>!c.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(k,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-[11px]",children:[n("button",{type:"button",onClick:()=>u("all"),className:l("rounded-lg px-2 py-1 transition-colors",i==="all"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["全部 (",t.tools.length,")"]}),n("button",{type:"button",onClick:()=>u("active"),className:l("rounded-lg px-2 py-1 transition-colors",i==="active"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["常驻 (",x,")"]}),n("button",{type:"button",onClick:()=>u("deferred"),className:l("rounded-lg px-2 py-1 transition-colors",i==="deferred"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["延迟加载 (",p,")"]})]}),e("div",{className:"space-y-1.5",children:b.map((c)=>e(ne,{tool:c},`${c.group}-${c.name}`))})]})}function ne(t){let{style:l,useTheme:d}=y();return d(),e(S,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:"延迟加载"})]}),children:e(ie,{tool:t.tool})})}function ie(t){let{CopyButton:l,style:d,useTheme:r}=y();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:d("surface.subtle","mb-2 px-2.5 py-1.5 text-[11px] text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:Fi(t.tool.description)}),n("div",{className:d("surface.subtle","group/schema relative overflow-hidden rounded-lg p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(l,{text:i,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-72 overflow-y-auto pr-6 text-dim",children:e(E,{code:Fi(i),lang:"json"})})]})]})}function oe(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function re(t){let{style:l,useTheme:d}=y();return d(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-[10px] font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function He(t){let{Button:l,StatusChip:d,Segmented:r,cn:i,style:u,useTheme:p}=y();p();let[x,b]=a(oe),[c,f]=a(()=>kr.get(t.session.id)),[v,T]=a(!1),[h,B]=a(0),[H,U]=a(!1);s(()=>{let g=setTimeout(()=>Sn(()=>U(!0)),140);return()=>clearTimeout(g)},[]),s(()=>{let g=kr.get(t.session.id);if(g)f(g);return ts((R,Q)=>{if(R===t.session.id)Sn(()=>f(Q))})},[t.session.id]),s(()=>{let g=!0;return T(!1),ns(t.connection,t.session.id,`${t.session.updated}:${t.entries.length}`,h>0).then((R)=>{if(g)Sn(()=>f(R))},()=>{if(g)T(!0)}),()=>{g=!1}},[t.connection,t.session.id,t.session.updated,t.entries.length,h]);let N=zi(c?.items??[],c?.usableWindow,c?.calibratedTokens,c?.lastInputTokens,c?.hasPendingOutput),C=Hi(N.percent),D=c?.lastCacheHitRate,P=c?.usage?.cacheHitRate,J=D===void 0?"—":`${(D*100).toFixed(1)}%`,Z=P===void 0?"—":`${(P*100).toFixed(1)}%`,V=(g)=>{b(g);try{localStorage.setItem("basalt.contextSidebar.tab",g)}catch{}},X=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",c&&e("span",{className:"text-[10px] text-faint tabular-nums",children:c.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-[10px] text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],G=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-[10.5px] font-medium uppercase tracking-wider text-faint",children:"预计下次输入"}),n("div",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e("span",{className:"font-mono text-xl font-semibold tabular-nums text-ink",children:c?N.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",c?.usableWindow.toLocaleString()??"—"]})]})]}),e(d,{tone:C==="overflow"||C==="near_limit"?"danger":C==="sealing"?"warning":"success",children:C==="overflow"?"预计超限":C==="near_limit"?"接近上限":C==="sealing"?"接近封存":"正常"})]}),N.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,N.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!c&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,N.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-[11px]",children:[e("span",{className:"text-dim",children:N.percent===null?"暂无窗口数据":`${N.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",c?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-[11px]",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:c?.lastRequestBodyBytes===void 0?"—":Ma(c.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-[11px]",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[c?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),c?.usage&&(c.usage.input>0||c.usage.output>0||c.usage.cacheRead>0||c.usage.cacheWrite>0||c.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",c.usage.input.toLocaleString()],["Output",c.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${J} / ${Z}`],["平均 TPS",c.usage.tps!==void 0?`${c.usage.tps.toFixed(1)} tok/s`:"—"]].map(([g,R])=>e(re,{label:g,value:R},g))})]});return n(m,{children:[G,e("div",{className:"px-3 py-2",children:e(r,{value:x,onChange:V,options:X,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[v&&!c&&n("div",{role:"alert",className:"flex items-center justify-between rounded-xl border border-danger/30 bg-danger/8 px-3 py-2 text-xs text-danger",children:[e("span",{children:"上下文加载失败。"}),e(l,{size:"sm",variant:"ghost",onClick:()=>B((g)=>g+1),children:"重试"})]}),e("div",{children:!H?e(z,{}):n(m,{children:[x==="raw"&&e(j,{entries:t.entries}),x==="todos"&&e(A,{todos:t.session.todos}),x==="breakdown"&&(c?e(O,{items:N.items}):!v?e(z,{}):null),x==="tools"&&(c?e(F,{tools:c.tools??[]}):!v?e(z,{}):null)]})},x)]})]})}export{He as ContextSidebar};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import"./chunk-22rjbwxp.js";import"./chunk-phs38wt7.js";import"./chunk-rdarpbhd.js";import{mc}from"./chunk-xsxd3wsv.js";export{mc as render};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{I,a,e,n,nt,Kt,K,ve,oc}from"./chunk-svaq7f3c.js";function Q(s){let i=I(nt);i?.useTheme?.();let t=s.payload,[o,m]=a(!1);if(!t||t.state==="pending")return null;let h=t.questions.map((r)=>r.header).join(" · "),l=t.state==="answered",u=l?K:Kt,d=l?"text-success":"text-faint",f=l?"已回答":t.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(t):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-[12.5px] text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(ve,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})]})}function c(s){if(!s)return"未作答";let i=s.selected.map((t)=>oc(t).title);if(s.other)i.push(`其他:${s.other}`);return i.length?i.join("、"):"未作答"}function g(s){if(s.questions.length===1)return`${s.questions[0]?.header??""} · ${c(s.answers?.[0])}`;return s.questions.map((i,t)=>`${i.header} → ${c(s.answers?.[t])}`).join(";")}function x(s){let i=s.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((t,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:t.header})," · ",t.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},t.header))})}export{Q as QuestionCard};
Binary file
Binary file
@@ -1,89 +0,0 @@
1
- import{t,i,Ye,A,j,W,L,u,J}from"./chunk-22rjbwxp.js";var N="",M="",O="",D=[],z=new Map,v=t((e)=>j(e,u()),"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"),q=t(()=>{N="",M="",O="",D.length=0,z.clear(),L(),i.debug("[Railroad] Database cleared")},"clear"),Y=t((e)=>{N=v(e),i.debug("[Railroad] Title set:",e)},"setTitle"),P=t(()=>N,"getTitle"),G=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"),U=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=Y,re=P,ge={clear:q,setTitle:Y,getTitle:P,addRule:G,getRules:U,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"),p=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:p(e.secondBkg??e.secondaryColor,T.terminalFill),terminalStroke:p(e.secondaryBorderColor??e.lineColor,T.terminalStroke),terminalTextColor:p(e.secondaryTextColor??e.textColor,T.terminalTextColor),nonTerminalFill:p(e.mainBkg??e.background,T.nonTerminalFill),nonTerminalStroke:p(e.primaryBorderColor??e.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(e.primaryTextColor??e.textColor,T.nonTerminalTextColor),lineColor:p(e.lineColor,T.lineColor),markerFill:p(e.lineColor,T.markerFill),commentFill:p(e.labelBackground??e.tertiaryColor,T.commentFill),commentStroke:p(e.tertiaryBorderColor??e.lineColor,T.commentStroke),commentTextColor:p(e.tertiaryTextColor??e.textColor,T.commentTextColor),specialFill:p(e.tertiaryColor??e.secondaryColor,T.specialFill),specialStroke:p(e.tertiaryBorderColor??e.secondaryBorderColor,T.specialStroke),ruleNameColor:p(e.titleColor??e.textColor,T.ruleNameColor)}},"buildThemeDefaults"),E=t((e)=>{let a=A(),l={...Ye(),...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:p(r.terminalFill,n.terminalFill),terminalStroke:p(r.terminalStroke,n.terminalStroke),terminalTextColor:p(r.terminalTextColor,n.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,n.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,n.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,n.nonTerminalTextColor),lineColor:p(r.lineColor,n.lineColor),strokeWidth:F(r.strokeWidth,n.strokeWidth),markerFill:p(r.markerFill,n.markerFill),commentFill:p(r.commentFill,n.commentFill),commentStroke:p(r.commentStroke,n.commentStroke),commentTextColor:p(r.commentTextColor,n.commentTextColor),specialFill:p(r.specialFill,n.specialFill),specialStroke:p(r.specialStroke,n.specialStroke),ruleNameColor:p(r.ruleNameColor,n.ruleNameColor),showMarkers:r.showMarkers??n.showMarkers,markerRadius:F(r.markerRadius,n.markerRadius)}},"buildRailroadStyleOptions"),Ln=t((e)=>{let{fontFamily:a,fontSize:l,terminalFill:n,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,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: ${h}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: ${c};
25
- stroke-width: ${h}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: ${h}px;
39
- fill: none;
40
- }
41
-
42
- .railroad-start circle,
43
- .railroad-end circle {
44
- fill: ${m};
45
- }
46
-
47
- .railroad-comment ellipse {
48
- fill: ${C};
49
- stroke: ${d};
50
- stroke-width: ${h}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: ${h}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"),c=0;for(let s=0;s<l.length;s++){let f=l[s],h=r-f.dimensions.up;if(g.node().appendChild(f.element).setAttribute("transform",`translate(${c}, ${h})`),s<l.length-1){let C=c+f.dimensions.width,d=C+this.config.horizontalSeparation,x=r;g.append("path").attr("class","railroad-line").attr("d",new w().moveTo(C,x).lineTo(d,x).build())}c+=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((m)=>this.renderExpression(e,m)),n=0,r=0;for(let m of l)n=Math.max(n,m.dimensions.width),r+=m.dimensions.height;r+=(l.length-1)*this.config.verticalSeparation;let o=this.config.arcRadius,g=o*4,c=n+g,s=e.append("g").attr("class","railroad-choice"),f=0,h=r/2;for(let m of l){let C=f,d=C+m.dimensions.up,x=o*2+(n-m.dimensions.width)/2;s.node().appendChild(m.element).setAttribute("transform",`translate(${x}, ${C})`);let S=new w,k=d>h;if(d===h)S.moveTo(0,h).lineTo(x,d);else S.moveTo(0,h).arcTo(o,o,0,!1,k,o,h+(k?o:-o)).lineTo(o,d-(k?o:-o)).arcTo(o,o,0,!1,!k,o*2,d).lineTo(x,d);s.append("path").attr("class","railroad-line").attr("d",S.build());let b=new w,_=x+m.dimensions.width,H=c-o*2;if(d===h)b.moveTo(_,d).lineTo(c,h);else b.moveTo(_,d).lineTo(H,d).arcTo(o,o,0,!1,!k,c-o,d+(k?-o:o)).lineTo(c-o,h+(k?o:-o)).arcTo(o,o,0,!1,k,c,h);s.append("path").attr("class","railroad-line").attr("d",b.build()),f+=m.dimensions.height+this.config.verticalSeparation}return{element:s.node(),dimensions:{width:c,height:r,up:h,down:r-h}}}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,c=e.append("g").attr("class","railroad-optional"),s=n*2,f=r;c.node().appendChild(l.element).setAttribute("transform",`translate(${s}, ${f})`);let m=f+l.dimensions.up,C=new w().moveTo(0,m).lineTo(n*2,m);c.append("path").attr("class","railroad-line").attr("d",C.build());let d=new w().moveTo(s+l.dimensions.width,m).lineTo(o,m);c.append("path").attr("class","railroad-line").attr("d",d.build());let x=new w().moveTo(0,m).arcTo(n,n,0,!1,!1,n,m-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,m-n).arcTo(n,n,0,!1,!1,o,m);return c.append("path").attr("class","railroad-line").attr("d",x.build()),{element:c.node(),dimensions:{width:o,height:g,up:m,down:g-m}}}renderRepetition(e,a,l){let n=this.renderExpression(e,a),r=this.config.arcRadius,o=r*2,g=n.dimensions.width+r*4,c=l===0,s=n.dimensions.height+o+(c?o:0),f=e.append("g").attr("class","railroad-repetition"),h=r*2,m=c?o:0;f.node().appendChild(n.element).setAttribute("transform",`translate(${h}, ${m})`);let d=m+n.dimensions.up;f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(0,d).lineTo(r*2,d).build()),f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(h+n.dimensions.width,d).lineTo(g,d).build());let x=m+n.dimensions.height+r,R=new w().moveTo(h+n.dimensions.width,d).arcTo(r,r,0,!1,!0,h+n.dimensions.width+r,d+r).lineTo(h+n.dimensions.width+r,x).arcTo(r,r,0,!1,!0,h+n.dimensions.width,x+r).lineTo(r*2,x+r).arcTo(r,r,0,!1,!0,r,x).lineTo(r,d+r).arcTo(r,r,0,!1,!0,r*2,d);if(f.append("path").attr("class","railroad-line").attr("d",R.build()),c){let S=new w().moveTo(0,d).arcTo(r,r,0,!1,!1,r,d-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,d-r).arcTo(r,r,0,!1,!1,g,d);f.append("path").attr("class","railroad-line").attr("d",S.build())}return{element:f.node(),dimensions:{width:g,height:s,up:d,down:s-d}}}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"),c=this.renderExpression(g,e.definition),s=Math.max(20,c.dimensions.up),f=s-c.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+c.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+c.dimensions.width,s).lineTo(o+c.dimensions.width+10-this.config.markerRadius,s).build()),{height:Math.max(40,f+c.dimensions.height+this.config.padding*2),width:o+c.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}}},B=t((e,a,l)=>{W(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=ge.getRules();if(i.debug(`[Railroad] Rendering ${g.length} rules`),g.length===0){i.warn("[Railroad] No rules to render"),B(n,{height:100,width:200},o);return}let s=new ce(n,E()).renderDiagram(g);B(n,s,o),i.debug("[Railroad] Render complete")}catch(n){throw i.error("[Railroad] Render error:",n),n}},"draw"),Nn={draw:me};
89
- export{ge,Ln,Nn};
Binary file
Binary file
@@ -1,30 +0,0 @@
1
- import{Tr}from"./chunk-fz5d3ayq.js";import{ae}from"./chunk-h5m9ggsm.js";import{t,i,F,A,j,W,L,N,P,M,R,O,D,J,jr,Gt,Z}from"./chunk-22rjbwxp.js";import{he}from"./chunk-9xb3j03w.js";var S=/[─━│┃└┗├┣]/,H=/[└┗├┣]/,K=/[─━]/,V=/^[\s│┃]+$/,k=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,E=/^\s*%%/,Q=" ";function X(n){return n.some((r)=>S.test(r))}t(X,"isBoxDrawingFormat");function z(n){for(let r of n){let e=H.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(z,"inferSegmentWidth");function G(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,o)=>{let c=parseInt(o,10),s=r.get(c);return s?`line ${s}`:e})}t(G,"remapErrorLines");function Y(n){let r=n.split(`
2
- `),e=new Map,o=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){o=g;break}if(o===-1)return{text:n,lineMap:e};let c=[];for(let g=o+1;g<r.length;g++){let d=r[g];if(d.trim()===""||E.test(d)||k.test(d))continue;if(V.test(d))continue;c.push(d.replace(/\t/g," "))}if(!X(c))return{text:n,lineMap:e};let s=z(c),a=[],l=0;for(let g=0;g<=o;g++)a.push(r[g]),l++,e.set(l,g+1);for(let g=o+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){a.push(d),l++,e.set(l,f);continue}if(E.test(d)){a.push(d),l++,e.set(l,f);continue}if(k.test(d)){a.push(d),l++,e.set(l,f);continue}if(V.test(d))continue;let h=d.replace(/\t/g," "),w=H.exec(h);if(w?.index!==void 0){let u=w.index,x=Math.round(u/s)+1,m=u+1;while(m<h.length&&K.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let b=h.slice(m).trimEnd();if(!b)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let U=Q.repeat(x);a.push(U+b),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(S.test(h))a.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else a.push(d),l++,e.set(l,f)}return{text:a.join(`
3
- `),lineMap:e}}t(Y,"preprocessBoxDrawing");var v=new Tr(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ee=t(()=>{v.reset(),L()},"clear"),te=t(()=>v.records.stack[0],"getRoot"),re=t(()=>v.records.cnt,"getCount"),ne=F.treeView,ie=t(()=>Z(ne,A().treeView),"getConfig"),oe=t((n,r,e,o,c,s)=>{while(n<=v.records.stack[v.records.stack.length-1].level)v.records.stack.pop();let a={id:v.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:o,description:s,children:[]};v.records.stack[v.records.stack.length-1].children.push(a),v.records.stack.push(a)},"addNode"),se={clear:ee,addNode:oe,getRoot:te,getCount:re,getConfig:ie,getAccTitle:P,getAccDescription:R,getDiagramTitle:D,setAccDescription:M,setAccTitle:N,setDiagramTitle:O},I=se,ce=t((n)=>{ae(n,I);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,o=r.name,c=o.endsWith("/");if(c)o=o.slice(0,-1);let s=c?"directory":"file",a=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?j(d,A()):void 0;I.addNode(e,o,s,a,g,p)}},"populate"),le={parse:t(async(n)=>{let{text:r,lineMap:e}=Y(n);try{let o=await he("treeView",r);i.debug(o),ce(o)}catch(o){if(e.size>0&&o instanceof Error)o.message=G(o.message,e);throw o}},"parse")},C={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function q(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let o=n.lastIndexOf(".");if(o>0){let c=n.substring(o).toLowerCase(),s=r?.extensionIcons;return s?.[c]??s?.[c.slice(1)]}return}t(q,"detectIcon");function y(n,r){if(n.includes(":"))return n;if(n in C.icons||!r)return`${C.prefix}:${n}`;return`${r}:${n}`}t(y,"qualifyIcon");function T(n,r){if(n.icon==="none")return;if(n.icon)return y(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=q(n.name,r);if(e==="none")return;if(e)return y(e,r.defaultIconPack)}return`${C.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(T,"getNodeIcon");jr([{name:C.prefix,icons:C}]);var B=14,de=4,pe=16,fe=t(async(n,r)=>{let e=[],o=t((s)=>{let a=T(s,r);if(a)e.push({icon:a,node:s});s.children.forEach(o)},"collect");o(n);let c=await Promise.all(e.map(async({icon:s,node:a})=>({id:a.id,svg:await Gt(s,{height:B,width:B})})));return new Map(c.map(({id:s,svg:a})=>[s,a]))},"resolveNodeIcons"),ge=t((n,r,e,o,c,s)=>{let a=o.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=B+de,d=T(e,c),p=d!==void 0;if(d)a.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(s.get(e.id)??"");let f=a.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,x=n+c.paddingX+(p?g:0);f.attr("x",x),f.attr("y",r+u/2);let m=x+w,b=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:b,height:u},e.cssClass?.split(/\s+/).includes("highlight"))a.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:a,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),_=t((n,r,e,o,c,s)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",o).attr("y2",c).attr("stroke-width",s).attr("class","treeView-node-line"),"positionLine"),ue=t((n,r,e,o)=>{let c=0,s=0,a=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),x=ge(u,c,f,p,h,o);a.push(x);let{height:m,width:b}=f.BBox;_(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),s=Math.max(s,u+b),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((x)=>{g(x,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:x,height:m}=p.children[p.children.length-1].BBox;_(n,h+e.paddingX,w+u,h+e.paddingX,x+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=a.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...a.map((h)=>h.labelRightEdge))+pe;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();s=Math.max(s,f+u.width+e.paddingX)}}for(let p of a)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=s-p.node.BBox.x+8;f.attr("width",h),s=Math.max(s,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:s}},"drawTree"),me=t(async(n,r,e,o)=>{i.debug(`Rendering treeView diagram
4
- `+n);let c=o.db,s=c.getRoot(),a=c.getConfig(),l=J(r),g=l.append("g");g.attr("class","tree-view");let d=await fe(s,a),{totalHeight:p,totalWidth:f}=ue(g,s,a,d);l.attr("viewBox",`-${a.lineThickness/2} 0 ${f} ${p}`),W(l,p,f,a.useMaxWidth)},"draw"),we={draw:me},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:o,iconColor:c,descriptionColor:s,highlightBg:a,highlightStroke:l}=Z(ve,n);return`
5
- .treeView-node-label {
6
- font-size: ${r};
7
- fill: ${e};
8
- white-space: pre;
9
- }
10
- .treeView-node-dir {
11
- font-weight: bold;
12
- }
13
- .treeView-node-line {
14
- stroke: ${o};
15
- }
16
- .treeView-node-icon {
17
- color: ${c};
18
- }
19
- .treeView-node-description {
20
- font-size: ${r};
21
- fill: ${s};
22
- font-style: italic;
23
- white-space: pre;
24
- }
25
- .treeView-highlight-bg {
26
- fill: ${a};
27
- stroke: ${l};
28
- stroke-width: 1;
29
- }
30
- `},"styles"),Ce=be,Ee={db:I,renderer:xe,parser:le,styles:Ce};export{Ee as diagram};
Binary file
Binary file