@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
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{t,i,g}from"./chunk-22rjbwxp.js";import{mn,ri}from"./chunk-3g3n9pc5.js";import{Ke,Ze}from"./chunk-svaq7f3c.js";var k=Ze(function(F,Y){(function(f,r){if(typeof F==="object"&&typeof Y==="object")Y.exports=r(ri());else if(typeof define==="function"&&define.amd)define(["cose-base"],r);else if(typeof F==="object")F.cytoscapeCoseBilkent=r(ri());else f.cytoscapeCoseBilkent=r(f.coseBase)})(F,function(u){return function(f){var r={};function n(o){if(r[o])return r[o].exports;var d=r[o]={i:o,l:!1,exports:{}};return f[o].call(d.exports,d,d.exports,n),d.l=!0,d.exports}return n.m=f,n.c=r,n.i=function(o){return o},n.d=function(o,d,l){if(!n.o(o,d))Object.defineProperty(o,d,{configurable:!1,enumerable:!0,get:l})},n.n=function(o){var d=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(d,"a",d),d},n.o=function(o,d){return Object.prototype.hasOwnProperty.call(o,d)},n.p="",n(n.s=1)}([function(f,r){f.exports=u},function(f,r,n){var o=n(0).layoutBase.LayoutConstants,d=n(0).layoutBase.FDLayoutConstants,l=n(0).CoSEConstants,L=n(0).CoSELayout,b=n(0).CoSENode,H=n(0).layoutBase.PointD,v=n(0).layoutBase.DimensionD,_={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:0.45,nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.5};function D(p,e){var y={};for(var s in p)y[s]=p[s];for(var s in e)y[s]=e[s];return y}function I(p){this.options=D(_,p),U(this.options)}var U=function(e){if(e.nodeRepulsion!=null)l.DEFAULT_REPULSION_STRENGTH=d.DEFAULT_REPULSION_STRENGTH=e.nodeRepulsion;if(e.idealEdgeLength!=null)l.DEFAULT_EDGE_LENGTH=d.DEFAULT_EDGE_LENGTH=e.idealEdgeLength;if(e.edgeElasticity!=null)l.DEFAULT_SPRING_STRENGTH=d.DEFAULT_SPRING_STRENGTH=e.edgeElasticity;if(e.nestingFactor!=null)l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=e.nestingFactor;if(e.gravity!=null)l.DEFAULT_GRAVITY_STRENGTH=d.DEFAULT_GRAVITY_STRENGTH=e.gravity;if(e.numIter!=null)l.MAX_ITERATIONS=d.MAX_ITERATIONS=e.numIter;if(e.gravityRange!=null)l.DEFAULT_GRAVITY_RANGE_FACTOR=d.DEFAULT_GRAVITY_RANGE_FACTOR=e.gravityRange;if(e.gravityCompound!=null)l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=e.gravityCompound;if(e.gravityRangeCompound!=null)l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=e.gravityRangeCompound;if(e.initialEnergyOnIncremental!=null)l.DEFAULT_COOLING_FACTOR_INCREMENTAL=d.DEFAULT_COOLING_FACTOR_INCREMENTAL=e.initialEnergyOnIncremental;if(e.quality=="draft")o.QUALITY=0;else if(e.quality=="proof")o.QUALITY=2;else o.QUALITY=1;l.NODE_DIMENSIONS_INCLUDE_LABELS=d.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=e.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!e.randomize,l.ANIMATE=d.ANIMATE=o.ANIMATE=e.animate,l.TILE=e.tile,l.TILING_PADDING_VERTICAL=typeof e.tilingPaddingVertical==="function"?e.tilingPaddingVertical.call():e.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof e.tilingPaddingHorizontal==="function"?e.tilingPaddingHorizontal.call():e.tilingPaddingHorizontal};I.prototype.run=function(){var p,e,y=this.options,s=this.idToLNode={},c=this.layout=new L,a=this;a.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var E=c.newGraphManager();this.gm=E;var T=this.options.eles.nodes(),m=this.options.eles.edges();this.root=E.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(T),c);for(var h=0;h<m.length;h++){var P=m[h],x=this.idToLNode[P.data("source")],O=this.idToLNode[P.data("target")];if(x!==O&&x.getEdgesBetween(O).length==0){var et=E.add(c.newEdge(),x,O);et.id=P.id()}}var V=function(R,B){if(typeof R==="number")R=B;var C=R.data("id"),G=a.idToLNode[C];return{x:G.getRect().getCenterX(),y:G.getRect().getCenterY()}},nt=function X(){var R=function(){if(y.fit)y.cy.fit(y.eles,y.padding);if(!p)p=!0,a.cy.one("layoutready",y.ready),a.cy.trigger({type:"layoutready",layout:a})},B=a.options.refresh,C;for(var G=0;G<B&&!C;G++)C=a.stopped||a.layout.tick();if(C){if(c.checkLayoutSuccess()&&!c.isSubLayout)c.doPostLayout();if(c.tilingPostLayout)c.tilingPostLayout();if(c.isLayoutFinished=!0,a.options.eles.nodes().positions(V),R(),a.cy.one("layoutstop",a.options.stop),a.cy.trigger({type:"layoutstop",layout:a}),e)cancelAnimationFrame(e);p=!1;return}var M=a.layout.getPositionsData();y.eles.nodes().positions(function(A,it){if(typeof A==="number")A=it;if(!A.isParent()){var j=A.id(),N=M[j],w=A;while(N==null)if(N=M[w.data("parent")]||M["DummyCompound_"+w.data("parent")],M[j]=N,w=w.parent()[0],w==null)break;if(N!=null)return{x:N.x,y:N.y};else return{x:A.position("x"),y:A.position("y")}}}),R(),e=requestAnimationFrame(X)};if(c.addListener("layoutstarted",function(){if(a.options.animate==="during")e=requestAnimationFrame(nt)}),c.runLayout(),this.options.animate!=="during")a.options.eles.nodes().not(":parent").layoutPositions(a,a.options,V),p=!1;return this},I.prototype.getTopMostNodes=function(p){var e={};for(var y=0;y<p.length;y++)e[p[y].id()]=!0;var s=p.filter(function(c,a){if(typeof c==="number")c=a;var E=c.parent()[0];while(E!=null){if(e[E.id()])return!1;E=E.parent()[0]}return!0});return s},I.prototype.processChildrenList=function(p,e,y){var s=e.length;for(var c=0;c<s;c++){var a=e[c],E=a.children(),T,m=a.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(a.outerWidth()!=null&&a.outerHeight()!=null)T=p.add(new b(y.graphManager,new H(a.position("x")-m.w/2,a.position("y")-m.h/2),new v(parseFloat(m.w),parseFloat(m.h))));else T=p.add(new b(this.graphManager));if(T.id=a.data("id"),T.paddingLeft=parseInt(a.css("padding")),T.paddingTop=parseInt(a.css("padding")),T.paddingRight=parseInt(a.css("padding")),T.paddingBottom=parseInt(a.css("padding")),this.options.nodeDimensionsIncludeLabels){if(a.isParent()){var h=a.boundingBox({includeLabels:!0,includeNodes:!1}).w,P=a.boundingBox({includeLabels:!0,includeNodes:!1}).h,x=a.css("text-halign");T.labelWidth=h,T.labelHeight=P,T.labelPos=x}}if(this.idToLNode[a.data("id")]=T,isNaN(T.rect.x))T.rect.x=0;if(isNaN(T.rect.y))T.rect.y=0;if(E!=null&&E.length>0){var O=y.getGraphManager().add(y.newGraph(),T);this.processChildrenList(O,E,y)}}},I.prototype.stop=function(){return this.stopped=!0,this};var S=function(e){e("layout","cose-bilkent",I)};if(typeof cytoscape<"u")S(cytoscape);f.exports=S}])})});var z=Ke(k(),1);mn.use(z.default);function q(u,f){u.forEach((r)=>{let n={id:r.id,labelText:r.label,height:r.height,width:r.width,padding:r.padding??0};Object.keys(r).forEach((o)=>{if(!["id","label","height","width","padding","x","y"].includes(o))n[o]=r[o]}),f.add({group:"nodes",data:n,position:{x:r.x??0,y:r.y??0}})})}t(q,"addNodes");function W(u,f){u.forEach((r)=>{let n={id:r.id,source:r.start,target:r.end};Object.keys(r).forEach((o)=>{if(!["id","start","end"].includes(o))n[o]=r[o]}),f.add({group:"edges",data:n})})}t(W,"addEdges");function Q(u){return new Promise((f)=>{let r=g("body").append("div").attr("id","cy").attr("style","display:none"),n=mn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});r.remove(),q(u.nodes,n),W(u.edges,n),n.nodes().forEach(function(d){d.layoutDimensions=()=>{let l=d.data();return{w:l.width,h:l.height}}});let o={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};n.layout(o).run(),n.ready((d)=>{i.info("Cytoscape ready",d),f(n)})})}t(Q,"createCytoscapeInstance");function Z(u){return u.nodes().map((f)=>{let r=f.data(),n=f.position(),o={id:r.id,x:n.x,y:n.y};return Object.keys(r).forEach((d)=>{if(d!=="id")o[d]=r[d]}),o})}t(Z,"extractPositionedNodes");function J(u){return u.edges().map((f)=>{let r=f.data(),n=f._private.rscratch,o={id:r.id,source:r.source,target:r.target,startX:n.startX,startY:n.startY,midX:n.midX,midY:n.midY,endX:n.endX,endY:n.endY};return Object.keys(r).forEach((d)=>{if(!["id","source","target"].includes(d))o[d]=r[d]}),o})}t(J,"extractPositionedEdges");async function K(u,f){i.debug("Starting cose-bilkent layout algorithm");try{tt(u);let r=await Q(u),n=Z(r),o=J(r);return i.debug(`Layout completed: ${n.length} nodes, ${o.length} edges`),{nodes:n,edges:o}}catch(r){throw i.error("Error in cose-bilkent layout algorithm:",r),r}}t(K,"executeCoseBilkentLayout");function tt(u){if(!u)throw Error("Layout data is required");if(!u.config)throw Error("Configuration is required in layout data");if(!u.rootNode)throw Error("Root node is required");if(!u.nodes||!Array.isArray(u.nodes))throw Error("No nodes found in layout data");if(!Array.isArray(u.edges))throw Error("Edges array is required in layout data");return!0}t(tt,"validateLayoutData");var at=t(async(u,f,{insertCluster:r,insertEdge:n,insertEdgeLabel:o,insertMarkers:d,insertNode:l,log:L,positionEdgeLabel:b},{algorithm:H})=>{let v={},_={},D=f.select("g");d(D,u.markers,u.type,u.diagramId);let I=D.insert("g").attr("class","subgraphs"),U=D.insert("g").attr("class","edgePaths"),S=D.insert("g").attr("class","edgeLabels"),p=D.insert("g").attr("class","nodes");L.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(u.nodes.map(async(s)=>{if(s.isGroup){let c={...s};_[s.id]=c,v[s.id]=c,await r(I,s)}else{let c={...s};v[s.id]=c;let a=await l(p,s,{config:u.config,dir:u.direction||"TB"}),E=a.node().getBBox();c.width=E.width,c.height=E.height,c.domId=a,L.debug(`Node ${s.id} dimensions: ${E.width}x${E.height}`)}})),L.debug("Running cose-bilkent layout algorithm");let e={...u,nodes:u.nodes.map((s)=>{let c=v[s.id];return{...s,width:c.width,height:c.height}})},y=await K(e,u.config);L.debug("Positioning nodes based on layout results"),y.nodes.forEach((s)=>{let c=v[s.id];if(c?.domId)c.domId.attr("transform",`translate(${s.x}, ${s.y})`),c.x=s.x,c.y=s.y,L.debug(`Positioned node ${c.id} at center (${s.x}, ${s.y})`)}),y.edges.forEach((s)=>{let c=u.edges.find((a)=>a.id===s.id);if(c)c.points=[{x:s.startX,y:s.startY},{x:s.midX,y:s.midY},{x:s.endX,y:s.endY}]}),L.debug("Inserting and positioning edges"),await Promise.all(u.edges.map(async(s)=>{let c=await o(S,s),a=v[s.start??""],E=v[s.end??""];if(a&&E){let T=y.edges.find((m)=>m.id===s.id);if(T){L.debug("APA01 positionedEdge",T);let m={...s},h=n(U,m,_,u.type,a,E,u.diagramId);b(m,h)}else{let m={...s,points:[{x:a.x||0,y:a.y||0},{x:E.x||0,y:E.y||0}]},h=n(U,m,_,u.type,a,E,u.diagramId);b(m,h)}}})),L.debug("Cose-bilkent rendering completed")},"render"),ct=at;export{ct as render};
Binary file
Binary file
@@ -1,7 +0,0 @@
1
- import{b,s,w,o,a,m,e,n,y,Ot}from"./chunk-svaq7f3c.js";import{gt,Gn,Tt,lc,Wn,Ma,ki,Bs,pc}from"./chunk-j40wechd.js";var z="__chat__";function E(v){return e("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-raised",children:e("div",{className:"h-full rounded-full bg-accent transition-all duration-300",style:{width:`${v.percent}%`}})})}function _(v){return e("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:v.children})}function B(v){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:v.children})}function V(v){return n(B,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:gt(v.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:gt(v.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:gt(v.stat.cacheReadTokens)}),v.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",Wn(v.cacheHitRate),")"]})]})]})}function Q(v){let{projects:k,selectedProjectID:D,onSelectProject:g}=v,{style:l}=y();if(k.length===0)return e("div",{className:l("surface.empty"),children:"暂无项目统计数据"});return e("div",{className:"divide-y divide-line",children:k.map((t)=>{let p=t.projectID??z,f=D===p,j=Math.max(t.tokenShare>0?1:0,t.tokenShare*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate",children:t.name}),e("span",{className:l("control.badge","font-mono truncate max-w-[240px]"),title:t.directory||"未绑定项目目录",children:t.directory||"独立会话"}),e("button",{type:"button",onClick:()=>g(f?null:p),className:"rounded px-1.5 py-0.5 text-[11px] text-accent hover:bg-accent/10 transition-colors cursor-pointer shrink-0",children:f?"取消筛选":"筛选"})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Gn(t.totalTokens),children:gt(t.totalTokens)}),n("span",{className:"text-[11px] text-faint",children:["(",Wn(t.tokenShare),")"]})]})]}),e(E,{percent:j}),n(_,{children:[e(V,{stat:t,cacheHitRate:t.cacheHitRate}),n(B,{children:[n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Tt(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.sessionCount.toLocaleString()})," 会话"]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:t.toolCalls.toLocaleString()})," 次"]})]})]})]},p)})})}function Z(v){let{models:k}=v,{ModelIcon:D,style:g}=y();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无模型调用数据"});return e("div",{className:"divide-y divide-line",children:k.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e(D,{modelID:l.model,className:"size-4 shrink-0"}),e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.shortName}),e("span",{className:g("control.badge","font-mono shrink-0"),children:l.provider})]}),n("div",{className:"flex items-baseline gap-2.5 font-mono tabular-nums shrink-0",children:[l.avgTps!==null&&n("span",{className:"text-[11px] text-dim",children:[l.avgTps.toFixed(1)," tok/s"]}),n("span",{className:"text-xs font-medium text-ink",title:Gn(l.totalTokens),children:[gt(l.totalTokens)," ",n("span",{className:"text-[11px] font-normal text-faint",children:["(",Wn(l.share),")"]})]})]})]}),e(E,{percent:t}),n(_,{children:[e(V,{stat:l,cacheHitRate:l.cacheHitRate}),n(B,{children:[n("span",{children:[e("span",{className:"text-ink",children:l.turns.toLocaleString()})," 轮",l.errors>0?n("span",{className:"text-danger",children:[" (",l.errors," 错)"]}):null]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:l.toolCalls.toLocaleString()})," 次"]}),l.generationMs>0&&n("span",{children:["推理 ",e("span",{className:"text-ink",children:lc(l.generationMs)})]})]})]})]},l.model)})})}function J(v){let{tools:k}=v,{StatusChip:D,style:g}=y();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无工具调用数据"});return e("div",{className:"divide-y divide-line",children:k.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100),p=l.successRate>=0.95?"success":l.successRate>=0.8?"warning":"danger",f=Math.max(0,l.calls-l.errors),j=l.calls>0?Math.round(l.outputBytes/l.calls):0;return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.name}),n(D,{tone:p,children:["成功率 ",Wn(l.successRate)]})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[n("span",{className:"text-xs font-medium text-ink",children:[l.calls.toLocaleString()," 次"]}),n("span",{className:"text-[11px] text-faint",children:["(",Wn(l.share),")"]})]})]}),e(E,{percent:t}),n(_,{children:[n(B,{children:[n("span",{children:["成功 ",e("span",{className:"text-ink",children:f.toLocaleString()})," 次"]}),n("span",{children:["失败 ",e("span",{className:l.errors>0?"text-danger":"text-ink",children:l.errors.toLocaleString()})," 次"]})]}),n(B,{children:[n("span",{children:["累计输出 ",e("span",{className:"text-ink",children:Ma(l.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:Ma(j)})]})]})]})]},l.name)})})}function X(v){let{sessions:k,onOpenSession:D}=v,{style:g}=y();if(k.length===0)return e("div",{className:g("surface.empty"),children:"暂无高消耗会话记录"});let l=Math.max(1,...k.map((t)=>t.totalTokens));return e("div",{className:"divide-y divide-line",children:k.map((t)=>{let p=l>0?Math.max(1,t.totalTokens/l*100):0,f=t.model.split("/").pop()??t.model;return n("button",{type:"button",onClick:()=>D(t.id),className:"group block w-full p-4 text-left space-y-2.5 hover:bg-raised/40 transition-colors cursor-pointer",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate group-hover:text-accent transition-colors",children:t.title.trim()||"新会话"}),e("span",{className:g("control.badge","font-mono truncate max-w-[140px] shrink-0"),title:t.projectName,children:t.projectName}),t.kind==="sub"&&e("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 text-[10.5px] text-accent shrink-0",children:"子代理"}),t.archivedAt!==null&&e("span",{className:g("control.badge","shrink-0"),children:"已归档"})]}),n("div",{className:"flex items-center gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Gn(t.totalTokens),children:gt(t.totalTokens)}),e(Ot,{className:"size-3.5 text-faint group-hover:text-ink group-hover:translate-x-0.5 transition-all"})]})]}),e(E,{percent:p}),n(_,{children:[e(V,{stat:t}),n(B,{children:[e("span",{className:"text-ink",children:f}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Tt(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.assistantTurns})," 轮"]}),e("span",{className:"text-faint",children:pc(t.updated)})]})]})]},t.id)})})}var ee=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function te(v){let{cn:k,Segmented:D,SettingGroup:g,style:l}=y(),{daily:t}=v,[p,f]=a("tokens"),[j,P]=a(null),R=w(()=>t.some((r)=>r.totalTokens>0||r.activeDurationMs>0||r.runs>0),[t]),C=w(()=>{if(t.length===0)return{totalText:"0",avgText:"0",peakDate:"—",peakValueText:"0"};if(p==="tokens"){let T=t.reduce((M,H)=>M+H.totalTokens,0),S=t.filter((M)=>M.totalTokens>0).length,h=t[0];for(let M of t)if(!h||M.totalTokens>h.totalTokens)h=M;return{totalText:gt(T),totalFullText:Gn(T),avgText:S>0?gt(Math.round(T/S)):"0",peakDate:h&&h.totalTokens>0?ki(h.date):"—",peakValueText:h&&h.totalTokens>0?gt(h.totalTokens):"0"}}if(p==="duration"){let T=t.reduce((M,H)=>M+H.activeDurationMs,0),S=t.filter((M)=>M.activeDurationMs>0).length,h=t[0];for(let M of t)if(!h||M.activeDurationMs>h.activeDurationMs)h=M;return{totalText:Tt(T),totalFullText:Tt(T),avgText:S>0?Tt(Math.round(T/S)):"0s",peakDate:h&&h.activeDurationMs>0?ki(h.date):"—",peakValueText:h&&h.activeDurationMs>0?Tt(h.activeDurationMs):"0s"}}let r=t.reduce((T,S)=>T+S.assistantTurns,0),i=t.reduce((T,S)=>T+S.userMessages,0),u=r+i,x=t.filter((T)=>T.assistantTurns>0||T.userMessages>0).length,d=t[0];for(let T of t){let S=d?d.assistantTurns+d.userMessages:0;if(!d||T.assistantTurns+T.userMessages>S)d=T}let L=d?d.assistantTurns+d.userMessages:0;return{totalText:`${u.toLocaleString()} 轮`,totalFullText:`助手 ${r.toLocaleString()} 轮 · 用户 ${i.toLocaleString()} 问`,avgText:x>0?`${(u/x).toFixed(1)} 轮/天`:"0 轮/天",peakDate:d&&L>0?ki(d.date):"—",peakValueText:d&&L>0?`${L.toLocaleString()} 轮`:"0 轮"}},[t,p]),N=w(()=>{if(j){let r=t.find((i)=>i.date===j);if(r)return r}for(let r=t.length-1;r>=0;r--){let i=t[r];if(i&&(i.totalTokens>0||i.activeDurationMs>0||i.runs>0))return i}return t[t.length-1]},[t,j]),O=w(()=>{if(p==="tokens")return Math.max(1,...t.map((r)=>r.totalTokens));if(p==="duration")return Math.max(1000,...t.map((r)=>r.activeDurationMs));return Math.max(1,...t.map((r)=>r.assistantTurns+r.userMessages))},[t,p]),c=w(()=>{if(t.length<=7)return t.map((u)=>u.date);let r=6,i=[];for(let u=0;u<r;u++){let x=Math.round(u*(t.length-1)/(r-1)),d=t[x];if(d)i.push(d.date)}return i},[t]);if(!R)return e(g,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>f(r),options:ee}),children:e("div",{className:l("surface.empty"),children:"当前时间范围内暂无活跃数据"})});return e(g,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>f(r),options:ee}),children:n("div",{className:"p-4 space-y-4",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 font-mono text-dim tabular-nums",children:[n("span",{children:["汇总 ",e("span",{className:"text-ink",children:C.totalText})]}),n("span",{children:["日均 ",e("span",{className:"text-ink",children:C.avgText})]}),n("span",{children:["峰值 ",e("span",{className:"text-ink",children:C.peakValueText}),C.peakDate!=="—"?n("span",{className:"text-faint",children:[" (",C.peakDate,")"]}):null]})]}),n("div",{className:"flex items-center gap-3 text-[11px] text-dim",children:[p==="tokens"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent/40"}),"缓存读"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"输入"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"输出"]})]}),p==="duration"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"工作调度"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"模型推理"]})]}),p==="activity"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"助手回复"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"用户提问"]})]})]})]}),n("div",{className:"relative h-44 w-full pt-1",children:[n("div",{className:"absolute inset-0 flex flex-col justify-between pointer-events-none pb-5 text-[10px] text-faint/60",children:[e("div",{className:"border-b border-line/40 w-full"}),e("div",{className:"border-b border-line/30 w-full"}),e("div",{className:"border-b border-line/40 w-full"})]}),n("section",{"aria-label":"每日趋势柱状序列",className:"relative h-full flex flex-col justify-between",onMouseLeave:()=>P(null),children:[e("div",{className:"flex-1 flex items-end gap-1 sm:gap-1.5 pb-2",children:t.map((r)=>{let i=r.totalTokens;if(p==="duration")i=r.activeDurationMs;else if(p==="activity")i=r.assistantTurns+r.userMessages;let u=i<=0,x=u?0:Math.max(3,Math.min(100,i/O*100)),d=N?.date===r.date;return n("button",{type:"button","aria-label":`${r.date} 统计数据`,className:"flex-1 h-full flex flex-col justify-end items-center group cursor-pointer relative min-w-0 bg-transparent p-0 border-0 focus:outline-hidden",onMouseEnter:()=>P(r.date),onFocus:()=>P(r.date),onClick:()=>P(r.date),children:[e("div",{className:k("absolute inset-y-0 w-full rounded-xs transition-colors pointer-events-none",d?"bg-accent/10":"group-hover:bg-raised/60")}),u?e("div",{className:"h-1 w-full max-w-[24px] rounded-full bg-raised group-hover:bg-dim/30"}):n("div",{className:"w-full max-w-[24px] rounded-t-xs overflow-hidden flex flex-col justify-end transition-all duration-150",style:{height:`${x}%`},children:[p==="tokens"&&n(m,{children:[r.outputTokens>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.outputTokens/r.totalTokens*100}%`}}),r.inputTokens+r.cacheWriteTokens>0&&e("div",{className:"bg-accent transition-all duration-200",style:{height:`${(r.inputTokens+r.cacheWriteTokens)/r.totalTokens*100}%`}}),r.cacheReadTokens>0&&e("div",{className:"bg-accent/40 transition-all duration-200",style:{height:`${r.cacheReadTokens/r.totalTokens*100}%`}})]}),p==="duration"&&n(m,{children:[r.generationMs>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${Math.min(100,r.generationMs/Math.max(1,r.activeDurationMs)*100)}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]}),p==="activity"&&n(m,{children:[r.userMessages>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.userMessages/Math.max(1,r.assistantTurns+r.userMessages)*100}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]})]}),d&&e("div",{className:"absolute -bottom-1 size-1 rounded-full bg-accent"})]},r.date)})}),e("div",{className:k("flex items-center pt-1.5 text-[10px] text-faint font-mono tabular-nums",t.length<=7?"gap-1 sm:gap-1.5":"justify-between"),children:c.map((r)=>e("div",{className:k("whitespace-nowrap",t.length<=7&&"flex-1 text-center"),children:ki(r)},r))})]})]}),e("div",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-line pt-3 font-mono text-xs tabular-nums",children:N?n(m,{children:[e("span",{className:"text-ink",children:Bs(N.date)}),n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 text-dim",children:[n("span",{children:["Token ",e("span",{className:"text-ink",children:gt(N.totalTokens)})]}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Tt(N.activeDurationMs)})]}),n("span",{children:["交互 ",n("span",{className:"text-ink",children:[N.assistantTurns+N.userMessages," 轮"]})]}),n("span",{children:["工具 ",n("span",{className:"text-ink",children:[N.toolCalls," 次"]})]})]})]}):e("span",{className:"font-sans text-faint",children:"悬停柱状图查看单日明细"})})]})})}function se(v){let{cn:k,SettingGroup:D}=y(),{daily:g,hourly:l}=v,[t,p]=a(null),f=w(()=>{let i=new Map;for(let x of l)i.set(x.hour,x);let u=[];for(let x=0;x<24;x++){let d=i.get(x);if(d)u.push(d);else u.push({hour:x,totalTokens:0,activeDurationMs:0,userMessages:0,assistantTurns:0,runs:0})}return u},[l]),j=w(()=>{let i=f[0];for(let u of f)if(!i||u.totalTokens>i.totalTokens)i=u;return i&&i.totalTokens>0?i:null},[f]),P=w(()=>f.reduce((i,u)=>i+u.totalTokens,0),[f]),R=w(()=>Math.max(1,...f.map((i)=>i.totalTokens)),[f]),C=w(()=>{if(P<=0)return 0;return f.filter((u)=>u.hour>=8&&u.hour<20).reduce((u,x)=>u+x.totalTokens,0)/P},[f,P]),N=w(()=>Math.max(1,...g.map((i)=>i.totalTokens)),[g]),O=w(()=>{let i=0,u=0;for(let x of g)if(x.totalTokens>0||x.activeDurationMs>0||x.runs>0){if(u++,u>i)i=u}else u=0;return i},[g]),c=w(()=>g.filter((i)=>i.totalTokens>0||i.activeDurationMs>0||i.runs>0).length,[g]),r=t!==null?f[t]:j;return n(D,{title:"活跃时段与热力",action:n("div",{className:"flex items-center gap-3 font-mono text-xs text-faint tabular-nums",children:[n("span",{children:["日间占比 ",Wn(C)]}),n("span",{children:["连续活跃 ",O," 天"]}),n("span",{children:["活跃 ",c,"/",g.length," 天"]})]}),children:[n("div",{className:"p-4 space-y-3",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[e("span",{className:"text-dim",children:"24 小时分布"}),r?n("div",{className:"flex items-center gap-3 font-mono text-dim tabular-nums",children:[n("span",{className:"text-ink",children:[t!==null?"时段 ":"高峰 ",String(r.hour).padStart(2,"0"),":00 -"," ",String((r.hour+1)%24).padStart(2,"0"),":00"]}),e("span",{className:"text-ink",children:gt(r.totalTokens)}),r.activeDurationMs>0&&e("span",{children:Tt(r.activeDurationMs)})]}):e("span",{className:"text-faint",children:"暂无时段分布"})]}),n("section",{"aria-label":"24 小时活跃分布序列",className:"h-28 w-full flex flex-col justify-between pt-1",onMouseLeave:()=>p(null),children:[e("div",{className:"flex-1 flex items-end gap-1.5 pb-1.5",children:f.map((i)=>{let u=j?.hour===i.hour,x=t===i.hour,d=i.totalTokens>0?Math.max(6,i.totalTokens/R*100):0,L=`${String(i.hour).padStart(2,"0")}:00 - ${String((i.hour+1)%24).padStart(2,"0")}:00
2
- 消耗: ${Gn(i.totalTokens)} Token
3
- 耗时: ${Tt(i.activeDurationMs)}
4
- 助手轮次: ${i.assistantTurns} 轮`;return e("button",{type:"button","aria-label":`${String(i.hour).padStart(2,"0")}:00 时段统计`,className:"flex-1 h-full flex flex-col justify-end items-center group relative cursor-pointer bg-transparent p-0 border-0 focus:outline-hidden",title:L,onMouseEnter:()=>p(i.hour),onFocus:()=>p(i.hour),onClick:()=>p(i.hour),children:d>0?e("div",{className:k("w-full max-w-[20px] rounded-t-xs transition-all duration-200",u||x?"bg-accent":"bg-accent/55 group-hover:bg-accent"),style:{height:`${d}%`}}):e("div",{className:"h-1 w-full max-w-[20px] rounded-full bg-raised group-hover:bg-dim/30"})},i.hour)})}),n("div",{className:"flex justify-between items-center text-[10px] text-faint font-mono pt-1.5 border-t border-line/40",children:[e("span",{children:"00:00"}),e("span",{children:"04:00"}),e("span",{children:"08:00"}),e("span",{children:"12:00"}),e("span",{children:"16:00"}),e("span",{children:"20:00"}),e("span",{children:"23:00"})]})]})]}),n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"text-xs text-dim",children:["自然日热力 (",g.length," 天)"]}),e("div",{className:"flex flex-wrap items-center gap-1.5",children:g.map((i)=>{let u="bg-raised";if(i.totalTokens>0){let d=i.totalTokens/N;if(d<=0.33)u="bg-accent/30";else if(d<=0.66)u="bg-accent/60";else u="bg-accent"}let x=`${Bs(i.date)}
5
- 消耗: ${Gn(i.totalTokens)} Token
6
- 耗时: ${Tt(i.activeDurationMs)}
7
- 助手轮次: ${i.assistantTurns} 轮`;return e("div",{className:k("size-3.5 rounded-xs transition-transform hover:scale-125 cursor-pointer",u),title:x},i.date)})})]})]})}var re=[{value:"7d",label:"近 7 天"},{value:"30d",label:"近 30 天"},{value:"90d",label:"近 90 天"},{value:"all",label:"全部"}],W=new Map,ae=[];function K(v,k){return`${v}:${k??"all"}`}function we(v){let{connection:k,onOpen:D}=v,{Button:g,PageLayout:l,Segmented:t,SettingGroup:p,style:f}=y(),[j,P]=a("30d"),[R,C]=a(null),[N,O]=a("projects"),[c,r]=a(()=>W.get(K("30d",null))??null),[i,u]=a(()=>!W.has(K("30d",null))),[x,d]=a(null),[L,T]=a(()=>ae),S=o(0),h=b(async()=>{let H=++S.current,I=K(j,R),U=W.get(I);if(U)r(U);u(!0);try{let F=new URLSearchParams({range:j,tzOffset:String(new Date().getTimezoneOffset())});if(R)F.set("projectID",R);let G=await k.request(`/api/stats?${F.toString()}`);if(H!==S.current)return;if(W.set(I,G),r(G),d(null),G.projects)T((ne)=>{let Y=new Map(ne.map((A)=>[A.id,A.name]));for(let A of G.projects)if(A.projectID)Y.set(A.projectID,A.name);let q=Array.from(Y.entries()).map(([A,oe])=>({id:A,name:oe}));return ae=q,q})}catch(F){if(H===S.current)d(F instanceof Error?F.message:"加载统计数据失败")}finally{if(H===S.current)u(!1)}},[k,j,R]);s(()=>(h(),()=>{S.current++}),[h]);let M=w(()=>{if(!R)return null;if(R===z)return"独立聊天";return(L.find((I)=>I.id===R)??c?.projects.find((I)=>I.projectID===R))?.name??"指定项目"},[R,L,c]);return n(l,{title:M?n(m,{children:["统计 ",n("span",{className:"text-dim",children:["· ",M]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(m,{children:[R&&e(g,{size:"sm",variant:"ghost",onClick:()=>C(null),children:"返回全部"}),e(t,{value:j,onChange:P,options:re})]}),children:[x&&n("div",{className:"mb-4 flex items-center justify-between rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:[e("span",{children:x}),e(g,{size:"sm",variant:"ghost",onClick:()=>{h()},className:"text-danger hover:text-danger",children:"重试"})]}),i&&!c?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载统计…"}):!c?e("div",{className:f("surface.card","p-12 text-center text-sm text-dim"),children:"暂无统计数据"}):n("div",{className:"space-y-8",children:[e(p,{title:"核心总览",unboxed:!0,children:n("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"总 Token 消耗"}),n("span",{className:"font-mono tabular-nums",children:["缓存命中 ",Wn(c.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${Gn(c.overview.totalTokens)} Token`,children:gt(c.overview.totalTokens)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:["输入 ",gt(c.overview.inputTokens)]}),n("span",{children:["输出 ",gt(c.overview.outputTokens)]}),n("span",{children:["缓存读 ",gt(c.overview.cacheReadTokens)]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"活跃工作耗时"}),n("span",{className:"font-mono tabular-nums",children:["日均"," ",c.overview.activeDays>0?Tt(c.overview.activeDurationMs/c.overview.activeDays):"0s"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:Tt(c.overview.activeDurationMs)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:["模型推理 ",Tt(c.overview.generationMs)]}),n("span",{children:["并发累计 ",Tt(c.overview.cumulativeRunDurationMs)]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"会话与工作流"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.activeProjects,"/",c.overview.totalProjects," 活跃项目"]})]}),n("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:[c.overview.sessionCount.toLocaleString()," 个会话"]}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:[c.overview.mainSessionCount," 主会话 / ",c.overview.subSessionCount," 子代理"]}),n("span",{children:[c.overview.userMessages," 提问 / ",c.overview.assistantTurns," 回复"]})]})]}),n("div",{className:f("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"吞吐效率与调用"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.compactions," 次折叠"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:c.overview.avgTps!==null?`${c.overview.avgTps.toFixed(1)} tok/s`:`${c.overview.toolCalls.toLocaleString()} 次调用`}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:[c.overview.toolCalls.toLocaleString()," 次工具调用"]}),n("span",{children:[c.overview.runCount.toLocaleString()," 次运行"]})]})]})]})}),e(te,{daily:c.daily}),e(se,{daily:c.daily,hourly:c.hourly}),e(p,{title:"分类明细",action:e(t,{value:N,onChange:O,options:[{value:"projects",label:`项目消耗 (${c.projects.length})`},{value:"models",label:`模型分析 (${c.models.length})`},{value:"tools",label:`工具调用 (${c.tools.length})`},{value:"sessions",label:`高消耗会话 (${c.topSessions.length})`}]}),children:n("div",{className:"animate-fade",children:[N==="projects"&&e(Q,{projects:c.projects,selectedProjectID:R,onSelectProject:C,onOpenSession:D}),N==="models"&&e(Z,{models:c.models}),N==="tools"&&e(J,{tools:c.tools}),N==="sessions"&&e(X,{sessions:c.topSessions,onOpenSession:D})]},N)})]})]})}export{we as StatsPage};
Binary file
Binary file
@@ -1,84 +0,0 @@
1
- import{t,er,i,A,L,N,P,M,R,O,D,u,z,Re,Te,Ee,un,He,Ue}from"./chunk-22rjbwxp.js";import{ze}from"./chunk-3cgxntbk.js";import{Me}from"./chunk-7tmzvm05.js";var Be=function(){var e=t(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),d=[1,3],f=[1,4],m=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],q=[2,7],E=[1,26],S=[1,27],I=[1,28],x=[1,29],w=[1,33],F=[1,34],U=[1,35],Y=[1,36],B=[1,37],Q=[1,38],H=[1,24],K=[1,31],W=[1,32],j=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ae=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],be=[1,88],ke=[1,89],ge=[1,90],ye=[1,91],_e=[1,92],Ve=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],C=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],Se=[1,116],Ie=[1,117],Ne=[1,114],qe=[1,115],De={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(a,l,c,r,p,s,Ce){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:r.setDirection("TB");break;case 18:r.setDirection("BT");break;case 19:r.setDirection("RL");break;case 20:r.setDirection("LR");break;case 21:r.addRequirement(s[o-3],s[o-4]);break;case 22:r.addRequirement(s[o-5],s[o-6]),r.setClass([s[o-5]],s[o-3]);break;case 23:r.setNewReqId(s[o-2]);break;case 24:r.setNewReqText(s[o-2]);break;case 25:r.setNewReqRisk(s[o-2]);break;case 26:r.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=r.RequirementType.REQUIREMENT;break;case 30:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=r.RiskLevel.LOW_RISK;break;case 36:this.$=r.RiskLevel.MED_RISK;break;case 37:this.$=r.RiskLevel.HIGH_RISK;break;case 38:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=r.VerifyType.VERIFY_TEST;break;case 42:r.addElement(s[o-3]);break;case 43:r.addElement(s[o-5]),r.setClass([s[o-5]],s[o-3]);break;case 44:r.setNewElementType(s[o-2]);break;case 45:r.setNewElementDocRef(s[o-2]);break;case 48:r.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:r.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=r.Relationships.CONTAINS;break;case 51:this.$=r.Relationships.COPIES;break;case 52:this.$=r.Relationships.DERIVES;break;case 53:this.$=r.Relationships.SATISFIES;break;case 54:this.$=r.Relationships.VERIFIES;break;case 55:this.$=r.Relationships.REFINES;break;case 56:this.$=r.Relationships.TRACES;break;case 57:this.$=s[o-2],r.defineClass(s[o-1],s[o]);break;case 58:r.setClass(s[o-1],s[o]);break;case 59:r.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],r.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:d,9:f,11:m,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:d,9:f,11:m,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:d,9:f,11:m,13:n},{1:[2,2]},{4:17,5:_,7:13,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:43,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:44,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:45,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:46,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:47,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:48,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:49,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{4:17,5:_,7:50,8:q,9:f,11:m,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:I,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(Qe,[2,81]),e(Qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ae,[2,79]),e(Ae,[2,80]),{27:[1,67],29:[1,68]},e(Ae,[2,85]),e(Ae,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},e(Ve,[2,60]),e(Ve,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e}),e(C,[2,67]),e(C,[2,69]),e(C,[2,70]),e(C,[2,71]),e(C,[2,72]),e(C,[2,73]),e(C,[2,74]),e(C,[2,75]),e(C,[2,76]),e(C,[2,77]),e(C,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:Se,40:Ie,56:113,57:Ne,59:qe},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},e(Ve,[2,61]),e(Ve,[2,63]),e(C,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:Se,40:Ie,56:130,57:Ne,59:qe},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:Se,40:Ie,56:152,57:Ne,59:qe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:Se,40:Ie,56:163,57:Ne,59:qe},{5:Se,40:Ie,56:164,57:Ne,59:qe},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:t(function(a){var l=this,c=[0],r=[],p=[null],s=[],Ce=this.table,o="",Le=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Oe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Oe))le.yy[Oe]=this.yy[Oe];if(y.setInput(a,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var Fe=y.yylloc;s.push(Fe);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(v){c.length=c.length-2*v,p.length=p.length-v,s.length=s.length-v}t(mt,"popStack");function nt(){var v=r.pop()||y.lex()||rt;if(typeof v!=="number"){if(v instanceof Array)r=v,v=r.pop();v=l.symbols_[v]||v}return v}t(nt,"lex");var T,$e,oe,V,kt,Pe,he={},xe,G,at,we;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])V=this.defaultActions[oe];else{if(T===null||typeof T>"u")T=nt();V=Ce[oe]&&Ce[oe][T]}if(typeof V>"u"||!V.length||!V[0]){var Ye="";we=[];for(xe in Ce[oe])if(this.terminals_[xe]&&xe>ct)we.push("'"+this.terminals_[xe]+"'");if(y.showPosition)Ye="Parse error on line "+(Le+1)+`:
2
- `+y.showPosition()+`
3
- Expecting `+we.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else Ye="Parse error on line "+(Le+1)+": Unexpected "+(T==rt?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(Ye,{text:y.match,token:this.terminals_[T]||T,line:y.yylineno,loc:Fe,expected:we})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+T);switch(V[0]){case 1:if(c.push(T),p.push(y.yytext),s.push(y.yylloc),c.push(V[1]),T=null,!$e){if(st=y.yyleng,o=y.yytext,Le=y.yylineno,Fe=y.yylloc,it>0)it--}else T=$e,$e=null;break;case 2:if(G=this.productions_[V[1]][1],he.$=p[p.length-G],he._$={first_line:s[s.length-(G||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(G||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(G||1)].range[0],s[s.length-1].range[1]];if(Pe=this.performAction.apply(he,[o,st,Le,le.yy,V[1],p,s].concat(ht)),typeof Pe<"u")return Pe;if(G)c=c.slice(0,-1*G*2),p=p.slice(0,-1*G),s=s.slice(0,-1*G);c.push(this.productions_[V[1]][0]),p.push(he.$),s.push(he._$),at=Ce[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(a,l){if(this.yy=l||this.yy||{},this._input=a,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 a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);if(l)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),a},"input"),unput:t(function(a){var l=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var r=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),c.length-1)this.yylineno-=c.length-1;var p=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:c?(c.length===r.length?this.yylloc.first_column:0)+r[r.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];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(a){this.unput(this.match.slice(a))},"less"),pastInput:t(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var a=this.pastInput(),l=Array(a.length+1).join("-");return a+this.upcomingInput()+`
5
- `+l+"^"},"showPosition"),test_match:t(function(a,l){var c,r,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(r=a[0].match(/(?:\r\n?|\n).*/g),r)this.yylineno+=r.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,l,c,r;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,r=s,this.options.backtrack_lexer)if(a=this.test_match(c,p[s]),a!==!1)return a;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(a=this.test_match(l,p[r]),a!==!1)return a;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 l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>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(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,r,p){var s=p;switch(r){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();De.lexer=ot;function ve(){this.yy={}}return t(ve,"Parser"),ve.prototype=De,De.Parser=ve,new ve}();Be.parser=Be;var ft=Be,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=N,this.getAccTitle=P,this.setAccDescription=M,this.getAccDescription=R,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>u().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,d){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:d,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),i.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,d,f){this.relations.push({type:e,src:d,dst:f})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,L()}setCssStyle(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(!d||!m)return;for(let n of d)if(n.includes(","))m.cssStyles.push(...n.split(","));else m.cssStyles.push(n)}}setClass(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(m)for(let n of d){m.classes.push(n);let h=this.classes.get(n)?.styles;if(h)m.cssStyles.push(...h)}}}defineClass(e,d){for(let f of e){let m=this.classes.get(f);if(m===void 0)m={id:f,styles:[],textStyles:[]},this.classes.set(f,m);if(d)d.forEach(function(n){if(/color/.exec(n)){let h=n.replace("fill","bgFill");m.textStyles.push(h)}m.styles.push(n)});this.requirements.forEach((n)=>{if(n.classes.includes(f))n.cssStyles.push(...d.flatMap((h)=>h.split(",")))}),this.elements.forEach((n)=>{if(n.classes.includes(f))n.cssStyles.push(...d.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=u(),d=[],f=[];for(let n of this.requirements.values()){let h=n;h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=d.length,d.push(h)}for(let n of this.elements.values()){let h=n;h.shape="requirementBox",h.look=e.look,h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.colorIndex=d.length,d.push(h)}let m=0;for(let n of this.relations){let h=n.type===this.Relationships.CONTAINS,_={id:`${n.src}-${n.dst}-${m++}`,start:this.requirements.get(n.src)?.name??this.elements.get(n.src)?.name,end:this.requirements.get(n.dst)?.name??this.elements.get(n.dst)?.name,label:`&lt;&lt;${n.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};f.push(_)}return{nodes:d,edges:f,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=A(),{theme:d,themeVariables:f}=e,{bkgColorArray:m,borderColorArray:n}=f;if(!Te(d,n))return"";let h=Ee(e.look),_="",q=Re(m);for(let E=0;E<un(n);E++){let S=n[E],I=q?`fill: ${m[E%m.length]};`:"";_+=`
7
-
8
- [data-look="${h}"][data-color-id="color-${E}"].node path {
9
- stroke: ${S};
10
- ${I}
11
- }
12
-
13
- [data-look="${h}"][data-color-id="color-${E}"].node rect {
14
- stroke: ${S};
15
- ${I}
16
- }
17
- `}return _},"genColor"),Et=t((e)=>{let d=A(),{look:f,themeVariables:m}=d,{requirementEdgeLabelBackground:n}=m;return`
18
- ${pt()}
19
- marker {
20
- fill: ${e.relationColor};
21
- stroke: ${e.relationColor};
22
- }
23
-
24
- marker.cross {
25
- stroke: ${e.lineColor};
26
- }
27
-
28
- svg {
29
- font-family: ${e.fontFamily};
30
- font-size: ${e.fontSize};
31
- }
32
-
33
- .reqBox {
34
- fill: ${e.requirementBackground};
35
- fill-opacity: 1.0;
36
- stroke: ${e.requirementBorderColor};
37
- stroke-width: ${e.requirementBorderSize};
38
- }
39
-
40
- .reqTitle, .reqLabel{
41
- fill: ${e.requirementTextColor};
42
- }
43
- .reqLabelBox {
44
- fill: ${e.relationLabelBackground};
45
- fill-opacity: 1.0;
46
- }
47
-
48
- .req-title-line {
49
- stroke: ${e.requirementBorderColor};
50
- stroke-width: ${e.requirementBorderSize};
51
- }
52
- .relationshipLine {
53
- stroke: ${e.relationColor};
54
- stroke-width: ${f==="neo"?e.strokeWidth:"1px"};
55
- }
56
- .relationshipLabel {
57
- fill: ${e.relationLabelColor};
58
- }
59
- .edgeLabel {
60
- background-color: ${e.edgeLabelBackground};
61
- }
62
- .edgeLabel .label rect {
63
- fill: ${e.edgeLabelBackground};
64
- }
65
- .edgeLabel .label text {
66
- fill: ${e.relationLabelColor};
67
- }
68
- .divider {
69
- stroke: ${e.nodeBorder};
70
- stroke-width: 1;
71
- }
72
- .label {
73
- font-family: ${e.fontFamily};
74
- color: ${e.nodeTextColor||e.textColor};
75
- }
76
- .label text,span {
77
- fill: ${e.nodeTextColor||e.textColor};
78
- color: ${e.nodeTextColor||e.textColor};
79
- }
80
- .labelBkg {
81
- background-color: ${n??e.edgeLabelBackground};
82
- }
83
-
84
- `},"getStyles"),bt=Et,lt={};er(lt,{draw:()=>Rt});var Rt=t(async function(e,d,f,m){i.info("REF0:"),i.info("Drawing requirement diagram (unified)",d);let{securityLevel:n,state:h,layout:_,look:q}=u(),E=m.db.getData(),S=ze(d,n);E.type=m.type,E.layoutAlgorithm=Ue(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=q==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=d,await He(E,S);let I=8;z.insertTitle(S,"requirementDiagramTitleText",h?.titleTopMargin??25,m.db.getDiagramTitle()),Me(S,I,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
Binary file
Binary file
@@ -1,24 +0,0 @@
1
- import{ae}from"./chunk-h5m9ggsm.js";import{t,i,Ye,F,A,W,L,N,P,M,R,O,D,g,J,Mi,E,Z}from"./chunk-22rjbwxp.js";import{Pn}from"./chunk-rvmk483c.js";import{he}from"./chunk-9xb3j03w.js";import{zt}from"./chunk-ef0wf92p.js";import{Me}from"./chunk-7tmzvm05.js";function Xe(e){var r=0,n=e.children,l=n&&n.length;if(!l)r=1;else while(--l>=0)r+=n[l].value;e.value=r}function me(){return this.eachAfter(Xe)}function ge(e,r){let n=-1;for(let l of this)e.call(r,l,++n,this);return this}function ye(e,r){var n=this,l=[n],o,p,u=-1;while(n=l.pop())if(e.call(r,n,++u,this),o=n.children)for(p=o.length-1;p>=0;--p)l.push(o[p]);return this}function xe(e,r){var n=this,l=[n],o=[],p,u,f,S=-1;while(n=l.pop())if(o.push(n),p=n.children)for(u=0,f=p.length;u<f;++u)l.push(p[u]);while(n=o.pop())e.call(r,n,++S,this);return this}function Se(e,r){let n=-1;for(let l of this)if(e.call(r,l,++n,this))return l}function ve(e){return this.eachAfter(function(r){var n=+e(r.data)||0,l=r.children,o=l&&l.length;while(--o>=0)n+=l[o].value;r.value=n})}function be(e){return this.eachBefore(function(r){if(r.children)r.children.sort(e)})}function we(e){var r=this,n=je(r,e),l=[r];while(r!==n)r=r.parent,l.push(r);var o=l.length;while(e!==n)l.splice(o,0,e),e=e.parent;return l}function je(e,r){if(e===r)return e;var n=e.ancestors(),l=r.ancestors(),o=null;e=n.pop(),r=l.pop();while(e===r)o=e,e=n.pop(),r=l.pop();return o}function Ce(){var e=this,r=[e];while(e=e.parent)r.push(e);return r}function Te(){return Array.from(this)}function Le(){var e=[];return this.eachBefore(function(r){if(!r.children)e.push(r)}),e}function $e(){var e=this,r=[];return e.each(function(n){if(n!==e)r.push({source:n.parent,target:n})}),r}function*Ae(){var e=this,r,n=[e],l,o,p;do{r=n.reverse(),n=[];while(e=r.pop())if(yield e,l=e.children)for(o=0,p=l.length;o<p;++o)n.push(l[o])}while(n.length)}function te(e,r){if(e instanceof Map){if(e=[void 0,e],r===void 0)r=Je}else if(r===void 0)r=Ue;var n=new se(e),l,o=[n],p,u,f,S;while(l=o.pop())if((u=r(l.data))&&(S=(u=Array.from(u)).length)){l.children=u;for(f=S-1;f>=0;--f)o.push(p=u[f]=new se(u[f])),p.parent=l,p.depth=l.depth+1}return n.eachBefore(Qe)}function Ze(){return te(this).eachBefore(Ke)}function Ue(e){return e.children}function Je(e){return Array.isArray(e)?e[1]:null}function Ke(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function Qe(e){var r=0;do e.height=r;while((e=e.parent)&&e.height<++r)}function se(e){this.data=e,this.depth=this.height=0,this.parent=null}se.prototype=te.prototype={constructor:se,count:me,each:ge,eachAfter:xe,eachBefore:ye,find:Se,sum:ve,sort:be,path:we,ancestors:Ce,descendants:Te,leaves:Le,links:$e,copy:Ze,[Symbol.iterator]:Ae};function Pe(e){if(typeof e!=="function")throw Error();return e}function re(){return 0}function U(e){return function(){return e}}function Fe(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Ne(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(l-r)/e.value;while(++f<S)u=p[f],u.y0=n,u.y1=o,u.x0=r,u.x1=r+=u.value*d}function ke(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(o-n)/e.value;while(++f<S)u=p[f],u.x0=r,u.x1=l,u.y0=n,u.y1=n+=u.value*d}var et=(1+Math.sqrt(5))/2;function tt(e,r,n,l,o,p){var u=[],f=r.children,S,d,h=0,T=0,s=f.length,C,b,w=r.value,m,v,q,H,K,le,G;while(h<s){C=o-n,b=p-l;do m=f[T++].value;while(!m&&T<s);v=q=m,le=Math.max(b/C,C/b)/(w*e),G=m*m*le,K=Math.max(q/G,G/v);for(;T<s;++T){if(m+=d=f[T].value,d<v)v=d;if(d>q)q=d;if(G=m*m*le,H=Math.max(q/G,G/v),H>K){m-=d;break}K=H}if(u.push(S={value:m,dice:C<b,children:f.slice(h,T)}),S.dice)Ne(S,n,l,o,w?l+=b*m/w:p);else ke(S,n,l,w?n+=C*m/w:o,p);w-=m,h=T}return u}var Be=function e(r){function n(l,o,p,u,f){tt(r,l,o,p,u,f)}return n.ratio=function(l){return e((l=+l)>1?l:1)},n}(et);function de(){var e=Be,r=!1,n=1,l=1,o=[0],p=re,u=re,f=re,S=re,d=re;function h(s){if(s.x0=s.y0=0,s.x1=n,s.y1=l,s.eachBefore(T),o=[0],r)s.eachBefore(Fe);return s}function T(s){var C=o[s.depth],b=s.x0+C,w=s.y0+C,m=s.x1-C,v=s.y1-C;if(m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;if(s.x0=b,s.y0=w,s.x1=m,s.y1=v,s.children){if(C=o[s.depth+1]=p(s)/2,b+=d(s)-C,w+=u(s)-C,m-=f(s)-C,v-=S(s)-C,m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;e(s,b,w,m,v)}}return h.round=function(s){return arguments.length?(r=!!s,h):r},h.size=function(s){return arguments.length?(n=+s[0],l=+s[1],h):[n,l]},h.tile=function(s){return arguments.length?(e=Pe(s),h):e},h.padding=function(s){return arguments.length?h.paddingInner(s).paddingOuter(s):h.paddingInner()},h.paddingInner=function(s){return arguments.length?(p=typeof s==="function"?s:U(+s),h):p},h.paddingOuter=function(s){return arguments.length?h.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s):h.paddingTop()},h.paddingTop=function(s){return arguments.length?(u=typeof s==="function"?s:U(+s),h):u},h.paddingRight=function(s){return arguments.length?(f=typeof s==="function"?s:U(+s),h):f},h.paddingBottom=function(s){return arguments.length?(S=typeof s==="function"?s:U(+s),h):S},h.paddingLeft=function(s){return arguments.length?(d=typeof s==="function"?s:U(+s),h):d},h}var Ee=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=N,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=R,this.setAccDescription=M}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=F,r=A();return Z({...e.treemap,...r.treemap??{}})}addNode(e,r){if(this.nodes.push(e),this.levels.set(e,r),r===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},l=r.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(l)l.forEach((o)=>{if(Mi(o))if(n?.textStyles)n.textStyles.push(o);else n.textStyles=[o];if(n?.styles)n.styles.push(o);else n.styles=[o]});this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){L(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function Re(e){if(!e.length)return[];let r=[],n=[];return e.forEach((l)=>{let o={name:l.name,children:l.type==="Leaf"?void 0:[]};if(o.classSelector=l?.classSelector,l?.cssCompiledStyles)o.cssCompiledStyles=l.cssCompiledStyles;if(l.type==="Leaf"&&l.value!==void 0)o.value=l.value;while(n.length>0&&n[n.length-1].level>=l.level)n.pop();if(n.length===0)r.push(o);else{let p=n[n.length-1].node;if(p.children)p.children.push(o);else p.children=[o]}if(l.type!=="Leaf")n.push({node:o,level:l.level})}),r}t(Re,"buildHierarchy");var at=t((e,r)=>{ae(e,r);let n=[];for(let p of e.TreemapRows??[])if(p.$type==="ClassDefStatement")r.addClass(p.className??"",p.styleText??"");for(let p of e.TreemapRows??[]){let u=p.item;if(!u)continue;let f=p.indent?parseInt(p.indent):0,S=rt(u),d=u.classSelector?r.getStylesForClass(u.classSelector):[],h=d.length>0?d:void 0,T={level:f,name:S,type:u.$type,value:u.value,classSelector:u.classSelector,cssCompiledStyles:h};n.push(T)}let l=Re(n),o=t((p,u)=>{for(let f of p)if(r.addNode(f,u),f.children&&f.children.length>0)o(f.children,u+1)},"addNodesRecursively");o(l,0)},"populate"),rt=t((e)=>e.name?String(e.name):"","getItemName"),We={parser:{yy:void 0},parse:t(async(e)=>{try{let n=await he("treemap",e);i.debug("Treemap AST:",n);let l=We.parser?.yy;if(!(l instanceof Ee))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");at(n,l)}catch(r){throw i.error("Error parsing treemap:",r),r}},"parse")},nt=10,ne=10,ie=25,lt=t((e,r,n,l)=>{let o=l.db,p=o.getConfig(),u=p.padding??nt,f=o.getDiagramTitle(),S=o.getRoot(),{themeVariables:d}=A();if(!S)return;let h=f?30:0,T=J(r),s=p.nodeWidth?p.nodeWidth*ne:960,C=p.nodeHeight?p.nodeHeight*ne:500,b=s,w=C+h;T.attr("viewBox",`0 0 ${b} ${w}`),W(T,w,b,p.useMaxWidth);let m;try{let a=p.valueFormat||",";if(a==="$0,0")m=t((c)=>"$"+Pn(",")(c),"valueFormat");else if(a.startsWith("$")&&a.includes(",")){let c=/\.\d+/.exec(a),y=c?c[0]:"";m=t((k)=>"$"+Pn(","+y)(k),"valueFormat")}else if(a.startsWith("$")){let c=a.substring(1);m=t((y)=>"$"+Pn(c||"")(y),"valueFormat")}else m=Pn(a)}catch(a){i.error("Error creating format function:",a),m=Pn(",")}let v=zt().range(["transparent",d.cScale0,d.cScale1,d.cScale2,d.cScale3,d.cScale4,d.cScale5,d.cScale6,d.cScale7,d.cScale8,d.cScale9,d.cScale10,d.cScale11]),q=zt().range(["transparent",d.cScalePeer0,d.cScalePeer1,d.cScalePeer2,d.cScalePeer3,d.cScalePeer4,d.cScalePeer5,d.cScalePeer6,d.cScalePeer7,d.cScalePeer8,d.cScalePeer9,d.cScalePeer10,d.cScalePeer11]),H=zt().range([d.cScaleLabel0,d.cScaleLabel1,d.cScaleLabel2,d.cScaleLabel3,d.cScaleLabel4,d.cScaleLabel5,d.cScaleLabel6,d.cScaleLabel7,d.cScaleLabel8,d.cScaleLabel9,d.cScaleLabel10,d.cScaleLabel11]);if(f)T.append("text").attr("x",b/2).attr("y",h/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(f);let K=T.append("g").attr("transform",`translate(0, ${h})`).attr("class","treemapContainer"),le=te(S).sum((a)=>a.value??0).sort((a,c)=>(c.value??0)-(a.value??0)),_e=de().size([s,C]).paddingTop((a)=>a.children&&a.children.length>0?ie+ne:0).paddingInner(u).paddingLeft((a)=>a.children&&a.children.length>0?ne:0).paddingRight((a)=>a.children&&a.children.length>0?ne:0).paddingBottom((a)=>a.children&&a.children.length>0?ne:0).round(!0)(le),He=_e.descendants().filter((a)=>a.children&&a.children.length>0),oe=K.selectAll(".treemapSection").data(He).enter().append("g").attr("class","treemapSection").attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",ie).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(a)=>{if(a.depth===0)return"display: none;";return""}),oe.append("clipPath").attr("id",(a,c)=>`clip-section-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-12)).attr("height",ie),oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class",(a,c)=>`treemapSection section${c}`).attr("fill",(a)=>v(a.data.name)).attr("fill-opacity",0.6).attr("stroke",(a)=>q(a.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c=E({cssCompiledStyles:a.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),oe.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",ie/2).attr("dominant-baseline","middle").text((a)=>a.depth===0?"":a.data.name).attr("font-weight","bold").attr("clip-path",(a,c)=>`url(#clip-section-${r}-${c})`).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+H(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(a){if(a.depth===0)return;let c=g(this),y=a.data.name;c.text(y);let k=a.x1-a.x0,z=6,_;if(p.showValues!==!1&&a.value){let B=k-10,j=30,qe=10;_=B-30-10-z}else _=k-z-6;let x=Math.max(15,_),Y=c.node();if(Y.getComputedTextLength()>x){let j=y;while(j.length>0){if(j=y.substring(0,j.length-1),j.length===0){if(c.text("..."),Y.getComputedTextLength()>x)c.text("");break}if(c.text(j+"..."),Y.getComputedTextLength()<=x)break}}}),p.showValues!==!1)oe.append("text").attr("class","treemapSectionValue").attr("x",(a)=>a.x1-a.x0-10).attr("y",ie/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((a)=>a.value?m(a.value):"").attr("font-style","italic").attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+H(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let ze=_e.leaves(),I=ze.length>20,Ie=I?16:38,ce=I?14:28,Q=I?4:8,ee=I?4:6,ue=I?2:4,De=I?8:10,fe=I?1:2,pe=K.selectAll(".treemapLeafGroup").data(ze).enter().append("g").attr("class",(a,c)=>`treemapNode treemapLeafGroup leaf${c}${a.data.classSelector?` ${a.data.classSelector}`:""}x`).attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(pe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class","treemapLeaf").attr("fill",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("style",(a)=>E({cssCompiledStyles:a.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("stroke-width",3),pe.append("clipPath").attr("id",(a,c)=>`clip-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-4)).attr("height",(a)=>Math.max(0,a.y1-a.y0-4)),pe.append("text").attr("class","treemapLabel").attr("x",(a)=>(a.x1-a.x0)/2).attr("y",(a)=>(a.y1-a.y0)/2).attr("style",(a)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Ie}px;fill:`+H(a.data.name)+";",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(a,c)=>`url(#clip-${r}-${c})`).text((a)=>a.data.name).each(function(a){let c=g(this),y=a.x1-a.x0,k=a.y1-a.y0,z=c.node(),_=y-2*ue,X=k-2*ue;if(_<De||X<De){c.style("display","none");return}let x=parseInt(c.style("font-size"),10),Y=0.6;while(z.getComputedTextLength()>_&&x>Q)x--,c.style("font-size",`${x}px`);let V=Math.max(ee,Math.min(ce,Math.round(x*Y))),B=x+fe+V;while(B>X&&x>Q){if(x--,V=Math.max(ee,Math.min(ce,Math.round(x*Y))),V<ee&&x===Q)break;if(c.style("font-size",`${x}px`),B=x+fe+V,V<=ee&&B>X);}if(c.style("font-size",`${x}px`),I){if(x<Q||X<Q)c.style("display","none")}else if(z.getComputedTextLength()>_||x<Q||X<x)c.style("display","none")}),p.showValues!==!1)pe.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${ce}px;fill:`+H(c.data.name)+";",k=E({cssCompiledStyles:c.data.cssCompiledStyles});return y+k.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${r}-${y})`).text((c)=>c.value?m(c.value):"").each(function(c){let y=g(this),k=this.parentNode;if(!k){y.style("display","none");return}let z=g(k).select(".treemapLabel");if(z.empty()||z.style("display")==="none"){y.style("display","none");return}let _=parseFloat(z.style("font-size")),x=Math.max(ee,Math.min(ce,Math.round(_*0.6)));y.style("font-size",`${x}px`);let V=(c.y1-c.y0)/2+_/2+fe;y.attr("y",V);let B=c.x1-c.x0,Ve=c.y1-c.y0-4,Ge=B-2*ue;if(y.node().getComputedTextLength()>Ge||V+x>Ve||x<ee)y.style("display","none");else y.style("display",null)});let Oe=p.diagramPadding??8;Me(T,Oe,"flowchart",p?.useMaxWidth||!1)},"draw"),ot=t(function(e,r){return r.db.getClasses()},"getClasses"),st={draw:lt,getClasses:ot},it={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ct=t(({treemap:e}={})=>{let r=Ye(),n=A(),l=Z(r,n.themeVariables),o=Z(it,e),p=o.titleColor??l.titleColor,u=o.labelColor??l.textColor,f=o.valueColor??l.textColor;return`
2
- .treemapNode.section {
3
- stroke: ${o.sectionStrokeColor};
4
- stroke-width: ${o.sectionStrokeWidth};
5
- fill: ${o.sectionFillColor};
6
- }
7
- .treemapNode.leaf {
8
- stroke: ${o.leafStrokeColor};
9
- stroke-width: ${o.leafStrokeWidth};
10
- fill: ${o.leafFillColor};
11
- }
12
- .treemapLabel {
13
- fill: ${u};
14
- font-size: ${o.labelFontSize};
15
- }
16
- .treemapValue {
17
- fill: ${f};
18
- font-size: ${o.valueFontSize};
19
- }
20
- .treemapTitle {
21
- fill: ${p};
22
- font-size: ${o.titleFontSize};
23
- }
24
- `},"getStyles"),pt=ct,ua={parser:We,get db(){return new Ee},renderer:st,styles:pt};export{ua as diagram};
Binary file
Binary file
@@ -1,70 +0,0 @@
1
- import{t,C,W,L,N,P,M,R,O,D,u,J,Nt,v}from"./chunk-22rjbwxp.js";var dt=function(){var e=t(function(z,i,n,s){for(n=n||{},s=z.length;s--;n[z[s]]=i);return n},"o"),y=[1,4],r=[1,14],l=[1,12],o=[1,13],f=[6,7,8],g=[1,20],d=[1,18],b=[1,19],c=[6,7,11],w=[1,6,13,14],m=[1,23],x=[1,24],S=[1,6,7,11,13,14],U={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(i,n,s,h,p,a,E){var _=a.length-1;switch(p){case 6:case 7:return h;case 15:h.addNode(a[_-1].length,a[_].trim());break;case 16:h.addNode(0,a[_].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:y},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:y},{6:r,7:[1,10],9:9,12:11,13:l,14:o},e(f,[2,3]),{1:[2,2]},e(f,[2,4]),e(f,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:g,7:d,10:17,11:b},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:g,7:d,10:22,11:b},{1:[2,7],6:r,12:15,13:l,14:o},e(w,[2,14],{7:m,11:x}),e(S,[2,8]),e(S,[2,9]),e(S,[2,10]),e(c,[2,15]),e(w,[2,13],{7:m,11:x}),e(S,[2,11]),e(S,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:t(function(i){var n=this,s=[0],h=[],p=[null],a=[],E=this.table,_="",V=0,A=0,B=0,F=2,X=1,rt=a.slice.call(arguments,1),k=Object.create(this.lexer),I={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))I.yy[K]=this.yy[K];if(k.setInput(i,I.yy),I.yy.lexer=k,I.yy.parser=this,typeof k.yylloc>"u")k.yylloc={};var q=k.yylloc;a.push(q);var lt=k.options&&k.options.ranges;if(typeof I.yy.parseError==="function")this.parseError=I.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function xt(G){s.length=s.length-2*G,p.length=p.length-G,a.length=a.length-G}t(xt,"popStack");function yt(){var G=h.pop()||k.lex()||X;if(typeof G!=="number"){if(G instanceof Array)h=G,G=h.pop();G=n.symbols_[G]||G}return G}t(yt,"lex");var j,ot,Q,H,Rt,ht,tt={},st,Y,ft,nt;while(!0){if(Q=s[s.length-1],this.defaultActions[Q])H=this.defaultActions[Q];else{if(j===null||typeof j>"u")j=yt();H=E[Q]&&E[Q][j]}if(typeof H>"u"||!H.length||!H[0]){var ct="";nt=[];for(st in E[Q])if(this.terminals_[st]&&st>F)nt.push("'"+this.terminals_[st]+"'");if(k.showPosition)ct="Parse error on line "+(V+1)+`:
2
- `+k.showPosition()+`
3
- Expecting `+nt.join(", ")+", got '"+(this.terminals_[j]||j)+"'";else ct="Parse error on line "+(V+1)+": Unexpected "+(j==X?"end of input":"'"+(this.terminals_[j]||j)+"'");this.parseError(ct,{text:k.match,token:this.terminals_[j]||j,line:k.yylineno,loc:q,expected:nt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+j);switch(H[0]){case 1:if(s.push(j),p.push(k.yytext),a.push(k.yylloc),s.push(H[1]),j=null,!ot){if(A=k.yyleng,_=k.yytext,V=k.yylineno,q=k.yylloc,B>0)B--}else j=ot,ot=null;break;case 2:if(Y=this.productions_[H[1]][1],tt.$=p[p.length-Y],tt._$={first_line:a[a.length-(Y||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(Y||1)].first_column,last_column:a[a.length-1].last_column},lt)tt._$.range=[a[a.length-(Y||1)].range[0],a[a.length-1].range[1]];if(ht=this.performAction.apply(tt,[_,A,V,I.yy,H[1],p,a].concat(rt)),typeof ht<"u")return ht;if(Y)s=s.slice(0,-1*Y*2),p=p.slice(0,-1*Y),a=a.slice(0,-1*Y);s.push(this.productions_[H[1]][0]),p.push(tt.$),a.push(tt._$),ft=E[s[s.length-2]][s[s.length-1]],s.push(ft);break;case 3:return!0}}return!0},"parse")},Z=function(){var z={EOF:1,parseError:t(function(n,s){if(this.yy.parser)this.yy.parser.parseError(n,s);else throw Error(n)},"parseError"),setInput:t(function(i,n){if(this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.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),i},"input"),unput:t(function(i){var n=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var h=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),s.length-1)this.yylineno-=s.length-1;var p=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:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[p[0],p[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(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(i,n){var s,h,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(h=i[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],s=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(s)return s;else if(this._backtrack){for(var a in p)this[a]=p[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,n,s,h;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var a=0;a<p.length;a++)if(s=this._input.match(this.rules[p[a]]),s&&(!n||s[0].length>n[0].length)){if(n=s,h=a,this.options.backtrack_lexer)if(i=this.test_match(s,p[a]),i!==!1)return i;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(i=this.test_match(n,p[h]),i!==!1)return i;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:{"case-insensitive":!0},performAction:t(function(n,s,h,p){var a=p;switch(h){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return z}();U.lexer=Z;function T(){this.yy={}}return t(T,"Parser"),T.prototype=U,U.Parser=T,new T}();dt.parser=dt;var vt=dt,St=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{t(this,"IshikawaDB")}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,L()}getRoot(){return this.root}addNode(e,y){let r=C.sanitizeText(y,u());if(!this.root){this.root={text:r,children:[]},this.stack=[{level:0,node:this.root}],O(r);return}this.baseLevel??=e;let l=e-this.baseLevel+1;if(l<=0)l=1;while(this.stack.length>1&&this.stack[this.stack.length-1].level>=l)this.stack.pop();let o=this.stack[this.stack.length-1].node,f={text:r,children:[]};o.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return P()}setAccTitle(e){N(e)}getAccDescription(){return R()}setAccDescription(e){M(e)}getDiagramTitle(){return D()}setDiagramTitle(e){O(e)}},Et=14,et=250,$t=30,At=60,It=5,bt=82*Math.PI/180,pt=Math.cos(bt),gt=Math.sin(bt),kt=t((e,y,r)=>{let l=e.node().getBBox(),o=l.width+y*2,f=l.height+y*2;W(e,f,o,r),e.attr("viewBox",`${l.x-y} ${l.y-y} ${o} ${f}`)},"applyPaddedViewBox"),Lt=t((e,y,r,l)=>{let f=l.db.getRoot();if(!f)return;let g=u(),{look:d,handDrawnSeed:b,themeVariables:c}=g,w=Nt(g.fontSize)[0]??Et,m=d==="handDrawn",x=f.children??[],S=g.ishikawa?.diagramPadding??20,U=g.ishikawa?.useMaxWidth??!1,Z=J(y),T=Z.append("g").attr("class","ishikawa"),z=m?v.svg(Z.node()):void 0,i=z?{roughSvg:z,seed:b??0,lineColor:c?.lineColor??"#333",fillColor:c?.mainBkg??"#fff"}:void 0,n=`ishikawa-arrow-${y}`;if(!m)T.append("defs").append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let s=0,h=et,p=m?void 0:it(T,s,h,s,h,"ishikawa-spine");if(Tt(T,s,h,f.text,w,i),!x.length){if(m)it(T,s,h,s,h,"ishikawa-spine",i);kt(Z,S,U);return}s-=20;let a=x.filter((k,I)=>I%2===0),E=x.filter((k,I)=>I%2===1),_=mt(a),V=mt(E),A=_.total+V.total,B=et,F=et;if(A>0){let k=et*2,I=et*0.3;B=Math.max(I,k*(_.total/A)),F=Math.max(I,k*(V.total/A))}let X=w*2;if(B=Math.max(B,_.max*X),F=Math.max(F,V.max*X),h=Math.max(B,et),p)p.attr("y1",h).attr("y2",h);T.select(".ishikawa-head-group").attr("transform",`translate(0,${h})`);let rt=Math.ceil(x.length/2);for(let k=0;k<rt;k++){let I=T.append("g").attr("class","ishikawa-pair");for(let[K,q,lt]of[[x[k*2],-1,B],[x[k*2+1],1,F]])if(K)Bt(I,K,s,h,q,lt,w,i);s=I.selectAll("text").nodes().reduce((K,q)=>Math.min(K,q.getBBox().x),1/0)}if(m)it(T,s,h,0,h,"ishikawa-spine",i);else{p.attr("x1",s);let k=`url(#${n})`;T.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",k)}kt(Z,S,U)},"draw"),mt=t((e)=>{let y=t((r)=>r.children.reduce((l,o)=>l+1+y(o),0),"countDescendants");return e.reduce((r,l)=>{let o=y(l);return r.total+=o,r.max=Math.max(r.max,o),r},{total:0,max:0})},"sideStats"),Tt=t((e,y,r,l,o,f)=>{let g=Math.max(6,Math.floor(110/(o*0.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${y},${r})`),b=at(d,_t(l,g),0,0,"ishikawa-head-label","start",o),c=b.node().getBBox(),w=Math.max(60,c.width+6),m=Math.max(40,c.height*2+40),x=`M 0 ${-m/2} L 0 ${m/2} Q ${w*2.4} 0 0 ${-m/2} Z`;if(f){let S=f.roughSvg.path(x,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});d.insert(()=>S,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",x);b.attr("transform",`translate(${(w-c.width)/2-c.x+3},${-c.y-c.height/2})`)},"drawHead"),Mt=t((e,y)=>{let r=[],l=[],o=t((f,g,d)=>{let b=y===-1?[...f].reverse():f;for(let c of b){let w=r.length,m=c.children??[];if(r.push({depth:d,text:_t(c.text,15),parentIndex:g,childCount:m.length}),d%2===0){if(l.push(w),m.length)o(m,w,d+1)}else{if(m.length)o(m,w,d+1);l.push(w)}}},"walk");return o(e,-1,2),{entries:r,yOrder:l}},"flattenTree"),Pt=t((e,y,r,l,o,f,g)=>{let d=e.append("g").attr("class","ishikawa-label-group"),c=at(d,y,r,l+11*o,"ishikawa-label cause","middle",f).node().getBBox();if(g){let w=g.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:g.seed,fill:g.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:g.lineColor,strokeWidth:2});d.insert(()=>w,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",c.x-20).attr("y",c.y-2).attr("width",c.width+40).attr("height",c.height+4)},"drawCauseLabel"),ut=t((e,y,r,l,o,f)=>{let g=Math.sqrt(l*l+o*o);if(g===0)return;let d=l/g,b=o/g,c=6,w=-b*c,m=d*c,x=y,S=r,U=`M ${x} ${S} L ${x-d*c*2+w} ${S-b*c*2+m} L ${x-d*c*2-w} ${S-b*c*2-m} Z`,Z=f.roughSvg.path(U,{roughness:1,seed:f.seed,fill:f.lineColor,fillStyle:"solid",stroke:f.lineColor,strokeWidth:1});e.append(()=>Z)},"drawArrowMarker"),Bt=t((e,y,r,l,o,f,g,d)=>{let b=y.children??[],c=f*(b.length?1:0.2),w=-pt*c,m=gt*c*o,x=r+w,S=l+m;if(it(e,r,l,x,S,"ishikawa-branch",d),d)ut(e,r,l,r-x,l-S,d);if(Pt(e,y.text,x,S,o,g,d),!b.length)return;let{entries:U,yOrder:Z}=Mt(b,o),T=U.length,z=Array(T);for(let[p,a]of Z.entries())z[a]=l+m*((p+1)/(T+1));let i=new Map;i.set(-1,{x0:r,y0:l,x1:x,y1:S,childCount:b.length,childrenDrawn:0});let n=-pt,s=gt*o,h=o<0?"ishikawa-label up":"ishikawa-label down";for(let[p,a]of U.entries()){let E=z[p],_=i.get(a.parentIndex),V=e.append("g").attr("class","ishikawa-sub-group"),A=0,B=0,F=0;if(a.depth%2===0){let X=_.y1-_.y0;if(A=wt(_.x0,_.x1,X?(E-_.y0)/X:0.5),B=E,F=A-(a.childCount>0?At+a.childCount*It:$t),it(V,A,E,F,E,"ishikawa-sub-branch",d),d)ut(V,A,E,1,0,d);at(V,a.text,F,E,"ishikawa-label align","end",g)}else{let X=_.childrenDrawn++;if(A=wt(_.x0,_.x1,(_.childCount-X)/(_.childCount+1)),B=_.y0,F=A+n*((E-B)/s),it(V,A,B,F,E,"ishikawa-sub-branch",d),d)ut(V,A,B,A-F,B-E,d);at(V,a.text,F,E,h,"end",g)}if(a.childCount>0)i.set(p,{x0:A,y0:B,x1:F,y1:E,childCount:a.childCount,childrenDrawn:0})}},"drawBranch"),Dt=t((e)=>e.split(/<br\s*\/?>|\n/),"splitLines"),_t=t((e,y)=>{if(e.length<=y)return e;let r=[];for(let l of e.split(/\s+/)){let o=r.length-1;if(o>=0&&r[o].length+1+l.length<=y)r[o]+=" "+l;else r.push(l)}return r.join(`
7
- `)},"wrapText"),at=t((e,y,r,l,o,f,g)=>{let d=Dt(y),b=g*1.05,c=e.append("text").attr("class",o).attr("text-anchor",f).attr("x",r).attr("y",l-(d.length-1)*b/2);for(let[w,m]of d.entries())c.append("tspan").attr("x",r).attr("dy",w===0?0:b).text(m);return c},"drawMultilineText"),wt=t((e,y,r)=>e+(y-e)*r,"lerp"),it=t((e,y,r,l,o,f,g)=>{if(g){let d=g.roughSvg.line(y,r,l,o,{roughness:1.5,seed:g.seed,stroke:g.lineColor,strokeWidth:2});e.append(()=>d).attr("class",f);return}return e.append("line").attr("class",f).attr("x1",y).attr("y1",r).attr("x2",l).attr("y2",o)},"drawLine"),Ot={draw:Lt},Ct=t((e)=>`
8
- .ishikawa .ishikawa-spine,
9
- .ishikawa .ishikawa-branch,
10
- .ishikawa .ishikawa-sub-branch {
11
- stroke: ${e.lineColor};
12
- stroke-width: 2;
13
- fill: none;
14
- }
15
-
16
- .ishikawa .ishikawa-sub-branch {
17
- stroke-width: 1;
18
- }
19
-
20
- .ishikawa .ishikawa-arrow {
21
- fill: ${e.lineColor};
22
- }
23
-
24
- .ishikawa .ishikawa-head {
25
- fill: ${e.mainBkg};
26
- stroke: ${e.lineColor};
27
- stroke-width: 2;
28
- }
29
-
30
- .ishikawa .ishikawa-label-box {
31
- fill: ${e.mainBkg};
32
- stroke: ${e.lineColor};
33
- stroke-width: 2;
34
- }
35
-
36
- .ishikawa text {
37
- font-family: ${e.fontFamily};
38
- font-size: ${e.fontSize};
39
- fill: ${e.textColor};
40
- }
41
-
42
- .ishikawa .ishikawa-head-label {
43
- font-weight: 600;
44
- text-anchor: middle;
45
- dominant-baseline: middle;
46
- font-size: 14px;
47
- }
48
-
49
- .ishikawa .ishikawa-label {
50
- text-anchor: end;
51
- }
52
-
53
- .ishikawa .ishikawa-label.cause {
54
- text-anchor: middle;
55
- dominant-baseline: middle;
56
- }
57
-
58
- .ishikawa .ishikawa-label.align {
59
- text-anchor: end;
60
- dominant-baseline: middle;
61
- }
62
-
63
- .ishikawa .ishikawa-label.up {
64
- dominant-baseline: baseline;
65
- }
66
-
67
- .ishikawa .ishikawa-label.down {
68
- dominant-baseline: hanging;
69
- }
70
- `,"getStyles"),Vt=Ct,Ut={parser:vt,get db(){return new St},renderer:Ot,styles:Vt};export{Ut as diagram};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Java",name:"java",patterns:[{begin:/\b(package)\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.package.java"}},contentName:"storage.modifier.package.java",end:/\p{space}*(;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.package.java",patterns:[{include:"#comments"},{match:/(?<=\.)\p{space}*\.|\.(?=\p{space}*;)/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!_)_(?=\p{space}*([\.\;]))|\b\p{Nd}+|-+/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/[A-Z]+/dgv,name:"invalid.deprecated.package_name_not_lowercase.java"},{match:/\b(?<!\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\b/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\./dgv,name:"punctuation.separator.java"}]},{begin:/\b(import)\b\p{space}*\b(static)?\b\p{space}/dgv,beginCaptures:{"1":{name:"keyword.other.import.java"},"2":{name:"storage.modifier.java"}},contentName:"storage.modifier.import.java",end:/\p{space}*(;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.import.java",patterns:[{include:"#comments"},{match:/(?<=\.)\p{space}*\.|\.(?=\p{space}*;)/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!\.)\p{space}*\*/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!_)_(?=\p{space}*([\.\;]))|\b\p{Nd}+|-+/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\b(?<!\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\b/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\./dgv,name:"punctuation.separator.java"},{match:/\*/dgv,name:"variable.language.wildcard.java"}]},{include:"#comments-javadoc"},{include:"#code"},{include:"#module"}],repository:{"all-types":{patterns:[{include:"#primitive-arrays"},{include:"#primitive-types"},{include:"#object-types"}]},annotations:{patterns:[{begin:/((@)\p{space}*([^\(\p{space}]+))(\()/dgv,beginCaptures:{"2":{name:"punctuation.definition.annotation.java"},"3":{name:"storage.type.annotation.java"},"4":{name:"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.annotation-arguments.end.bracket.round.java"}},name:"meta.declaration.annotation.java",patterns:[{captures:{"1":{name:"constant.other.key.java"},"2":{name:"keyword.operator.assignment.java"}},match:/([\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(=)/dgv},{include:"#code"}]},{captures:{"1":{name:"punctuation.definition.annotation.java"},"2":{name:"storage.modifier.java"},"3":{name:"storage.type.annotation.java"},"5":{name:"punctuation.definition.annotation.java"},"6":{name:"storage.type.annotation.java"}},match:/(@)(interface)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]*)|((@)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+))/dgv,name:"meta.declaration.annotation.java"}]},"anonymous-block-and-instance-initializer":{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.java"}},patterns:[{include:"#code"}]},"anonymous-classes-and-new":{begin:/\bnew\b/dgv,beginCaptures:{"0":{name:"keyword.control.new.java"}},end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{include:"#function-call"},{include:"#all-types"},{begin:/(?<=\))/dgv,end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.inner-class.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.inner-class.end.bracket.curly.java"}},name:"meta.inner-class.java",patterns:[{include:"#class-body"}]}]},{begin:/(?<=\])/dgv,end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array-initializer.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array-initializer.end.bracket.curly.java"}},name:"meta.array-initializer.java",patterns:[{include:"#code"}]}]},{include:"#parens"}]},assertions:{patterns:[{begin:/\b(assert)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.assert.java"}},end:/(?=\n?$)/dgv,name:"meta.declaration.assertion.java",patterns:[{match:/:/dgv,name:"keyword.operator.assert.expression-separator.java"},{include:"#code"}]}]},class:{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}]?[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]*\b(?:class|(?<!@)interface|enum)\p{space}+[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.class.end.bracket.curly.java"}},name:"meta.class.java",patterns:[{include:"#storage-modifiers"},{include:"#generics"},{include:"#comments"},{captures:{"1":{name:"storage.modifier.java"},"2":{name:"entity.name.type.class.java"}},match:/(class|(?<!@)interface|enum)\p{space}+([\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"meta.class.identifier.java"},{begin:/extends/dgv,beginCaptures:{"0":{name:"storage.modifier.extends.java"}},end:/(?=\{|implements|permits)/dgv,name:"meta.definition.class.inherited.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/(implements)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\p{space}*extends|permits|\{)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/(permits)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.permits.java"}},end:/(?=\p{space}*extends|implements|\{)/dgv,name:"meta.definition.class.permits.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.class.begin.bracket.curly.java"}},contentName:"meta.class.body.java",end:/(?=\})/dgv,patterns:[{include:"#class-body"}]}]},"class-body":{patterns:[{include:"#comments-javadoc"},{include:"#comments"},{include:"#enums"},{include:"#class"},{include:"#generics"},{include:"#static-initializer"},{include:"#class-fields-and-methods"},{include:"#annotations"},{include:"#storage-modifiers"},{include:"#member-variables"},{include:"#code"}]},"class-fields-and-methods":{patterns:[{begin:/(?==)/dgv,end:/(?=;)/dgv,patterns:[{include:"#code"}]},{include:"#methods"}]},code:{patterns:[{include:"#annotations"},{include:"#comments"},{include:"#enums"},{include:"#class"},{include:"#record"},{include:"#anonymous-block-and-instance-initializer"},{include:"#try-catch-finally"},{include:"#assertions"},{include:"#parens"},{include:"#constants-and-special-vars"},{include:"#numbers"},{include:"#anonymous-classes-and-new"},{include:"#lambda-expression"},{include:"#keywords"},{include:"#storage-modifiers"},{include:"#method-call"},{include:"#function-call"},{include:"#variables"},{include:"#variables-local"},{include:"#objects"},{include:"#properties"},{include:"#strings"},{include:"#all-types"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\./dgv,name:"punctuation.separator.period.java"},{match:/;/dgv,name:"punctuation.terminator.java"}]},comments:{patterns:[{captures:{"0":{name:"punctuation.definition.comment.java"}},match:/\/\*\*\//dgv,name:"comment.block.empty.java"},{include:"#comments-inline"}]},"comments-inline":{patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.java"}},end:/\*\//dgv,name:"comment.block.java"},{begin:/(^[\t ]+)?(?=\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.java"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.java"}},end:/\n/dgv,name:"comment.line.double-slash.java"}]}]},"comments-javadoc":{patterns:[{begin:/^\p{space}*(\/\*\*)(?!\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.java"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.java"}},name:"comment.block.javadoc.java",patterns:[{match:/@(author|deprecated|return|see|serial|since|version)\b/dgv,name:"keyword.other.documentation.javadoc.java"},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"variable.parameter.java"}},match:/(@param)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"entity.name.type.class.java"}},match:/(@(?:exception|throws))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"entity.name.type.class.java"},"3":{name:"variable.parameter.java"}},match:/\{(@link)\p{space}+(\P{space}+)?#([\$\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\([^\(\)]*\))[^\n]*?\}/dgv}]}]},"constants-and-special-vars":{patterns:[{match:/\b(true|false|null)\b/dgv,name:"constant.language.java"},{match:/\bthis\b/dgv,name:"variable.language.this.java"},{match:/\bsuper\b/dgv,name:"variable.language.java"}]},enums:{begin:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)(enum)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{patterns:[{include:"#storage-modifiers"}]},"2":{name:"storage.modifier.java"},"3":{name:"entity.name.type.enum.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.enum.end.bracket.curly.java"}},name:"meta.enum.java",patterns:[{begin:/\b(extends)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.extends.java"}},end:/(?=\{|\bimplements\b)/dgv,name:"meta.definition.class.inherited.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\b(implements)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\{|\bextends\b)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.enum.begin.bracket.curly.java"}},end:/(?=\})/dgv,patterns:[{begin:/(?<=\{)/dgv,end:/(?=[\;\}])/dgv,patterns:[{include:"#comments-javadoc"},{include:"#comments"},{begin:/\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv,beginCaptures:{"1":{name:"constant.other.enum.java"}},end:/(,)|(?=[\;\}])/dgv,endCaptures:{"1":{name:"punctuation.separator.delimiter.java"}},patterns:[{include:"#comments-javadoc"},{include:"#comments"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.bracket.round.java"}},patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.bracket.curly.java"}},patterns:[{include:"#class-body"}]}]}]},{include:"#class-body"}]}]},"function-call":{begin:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.java"},"2":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.function-call.java",patterns:[{include:"#code"}]},generics:{begin:/</dgv,beginCaptures:{"0":{name:"punctuation.bracket.angle.java"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.bracket.angle.java"}},patterns:[{match:/\b(extends|super)\b/dgv,name:"storage.modifier.$1.java"},{captures:{"1":{name:"storage.type.java"}},match:/(?<!\.)([\$A-Z_a-z][\$0-9A-Z_a-z]*)(?=\p{space}*<)/dgv},{include:"#primitive-arrays"},{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"storage.type.generic.java"},{match:/\?/dgv,name:"storage.type.generic.wildcard.java"},{match:/&/dgv,name:"punctuation.separator.types.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\./dgv,name:"punctuation.separator.period.java"},{include:"#parens"},{include:"#generics"},{include:"#comments"}]},keywords:{patterns:[{match:/\bthrow\b/dgv,name:"keyword.control.throw.java"},{match:/[\:\?]/dgv,name:"keyword.control.ternary.java"},{match:/\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\b/dgv,name:"keyword.control.java"},{match:/\b(instanceof)\b/dgv,name:"keyword.operator.instanceof.java"},{match:/(<<|>>>?|[\^\~])/dgv,name:"keyword.operator.bitwise.java"},{match:/(([\&\^\|]|<<|>>>?)=)/dgv,name:"keyword.operator.assignment.bitwise.java"},{match:/(===?|!=|<=|>=|<>|[\<\>])/dgv,name:"keyword.operator.comparison.java"},{match:/([\-\%\*\+\/]=)/dgv,name:"keyword.operator.assignment.arithmetic.java"},{match:/(=)/dgv,name:"keyword.operator.assignment.java"},{match:/(--|\+\+)/dgv,name:"keyword.operator.increment-decrement.java"},{match:/([\-\%\*\+\/])/dgv,name:"keyword.operator.arithmetic.java"},{match:/(!|&&|\|\|)/dgv,name:"keyword.operator.logical.java"},{match:/([\&\|])/dgv,name:"keyword.operator.bitwise.java"},{match:/\b(const|goto)\b/dgv,name:"keyword.reserved.java"}]},"lambda-expression":{patterns:[{match:/->/dgv,name:"storage.type.function.arrow.java"}]},"member-variables":{begin:/(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)/dgv,end:/(?=[\;\=])/dgv,patterns:[{include:"#storage-modifiers"},{include:"#variables"},{include:"#primitive-arrays"},{include:"#object-types"}]},"method-call":{begin:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"entity.name.function.java"},"3":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.method-call.java",patterns:[{include:"#code"}]},methods:{begin:/(?!new)(?=[\<\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+)(?=([^\/\=]|\/(?!\/))+\()/dgv,end:/(\})|(?=;)/dgv,endCaptures:{"1":{name:"punctuation.section.method.end.bracket.curly.java"}},name:"meta.method.java",patterns:[{include:"#storage-modifiers"},{begin:/([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.java"},"2":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.method.identifier.java",patterns:[{include:"#parameters"},{include:"#parens"},{include:"#comments"}]},{include:"#generics"},{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\()/dgv,end:/(?=\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\()/dgv,name:"meta.method.return-type.java",patterns:[{include:"#all-types"},{include:"#parens"},{include:"#comments"}]},{include:"#throws"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.method.begin.bracket.curly.java"}},contentName:"meta.method.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]},{include:"#comments"}]},module:{begin:/((open)\p{space})?(module)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"storage.modifier.java"},"3":{name:"storage.modifier.java"},"4":{name:"entity.name.type.module.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.module.end.bracket.curly.java"}},name:"meta.module.java",patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.module.begin.bracket.curly.java"}},contentName:"meta.module.body.java",end:/(?=\})/dgv,patterns:[{include:"#comments"},{include:"#comments-javadoc"},{match:/\b(requires|transitive|exports|opens|to|uses|provides|with)\b/dgv,name:"keyword.module.java"}]}]},numbers:{patterns:[{match:/\b(?<!\$)0([Xx])((?<!\.)\p{AHex}([_\p{AHex}]*\p{AHex})?[Ll]?(?!\.)|(\p{AHex}([_\p{AHex}]*\p{AHex})?\.?|(\p{AHex}([_\p{AHex}]*\p{AHex})?)?\.\p{AHex}([_\p{AHex}]*\p{AHex})?)[Pp][\-\+]?[0-9]([0-9_]*[0-9])?[DFdf]?)\b(?!\$)/dgv,name:"constant.numeric.hex.java"},{match:/\b(?<!\$)0([Bb])[01]([01_]*[01])?[Ll]?\b(?!\$)/dgv,name:"constant.numeric.binary.java"},{match:/\b(?<!\$)0[0-7]([0-7_]*[0-7])?[Ll]?\b(?!\$)/dgv,name:"constant.numeric.octal.java"},{match:/(?<!\$)(\b[0-9]([0-9_]*[0-9])?\.\B(?!\.)|\b[0-9]([0-9_]*[0-9])?\.([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?\.([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\b|\b[0-9]([0-9_]*[0-9])?\.([0-9]([0-9_]*[0-9])?)([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\b|(?<!\.)\B\.[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\b|\b(0|[1-9]([0-9_]*[0-9])?)(?!\.)[Ll]?\b)(?!\$)/dgv,name:"constant.numeric.decimal.java"}]},"object-types":{patterns:[{include:"#generics"},{begin:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*)([A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=\[)/dgv,beginCaptures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]},"2":{name:"storage.type.object.array.java"}},end:/(?!\p{space}*\[)/dgv,patterns:[{include:"#comments"},{include:"#parens"}]},{captures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]}},match:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*[A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=<)/dgv},{captures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]}},match:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*[A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b((?=\p{space}*[\n\$A-Z_a-z])|(?=\p{space}*\.\.\.))/dgv}]},"object-types-inherited":{patterns:[{include:"#generics"},{captures:{"1":{name:"punctuation.separator.period.java"}},match:/\b(?:[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(\.)\p{space}*)*[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"entity.other.inherited-class.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"}]},objects:{match:/(?<![\$\p{L}\p{M}\p{N}\p{Pc}])[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*(?=\p{space}*\.\p{space}*[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"variable.other.object.java"},parameters:{patterns:[{match:/\bfinal\b/dgv,name:"storage.modifier.java"},{include:"#annotations"},{include:"#all-types"},{include:"#strings"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\.\.\./dgv,name:"punctuation.definition.parameters.varargs.java"}]},parens:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.bracket.round.java"}},patterns:[{include:"#code"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.bracket.square.java"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.bracket.square.java"}},patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.bracket.curly.java"}},patterns:[{include:"#code"}]}]},"primitive-arrays":{patterns:[{begin:/\b(void|boolean|byte|char|short|int|float|long|double)\b\p{space}*(?=\[)/dgv,beginCaptures:{"1":{name:"storage.type.primitive.array.java"}},end:/(?!\p{space}*\[)/dgv,patterns:[{include:"#comments"},{include:"#parens"}]}]},"primitive-types":{match:/\b(void|boolean|byte|char|short|int|float|long|double)\b/dgv,name:"storage.type.primitive.java"},properties:{patterns:[{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"keyword.control.new.java"}},match:/(\.)\p{space}*(new)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"variable.other.object.property.java"}},match:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*\.\p{space}*[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"variable.other.object.property.java"}},match:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"invalid.illegal.identifier.java"}},match:/(\.)\p{space}*([0-9][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},record:{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}]?[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*\brecord\p{space}+[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.class.end.bracket.curly.java"}},name:"meta.record.java",patterns:[{include:"#storage-modifiers"},{include:"#generics"},{include:"#comments"},{begin:/(record)\p{space}+([\$\p{L}\p{M}\p{N}\p{Pc}]+)(<[\$\p{L}\p{M}\p{N}\p{Pc}]+>)?(\()/dgv,beginCaptures:{"1":{name:"storage.modifier.java"},"2":{name:"entity.name.type.record.java"},"3":{patterns:[{include:"#generics"}]},"4":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.record.identifier.java",patterns:[{include:"#code"}]},{begin:/(implements)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\p{space}*\{)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{include:"#record-body"}]},"record-body":{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.class.begin.bracket.curly.java"}},end:/(?=\})/dgv,name:"meta.record.body.java",patterns:[{include:"#record-constructor"},{include:"#class-body"}]},"record-constructor":{begin:/(?!new)(?=[\<\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+)(?=([^\(\/\=]|\/(?!\/))+(?=\{))/dgv,end:/(\})|(?=;)/dgv,endCaptures:{"1":{name:"punctuation.section.method.end.bracket.curly.java"}},name:"meta.method.java",patterns:[{include:"#storage-modifiers"},{begin:/([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"entity.name.function.java"}},end:/(?=\p{space}*\{)/dgv,name:"meta.method.identifier.java",patterns:[{include:"#comments"}]},{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.method.begin.bracket.curly.java"}},contentName:"meta.method.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},"static-initializer":{patterns:[{include:"#anonymous-block-and-instance-initializer"},{match:/static/dgv,name:"storage.modifier.java"}]},"storage-modifiers":{match:/\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\b/dgv,name:"storage.modifier.java"},strings:{patterns:[{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.triple.java",patterns:[{match:/(\\""")(?!")|(\\[^\n])/dgv,name:"constant.character.escape.java"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.double.java",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.java"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.single.java",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.java"}]}]},throws:{begin:/throws/dgv,beginCaptures:{"0":{name:"storage.modifier.java"}},end:/(?=[\;\{])/dgv,name:"meta.throwables.java",patterns:[{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/[\$A-Z_a-z][\$\.0-9A-Z_a-z]*/dgv,name:"storage.type.java"},{include:"#comments"}]},"try-catch-finally":{patterns:[{begin:/\btry\b/dgv,beginCaptures:{"0":{name:"keyword.control.try.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.try.end.bracket.curly.java"}},name:"meta.try.java",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.try.resources.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.try.resources.end.bracket.round.java"}},name:"meta.try.resources.java",patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.try.begin.bracket.curly.java"}},contentName:"meta.try.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},{begin:/\b(catch)\b/dgv,beginCaptures:{"1":{name:"keyword.control.catch.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.catch.end.bracket.curly.java"}},name:"meta.catch.java",patterns:[{include:"#comments"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},contentName:"meta.catch.parameters.java",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},patterns:[{include:"#comments"},{include:"#storage-modifiers"},{begin:/[\$A-Z_a-z][\$\.0-9A-Z_a-z]*/dgv,beginCaptures:{"0":{name:"storage.type.java"}},end:/(\|)|(?=\))/dgv,endCaptures:{"1":{name:"punctuation.catch.separator.java"}},patterns:[{include:"#comments"},{captures:{"0":{name:"variable.parameter.java"}},match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv}]}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.catch.begin.bracket.curly.java"}},contentName:"meta.catch.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},{begin:/\bfinally\b/dgv,beginCaptures:{"0":{name:"keyword.control.finally.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.finally.end.bracket.curly.java"}},name:"meta.finally.java",patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.finally.begin.bracket.curly.java"}},contentName:"meta.finally.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]}]},variables:{begin:new r("(?=\\b((void|boolean|byte|char|short|int|float|long|double)|(?:(?=(([\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\.)*[A-Z_]+[\\p{L}\\p{M}\\p{N}\\p{Pc}]*))\\3))\\b\\p{space}*(<[\\]\\,\\.\\<\\>\\?\\[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{space}]*>)?\\p{space}*((\\[\\])*)?\\p{space}+[\\$A-Z_a-z][\\$\\p{L}\\p{M}\\p{N}\\p{Pc}]*([\\]\\$\\,\\[\\p{L}\\p{M}\\p{N}\\p{Pc}][\\]\\,\\[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{space}]*)?\\p{space}*([\\:\\;\\=]))","dgv",{hiddenCaptures:[3]}),end:/(?=[\:\;\=])/dgv,name:"meta.definition.variable.java",patterns:[{captures:{"1":{name:"variable.other.definition.java"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*(\[\])*\p{space}*([\,\:\;\=]))/dgv},{include:"#all-types"},{include:"#code"}]},"variables-local":{begin:/(?=\b(var)\b\p{space}+[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*([\:\;\=]))/dgv,end:/(?=[\:\;\=])/dgv,name:"meta.definition.variable.local.java",patterns:[{match:/\bvar\b/dgv,name:"storage.type.local.java"},{captures:{"1":{name:"variable.other.definition.java"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*(\[\])*\p{space}*([\:\;\=]))/dgv},{include:"#code"}]}},scopeName:"source.java",embeddedLangs:void 0,aliases:void 0}),bs=[e];
2
- export{bs};
Binary file
Binary file