@bkm016/basalt 0.1.22 → 0.1.23

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 (1057) hide show
  1. package/chunk-01g872ez.js +3 -0
  2. package/chunk-078td1r4.js +7 -0
  3. package/chunk-1mhv12a5.js +3 -0
  4. package/chunk-1zrht78t.js +2 -0
  5. package/chunk-2e4xds74.js +18 -0
  6. package/chunk-2hkpqjqj.js +3 -0
  7. package/chunk-2mhpgb4t.js +2 -0
  8. package/chunk-3nwqng5t.js +59 -0
  9. package/chunk-3zm1ejmh.js +3 -0
  10. package/chunk-4d9p68s9.js +3 -0
  11. package/chunk-5h96jz3p.js +3 -0
  12. package/chunk-5znfck4s.js +5 -0
  13. package/chunk-6048rq29.js +8 -0
  14. package/chunk-61zk13qr.js +3 -0
  15. package/chunk-62ty404c.js +2 -0
  16. package/chunk-6vp2nqbj.js +2 -0
  17. package/chunk-7a5derff.js +25 -0
  18. package/chunk-7qhbff72.js +5 -0
  19. package/chunk-7xw6fpx3.js +3 -0
  20. package/chunk-84rk4tew.js +2 -0
  21. package/chunk-8np9b2y8.js +3 -0
  22. package/chunk-8wb8yr7d.js +12 -0
  23. package/chunk-93b76hhg.js +11 -0
  24. package/chunk-9h05aqdd.js +25 -0
  25. package/chunk-a2jsx2ew.js +3 -0
  26. package/chunk-a2qwx6cr.js +2 -0
  27. package/chunk-a7h459z1.js +2 -0
  28. package/chunk-atjwde1c.js +2 -0
  29. package/chunk-bk20awc9.js +10 -0
  30. package/chunk-bm2jhkqt.js +3 -0
  31. package/chunk-bp4zk5ch.js +3 -0
  32. package/chunk-c5ess8kd.js +3 -0
  33. package/chunk-cj7yhgnd.js +2 -0
  34. package/chunk-cjq2bzkf.js +3 -0
  35. package/chunk-csrpxzn7.js +3 -0
  36. package/chunk-cwesdh51.js +39 -0
  37. package/chunk-drbd6485.js +3 -0
  38. package/chunk-dt594v3d.js +9 -0
  39. package/chunk-dwxp0gtf.js +4 -0
  40. package/chunk-ejdewe04.js +3 -0
  41. package/chunk-fkzk83xs.js +2 -0
  42. package/chunk-fsnc2sja.js +3 -0
  43. package/chunk-g18hxgdr.js +12 -0
  44. package/chunk-hfwy0rzt.js +10 -0
  45. package/chunk-hg5wmrfb.js +3 -0
  46. package/chunk-hvex6qjc.js +5 -0
  47. package/chunk-hw8xknv5.js +2 -0
  48. package/chunk-j91wgfzj.js +2 -0
  49. package/chunk-jyx4ynyp.js +3 -0
  50. package/chunk-jz1pavma.js +20 -0
  51. package/chunk-kjjrmfmt.js +2 -0
  52. package/chunk-kz1ja7t7.js +31 -0
  53. package/chunk-mh4s6m7e.js +2 -0
  54. package/chunk-n0g6w24y.js +3 -0
  55. package/chunk-nnp82zvz.js +5 -0
  56. package/chunk-p34keb5j.js +3 -0
  57. package/chunk-pcxaycc3.js +3560 -0
  58. package/chunk-pdwexj34.js +16 -0
  59. package/chunk-phpse938.js +3 -0
  60. package/chunk-pt14ba7d.js +15 -0
  61. package/chunk-q0hvv6bh.js +390 -0
  62. package/chunk-qd4xtknk.js +2 -0
  63. package/chunk-qfg0dr8f.js +2 -0
  64. package/chunk-qnrkh3ca.js +7 -0
  65. package/chunk-r1t5yhee.js +7 -0
  66. package/chunk-r5na5qx5.js +2 -0
  67. package/chunk-r7a6q57s.js +2 -0
  68. package/chunk-smsn4ebc.js +4 -0
  69. package/chunk-sqr8tx1m.js +471 -0
  70. package/chunk-t4twa09y.js +2 -0
  71. package/chunk-tjs6h6zk.js +4 -0
  72. package/chunk-tvbh69tm.js +3 -0
  73. package/chunk-tvv9yfqv.js +11 -0
  74. package/chunk-vbdf5psp.js +2 -0
  75. package/chunk-vr60qwyg.js +2 -0
  76. package/chunk-w509y6w6.js +2 -0
  77. package/chunk-w7n83ye7.js +7 -0
  78. package/chunk-wacjm9ww.js +3 -0
  79. package/chunk-xex050bc.js +3 -0
  80. package/chunk-y0fgbrkc.js +2 -0
  81. package/chunk-ysfpdxjy.js +3 -0
  82. package/chunk-ytsnns2n.js +2 -0
  83. package/chunk-zwgdbrbg.js +2 -0
  84. package/chunk-zz7qjanc.js +2 -0
  85. package/compiled.js +8 -8
  86. package/package.json +1 -1
  87. package/ui-test-worker.js +57 -57
  88. package/web/chunk-07q4pdkf.js +1 -0
  89. package/web/chunk-07q4pdkf.js.br +0 -0
  90. package/web/chunk-07q4pdkf.js.gz +0 -0
  91. package/web/chunk-0s237vb2.js +2 -0
  92. package/web/chunk-0s237vb2.js.br +0 -0
  93. package/web/chunk-0s237vb2.js.gz +0 -0
  94. package/web/chunk-0zbmaspt.js +24 -0
  95. package/web/chunk-0zbmaspt.js.br +0 -0
  96. package/web/chunk-0zbmaspt.js.gz +0 -0
  97. package/web/chunk-11p8z5sv.js +8 -0
  98. package/web/chunk-11p8z5sv.js.br +0 -0
  99. package/web/chunk-11p8z5sv.js.gz +0 -0
  100. package/web/chunk-1axadk7j.js +2 -0
  101. package/web/chunk-1axadk7j.js.br +0 -0
  102. package/web/chunk-1axadk7j.js.gz +0 -0
  103. package/web/chunk-1ebz6hbk.js +1 -0
  104. package/web/chunk-1ebz6hbk.js.br +0 -0
  105. package/web/chunk-1ebz6hbk.js.gz +0 -0
  106. package/web/chunk-1pg22vjr.js +38 -0
  107. package/web/chunk-1pg22vjr.js.br +0 -0
  108. package/web/chunk-1pg22vjr.js.gz +0 -0
  109. package/web/chunk-1ys90q5s.js +1 -0
  110. package/web/chunk-1ys90q5s.js.br +0 -0
  111. package/web/chunk-1ys90q5s.js.gz +0 -0
  112. package/web/chunk-1zd8azrg.js +34 -0
  113. package/web/chunk-1zd8azrg.js.br +0 -0
  114. package/web/chunk-1zd8azrg.js.gz +0 -0
  115. package/web/chunk-22rjbwxp.js +303 -0
  116. package/web/chunk-22rjbwxp.js.br +0 -0
  117. package/web/chunk-22rjbwxp.js.gz +0 -0
  118. package/web/chunk-2eg9t1mz.js +2 -0
  119. package/web/chunk-2eg9t1mz.js.br +0 -0
  120. package/web/chunk-2eg9t1mz.js.gz +0 -0
  121. package/web/chunk-2emc5sd7.js +12 -0
  122. package/web/chunk-2emc5sd7.js.br +0 -0
  123. package/web/chunk-2emc5sd7.js.gz +0 -0
  124. package/web/chunk-2gj9yydt.js +2 -0
  125. package/web/chunk-2gj9yydt.js.br +0 -0
  126. package/web/chunk-2gj9yydt.js.gz +0 -0
  127. package/web/chunk-2jvy4y1e.js +1 -0
  128. package/web/chunk-2jvy4y1e.js.br +0 -0
  129. package/web/chunk-2jvy4y1e.js.gz +0 -0
  130. package/web/chunk-2kwn5gsx.js +1 -0
  131. package/web/chunk-2kwn5gsx.js.br +0 -0
  132. package/web/chunk-2kwn5gsx.js.gz +0 -0
  133. package/web/chunk-2r84nrwk.js +99 -0
  134. package/web/chunk-2r84nrwk.js.br +0 -0
  135. package/web/chunk-2r84nrwk.js.gz +0 -0
  136. package/web/chunk-3abhxhtv.js +2 -0
  137. package/web/chunk-3abhxhtv.js.br +0 -0
  138. package/web/chunk-3abhxhtv.js.gz +0 -0
  139. package/web/chunk-3cgxntbk.js +2 -0
  140. package/web/chunk-3cgxntbk.js.br +0 -0
  141. package/web/chunk-3cgxntbk.js.gz +0 -0
  142. package/web/chunk-3g3n9pc5.js +332 -0
  143. package/web/chunk-3g3n9pc5.js.br +0 -0
  144. package/web/chunk-3g3n9pc5.js.gz +0 -0
  145. package/web/chunk-3qmpdzq2.js +1 -0
  146. package/web/chunk-3qmpdzq2.js.br +0 -0
  147. package/web/chunk-3qmpdzq2.js.gz +0 -0
  148. package/web/chunk-3rxjewe5.js +2 -0
  149. package/web/chunk-3rxjewe5.js.br +0 -0
  150. package/web/chunk-3rxjewe5.js.gz +0 -0
  151. package/web/chunk-3vh17h7n.js +62 -0
  152. package/web/chunk-3vh17h7n.js.br +0 -0
  153. package/web/chunk-3vh17h7n.js.gz +0 -0
  154. package/web/chunk-49ywdzda.js +36 -0
  155. package/web/chunk-49ywdzda.js.br +0 -0
  156. package/web/chunk-49ywdzda.js.gz +0 -0
  157. package/web/chunk-5ch8rwjz.js +2 -0
  158. package/web/chunk-5ch8rwjz.js.br +0 -0
  159. package/web/chunk-5ch8rwjz.js.gz +0 -0
  160. package/web/chunk-5k1xca5m.js +324 -0
  161. package/web/chunk-5k1xca5m.js.br +0 -0
  162. package/web/chunk-5k1xca5m.js.gz +0 -0
  163. package/web/chunk-5kcmtrrk.js +2 -0
  164. package/web/chunk-5kcmtrrk.js.br +0 -0
  165. package/web/chunk-5kcmtrrk.js.gz +0 -0
  166. package/web/chunk-5t1yv276.js +1 -0
  167. package/web/chunk-5t1yv276.js.br +0 -0
  168. package/web/chunk-5t1yv276.js.gz +0 -0
  169. package/web/chunk-612xftnp.js +1 -0
  170. package/web/chunk-612xftnp.js.br +0 -0
  171. package/web/chunk-612xftnp.js.gz +0 -0
  172. package/web/chunk-6183jmyq.js +2 -0
  173. package/web/chunk-6183jmyq.js.br +0 -0
  174. package/web/chunk-6183jmyq.js.gz +0 -0
  175. package/web/chunk-66zp24sf.js +2 -0
  176. package/web/chunk-66zp24sf.js.br +0 -0
  177. package/web/chunk-66zp24sf.js.gz +0 -0
  178. package/web/chunk-67wywbgr.js +2 -0
  179. package/web/chunk-67wywbgr.js.br +0 -0
  180. package/web/chunk-67wywbgr.js.gz +0 -0
  181. package/web/chunk-6j0d6131.js +1 -0
  182. package/web/chunk-6j0d6131.js.br +0 -0
  183. package/web/chunk-6j0d6131.js.gz +0 -0
  184. package/web/chunk-6ycpdpfj.js +107 -0
  185. package/web/chunk-6ycpdpfj.js.br +0 -0
  186. package/web/chunk-6ycpdpfj.js.gz +0 -0
  187. package/web/chunk-79tbvvqj.js +1 -0
  188. package/web/chunk-79tbvvqj.js.br +0 -0
  189. package/web/chunk-79tbvvqj.js.gz +0 -0
  190. package/web/chunk-7bcksmqx.js +2 -0
  191. package/web/chunk-7bcksmqx.js.br +0 -0
  192. package/web/chunk-7bcksmqx.js.gz +0 -0
  193. package/web/chunk-7c2zkqgd.js +89 -0
  194. package/web/chunk-7c2zkqgd.js.br +0 -0
  195. package/web/chunk-7c2zkqgd.js.gz +0 -0
  196. package/web/chunk-7ed42dqv.js +1 -0
  197. package/web/chunk-7ed42dqv.js.br +0 -0
  198. package/web/chunk-7ed42dqv.js.gz +0 -0
  199. package/web/chunk-7mzdjjha.js +1 -0
  200. package/web/chunk-7mzdjjha.js.br +0 -0
  201. package/web/chunk-7mzdjjha.js.gz +0 -0
  202. package/web/chunk-7t1sb86g.js +2 -0
  203. package/web/chunk-7t1sb86g.js.br +0 -0
  204. package/web/chunk-7t1sb86g.js.gz +0 -0
  205. package/web/chunk-7t5kzbp1.js +1 -0
  206. package/web/chunk-7t5kzbp1.js.br +0 -0
  207. package/web/chunk-7t5kzbp1.js.gz +0 -0
  208. package/web/chunk-7tmzvm05.js +2 -0
  209. package/web/chunk-7tmzvm05.js.br +0 -0
  210. package/web/chunk-7tmzvm05.js.gz +0 -0
  211. package/web/chunk-80k4k6aw.js +7 -0
  212. package/web/chunk-80k4k6aw.js.br +0 -0
  213. package/web/chunk-80k4k6aw.js.gz +0 -0
  214. package/web/chunk-8tvy5xbr.js +217 -0
  215. package/web/chunk-8tvy5xbr.js.br +0 -0
  216. package/web/chunk-8tvy5xbr.js.gz +0 -0
  217. package/web/chunk-95jr0f0q.js +139 -0
  218. package/web/chunk-95jr0f0q.js.br +0 -0
  219. package/web/chunk-95jr0f0q.js.gz +0 -0
  220. package/web/chunk-9h6ayn54.js +16 -0
  221. package/web/chunk-9h6ayn54.js.br +0 -0
  222. package/web/chunk-9h6ayn54.js.gz +0 -0
  223. package/web/chunk-9jzpxvwa.js +106 -0
  224. package/web/chunk-9jzpxvwa.js.br +0 -0
  225. package/web/chunk-9jzpxvwa.js.gz +0 -0
  226. package/web/chunk-9kx2s040.js +1 -0
  227. package/web/chunk-9kx2s040.js.br +0 -0
  228. package/web/chunk-9kx2s040.js.gz +0 -0
  229. package/web/chunk-9mdbahpr.js +2 -0
  230. package/web/chunk-9mdbahpr.js.br +0 -0
  231. package/web/chunk-9mdbahpr.js.gz +0 -0
  232. package/web/chunk-9w6mjqgp.js +1 -0
  233. package/web/chunk-9w6mjqgp.js.br +0 -0
  234. package/web/chunk-9w6mjqgp.js.gz +0 -0
  235. package/web/chunk-9xb3j03w.js +142 -0
  236. package/web/chunk-9xb3j03w.js.br +0 -0
  237. package/web/chunk-9xb3j03w.js.gz +0 -0
  238. package/web/chunk-abzt3tzj.js +1 -0
  239. package/web/chunk-abzt3tzj.js.br +0 -0
  240. package/web/chunk-abzt3tzj.js.gz +0 -0
  241. package/web/chunk-ahebswgf.js +1 -0
  242. package/web/chunk-ahebswgf.js.br +0 -0
  243. package/web/chunk-ahebswgf.js.gz +0 -0
  244. package/web/chunk-ahsw5yz2.js +2 -0
  245. package/web/chunk-ahsw5yz2.js.br +0 -0
  246. package/web/chunk-ahsw5yz2.js.gz +0 -0
  247. package/web/chunk-b21jhnc3.js +1 -0
  248. package/web/chunk-b21jhnc3.js.br +2 -0
  249. package/web/chunk-b21jhnc3.js.gz +0 -0
  250. package/web/chunk-b3cn4qmw.js +1 -0
  251. package/web/chunk-b3cn4qmw.js.br +0 -0
  252. package/web/chunk-b3cn4qmw.js.gz +0 -0
  253. package/web/chunk-b4qxx7jx.js +2 -0
  254. package/web/chunk-b4qxx7jx.js.br +0 -0
  255. package/web/chunk-b4qxx7jx.js.gz +0 -0
  256. package/web/chunk-b79d9r5v.js +98 -0
  257. package/web/chunk-b79d9r5v.js.br +0 -0
  258. package/web/chunk-b79d9r5v.js.gz +0 -0
  259. package/web/chunk-b9x115jw.css +1 -0
  260. package/web/chunk-b9x115jw.css.br +0 -0
  261. package/web/chunk-b9x115jw.css.gz +0 -0
  262. package/web/chunk-bbnamv1j.js +1 -0
  263. package/web/chunk-bbnamv1j.js.br +2 -0
  264. package/web/chunk-bbnamv1j.js.gz +0 -0
  265. package/web/chunk-bgqfryh2.js +1 -0
  266. package/web/chunk-bgqfryh2.js.br +0 -0
  267. package/web/chunk-bgqfryh2.js.gz +0 -0
  268. package/web/chunk-bjrnqvf4.js +1 -0
  269. package/web/chunk-bjrnqvf4.js.br +0 -0
  270. package/web/chunk-bjrnqvf4.js.gz +0 -0
  271. package/web/chunk-cbh6w44y.js +1 -0
  272. package/web/chunk-cbh6w44y.js.br +0 -0
  273. package/web/chunk-cbh6w44y.js.gz +0 -0
  274. package/web/chunk-d0bt1ypq.js +140 -0
  275. package/web/chunk-d0bt1ypq.js.br +0 -0
  276. package/web/chunk-d0bt1ypq.js.gz +0 -0
  277. package/web/chunk-ddfd1c5x.js +1 -0
  278. package/web/chunk-ddfd1c5x.js.br +0 -0
  279. package/web/chunk-ddfd1c5x.js.gz +0 -0
  280. package/web/chunk-deqy1rfx.js +1 -0
  281. package/web/chunk-deqy1rfx.js.br +0 -0
  282. package/web/chunk-deqy1rfx.js.gz +0 -0
  283. package/web/chunk-dk3dpdnc.js +4 -0
  284. package/web/chunk-dk3dpdnc.js.br +0 -0
  285. package/web/chunk-dk3dpdnc.js.gz +0 -0
  286. package/web/chunk-dr35dsw5.js +1 -0
  287. package/web/chunk-dr35dsw5.js.br +0 -0
  288. package/web/chunk-dr35dsw5.js.gz +0 -0
  289. package/web/chunk-drr7mqg2.js +1 -0
  290. package/web/chunk-drr7mqg2.js.br +0 -0
  291. package/web/chunk-drr7mqg2.js.gz +0 -0
  292. package/web/chunk-dy9amqbz.js +1 -0
  293. package/web/chunk-dy9amqbz.js.br +0 -0
  294. package/web/chunk-dy9amqbz.js.gz +0 -0
  295. package/web/chunk-e039ekp7.js +89 -0
  296. package/web/chunk-e039ekp7.js.br +0 -0
  297. package/web/chunk-e039ekp7.js.gz +0 -0
  298. package/web/chunk-e2e2fdwq.js +30 -0
  299. package/web/chunk-e2e2fdwq.js.br +0 -0
  300. package/web/chunk-e2e2fdwq.js.gz +0 -0
  301. package/web/chunk-e5j1v42p.js +7 -0
  302. package/web/chunk-e5j1v42p.js.br +0 -0
  303. package/web/chunk-e5j1v42p.js.gz +0 -0
  304. package/web/chunk-ef0wf92p.js +2 -0
  305. package/web/chunk-ef0wf92p.js.br +0 -0
  306. package/web/chunk-ef0wf92p.js.gz +0 -0
  307. package/web/chunk-emsyqa1e.js +1 -0
  308. package/web/chunk-emsyqa1e.js.br +0 -0
  309. package/web/chunk-emsyqa1e.js.gz +0 -0
  310. package/web/chunk-en7n9d1p.js +41 -0
  311. package/web/chunk-en7n9d1p.js.br +0 -0
  312. package/web/chunk-en7n9d1p.js.gz +0 -0
  313. package/web/chunk-ez4yt1s1.js +1 -0
  314. package/web/chunk-ez4yt1s1.js.br +0 -0
  315. package/web/chunk-ez4yt1s1.js.gz +0 -0
  316. package/web/chunk-f620k3hk.js +1 -0
  317. package/web/chunk-f620k3hk.js.br +0 -0
  318. package/web/chunk-f620k3hk.js.gz +0 -0
  319. package/web/chunk-fe2hpamc.js +200 -0
  320. package/web/chunk-fe2hpamc.js.br +0 -0
  321. package/web/chunk-fe2hpamc.js.gz +0 -0
  322. package/web/chunk-fm7saxzr.js +1 -0
  323. package/web/chunk-fm7saxzr.js.br +0 -0
  324. package/web/chunk-fm7saxzr.js.gz +0 -0
  325. package/web/chunk-fz5d3ayq.js +2 -0
  326. package/web/chunk-fz5d3ayq.js.br +0 -0
  327. package/web/chunk-fz5d3ayq.js.gz +0 -0
  328. package/web/chunk-gb2tkfv0.js +1 -0
  329. package/web/chunk-gb2tkfv0.js.br +0 -0
  330. package/web/chunk-gb2tkfv0.js.gz +0 -0
  331. package/web/chunk-gc1ypgy4.js +1 -0
  332. package/web/chunk-gc1ypgy4.js.br +0 -0
  333. package/web/chunk-gc1ypgy4.js.gz +0 -0
  334. package/web/chunk-h23pczjh.js +40 -0
  335. package/web/chunk-h23pczjh.js.br +0 -0
  336. package/web/chunk-h23pczjh.js.gz +0 -0
  337. package/web/chunk-h2sttxfn.js +1 -0
  338. package/web/chunk-h2sttxfn.js.br +2 -0
  339. package/web/chunk-h2sttxfn.js.gz +0 -0
  340. package/web/chunk-h5m9ggsm.js +2 -0
  341. package/web/chunk-h5m9ggsm.js.br +0 -0
  342. package/web/chunk-h5m9ggsm.js.gz +0 -0
  343. package/web/chunk-h5zc1hw5.js +1 -0
  344. package/web/chunk-h5zc1hw5.js.br +0 -0
  345. package/web/chunk-h5zc1hw5.js.gz +0 -0
  346. package/web/chunk-hkg6bts9.js +1 -0
  347. package/web/chunk-hkg6bts9.js.br +0 -0
  348. package/web/chunk-hkg6bts9.js.gz +0 -0
  349. package/web/chunk-hncdpeer.js +120 -0
  350. package/web/chunk-hncdpeer.js.br +0 -0
  351. package/web/chunk-hncdpeer.js.gz +0 -0
  352. package/web/chunk-j40wechd.js +2 -0
  353. package/web/chunk-j40wechd.js.br +0 -0
  354. package/web/chunk-j40wechd.js.gz +0 -0
  355. package/web/chunk-jddmse74.js +169 -0
  356. package/web/chunk-jddmse74.js.br +0 -0
  357. package/web/chunk-jddmse74.js.gz +0 -0
  358. package/web/chunk-jdvdg38q.js +3 -0
  359. package/web/chunk-jdvdg38q.js.br +0 -0
  360. package/web/chunk-jdvdg38q.js.gz +0 -0
  361. package/web/chunk-jf6q93m9.js +1 -0
  362. package/web/chunk-jf6q93m9.js.br +0 -0
  363. package/web/chunk-jf6q93m9.js.gz +0 -0
  364. package/web/chunk-jfd1gybx.js +39 -0
  365. package/web/chunk-jfd1gybx.js.br +0 -0
  366. package/web/chunk-jfd1gybx.js.gz +0 -0
  367. package/web/chunk-jkgkt722.js +1 -0
  368. package/web/chunk-jkgkt722.js.br +0 -0
  369. package/web/chunk-jkgkt722.js.gz +0 -0
  370. package/web/chunk-k427fwgp.js +1 -0
  371. package/web/chunk-k427fwgp.js.br +0 -0
  372. package/web/chunk-k427fwgp.js.gz +0 -0
  373. package/web/chunk-k8pezbya.js +2 -0
  374. package/web/chunk-k8pezbya.js.br +3 -0
  375. package/web/chunk-k8pezbya.js.gz +0 -0
  376. package/web/chunk-k9t941fj.js +1 -0
  377. package/web/chunk-k9t941fj.js.br +0 -0
  378. package/web/chunk-k9t941fj.js.gz +0 -0
  379. package/web/chunk-kkzwvnft.js +1 -0
  380. package/web/chunk-kkzwvnft.js.br +0 -0
  381. package/web/chunk-kkzwvnft.js.gz +0 -0
  382. package/web/chunk-kpm8gp4z.js +292 -0
  383. package/web/chunk-kpm8gp4z.js.br +0 -0
  384. package/web/chunk-kpm8gp4z.js.gz +0 -0
  385. package/web/chunk-kqyk2an3.js +214 -0
  386. package/web/chunk-kqyk2an3.js.br +0 -0
  387. package/web/chunk-kqyk2an3.js.gz +0 -0
  388. package/web/chunk-m3gryxba.js +2 -0
  389. package/web/chunk-m3gryxba.js.br +0 -0
  390. package/web/chunk-m3gryxba.js.gz +0 -0
  391. package/web/chunk-m8h3c5x3.js +1 -0
  392. package/web/chunk-m8h3c5x3.js.br +0 -0
  393. package/web/chunk-m8h3c5x3.js.gz +0 -0
  394. package/web/chunk-mb7sr4tf.js +55 -0
  395. package/web/chunk-mb7sr4tf.js.br +0 -0
  396. package/web/chunk-mb7sr4tf.js.gz +0 -0
  397. package/web/chunk-meqcd10n.js +1 -0
  398. package/web/chunk-meqcd10n.js.br +0 -0
  399. package/web/chunk-meqcd10n.js.gz +0 -0
  400. package/web/chunk-msrq7vsz.js +7 -0
  401. package/web/chunk-msrq7vsz.js.br +0 -0
  402. package/web/chunk-msrq7vsz.js.gz +0 -0
  403. package/web/chunk-myhtb5ps.js +2 -0
  404. package/web/chunk-myhtb5ps.js.br +0 -0
  405. package/web/chunk-myhtb5ps.js.gz +0 -0
  406. package/web/chunk-n1n55yt8.js +84 -0
  407. package/web/chunk-n1n55yt8.js.br +0 -0
  408. package/web/chunk-n1n55yt8.js.gz +0 -0
  409. package/web/chunk-nmgy1mrz.js +1 -0
  410. package/web/chunk-nmgy1mrz.js.br +0 -0
  411. package/web/chunk-nmgy1mrz.js.gz +0 -0
  412. package/web/chunk-nmnyaawa.js +24 -0
  413. package/web/chunk-nmnyaawa.js.br +0 -0
  414. package/web/chunk-nmnyaawa.js.gz +0 -0
  415. package/web/chunk-nwepnbvn.js +70 -0
  416. package/web/chunk-nwepnbvn.js.br +0 -0
  417. package/web/chunk-nwepnbvn.js.gz +0 -0
  418. package/web/chunk-p2cmfhpz.js +2 -0
  419. package/web/chunk-p2cmfhpz.js.br +0 -0
  420. package/web/chunk-p2cmfhpz.js.gz +0 -0
  421. package/web/chunk-pac9nyhp.js +2 -0
  422. package/web/chunk-pac9nyhp.js.br +0 -0
  423. package/web/chunk-pac9nyhp.js.gz +0 -0
  424. package/web/chunk-pdt40dj7.js +1 -0
  425. package/web/chunk-pdt40dj7.js.br +2 -0
  426. package/web/chunk-pdt40dj7.js.gz +0 -0
  427. package/web/chunk-phs38wt7.js +2 -0
  428. package/web/chunk-phs38wt7.js.br +0 -0
  429. package/web/chunk-phs38wt7.js.gz +0 -0
  430. package/web/chunk-prc7b9xh.js +1 -0
  431. package/web/chunk-prc7b9xh.js.br +0 -0
  432. package/web/chunk-prc7b9xh.js.gz +0 -0
  433. package/web/chunk-q1e80chw.js +1 -0
  434. package/web/chunk-q1e80chw.js.br +2 -0
  435. package/web/chunk-q1e80chw.js.gz +0 -0
  436. package/web/chunk-q6aqg79d.js +2 -0
  437. package/web/chunk-q6aqg79d.js.br +0 -0
  438. package/web/chunk-q6aqg79d.js.gz +0 -0
  439. package/web/chunk-q6sv3fhe.js +2 -0
  440. package/web/chunk-q6sv3fhe.js.br +0 -0
  441. package/web/chunk-q6sv3fhe.js.gz +0 -0
  442. package/web/chunk-rbd2n2mr.js +1 -0
  443. package/web/chunk-rbd2n2mr.js.br +0 -0
  444. package/web/chunk-rbd2n2mr.js.gz +0 -0
  445. package/web/chunk-rbh0yrp6.js +1 -0
  446. package/web/chunk-rbh0yrp6.js.br +0 -0
  447. package/web/chunk-rbh0yrp6.js.gz +0 -0
  448. package/web/chunk-rdarpbhd.js +2 -0
  449. package/web/chunk-rdarpbhd.js.br +0 -0
  450. package/web/chunk-rdarpbhd.js.gz +0 -0
  451. package/web/chunk-rf93p28v.js +1 -0
  452. package/web/chunk-rf93p28v.js.br +0 -0
  453. package/web/chunk-rf93p28v.js.gz +0 -0
  454. package/web/chunk-rjvdk0s6.js +1 -0
  455. package/web/chunk-rjvdk0s6.js.br +0 -0
  456. package/web/chunk-rjvdk0s6.js.gz +0 -0
  457. package/web/chunk-rvmk483c.js +1 -0
  458. package/web/chunk-rvmk483c.js.br +0 -0
  459. package/web/chunk-rvmk483c.js.gz +0 -0
  460. package/web/chunk-s99vfrrz.js +1 -0
  461. package/web/chunk-s99vfrrz.js.br +0 -0
  462. package/web/chunk-s99vfrrz.js.gz +0 -0
  463. package/web/chunk-saem11tv.js +2 -0
  464. package/web/chunk-saem11tv.js.br +0 -0
  465. package/web/chunk-saem11tv.js.gz +0 -0
  466. package/web/chunk-scv8t4m6.js +1 -0
  467. package/web/chunk-scv8t4m6.js.br +0 -0
  468. package/web/chunk-scv8t4m6.js.gz +0 -0
  469. package/web/chunk-stsmcqxe.js +1 -0
  470. package/web/chunk-stsmcqxe.js.br +0 -0
  471. package/web/chunk-stsmcqxe.js.gz +0 -0
  472. package/web/chunk-svaq7f3c.js +1134 -0
  473. package/web/chunk-svaq7f3c.js.br +0 -0
  474. package/web/chunk-svaq7f3c.js.gz +0 -0
  475. package/web/chunk-sy099zt8.js +1 -0
  476. package/web/chunk-sy099zt8.js.br +0 -0
  477. package/web/chunk-sy099zt8.js.gz +0 -0
  478. package/web/chunk-thqrbjwn.js +1 -0
  479. package/web/chunk-thqrbjwn.js.br +2 -0
  480. package/web/chunk-thqrbjwn.js.gz +0 -0
  481. package/web/chunk-ty1m1k6b.js +1 -0
  482. package/web/chunk-ty1m1k6b.js.br +0 -0
  483. package/web/chunk-ty1m1k6b.js.gz +0 -0
  484. package/web/chunk-w54qcqk3.js +1 -0
  485. package/web/chunk-w54qcqk3.js.br +0 -0
  486. package/web/chunk-w54qcqk3.js.gz +0 -0
  487. package/web/chunk-wgf4paqc.js +1 -0
  488. package/web/chunk-wgf4paqc.js.br +0 -0
  489. package/web/chunk-wgf4paqc.js.gz +0 -0
  490. package/web/chunk-ww5c1dmz.js +1 -0
  491. package/web/chunk-ww5c1dmz.js.br +0 -0
  492. package/web/chunk-ww5c1dmz.js.gz +0 -0
  493. package/web/chunk-x5m7phbb.js +1 -0
  494. package/web/chunk-x5m7phbb.js.br +0 -0
  495. package/web/chunk-x5m7phbb.js.gz +0 -0
  496. package/web/chunk-x9wzj52f.js +2 -0
  497. package/web/chunk-x9wzj52f.js.br +0 -0
  498. package/web/chunk-x9wzj52f.js.gz +0 -0
  499. package/web/chunk-xgfam7bx.js +1 -0
  500. package/web/chunk-xgfam7bx.js.br +0 -0
  501. package/web/chunk-xgfam7bx.js.gz +0 -0
  502. package/web/chunk-xnn07hr4.js +21 -0
  503. package/web/chunk-xnn07hr4.js.br +0 -0
  504. package/web/chunk-xnn07hr4.js.gz +0 -0
  505. package/web/chunk-xreg1e03.js +78 -0
  506. package/web/chunk-xreg1e03.js.br +0 -0
  507. package/web/chunk-xreg1e03.js.gz +0 -0
  508. package/web/chunk-xsxd3wsv.js +4 -0
  509. package/web/chunk-xsxd3wsv.js.br +0 -0
  510. package/web/chunk-xsxd3wsv.js.gz +0 -0
  511. package/web/chunk-y7jebh1j.js +1 -0
  512. package/web/chunk-y7jebh1j.js.br +0 -0
  513. package/web/chunk-y7jebh1j.js.gz +0 -0
  514. package/web/chunk-yhn2mwnb.js +291 -0
  515. package/web/chunk-yhn2mwnb.js.br +0 -0
  516. package/web/chunk-yhn2mwnb.js.gz +0 -0
  517. package/web/chunk-yj85fg74.js +1 -0
  518. package/web/chunk-yj85fg74.js.br +0 -0
  519. package/web/chunk-yj85fg74.js.gz +0 -0
  520. package/web/chunk-yjvjzayn.js +1 -0
  521. package/web/chunk-yjvjzayn.js.br +0 -0
  522. package/web/chunk-yjvjzayn.js.gz +0 -0
  523. package/web/chunk-yqwvedf5.js +370 -0
  524. package/web/chunk-yqwvedf5.js.br +0 -0
  525. package/web/chunk-yqwvedf5.js.gz +0 -0
  526. package/web/chunk-z3tr221x.js +1 -0
  527. package/web/chunk-z3tr221x.js.br +0 -0
  528. package/web/chunk-z3tr221x.js.gz +0 -0
  529. package/web/chunk-z4n3tx0q.js +1 -0
  530. package/web/chunk-z4n3tx0q.js.br +0 -0
  531. package/web/chunk-z4n3tx0q.js.gz +0 -0
  532. package/web/index.html +1 -1
  533. package/web/index.html.br +0 -0
  534. package/web/index.html.gz +0 -0
  535. package/worker.js +1 -1
  536. package/chunk-09tdbx7b.js +0 -3
  537. package/chunk-0b2brwjc.js +0 -3
  538. package/chunk-0rsyawz5.js +0 -8
  539. package/chunk-16yz5ebn.js +0 -2
  540. package/chunk-1kdd7xry.js +0 -2
  541. package/chunk-1td9hjn9.js +0 -25
  542. package/chunk-1xjkzzyh.js +0 -3
  543. package/chunk-38932kzp.js +0 -3
  544. package/chunk-3qxq264t.js +0 -2
  545. package/chunk-3s8rpc1w.js +0 -3
  546. package/chunk-4fbj3k59.js +0 -3
  547. package/chunk-5415fcz7.js +0 -10
  548. package/chunk-5kezbmgw.js +0 -3
  549. package/chunk-5m51j40e.js +0 -7
  550. package/chunk-5mt8xxex.js +0 -3
  551. package/chunk-5ph58x6w.js +0 -39
  552. package/chunk-6jdqe7sz.js +0 -4
  553. package/chunk-6ztgzx9s.js +0 -2
  554. package/chunk-7dzcdpdt.js +0 -2
  555. package/chunk-82djd5fk.js +0 -3
  556. package/chunk-86vhsd3y.js +0 -31
  557. package/chunk-8rfv9mm1.js +0 -15
  558. package/chunk-8tvz5ht1.js +0 -16
  559. package/chunk-9pjmwz01.js +0 -2
  560. package/chunk-9qzyn98b.js +0 -3
  561. package/chunk-9w1m9av8.js +0 -11
  562. package/chunk-9wjd9bxm.js +0 -2
  563. package/chunk-a3fpx924.js +0 -3
  564. package/chunk-b49005n2.js +0 -471
  565. package/chunk-bdz2561d.js +0 -2
  566. package/chunk-bkvhwgeb.js +0 -3
  567. package/chunk-bp9tfav3.js +0 -2
  568. package/chunk-cc9htxzx.js +0 -3557
  569. package/chunk-cr0tqn6j.js +0 -3
  570. package/chunk-cv5kdnsw.js +0 -3
  571. package/chunk-d79s1s4t.js +0 -25
  572. package/chunk-e0ytnnwt.js +0 -3
  573. package/chunk-e2m8ap8f.js +0 -3
  574. package/chunk-ec6bzt7w.js +0 -20
  575. package/chunk-enmrpjpt.js +0 -3
  576. package/chunk-eq54cmsa.js +0 -4
  577. package/chunk-fj56fznw.js +0 -3
  578. package/chunk-g54nd4fd.js +0 -5
  579. package/chunk-g8p5c4vx.js +0 -7
  580. package/chunk-g9bemxpt.js +0 -3
  581. package/chunk-gs5aebwh.js +0 -2
  582. package/chunk-hk5p2eee.js +0 -12
  583. package/chunk-jerp4pj5.js +0 -2
  584. package/chunk-jsvqp20s.js +0 -2
  585. package/chunk-k9x1r69s.js +0 -18
  586. package/chunk-kb526065.js +0 -2
  587. package/chunk-kpw1qa2n.js +0 -11
  588. package/chunk-mbvy2t23.js +0 -2
  589. package/chunk-mmnsdje8.js +0 -390
  590. package/chunk-nffwakxq.js +0 -2
  591. package/chunk-nfj8sj53.js +0 -2
  592. package/chunk-pzwaz2ew.js +0 -5
  593. package/chunk-qtgc74er.js +0 -5
  594. package/chunk-qtrd33pp.js +0 -7
  595. package/chunk-rbk6jxcr.js +0 -2
  596. package/chunk-rpbxbb92.js +0 -10
  597. package/chunk-rx812nrp.js +0 -3
  598. package/chunk-scy1p7x2.js +0 -9
  599. package/chunk-sfgw0vmt.js +0 -2
  600. package/chunk-t3mq64c8.js +0 -3
  601. package/chunk-tmefdwxy.js +0 -2
  602. package/chunk-tvg54x0x.js +0 -2
  603. package/chunk-v878x8zr.js +0 -7
  604. package/chunk-v89f2k9b.js +0 -2
  605. package/chunk-vhe16b65.js +0 -3
  606. package/chunk-vzrmdaba.js +0 -2
  607. package/chunk-w3skxmvx.js +0 -3
  608. package/chunk-w4kasz4j.js +0 -12
  609. package/chunk-w4zkgn1c.js +0 -4
  610. package/chunk-we5emq6f.js +0 -2
  611. package/chunk-x0dcabw6.js +0 -3
  612. package/chunk-xtj7b70y.js +0 -5
  613. package/chunk-xwew53k7.js +0 -59
  614. package/chunk-xyhr89y5.js +0 -3
  615. package/chunk-yce46csn.js +0 -2
  616. package/chunk-yetcb1z9.js +0 -3
  617. package/chunk-ypmpf75h.js +0 -2
  618. package/chunk-zkjnt298.js +0 -3
  619. package/chunk-zz48zvk5.js +0 -2
  620. package/web/chunk-04c54f1s.js +0 -1
  621. package/web/chunk-04c54f1s.js.br +0 -2
  622. package/web/chunk-04c54f1s.js.gz +0 -0
  623. package/web/chunk-04m1cb8w.js +0 -1
  624. package/web/chunk-04m1cb8w.js.br +0 -0
  625. package/web/chunk-04m1cb8w.js.gz +0 -0
  626. package/web/chunk-08z6mkgz.js +0 -40
  627. package/web/chunk-08z6mkgz.js.br +0 -0
  628. package/web/chunk-08z6mkgz.js.gz +0 -0
  629. package/web/chunk-0g9m3rpw.js +0 -55
  630. package/web/chunk-0g9m3rpw.js.br +0 -0
  631. package/web/chunk-0g9m3rpw.js.gz +0 -0
  632. package/web/chunk-0jccrdw3.js +0 -2
  633. package/web/chunk-0jccrdw3.js.br +0 -0
  634. package/web/chunk-0jccrdw3.js.gz +0 -0
  635. package/web/chunk-0rvx1z2b.js +0 -1
  636. package/web/chunk-0rvx1z2b.js.br +0 -0
  637. package/web/chunk-0rvx1z2b.js.gz +0 -0
  638. package/web/chunk-0vweazdh.js +0 -12
  639. package/web/chunk-0vweazdh.js.br +0 -0
  640. package/web/chunk-0vweazdh.js.gz +0 -0
  641. package/web/chunk-0wqmwnd8.js +0 -2
  642. package/web/chunk-0wqmwnd8.js.br +0 -0
  643. package/web/chunk-0wqmwnd8.js.gz +0 -0
  644. package/web/chunk-0z10aqp1.js +0 -2
  645. package/web/chunk-0z10aqp1.js.br +0 -0
  646. package/web/chunk-0z10aqp1.js.gz +0 -0
  647. package/web/chunk-12vcrj7y.js +0 -1
  648. package/web/chunk-12vcrj7y.js.br +0 -0
  649. package/web/chunk-12vcrj7y.js.gz +0 -0
  650. package/web/chunk-1vtf555r.js +0 -1
  651. package/web/chunk-1vtf555r.js.br +0 -0
  652. package/web/chunk-1vtf555r.js.gz +0 -0
  653. package/web/chunk-29z0ft67.js +0 -370
  654. package/web/chunk-29z0ft67.js.br +0 -0
  655. package/web/chunk-29z0ft67.js.gz +0 -0
  656. package/web/chunk-2q3m4btb.js +0 -1
  657. package/web/chunk-2q3m4btb.js.br +0 -0
  658. package/web/chunk-2q3m4btb.js.gz +0 -0
  659. package/web/chunk-2s6fhjjc.js +0 -1134
  660. package/web/chunk-2s6fhjjc.js.br +0 -0
  661. package/web/chunk-2s6fhjjc.js.gz +0 -0
  662. package/web/chunk-2vdx4ykn.js +0 -139
  663. package/web/chunk-2vdx4ykn.js.br +0 -0
  664. package/web/chunk-2vdx4ykn.js.gz +0 -0
  665. package/web/chunk-2zgqe8r7.js +0 -1
  666. package/web/chunk-2zgqe8r7.js.br +0 -0
  667. package/web/chunk-2zgqe8r7.js.gz +0 -0
  668. package/web/chunk-366a11ec.js +0 -1
  669. package/web/chunk-366a11ec.js.br +0 -0
  670. package/web/chunk-366a11ec.js.gz +0 -0
  671. package/web/chunk-3kqpmg83.js +0 -78
  672. package/web/chunk-3kqpmg83.js.br +0 -0
  673. package/web/chunk-3kqpmg83.js.gz +0 -0
  674. package/web/chunk-3rmqxna0.js +0 -1
  675. package/web/chunk-3rmqxna0.js.br +0 -0
  676. package/web/chunk-3rmqxna0.js.gz +0 -0
  677. package/web/chunk-3xmv2349.js +0 -21
  678. package/web/chunk-3xmv2349.js.br +0 -0
  679. package/web/chunk-3xmv2349.js.gz +0 -0
  680. package/web/chunk-46cdys11.js +0 -34
  681. package/web/chunk-46cdys11.js.br +0 -0
  682. package/web/chunk-46cdys11.js.gz +0 -0
  683. package/web/chunk-46mw23f0.js +0 -8
  684. package/web/chunk-46mw23f0.js.br +0 -0
  685. package/web/chunk-46mw23f0.js.gz +0 -0
  686. package/web/chunk-4mypk63p.js +0 -2
  687. package/web/chunk-4mypk63p.js.br +0 -0
  688. package/web/chunk-4mypk63p.js.gz +0 -0
  689. package/web/chunk-4r0dvjrr.js +0 -2
  690. package/web/chunk-4r0dvjrr.js.br +0 -0
  691. package/web/chunk-4r0dvjrr.js.gz +0 -0
  692. package/web/chunk-4v6m84pg.js +0 -3
  693. package/web/chunk-4v6m84pg.js.br +0 -0
  694. package/web/chunk-4v6m84pg.js.gz +0 -0
  695. package/web/chunk-4wd9r73y.js +0 -1
  696. package/web/chunk-4wd9r73y.js.br +0 -0
  697. package/web/chunk-4wd9r73y.js.gz +0 -0
  698. package/web/chunk-4ye31s2w.js +0 -1
  699. package/web/chunk-4ye31s2w.js.br +0 -4
  700. package/web/chunk-4ye31s2w.js.gz +0 -0
  701. package/web/chunk-52tt9qt4.js +0 -2
  702. package/web/chunk-52tt9qt4.js.br +0 -0
  703. package/web/chunk-52tt9qt4.js.gz +0 -0
  704. package/web/chunk-5cp4n5ck.js +0 -2
  705. package/web/chunk-5cp4n5ck.js.br +0 -0
  706. package/web/chunk-5cp4n5ck.js.gz +0 -0
  707. package/web/chunk-5kavsn22.js +0 -4
  708. package/web/chunk-5kavsn22.js.br +0 -0
  709. package/web/chunk-5kavsn22.js.gz +0 -0
  710. package/web/chunk-5q2h4tg8.js +0 -2
  711. package/web/chunk-5q2h4tg8.js.br +0 -4
  712. package/web/chunk-5q2h4tg8.js.gz +0 -0
  713. package/web/chunk-5tbk6dx6.js +0 -292
  714. package/web/chunk-5tbk6dx6.js.br +0 -0
  715. package/web/chunk-5tbk6dx6.js.gz +0 -0
  716. package/web/chunk-5yb0sm1r.js +0 -1
  717. package/web/chunk-5yb0sm1r.js.br +0 -0
  718. package/web/chunk-5yb0sm1r.js.gz +0 -0
  719. package/web/chunk-5yz46tjw.js +0 -2
  720. package/web/chunk-5yz46tjw.js.br +0 -0
  721. package/web/chunk-5yz46tjw.js.gz +0 -0
  722. package/web/chunk-619a8t38.js +0 -1
  723. package/web/chunk-619a8t38.js.br +0 -0
  724. package/web/chunk-619a8t38.js.gz +0 -0
  725. package/web/chunk-6areryyn.js +0 -2
  726. package/web/chunk-6areryyn.js.br +0 -0
  727. package/web/chunk-6areryyn.js.gz +0 -0
  728. package/web/chunk-6ms78sx5.js +0 -1
  729. package/web/chunk-6ms78sx5.js.br +0 -0
  730. package/web/chunk-6ms78sx5.js.gz +0 -0
  731. package/web/chunk-6ts9mtye.js +0 -2
  732. package/web/chunk-6ts9mtye.js.br +0 -0
  733. package/web/chunk-6ts9mtye.js.gz +0 -0
  734. package/web/chunk-79whhay2.js +0 -2
  735. package/web/chunk-79whhay2.js.br +0 -0
  736. package/web/chunk-79whhay2.js.gz +0 -0
  737. package/web/chunk-7cf1kk45.js +0 -1
  738. package/web/chunk-7cf1kk45.js.br +0 -2
  739. package/web/chunk-7cf1kk45.js.gz +0 -0
  740. package/web/chunk-7n1abr86.js +0 -1
  741. package/web/chunk-7n1abr86.js.br +0 -0
  742. package/web/chunk-7n1abr86.js.gz +0 -0
  743. package/web/chunk-7qxfx983.js +0 -1
  744. package/web/chunk-7qxfx983.js.br +0 -0
  745. package/web/chunk-7qxfx983.js.gz +0 -0
  746. package/web/chunk-89crtpnw.js +0 -1
  747. package/web/chunk-89crtpnw.js.br +0 -0
  748. package/web/chunk-89crtpnw.js.gz +0 -0
  749. package/web/chunk-8g239029.js +0 -1
  750. package/web/chunk-8g239029.js.br +0 -0
  751. package/web/chunk-8g239029.js.gz +0 -0
  752. package/web/chunk-91k30q92.js +0 -1
  753. package/web/chunk-91k30q92.js.br +0 -0
  754. package/web/chunk-91k30q92.js.gz +0 -0
  755. package/web/chunk-91nyvkrb.js +0 -324
  756. package/web/chunk-91nyvkrb.js.br +0 -0
  757. package/web/chunk-91nyvkrb.js.gz +0 -0
  758. package/web/chunk-9mbr6znb.js +0 -1
  759. package/web/chunk-9mbr6znb.js.br +0 -0
  760. package/web/chunk-9mbr6znb.js.gz +0 -0
  761. package/web/chunk-9mvw6a5v.js +0 -7
  762. package/web/chunk-9mvw6a5v.js.br +0 -0
  763. package/web/chunk-9mvw6a5v.js.gz +0 -0
  764. package/web/chunk-9r7nbre7.js +0 -2
  765. package/web/chunk-9r7nbre7.js.br +0 -0
  766. package/web/chunk-9r7nbre7.js.gz +0 -0
  767. package/web/chunk-9y9nwaqj.js +0 -1
  768. package/web/chunk-9y9nwaqj.js.br +0 -0
  769. package/web/chunk-9y9nwaqj.js.gz +0 -0
  770. package/web/chunk-a6hdn8tb.js +0 -169
  771. package/web/chunk-a6hdn8tb.js.br +0 -0
  772. package/web/chunk-a6hdn8tb.js.gz +0 -0
  773. package/web/chunk-ad6x47yy.js +0 -1
  774. package/web/chunk-ad6x47yy.js.br +0 -0
  775. package/web/chunk-ad6x47yy.js.gz +0 -0
  776. package/web/chunk-ar6m9fza.js +0 -7
  777. package/web/chunk-ar6m9fza.js.br +0 -0
  778. package/web/chunk-ar6m9fza.js.gz +0 -0
  779. package/web/chunk-ayqakyyq.js +0 -1
  780. package/web/chunk-ayqakyyq.js.br +0 -0
  781. package/web/chunk-ayqakyyq.js.gz +0 -0
  782. package/web/chunk-cc6hn5xv.js +0 -2
  783. package/web/chunk-cc6hn5xv.js.br +0 -0
  784. package/web/chunk-cc6hn5xv.js.gz +0 -0
  785. package/web/chunk-ccymg1hp.js +0 -1
  786. package/web/chunk-ccymg1hp.js.br +0 -0
  787. package/web/chunk-ccymg1hp.js.gz +0 -0
  788. package/web/chunk-cg9fe42b.js +0 -89
  789. package/web/chunk-cg9fe42b.js.br +0 -0
  790. package/web/chunk-cg9fe42b.js.gz +0 -0
  791. package/web/chunk-cmcgmf94.js +0 -1
  792. package/web/chunk-cmcgmf94.js.br +0 -0
  793. package/web/chunk-cmcgmf94.js.gz +0 -0
  794. package/web/chunk-cnbbvd6n.js +0 -1
  795. package/web/chunk-cnbbvd6n.js.br +0 -0
  796. package/web/chunk-cnbbvd6n.js.gz +0 -0
  797. package/web/chunk-cxp2nbtc.js +0 -106
  798. package/web/chunk-cxp2nbtc.js.br +0 -0
  799. package/web/chunk-cxp2nbtc.js.gz +0 -0
  800. package/web/chunk-d18r4m14.js +0 -141
  801. package/web/chunk-d18r4m14.js.br +0 -0
  802. package/web/chunk-d18r4m14.js.gz +0 -0
  803. package/web/chunk-dj2b64aj.js +0 -1
  804. package/web/chunk-dj2b64aj.js.br +0 -0
  805. package/web/chunk-dj2b64aj.js.gz +0 -0
  806. package/web/chunk-dmqtdeb4.js +0 -1
  807. package/web/chunk-dmqtdeb4.js.br +0 -0
  808. package/web/chunk-dmqtdeb4.js.gz +0 -0
  809. package/web/chunk-dsga6rp3.js +0 -1
  810. package/web/chunk-dsga6rp3.js.br +0 -0
  811. package/web/chunk-dsga6rp3.js.gz +0 -0
  812. package/web/chunk-e65y60v1.js +0 -2
  813. package/web/chunk-e65y60v1.js.br +0 -0
  814. package/web/chunk-e65y60v1.js.gz +0 -0
  815. package/web/chunk-ed8qqn45.js +0 -2
  816. package/web/chunk-ed8qqn45.js.br +0 -0
  817. package/web/chunk-ed8qqn45.js.gz +0 -0
  818. package/web/chunk-ef1h0tt7.js +0 -2
  819. package/web/chunk-ef1h0tt7.js.br +0 -0
  820. package/web/chunk-ef1h0tt7.js.gz +0 -0
  821. package/web/chunk-ek6q6a08.js +0 -1
  822. package/web/chunk-ek6q6a08.js.br +0 -2
  823. package/web/chunk-ek6q6a08.js.gz +0 -0
  824. package/web/chunk-et1nm6h1.js +0 -142
  825. package/web/chunk-et1nm6h1.js.br +0 -0
  826. package/web/chunk-et1nm6h1.js.gz +0 -0
  827. package/web/chunk-f1016wh6.js +0 -1
  828. package/web/chunk-f1016wh6.js.br +0 -0
  829. package/web/chunk-f1016wh6.js.gz +0 -0
  830. package/web/chunk-f42mwg61.js +0 -1
  831. package/web/chunk-f42mwg61.js.br +0 -0
  832. package/web/chunk-f42mwg61.js.gz +0 -0
  833. package/web/chunk-fk35d3bz.js +0 -332
  834. package/web/chunk-fk35d3bz.js.br +0 -0
  835. package/web/chunk-fk35d3bz.js.gz +0 -0
  836. package/web/chunk-fpwztdhn.js +0 -39
  837. package/web/chunk-fpwztdhn.js.br +0 -0
  838. package/web/chunk-fpwztdhn.js.gz +0 -0
  839. package/web/chunk-g30nqfka.js +0 -2
  840. package/web/chunk-g30nqfka.js.br +0 -0
  841. package/web/chunk-g30nqfka.js.gz +0 -0
  842. package/web/chunk-g3vbtxgy.js +0 -2
  843. package/web/chunk-g3vbtxgy.js.br +0 -0
  844. package/web/chunk-g3vbtxgy.js.gz +0 -0
  845. package/web/chunk-gbwy4pfg.css +0 -1
  846. package/web/chunk-gbwy4pfg.css.br +0 -0
  847. package/web/chunk-gbwy4pfg.css.gz +0 -0
  848. package/web/chunk-gepgx19m.js +0 -200
  849. package/web/chunk-gepgx19m.js.br +0 -0
  850. package/web/chunk-gepgx19m.js.gz +0 -0
  851. package/web/chunk-grz69q28.js +0 -36
  852. package/web/chunk-grz69q28.js.br +0 -0
  853. package/web/chunk-grz69q28.js.gz +0 -0
  854. package/web/chunk-gt62acsh.js +0 -2
  855. package/web/chunk-gt62acsh.js.br +0 -0
  856. package/web/chunk-gt62acsh.js.gz +0 -0
  857. package/web/chunk-h28xrvmg.js +0 -41
  858. package/web/chunk-h28xrvmg.js.br +0 -0
  859. package/web/chunk-h28xrvmg.js.gz +0 -0
  860. package/web/chunk-h80ypke7.js +0 -2
  861. package/web/chunk-h80ypke7.js.br +0 -0
  862. package/web/chunk-h80ypke7.js.gz +0 -0
  863. package/web/chunk-hj067dfg.js +0 -1
  864. package/web/chunk-hj067dfg.js.br +0 -2
  865. package/web/chunk-hj067dfg.js.gz +0 -0
  866. package/web/chunk-hp167dbv.js +0 -1
  867. package/web/chunk-hp167dbv.js.br +0 -0
  868. package/web/chunk-hp167dbv.js.gz +0 -0
  869. package/web/chunk-j4942vkb.js +0 -1
  870. package/web/chunk-j4942vkb.js.br +0 -0
  871. package/web/chunk-j4942vkb.js.gz +0 -0
  872. package/web/chunk-k1cd6e24.js +0 -1
  873. package/web/chunk-k1cd6e24.js.br +0 -0
  874. package/web/chunk-k1cd6e24.js.gz +0 -0
  875. package/web/chunk-k1d0y72z.js +0 -2
  876. package/web/chunk-k1d0y72z.js.br +0 -0
  877. package/web/chunk-k1d0y72z.js.gz +0 -0
  878. package/web/chunk-k9248573.js +0 -1
  879. package/web/chunk-k9248573.js.br +0 -0
  880. package/web/chunk-k9248573.js.gz +0 -0
  881. package/web/chunk-kh0xyffx.js +0 -1
  882. package/web/chunk-kh0xyffx.js.br +0 -0
  883. package/web/chunk-kh0xyffx.js.gz +0 -0
  884. package/web/chunk-kqgn9dsa.js +0 -7
  885. package/web/chunk-kqgn9dsa.js.br +0 -0
  886. package/web/chunk-kqgn9dsa.js.gz +0 -0
  887. package/web/chunk-kqngpw5m.js +0 -1
  888. package/web/chunk-kqngpw5m.js.br +0 -0
  889. package/web/chunk-kqngpw5m.js.gz +0 -0
  890. package/web/chunk-ktvxgxsd.js +0 -2
  891. package/web/chunk-ktvxgxsd.js.br +0 -0
  892. package/web/chunk-ktvxgxsd.js.gz +0 -0
  893. package/web/chunk-kzj105r1.js +0 -217
  894. package/web/chunk-kzj105r1.js.br +0 -0
  895. package/web/chunk-kzj105r1.js.gz +0 -0
  896. package/web/chunk-m14v2en1.js +0 -1
  897. package/web/chunk-m14v2en1.js.br +0 -0
  898. package/web/chunk-m14v2en1.js.gz +0 -0
  899. package/web/chunk-m34et8g4.js +0 -2
  900. package/web/chunk-m34et8g4.js.br +0 -0
  901. package/web/chunk-m34et8g4.js.gz +0 -0
  902. package/web/chunk-md1f6gmk.js +0 -1
  903. package/web/chunk-md1f6gmk.js.br +0 -0
  904. package/web/chunk-md1f6gmk.js.gz +0 -0
  905. package/web/chunk-n05xf20n.js +0 -98
  906. package/web/chunk-n05xf20n.js.br +0 -0
  907. package/web/chunk-n05xf20n.js.gz +0 -0
  908. package/web/chunk-n2k1gd6n.js +0 -84
  909. package/web/chunk-n2k1gd6n.js.br +0 -0
  910. package/web/chunk-n2k1gd6n.js.gz +0 -0
  911. package/web/chunk-n419cees.js +0 -1
  912. package/web/chunk-n419cees.js.br +0 -0
  913. package/web/chunk-n419cees.js.gz +0 -0
  914. package/web/chunk-n45fgfyt.js +0 -1
  915. package/web/chunk-n45fgfyt.js.br +0 -2
  916. package/web/chunk-n45fgfyt.js.gz +0 -0
  917. package/web/chunk-n5v71fas.js +0 -2
  918. package/web/chunk-n5v71fas.js.br +0 -0
  919. package/web/chunk-n5v71fas.js.gz +0 -0
  920. package/web/chunk-nm8yza3v.js +0 -140
  921. package/web/chunk-nm8yza3v.js.br +0 -0
  922. package/web/chunk-nm8yza3v.js.gz +0 -0
  923. package/web/chunk-nzey7cpv.js +0 -1
  924. package/web/chunk-nzey7cpv.js.br +0 -0
  925. package/web/chunk-nzey7cpv.js.gz +0 -0
  926. package/web/chunk-p76f6cf4.js +0 -2
  927. package/web/chunk-p76f6cf4.js.br +0 -0
  928. package/web/chunk-p76f6cf4.js.gz +0 -0
  929. package/web/chunk-pbg9rdwv.js +0 -1
  930. package/web/chunk-pbg9rdwv.js.br +0 -2
  931. package/web/chunk-pbg9rdwv.js.gz +0 -0
  932. package/web/chunk-qgtqwmkb.js +0 -1
  933. package/web/chunk-qgtqwmkb.js.br +0 -2
  934. package/web/chunk-qgtqwmkb.js.gz +0 -0
  935. package/web/chunk-qj9nd038.js +0 -1
  936. package/web/chunk-qj9nd038.js.br +0 -0
  937. package/web/chunk-qj9nd038.js.gz +0 -0
  938. package/web/chunk-qjaex9c0.js +0 -1
  939. package/web/chunk-qjaex9c0.js.br +0 -2
  940. package/web/chunk-qjaex9c0.js.gz +0 -0
  941. package/web/chunk-qq79vsm8.js +0 -70
  942. package/web/chunk-qq79vsm8.js.br +0 -0
  943. package/web/chunk-qq79vsm8.js.gz +0 -0
  944. package/web/chunk-qs5wnwd6.js +0 -30
  945. package/web/chunk-qs5wnwd6.js.br +0 -0
  946. package/web/chunk-qs5wnwd6.js.gz +0 -0
  947. package/web/chunk-qygjhm63.js +0 -1
  948. package/web/chunk-qygjhm63.js.br +0 -0
  949. package/web/chunk-qygjhm63.js.gz +0 -0
  950. package/web/chunk-r1dnh0s8.js +0 -1
  951. package/web/chunk-r1dnh0s8.js.br +0 -0
  952. package/web/chunk-r1dnh0s8.js.gz +0 -0
  953. package/web/chunk-r381n550.js +0 -1
  954. package/web/chunk-r381n550.js.br +0 -0
  955. package/web/chunk-r381n550.js.gz +0 -0
  956. package/web/chunk-r48vazdm.js +0 -291
  957. package/web/chunk-r48vazdm.js.br +0 -0
  958. package/web/chunk-r48vazdm.js.gz +0 -0
  959. package/web/chunk-r55seq42.js +0 -24
  960. package/web/chunk-r55seq42.js.br +0 -0
  961. package/web/chunk-r55seq42.js.gz +0 -0
  962. package/web/chunk-r5eakmw6.js +0 -1
  963. package/web/chunk-r5eakmw6.js.br +0 -0
  964. package/web/chunk-r5eakmw6.js.gz +0 -0
  965. package/web/chunk-r79zekav.js +0 -1
  966. package/web/chunk-r79zekav.js.br +0 -0
  967. package/web/chunk-r79zekav.js.gz +0 -0
  968. package/web/chunk-r8qyvcks.js +0 -89
  969. package/web/chunk-r8qyvcks.js.br +0 -0
  970. package/web/chunk-r8qyvcks.js.gz +0 -0
  971. package/web/chunk-r9dt0730.js +0 -1
  972. package/web/chunk-r9dt0730.js.br +0 -0
  973. package/web/chunk-r9dt0730.js.gz +0 -0
  974. package/web/chunk-rfsg5rke.js +0 -1
  975. package/web/chunk-rfsg5rke.js.br +0 -2
  976. package/web/chunk-rfsg5rke.js.gz +0 -0
  977. package/web/chunk-rpjzwknn.js +0 -1
  978. package/web/chunk-rpjzwknn.js.br +0 -0
  979. package/web/chunk-rpjzwknn.js.gz +0 -0
  980. package/web/chunk-s7h50avx.js +0 -2
  981. package/web/chunk-s7h50avx.js.br +0 -0
  982. package/web/chunk-s7h50avx.js.gz +0 -0
  983. package/web/chunk-sk3065js.js +0 -62
  984. package/web/chunk-sk3065js.js.br +0 -0
  985. package/web/chunk-sk3065js.js.gz +0 -0
  986. package/web/chunk-sk47kk5j.js +0 -1
  987. package/web/chunk-sk47kk5j.js.br +0 -0
  988. package/web/chunk-sk47kk5j.js.gz +0 -0
  989. package/web/chunk-smywa1zw.js +0 -2
  990. package/web/chunk-smywa1zw.js.br +0 -0
  991. package/web/chunk-smywa1zw.js.gz +0 -0
  992. package/web/chunk-t6agpn2z.js +0 -1
  993. package/web/chunk-t6agpn2z.js.br +0 -0
  994. package/web/chunk-t6agpn2z.js.gz +0 -0
  995. package/web/chunk-t9heac9a.js +0 -2
  996. package/web/chunk-t9heac9a.js.br +0 -0
  997. package/web/chunk-t9heac9a.js.gz +0 -0
  998. package/web/chunk-trssyq9a.js +0 -1
  999. package/web/chunk-trssyq9a.js.br +0 -0
  1000. package/web/chunk-trssyq9a.js.gz +0 -0
  1001. package/web/chunk-v329f8df.js +0 -24
  1002. package/web/chunk-v329f8df.js.br +0 -0
  1003. package/web/chunk-v329f8df.js.gz +0 -0
  1004. package/web/chunk-vb2feptd.js +0 -2
  1005. package/web/chunk-vb2feptd.js.br +0 -0
  1006. package/web/chunk-vb2feptd.js.gz +0 -0
  1007. package/web/chunk-vff33vj3.js +0 -1
  1008. package/web/chunk-vff33vj3.js.br +0 -2
  1009. package/web/chunk-vff33vj3.js.gz +0 -0
  1010. package/web/chunk-w9adyaze.js +0 -16
  1011. package/web/chunk-w9adyaze.js.br +0 -0
  1012. package/web/chunk-w9adyaze.js.gz +0 -0
  1013. package/web/chunk-wgc8z5jv.js +0 -1
  1014. package/web/chunk-wgc8z5jv.js.br +0 -0
  1015. package/web/chunk-wgc8z5jv.js.gz +0 -0
  1016. package/web/chunk-wvdk3w03.js +0 -2
  1017. package/web/chunk-wvdk3w03.js.br +0 -0
  1018. package/web/chunk-wvdk3w03.js.gz +0 -0
  1019. package/web/chunk-wvvrdqgb.js +0 -1
  1020. package/web/chunk-wvvrdqgb.js.br +0 -2
  1021. package/web/chunk-wvvrdqgb.js.gz +0 -0
  1022. package/web/chunk-wxmaw4ht.js +0 -1
  1023. package/web/chunk-wxmaw4ht.js.br +0 -0
  1024. package/web/chunk-wxmaw4ht.js.gz +0 -0
  1025. package/web/chunk-x19jdqnt.js +0 -38
  1026. package/web/chunk-x19jdqnt.js.br +0 -0
  1027. package/web/chunk-x19jdqnt.js.gz +0 -0
  1028. package/web/chunk-x4153gx3.js +0 -214
  1029. package/web/chunk-x4153gx3.js.br +0 -0
  1030. package/web/chunk-x4153gx3.js.gz +0 -0
  1031. package/web/chunk-x7wmb5d3.js +0 -4
  1032. package/web/chunk-x7wmb5d3.js.br +0 -0
  1033. package/web/chunk-x7wmb5d3.js.gz +0 -0
  1034. package/web/chunk-xp2zpmpp.js +0 -303
  1035. package/web/chunk-xp2zpmpp.js.br +0 -0
  1036. package/web/chunk-xp2zpmpp.js.gz +0 -0
  1037. package/web/chunk-xp9tdb5t.js +0 -1
  1038. package/web/chunk-xp9tdb5t.js.br +0 -2
  1039. package/web/chunk-xp9tdb5t.js.gz +0 -0
  1040. package/web/chunk-y09v3sz7.js +0 -1
  1041. package/web/chunk-y09v3sz7.js.br +0 -0
  1042. package/web/chunk-y09v3sz7.js.gz +0 -0
  1043. package/web/chunk-y10hsdq4.js +0 -1
  1044. package/web/chunk-y10hsdq4.js.br +0 -0
  1045. package/web/chunk-y10hsdq4.js.gz +0 -0
  1046. package/web/chunk-ywmsxe5z.js +0 -99
  1047. package/web/chunk-ywmsxe5z.js.br +0 -0
  1048. package/web/chunk-ywmsxe5z.js.gz +0 -0
  1049. package/web/chunk-yzyxa823.js +0 -2
  1050. package/web/chunk-yzyxa823.js.br +0 -0
  1051. package/web/chunk-yzyxa823.js.gz +0 -0
  1052. package/web/chunk-z09emmrb.js +0 -1
  1053. package/web/chunk-z09emmrb.js.br +0 -0
  1054. package/web/chunk-z09emmrb.js.gz +0 -0
  1055. package/web/chunk-zwx48gb8.js +0 -120
  1056. package/web/chunk-zwx48gb8.js.br +0 -0
  1057. package/web/chunk-zwx48gb8.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1 @@
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
@@ -0,0 +1,7 @@
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
@@ -0,0 +1,2 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"C",name:"c",patterns:[{include:"#preprocessor-rule-enabled"},{include:"#preprocessor-rule-disabled"},{include:"#preprocessor-rule-conditional"},{include:"#predefined_macros"},{include:"#comments"},{include:"#switch_statement"},{include:"#anon_pattern_1"},{include:"#storage_types"},{include:"#anon_pattern_2"},{include:"#anon_pattern_3"},{include:"#anon_pattern_4"},{include:"#anon_pattern_5"},{include:"#anon_pattern_6"},{include:"#anon_pattern_7"},{include:"#operators"},{include:"#numbers"},{include:"#strings"},{include:"#anon_pattern_range_1"},{include:"#anon_pattern_range_2"},{include:"#anon_pattern_range_3"},{include:"#pragma-mark"},{include:"#anon_pattern_range_4"},{include:"#anon_pattern_range_5"},{include:"#anon_pattern_range_6"},{include:"#anon_pattern_8"},{include:"#anon_pattern_9"},{include:"#anon_pattern_10"},{include:"#anon_pattern_11"},{include:"#anon_pattern_12"},{include:"#anon_pattern_13"},{include:"#block"},{include:"#parens"},{include:"#anon_pattern_range_7"},{include:"#line_continuation_character"},{include:"#anon_pattern_range_8"},{include:"#anon_pattern_range_9"},{include:"#anon_pattern_14"},{include:"#anon_pattern_15"}],repository:{"access-method":{begin:/([A-Z_a-z][0-9A-Z_a-z]*|(?<=[\]\)]))\p{space}*(?:(\.)|(->))((?:[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(?:\.|->))*)\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)(\()/dgv,beginCaptures:{"1":{name:"variable.object.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{match:/\./dgv,name:"punctuation.separator.dot-access.c"},{match:/->/dgv,name:"punctuation.separator.pointer-access.c"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.object.c"},{match:/[^\n]+/dgv,name:"everything.else.c"}]},"5":{name:"entity.name.function.member.c"},"6":{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},name:"meta.function-call.member.c",patterns:[{include:"#function-call-innards"}]},anon_pattern_1:{match:/\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\b/dgv,name:"keyword.control.c"},anon_pattern_10:{match:/\b((?:int8|int16|int32|int64|uint8|uint16|uint32|uint64|int_least8|int_least16|int_least32|int_least64|uint_least8|uint_least16|uint_least32|uint_least64|int_fast8|int_fast16|int_fast32|int_fast64|uint_fast8|uint_fast16|uint_fast32|uint_fast64|intptr|uintptr|intmax|uintmax)_t)\b/dgv,name:"support.type.stdint.c"},anon_pattern_11:{match:/\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\b/dgv,name:"support.constant.mac-classic.c"},anon_pattern_12:{match:/\b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\b/dgv,name:"support.type.mac-classic.c"},anon_pattern_13:{match:/\b([0-9A-Z_a-z]+_t)\b/dgv,name:"support.type.posix-reserved.c"},anon_pattern_14:{match:/;/dgv,name:"punctuation.terminator.statement.c"},anon_pattern_15:{match:/,/dgv,name:"punctuation.separator.delimiter.c"},anon_pattern_2:{match:/typedef/dgv,name:"keyword.other.typedef.c"},anon_pattern_3:{match:/\b(const|extern|register|restrict|static|volatile|inline)\b/dgv,name:"storage.modifier.c"},anon_pattern_4:{match:/\bk[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"constant.other.variable.mac-classic.c"},anon_pattern_5:{match:/\bg[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"variable.other.readwrite.global.mac-classic.c"},anon_pattern_6:{match:/\bs[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"variable.other.readwrite.static.mac-classic.c"},anon_pattern_7:{match:/\b(NULL|true|false|TRUE|FALSE)\b/dgv,name:"constant.language.c"},anon_pattern_8:{match:/\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\b/dgv,name:"support.type.sys-types.c"},anon_pattern_9:{match:/\b(pthread_(?:attr_|cond_|condattr_|mutex_|mutexattr_|once_|rwlock_|rwlockattr_||key_)t)\b/dgv,name:"support.type.pthread.c"},anon_pattern_range_1:{begin:new r("((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))((#)\\p{space}*define)\\b\\p{space}+((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\()([^\\(\\)\\\\]+)(\\)))?","dgv",{hiddenCaptures:[2,5,6,8]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.directive.define.c"},"6":{name:"punctuation.definition.directive.c"},"7":{name:"entity.name.function.preprocessor.c"},"8":{name:"punctuation.definition.parameters.begin.c"},"9":{patterns:[{captures:{"1":{name:"variable.parameter.preprocessor.c"}},match:/(?<=[\(\,])\p{space}*((?<![\p{L}\p{M}\p{N}\p{Pc}])[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*(?![\p{L}\p{M}\p{N}\p{Pc}]))\p{space}*/dgv},{match:/,/dgv,name:"punctuation.separator.parameters.c"},{match:/\.\.\./dgv,name:"ellipses.c punctuation.vararg-ellipses.variable.parameter.preprocessor.c"}]},"10":{name:"punctuation.definition.parameters.end.c"}},end:/(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.macro.c",patterns:[{include:"#preprocessor-rule-define-line-contents"}]},anon_pattern_range_2:{begin:/^\p{space}*((#)\p{space}*(error|warning))\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.directive.diagnostic.$3.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.diagnostic.c",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#line_continuation_character"}]},{begin:/[^"']/dgv,end:/(?<!\\)(?=\p{space}*\n)/dgv,name:"string.unquoted.single.c",patterns:[{include:"#line_continuation_character"},{include:"#comments"}]}]},anon_pattern_range_3:{begin:/^\p{space}*((#)\p{space}*(i(?:nclude(?:_next)?|mport)))\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.directive.$3.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.include.c",patterns:[{include:"#line_continuation_character"},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.include.c"},{begin:/</dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.other.lt-gt.include.c"}]},anon_pattern_range_4:{begin:/^\p{space}*((#)\p{space}*line)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.line.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#strings"},{include:"#numbers"},{include:"#line_continuation_character"}]},anon_pattern_range_5:{begin:/^\p{space}*((#)\p{space}*undef)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.undef.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.preprocessor.c"},{include:"#line_continuation_character"}]},anon_pattern_range_6:{begin:/^\p{space}*((#)\p{space}*pragma)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.pragma.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.pragma.c",patterns:[{include:"#strings"},{match:/[\$A-Z_a-z][\-\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.other.attribute-name.pragma.preprocessor.c"},{include:"#numbers"},{include:"#line_continuation_character"}]},anon_pattern_range_7:{begin:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?!\p{space}*(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|pthread_rwlock_t|atomic_uintptr_t|atomic_ptrdiff_t|atomic_uintmax_t|atomic_intmax_t|atomic_char32_t|atomic_intptr_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|uint_least8_t|int_least32_t|int_least16_t|pthread_key_t|uint_fast32_t|uint_fast64_t|uint_fast16_t|atomic_size_t|atomic_ushort|atomic_ullong|int_least64_t|atomic_ulong|int_least8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|memory_order|atomic_schar|atomic_uchar|atomic_short|atomic_llong|thread_local|atomic_bool|atomic_uint|atomic_long|int_fast8_t|suseconds_t|atomic_char|atomic_int|useconds_t|_Imaginary|uintmax_t|in_addr_t|in_port_t|_Noreturn|blksize_t|pthread_t|uintptr_t|volatile|u_quad_t|blkcnt_t|intmax_t|intptr_t|_Complex|uint16_t|uint32_t|uint64_t|_Alignof|_Alignas|continue|unsigned|restrict|intmax_t|register|int64_t|qaddr_t|segsz_t|_Atomic|alignas|default|caddr_t|nlink_t|typedef|u_short|fixpt_t|clock_t|swblk_t|ssize_t|alignof|daddr_t|int16_t|int32_t|uint8_t|struct|mode_t|size_t|time_t|ushort|u_long|u_char|int8_t|double|signed|static|extern|inline|return|switch|xor_eq|and_eq|bitand|not_eq|sizeof|quad_t|uid_t|bitor|union|off_t|key_t|ino_t|compl|u_int|short|const|false|while|float|pid_t|break|_Bool|or_eq|div_t|dev_t|gid_t|id_t|long|case|goto|else|bool|auto|id_t|enum|uint|true|NULL|void|char|for|not|int|and|xor|do|or|if)\p{space}*\()(?=[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\()/dgv,end:new r("(?!^)(?<=\\))","dgv",{strategy:"clip_search"}),name:"meta.function.c",patterns:[{include:"#function-innards"}]},anon_pattern_range_8:{begin:/([A-Z_a-z][0-9A-Z_a-z]*|(?<=[\]\)]))?(\[)(?!\])/dgv,beginCaptures:{"1":{name:"variable.object.c"},"2":{name:"punctuation.definition.begin.bracket.square.c"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.c"}},name:"meta.bracket.square.access.c",patterns:[{include:"#function-call-innards"}]},anon_pattern_range_9:{match:/\[\p{space}*\]/dgv,name:"storage.modifier.array.bracket.square.c"},backslash_escapes:{match:/\\(["'\?\\abefnprtv]|[0-3][0-7]{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8})/dgv,name:"constant.character.escape.c"},block:{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},name:"meta.block.c",patterns:[{include:"#block_innards"}]}]},block_comment:{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"},{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"}]},block_innards:{patterns:[{include:"#preprocessor-rule-enabled-block"},{include:"#preprocessor-rule-disabled-block"},{include:"#preprocessor-rule-conditional-block"},{include:"#method_access"},{include:"#member_access"},{include:"#c_function_call"},{begin:new r("(?=\\p{space})(?<!else|new|return)(?<=[\\p{L}\\p{M}\\p{N}\\p{Pc}])\\p{space}+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\4)|::)+))\\3)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[3,4]}),beginCaptures:{"1":{name:"variable.other.c"},"2":{name:"punctuation.section.parens.begin.bracket.round.initialization.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.initialization.c"}},name:"meta.initialization.c",patterns:[{include:"#function-call-innards"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},patterns:[{include:"#block_innards"}]},{include:"#parens-block"},{include:"$self"}]},c_conditional_context:{patterns:[{include:"$self"},{include:"#block_innards"}]},c_function_call:{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()(?=(?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\2)|::)+))\\1)\\p{space}*\\(|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\])\\p{space}*\\()","dgv",{hiddenCaptures:[1,2]}),end:/(?<=\))(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.function-call.c",patterns:[{include:"#function-call-innards"}]},case_statement:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])case(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.case.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"punctuation.separator.colon.case.c"}},name:"meta.conditional.case.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},comments:{patterns:[{patterns:[{patterns:[{begin:new r("^(?:(?=(\\p{space}*))\\1)(//[\\!\\/]+)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.documentation.c"}},end:/(?<=\n)(?<!\\\n)/dgv,name:"comment.line.double-slash.documentation.c",patterns:[{include:"#line_continuation_character"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},{captures:{"1":{name:"punctuation.definition.comment.begin.documentation.c"},"2":{patterns:[{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},"3":{name:"punctuation.definition.comment.end.documentation.c"}},match:/(\/\*[\!\*]+(?=\p{space}))([^\n]+)([\!\*]*\*\/)/dgv,name:"comment.block.documentation.c"},{begin:new r("((?:(?=(\\p{space}*))\\2)/\\*[\\!\\*]+(?:(?:\\n|(?=\\n?$))|(?=\\p{space})))","dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.documentation.c"}},end:/([\!\*]*\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.end.documentation.c"}},name:"comment.block.documentation.c",patterns:[{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},{captures:{"1":{name:"meta.toc-list.banner.block.c"}},match:/^\/\* =(\p{space}*[^\n]*?)\p{space}*= \*\/(?=\n?$)\n?/dgv,name:"comment.block.banner.c"},{begin:/(\/\*)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/(\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"},{captures:{"1":{name:"meta.toc-list.banner.line.c"}},match:/^\/\/ =(\p{space}*[^\n]*?)\p{space}*=(?=\n?$)\n?/dgv,name:"comment.line.banner.c"},{begin:/((?:^[\t ]+)?)(?=\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.c"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?=\n)/dgv,name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]}]}]},{include:"#block_comment"},{include:"#line_comment"}]},{include:"#block_comment"},{include:"#line_comment"}]},default_statement:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])default(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.default.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"punctuation.separator.colon.case.default.c"}},name:"meta.conditional.case.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},disabled:{begin:/^\p{space}*#\p{space}*if(n?def)?\b[^\n]*(?=\n?$)/dgv,end:/^\p{space}*#\p{space}*endif\b/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},evaluation_context:{patterns:[{include:"#function-call-innards"},{include:"$self"}]},"function-call-innards":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#method_access"},{include:"#member_access"},{include:"#operators"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{include:"#block_innards"}]},"function-innards":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#operators"},{include:"#vararg_ellipses"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.parameters.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parameters.end.bracket.round.c"}},name:"meta.function.definition.parameters.c",patterns:[{include:"#probably_a_parameter"},{include:"#function-innards"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-innards"}]},{include:"$self"}]},inline_comment:{patterns:[{patterns:[{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})},{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})}]},{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})}]},line_comment:{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]},{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]}]},line_continuation_character:{patterns:[{captures:{"1":{name:"constant.character.escape.line-continuation.c"}},match:/(\\)\n/dgv}]},member_access:{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{include:"#member_access"},{include:"#method_access"},{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))/dgv}]},"5":{name:"variable.other.member.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(?:\.\*?|->\*?)\p{space}*)*)\p{space}*\b((?!(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|atomic_uintptr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintmax_t|pthread_mutex_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_attr_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_cond_t|pthread_once_t|uint_fast64_t|uint_fast16_t|atomic_size_t|uint_least8_t|int_least64_t|int_least32_t|int_least16_t|pthread_key_t|atomic_ullong|atomic_ushort|uint_fast32_t|atomic_schar|atomic_short|uint_fast8_t|int_fast64_t|int_fast32_t|int_fast16_t|atomic_ulong|atomic_llong|int_least8_t|atomic_uchar|memory_order|suseconds_t|int_fast8_t|atomic_bool|atomic_char|atomic_uint|atomic_long|atomic_int|useconds_t|_Imaginary|blksize_t|pthread_t|in_addr_t|uintptr_t|in_port_t|uintmax_t|blkcnt_t|uint16_t|unsigned|_Complex|uint32_t|intptr_t|intmax_t|uint64_t|u_quad_t|int64_t|int32_t|ssize_t|caddr_t|clock_t|uint8_t|u_short|swblk_t|segsz_t|int16_t|fixpt_t|daddr_t|nlink_t|qaddr_t|size_t|time_t|mode_t|signed|quad_t|ushort|u_long|u_char|double|int8_t|ino_t|uid_t|pid_t|_Bool|float|dev_t|div_t|short|gid_t|off_t|u_int|key_t|id_t|uint|long|void|char|bool|id_t|int)\b)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\b(?!\())/dgv},method_access:{begin:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))((?:[A-Z_a-z][\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}]*)(\()/dgv,beginCaptures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{include:"#member_access"},{include:"#method_access"},{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))/dgv}]},"5":{name:"entity.name.function.member.c"},"6":{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},contentName:"meta.function-call.member.c",end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},patterns:[{include:"#function-call-innards"}]},numbers:{captures:{"0":{patterns:[{begin:/(?=[^\n])/dgv,end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.other.unit.hexadecimal.c"},"2":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"constant.numeric.hexadecimal.c"},"5":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"6":{name:"punctuation.separator.constant.numeric"},"8":{name:"keyword.other.unit.exponent.hexadecimal.c"},"9":{name:"keyword.operator.plus.exponent.hexadecimal.c"},"10":{name:"keyword.operator.minus.exponent.hexadecimal.c"},"11":{name:"constant.numeric.exponent.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"12":{name:"keyword.other.unit.suffix.floating-point.c"}},match:/(0[Xx])(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<=\p{AHex})\.|\.(?=\p{AHex}))(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<!')([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?([FLfl](?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"2":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"constant.numeric.decimal.point.c"},"5":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"6":{name:"punctuation.separator.constant.numeric"},"8":{name:"keyword.other.unit.exponent.decimal.c"},"9":{name:"keyword.operator.plus.exponent.decimal.c"},"10":{name:"keyword.operator.minus.exponent.decimal.c"},"11":{name:"constant.numeric.exponent.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"12":{name:"keyword.other.unit.suffix.floating-point.c"}},match:/((?=[\.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<=[0-9])\.|\.(?=[0-9]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<!')([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?([FLfl](?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.binary.c"},"2":{name:"constant.numeric.binary.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0[Bb])([01](?:[01]|((?<=\p{AHex})'(?=\p{AHex})))*)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.octal.c"},"2":{name:"constant.numeric.octal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0)((?:[0-7]|((?<=\p{AHex})'(?=\p{AHex})))+)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.hexadecimal.c"},"2":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"5":{name:"keyword.other.unit.exponent.hexadecimal.c"},"6":{name:"keyword.operator.plus.exponent.hexadecimal.c"},"7":{name:"keyword.operator.minus.exponent.hexadecimal.c"},"8":{name:"constant.numeric.exponent.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"9":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0[Xx])(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)((?<!')([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"2":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"5":{name:"keyword.other.unit.exponent.decimal.c"},"6":{name:"keyword.operator.plus.exponent.decimal.c"},"7":{name:"keyword.operator.minus.exponent.decimal.c"},"8":{name:"constant.numeric.exponent.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"9":{name:"keyword.other.unit.suffix.integer.c"}},match:/((?=[\.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)((?<!')([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{match:/(?:['\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])+/dgv,name:"invalid.illegal.constant.numeric"}]}]}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\.?\p{Nd}(?:['\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])*/dgv},operators:{patterns:[{match:/(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(sizeof)(?![\$\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.operator.sizeof.c"},{match:/--/dgv,name:"keyword.operator.decrement.c"},{match:/\+\+/dgv,name:"keyword.operator.increment.c"},{match:/(?:[\-\%\*\+]|(?<!\()\/)=/dgv,name:"keyword.operator.assignment.compound.c"},{match:/(?:[\&\^]|<<|>>|\|)=/dgv,name:"keyword.operator.assignment.compound.bitwise.c"},{match:/<<|>>/dgv,name:"keyword.operator.bitwise.shift.c"},{match:/!=|<=|>=|==|[\<\>]/dgv,name:"keyword.operator.comparison.c"},{match:/&&|!|\|\|/dgv,name:"keyword.operator.logical.c"},{match:/[\&\^\|\~]/dgv,name:"keyword.operator.c"},{match:/=/dgv,name:"keyword.operator.assignment.c"},{match:/[\-\%\*\+\/]/dgv,name:"keyword.operator.c"},{begin:/(\?)/dgv,beginCaptures:{"1":{name:"keyword.operator.ternary.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"keyword.operator.ternary.c"}},patterns:[{include:"#function-call-innards"},{include:"$self"}]}]},parens:{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.c",patterns:[{include:"$self"}]},"parens-block":{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.block.c",patterns:[{include:"#block_innards"},{match:/(?<!:):(?!:)/dgv,name:"punctuation.range-based.c"}]},"pragma-mark":{captures:{"1":{name:"meta.preprocessor.pragma.c"},"2":{name:"keyword.control.directive.pragma.pragma-mark.c"},"3":{name:"punctuation.definition.directive.c"},"4":{name:"entity.name.tag.pragma-mark.c"}},match:/^\p{space}*(((#)\p{space}*pragma\p{space}+mark)\p{space}+([^\n]*))/dgv,name:"meta.section.c"},predefined_macros:{patterns:[{captures:{"1":{name:"entity.name.other.preprocessor.macro.predefined.$1.c"}},match:new r("\\b(__cplusplus|__DATE__|__FILE__|__LINE__|__STDC__|__STDC_HOSTED__|__STDC_NO_COMPLEX__|__STDC_VERSION__|__STDCPP_THREADS__|__TIME__|NDEBUG|__OBJC__|__ASSEMBLER__|__ATOM__|__AVX__|__AVX2__|_CHAR_UNSIGNED|__CLR_VER|_CONTROL_FLOW_GUARD|__COUNTER__|__cplusplus_cli|__cplusplus_winrt|_CPPRTTI|_CPPUNWIND|_DEBUG|_DLL|__FUNCDNAME__|__FUNCSIG__|__FUNCTION__|_INTEGRAL_MAX_BITS|__INTELLISENSE__|_ISO_VOLATILE|_KERNEL_MODE|_M_AMD64|_M_ARM|_M_ARM_ARMV7VE|_M_ARM_FP|_M_ARM64|_M_CEE|_M_CEE_PURE|_M_CEE_SAFE|_M_FP_EXCEPT|_M_FP_FAST|_M_FP_PRECISE|_M_FP_STRICT|_M_IX86|_M_IX86_FP|_M_X64|_MANAGED|_MSC_BUILD|_MSC_EXTENSIONS|_MSC_FULL_VER|_MSC_VER|_MSVC_LANG|__MSVC_RUNTIME_CHECKS|_MT|_NATIVE_WCHAR_T_DEFINED|_OPENMP|_PREFAST|__TIMESTAMP__|_VC_NO_DEFAULTLIB|_WCHAR_T_DEFINED|_WIN32|_WIN64|_WINRT_DLL|_ATL_VER|_MFC_VER|__GFORTRAN__|__GNUC__|__GNUC_MINOR__|__GNUC_PATCHLEVEL__|__GNUG__|__STRICT_ANSI__|__BASE_FILE__|__INCLUDE_LEVEL__|__ELF__|__VERSION__|__OPTIMIZE__|__OPTIMIZE_SIZE__|__NO_INLINE__|__GNUC_STDC_INLINE__|__CHAR_UNSIGNED__|__WCHAR_UNSIGNED__|__REGISTER_PREFIX__|__SIZE_TYPE__|__PTRDIFF_TYPE__|__WCHAR_TYPE__|__WINT_TYPE__|__INTMAX_TYPE__|__UINTMAX_TYPE__|__SIG_ATOMIC_TYPE__|__INT8_TYPE__|__INT16_TYPE__|__INT32_TYPE__|__INT64_TYPE__|__UINT8_TYPE__|__UINT16_TYPE__|__UINT32_TYPE__|__UINT64_TYPE__|__INT_LEAST8_TYPE__|__INT_LEAST16_TYPE__|__INT_LEAST32_TYPE__|__INT_LEAST64_TYPE__|__UINT_LEAST8_TYPE__|__UINT_LEAST16_TYPE__|__UINT_LEAST32_TYPE__|__UINT_LEAST64_TYPE__|__INT_FAST8_TYPE__|__INT_FAST16_TYPE__|__INT_FAST32_TYPE__|__INT_FAST64_TYPE__|__UINT_FAST8_TYPE__|__UINT_FAST16_TYPE__|__UINT_FAST32_TYPE__|__UINT_FAST64_TYPE__|__INTPTR_TYPE__|__UINTPTR_TYPE__|__CHAR_BIT__|__SCHAR_MAX__|__WCHAR_MAX__|__SHRT_MAX__|__INT_MAX__|__LONG_MAX__|__LONG_LONG_MAX__|__WINT_MAX__|__SIZE_MAX__|__PTRDIFF_MAX__|__INTMAX_MAX__|__UINTMAX_MAX__|__SIG_ATOMIC_MAX__|__INT8_MAX__|__INT16_MAX__|__INT32_MAX__|__INT64_MAX__|__UINT8_MAX__|__UINT16_MAX__|__UINT32_MAX__|__UINT64_MAX__|__INT_LEAST8_MAX__|__INT_LEAST16_MAX__|__INT_LEAST32_MAX__|__INT_LEAST64_MAX__|__UINT_LEAST8_MAX__|__UINT_LEAST16_MAX__|__UINT_LEAST32_MAX__|__UINT_LEAST64_MAX__|__INT_FAST8_MAX__|__INT_FAST16_MAX__|__INT_FAST32_MAX__|__INT_FAST64_MAX__|__UINT_FAST8_MAX__|__UINT_FAST16_MAX__|__UINT_FAST32_MAX__|__UINT_FAST64_MAX__|__INTPTR_MAX__|__UINTPTR_MAX__|__WCHAR_MIN__|__WINT_MIN__|__SIG_ATOMIC_MIN__|__SCHAR_WIDTH__|__SHRT_WIDTH__|__INT_WIDTH__|__LONG_WIDTH__|__LONG_LONG_WIDTH__|__PTRDIFF_WIDTH__|__SIG_ATOMIC_WIDTH__|__SIZE_WIDTH__|__WCHAR_WIDTH__|__WINT_WIDTH__|__INT_LEAST8_WIDTH__|__INT_LEAST16_WIDTH__|__INT_LEAST32_WIDTH__|__INT_LEAST64_WIDTH__|__INT_FAST8_WIDTH__|__INT_FAST16_WIDTH__|__INT_FAST32_WIDTH__|__INT_FAST64_WIDTH__|__INTPTR_WIDTH__|__INTMAX_WIDTH__|__SIZEOF_INT__|__SIZEOF_LONG__|__SIZEOF_LONG_LONG__|__SIZEOF_SHORT__|__SIZEOF_POINTER__|__SIZEOF_FLOAT__|__SIZEOF_DOUBLE__|__SIZEOF_LONG_DOUBLE__|__SIZEOF_SIZE_T__|__SIZEOF_WCHAR_T__|__SIZEOF_WINT_T__|__SIZEOF_PTRDIFF_T__|__BYTE_ORDER__|__ORDER_LITTLE_ENDIAN__|__ORDER_BIG_ENDIAN__|__ORDER_PDP_ENDIAN__|__FLOAT_WORD_ORDER__|__DEPRECATED|__EXCEPTIONS|__GXX_RTTI|__USING_SJLJ_EXCEPTIONS__|__GXX_EXPERIMENTAL_CXX0X__|__GXX_WEAK__|__NEXT_RUNTIME__|__LP64__|_LP64|__SSP__|__SSP_ALL__|__SSP_STRONG__|__SSP_EXPLICIT__|__SANITIZE_ADDRESS__|__SANITIZE_THREAD__|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16|__HAVE_SPECULATION_SAFE_VALUE|__GCC_HAVE_DWARF2_CFI_ASM|__FP_FAST_FMAF??|__FP_FAST_FMAL|__FP_FAST_FMAF16|__FP_FAST_FMAF32|__FP_FAST_FMAF64|__FP_FAST_FMAF128|__FP_FAST_FMAF32X|__FP_FAST_FMAF64X|__FP_FAST_FMAF128X|__GCC_IEC_559|__GCC_IEC_559_COMPLEX|__NO_MATH_ERRNO__|__has_builtin|__has_feature|__has_extension|__has_cpp_attribute|__has_c_attribute|__has_attribute|__has_declspec_attribute|__is_identifier|__has_include|__has_include_next|__has_warning|__BASE_FILE__|__FILE_NAME__|__clang__|__clang_major__|__clang_minor__|__clang_patchlevel__|__clang_version__|__fp16|_Float16)\\b","dgv",{lazyCompile:!0})},{match:/\b__([A-Z_]+)__\b/dgv,name:"entity.name.other.preprocessor.macro.predefined.probably.$1.c"}]},"preprocessor-rule-conditional":{patterns:[{begin:/^\p{space}*((#)\p{space}*if(?:n?def)?)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#preprocessor-rule-enabled-elif"},{include:"#preprocessor-rule-enabled-else"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"$self"}]},{captures:{"0":{name:"invalid.illegal.stray-$1.c"}},match:/^\p{space}*#\p{space}*(e(?:lse|lif|ndif))\b/dgv}]},"preprocessor-rule-conditional-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if(?:n?def)?)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#preprocessor-rule-enabled-elif-block"},{include:"#preprocessor-rule-enabled-else-block"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#block_innards"}]},{captures:{"0":{name:"invalid.illegal.stray-$1.c"}},match:/^\p{space}*#\p{space}*(e(?:lse|lif|ndif))\b/dgv}]},"preprocessor-rule-conditional-line":{patterns:[{match:/\bdefined\b(?:\p{space}*(?=\n?$)|(?=\p{space}*\(*\p{space}*(?!defined\b)[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*\b\p{space}*\)*\p{space}*(?:\n|\/\/|\/\*|[\:\?]|&&|\|\||\\\p{space}*\n)))/dgv,name:"keyword.control.directive.conditional.c"},{match:/\bdefined\b/dgv,name:"invalid.illegal.macro-name.c"},{include:"#comments"},{include:"#strings"},{include:"#numbers"},{begin:/\?/dgv,beginCaptures:{"0":{name:"keyword.operator.ternary.c"}},end:/:/dgv,endCaptures:{"0":{name:"keyword.operator.ternary.c"}},patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#operators"},{match:/\b(NULL|true|false|TRUE|FALSE)\b/dgv,name:"constant.language.c"},{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.preprocessor.c"},{include:"#line_continuation_character"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)|(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-conditional-line"}]}]},"preprocessor-rule-define-line-blocks":{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},patterns:[{include:"#preprocessor-rule-define-line-blocks"},{include:"#preprocessor-rule-define-line-contents"}]},{include:"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-define-line-contents":{patterns:[{include:"#vararg_ellipses"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},name:"meta.block.c",patterns:[{include:"#preprocessor-rule-define-line-blocks"}]},{match:/\(/dgv,name:"punctuation.section.parens.begin.bracket.round.c"},{match:/\)/dgv,name:"punctuation.section.parens.end.bracket.round.c"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\p{space}*\\()(?=(?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\2)|::)+))\\1)\\p{space}*\\(|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\])\\p{space}*\\()","dgv",{hiddenCaptures:[1,2]}),end:/(?<=\))(?![\p{L}\p{M}\p{N}\p{Pc}])|(?<!\\)(?=\p{space}*\n)/dgv,name:"meta.function.c",patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"},{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#string_escaped_char"},{include:"#line_continuation_character"}]},{include:"#method_access"},{include:"#member_access"},{include:"$self"}]},"preprocessor-rule-define-line-functions":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#vararg_ellipses"},{include:"#method_access"},{include:"#member_access"},{include:"#operators"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:/(\))|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/(\))|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{include:"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-disabled":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{include:"#preprocessor-rule-enabled-elif"},{include:"#preprocessor-rule-enabled-else"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"$self"}]},{begin:/\n/dgv,contentName:"comment.block.preprocessor.if-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{include:"#preprocessor-rule-enabled-elif-block"},{include:"#preprocessor-rule-enabled-else-block"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#block_innards"}]},{begin:/\n/dgv,contentName:"comment.block.preprocessor.if-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-elif":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]},"preprocessor-rule-enabled":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"},"3":{name:"constant.numeric.preprocessor.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.else-branch.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.if-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"$self"}]}]}]},"preprocessor-rule-enabled-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.else-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.if-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#block_innards"}]}]}]},"preprocessor-rule-enabled-elif":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/^\p{space}*((#)\p{space}*(else))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*(elif))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{include:"$self"}]}]},"preprocessor-rule-enabled-elif-block":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/^\p{space}*((#)\p{space}*(else))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*(elif))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{include:"#block_innards"}]}]},"preprocessor-rule-enabled-else":{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"$self"}]},"preprocessor-rule-enabled-else-block":{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#block_innards"}]},probably_a_parameter:{captures:{"1":{name:"variable.parameter.probably.c"}},match:/(?<=[0-9A-Z_a-z] |[\]\&\)\*\>])\p{space}*([A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=(?:\[\]\p{space}*)?[\)\,])/dgv},static_assert:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])static_assert|_Static_assert(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\13)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\17)[^\\/])*))\\16)((?:(?=(\\*+))\\19)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\12))(\\()","dgv",{hiddenCaptures:[2,3,6,7,9,12,13,16,17,19]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.other.static_assert.c"},"6":{patterns:[{include:"#inline_comment"}]},"7":{name:"comment.block.c punctuation.definition.comment.begin.c"},"8":{name:"comment.block.c"},"9":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"10":{name:"punctuation.section.arguments.begin.bracket.round.static_assert.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.static_assert.c"}},patterns:[{begin:/(,)\p{space}*(?=(?:L|u8?|U\p{space}*")?)/dgv,beginCaptures:{"1":{name:"punctuation.separator.delimiter.comma.c"}},end:/(?=\))/dgv,name:"meta.static_assert.message.c",patterns:[{include:"#string_context"}]},{include:"#evaluation_context"}]},storage_types:{patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unsigned|signed|double|_Bool|short|float|long|void|char|bool|int)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"storage.type.built-in.primitive.c"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|pthread_rwlockattr_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_uint_fast16_t|atomic_int_least64_t|atomic_int_least32_t|atomic_int_least16_t|atomic_uint_least8_t|atomic_uint_fast8_t|atomic_int_least8_t|atomic_int_fast16_t|pthread_mutexattr_t|atomic_int_fast32_t|atomic_int_fast64_t|atomic_int_fast8_t|pthread_condattr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintptr_t|atomic_uintmax_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|int_least32_t|pthread_key_t|int_least16_t|int_least64_t|uint_least8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|atomic_ushort|atomic_ullong|atomic_size_t|int_fast16_t|int_fast64_t|uint_fast8_t|atomic_short|atomic_uchar|atomic_schar|int_least8_t|memory_order|atomic_llong|atomic_ulong|int_fast32_t|atomic_long|atomic_uint|atomic_char|int_fast8_t|suseconds_t|atomic_bool|atomic_int|_Imaginary|useconds_t|in_port_t|uintmax_t|pthread_t|blksize_t|in_addr_t|uintptr_t|blkcnt_t|uint16_t|uint32_t|uint64_t|u_quad_t|_Complex|intptr_t|intmax_t|segsz_t|u_short|nlink_t|uint8_t|int64_t|int32_t|int16_t|fixpt_t|daddr_t|caddr_t|qaddr_t|ssize_t|clock_t|swblk_t|u_long|mode_t|int8_t|time_t|ushort|u_char|quad_t|size_t|pid_t|gid_t|uid_t|dev_t|div_t|off_t|u_int|key_t|ino_t|uint|id_t)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"storage.type.built-in.c"},{match:/\b(enum|struct|union)\b/dgv,name:"storage.type.$1.c"},{begin:/\b(__asm__|asm)\b\p{space}*((?:volatile)?)/dgv,beginCaptures:{"1":{name:"storage.type.asm.c"},"2":{name:"storage.modifier.c"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),name:"meta.asm.c",patterns:[{captures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("^((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))(?:\\n|(?=\\n?$))","dgv",{hiddenCaptures:[2,5,6,8]})},{include:"#comments"},{begin:new r("(((?:(?:(?=(\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))\\()","dgv",{hiddenCaptures:[3,6,7,9]}),beginCaptures:{"1":{name:"punctuation.section.parens.begin.bracket.round.assembly.c"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.c punctuation.definition.comment.begin.c"},"4":{name:"comment.block.c"},"5":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.assembly.c"}},patterns:[{begin:/(R?)(")/dgv,beginCaptures:{"1":{name:"meta.encoding.c"},"2":{name:"punctuation.definition.string.begin.assembly.c"}},contentName:"meta.embedded.assembly.c",end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.assembly.c"}},name:"string.quoted.double.c",patterns:[{include:"source.asm"},{include:"source.x86"},{include:"source.x86_64"},{include:"source.arm"},{include:"#backslash_escapes"},{include:"#string_escaped_char"}]},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.section.parens.begin.bracket.round.assembly.inner.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.assembly.inner.c"}},patterns:[{include:"#evaluation_context"}]},{captures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"variable.other.asm.label.c"},"6":{patterns:[{include:"#inline_comment"}]},"7":{name:"comment.block.c punctuation.definition.comment.begin.c"},"8":{name:"comment.block.c"},"9":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("\\[((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*)((?:(?:(?=(\\p{space}+))\\11)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\15)[^\\/])*))\\14)((?:(?=(\\*+))\\17)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))\\]","dgv",{hiddenCaptures:[2,5,6,8,11,14,15,17]})},{match:/:/dgv,name:"punctuation.separator.delimiter.colon.assembly.c"},{include:"#comments"}]}]}]},string_escaped_char:{patterns:[{match:/\\(["'\?\\abefnprtv]|[0-3]\p{Nd}{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8})/dgv,name:"constant.character.escape.c"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unknown-escape.c"}]},string_placeholder:{patterns:[{match:/%(\p{Nd}+\$)?[\- \#'\+0]*[\,\:\;_]?((-?\p{Nd}+)|\*(-?\p{Nd}+\$)?)?(\.((-?\p{Nd}+)|\*(-?\p{Nd}+\$)?)?)?(hh?|ll|[Ljlqtz]|vh|vl?|hv|hl)?[\%AC-GOSUXac-ginopsux]/dgv,name:"constant.other.placeholder.c"},{captures:{"1":{name:"invalid.illegal.placeholder.c"}},match:/(%)(?!"\p{space}*(PRI|SCN))/dgv}]},strings:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"},{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#string_escaped_char"},{include:"#line_continuation_character"}]}]},switch_conditional_parentheses:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))(\\()","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"punctuation.section.parens.begin.bracket.round.conditional.switch.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.conditional.switch.c"}},name:"meta.conditional.switch.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},switch_statement:{begin:new r("(((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\4)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\8)[^\\/])*))\\7)((?:(?=(\\*+))\\10)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\3))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])switch(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])))","dgv",{hiddenCaptures:[3,4,7,8,10]}),beginCaptures:{"1":{name:"meta.head.switch.c"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.c punctuation.definition.comment.begin.c"},"4":{name:"comment.block.c"},"5":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"6":{name:"keyword.control.switch.c"}},end:/(?<=\}|%>|\?\?>)|(?=[\]\;\=\>\[])/dgv,name:"meta.block.switch.c",patterns:[{begin:/ ?/dgvy,end:/(\{|<%|\?\?<|(?=;))/dgv,endCaptures:{"1":{name:"punctuation.section.block.begin.bracket.curly.switch.c"}},name:"meta.head.switch.c",patterns:[{include:"#switch_conditional_parentheses"},{include:"$self"}]},{begin:/(?<=\{|<%|\?\?<)/dgv,end:/(\}|%>|\?\?>)/dgv,endCaptures:{"1":{name:"punctuation.section.block.end.bracket.curly.switch.c"}},name:"meta.body.switch.c",patterns:[{include:"#default_statement"},{include:"#case_statement"},{include:"$self"},{include:"#block_innards"}]},{begin:/(?<=\}|%>|\?\?>)[\n\p{space}]*/dgv,end:/[\n\p{space}]*(?=;)/dgv,name:"meta.tail.switch.c",patterns:[{include:"$self"}]}]},vararg_ellipses:{match:/(?<!\.)\.\.\.(?!\.)/dgv,name:"punctuation.vararg-ellipses.c"}},scopeName:"source.c",embeddedLangs:void 0,aliases:void 0}),Ar=[e];
2
+ export{Ar};
Binary file
Binary file
@@ -0,0 +1,84 @@
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
@@ -0,0 +1 @@
1
+ var u=class{patterns;options;regexps;constructor(c,n={}){this.patterns=c,this.options=n;let{forgiving:p=!1,cache:s,regexConstructor:i}=n;if(!i)throw Error("Option `regexConstructor` is not provided");this.regexps=c.map((o)=>{if(typeof o!=="string")return o;let r=s?.get(o);if(r){if(r instanceof RegExp)return r;if(p)return null;throw r}try{let t=i(o);return s?.set(o,t),t}catch(t){if(s?.set(o,t),p)return null;throw t}})}findNextMatchSync(c,n,p){let s=typeof c==="string"?c:c.content,i=[];function o(r,t,e=0){return{index:r,captureIndices:t.indices.map((a)=>{if(a==null)return{start:4294967295,end:4294967295,length:0};return{start:a[0]+e,end:a[1]+e,length:a[1]-a[0]}})}}for(let r=0;r<this.regexps.length;r++){let t=this.regexps[r];if(!t)continue;try{t.lastIndex=n;let e=t.exec(s);if(!e)continue;if(e.index===n)return o(r,e,0);i.push([r,e,0])}catch(e){if(this.options.forgiving)continue;throw e}}if(i.length){let r=Math.min(...i.map((t)=>t[1].index));for(let[t,e,a]of i)if(e.index===r)return o(t,e,a)}return null}};function f(){let c={cache:new Map,regexConstructor:()=>{throw Error("JavaScriptRawEngine: only support precompiled grammar")}};return{createScanner(n){return new u(n,c)},createString(n){return{content:n}}}}export{f as createJavaScriptRawEngine};
Binary file
Binary file
@@ -0,0 +1,24 @@
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