@bkm016/basalt 0.1.31 → 0.1.33

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 (818) hide show
  1. package/chunk-3j26jsy0.js +51 -0
  2. package/chunk-5ggyf53b.js +50 -0
  3. package/chunk-9vth0w8q.js +2 -0
  4. package/chunk-fb2ydc2s.js +8 -0
  5. package/chunk-jqtdf0ym.js +63 -0
  6. package/chunk-n3hfhbe4.js +498 -0
  7. package/chunk-nkmvqcge.js +4073 -0
  8. package/chunk-p23eqet9.js +2 -0
  9. package/chunk-qqs9fqsy.js +4 -0
  10. package/chunk-x83syrhw.js +44 -0
  11. package/compiled.js +1 -1
  12. package/package.json +1 -1
  13. package/ui-test-worker.js +1 -1
  14. package/web/chunk-07kt1zpn.js +1 -0
  15. package/web/chunk-07kt1zpn.js.br +0 -0
  16. package/web/chunk-07kt1zpn.js.gz +0 -0
  17. package/web/chunk-0d068bmj.js +1 -0
  18. package/web/chunk-0d068bmj.js.br +0 -0
  19. package/web/chunk-0d068bmj.js.gz +0 -0
  20. package/web/chunk-0m15ghn0.js +2 -0
  21. package/web/chunk-0m15ghn0.js.br +0 -0
  22. package/web/chunk-0m15ghn0.js.gz +0 -0
  23. package/web/chunk-0swykhgr.js +2 -0
  24. package/web/chunk-0swykhgr.js.br +0 -0
  25. package/web/chunk-0swykhgr.js.gz +0 -0
  26. package/web/chunk-100a4th6.js +4 -0
  27. package/web/chunk-100a4th6.js.br +0 -0
  28. package/web/chunk-100a4th6.js.gz +0 -0
  29. package/web/chunk-1mdvm20t.js +140 -0
  30. package/web/chunk-1mdvm20t.js.br +0 -0
  31. package/web/chunk-1mdvm20t.js.gz +0 -0
  32. package/web/chunk-1mkzfr1m.js +2 -0
  33. package/web/chunk-1mkzfr1m.js.br +0 -0
  34. package/web/chunk-1mkzfr1m.js.gz +0 -0
  35. package/web/chunk-1p7wa1rq.js +1 -0
  36. package/web/chunk-1p7wa1rq.js.br +0 -0
  37. package/web/chunk-1p7wa1rq.js.gz +0 -0
  38. package/web/chunk-20gcnbgn.js +2 -0
  39. package/web/chunk-20gcnbgn.js.br +0 -0
  40. package/web/chunk-20gcnbgn.js.gz +0 -0
  41. package/web/chunk-2grspw9t.js +1 -0
  42. package/web/chunk-2grspw9t.js.br +0 -0
  43. package/web/chunk-2grspw9t.js.gz +0 -0
  44. package/web/chunk-2nwvdqxm.js +1 -0
  45. package/web/chunk-2nwvdqxm.js.br +0 -0
  46. package/web/chunk-2nwvdqxm.js.gz +0 -0
  47. package/web/chunk-2zz8t49r.js +1 -0
  48. package/web/chunk-2zz8t49r.js.br +0 -0
  49. package/web/chunk-2zz8t49r.js.gz +0 -0
  50. package/web/chunk-34g2xrgq.js +120 -0
  51. package/web/chunk-34g2xrgq.js.br +0 -0
  52. package/web/chunk-34g2xrgq.js.gz +0 -0
  53. package/web/chunk-34q3az4b.js +1 -0
  54. package/web/chunk-34q3az4b.js.br +0 -0
  55. package/web/chunk-34q3az4b.js.gz +0 -0
  56. package/web/chunk-39jqdq4r.js +1 -0
  57. package/web/chunk-39jqdq4r.js.br +0 -0
  58. package/web/chunk-39jqdq4r.js.gz +0 -0
  59. package/web/chunk-3d2fm4qc.js +1 -0
  60. package/web/chunk-3d2fm4qc.js.br +0 -0
  61. package/web/chunk-3d2fm4qc.js.gz +0 -0
  62. package/web/chunk-3s16fbrf.js +40 -0
  63. package/web/chunk-3s16fbrf.js.br +0 -0
  64. package/web/chunk-3s16fbrf.js.gz +0 -0
  65. package/web/chunk-3vsey6mw.js +1 -0
  66. package/web/chunk-3vsey6mw.js.br +0 -0
  67. package/web/chunk-3vsey6mw.js.gz +0 -0
  68. package/web/chunk-3y29sc9c.js +7 -0
  69. package/web/chunk-3y29sc9c.js.br +0 -0
  70. package/web/chunk-3y29sc9c.js.gz +0 -0
  71. package/web/chunk-40f59ze9.js +39 -0
  72. package/web/chunk-40f59ze9.js.br +0 -0
  73. package/web/chunk-40f59ze9.js.gz +0 -0
  74. package/web/chunk-414npx47.js +1 -0
  75. package/web/chunk-414npx47.js.br +0 -0
  76. package/web/chunk-414npx47.js.gz +0 -0
  77. package/web/chunk-495sjpc6.js +2 -0
  78. package/web/chunk-495sjpc6.js.br +0 -0
  79. package/web/chunk-495sjpc6.js.gz +0 -0
  80. package/web/chunk-4ab1dv3g.js +142 -0
  81. package/web/chunk-4ab1dv3g.js.br +0 -0
  82. package/web/chunk-4ab1dv3g.js.gz +0 -0
  83. package/web/chunk-545zx869.js +2 -0
  84. package/web/chunk-545zx869.js.br +0 -0
  85. package/web/chunk-545zx869.js.gz +0 -0
  86. package/web/chunk-55mx05jg.js +2 -0
  87. package/web/chunk-55mx05jg.js.br +0 -0
  88. package/web/chunk-55mx05jg.js.gz +0 -0
  89. package/web/chunk-58xhn7ry.js +2 -0
  90. package/web/chunk-58xhn7ry.js.br +0 -0
  91. package/web/chunk-58xhn7ry.js.gz +0 -0
  92. package/web/chunk-67pa4950.js +1 -0
  93. package/web/chunk-67pa4950.js.br +0 -0
  94. package/web/chunk-67pa4950.js.gz +0 -0
  95. package/web/chunk-690qxds4.js +1 -0
  96. package/web/chunk-690qxds4.js.br +0 -0
  97. package/web/chunk-690qxds4.js.gz +0 -0
  98. package/web/chunk-6ana63fs.js +21 -0
  99. package/web/chunk-6ana63fs.js.br +0 -0
  100. package/web/chunk-6ana63fs.js.gz +0 -0
  101. package/web/chunk-6ew54553.js +2 -0
  102. package/web/chunk-6ew54553.js.br +0 -0
  103. package/web/chunk-6ew54553.js.gz +0 -0
  104. package/web/chunk-6f1q0tjv.js +1142 -0
  105. package/web/chunk-6f1q0tjv.js.br +0 -0
  106. package/web/chunk-6f1q0tjv.js.gz +0 -0
  107. package/web/chunk-6gpzz5wm.js +1 -0
  108. package/web/chunk-6gpzz5wm.js.br +0 -0
  109. package/web/chunk-6gpzz5wm.js.gz +0 -0
  110. package/web/chunk-71g6vrx9.js +62 -0
  111. package/web/chunk-71g6vrx9.js.br +0 -0
  112. package/web/chunk-71g6vrx9.js.gz +0 -0
  113. package/web/chunk-77dnqrb6.js +2 -0
  114. package/web/chunk-77dnqrb6.js.br +0 -0
  115. package/web/chunk-77dnqrb6.js.gz +0 -0
  116. package/web/chunk-7fdrwy21.js +1 -0
  117. package/web/chunk-7fdrwy21.js.br +0 -0
  118. package/web/chunk-7fdrwy21.js.gz +0 -0
  119. package/web/chunk-84s7821x.js +2 -0
  120. package/web/chunk-84s7821x.js.br +0 -0
  121. package/web/chunk-84s7821x.js.gz +0 -0
  122. package/web/chunk-8e5qd73v.js +7 -0
  123. package/web/chunk-8e5qd73v.js.br +0 -0
  124. package/web/chunk-8e5qd73v.js.gz +0 -0
  125. package/web/chunk-8kyj945c.js +2 -0
  126. package/web/chunk-8kyj945c.js.br +0 -0
  127. package/web/chunk-8kyj945c.js.gz +0 -0
  128. package/web/chunk-9b0evht1.js +292 -0
  129. package/web/chunk-9b0evht1.js.br +0 -0
  130. package/web/chunk-9b0evht1.js.gz +0 -0
  131. package/web/chunk-9jb5xwya.js +36 -0
  132. package/web/chunk-9jb5xwya.js.br +0 -0
  133. package/web/chunk-9jb5xwya.js.gz +0 -0
  134. package/web/chunk-9kf8arqg.js +1 -0
  135. package/web/chunk-9kf8arqg.js.br +0 -0
  136. package/web/chunk-9kf8arqg.js.gz +0 -0
  137. package/web/chunk-9msmea44.js +70 -0
  138. package/web/chunk-9msmea44.js.br +0 -0
  139. package/web/chunk-9msmea44.js.gz +0 -0
  140. package/web/chunk-a7q85665.js +3 -0
  141. package/web/chunk-a7q85665.js.br +0 -0
  142. package/web/chunk-a7q85665.js.gz +0 -0
  143. package/web/chunk-aan5qk6x.js +1 -0
  144. package/web/chunk-aan5qk6x.js.br +0 -0
  145. package/web/chunk-aan5qk6x.js.gz +0 -0
  146. package/web/chunk-b9cjgxr1.js +98 -0
  147. package/web/chunk-b9cjgxr1.js.br +0 -0
  148. package/web/chunk-b9cjgxr1.js.gz +0 -0
  149. package/web/chunk-baaattjv.js +2 -0
  150. package/web/chunk-baaattjv.js.br +0 -0
  151. package/web/chunk-baaattjv.js.gz +0 -0
  152. package/web/chunk-bj9m08f9.js +1 -0
  153. package/web/chunk-bj9m08f9.js.br +0 -0
  154. package/web/chunk-bj9m08f9.js.gz +0 -0
  155. package/web/chunk-bm4fvq6q.js +89 -0
  156. package/web/chunk-bm4fvq6q.js.br +0 -0
  157. package/web/chunk-bm4fvq6q.js.gz +0 -0
  158. package/web/chunk-c4g2k9wp.js +1 -0
  159. package/web/chunk-c4g2k9wp.js.br +0 -0
  160. package/web/chunk-c4g2k9wp.js.gz +0 -0
  161. package/web/chunk-cnptxet3.js +2 -0
  162. package/web/chunk-cnptxet3.js.br +0 -0
  163. package/web/chunk-cnptxet3.js.gz +0 -0
  164. package/web/chunk-d5n2yz4e.js +2 -0
  165. package/web/chunk-d5n2yz4e.js.br +0 -0
  166. package/web/chunk-d5n2yz4e.js.gz +0 -0
  167. package/web/chunk-db2jge7w.js +291 -0
  168. package/web/chunk-db2jge7w.js.br +0 -0
  169. package/web/chunk-db2jge7w.js.gz +0 -0
  170. package/web/chunk-dfv95z6w.js +1 -0
  171. package/web/chunk-dfv95z6w.js.br +0 -0
  172. package/web/chunk-dfv95z6w.js.gz +0 -0
  173. package/web/chunk-dsxjv5an.js +1 -0
  174. package/web/chunk-dsxjv5an.js.br +0 -0
  175. package/web/chunk-dsxjv5an.js.gz +0 -0
  176. package/web/chunk-e362x35y.js +1 -0
  177. package/web/chunk-e362x35y.js.br +0 -0
  178. package/web/chunk-e362x35y.js.gz +0 -0
  179. package/web/chunk-e6jfnajp.js +55 -0
  180. package/web/chunk-e6jfnajp.js.br +0 -0
  181. package/web/chunk-e6jfnajp.js.gz +0 -0
  182. package/web/chunk-ex34kdxk.js +217 -0
  183. package/web/chunk-ex34kdxk.js.br +0 -0
  184. package/web/chunk-ex34kdxk.js.gz +0 -0
  185. package/web/chunk-exa2z1b4.js +1 -0
  186. package/web/chunk-exa2z1b4.js.br +0 -0
  187. package/web/chunk-exa2z1b4.js.gz +0 -0
  188. package/web/chunk-f5wyg9zh.js +2 -0
  189. package/web/chunk-f5wyg9zh.js.br +0 -0
  190. package/web/chunk-f5wyg9zh.js.gz +0 -0
  191. package/web/chunk-fjvd2dx2.js +2 -0
  192. package/web/chunk-fjvd2dx2.js.br +0 -0
  193. package/web/chunk-fjvd2dx2.js.gz +0 -0
  194. package/web/chunk-fs39pqet.js +2 -0
  195. package/web/chunk-fs39pqet.js.br +0 -0
  196. package/web/chunk-fs39pqet.js.gz +0 -0
  197. package/web/chunk-gvndjaan.js +2 -0
  198. package/web/chunk-gvndjaan.js.br +0 -0
  199. package/web/chunk-gvndjaan.js.gz +0 -0
  200. package/web/chunk-h3618s7t.js +4 -0
  201. package/web/chunk-h3618s7t.js.br +0 -0
  202. package/web/chunk-h3618s7t.js.gz +0 -0
  203. package/web/chunk-hks91ztk.js +8 -0
  204. package/web/chunk-hks91ztk.js.br +0 -0
  205. package/web/chunk-hks91ztk.js.gz +0 -0
  206. package/web/chunk-hqd97ez8.js +200 -0
  207. package/web/chunk-hqd97ez8.js.br +0 -0
  208. package/web/chunk-hqd97ez8.js.gz +0 -0
  209. package/web/chunk-hta68vm8.js +2 -0
  210. package/web/chunk-hta68vm8.js.br +0 -0
  211. package/web/chunk-hta68vm8.js.gz +0 -0
  212. package/web/chunk-jcbvhp3h.js +1 -0
  213. package/web/chunk-jcbvhp3h.js.br +0 -0
  214. package/web/chunk-jcbvhp3h.js.gz +0 -0
  215. package/web/chunk-jw6e38cy.js +1 -0
  216. package/web/chunk-jw6e38cy.js.br +0 -0
  217. package/web/chunk-jw6e38cy.js.gz +0 -0
  218. package/web/chunk-jzp1qd92.js +1 -0
  219. package/web/chunk-jzp1qd92.js.br +0 -0
  220. package/web/chunk-jzp1qd92.js.gz +0 -0
  221. package/web/chunk-kg39a24q.js +16 -0
  222. package/web/chunk-kg39a24q.js.br +0 -0
  223. package/web/chunk-kg39a24q.js.gz +0 -0
  224. package/web/chunk-kj75rme3.js +1 -0
  225. package/web/chunk-kj75rme3.js.br +0 -0
  226. package/web/chunk-kj75rme3.js.gz +0 -0
  227. package/web/chunk-kvxmwmen.js +1 -0
  228. package/web/chunk-kvxmwmen.js.br +0 -0
  229. package/web/chunk-kvxmwmen.js.gz +0 -0
  230. package/web/chunk-kzdmsaet.js +1 -0
  231. package/web/chunk-kzdmsaet.js.br +0 -0
  232. package/web/chunk-kzdmsaet.js.gz +0 -0
  233. package/web/chunk-m203pzza.js +89 -0
  234. package/web/chunk-m203pzza.js.br +0 -0
  235. package/web/chunk-m203pzza.js.gz +0 -0
  236. package/web/chunk-m3xw41vq.js +1 -0
  237. package/web/chunk-m3xw41vq.js.br +0 -0
  238. package/web/chunk-m3xw41vq.js.gz +0 -0
  239. package/web/chunk-m8jcx13t.js +30 -0
  240. package/web/chunk-m8jcx13t.js.br +0 -0
  241. package/web/chunk-m8jcx13t.js.gz +0 -0
  242. package/web/chunk-mpgz1bj6.js +1 -0
  243. package/web/chunk-mpgz1bj6.js.br +0 -0
  244. package/web/chunk-mpgz1bj6.js.gz +0 -0
  245. package/web/chunk-mzagmpq5.js +1 -0
  246. package/web/chunk-mzagmpq5.js.br +0 -0
  247. package/web/chunk-mzagmpq5.js.gz +0 -0
  248. package/web/chunk-n51q6d6e.js +1 -0
  249. package/web/chunk-n51q6d6e.js.br +0 -0
  250. package/web/chunk-n51q6d6e.js.gz +0 -0
  251. package/web/chunk-nbf2zaaj.js +1 -0
  252. package/web/chunk-nbf2zaaj.js.br +0 -0
  253. package/web/chunk-nbf2zaaj.js.gz +0 -0
  254. package/web/chunk-ngsv0xfb.js +1 -0
  255. package/web/chunk-ngsv0xfb.js.br +0 -0
  256. package/web/chunk-ngsv0xfb.js.gz +0 -0
  257. package/web/chunk-nxd7dn08.js +1 -0
  258. package/web/chunk-nxd7dn08.js.br +0 -0
  259. package/web/chunk-nxd7dn08.js.gz +0 -0
  260. package/web/chunk-p44ezwgh.js +1 -0
  261. package/web/chunk-p44ezwgh.js.br +0 -0
  262. package/web/chunk-p44ezwgh.js.gz +0 -0
  263. package/web/chunk-pdg3bxc0.js +2 -0
  264. package/web/chunk-pdg3bxc0.js.br +0 -0
  265. package/web/chunk-pdg3bxc0.js.gz +0 -0
  266. package/web/chunk-pjbp0xwn.css +1 -0
  267. package/web/chunk-pjbp0xwn.css.br +0 -0
  268. package/web/chunk-pjbp0xwn.css.gz +0 -0
  269. package/web/chunk-pkbyh261.js +1 -0
  270. package/web/chunk-pkbyh261.js.br +0 -0
  271. package/web/chunk-pkbyh261.js.gz +0 -0
  272. package/web/chunk-q3q25jr9.js +324 -0
  273. package/web/chunk-q3q25jr9.js.br +0 -0
  274. package/web/chunk-q3q25jr9.js.gz +0 -0
  275. package/web/chunk-q5nr5wjn.js +169 -0
  276. package/web/chunk-q5nr5wjn.js.br +0 -0
  277. package/web/chunk-q5nr5wjn.js.gz +0 -0
  278. package/web/chunk-qd9y8r3g.js +84 -0
  279. package/web/chunk-qd9y8r3g.js.br +0 -0
  280. package/web/chunk-qd9y8r3g.js.gz +0 -0
  281. package/web/chunk-qm039dan.js +24 -0
  282. package/web/chunk-qm039dan.js.br +0 -0
  283. package/web/chunk-qm039dan.js.gz +0 -0
  284. package/web/chunk-qqp31fyy.js +1 -0
  285. package/web/chunk-qqp31fyy.js.br +0 -0
  286. package/web/chunk-qqp31fyy.js.gz +0 -0
  287. package/web/chunk-r7st369j.js +1 -0
  288. package/web/chunk-r7st369j.js.br +0 -0
  289. package/web/chunk-r7st369j.js.gz +0 -0
  290. package/web/chunk-rc3sv7v4.js +1 -0
  291. package/web/chunk-rc3sv7v4.js.br +0 -0
  292. package/web/chunk-rc3sv7v4.js.gz +0 -0
  293. package/web/chunk-rj1rp0tc.js +1 -0
  294. package/web/chunk-rj1rp0tc.js.br +0 -0
  295. package/web/chunk-rj1rp0tc.js.gz +0 -0
  296. package/web/chunk-rtk95qme.js +1 -0
  297. package/web/chunk-rtk95qme.js.br +0 -0
  298. package/web/chunk-rtk95qme.js.gz +0 -0
  299. package/web/chunk-s4rfkyqn.js +12 -0
  300. package/web/chunk-s4rfkyqn.js.br +0 -0
  301. package/web/chunk-s4rfkyqn.js.gz +0 -0
  302. package/web/chunk-s6a0gfv3.js +34 -0
  303. package/web/chunk-s6a0gfv3.js.br +0 -0
  304. package/web/chunk-s6a0gfv3.js.gz +0 -0
  305. package/web/chunk-s7rwbxr5.js +2 -0
  306. package/web/chunk-s7rwbxr5.js.br +0 -0
  307. package/web/chunk-s7rwbxr5.js.gz +0 -0
  308. package/web/chunk-s8f6v2nn.js +1 -0
  309. package/web/chunk-s8f6v2nn.js.br +0 -0
  310. package/web/chunk-s8f6v2nn.js.gz +0 -0
  311. package/web/chunk-sawc81kc.js +303 -0
  312. package/web/chunk-sawc81kc.js.br +0 -0
  313. package/web/chunk-sawc81kc.js.gz +0 -0
  314. package/web/chunk-sex2gevj.js +2 -0
  315. package/web/chunk-sex2gevj.js.br +0 -0
  316. package/web/chunk-sex2gevj.js.gz +0 -0
  317. package/web/chunk-smmdqmcy.js +1 -0
  318. package/web/chunk-smmdqmcy.js.br +0 -0
  319. package/web/chunk-smmdqmcy.js.gz +0 -0
  320. package/web/chunk-tntwwpyh.js +2 -0
  321. package/web/chunk-tntwwpyh.js.br +0 -0
  322. package/web/chunk-tntwwpyh.js.gz +0 -0
  323. package/web/chunk-tpzyyc2z.js +2 -0
  324. package/web/chunk-tpzyyc2z.js.br +0 -0
  325. package/web/chunk-tpzyyc2z.js.gz +0 -0
  326. package/web/chunk-txhvq81f.js +106 -0
  327. package/web/chunk-txhvq81f.js.br +0 -0
  328. package/web/chunk-txhvq81f.js.gz +0 -0
  329. package/web/chunk-txtm71rz.js +41 -0
  330. package/web/chunk-txtm71rz.js.br +0 -0
  331. package/web/chunk-txtm71rz.js.gz +0 -0
  332. package/web/chunk-tykcqm6v.js +2 -0
  333. package/web/chunk-tykcqm6v.js.br +0 -0
  334. package/web/chunk-tykcqm6v.js.gz +0 -0
  335. package/web/chunk-tyrmd7j6.js +1 -0
  336. package/web/chunk-tyrmd7j6.js.br +0 -0
  337. package/web/chunk-tyrmd7j6.js.gz +0 -0
  338. package/web/chunk-v6ebn3sf.js +38 -0
  339. package/web/chunk-v6ebn3sf.js.br +0 -0
  340. package/web/chunk-v6ebn3sf.js.gz +0 -0
  341. package/web/chunk-vbx7t0h5.js +214 -0
  342. package/web/chunk-vbx7t0h5.js.br +0 -0
  343. package/web/chunk-vbx7t0h5.js.gz +0 -0
  344. package/web/chunk-vj3wz0a2.js +1 -0
  345. package/web/chunk-vj3wz0a2.js.br +0 -0
  346. package/web/chunk-vj3wz0a2.js.gz +0 -0
  347. package/web/chunk-vndrjeyr.js +2 -0
  348. package/web/chunk-vndrjeyr.js.br +0 -0
  349. package/web/chunk-vndrjeyr.js.gz +0 -0
  350. package/web/chunk-vqgkd7q8.js +1 -0
  351. package/web/chunk-vqgkd7q8.js.br +0 -0
  352. package/web/chunk-vqgkd7q8.js.gz +0 -0
  353. package/web/chunk-vvsfwjrg.js +1 -0
  354. package/web/chunk-vvsfwjrg.js.br +0 -0
  355. package/web/chunk-vvsfwjrg.js.gz +0 -0
  356. package/web/chunk-w0k63gap.js +2 -0
  357. package/web/chunk-w0k63gap.js.br +0 -0
  358. package/web/chunk-w0k63gap.js.gz +0 -0
  359. package/web/chunk-wafwgky9.js +1 -0
  360. package/web/chunk-wafwgky9.js.br +0 -0
  361. package/web/chunk-wafwgky9.js.gz +0 -0
  362. package/web/chunk-wdd9pasx.js +1 -0
  363. package/web/chunk-wdd9pasx.js.br +0 -0
  364. package/web/chunk-wdd9pasx.js.gz +0 -0
  365. package/web/chunk-wk89vrvf.js +78 -0
  366. package/web/chunk-wk89vrvf.js.br +0 -0
  367. package/web/chunk-wk89vrvf.js.gz +0 -0
  368. package/web/chunk-wqjn3yz1.js +370 -0
  369. package/web/chunk-wqjn3yz1.js.br +0 -0
  370. package/web/chunk-wqjn3yz1.js.gz +0 -0
  371. package/web/chunk-wrej9qt0.js +2 -0
  372. package/web/chunk-wrej9qt0.js.br +0 -0
  373. package/web/chunk-wrej9qt0.js.gz +0 -0
  374. package/web/chunk-xbjv549c.js +2 -0
  375. package/web/chunk-xbjv549c.js.br +0 -0
  376. package/web/chunk-xbjv549c.js.gz +0 -0
  377. package/web/chunk-xmp1ag6z.js +2 -0
  378. package/web/chunk-xmp1ag6z.js.br +0 -0
  379. package/web/chunk-xmp1ag6z.js.gz +0 -0
  380. package/web/chunk-xsqd38a2.js +332 -0
  381. package/web/chunk-xsqd38a2.js.br +0 -0
  382. package/web/chunk-xsqd38a2.js.gz +0 -0
  383. package/web/chunk-y2fbz356.js +1 -0
  384. package/web/chunk-y2fbz356.js.br +0 -0
  385. package/web/chunk-y2fbz356.js.gz +0 -0
  386. package/web/chunk-yebmbyrj.js +1 -0
  387. package/web/chunk-yebmbyrj.js.br +2 -0
  388. package/web/chunk-yebmbyrj.js.gz +0 -0
  389. package/web/chunk-ypytxmn6.js +24 -0
  390. package/web/chunk-ypytxmn6.js.br +0 -0
  391. package/web/chunk-ypytxmn6.js.gz +0 -0
  392. package/web/chunk-z6jy8edk.js +99 -0
  393. package/web/chunk-z6jy8edk.js.br +0 -0
  394. package/web/chunk-z6jy8edk.js.gz +0 -0
  395. package/web/chunk-zg5n1hx4.js +1 -0
  396. package/web/chunk-zg5n1hx4.js.br +0 -0
  397. package/web/chunk-zg5n1hx4.js.gz +0 -0
  398. package/web/chunk-zmrd0bnc.js +139 -0
  399. package/web/chunk-zmrd0bnc.js.br +0 -0
  400. package/web/chunk-zmrd0bnc.js.gz +0 -0
  401. package/web/chunk-zqm6n89p.js +7 -0
  402. package/web/chunk-zqm6n89p.js.br +0 -0
  403. package/web/chunk-zqm6n89p.js.gz +0 -0
  404. package/web/chunk-zvat895r.js +1 -0
  405. package/web/chunk-zvat895r.js.br +0 -0
  406. package/web/chunk-zvat895r.js.gz +0 -0
  407. package/web/chunk-zxt17pcp.js +1 -0
  408. package/web/chunk-zxt17pcp.js.br +0 -0
  409. package/web/chunk-zxt17pcp.js.gz +0 -0
  410. package/web/index.html +1 -1
  411. package/web/index.html.br +0 -0
  412. package/web/index.html.gz +0 -0
  413. package/chunk-0er07d2g.js +0 -51
  414. package/chunk-0ge4k9gq.js +0 -2
  415. package/chunk-1t0yzkg7.js +0 -4
  416. package/chunk-3gw871zb.js +0 -2
  417. package/chunk-6gzvp0f6.js +0 -50
  418. package/chunk-71pz02bd.js +0 -8
  419. package/chunk-khy3j5kp.js +0 -63
  420. package/chunk-vx4v71t4.js +0 -498
  421. package/chunk-wvn68m5f.js +0 -4058
  422. package/chunk-x2ry671h.js +0 -44
  423. package/web/chunk-01mrggts.js +0 -1
  424. package/web/chunk-01mrggts.js.br +0 -0
  425. package/web/chunk-01mrggts.js.gz +0 -0
  426. package/web/chunk-0b25tje3.js +0 -1
  427. package/web/chunk-0b25tje3.js.br +0 -0
  428. package/web/chunk-0b25tje3.js.gz +0 -0
  429. package/web/chunk-0g46ww9d.js +0 -1
  430. package/web/chunk-0g46ww9d.js.br +0 -0
  431. package/web/chunk-0g46ww9d.js.gz +0 -0
  432. package/web/chunk-0grg8w51.js +0 -200
  433. package/web/chunk-0grg8w51.js.br +0 -0
  434. package/web/chunk-0grg8w51.js.gz +0 -0
  435. package/web/chunk-0qf3m69c.js +0 -24
  436. package/web/chunk-0qf3m69c.js.br +0 -0
  437. package/web/chunk-0qf3m69c.js.gz +0 -0
  438. package/web/chunk-14yejkcn.js +0 -7
  439. package/web/chunk-14yejkcn.js.br +0 -0
  440. package/web/chunk-14yejkcn.js.gz +0 -0
  441. package/web/chunk-1ffzwm6m.js +0 -106
  442. package/web/chunk-1ffzwm6m.js.br +0 -0
  443. package/web/chunk-1ffzwm6m.js.gz +0 -0
  444. package/web/chunk-1ncaw3hk.js +0 -3
  445. package/web/chunk-1ncaw3hk.js.br +0 -0
  446. package/web/chunk-1ncaw3hk.js.gz +0 -0
  447. package/web/chunk-1pffd2va.js +0 -2
  448. package/web/chunk-1pffd2va.js.br +0 -0
  449. package/web/chunk-1pffd2va.js.gz +0 -0
  450. package/web/chunk-1x2kh4he.js +0 -1
  451. package/web/chunk-1x2kh4he.js.br +0 -0
  452. package/web/chunk-1x2kh4he.js.gz +0 -0
  453. package/web/chunk-23atmwvk.js +0 -2
  454. package/web/chunk-23atmwvk.js.br +0 -0
  455. package/web/chunk-23atmwvk.js.gz +0 -0
  456. package/web/chunk-2gfgrjy6.js +0 -142
  457. package/web/chunk-2gfgrjy6.js.br +0 -0
  458. package/web/chunk-2gfgrjy6.js.gz +0 -0
  459. package/web/chunk-2ttatv42.js +0 -2
  460. package/web/chunk-2ttatv42.js.br +0 -0
  461. package/web/chunk-2ttatv42.js.gz +0 -0
  462. package/web/chunk-2vqn82nw.js +0 -139
  463. package/web/chunk-2vqn82nw.js.br +0 -0
  464. package/web/chunk-2vqn82nw.js.gz +0 -0
  465. package/web/chunk-2wzvn2ne.js +0 -1
  466. package/web/chunk-2wzvn2ne.js.br +0 -0
  467. package/web/chunk-2wzvn2ne.js.gz +0 -0
  468. package/web/chunk-3at8qbcv.js +0 -89
  469. package/web/chunk-3at8qbcv.js.br +0 -0
  470. package/web/chunk-3at8qbcv.js.gz +0 -0
  471. package/web/chunk-3b97pd97.js +0 -120
  472. package/web/chunk-3b97pd97.js.br +0 -0
  473. package/web/chunk-3b97pd97.js.gz +0 -0
  474. package/web/chunk-3q5j14ah.js +0 -1
  475. package/web/chunk-3q5j14ah.js.br +0 -0
  476. package/web/chunk-3q5j14ah.js.gz +0 -0
  477. package/web/chunk-45xqp3dn.js +0 -1
  478. package/web/chunk-45xqp3dn.js.br +0 -0
  479. package/web/chunk-45xqp3dn.js.gz +0 -0
  480. package/web/chunk-4fdgpye3.js +0 -2
  481. package/web/chunk-4fdgpye3.js.br +0 -0
  482. package/web/chunk-4fdgpye3.js.gz +0 -0
  483. package/web/chunk-4wpvkw6b.js +0 -1141
  484. package/web/chunk-4wpvkw6b.js.br +0 -0
  485. package/web/chunk-4wpvkw6b.js.gz +0 -0
  486. package/web/chunk-51m79xhr.js +0 -2
  487. package/web/chunk-51m79xhr.js.br +0 -2
  488. package/web/chunk-51m79xhr.js.gz +0 -0
  489. package/web/chunk-5c6q7asc.js +0 -1
  490. package/web/chunk-5c6q7asc.js.br +0 -0
  491. package/web/chunk-5c6q7asc.js.gz +0 -0
  492. package/web/chunk-5vbnqhs0.js +0 -38
  493. package/web/chunk-5vbnqhs0.js.br +0 -0
  494. package/web/chunk-5vbnqhs0.js.gz +0 -0
  495. package/web/chunk-688a15p4.js +0 -2
  496. package/web/chunk-688a15p4.js.br +0 -0
  497. package/web/chunk-688a15p4.js.gz +0 -0
  498. package/web/chunk-6f9btq4p.js +0 -1
  499. package/web/chunk-6f9btq4p.js.br +0 -0
  500. package/web/chunk-6f9btq4p.js.gz +0 -0
  501. package/web/chunk-6geede02.js +0 -217
  502. package/web/chunk-6geede02.js.br +0 -0
  503. package/web/chunk-6geede02.js.gz +0 -0
  504. package/web/chunk-6j37ynfq.js +0 -1
  505. package/web/chunk-6j37ynfq.js.br +0 -0
  506. package/web/chunk-6j37ynfq.js.gz +0 -0
  507. package/web/chunk-7j7btfha.js +0 -292
  508. package/web/chunk-7j7btfha.js.br +0 -0
  509. package/web/chunk-7j7btfha.js.gz +0 -0
  510. package/web/chunk-8299qcyc.js +0 -1
  511. package/web/chunk-8299qcyc.js.br +0 -0
  512. package/web/chunk-8299qcyc.js.gz +0 -0
  513. package/web/chunk-8mncz9c6.js +0 -89
  514. package/web/chunk-8mncz9c6.js.br +0 -0
  515. package/web/chunk-8mncz9c6.js.gz +0 -0
  516. package/web/chunk-8pygn7wf.js +0 -1
  517. package/web/chunk-8pygn7wf.js.br +0 -0
  518. package/web/chunk-8pygn7wf.js.gz +0 -0
  519. package/web/chunk-8ye62j8m.js +0 -2
  520. package/web/chunk-8ye62j8m.js.br +0 -3
  521. package/web/chunk-8ye62j8m.js.gz +0 -0
  522. package/web/chunk-982457hh.js +0 -1
  523. package/web/chunk-982457hh.js.br +0 -2
  524. package/web/chunk-982457hh.js.gz +0 -0
  525. package/web/chunk-9f9pp12b.js +0 -1
  526. package/web/chunk-9f9pp12b.js.br +0 -0
  527. package/web/chunk-9f9pp12b.js.gz +0 -0
  528. package/web/chunk-9k6d95ab.js +0 -1
  529. package/web/chunk-9k6d95ab.js.br +0 -0
  530. package/web/chunk-9k6d95ab.js.gz +0 -0
  531. package/web/chunk-9z4tf6fd.js +0 -1
  532. package/web/chunk-9z4tf6fd.js.br +0 -0
  533. package/web/chunk-9z4tf6fd.js.gz +0 -0
  534. package/web/chunk-a11ev6ff.js +0 -1
  535. package/web/chunk-a11ev6ff.js.br +0 -0
  536. package/web/chunk-a11ev6ff.js.gz +0 -0
  537. package/web/chunk-ayamka39.js +0 -1
  538. package/web/chunk-ayamka39.js.br +0 -0
  539. package/web/chunk-ayamka39.js.gz +0 -0
  540. package/web/chunk-b6k80wbw.js +0 -1
  541. package/web/chunk-b6k80wbw.js.br +0 -0
  542. package/web/chunk-b6k80wbw.js.gz +0 -0
  543. package/web/chunk-b6w2gmw0.js +0 -2
  544. package/web/chunk-b6w2gmw0.js.br +0 -0
  545. package/web/chunk-b6w2gmw0.js.gz +0 -0
  546. package/web/chunk-ba22js10.js +0 -84
  547. package/web/chunk-ba22js10.js.br +0 -0
  548. package/web/chunk-ba22js10.js.gz +0 -0
  549. package/web/chunk-bq7y294e.js +0 -34
  550. package/web/chunk-bq7y294e.js.br +0 -0
  551. package/web/chunk-bq7y294e.js.gz +0 -0
  552. package/web/chunk-bw9crrb4.js +0 -1
  553. package/web/chunk-bw9crrb4.js.br +0 -0
  554. package/web/chunk-bw9crrb4.js.gz +0 -0
  555. package/web/chunk-c0vc50pd.js +0 -4
  556. package/web/chunk-c0vc50pd.js.br +0 -0
  557. package/web/chunk-c0vc50pd.js.gz +0 -0
  558. package/web/chunk-c2vtzhbs.js +0 -1
  559. package/web/chunk-c2vtzhbs.js.br +0 -0
  560. package/web/chunk-c2vtzhbs.js.gz +0 -0
  561. package/web/chunk-cf9886tj.js +0 -2
  562. package/web/chunk-cf9886tj.js.br +0 -0
  563. package/web/chunk-cf9886tj.js.gz +0 -0
  564. package/web/chunk-cqf4fzk6.js +0 -16
  565. package/web/chunk-cqf4fzk6.js.br +0 -0
  566. package/web/chunk-cqf4fzk6.js.gz +0 -0
  567. package/web/chunk-ct9sq4ka.js +0 -1
  568. package/web/chunk-ct9sq4ka.js.br +0 -0
  569. package/web/chunk-ct9sq4ka.js.gz +0 -0
  570. package/web/chunk-cy60hc6q.js +0 -2
  571. package/web/chunk-cy60hc6q.js.br +0 -0
  572. package/web/chunk-cy60hc6q.js.gz +0 -0
  573. package/web/chunk-cygtgz2r.js +0 -2
  574. package/web/chunk-cygtgz2r.js.br +0 -0
  575. package/web/chunk-cygtgz2r.js.gz +0 -0
  576. package/web/chunk-dgf0f0er.js +0 -214
  577. package/web/chunk-dgf0f0er.js.br +0 -0
  578. package/web/chunk-dgf0f0er.js.gz +0 -0
  579. package/web/chunk-dscn4mpq.js +0 -4
  580. package/web/chunk-dscn4mpq.js.br +0 -0
  581. package/web/chunk-dscn4mpq.js.gz +0 -0
  582. package/web/chunk-e7683p83.js +0 -1
  583. package/web/chunk-e7683p83.js.br +0 -0
  584. package/web/chunk-e7683p83.js.gz +0 -0
  585. package/web/chunk-eanfvatc.js +0 -1
  586. package/web/chunk-eanfvatc.js.br +0 -0
  587. package/web/chunk-eanfvatc.js.gz +0 -0
  588. package/web/chunk-egfn5522.js +0 -1
  589. package/web/chunk-egfn5522.js.br +0 -3
  590. package/web/chunk-egfn5522.js.gz +0 -0
  591. package/web/chunk-ejk5ec5n.js +0 -1
  592. package/web/chunk-ejk5ec5n.js.br +0 -0
  593. package/web/chunk-ejk5ec5n.js.gz +0 -0
  594. package/web/chunk-fzffxer1.js +0 -41
  595. package/web/chunk-fzffxer1.js.br +0 -0
  596. package/web/chunk-fzffxer1.js.gz +0 -0
  597. package/web/chunk-g19dt2gr.js +0 -55
  598. package/web/chunk-g19dt2gr.js.br +0 -0
  599. package/web/chunk-g19dt2gr.js.gz +0 -0
  600. package/web/chunk-g6cj4czr.js +0 -2
  601. package/web/chunk-g6cj4czr.js.br +0 -0
  602. package/web/chunk-g6cj4czr.js.gz +0 -0
  603. package/web/chunk-gbv8v3z7.js +0 -78
  604. package/web/chunk-gbv8v3z7.js.br +0 -0
  605. package/web/chunk-gbv8v3z7.js.gz +0 -0
  606. package/web/chunk-h1w081tm.js +0 -12
  607. package/web/chunk-h1w081tm.js.br +0 -0
  608. package/web/chunk-h1w081tm.js.gz +0 -0
  609. package/web/chunk-h47k4j7f.js +0 -1
  610. package/web/chunk-h47k4j7f.js.br +0 -0
  611. package/web/chunk-h47k4j7f.js.gz +0 -0
  612. package/web/chunk-h87t8gsr.js +0 -1
  613. package/web/chunk-h87t8gsr.js.br +0 -0
  614. package/web/chunk-h87t8gsr.js.gz +0 -0
  615. package/web/chunk-haewrbm7.js +0 -1
  616. package/web/chunk-haewrbm7.js.br +0 -0
  617. package/web/chunk-haewrbm7.js.gz +0 -0
  618. package/web/chunk-hahz28y7.js +0 -2
  619. package/web/chunk-hahz28y7.js.br +0 -0
  620. package/web/chunk-hahz28y7.js.gz +0 -0
  621. package/web/chunk-hqz75fkz.js +0 -1
  622. package/web/chunk-hqz75fkz.js.br +0 -0
  623. package/web/chunk-hqz75fkz.js.gz +0 -0
  624. package/web/chunk-hr4fa514.js +0 -2
  625. package/web/chunk-hr4fa514.js.br +0 -0
  626. package/web/chunk-hr4fa514.js.gz +0 -0
  627. package/web/chunk-j7vtqbbc.js +0 -1
  628. package/web/chunk-j7vtqbbc.js.br +0 -0
  629. package/web/chunk-j7vtqbbc.js.gz +0 -0
  630. package/web/chunk-jt33d37t.js +0 -1
  631. package/web/chunk-jt33d37t.js.br +0 -0
  632. package/web/chunk-jt33d37t.js.gz +0 -0
  633. package/web/chunk-k3qt0rx5.js +0 -2
  634. package/web/chunk-k3qt0rx5.js.br +0 -0
  635. package/web/chunk-k3qt0rx5.js.gz +0 -0
  636. package/web/chunk-kgmw7sh4.js +0 -1
  637. package/web/chunk-kgmw7sh4.js.br +0 -0
  638. package/web/chunk-kgmw7sh4.js.gz +0 -0
  639. package/web/chunk-kjvk8prw.js +0 -1
  640. package/web/chunk-kjvk8prw.js.br +0 -0
  641. package/web/chunk-kjvk8prw.js.gz +0 -0
  642. package/web/chunk-kq7snx3t.js +0 -1
  643. package/web/chunk-kq7snx3t.js.br +0 -0
  644. package/web/chunk-kq7snx3t.js.gz +0 -0
  645. package/web/chunk-kvteqhz2.js +0 -1
  646. package/web/chunk-kvteqhz2.js.br +0 -2
  647. package/web/chunk-kvteqhz2.js.gz +0 -0
  648. package/web/chunk-kypct03a.js +0 -169
  649. package/web/chunk-kypct03a.js.br +0 -0
  650. package/web/chunk-kypct03a.js.gz +0 -0
  651. package/web/chunk-m4hz4v80.js +0 -370
  652. package/web/chunk-m4hz4v80.js.br +0 -0
  653. package/web/chunk-m4hz4v80.js.gz +0 -0
  654. package/web/chunk-m5k8jhya.js +0 -40
  655. package/web/chunk-m5k8jhya.js.br +0 -0
  656. package/web/chunk-m5k8jhya.js.gz +0 -0
  657. package/web/chunk-mfsdyw6v.js +0 -2
  658. package/web/chunk-mfsdyw6v.js.br +0 -0
  659. package/web/chunk-mfsdyw6v.js.gz +0 -0
  660. package/web/chunk-mr38k717.js +0 -140
  661. package/web/chunk-mr38k717.js.br +0 -0
  662. package/web/chunk-mr38k717.js.gz +0 -0
  663. package/web/chunk-mtcet6gc.js +0 -2
  664. package/web/chunk-mtcet6gc.js.br +0 -0
  665. package/web/chunk-mtcet6gc.js.gz +0 -0
  666. package/web/chunk-mtfv8gjh.js +0 -291
  667. package/web/chunk-mtfv8gjh.js.br +0 -0
  668. package/web/chunk-mtfv8gjh.js.gz +0 -0
  669. package/web/chunk-nnyjx4ef.js +0 -1
  670. package/web/chunk-nnyjx4ef.js.br +0 -0
  671. package/web/chunk-nnyjx4ef.js.gz +0 -0
  672. package/web/chunk-npn3fk69.js +0 -1
  673. package/web/chunk-npn3fk69.js.br +0 -2
  674. package/web/chunk-npn3fk69.js.gz +0 -0
  675. package/web/chunk-p2gdfpjs.js +0 -2
  676. package/web/chunk-p2gdfpjs.js.br +0 -0
  677. package/web/chunk-p2gdfpjs.js.gz +0 -0
  678. package/web/chunk-q0by2m1w.js +0 -21
  679. package/web/chunk-q0by2m1w.js.br +0 -0
  680. package/web/chunk-q0by2m1w.js.gz +0 -0
  681. package/web/chunk-q5hj3y5k.js +0 -2
  682. package/web/chunk-q5hj3y5k.js.br +0 -0
  683. package/web/chunk-q5hj3y5k.js.gz +0 -0
  684. package/web/chunk-q6k872kv.js +0 -7
  685. package/web/chunk-q6k872kv.js.br +0 -0
  686. package/web/chunk-q6k872kv.js.gz +0 -0
  687. package/web/chunk-q7krdwy7.js +0 -332
  688. package/web/chunk-q7krdwy7.js.br +0 -0
  689. package/web/chunk-q7krdwy7.js.gz +0 -0
  690. package/web/chunk-q7wbksg4.js +0 -1
  691. package/web/chunk-q7wbksg4.js.br +0 -0
  692. package/web/chunk-q7wbksg4.js.gz +0 -0
  693. package/web/chunk-qdxa0c4c.js +0 -1
  694. package/web/chunk-qdxa0c4c.js.br +0 -0
  695. package/web/chunk-qdxa0c4c.js.gz +0 -0
  696. package/web/chunk-r9m8jh7x.js +0 -2
  697. package/web/chunk-r9m8jh7x.js.br +0 -0
  698. package/web/chunk-r9m8jh7x.js.gz +0 -0
  699. package/web/chunk-rnhbck1h.js +0 -99
  700. package/web/chunk-rnhbck1h.js.br +0 -0
  701. package/web/chunk-rnhbck1h.js.gz +0 -0
  702. package/web/chunk-rxtzde6n.js +0 -62
  703. package/web/chunk-rxtzde6n.js.br +0 -0
  704. package/web/chunk-rxtzde6n.js.gz +0 -0
  705. package/web/chunk-ryds6qnb.js +0 -2
  706. package/web/chunk-ryds6qnb.js.br +0 -0
  707. package/web/chunk-ryds6qnb.js.gz +0 -0
  708. package/web/chunk-shc8bv2k.js +0 -2
  709. package/web/chunk-shc8bv2k.js.br +0 -0
  710. package/web/chunk-shc8bv2k.js.gz +0 -0
  711. package/web/chunk-stnwzrqv.js +0 -98
  712. package/web/chunk-stnwzrqv.js.br +0 -0
  713. package/web/chunk-stnwzrqv.js.gz +0 -0
  714. package/web/chunk-sy28z9pe.js +0 -2
  715. package/web/chunk-sy28z9pe.js.br +0 -2
  716. package/web/chunk-sy28z9pe.js.gz +0 -0
  717. package/web/chunk-szwh742y.js +0 -2
  718. package/web/chunk-szwh742y.js.br +0 -0
  719. package/web/chunk-szwh742y.js.gz +0 -0
  720. package/web/chunk-t60hp0qs.js +0 -36
  721. package/web/chunk-t60hp0qs.js.br +0 -0
  722. package/web/chunk-t60hp0qs.js.gz +0 -0
  723. package/web/chunk-t9twwgfe.js +0 -1
  724. package/web/chunk-t9twwgfe.js.br +0 -0
  725. package/web/chunk-t9twwgfe.js.gz +0 -0
  726. package/web/chunk-tbgavq0t.js +0 -2
  727. package/web/chunk-tbgavq0t.js.br +0 -0
  728. package/web/chunk-tbgavq0t.js.gz +0 -0
  729. package/web/chunk-tjma3e4d.js +0 -7
  730. package/web/chunk-tjma3e4d.js.br +0 -0
  731. package/web/chunk-tjma3e4d.js.gz +0 -0
  732. package/web/chunk-tv9rz73h.js +0 -30
  733. package/web/chunk-tv9rz73h.js.br +0 -0
  734. package/web/chunk-tv9rz73h.js.gz +0 -0
  735. package/web/chunk-twgzayjk.js +0 -1
  736. package/web/chunk-twgzayjk.js.br +0 -0
  737. package/web/chunk-twgzayjk.js.gz +0 -0
  738. package/web/chunk-tz4w2nh2.js +0 -303
  739. package/web/chunk-tz4w2nh2.js.br +0 -0
  740. package/web/chunk-tz4w2nh2.js.gz +0 -0
  741. package/web/chunk-v0egh6d3.js +0 -1
  742. package/web/chunk-v0egh6d3.js.br +0 -0
  743. package/web/chunk-v0egh6d3.js.gz +0 -0
  744. package/web/chunk-vayamfxv.js +0 -1
  745. package/web/chunk-vayamfxv.js.br +0 -0
  746. package/web/chunk-vayamfxv.js.gz +0 -0
  747. package/web/chunk-vcawg8d2.js +0 -1
  748. package/web/chunk-vcawg8d2.js.br +0 -0
  749. package/web/chunk-vcawg8d2.js.gz +0 -0
  750. package/web/chunk-vh8s2rek.js +0 -1
  751. package/web/chunk-vh8s2rek.js.br +0 -2
  752. package/web/chunk-vh8s2rek.js.gz +0 -0
  753. package/web/chunk-vns6bpqm.js +0 -2
  754. package/web/chunk-vns6bpqm.js.br +0 -0
  755. package/web/chunk-vns6bpqm.js.gz +0 -0
  756. package/web/chunk-vvbte0a5.css +0 -1
  757. package/web/chunk-vvbte0a5.css.br +0 -0
  758. package/web/chunk-vvbte0a5.css.gz +0 -0
  759. package/web/chunk-vxzw2t1r.js +0 -1
  760. package/web/chunk-vxzw2t1r.js.br +0 -0
  761. package/web/chunk-vxzw2t1r.js.gz +0 -0
  762. package/web/chunk-w40atygt.js +0 -2
  763. package/web/chunk-w40atygt.js.br +0 -0
  764. package/web/chunk-w40atygt.js.gz +0 -0
  765. package/web/chunk-w4bxgcwm.js +0 -1
  766. package/web/chunk-w4bxgcwm.js.br +0 -0
  767. package/web/chunk-w4bxgcwm.js.gz +0 -0
  768. package/web/chunk-w5t00pns.js +0 -70
  769. package/web/chunk-w5t00pns.js.br +0 -0
  770. package/web/chunk-w5t00pns.js.gz +0 -0
  771. package/web/chunk-wpmzdqba.js +0 -324
  772. package/web/chunk-wpmzdqba.js.br +0 -0
  773. package/web/chunk-wpmzdqba.js.gz +0 -0
  774. package/web/chunk-x9mexzav.js +0 -2
  775. package/web/chunk-x9mexzav.js.br +0 -0
  776. package/web/chunk-x9mexzav.js.gz +0 -0
  777. package/web/chunk-xc74f1nj.js +0 -1
  778. package/web/chunk-xc74f1nj.js.br +0 -0
  779. package/web/chunk-xc74f1nj.js.gz +0 -0
  780. package/web/chunk-xk8637wb.js +0 -1
  781. package/web/chunk-xk8637wb.js.br +0 -0
  782. package/web/chunk-xk8637wb.js.gz +0 -0
  783. package/web/chunk-xs4cyb71.js +0 -1
  784. package/web/chunk-xs4cyb71.js.br +0 -0
  785. package/web/chunk-xs4cyb71.js.gz +0 -0
  786. package/web/chunk-xthg4efe.js +0 -1
  787. package/web/chunk-xthg4efe.js.br +0 -0
  788. package/web/chunk-xthg4efe.js.gz +0 -0
  789. package/web/chunk-yet0bbyh.js +0 -1
  790. package/web/chunk-yet0bbyh.js.br +0 -0
  791. package/web/chunk-yet0bbyh.js.gz +0 -0
  792. package/web/chunk-yzcxmqy3.js +0 -1
  793. package/web/chunk-yzcxmqy3.js.br +0 -0
  794. package/web/chunk-yzcxmqy3.js.gz +0 -0
  795. package/web/chunk-z2a9zwwx.js +0 -24
  796. package/web/chunk-z2a9zwwx.js.br +0 -0
  797. package/web/chunk-z2a9zwwx.js.gz +0 -0
  798. package/web/chunk-z8fgdsx5.js +0 -1
  799. package/web/chunk-z8fgdsx5.js.br +0 -0
  800. package/web/chunk-z8fgdsx5.js.gz +0 -0
  801. package/web/chunk-zeyw59b9.js +0 -2
  802. package/web/chunk-zeyw59b9.js.br +0 -0
  803. package/web/chunk-zeyw59b9.js.gz +0 -0
  804. package/web/chunk-zftk5ww7.js +0 -8
  805. package/web/chunk-zftk5ww7.js.br +0 -0
  806. package/web/chunk-zftk5ww7.js.gz +0 -0
  807. package/web/chunk-zmbp3phd.js +0 -2
  808. package/web/chunk-zmbp3phd.js.br +0 -0
  809. package/web/chunk-zmbp3phd.js.gz +0 -0
  810. package/web/chunk-zpxh70dj.js +0 -1
  811. package/web/chunk-zpxh70dj.js.br +0 -0
  812. package/web/chunk-zpxh70dj.js.gz +0 -0
  813. package/web/chunk-zqhdf12s.js +0 -39
  814. package/web/chunk-zqhdf12s.js.br +0 -0
  815. package/web/chunk-zqhdf12s.js.gz +0 -0
  816. package/web/chunk-zr2xst5w.js +0 -1
  817. package/web/chunk-zr2xst5w.js.br +0 -0
  818. package/web/chunk-zr2xst5w.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t,i}from"./chunk-sawc81kc.js";import{he,Pn,In}from"./chunk-bm4fvq6q.js";import{ie}from"./chunk-tykcqm6v.js";import{Ia,wn}from"./chunk-4ab1dv3g.js";var s=Ia().RailroadEbnf.parser.LangiumParser,a=t((e)=>{let r=e.alternatives.map(m);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformChoice"),m=t((e)=>{let r=e.elements.map(p);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformSequence"),o=t((e)=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return a(e.element);case"EbnfOptional":return{type:"optional",element:a(e.element)};case"EbnfRepetition":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),l=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},o(r.except)]};default:throw Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),p=t((e)=>e.postfixes.reduce((r,n)=>l(r,n),o(e.base)),"transformTerm"),f=t((e)=>({name:e.name,definition:a(e.definition)}),"transformRule"),u=t((e)=>{if(ie(e,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(f(r)))},"populateDb"),c={parse:t((e)=>{he.clear(),i.debug("[EBNF Parser] Starting Langium parse");let r=s.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new wn(r);let n=r.value;i.debug("[EBNF Parser] Parsed rules:",n.rules.length),u(n),i.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:he}},x={parser:c,db:he,renderer:In,styles:Pn};export{x as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ms}from"./chunk-4ab1dv3g.js";export{Ms as createRadarServices};
@@ -0,0 +1,2 @@
1
+ #�import{Ms}from"./chunk-4ab1dv3g.js";export{Ms as createRadarServices};
2
+ 
Binary file
@@ -0,0 +1,24 @@
1
+ import{ie}from"./chunk-tykcqm6v.js";import{t,i,F,A,W,N,M,P,R,I,O,D,J,Z}from"./chunk-sawc81kc.js";import{fe}from"./chunk-4ab1dv3g.js";var z=F.packet,B=class{constructor(){this.packet=[],this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R}static{t(this,"PacketDB")}getConfig(){let e=Z({...z,...A().packet});if(e.showBits)e.paddingY+=10;return e}getPacket(){return this.packet}pushWord(e){if(e.length>0)this.packet.push(e)}clear(){N(),this.packet=[]}},E=1e4,_=t((e,r)=>{ie(e,r);let o=-1,s=[],l=1,{bitsPerRow:d}=r.getConfig();for(let{start:a,end:n,bits:g,label:f}of e.blocks){if(a!==void 0&&n!==void 0&&n<a)throw Error(`Packet block ${a} - ${n} is invalid. End must be greater than start.`);if(a??=o+1,a!==o+1)throw Error(`Packet block ${a} - ${n??a} is not contiguous. It should start from ${o+1}.`);if(g===0)throw Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);n??=a+(g??1)-1,g??=n-a+1,o=n,i.debug(`Packet block ${a} - ${o} with label ${f}`);while(s.length<=d+1&&r.getPacket().length<E){let[p,h]=L({start:a,end:n,bits:g,label:f},l,d);if(s.push(p),p.end+1===l*d)r.pushWord(s),s=[],l++;if(!h)break;({start:a,end:n,bits:g,label:f}=h)}}r.pushWord(s)},"populate"),L=t((e,r,o)=>{if(e.start===void 0)throw Error("start should have been set during first phase");if(e.end===void 0)throw Error("end should have been set during first phase");if(e.start>e.end)throw Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=r*o)return[e,void 0];let s=r*o-1,l=r*o;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:l,end:e.end,label:e.label,bits:e.end-l}]},"getNextFittingBlock"),C={parser:{yy:void 0},parse:t(async(e)=>{let r=await fe("packet",e),o=C.parser?.yy;if(!(o instanceof B))throw Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");i.debug(r),_(r,o)},"parse")},Y=t((e,r,o,s)=>{let l=s.db,d=l.getConfig(),{rowHeight:a,paddingY:n,bitWidth:g,bitsPerRow:f}=d,p=l.getPacket(),h=l.getDiagramTitle(),b=a+n,c=b*(p.length+1)-(h?0:a),k=g*f+2,m=J(r);m.attr("viewBox",`0 0 ${k} ${c}`),W(m,c,k,d.useMaxWidth);for(let[x,u]of p.entries())j(m,u,x,d);m.append("text").text(h).attr("x",k/2).attr("y",c-b/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),j=t((e,r,o,{rowHeight:s,paddingX:l,paddingY:d,bitWidth:a,bitsPerRow:n,showBits:g,bitOrder:f})=>{let p=e.append("g"),h=o*(s+d)+d,b=f==="descending";for(let c of r){let k=c.end-c.start+1,m=c.start%n,u=(b?n-m-k:m)*a+1,w=k*a-l;if(p.append("rect").attr("x",u).attr("y",h).attr("width",w).attr("height",s).attr("class","packetBlock"),p.append("text").attr("x",u+w/2).attr("y",h+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(c.label),!g)continue;let[S,T]=b?[c.end,c.start]:[c.start,c.end],v=k===1,y=h-2;if(p.append("text").attr("x",u+(v?w/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",v?"middle":"start").text(S),!v)p.append("text").attr("x",u+w).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(T)}},"drawWord"),G={draw:Y},H={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},K=t(({packet:e}={})=>{let r=Z(H,e);return`
2
+ .packetByte {
3
+ font-size: ${r.byteFontSize};
4
+ }
5
+ .packetByte.start {
6
+ fill: ${r.startByteColor};
7
+ }
8
+ .packetByte.end {
9
+ fill: ${r.endByteColor};
10
+ }
11
+ .packetLabel {
12
+ fill: ${r.labelColor};
13
+ font-size: ${r.labelFontSize};
14
+ }
15
+ .packetTitle {
16
+ fill: ${r.titleColor};
17
+ font-size: ${r.titleFontSize};
18
+ }
19
+ .packetBlock {
20
+ stroke: ${r.blockStrokeColor};
21
+ stroke-width: ${r.blockStrokeWidth};
22
+ fill: ${r.blockFillColor};
23
+ }
24
+ `},"styles"),rt={parser:C,get db(){return new B},renderer:G,styles:K};export{rt as diagram};
Binary file
Binary file
@@ -0,0 +1,99 @@
1
+ import{t,or,i,Ie,C,N,M,P,R,I,O,D,d,g,H,St,Hi,De,Ne,Me,fn,He,Ue}from"./chunk-sawc81kc.js";import{Fn}from"./chunk-fs39pqet.js";import{ze}from"./chunk-fjvd2dx2.js";import{Pe}from"./chunk-xmp1ag6z.js";var Ge=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],S=[1,11],y=[1,12],T=[1,30],f=[1,23],_=[1,24],w=[1,25],q=[1,26],X=[1,27],x=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Oe=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],Ye=[69,70,71,72,73],Ke=[1,91],Ze=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],je=[1,110],qe=[1,109],We=[20,43,51,53,54,55],Ae=[18,61,64,66],Re={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,m,e,he){var r=e.length-1;switch(m){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Oe,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:x,51:V,53:F,54:Y,55:z},{10:51,43:x,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:x,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Oe,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Oe,73:xe},s(Ye,[2,82]),s(Ye,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ke,50:pe},{43:[1,92],44:[1,93]},s(Ze,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ke,50:pe},s(u,[2,32]),{10:97,36:96,43:x,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:x,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:je,66:qe}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:V,53:F,54:Y,55:z},s(We,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:qe}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ze,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(We,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:je},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],m=[null],e=[],he=this.table,r="",_e=0,Qe=0,Xe=0,rt=2,Je=1,at=e.slice.call(arguments,1),E=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(E.setInput(o,W.yy),W.yy.lexer=E,W.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var Le=E.yylloc;e.push(Le);var nt=E.options&&E.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(L){p.length=p.length-2*L,m.length=m.length-L,e.length=e.length-L}t(ot,"popStack");function $e(){var L=a.pop()||E.lex()||Je;if(typeof L!=="number"){if(L instanceof Array)a=L,L=a.pop();L=c.symbols_[L]||L}return L}t($e,"lex");var A,we,Q,v,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])v=this.defaultActions[Q];else{if(A===null||typeof A>"u")A=$e();v=he[Q]&&he[Q][A]}if(typeof v>"u"||!v.length||!v[0]){var Be="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(E.showPosition)Be="Parse error on line "+(_e+1)+`:
2
+ `+E.showPosition()+`
3
+ Expecting `+Ee.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else Be="Parse error on line "+(_e+1)+": Unexpected "+(A==Je?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(Be,{text:E.match,token:this.terminals_[A]||A,line:E.yylineno,loc:Le,expected:Ee})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+A);switch(v[0]){case 1:if(p.push(A),m.push(E.yytext),e.push(E.yylloc),p.push(v[1]),A=null,!we){if(Qe=E.yyleng,r=E.yytext,_e=E.yylineno,Le=E.yylloc,Xe>0)Xe--}else A=we,we=null;break;case 2:if(B=this.productions_[v[1]][1],ee.$=m[m.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,Qe,_e,W.yy,v[1],m,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),m=m.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[v[1]][0]),m.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)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),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=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),p.length-1)this.yylineno-=p.length-1;var m=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:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-c];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(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,m;if(this.options.backtrack_lexer){if(m={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)m.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in m)this[e]=m[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var e=0;e<m.length;e++)if(p=this._input.match(this.rules[m[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,m[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,m[a]),o!==!1)return o;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 c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>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(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,m){var e=m;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?: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,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Re.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Re,Re.Parser=ye,new ye}();Ge.parser=Ge;var lt=Ge,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let y=this.addEntity(s);if(!y)return;h=y.id}let k;if(this.subGraphLookup.has(b))k=b;else{let y=this.addEntity(b);if(!y)return;k=y.id}let S={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(S),i.debug("Added new relationship :",S)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,S=t((_)=>{let w=new Set,q;return{nodeList:_.filter((x)=>{if(x?.stmt){if(x.stmt==="dir")q=x.value;return!1}if(typeof x!=="string")return!1;let G=x.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:y,dir:T}=S;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:y,title:h.trim(),classes:[],cssStyles:[],dir:T,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,N()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let _=n[f];if(_.nodes.length>0)k.set(_.id,!0);for(let w of _.nodes)h.set(w,_.id)}for(let f=n.length-1;f>=0;f--){let _=n[f];s.push({id:_.id,label:_.title,labelStyle:"",labelType:_.labelType,parentId:h.get(_.id),padding:8,cssCompiledStyles:this.getCompiledStyles(_.classes),cssStyles:_.cssStyles,cssClasses:_.classes.join(" "),shape:"rect",dir:_.dir,isGroup:!0,look:b.look})}let S=new Set(n.map((f)=>f.id)),y=0;for(let f of this.entities.keys()){if(S.has(f))continue;let _=this.entities.get(f);if(_)_.cssCompiledStyles=this.getCompiledStyles(_.cssClasses.split(" ")),_.colorIndex=y++,s.push({..._,parentId:h.get(f),isGroup:!1})}let T=0;for(let f of this.relationships){let _={id:St(f.entityA,f.entityB,{prefix:"id",counter:T++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(_)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};or(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:S}=d(),y=n.db.getData(),T=ze(l,h);y.type=n.type,y.layoutAlgorithm=Ue(S),y.config.flowchart.nodeSpacing=k?.nodeSpacing||140,y.config.flowchart.rankSpacing=k?.rankSpacing||80,y.direction=n.db.getDirection();let{config:f}=y,{look:_}=f;if(_==="neo")y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];y.diagramId=l,await He(y,T);let w=T.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=g(this),G=X.attr("id").replace("-background",""),te=T.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(T,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),Pe(T,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=Fn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Ie(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Ne(l,n))return"";let h=Me(s.look),k=De(b),S="";for(let y=0;y<fn(n);y++){let T=n[y],f=k?`fill: ${b[y%b.length]};`:"";S+=`
7
+
8
+ [data-look="${h}"][data-color-id="color-${y}"].node path {
9
+ stroke: ${T};
10
+ ${f}
11
+ }
12
+
13
+ [data-look="${h}"][data-color-id="color-${y}"].node rect {
14
+ stroke: ${T};
15
+ ${f}
16
+ }
17
+ `}return S},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
18
+ ${ut(s)}
19
+ .entityBox {
20
+ fill: ${s.mainBkg};
21
+ stroke: ${s.nodeBorder};
22
+ }
23
+
24
+ .relationshipLabelBox {
25
+ fill: ${s.tertiaryColor};
26
+ opacity: 0.7;
27
+ background-color: ${s.tertiaryColor};
28
+ rect {
29
+ opacity: 0.5;
30
+ }
31
+ }
32
+
33
+ .labelBkg {
34
+ background-color: ${Hi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
35
+ }
36
+
37
+ .edgeLabel {
38
+ background-color: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
39
+ }
40
+ .edgeLabel .label rect {
41
+ fill: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
42
+ }
43
+ .edgeLabel .label text {
44
+ fill: ${s.textColor};
45
+ }
46
+
47
+ .edgeLabel .label {
48
+ fill: ${s.nodeBorder};
49
+ font-size: 14px;
50
+ }
51
+
52
+ .label {
53
+ font-family: ${s.fontFamily};
54
+ color: ${s.nodeTextColor||s.textColor};
55
+ }
56
+
57
+ .edge-pattern-dashed {
58
+ stroke-dasharray: 8,8;
59
+ }
60
+
61
+ .node rect,
62
+ .node circle,
63
+ .node ellipse,
64
+ .node polygon
65
+ {
66
+ fill: ${s.mainBkg};
67
+ stroke: ${s.nodeBorder};
68
+ stroke-width: ${l==="neo"?h:"1px"};
69
+ }
70
+
71
+ .relationshipLine {
72
+ stroke: ${s.lineColor};
73
+ stroke-width: ${l==="neo"?h:"1px"};
74
+ fill: none;
75
+ }
76
+
77
+ .marker {
78
+ fill: none !important;
79
+ stroke: ${s.lineColor} !important;
80
+ stroke-width: 1;
81
+ }
82
+ [data-look=neo].labelBkg {
83
+ background-color: ${tt(s.tertiaryColor,0.5)};
84
+ }
85
+
86
+ .cluster rect {
87
+ fill: ${s.clusterBkg??s.mainBkg};
88
+ stroke: ${s.clusterBorder??s.nodeBorder};
89
+ stroke-width: 1px;
90
+ }
91
+
92
+ .cluster text {
93
+ fill: ${s.titleColor??s.textColor};
94
+ }
95
+
96
+ .cluster-label text {
97
+ fill: ${s.titleColor??s.textColor};
98
+ }
99
+ `},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{E,a,e,n,ot,en,Q,Ce,dc}from"./chunk-6f1q0tjv.js";function T(t){let i=E(ot);i?.useTheme?.();let s=t.payload,[o,m]=a(!1);if(!s||s.state==="pending")return null;let h=s.questions.map((r)=>r.header).join(" · "),l=s.state==="answered",u=l?Q:en,d=l?"text-success":"text-faint",f=l?"已回答":s.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(s):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-xs text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(Ce,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})]})}function c(t){if(!t)return"未作答";let i=t.selected.map((s)=>dc(s).title);if(t.other)i.push(`其他:${t.other}`);return i.length?i.join("、"):"未作答"}function g(t){if(t.questions.length===1)return`${t.questions[0]?.header??""} · ${c(t.answers?.[0])}`;return t.questions.map((i,s)=>`${i.header} → ${c(t.answers?.[s])}`).join(";")}function x(t){let i=t.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((s,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:s.header})," · ",s.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},s.header))})}export{T as QuestionCard};
Binary file
Binary file
@@ -0,0 +1,139 @@
1
+ import{t,W,N,M,P,R,I,O,D,d,g}from"./chunk-sawc81kc.js";import{yr,Ei,fc,Gt}from"./chunk-sex2gevj.js";import{_n}from"./chunk-495sjpc6.js";import{Tt}from"./chunk-kg39a24q.js";var nt=function(){var e=t(function(h,n,s,l){for(s=s||{},l=h.length;l--;s[h[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],i=[1,11],u=[1,12],m=[1,13],o=[1,14],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:t(function(n,s,l,y,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:y.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:i,16:u,17:m,18:o},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:15,11:a,12:p,14:i,16:u,17:m,18:o},e(r,[2,5]),e(r,[2,6]),e(r,[2,8]),{13:[1,16]},{15:[1,17]},e(r,[2,11]),e(r,[2,12]),{19:[1,18]},e(r,[2,4]),e(r,[2,9]),e(r,[2,10]),e(r,[2,13])],defaultActions:{},parseError:t(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:t(function(n){var s=this,l=[0],y=[],f=[null],c=[],w=this.table,_="",L=0,ot=0,ct=0,_t=2,ht=1,vt=c.slice.call(arguments,1),v=Object.create(this.lexer),j={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))j.yy[K]=this.yy[K];if(v.setInput(n,j.yy),j.yy.lexer=v,j.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var wt=v.options&&v.options.ranges;if(typeof j.yy.parseError==="function")this.parseError=j.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function St(E){l.length=l.length-2*E,f.length=f.length-E,c.length=c.length-E}t(St,"popStack");function ut(){var E=y.pop()||v.lex()||ht;if(typeof E!=="number"){if(E instanceof Array)y=E,E=y.pop();E=s.symbols_[E]||E}return E}t(ut,"lex");var T,tt,z,S,Ht,et,Y={},U,F,yt,Z;while(!0){if(z=l[l.length-1],this.defaultActions[z])S=this.defaultActions[z];else{if(T===null||typeof T>"u")T=ut();S=w[z]&&w[z][T]}if(typeof S>"u"||!S.length||!S[0]){var rt="";Z=[];for(U in w[z])if(this.terminals_[U]&&U>_t)Z.push("'"+this.terminals_[U]+"'");if(v.showPosition)rt="Parse error on line "+(L+1)+`:
2
+ `+v.showPosition()+`
3
+ Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else rt="Parse error on line "+(L+1)+": Unexpected "+(T==ht?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(rt,{text:v.match,token:this.terminals_[T]||T,line:v.yylineno,loc:Q,expected:Z})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+z+", token: "+T);switch(S[0]){case 1:if(l.push(T),f.push(v.yytext),c.push(v.yylloc),l.push(S[1]),T=null,!tt){if(ot=v.yyleng,_=v.yytext,L=v.yylineno,Q=v.yylloc,ct>0)ct--}else T=tt,tt=null;break;case 2:if(F=this.productions_[S[1]][1],Y.$=f[f.length-F],Y._$={first_line:c[c.length-(F||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(F||1)].first_column,last_column:c[c.length-1].last_column},wt)Y._$.range=[c[c.length-(F||1)].range[0],c[c.length-1].range[1]];if(et=this.performAction.apply(Y,[_,ot,L,j.yy,S[1],f,c].concat(vt)),typeof et<"u")return et;if(F)l=l.slice(0,-1*F*2),f=f.slice(0,-1*F),c=c.slice(0,-1*F);l.push(this.productions_[S[1]][0]),f.push(Y.$),c.push(Y._$),yt=w[l[l.length-2]][l[l.length-1]],l.push(yt);break;case 3:return!0}}return!0},"parse")},k=function(){var h={EOF:1,parseError:t(function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw Error(s)},"parseError"),setInput:t(function(n,s){if(this.yy=s||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);if(s)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),n},"input"),unput:t(function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var y=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),l.length-1)this.yylineno-=l.length-1;var f=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:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[f[0],f[0]+this.yyleng-s];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(n){this.unput(this.match.slice(n))},"less"),pastInput:t(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var n=this.pastInput(),s=Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
+ `+s+"^"},"showPosition"),test_match:t(function(n,s){var l,y,f;if(this.options.backtrack_lexer){if(f={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)f.yylloc.range=this.yylloc.range.slice(0)}if(y=n[0].match(/(?:\r\n?|\n).*/g),y)this.yylineno+=y.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(l)return l;else if(this._backtrack){for(var c in f)this[c]=f[c];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var n,s,l,y;if(!this._more)this.yytext="",this.match="";var f=this._currentRules();for(var c=0;c<f.length;c++)if(l=this._input.match(this.rules[f[c]]),l&&(!s||l[0].length>s[0].length)){if(s=l,y=c,this.options.backtrack_lexer)if(n=this.test_match(l,f[c]),n!==!1)return n;else if(this._backtrack){s=!1;continue}else return!1;else if(!this.options.flex)break}if(s){if(n=this.test_match(s,f[y]),n!==!1)return n;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 s=this.next();if(s)return s;else return this.lex()},"lex"),begin:t(function(s){this.conditionStack.push(s)},"begin"),popState:t(function(){var s=this.conditionStack.length-1;if(s>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(s){if(s=this.conditionStack.length-1-Math.abs(s||0),s>=0)return this.conditionStack[s];else return"INITIAL"},"topState"),pushState:t(function(s){this.begin(s)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(s,l,y,f){var c=f;switch(y){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return h}();x.lexer=k;function b(){this.yy={}}return t(b,"Parser"),b.prototype=x,x.Parser=b,new b}();nt.parser=nt;var $t=nt,q="",at=[],X=[],G=[],Mt=t(function(){at.length=0,X.length=0,q="",G.length=0,N()},"clear"),Et=t(function(e){q=e,at.push(e)},"addSection"),Ct=t(function(){return at},"getSections"),Pt=t(function(){let e=dt(),r=100,a=0;while(!e&&a<r)e=dt(),a++;return X.push(...G),X},"getTasks"),It=t(function(){let e=[];return X.forEach((a)=>{if(a.people)e.push(...a.people)}),[...new Set(e)].sort()},"updateActors"),At=t(function(e,r){let a=r.substr(1).split(":"),p=0,i=[];if(a.length===1)p=Number(a[0]),i=[];else p=Number(a[0]),i=a[1].split(",");let u=i.map((o)=>o.trim()),m={section:q,type:q,people:u,task:e,score:p};G.push(m)},"addTask"),Ft=t(function(e){let r={section:q,type:q,description:e,task:e,classes:[]};X.push(r)},"addTaskOrg"),dt=t(function(){let e=t(function(a){return G[a].processed},"compileTask"),r=!0;for(let[a,p]of G.entries())e(a),r=r&&p.processed;return r},"compileTasks"),Vt=t(function(){return It()},"getActors"),ft={getConfig:t(()=>d().journey,"getConfig"),clear:Mt,setDiagramTitle:O,getDiagramTitle:D,setAccTitle:M,getAccTitle:P,setAccDescription:R,getAccDescription:I,addSection:Et,getSections:Ct,getTasks:Pt,addTask:At,addTaskOrg:Ft,getActors:Vt},Rt=t((e)=>`.label {
7
+ font-family: ${e.fontFamily};
8
+ color: ${e.textColor};
9
+ }
10
+ .mouth {
11
+ stroke: #666;
12
+ }
13
+
14
+ line {
15
+ stroke: ${e.textColor}
16
+ }
17
+
18
+ .legend {
19
+ fill: ${e.textColor};
20
+ font-family: ${e.fontFamily};
21
+ }
22
+
23
+ .label text {
24
+ fill: #333;
25
+ }
26
+ .label {
27
+ color: ${e.textColor}
28
+ }
29
+
30
+ .face {
31
+ ${e.faceColor?`fill: ${e.faceColor}`:"fill: #FFF8DC"};
32
+ stroke: #999;
33
+ }
34
+
35
+ .node rect,
36
+ .node circle,
37
+ .node ellipse,
38
+ .node polygon,
39
+ .node path {
40
+ fill: ${e.mainBkg};
41
+ stroke: ${e.nodeBorder};
42
+ stroke-width: 1px;
43
+ }
44
+
45
+ .node .label {
46
+ text-align: center;
47
+ }
48
+ .node.clickable {
49
+ cursor: pointer;
50
+ }
51
+
52
+ .arrowheadPath {
53
+ fill: ${e.arrowheadColor};
54
+ }
55
+
56
+ .edgePaths .path {
57
+ stroke: ${e.lineColor};
58
+ stroke-width: 1.5px;
59
+ }
60
+
61
+ .flowchart-link {
62
+ stroke: ${e.lineColor};
63
+ fill: none;
64
+ }
65
+
66
+ .edgeLabel {
67
+ background-color: ${e.edgeLabelBackground};
68
+ rect {
69
+ opacity: 0.5;
70
+ }
71
+ text-align: center;
72
+ }
73
+
74
+ .cluster rect {
75
+ }
76
+
77
+ .cluster text {
78
+ fill: ${e.titleColor};
79
+ }
80
+
81
+ div.mermaidTooltip {
82
+ position: absolute;
83
+ text-align: center;
84
+ max-width: 200px;
85
+ padding: 2px;
86
+ font-family: ${e.fontFamily};
87
+ font-size: 12px;
88
+ background: ${e.tertiaryColor};
89
+ border: 1px solid ${e.border2};
90
+ border-radius: 2px;
91
+ pointer-events: none;
92
+ z-index: 100;
93
+ }
94
+
95
+ .task-type-0, .section-type-0 {
96
+ ${e.fillType0?`fill: ${e.fillType0}`:""};
97
+ }
98
+ .task-type-1, .section-type-1 {
99
+ ${e.fillType0?`fill: ${e.fillType1}`:""};
100
+ }
101
+ .task-type-2, .section-type-2 {
102
+ ${e.fillType0?`fill: ${e.fillType2}`:""};
103
+ }
104
+ .task-type-3, .section-type-3 {
105
+ ${e.fillType0?`fill: ${e.fillType3}`:""};
106
+ }
107
+ .task-type-4, .section-type-4 {
108
+ ${e.fillType0?`fill: ${e.fillType4}`:""};
109
+ }
110
+ .task-type-5, .section-type-5 {
111
+ ${e.fillType0?`fill: ${e.fillType5}`:""};
112
+ }
113
+ .task-type-6, .section-type-6 {
114
+ ${e.fillType0?`fill: ${e.fillType6}`:""};
115
+ }
116
+ .task-type-7, .section-type-7 {
117
+ ${e.fillType0?`fill: ${e.fillType7}`:""};
118
+ }
119
+
120
+ .actor-0 {
121
+ ${e.actor0?`fill: ${e.actor0}`:""};
122
+ }
123
+ .actor-1 {
124
+ ${e.actor1?`fill: ${e.actor1}`:""};
125
+ }
126
+ .actor-2 {
127
+ ${e.actor2?`fill: ${e.actor2}`:""};
128
+ }
129
+ .actor-3 {
130
+ ${e.actor3?`fill: ${e.actor3}`:""};
131
+ }
132
+ .actor-4 {
133
+ ${e.actor4?`fill: ${e.actor4}`:""};
134
+ }
135
+ .actor-5 {
136
+ ${e.actor5?`fill: ${e.actor5}`:""};
137
+ }
138
+ ${Tt()}
139
+ `,"getStyles"),Lt=Rt,lt=t(function(e,r){return yr(e,r)},"drawRect"),Bt=t(function(e,r){let p=e.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",r.cx-5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",r.cx+5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function u(x){let k=_n().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}t(u,"smile");function m(x){let k=_n().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}t(m,"sad");function o(x){x.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(o,"ambivalent"),r.score>3)u(i);else if(r.score<3)m(i);else o(i);return p},"drawFace"),mt=t(function(e,r){let a=e.append("circle");if(a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0)a.attr("class",a.class);if(r.title!==void 0)a.append("title").text(r.title);return a},"drawCircle"),xt=t(function(e,r){return fc(e,r)},"drawText"),jt=t(function(e,r){function a(i,u,m,o,x){return i+","+u+" "+(i+m)+","+u+" "+(i+m)+","+(u+o-x)+" "+(i+m-x*1.2)+","+(u+o)+" "+i+","+(u+o)}t(a,"genPoints");let p=e.append("polygon");p.attr("points",a(r.x,r.y,50,20,7)),p.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+0.5*r.labelMargin,xt(e,r)},"drawLabel"),Nt=t(function(e,r,a){let p=e.append("g"),i=Gt();i.x=r.x,i.y=r.y,i.fill=r.fill,i.width=a.width*r.taskCount+a.diagramMarginX*(r.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+r.num,i.rx=3,i.ry=3,lt(p,i),kt(a)(r.text,p,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),st=-1,zt=t(function(e,r,a,p){let i=r.x+a.width/2,u=e.append("g");st++;let m=450;u.append("line").attr("id",p+"-task"+st).attr("x1",i).attr("y1",r.y).attr("x2",i).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Bt(u,{cx:i,cy:300+(5-r.score)*30,score:r.score});let o=Gt();o.x=r.x,o.y=r.y,o.fill=r.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+r.num,o.rx=3,o.ry=3,lt(u,o);let x=r.x+14;r.people.forEach((k)=>{let b=r.actors[k].color,h={cx:x,cy:r.y,r:7,fill:b,stroke:"#000",title:k,pos:r.actors[k].position};mt(u,h),x+=10}),kt(a)(r.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,r.colour)},"drawTask"),Wt=t(function(e,r){Ei(e,r)},"drawBackgroundRect"),kt=function(){function e(i,u,m,o,x,k,b,h){let n=u.append("text").attr("x",m+x/2).attr("y",o+k/2+5).style("font-color",h).style("text-anchor","middle").text(i);p(n,b)}t(e,"byText");function r(i,u,m,o,x,k,b,h,n){let{taskFontSize:s,taskFontFamily:l}=h,y=i.split(/<br\s*\/?>/gi);for(let f=0;f<y.length;f++){let c=f*s-s*(y.length-1)/2,w=u.append("text").attr("x",m+x/2).attr("y",o).attr("fill",n).style("text-anchor","middle").style("font-size",s).style("font-family",l);w.append("tspan").attr("x",m+x/2).attr("dy",c).text(y[f]),w.attr("y",o+k/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(w,b)}}t(r,"byTspan");function a(i,u,m,o,x,k,b,h){let n=u.append("switch"),l=n.append("foreignObject").attr("x",m).attr("y",o).attr("width",x).attr("height",k).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),r(i,n,m,o,x,k,b,h),p(l,b)}t(a,"byFo");function p(i,u){for(let m in u)if(m in u)i.attr(m,u[m])}return t(p,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?e:r}}(),Ot=t(function(e,r){st=-1,e.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),H={drawRect:lt,drawCircle:mt,drawSection:Nt,drawText:xt,drawLabel:jt,drawTask:zt,drawBackgroundRect:Wt,initGraphics:Ot},Yt=t(function(e){Object.keys(e).forEach(function(a){A[a]=e[a]})},"setConf"),V={},J=0;function bt(e){let r=d().journey,a=r.maxLabelWidth;J=0;let p=60;Object.keys(V).forEach((i)=>{let u=V[i].color,m={cx:20,cy:p,r:7,fill:u,stroke:"#000",pos:V[i].position};H.drawCircle(e,m);let o=e.append("text").attr("visibility","hidden").text(i),x=o.node().getBoundingClientRect().width;o.remove();let k=[];if(x<=a)k=[i];else{let b=i.split(" "),h="";if(o=e.append("text").attr("visibility","hidden"),b.forEach((n)=>{let s=h?`${h} ${n}`:n;if(o.text(s),o.node().getBoundingClientRect().width>a){if(h)k.push(h);if(h=n,o.text(n),o.node().getBoundingClientRect().width>a){let y="";for(let f of n)if(y+=f,o.text(y+"-"),o.node().getBoundingClientRect().width>a)k.push(y.slice(0,-1)+"-"),y=f;h=y}}else h=s}),h)k.push(h);o.remove()}k.forEach((b,h)=>{let n={x:40,y:p+7+h*20,fill:"#666",text:b,textMargin:r.boxTextMargin??5},l=H.drawText(e,n).node().getBoundingClientRect().width;if(l>J&&l>r.leftMargin-l)J=l}),p+=Math.max(20,k.length*20)})}t(bt,"drawActorLegend");var A=d().journey,B=0,qt=t(function(e,r,a,p){let i=d(),u=i.journey.titleColor,m=i.journey.titleFontSize,o=i.journey.titleFontFamily,x=i.securityLevel,k;if(x==="sandbox")k=g("#i"+r);let b=x==="sandbox"?g(k.nodes()[0].contentDocument.body):g("body");C.init();let h=b.select("#"+r);H.initGraphics(h,r);let n=p.db.getTasks(),s=p.db.getDiagramTitle(),l=p.db.getActors();for(let L in V)delete V[L];let y=0;l.forEach((L)=>{V[L]={color:A.actorColours[y%A.actorColours.length],position:y},y++}),bt(h),B=A.leftMargin+J,C.insert(0,0,B,Object.keys(V).length*50),Xt(h,n,0,r);let f=C.getBounds();if(s)h.append("text").text(s).attr("x",B).attr("font-size",m).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);let c=f.stopy-f.starty+2*A.diagramMarginY,w=B+f.stopx+2*A.diagramMarginX;W(h,c,w,A.useMaxWidth),h.append("line").attr("x1",B).attr("y1",A.height*4).attr("x2",w-B-4).attr("y2",A.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+r+"-arrowhead)");let _=s?70:0;h.attr("viewBox",`${f.startx} -25 ${w} ${c+_}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+_+25)},"draw"),C={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:t(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:t(function(e,r,a,p){if(e[r]===void 0)e[r]=a;else e[r]=p(a,e[r])},"updateVal"),updateBounds:t(function(e,r,a,p){let i=d().journey,u=this,m=0;function o(x){return t(function(b){m++;let h=u.sequenceItems.length-m+1;if(u.updateVal(b,"starty",r-h*i.boxMargin,Math.min),u.updateVal(b,"stopy",p+h*i.boxMargin,Math.max),u.updateVal(C.data,"startx",e-h*i.boxMargin,Math.min),u.updateVal(C.data,"stopx",a+h*i.boxMargin,Math.max),x!=="activation")u.updateVal(b,"startx",e-h*i.boxMargin,Math.min),u.updateVal(b,"stopx",a+h*i.boxMargin,Math.max),u.updateVal(C.data,"starty",r-h*i.boxMargin,Math.min),u.updateVal(C.data,"stopy",p+h*i.boxMargin,Math.max)},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:t(function(e,r,a,p){let i=Math.min(e,a),u=Math.max(e,a),m=Math.min(r,p),o=Math.max(r,p);this.updateVal(C.data,"startx",i,Math.min),this.updateVal(C.data,"starty",m,Math.min),this.updateVal(C.data,"stopx",u,Math.max),this.updateVal(C.data,"stopy",o,Math.max),this.updateBounds(i,m,u,o)},"insert"),bumpVerticalPos:t(function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return this.data},"getBounds")},{sectionFills:it,sectionColours:pt}=A,Xt=t(function(e,r,a,p){let i=d().journey,u="",m=i.height*2+i.diagramMarginY,o=a+m,x=0,k="#CCC",b="black",h=0;for(let[n,s]of r.entries()){if(u!==s.section){k=it[x%it.length],h=x%it.length,b=pt[x%pt.length];let y=0,f=s.section;for(let w=n;w<r.length;w++)if(r[w].section==f)y=y+1;else break;let c={x:n*i.taskMargin+n*i.width+B,y:50,text:s.section,fill:k,num:h,colour:b,taskCount:y};H.drawSection(e,c,i),u=s.section,x++}let l=s.people.reduce((y,f)=>{if(V[f])y[f]=V[f];return y},{});s.x=n*i.taskMargin+n*i.width+B,s.y=o,s.width=i.diagramMarginX,s.height=i.diagramMarginY,s.colour=b,s.fill=k,s.num=h,s.actors=l,H.drawTask(e,s,i,p),C.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}},"drawTasks"),gt={setConf:Yt,draw:qt},ee={parser:$t,db:ft,renderer:gt,styles:Lt,init:t((e)=>{gt.setConf(e.journey),ft.clear()},"init")};export{ee as diagram};
Binary file
Binary file
@@ -0,0 +1,7 @@
1
+ import{t,i,Qe,F,q,W,N,M,P,R,I,O,D,d,g}from"./chunk-sawc81kc.js";import"./chunk-07kt1zpn.js";import{xn}from"./chunk-6ew54553.js";var Ut=function(){var e=t(function(st,o,h,f){for(h=h||{},f=st.length;f--;h[st[f]]=o);return h},"o"),r=[1,3],T=[1,4],y=[1,5],l=[1,6],p=[1,7],L=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],u=[55,56,57],v=[2,36],_=[1,37],A=[1,36],m=[1,38],k=[1,35],S=[1,43],b=[1,41],E=[1,45],St=[1,14],_t=[1,23],At=[1,18],Ft=[1,19],mt=[1,20],zt=[1,21],qt=[1,22],n=[1,24],Ot=[1,25],Ht=[1,26],Xt=[1,27],Mt=[1,28],Yt=[1,29],tt=[1,32],et=[1,33],z=[1,34],V=[1,39],w=[1,40],B=[1,42],U=[1,44],at=[1,63],nt=[1,62],Q=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],jt=[1,66],Gt=[1,67],Kt=[1,68],Zt=[1,69],Jt=[1,70],$t=[1,71],te=[1,72],ee=[1,73],ie=[1,74],ae=[1,75],ne=[1,76],re=[1,77],G=[4,5,6,7,8,9,10,11,12,13,14,15,18],ht=[1,91],ct=[1,92],dt=[1,93],ut=[1,100],xt=[1,94],ft=[1,97],gt=[1,95],pt=[1,96],yt=[1,98],bt=[1,99],Vt=[1,103],se=[10,55,56,57],K=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],It={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:t(function(o,h,f,x,C,a,kt){var s=a.length-1;switch(C){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+""+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],x.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),x.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),x.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),x.setAccDescription(this.$);break;case 46:x.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:x.addPoint(a[s-3],"",a[s-1],a[s],[]);break;case 48:x.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:x.addPoint(a[s-4],"",a[s-2],a[s-1],a[s]);break;case 50:x.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:x.setXAxisLeftText(a[s-2]),x.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=" ⟶ ",x.setXAxisLeftText(a[s-1]);break;case 53:x.setXAxisLeftText(a[s]);break;case 54:x.setYAxisBottomText(a[s-2]),x.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=" ⟶ ",x.setYAxisBottomText(a[s-1]);break;case 56:x.setYAxisBottomText(a[s]);break;case 57:x.setQuadrant1Text(a[s]);break;case 58:x.setQuadrant2Text(a[s]);break;case 59:x.setQuadrant3Text(a[s]);break;case 60:x.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:"text"};break;case 65:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:"text"};break;case 67:this.$={text:a[s],type:"markdown"};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+""+a[s];break}},"anonymous"),table:[{18:r,26:1,27:2,28:T,55:y,56:l,57:p},{1:[3]},{18:r,26:8,27:2,28:T,55:y,56:l,57:p},{18:r,26:9,27:2,28:T,55:y,56:l,57:p},e(L,[2,33],{29:10}),e(c,[2,61]),e(c,[2,62]),e(c,[2,63]),{1:[2,30]},{1:[2,31]},e(u,v,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:_,5:A,10:m,12:k,13:S,14:b,15:E,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:z,64:V,65:w,66:B,67:U}),e(L,[2,34]),{27:46,55:y,56:l,57:p},e(u,[2,37]),e(u,v,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:_,5:A,10:m,12:k,13:S,14:b,15:E,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:z,64:V,65:w,66:B,67:U}),e(u,[2,39]),e(u,[2,40]),e(u,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(u,[2,45]),e(u,[2,46]),{18:[1,51]},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:52,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:53,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:54,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:55,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:56,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:E,43:57,58:31,60:tt,61:et,63:z,64:V,65:w,66:B,67:U},{4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,44:[1,58],47:[1,59],58:61,59:60,63:z,64:V,65:w,66:B,67:U},e(Q,[2,64]),e(Q,[2,66]),e(Q,[2,67]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(Q,[2,74]),e(Q,[2,75]),e(Q,[2,76]),e(Q,[2,77]),e(Q,[2,78]),e(Q,[2,79]),e(Q,[2,80]),e(Q,[2,81]),e(L,[2,35]),e(u,[2,38]),e(u,[2,42]),e(u,[2,43]),e(u,[2,44]),{3:65,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,21:64},e(u,[2,53],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,49:[1,78],63:z,64:V,65:w,66:B,67:U}),e(u,[2,56],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,49:[1,79],63:z,64:V,65:w,66:B,67:U}),e(u,[2,57],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),e(u,[2,58],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),e(u,[2,59],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),e(u,[2,60],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),{45:[1,80]},{44:[1,81]},e(Q,[2,65]),e(Q,[2,82]),e(Q,[2,83]),e(Q,[2,84]),{3:83,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,18:[1,82]},e(G,[2,23]),e(G,[2,1]),e(G,[2,2]),e(G,[2,3]),e(G,[2,4]),e(G,[2,5]),e(G,[2,6]),e(G,[2,7]),e(G,[2,8]),e(G,[2,9]),e(G,[2,10]),e(G,[2,11]),e(G,[2,12]),e(u,[2,52],{58:31,43:84,4:_,5:A,10:m,12:k,13:S,14:b,15:E,60:tt,61:et,63:z,64:V,65:w,66:B,67:U}),e(u,[2,55],{58:31,43:85,4:_,5:A,10:m,12:k,13:S,14:b,15:E,60:tt,61:et,63:z,64:V,65:w,66:B,67:U}),{46:[1,86]},{45:[1,87]},{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:89,23:88},e(G,[2,24]),e(u,[2,51],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),e(u,[2,54],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:E,18:nt,63:z,64:V,65:w,66:B,67:U}),e(u,[2,47],{22:89,16:90,23:101,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{46:[1,102]},e(u,[2,29],{10:Vt}),e(se,[2,27],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),e(K,[2,25]),e(K,[2,13]),e(K,[2,14]),e(K,[2,15]),e(K,[2,16]),e(K,[2,17]),e(K,[2,18]),e(K,[2,19]),e(K,[2,20]),e(K,[2,21]),e(K,[2,22]),e(u,[2,49],{10:Vt}),e(u,[2,48],{22:89,16:90,23:105,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:106},e(K,[2,26]),e(u,[2,50],{10:Vt}),e(se,[2,28],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt})],defaultActions:{8:[2,30],9:[2,31]},parseError:t(function(o,h){if(h.recoverable)this.trace(o);else{var f=Error(o);throw f.hash=h,f}},"parseError"),parse:t(function(o){var h=this,f=[0],x=[],C=[null],a=[],kt=this.table,s="",vt=0,oe=0,le=0,ve=2,he=1,Ce=a.slice.call(arguments,1),H=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))ot.yy[wt]=this.yy[wt];if(H.setInput(o,ot.yy),ot.yy.lexer=H,ot.yy.parser=this,typeof H.yylloc>"u")H.yylloc={};var Bt=H.yylloc;a.push(Bt);var Le=H.options&&H.options.ranges;if(typeof ot.yy.parseError==="function")this.parseError=ot.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ee(J){f.length=f.length-2*J,C.length=C.length-J,a.length=a.length-J}t(Ee,"popStack");function ce(){var J=x.pop()||H.lex()||he;if(typeof J!=="number"){if(J instanceof Array)x=J,J=x.pop();J=h.symbols_[J]||J}return J}t(ce,"lex");var Y,Rt,lt,Z,Re,Nt,Tt={},Ct,rt,de,Lt;while(!0){if(lt=f[f.length-1],this.defaultActions[lt])Z=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=ce();Z=kt[lt]&&kt[lt][Y]}if(typeof Z>"u"||!Z.length||!Z[0]){var Wt="";Lt=[];for(Ct in kt[lt])if(this.terminals_[Ct]&&Ct>ve)Lt.push("'"+this.terminals_[Ct]+"'");if(H.showPosition)Wt="Parse error on line "+(vt+1)+`:
2
+ `+H.showPosition()+`
3
+ Expecting `+Lt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Wt="Parse error on line "+(vt+1)+": Unexpected "+(Y==he?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Wt,{text:H.match,token:this.terminals_[Y]||Y,line:H.yylineno,loc:Bt,expected:Lt})}if(Z[0]instanceof Array&&Z.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(Z[0]){case 1:if(f.push(Y),C.push(H.yytext),a.push(H.yylloc),f.push(Z[1]),Y=null,!Rt){if(oe=H.yyleng,s=H.yytext,vt=H.yylineno,Bt=H.yylloc,le>0)le--}else Y=Rt,Rt=null;break;case 2:if(rt=this.productions_[Z[1]][1],Tt.$=C[C.length-rt],Tt._$={first_line:a[a.length-(rt||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(rt||1)].first_column,last_column:a[a.length-1].last_column},Le)Tt._$.range=[a[a.length-(rt||1)].range[0],a[a.length-1].range[1]];if(Nt=this.performAction.apply(Tt,[s,oe,vt,ot.yy,Z[1],C,a].concat(Ce)),typeof Nt<"u")return Nt;if(rt)f=f.slice(0,-1*rt*2),C=C.slice(0,-1*rt),a=a.slice(0,-1*rt);f.push(this.productions_[Z[1]][0]),C.push(Tt.$),a.push(Tt._$),de=kt[f[f.length-2]][f[f.length-1]],f.push(de);break;case 3:return!0}}return!0},"parse")},Pe=function(){var st={EOF:1,parseError:t(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw Error(h)},"parseError"),setInput:t(function(o,h){if(this.yy=h||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);if(h)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),o},"input"),unput:t(function(o){var h=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var x=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),f.length-1)this.yylineno-=f.length-1;var C=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:f?(f.length===x.length?this.yylloc.first_column:0)+x[x.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges)this.yylloc.range=[C[0],C[0]+this.yyleng-h];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(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),h=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+h+"^"},"showPosition"),test_match:t(function(o,h){var f,x,C;if(this.options.backtrack_lexer){if(C={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)C.yylloc.range=this.yylloc.range.slice(0)}if(x=o[0].match(/(?:\r\n?|\n).*/g),x)this.yylineno+=x.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],f=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(f)return f;else if(this._backtrack){for(var a in C)this[a]=C[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,h,f,x;if(!this._more)this.yytext="",this.match="";var C=this._currentRules();for(var a=0;a<C.length;a++)if(f=this._input.match(this.rules[C[a]]),f&&(!h||f[0].length>h[0].length)){if(h=f,x=a,this.options.backtrack_lexer)if(o=this.test_match(f,C[a]),o!==!1)return o;else if(this._backtrack){h=!1;continue}else return!1;else if(!this.options.flex)break}if(h){if(o=this.test_match(h,C[x]),o!==!1)return o;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 h=this.next();if(h)return h;else return this.lex()},"lex"),begin:t(function(h){this.conditionStack.push(h)},"begin"),popState:t(function(){var h=this.conditionStack.length-1;if(h>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(h){if(h=this.conditionStack.length-1-Math.abs(h||0),h>=0)return this.conditionStack[h];else return"INITIAL"},"topState"),pushState:t(function(h){this.begin(h)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(h,f,x,C){var a=C;switch(x){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return st}();It.lexer=Pe;function Pt(){this.yy={}}return t(Pt,"Parser"),Pt.prototype=It,It.Parser=Pt,new Pt}();Ut.parser=Ut;var De=Ut,j=Qe(),ze=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{t(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:F.quadrantChart?.chartWidth||500,chartWidth:F.quadrantChart?.chartHeight||500,titlePadding:F.quadrantChart?.titlePadding||10,titleFontSize:F.quadrantChart?.titleFontSize||20,quadrantPadding:F.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:F.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:F.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:F.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:F.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:F.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:F.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:F.quadrantChart?.pointTextPadding||5,pointLabelFontSize:F.quadrantChart?.pointLabelFontSize||12,pointRadius:F.quadrantChart?.pointRadius||5,xAxisPosition:F.quadrantChart?.xAxisPosition||"top",yAxisPosition:F.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:F.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:F.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:j.quadrant1Fill,quadrant2Fill:j.quadrant2Fill,quadrant3Fill:j.quadrant3Fill,quadrant4Fill:j.quadrant4Fill,quadrant1TextFill:j.quadrant1TextFill,quadrant2TextFill:j.quadrant2TextFill,quadrant3TextFill:j.quadrant3TextFill,quadrant4TextFill:j.quadrant4TextFill,quadrantPointFill:j.quadrantPointFill,quadrantPointTextFill:j.quadrantPointTextFill,quadrantXAxisTextFill:j.quadrantXAxisTextFill,quadrantYAxisTextFill:j.quadrantYAxisTextFill,quadrantTitleFill:j.quadrantTitleFill,quadrantInternalBorderStrokeFill:j.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:j.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,i.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){i.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){i.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,T,y){let l=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,p={top:e==="top"&&r?l:0,bottom:e==="bottom"&&r?l:0},L=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,c={left:this.config.yAxisPosition==="left"&&T?L:0,right:this.config.yAxisPosition==="right"&&T?L:0},u=this.config.titleFontSize+this.config.titlePadding*2,v={top:y?u:0},_=this.config.quadrantPadding+c.left,A=this.config.quadrantPadding+p.top+v.top,m=this.config.chartWidth-this.config.quadrantPadding*2-c.left-c.right,k=this.config.chartHeight-this.config.quadrantPadding*2-p.top-p.bottom-v.top,S=m/2,b=k/2;return{xAxisSpace:p,yAxisSpace:c,titleSpace:v,quadrantSpace:{quadrantLeft:_,quadrantTop:A,quadrantWidth:m,quadrantHalfWidth:S,quadrantHeight:k,quadrantHalfHeight:b}}}getAxisLabels(e,r,T,y){let{quadrantSpace:l,titleSpace:p}=y,{quadrantHalfHeight:L,quadrantHeight:c,quadrantLeft:u,quadrantHalfWidth:v,quadrantTop:_,quadrantWidth:A}=l,m=Boolean(this.data.xAxisRightText),k=Boolean(this.data.yAxisTopText),S=[];if(this.data.xAxisLeftText&&r)S.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:u+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.xAxisRightText&&r)S.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:u+v+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.yAxisBottomText&&T)S.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+u+A+this.config.quadrantPadding,y:_+c-(k?L/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});if(this.data.yAxisTopText&&T)S.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+u+A+this.config.quadrantPadding,y:_+L-(k?L/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});return S}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:T,quadrantLeft:y,quadrantHalfWidth:l,quadrantTop:p}=r,L=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p,width:l,height:T,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p,width:l,height:T,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant4Fill}];for(let c of L)if(c.text.x=c.x+c.width/2,this.data.points.length===0)c.text.y=c.y+c.height/2,c.text.horizontalPos="middle";else c.text.y=c.y+this.config.quadrantTextTopPadding,c.text.horizontalPos="top";return L}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:T,quadrantLeft:y,quadrantTop:l,quadrantWidth:p}=r,L=xn().domain([0,1]).range([y,p+y]),c=xn().domain([0,1]).range([T+l,l]);return this.data.points.map((v)=>{let _=this.classes.get(v.className);if(_)v={..._,...v};return{x:L(v.x),y:c(v.y),fill:v.color??this.themeConfig.quadrantPointFill,radius:v.radius??this.config.pointRadius,text:{text:v.text,fill:this.themeConfig.quadrantPointTextFill,x:L(v.x),y:c(v.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:v.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:v.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:T}=e,{quadrantHalfHeight:y,quadrantHeight:l,quadrantLeft:p,quadrantHalfWidth:L,quadrantTop:c,quadrantWidth:u}=T;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c,x2:p+u+r,y2:c},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p+u,y1:c+r,x2:p+u,y2:c+l-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c+l,x2:p+u+r,y2:c+l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p,y1:c+r,x2:p,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+L,y1:c+r,x2:p+L,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+r,y1:c+y,x2:p+u-r,y2:c+y}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2};return}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),T=this.config.showTitle&&!!this.data.titleText,y=this.data.points.length>0?"bottom":this.config.xAxisPosition,l=this.calculateSpace(y,e,r,T);return{points:this.getQuadrantPoints(l),quadrants:this.getQuadrants(l),axisLabels:this.getAxisLabels(y,e,r,l),borderLines:this.getBorders(l),title:this.getTitle(T)}}},Et=class extends Error{static{t(this,"InvalidStyleError")}constructor(e,r,T){super(`value for ${e} ${r} is invalid, please use a valid ${T}`);this.name="InvalidStyleError"}};function Qt(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}t(Qt,"validateHexCode");function ue(e){return!/^\d+$/.test(e)}t(ue,"validateNumber");function xe(e){return!/^\d+px$/.test(e)}t(xe,"validateSizeInPixels");function it(e){return q(e.trim(),d())}t(it,"textSanitizer");var X=new ze;function fe(e){X.setData({quadrant1Text:it(e.text)})}t(fe,"setQuadrant1Text");function ge(e){X.setData({quadrant2Text:it(e.text)})}t(ge,"setQuadrant2Text");function pe(e){X.setData({quadrant3Text:it(e.text)})}t(pe,"setQuadrant3Text");function ye(e){X.setData({quadrant4Text:it(e.text)})}t(ye,"setQuadrant4Text");function be(e){X.setData({xAxisLeftText:it(e.text)})}t(be,"setXAxisLeftText");function Te(e){X.setData({xAxisRightText:it(e.text)})}t(Te,"setXAxisRightText");function me(e){X.setData({yAxisTopText:it(e.text)})}t(me,"setYAxisTopText");function qe(e){X.setData({yAxisBottomText:it(e.text)})}t(qe,"setYAxisBottomText");function Dt(e){let r={};for(let T of e){let[y,l]=T.trim().split(/\s*:\s*/);if(y==="radius"){if(ue(l))throw new Et(y,l,"number");r.radius=parseInt(l)}else if(y==="color"){if(Qt(l))throw new Et(y,l,"hex code");r.color=l}else if(y==="stroke-color"){if(Qt(l))throw new Et(y,l,"hex code");r.strokeColor=l}else if(y==="stroke-width"){if(xe(l))throw new Et(y,l,"number of pixels (eg. 10px)");r.strokeWidth=l}else throw Error(`style named ${y} is not supported.`)}return r}t(Dt,"parseStyles");function ke(e,r,T,y,l){let p=Dt(l);X.addPoints([{x:T,y,text:it(e.text),className:r,...p}])}t(ke,"addPoint");function Se(e,r){X.addClass(e,Dt(r))}t(Se,"addClass");function _e(e){X.setConfig({chartWidth:e})}t(_e,"setWidth");function Ae(e){X.setConfig({chartHeight:e})}t(Ae,"setHeight");function Fe(){let e=d(),{themeVariables:r,quadrantChart:T}=e;if(T)X.setConfig(T);return X.setThemeConfig({quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantTitleFill:r.quadrantTitleFill}),X.setData({titleText:D()}),X.build()}t(Fe,"getQuadrantData");var Ve=t(function(){X.clear(),N()},"clear"),Ie={setWidth:_e,setHeight:Ae,setQuadrant1Text:fe,setQuadrant2Text:ge,setQuadrant3Text:pe,setQuadrant4Text:ye,setXAxisLeftText:be,setXAxisRightText:Te,setYAxisTopText:me,setYAxisBottomText:qe,parseStyles:Dt,addPoint:ke,addClass:Se,getQuadrantData:Fe,clear:Ve,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},we=t((e,r,T,y)=>{function l(n){return n==="top"?"hanging":"middle"}t(l,"getDominantBaseLine");function p(n){return n==="left"?"start":"middle"}t(p,"getTextAnchor");function L(n){return`translate(${n.x}, ${n.y}) rotate(${n.rotation||0})`}t(L,"getTransformation");let c=d();i.debug(`Rendering quadrant chart
7
+ `+e);let u=c.securityLevel,v;if(u==="sandbox")v=g("#i"+r);let A=(u==="sandbox"?g(v.nodes()[0].contentDocument.body):g("body")).select(`[id="${r}"]`),m=A.append("g").attr("class","main"),k=c.quadrantChart?.chartWidth??500,S=c.quadrantChart?.chartHeight??500;W(A,S,k,c.quadrantChart?.useMaxWidth??!0),A.attr("viewBox","0 0 "+k+" "+S),y.db.setHeight(S),y.db.setWidth(k);let b=y.db.getQuadrantData(),E=m.append("g").attr("class","quadrants"),St=m.append("g").attr("class","border"),_t=m.append("g").attr("class","data-points"),At=m.append("g").attr("class","labels"),Ft=m.append("g").attr("class","title");if(b.title)Ft.append("text").attr("x",0).attr("y",0).attr("fill",b.title.fill).attr("font-size",b.title.fontSize).attr("dominant-baseline",l(b.title.horizontalPos)).attr("text-anchor",p(b.title.verticalPos)).attr("transform",L(b.title)).text(b.title.text);if(b.borderLines)St.selectAll("line").data(b.borderLines).enter().append("line").attr("x1",(n)=>n.x1).attr("y1",(n)=>n.y1).attr("x2",(n)=>n.x2).attr("y2",(n)=>n.y2).style("stroke",(n)=>n.strokeFill).style("stroke-width",(n)=>n.strokeWidth);let mt=E.selectAll("g.quadrant").data(b.quadrants).enter().append("g").attr("class","quadrant");mt.append("rect").attr("x",(n)=>n.x).attr("y",(n)=>n.y).attr("width",(n)=>n.width).attr("height",(n)=>n.height).attr("fill",(n)=>n.fill),mt.append("text").attr("x",0).attr("y",0).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>L(n.text)).text((n)=>n.text.text),At.selectAll("g.label").data(b.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((n)=>n.text).attr("fill",(n)=>n.fill).attr("font-size",(n)=>n.fontSize).attr("dominant-baseline",(n)=>l(n.horizontalPos)).attr("text-anchor",(n)=>p(n.verticalPos)).attr("transform",(n)=>L(n));let qt=_t.selectAll("g.data-point").data(b.points).enter().append("g").attr("class","data-point");qt.append("circle").attr("cx",(n)=>n.x).attr("cy",(n)=>n.y).attr("r",(n)=>n.radius).attr("fill",(n)=>n.fill).attr("stroke",(n)=>n.strokeColor).attr("stroke-width",(n)=>n.strokeWidth),qt.append("text").attr("x",0).attr("y",0).text((n)=>n.text.text).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>L(n.text))},"draw"),Be={draw:we},Xe={parser:De,db:Ie,renderer:Be,styles:t(()=>"","styles")};export{Xe as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{La}from"./chunk-0m15ghn0.js";import"./chunk-cnptxet3.js";import"./chunk-1mkzfr1m.js";import"./chunk-6ycpdpfj.js";export{La as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ds}from"./chunk-4ab1dv3g.js";export{Ds as createGitGraphServices};
Binary file
Binary file
package/web/index.html CHANGED
@@ -52,7 +52,7 @@
52
52
  .catch(() => {})
53
53
  } catch {}
54
54
  </script>
55
- <link rel="stylesheet" crossorigin href="./chunk-vvbte0a5.css"><script type="module" crossorigin src="./chunk-4wpvkw6b.js"></script></head>
55
+ <link rel="stylesheet" crossorigin href="./chunk-pjbp0xwn.css"><script type="module" crossorigin src="./chunk-6f1q0tjv.js"></script></head>
56
56
  <body>
57
57
  <div id="root"><div class="boot-splash" role="status">正在加载 Basalt…</div></div>
58
58
 
package/web/index.html.br CHANGED
Binary file
package/web/index.html.gz CHANGED
Binary file