@bkm016/basalt 0.1.35 → 0.1.36

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 (1013) hide show
  1. package/README.md +1 -1
  2. package/chunk-082x3g29.js +3 -0
  3. package/chunk-0aaf270z.js +3 -0
  4. package/chunk-0dqv9x0y.js +51 -0
  5. package/chunk-0ns02fzq.js +2 -0
  6. package/chunk-0y13kfpt.js +5 -0
  7. package/chunk-1753m6xk.js +4179 -0
  8. package/chunk-24ae99b6.js +5 -0
  9. package/chunk-2cp8why4.js +2 -0
  10. package/chunk-3bdzn4h2.js +2 -0
  11. package/chunk-48m0w8xg.js +2 -0
  12. package/chunk-4pr7ykh0.js +2 -0
  13. package/chunk-4qtw5cga.js +12 -0
  14. package/chunk-4yqge35f.js +3 -0
  15. package/chunk-65rd9zn4.js +3 -0
  16. package/chunk-67ehvv4n.js +44 -0
  17. package/chunk-6wm62kte.js +18 -0
  18. package/chunk-6zkggkdm.js +13 -0
  19. package/chunk-78ferdza.js +3 -0
  20. package/chunk-794r8w6m.js +2 -0
  21. package/chunk-7azn0brs.js +7 -0
  22. package/chunk-7wh4n0yg.js +2 -0
  23. package/chunk-7z0wh161.js +25 -0
  24. package/chunk-95aqrqnh.js +2 -0
  25. package/chunk-a0zcps2d.js +2 -0
  26. package/chunk-a23pv6tv.js +3 -0
  27. package/chunk-adb2nbxk.js +2 -0
  28. package/chunk-as2ty5w5.js +3 -0
  29. package/chunk-b84y794v.js +3 -0
  30. package/chunk-bh80e336.js +3 -0
  31. package/chunk-c6azecvs.js +3 -0
  32. package/chunk-cc8h8mz9.js +2 -0
  33. package/chunk-cdb6caq7.js +3 -0
  34. package/chunk-cjdbsa9s.js +3 -0
  35. package/chunk-cnqgtmwm.js +10 -0
  36. package/chunk-cwn9vs1a.js +3 -0
  37. package/chunk-cxybp3fn.js +8 -0
  38. package/chunk-dea2htm4.js +2 -0
  39. package/chunk-e01wravf.js +12 -0
  40. package/chunk-f0pz8pvb.js +5 -0
  41. package/chunk-fvmrsrmq.js +3 -0
  42. package/chunk-fwdhn0gw.js +7 -0
  43. package/chunk-h7x8g57v.js +9 -0
  44. package/chunk-h8qhy3px.js +39 -0
  45. package/chunk-hsvchrh3.js +7 -0
  46. package/chunk-j1peg724.js +504 -0
  47. package/chunk-j2cse817.js +63 -0
  48. package/chunk-j3jzgw98.js +31 -0
  49. package/chunk-jmzdtefg.js +2 -0
  50. package/chunk-k0e6n6yy.js +3 -0
  51. package/chunk-mb2jqd5z.js +3 -0
  52. package/chunk-nbgtqpay.js +3 -0
  53. package/chunk-prfczhpq.js +10 -0
  54. package/chunk-pv25a7sw.js +2 -0
  55. package/chunk-q8m2x20d.js +286 -0
  56. package/chunk-qnkxeh37.js +3 -0
  57. package/chunk-qvfrv3rb.js +59 -0
  58. package/chunk-r14x07ez.js +2 -0
  59. package/chunk-r1kah65k.js +2 -0
  60. package/chunk-r6pt44wk.js +60 -0
  61. package/chunk-rhkw8ygf.js +3 -0
  62. package/chunk-rvqeb7gr.js +3 -0
  63. package/chunk-rwa7mfwa.js +2 -0
  64. package/chunk-sj46f002.js +2 -0
  65. package/chunk-sp89jja7.js +3 -0
  66. package/chunk-sss5x2ak.js +2 -0
  67. package/chunk-szn4y5mx.js +25 -0
  68. package/chunk-t05q9ksf.js +2 -0
  69. package/chunk-tb66q678.js +11 -0
  70. package/chunk-tej75y8n.js +2 -0
  71. package/chunk-tmfr2ym8.js +4 -0
  72. package/chunk-txwheg1n.js +2 -0
  73. package/chunk-ve6n38r4.js +16 -0
  74. package/chunk-vfa49qcy.js +3 -0
  75. package/chunk-wcy1r6vv.js +2 -0
  76. package/chunk-wj6am3ag.js +3 -0
  77. package/chunk-x0afp8wt.js +3 -0
  78. package/chunk-xe627eyp.js +20 -0
  79. package/chunk-y18ey7s9.js +8 -0
  80. package/chunk-y9r7tt53.js +3 -0
  81. package/chunk-yq20v3va.js +3 -0
  82. package/chunk-yyg4ygv7.js +2 -0
  83. package/chunk-z2zhr4e5.js +3 -0
  84. package/chunk-zdtg52xn.js +2 -0
  85. package/chunk-zrhdrkdb.js +5 -0
  86. package/compiled.js +9 -9
  87. package/package.json +1 -1
  88. package/ui-test-worker.js +33 -33
  89. package/web/chunk-0d0fwb7b.js +2 -0
  90. package/web/chunk-0d0fwb7b.js.br +0 -0
  91. package/web/chunk-0d0fwb7b.js.gz +0 -0
  92. package/web/chunk-0jm4zyrt.js +1 -0
  93. package/web/chunk-0jm4zyrt.js.br +0 -0
  94. package/web/chunk-0jm4zyrt.js.gz +0 -0
  95. package/web/chunk-0pp7dzx1.js +1 -0
  96. package/web/chunk-0pp7dzx1.js.br +0 -0
  97. package/web/chunk-0pp7dzx1.js.gz +0 -0
  98. package/web/chunk-0w73jp4n.js +1 -0
  99. package/web/chunk-0w73jp4n.js.br +0 -0
  100. package/web/chunk-0w73jp4n.js.gz +0 -0
  101. package/web/chunk-1416f30c.js +2 -0
  102. package/web/chunk-1416f30c.js.br +0 -0
  103. package/web/chunk-1416f30c.js.gz +0 -0
  104. package/web/chunk-18wyawez.js +30 -0
  105. package/web/chunk-18wyawez.js.br +0 -0
  106. package/web/chunk-18wyawez.js.gz +0 -0
  107. package/web/chunk-19ew9re5.js +1 -0
  108. package/web/chunk-19ew9re5.js.br +0 -0
  109. package/web/chunk-19ew9re5.js.gz +0 -0
  110. package/web/chunk-1mdtr9wk.js +8 -0
  111. package/web/chunk-1mdtr9wk.js.br +1 -0
  112. package/web/chunk-1mdtr9wk.js.gz +0 -0
  113. package/web/chunk-1p4egv85.js +1 -0
  114. package/web/chunk-1p4egv85.js.br +0 -0
  115. package/web/chunk-1p4egv85.js.gz +0 -0
  116. package/web/chunk-1x61dvvr.js +2 -0
  117. package/web/chunk-1x61dvvr.js.br +0 -0
  118. package/web/chunk-1x61dvvr.js.gz +0 -0
  119. package/web/chunk-241n0y1h.js +1 -0
  120. package/web/chunk-241n0y1h.js.br +0 -0
  121. package/web/chunk-241n0y1h.js.gz +0 -0
  122. package/web/chunk-26sgnzb2.js +1 -0
  123. package/web/chunk-26sgnzb2.js.br +0 -0
  124. package/web/chunk-26sgnzb2.js.gz +0 -0
  125. package/web/chunk-2p77pefd.js +1 -0
  126. package/web/chunk-2p77pefd.js.br +0 -0
  127. package/web/chunk-2p77pefd.js.gz +0 -0
  128. package/web/chunk-2ppe5znq.js +1 -0
  129. package/web/chunk-2ppe5znq.js.br +0 -0
  130. package/web/chunk-2ppe5znq.js.gz +0 -0
  131. package/web/chunk-2qzr943m.js +2 -0
  132. package/web/chunk-2qzr943m.js.br +0 -0
  133. package/web/chunk-2qzr943m.js.gz +0 -0
  134. package/web/chunk-32k44660.js +214 -0
  135. package/web/chunk-32k44660.js.br +0 -0
  136. package/web/chunk-32k44660.js.gz +0 -0
  137. package/web/chunk-33zb5a76.js +2 -0
  138. package/web/chunk-33zb5a76.js.br +0 -0
  139. package/web/chunk-33zb5a76.js.gz +0 -0
  140. package/web/chunk-38bzkv9k.js +7 -0
  141. package/web/chunk-38bzkv9k.js.br +0 -0
  142. package/web/chunk-38bzkv9k.js.gz +0 -0
  143. package/web/chunk-42ytz496.js +1 -0
  144. package/web/chunk-42ytz496.js.br +0 -0
  145. package/web/chunk-42ytz496.js.gz +0 -0
  146. package/web/chunk-4749rrqv.js +55 -0
  147. package/web/chunk-4749rrqv.js.br +0 -0
  148. package/web/chunk-4749rrqv.js.gz +0 -0
  149. package/web/chunk-4d57cnh5.js +40 -0
  150. package/web/chunk-4d57cnh5.js.br +0 -0
  151. package/web/chunk-4d57cnh5.js.gz +0 -0
  152. package/web/chunk-4gh3hcrc.js +1 -0
  153. package/web/chunk-4gh3hcrc.js.br +0 -0
  154. package/web/chunk-4gh3hcrc.js.gz +0 -0
  155. package/web/chunk-4hg08mj3.js +1 -0
  156. package/web/chunk-4hg08mj3.js.br +0 -0
  157. package/web/chunk-4hg08mj3.js.gz +0 -0
  158. package/web/chunk-4rra9tt7.js +78 -0
  159. package/web/chunk-4rra9tt7.js.br +0 -0
  160. package/web/chunk-4rra9tt7.js.gz +0 -0
  161. package/web/chunk-572kjbne.js +89 -0
  162. package/web/chunk-572kjbne.js.br +0 -0
  163. package/web/chunk-572kjbne.js.gz +0 -0
  164. package/web/chunk-5hqe3cct.js +98 -0
  165. package/web/chunk-5hqe3cct.js.br +0 -0
  166. package/web/chunk-5hqe3cct.js.gz +0 -0
  167. package/web/chunk-5k4vdcwk.js +24 -0
  168. package/web/chunk-5k4vdcwk.js.br +0 -0
  169. package/web/chunk-5k4vdcwk.js.gz +0 -0
  170. package/web/chunk-5z44jbdc.js +1 -0
  171. package/web/chunk-5z44jbdc.js.br +0 -0
  172. package/web/chunk-5z44jbdc.js.gz +0 -0
  173. package/web/chunk-600x58nm.js +1143 -0
  174. package/web/chunk-600x58nm.js.br +0 -0
  175. package/web/chunk-600x58nm.js.gz +0 -0
  176. package/web/chunk-61djfs0t.js +140 -0
  177. package/web/chunk-61djfs0t.js.br +0 -0
  178. package/web/chunk-61djfs0t.js.gz +0 -0
  179. package/web/chunk-6j4jdvtd.js +1 -0
  180. package/web/chunk-6j4jdvtd.js.br +0 -0
  181. package/web/chunk-6j4jdvtd.js.gz +0 -0
  182. package/web/chunk-74ymgabb.js +2 -0
  183. package/web/chunk-74ymgabb.js.br +0 -0
  184. package/web/chunk-74ymgabb.js.gz +0 -0
  185. package/web/chunk-768vchz5.js +169 -0
  186. package/web/chunk-768vchz5.js.br +0 -0
  187. package/web/chunk-768vchz5.js.gz +0 -0
  188. package/web/chunk-7f87paxe.js +36 -0
  189. package/web/chunk-7f87paxe.js.br +0 -0
  190. package/web/chunk-7f87paxe.js.gz +0 -0
  191. package/web/chunk-7ns0kj87.js +2 -0
  192. package/web/chunk-7ns0kj87.js.br +0 -0
  193. package/web/chunk-7ns0kj87.js.gz +0 -0
  194. package/web/chunk-7vpk9y00.js +1 -0
  195. package/web/chunk-7vpk9y00.js.br +0 -0
  196. package/web/chunk-7vpk9y00.js.gz +0 -0
  197. package/web/chunk-89mc1vj3.js +1 -0
  198. package/web/chunk-89mc1vj3.js.br +0 -0
  199. package/web/chunk-89mc1vj3.js.gz +0 -0
  200. package/web/chunk-8wgpesrk.js +139 -0
  201. package/web/chunk-8wgpesrk.js.br +0 -0
  202. package/web/chunk-8wgpesrk.js.gz +0 -0
  203. package/web/chunk-9nh1aeqs.js +303 -0
  204. package/web/chunk-9nh1aeqs.js.br +0 -0
  205. package/web/chunk-9nh1aeqs.js.gz +0 -0
  206. package/web/chunk-9pgq2ax4.js +1 -0
  207. package/web/chunk-9pgq2ax4.js.br +0 -0
  208. package/web/chunk-9pgq2ax4.js.gz +0 -0
  209. package/web/chunk-9tfs2dg1.js +1 -0
  210. package/web/chunk-9tfs2dg1.js.br +0 -0
  211. package/web/chunk-9tfs2dg1.js.gz +0 -0
  212. package/web/chunk-9wemd2wn.js +41 -0
  213. package/web/chunk-9wemd2wn.js.br +0 -0
  214. package/web/chunk-9wemd2wn.js.gz +0 -0
  215. package/web/chunk-9wsz2j8n.js +1 -0
  216. package/web/chunk-9wsz2j8n.js.br +0 -0
  217. package/web/chunk-9wsz2j8n.js.gz +0 -0
  218. package/web/chunk-9wzvqpre.js +2 -0
  219. package/web/chunk-9wzvqpre.js.br +0 -0
  220. package/web/chunk-9wzvqpre.js.gz +0 -0
  221. package/web/chunk-a48wgrb1.js +1 -0
  222. package/web/chunk-a48wgrb1.js.br +2 -0
  223. package/web/chunk-a48wgrb1.js.gz +0 -0
  224. package/web/chunk-a67d8w1k.js +14 -0
  225. package/web/chunk-a67d8w1k.js.br +0 -0
  226. package/web/chunk-a67d8w1k.js.gz +0 -0
  227. package/web/chunk-ah8e1y9j.js +4 -0
  228. package/web/chunk-ah8e1y9j.js.br +0 -0
  229. package/web/chunk-ah8e1y9j.js.gz +0 -0
  230. package/web/chunk-amsr9cg2.js +1 -0
  231. package/web/chunk-amsr9cg2.js.br +0 -0
  232. package/web/chunk-amsr9cg2.js.gz +0 -0
  233. package/web/chunk-aps2c5t2.js +16 -0
  234. package/web/chunk-aps2c5t2.js.br +0 -0
  235. package/web/chunk-aps2c5t2.js.gz +0 -0
  236. package/web/chunk-avfynf6y.js +1 -0
  237. package/web/chunk-avfynf6y.js.br +0 -0
  238. package/web/chunk-avfynf6y.js.gz +0 -0
  239. package/web/chunk-b5zrttcx.js +2 -0
  240. package/web/chunk-b5zrttcx.js.br +0 -0
  241. package/web/chunk-b5zrttcx.js.gz +0 -0
  242. package/web/chunk-bvvf024a.js +24 -0
  243. package/web/chunk-bvvf024a.js.br +0 -0
  244. package/web/chunk-bvvf024a.js.gz +0 -0
  245. package/web/chunk-by2dphx7.js +200 -0
  246. package/web/chunk-by2dphx7.js.br +0 -0
  247. package/web/chunk-by2dphx7.js.gz +0 -0
  248. package/web/chunk-c0sc2yy1.js +1 -0
  249. package/web/chunk-c0sc2yy1.js.br +0 -0
  250. package/web/chunk-c0sc2yy1.js.gz +0 -0
  251. package/web/chunk-c612n2pw.js +2 -0
  252. package/web/chunk-c612n2pw.js.br +0 -0
  253. package/web/chunk-c612n2pw.js.gz +0 -0
  254. package/web/chunk-c91rk85x.js +2 -0
  255. package/web/chunk-c91rk85x.js.br +0 -0
  256. package/web/chunk-c91rk85x.js.gz +0 -0
  257. package/web/chunk-catm30vp.js +2 -0
  258. package/web/chunk-catm30vp.js.br +0 -0
  259. package/web/chunk-catm30vp.js.gz +0 -0
  260. package/web/chunk-cbdxzddd.js +142 -0
  261. package/web/chunk-cbdxzddd.js.br +0 -0
  262. package/web/chunk-cbdxzddd.js.gz +0 -0
  263. package/web/chunk-cng693ts.js +2 -0
  264. package/web/chunk-cng693ts.js.br +0 -0
  265. package/web/chunk-cng693ts.js.gz +0 -0
  266. package/web/chunk-d5vcma5a.js +89 -0
  267. package/web/chunk-d5vcma5a.js.br +0 -0
  268. package/web/chunk-d5vcma5a.js.gz +0 -0
  269. package/web/chunk-d6d9cp71.js +1 -0
  270. package/web/chunk-d6d9cp71.js.br +2 -0
  271. package/web/chunk-d6d9cp71.js.gz +0 -0
  272. package/web/chunk-dsghhcew.js +1 -0
  273. package/web/chunk-dsghhcew.js.br +0 -0
  274. package/web/chunk-dsghhcew.js.gz +0 -0
  275. package/web/chunk-dt2e6evf.js +1 -0
  276. package/web/chunk-dt2e6evf.js.br +0 -0
  277. package/web/chunk-dt2e6evf.js.gz +0 -0
  278. package/web/chunk-dxrsmcah.js +1 -0
  279. package/web/chunk-dxrsmcah.js.br +0 -0
  280. package/web/chunk-dxrsmcah.js.gz +0 -0
  281. package/web/chunk-ent5zx24.js +1 -0
  282. package/web/chunk-ent5zx24.js.br +2 -0
  283. package/web/chunk-ent5zx24.js.gz +0 -0
  284. package/web/chunk-f4n1q3mf.js +1 -0
  285. package/web/chunk-f4n1q3mf.js.br +0 -0
  286. package/web/chunk-f4n1q3mf.js.gz +0 -0
  287. package/web/chunk-fdfrv6bc.js +1 -0
  288. package/web/chunk-fdfrv6bc.js.br +2 -0
  289. package/web/chunk-fdfrv6bc.js.gz +0 -0
  290. package/web/chunk-fh44xz70.js +1 -0
  291. package/web/chunk-fh44xz70.js.br +0 -0
  292. package/web/chunk-fh44xz70.js.gz +0 -0
  293. package/web/chunk-fkbp72gk.js +1 -0
  294. package/web/chunk-fkbp72gk.js.br +0 -0
  295. package/web/chunk-fkbp72gk.js.gz +0 -0
  296. package/web/chunk-fzkjgwzq.js +4 -0
  297. package/web/chunk-fzkjgwzq.js.br +0 -0
  298. package/web/chunk-fzkjgwzq.js.gz +0 -0
  299. package/web/chunk-gf2gznsb.js +38 -0
  300. package/web/chunk-gf2gznsb.js.br +0 -0
  301. package/web/chunk-gf2gznsb.js.gz +0 -0
  302. package/web/chunk-gne1ybac.js +2 -0
  303. package/web/chunk-gne1ybac.js.br +0 -0
  304. package/web/chunk-gne1ybac.js.gz +0 -0
  305. package/web/chunk-gws1fj71.js +106 -0
  306. package/web/chunk-gws1fj71.js.br +0 -0
  307. package/web/chunk-gws1fj71.js.gz +0 -0
  308. package/web/chunk-h4m88fg8.js +2 -0
  309. package/web/chunk-h4m88fg8.js.br +0 -0
  310. package/web/chunk-h4m88fg8.js.gz +0 -0
  311. package/web/chunk-h4vk09kd.js +2 -0
  312. package/web/chunk-h4vk09kd.js.br +0 -0
  313. package/web/chunk-h4vk09kd.js.gz +0 -0
  314. package/web/chunk-h6wzjfj2.js +34 -0
  315. package/web/chunk-h6wzjfj2.js.br +0 -0
  316. package/web/chunk-h6wzjfj2.js.gz +0 -0
  317. package/web/chunk-hajg1p0h.js +7 -0
  318. package/web/chunk-hajg1p0h.js.br +0 -0
  319. package/web/chunk-hajg1p0h.js.gz +0 -0
  320. package/web/chunk-hhmd6qrc.js +2 -0
  321. package/web/chunk-hhmd6qrc.js.br +0 -0
  322. package/web/chunk-hhmd6qrc.js.gz +0 -0
  323. package/web/chunk-hya0fh1r.js +1 -0
  324. package/web/chunk-hya0fh1r.js.br +0 -0
  325. package/web/chunk-hya0fh1r.js.gz +0 -0
  326. package/web/chunk-j469ky77.js +1 -0
  327. package/web/chunk-j469ky77.js.br +0 -0
  328. package/web/chunk-j469ky77.js.gz +0 -0
  329. package/web/chunk-j6ymcm3h.js +2 -0
  330. package/web/chunk-j6ymcm3h.js.br +0 -0
  331. package/web/chunk-j6ymcm3h.js.gz +0 -0
  332. package/web/chunk-j79z6bta.js +21 -0
  333. package/web/chunk-j79z6bta.js.br +0 -0
  334. package/web/chunk-j79z6bta.js.gz +0 -0
  335. package/web/chunk-jbxc5y3z.js +12 -0
  336. package/web/chunk-jbxc5y3z.js.br +0 -0
  337. package/web/chunk-jbxc5y3z.js.gz +0 -0
  338. package/web/chunk-jcc187d7.js +1 -0
  339. package/web/chunk-jcc187d7.js.br +0 -0
  340. package/web/chunk-jcc187d7.js.gz +0 -0
  341. package/web/chunk-jjvpdxhd.js +2 -0
  342. package/web/chunk-jjvpdxhd.js.br +0 -0
  343. package/web/chunk-jjvpdxhd.js.gz +0 -0
  344. package/web/chunk-jrh3mwmy.js +2 -0
  345. package/web/chunk-jrh3mwmy.js.br +0 -0
  346. package/web/chunk-jrh3mwmy.js.gz +0 -0
  347. package/web/chunk-jv3pgdp0.js +1 -0
  348. package/web/chunk-jv3pgdp0.js.br +2 -0
  349. package/web/chunk-jv3pgdp0.js.gz +0 -0
  350. package/web/chunk-ksxjhezb.js +1 -0
  351. package/web/chunk-ksxjhezb.js.br +0 -0
  352. package/web/chunk-ksxjhezb.js.gz +0 -0
  353. package/web/chunk-ktnd8t40.js +2 -0
  354. package/web/chunk-ktnd8t40.js.br +0 -0
  355. package/web/chunk-ktnd8t40.js.gz +0 -0
  356. package/web/chunk-mgwv3dp0.js +1 -0
  357. package/web/chunk-mgwv3dp0.js.br +0 -0
  358. package/web/chunk-mgwv3dp0.js.gz +0 -0
  359. package/web/chunk-mtjdfgjj.js +2 -0
  360. package/web/chunk-mtjdfgjj.js.br +0 -0
  361. package/web/chunk-mtjdfgjj.js.gz +0 -0
  362. package/web/chunk-mzkaanwd.js +2 -0
  363. package/web/chunk-mzkaanwd.js.br +0 -0
  364. package/web/chunk-mzkaanwd.js.gz +0 -0
  365. package/web/chunk-n22pg5xy.js +1 -0
  366. package/web/chunk-n22pg5xy.js.br +0 -0
  367. package/web/chunk-n22pg5xy.js.gz +0 -0
  368. package/web/chunk-n58ezsfb.js +2 -0
  369. package/web/chunk-n58ezsfb.js.br +0 -0
  370. package/web/chunk-n58ezsfb.js.gz +0 -0
  371. package/web/chunk-nhx74teq.js +3 -0
  372. package/web/chunk-nhx74teq.js.br +0 -0
  373. package/web/chunk-nhx74teq.js.gz +0 -0
  374. package/web/chunk-njjsgwfw.js +2 -0
  375. package/web/chunk-njjsgwfw.js.br +0 -0
  376. package/web/chunk-njjsgwfw.js.gz +0 -0
  377. package/web/chunk-nwhqcbnr.js +1 -0
  378. package/web/chunk-nwhqcbnr.js.br +0 -0
  379. package/web/chunk-nwhqcbnr.js.gz +0 -0
  380. package/web/chunk-pnghaajd.js +70 -0
  381. package/web/chunk-pnghaajd.js.br +0 -0
  382. package/web/chunk-pnghaajd.js.gz +0 -0
  383. package/web/chunk-pqfn8x7v.js +1 -0
  384. package/web/chunk-pqfn8x7v.js.br +0 -0
  385. package/web/chunk-pqfn8x7v.js.gz +0 -0
  386. package/web/chunk-ptk0jnyx.js +1 -0
  387. package/web/chunk-ptk0jnyx.js.br +0 -0
  388. package/web/chunk-ptk0jnyx.js.gz +0 -0
  389. package/web/chunk-pv7e5g4k.js +370 -0
  390. package/web/chunk-pv7e5g4k.js.br +0 -0
  391. package/web/chunk-pv7e5g4k.js.gz +0 -0
  392. package/web/chunk-pxnh5qgn.js +2 -0
  393. package/web/chunk-pxnh5qgn.js.br +0 -0
  394. package/web/chunk-pxnh5qgn.js.gz +0 -0
  395. package/web/chunk-q6eq5y2t.js +1 -0
  396. package/web/chunk-q6eq5y2t.js.br +2 -0
  397. package/web/chunk-q6eq5y2t.js.gz +0 -0
  398. package/web/chunk-qdwg9n1d.js +1 -0
  399. package/web/chunk-qdwg9n1d.js.br +0 -0
  400. package/web/chunk-qdwg9n1d.js.gz +0 -0
  401. package/web/chunk-qp42gtvd.js +1 -0
  402. package/web/chunk-qp42gtvd.js.br +0 -0
  403. package/web/chunk-qp42gtvd.js.gz +0 -0
  404. package/web/chunk-qzdw8vdp.js +1 -0
  405. package/web/chunk-qzdw8vdp.js.br +0 -0
  406. package/web/chunk-qzdw8vdp.js.gz +0 -0
  407. package/web/chunk-r571ywxq.js +1 -0
  408. package/web/chunk-r571ywxq.js.br +0 -0
  409. package/web/chunk-r571ywxq.js.gz +0 -0
  410. package/web/chunk-r9fx4cjw.js +1 -0
  411. package/web/chunk-r9fx4cjw.js.br +0 -0
  412. package/web/chunk-r9fx4cjw.js.gz +0 -0
  413. package/web/chunk-rhvq3c1c.js +1 -0
  414. package/web/chunk-rhvq3c1c.js.br +0 -0
  415. package/web/chunk-rhvq3c1c.js.gz +0 -0
  416. package/web/chunk-rjay9w1t.js +1 -0
  417. package/web/chunk-rjay9w1t.js.br +0 -0
  418. package/web/chunk-rjay9w1t.js.gz +0 -0
  419. package/web/chunk-rpvdnc3p.js +1 -0
  420. package/web/chunk-rpvdnc3p.js.br +0 -0
  421. package/web/chunk-rpvdnc3p.js.gz +0 -0
  422. package/web/chunk-rrfr4wyt.js +62 -0
  423. package/web/chunk-rrfr4wyt.js.br +0 -0
  424. package/web/chunk-rrfr4wyt.js.gz +0 -0
  425. package/web/chunk-rvngywg9.js +2 -0
  426. package/web/chunk-rvngywg9.js.br +0 -0
  427. package/web/chunk-rvngywg9.js.gz +0 -0
  428. package/web/chunk-rw7d025r.js +84 -0
  429. package/web/chunk-rw7d025r.js.br +0 -0
  430. package/web/chunk-rw7d025r.js.gz +0 -0
  431. package/web/chunk-s1g8acth.js +324 -0
  432. package/web/chunk-s1g8acth.js.br +0 -0
  433. package/web/chunk-s1g8acth.js.gz +0 -0
  434. package/web/chunk-s8572njv.js +2 -0
  435. package/web/chunk-s8572njv.js.br +1 -0
  436. package/web/chunk-s8572njv.js.gz +0 -0
  437. package/web/chunk-sb57e1m9.css +1 -0
  438. package/web/chunk-sb57e1m9.css.br +0 -0
  439. package/web/chunk-sb57e1m9.css.gz +0 -0
  440. package/web/chunk-sn3h5adt.js +2 -0
  441. package/web/chunk-sn3h5adt.js.br +0 -0
  442. package/web/chunk-sn3h5adt.js.gz +0 -0
  443. package/web/chunk-tb2v18q8.js +2 -0
  444. package/web/chunk-tb2v18q8.js.br +0 -0
  445. package/web/chunk-tb2v18q8.js.gz +0 -0
  446. package/web/chunk-tetbyky0.js +39 -0
  447. package/web/chunk-tetbyky0.js.br +0 -0
  448. package/web/chunk-tetbyky0.js.gz +0 -0
  449. package/web/chunk-tqvctvsv.js +1 -0
  450. package/web/chunk-tqvctvsv.js.br +0 -0
  451. package/web/chunk-tqvctvsv.js.gz +0 -0
  452. package/web/chunk-v9mj2pxz.js +1 -0
  453. package/web/chunk-v9mj2pxz.js.br +0 -0
  454. package/web/chunk-v9mj2pxz.js.gz +0 -0
  455. package/web/chunk-vkhah4nd.js +2 -0
  456. package/web/chunk-vkhah4nd.js.br +0 -0
  457. package/web/chunk-vkhah4nd.js.gz +0 -0
  458. package/web/chunk-vpnh7wmw.js +1 -0
  459. package/web/chunk-vpnh7wmw.js.br +0 -0
  460. package/web/chunk-vpnh7wmw.js.gz +0 -0
  461. package/web/chunk-w1qe2x5p.js +217 -0
  462. package/web/chunk-w1qe2x5p.js.br +0 -0
  463. package/web/chunk-w1qe2x5p.js.gz +0 -0
  464. package/web/chunk-werh47fw.js +99 -0
  465. package/web/chunk-werh47fw.js.br +0 -0
  466. package/web/chunk-werh47fw.js.gz +0 -0
  467. package/web/chunk-wfmf0dc8.js +1 -0
  468. package/web/chunk-wfmf0dc8.js.br +0 -0
  469. package/web/chunk-wfmf0dc8.js.gz +0 -0
  470. package/web/chunk-wna4vqp6.js +1 -0
  471. package/web/chunk-wna4vqp6.js.br +0 -0
  472. package/web/chunk-wna4vqp6.js.gz +0 -0
  473. package/web/chunk-wwhq09nf.js +1 -0
  474. package/web/chunk-wwhq09nf.js.br +0 -0
  475. package/web/chunk-wwhq09nf.js.gz +0 -0
  476. package/web/chunk-x6va53y6.js +291 -0
  477. package/web/chunk-x6va53y6.js.br +0 -0
  478. package/web/chunk-x6va53y6.js.gz +0 -0
  479. package/web/chunk-xefyzr9s.js +120 -0
  480. package/web/chunk-xefyzr9s.js.br +0 -0
  481. package/web/chunk-xefyzr9s.js.gz +0 -0
  482. package/web/chunk-xj1w9054.js +2 -0
  483. package/web/chunk-xj1w9054.js.br +0 -0
  484. package/web/chunk-xj1w9054.js.gz +0 -0
  485. package/web/chunk-xtb3xhxk.js +2 -0
  486. package/web/chunk-xtb3xhxk.js.br +2 -0
  487. package/web/chunk-xtb3xhxk.js.gz +0 -0
  488. package/web/chunk-y1eeptks.js +2 -0
  489. package/web/chunk-y1eeptks.js.br +0 -0
  490. package/web/chunk-y1eeptks.js.gz +0 -0
  491. package/web/chunk-y7z6zmvp.js +292 -0
  492. package/web/chunk-y7z6zmvp.js.br +0 -0
  493. package/web/chunk-y7z6zmvp.js.gz +0 -0
  494. package/web/chunk-yj8tkncg.js +7 -0
  495. package/web/chunk-yj8tkncg.js.br +0 -0
  496. package/web/chunk-yj8tkncg.js.gz +0 -0
  497. package/web/chunk-z0m2d74w.js +1 -0
  498. package/web/chunk-z0m2d74w.js.br +0 -0
  499. package/web/chunk-z0m2d74w.js.gz +0 -0
  500. package/web/chunk-z30kqv40.js +1 -0
  501. package/web/chunk-z30kqv40.js.br +0 -0
  502. package/web/chunk-z30kqv40.js.gz +0 -0
  503. package/web/chunk-z3a96d42.js +332 -0
  504. package/web/chunk-z3a96d42.js.br +0 -0
  505. package/web/chunk-z3a96d42.js.gz +0 -0
  506. package/web/index.html +1 -1
  507. package/web/index.html.br +0 -0
  508. package/web/index.html.gz +0 -0
  509. package/worker.js +1 -1
  510. package/chunk-10y5hvt2.js +0 -2
  511. package/chunk-22k2be3e.js +0 -13
  512. package/chunk-28hye007.js +0 -2
  513. package/chunk-2fmsw1c6.js +0 -5
  514. package/chunk-2h2mvrw2.js +0 -3
  515. package/chunk-2xj51v3m.js +0 -3
  516. package/chunk-3x0wm92n.js +0 -3
  517. package/chunk-4fgsqb1e.js +0 -2
  518. package/chunk-519eek65.js +0 -39
  519. package/chunk-5qa4dean.js +0 -2
  520. package/chunk-5x256mz8.js +0 -2
  521. package/chunk-6n01sefp.js +0 -8
  522. package/chunk-74xtmwpw.js +0 -2
  523. package/chunk-7mafj833.js +0 -3
  524. package/chunk-7v1sqn9k.js +0 -59
  525. package/chunk-8my52htr.js +0 -3
  526. package/chunk-8vh98e46.js +0 -2
  527. package/chunk-92mpgche.js +0 -2
  528. package/chunk-9vacevyf.js +0 -3
  529. package/chunk-9y44m27k.js +0 -5
  530. package/chunk-a5wv2shs.js +0 -3
  531. package/chunk-a78qhb4t.js +0 -5
  532. package/chunk-axsxx67j.js +0 -3
  533. package/chunk-b49fzzzn.js +0 -2
  534. package/chunk-bc8awbnt.js +0 -2
  535. package/chunk-crxs0n0r.js +0 -3
  536. package/chunk-csed8fsv.js +0 -3
  537. package/chunk-cspx3bz9.js +0 -2
  538. package/chunk-ctdtmwmd.js +0 -63
  539. package/chunk-d3xsmwbh.js +0 -25
  540. package/chunk-dvwgpsfz.js +0 -3
  541. package/chunk-dzd8k6bw.js +0 -3
  542. package/chunk-e2xqa46t.js +0 -2
  543. package/chunk-e41mpwx9.js +0 -9
  544. package/chunk-e5ccfgsk.js +0 -3
  545. package/chunk-e67wqhzh.js +0 -12
  546. package/chunk-emeb13nd.js +0 -25
  547. package/chunk-ers9s2c4.js +0 -31
  548. package/chunk-ezq0fnz6.js +0 -3
  549. package/chunk-ezqvx0hm.js +0 -2
  550. package/chunk-f10ca9ma.js +0 -12
  551. package/chunk-f72jhcp8.js +0 -2
  552. package/chunk-fjv41a8r.js +0 -4155
  553. package/chunk-gj0dhgbg.js +0 -3
  554. package/chunk-h0ggc6pv.js +0 -60
  555. package/chunk-hrt42rkh.js +0 -4
  556. package/chunk-j7m36g5w.js +0 -3
  557. package/chunk-jhn30hjp.js +0 -2
  558. package/chunk-ka41gq1g.js +0 -16
  559. package/chunk-kcp9byws.js +0 -2
  560. package/chunk-me72k64f.js +0 -7
  561. package/chunk-n4jemqf1.js +0 -2
  562. package/chunk-ndt4jvh1.js +0 -3
  563. package/chunk-pyxn4wqj.js +0 -3
  564. package/chunk-rajb3566.js +0 -2
  565. package/chunk-rbq2gsar.js +0 -3
  566. package/chunk-rd98e7kg.js +0 -10
  567. package/chunk-rm5dbbsg.js +0 -3
  568. package/chunk-rztw3tgx.js +0 -3
  569. package/chunk-s4mn41eh.js +0 -8
  570. package/chunk-s9p624fq.js +0 -44
  571. package/chunk-sawrte7v.js +0 -3
  572. package/chunk-sd8d792h.js +0 -51
  573. package/chunk-sgvmxx0d.js +0 -2
  574. package/chunk-sqbnt2t1.js +0 -3
  575. package/chunk-t2bvj735.js +0 -2
  576. package/chunk-t8tkamx6.js +0 -2
  577. package/chunk-tbehe5ky.js +0 -18
  578. package/chunk-tsha69rv.js +0 -7
  579. package/chunk-twqwer9t.js +0 -5
  580. package/chunk-vr2rtqeh.js +0 -2
  581. package/chunk-vr6eej6b.js +0 -3
  582. package/chunk-w41gswj8.js +0 -3
  583. package/chunk-x7tras0x.js +0 -498
  584. package/chunk-xakmebnm.js +0 -10
  585. package/chunk-xj453mny.js +0 -286
  586. package/chunk-xmrw19xj.js +0 -2
  587. package/chunk-xpj8fcjp.js +0 -20
  588. package/chunk-y218jsvc.js +0 -3
  589. package/chunk-y33fkh8m.js +0 -2
  590. package/chunk-z3h9ydyr.js +0 -11
  591. package/chunk-zc51vfhr.js +0 -2
  592. package/chunk-zm88mnds.js +0 -7
  593. package/chunk-zz9rj82y.js +0 -3
  594. package/web/chunk-0b5vh2pt.js +0 -2
  595. package/web/chunk-0b5vh2pt.js.br +0 -0
  596. package/web/chunk-0b5vh2pt.js.gz +0 -0
  597. package/web/chunk-0hkdqhkv.js +0 -1
  598. package/web/chunk-0hkdqhkv.js.br +0 -0
  599. package/web/chunk-0hkdqhkv.js.gz +0 -0
  600. package/web/chunk-0v7wrb32.js +0 -2
  601. package/web/chunk-0v7wrb32.js.br +0 -0
  602. package/web/chunk-0v7wrb32.js.gz +0 -0
  603. package/web/chunk-0x2fgw1m.js +0 -1
  604. package/web/chunk-0x2fgw1m.js.br +0 -0
  605. package/web/chunk-0x2fgw1m.js.gz +0 -0
  606. package/web/chunk-0xctxqvv.js +0 -2
  607. package/web/chunk-0xctxqvv.js.br +0 -0
  608. package/web/chunk-0xctxqvv.js.gz +0 -0
  609. package/web/chunk-0y9tf0rt.js +0 -89
  610. package/web/chunk-0y9tf0rt.js.br +0 -0
  611. package/web/chunk-0y9tf0rt.js.gz +0 -0
  612. package/web/chunk-0yrp0f6x.js +0 -1
  613. package/web/chunk-0yrp0f6x.js.br +0 -0
  614. package/web/chunk-0yrp0f6x.js.gz +0 -0
  615. package/web/chunk-10jk2pn9.js +0 -1
  616. package/web/chunk-10jk2pn9.js.br +0 -0
  617. package/web/chunk-10jk2pn9.js.gz +0 -0
  618. package/web/chunk-15ka35m9.js +0 -2
  619. package/web/chunk-15ka35m9.js.br +0 -0
  620. package/web/chunk-15ka35m9.js.gz +0 -0
  621. package/web/chunk-1700cges.js +0 -1
  622. package/web/chunk-1700cges.js.br +0 -0
  623. package/web/chunk-1700cges.js.gz +0 -0
  624. package/web/chunk-1apw6pnk.css +0 -1
  625. package/web/chunk-1apw6pnk.css.br +0 -0
  626. package/web/chunk-1apw6pnk.css.gz +0 -0
  627. package/web/chunk-1b005nqw.js +0 -139
  628. package/web/chunk-1b005nqw.js.br +0 -0
  629. package/web/chunk-1b005nqw.js.gz +0 -0
  630. package/web/chunk-1c9khgyt.js +0 -1
  631. package/web/chunk-1c9khgyt.js.br +0 -2
  632. package/web/chunk-1c9khgyt.js.gz +0 -0
  633. package/web/chunk-1pr20x9x.js +0 -1
  634. package/web/chunk-1pr20x9x.js.br +0 -0
  635. package/web/chunk-1pr20x9x.js.gz +0 -0
  636. package/web/chunk-1sjgdggk.js +0 -7
  637. package/web/chunk-1sjgdggk.js.br +0 -0
  638. package/web/chunk-1sjgdggk.js.gz +0 -0
  639. package/web/chunk-1tt5ympp.js +0 -1
  640. package/web/chunk-1tt5ympp.js.br +0 -0
  641. package/web/chunk-1tt5ympp.js.gz +0 -0
  642. package/web/chunk-29fpfs5q.js +0 -1142
  643. package/web/chunk-29fpfs5q.js.br +0 -0
  644. package/web/chunk-29fpfs5q.js.gz +0 -0
  645. package/web/chunk-2gr7vwnp.js +0 -24
  646. package/web/chunk-2gr7vwnp.js.br +0 -0
  647. package/web/chunk-2gr7vwnp.js.gz +0 -0
  648. package/web/chunk-2p84jch3.js +0 -1
  649. package/web/chunk-2p84jch3.js.br +0 -0
  650. package/web/chunk-2p84jch3.js.gz +0 -0
  651. package/web/chunk-2qs283mh.js +0 -2
  652. package/web/chunk-2qs283mh.js.br +0 -0
  653. package/web/chunk-2qs283mh.js.gz +0 -0
  654. package/web/chunk-3gf2d852.js +0 -1
  655. package/web/chunk-3gf2d852.js.br +0 -0
  656. package/web/chunk-3gf2d852.js.gz +0 -0
  657. package/web/chunk-3hswqkb0.js +0 -1
  658. package/web/chunk-3hswqkb0.js.br +0 -0
  659. package/web/chunk-3hswqkb0.js.gz +0 -0
  660. package/web/chunk-46yjp1x4.js +0 -2
  661. package/web/chunk-46yjp1x4.js.br +0 -0
  662. package/web/chunk-46yjp1x4.js.gz +0 -0
  663. package/web/chunk-4ezd1rkc.js +0 -84
  664. package/web/chunk-4ezd1rkc.js.br +0 -0
  665. package/web/chunk-4ezd1rkc.js.gz +0 -0
  666. package/web/chunk-4v9ar0sf.js +0 -142
  667. package/web/chunk-4v9ar0sf.js.br +0 -0
  668. package/web/chunk-4v9ar0sf.js.gz +0 -0
  669. package/web/chunk-51z88j1t.js +0 -21
  670. package/web/chunk-51z88j1t.js.br +0 -0
  671. package/web/chunk-51z88j1t.js.gz +0 -0
  672. package/web/chunk-5f5zcfga.js +0 -1
  673. package/web/chunk-5f5zcfga.js.br +0 -2
  674. package/web/chunk-5f5zcfga.js.gz +0 -0
  675. package/web/chunk-5n61r0rr.js +0 -36
  676. package/web/chunk-5n61r0rr.js.br +0 -0
  677. package/web/chunk-5n61r0rr.js.gz +0 -0
  678. package/web/chunk-5vcdeenv.js +0 -2
  679. package/web/chunk-5vcdeenv.js.br +0 -0
  680. package/web/chunk-5vcdeenv.js.gz +0 -0
  681. package/web/chunk-5y7ks8c3.js +0 -30
  682. package/web/chunk-5y7ks8c3.js.br +0 -0
  683. package/web/chunk-5y7ks8c3.js.gz +0 -0
  684. package/web/chunk-60v8qwec.js +0 -2
  685. package/web/chunk-60v8qwec.js.br +0 -0
  686. package/web/chunk-60v8qwec.js.gz +0 -0
  687. package/web/chunk-61m5t9wg.js +0 -200
  688. package/web/chunk-61m5t9wg.js.br +0 -0
  689. package/web/chunk-61m5t9wg.js.gz +0 -0
  690. package/web/chunk-669n37qf.js +0 -70
  691. package/web/chunk-669n37qf.js.br +0 -0
  692. package/web/chunk-669n37qf.js.gz +0 -0
  693. package/web/chunk-6kf1xwz9.js +0 -2
  694. package/web/chunk-6kf1xwz9.js.br +0 -0
  695. package/web/chunk-6kf1xwz9.js.gz +0 -0
  696. package/web/chunk-6rw72jmj.js +0 -2
  697. package/web/chunk-6rw72jmj.js.br +0 -0
  698. package/web/chunk-6rw72jmj.js.gz +0 -0
  699. package/web/chunk-6wyxxd9h.js +0 -2
  700. package/web/chunk-6wyxxd9h.js.br +0 -0
  701. package/web/chunk-6wyxxd9h.js.gz +0 -0
  702. package/web/chunk-77vj65dc.js +0 -1
  703. package/web/chunk-77vj65dc.js.br +0 -0
  704. package/web/chunk-77vj65dc.js.gz +0 -0
  705. package/web/chunk-8ktz0w1x.js +0 -120
  706. package/web/chunk-8ktz0w1x.js.br +0 -0
  707. package/web/chunk-8ktz0w1x.js.gz +0 -0
  708. package/web/chunk-8rcfpj02.js +0 -2
  709. package/web/chunk-8rcfpj02.js.br +0 -0
  710. package/web/chunk-8rcfpj02.js.gz +0 -0
  711. package/web/chunk-8x4s1c9g.js +0 -1
  712. package/web/chunk-8x4s1c9g.js.br +0 -2
  713. package/web/chunk-8x4s1c9g.js.gz +0 -0
  714. package/web/chunk-8zf4cywy.js +0 -1
  715. package/web/chunk-8zf4cywy.js.br +0 -0
  716. package/web/chunk-8zf4cywy.js.gz +0 -0
  717. package/web/chunk-a18y5dmf.js +0 -2
  718. package/web/chunk-a18y5dmf.js.br +0 -0
  719. package/web/chunk-a18y5dmf.js.gz +0 -0
  720. package/web/chunk-a36sfjyk.js +0 -1
  721. package/web/chunk-a36sfjyk.js.br +0 -0
  722. package/web/chunk-a36sfjyk.js.gz +0 -0
  723. package/web/chunk-aahzqxq7.js +0 -34
  724. package/web/chunk-aahzqxq7.js.br +0 -0
  725. package/web/chunk-aahzqxq7.js.gz +0 -0
  726. package/web/chunk-b2gtwatf.js +0 -370
  727. package/web/chunk-b2gtwatf.js.br +0 -0
  728. package/web/chunk-b2gtwatf.js.gz +0 -0
  729. package/web/chunk-bdp4y1zg.js +0 -1
  730. package/web/chunk-bdp4y1zg.js.br +0 -0
  731. package/web/chunk-bdp4y1zg.js.gz +0 -0
  732. package/web/chunk-be67vfx1.js +0 -1
  733. package/web/chunk-be67vfx1.js.br +0 -0
  734. package/web/chunk-be67vfx1.js.gz +0 -0
  735. package/web/chunk-bt6r78y9.js +0 -106
  736. package/web/chunk-bt6r78y9.js.br +0 -0
  737. package/web/chunk-bt6r78y9.js.gz +0 -0
  738. package/web/chunk-bvyjy17t.js +0 -14
  739. package/web/chunk-bvyjy17t.js.br +0 -0
  740. package/web/chunk-bvyjy17t.js.gz +0 -0
  741. package/web/chunk-c97th1x0.js +0 -1
  742. package/web/chunk-c97th1x0.js.br +0 -0
  743. package/web/chunk-c97th1x0.js.gz +0 -0
  744. package/web/chunk-cfkp7taw.js +0 -1
  745. package/web/chunk-cfkp7taw.js.br +0 -0
  746. package/web/chunk-cfkp7taw.js.gz +0 -0
  747. package/web/chunk-cvf9k1fy.js +0 -140
  748. package/web/chunk-cvf9k1fy.js.br +0 -0
  749. package/web/chunk-cvf9k1fy.js.gz +0 -0
  750. package/web/chunk-d33n9fsr.js +0 -1
  751. package/web/chunk-d33n9fsr.js.br +0 -1
  752. package/web/chunk-d33n9fsr.js.gz +0 -0
  753. package/web/chunk-e667nxc9.js +0 -1
  754. package/web/chunk-e667nxc9.js.br +0 -0
  755. package/web/chunk-e667nxc9.js.gz +0 -0
  756. package/web/chunk-eejjsqm1.js +0 -303
  757. package/web/chunk-eejjsqm1.js.br +0 -0
  758. package/web/chunk-eejjsqm1.js.gz +0 -0
  759. package/web/chunk-eg3qjy7a.js +0 -2
  760. package/web/chunk-eg3qjy7a.js.br +0 -0
  761. package/web/chunk-eg3qjy7a.js.gz +0 -0
  762. package/web/chunk-embvjvdj.js +0 -12
  763. package/web/chunk-embvjvdj.js.br +0 -0
  764. package/web/chunk-embvjvdj.js.gz +0 -0
  765. package/web/chunk-etjfr79m.js +0 -2
  766. package/web/chunk-etjfr79m.js.br +0 -0
  767. package/web/chunk-etjfr79m.js.gz +0 -0
  768. package/web/chunk-ez36gbz3.js +0 -7
  769. package/web/chunk-ez36gbz3.js.br +0 -0
  770. package/web/chunk-ez36gbz3.js.gz +0 -0
  771. package/web/chunk-f0vcm8mk.js +0 -214
  772. package/web/chunk-f0vcm8mk.js.br +0 -0
  773. package/web/chunk-f0vcm8mk.js.gz +0 -0
  774. package/web/chunk-f3t3ey83.js +0 -1
  775. package/web/chunk-f3t3ey83.js.br +0 -0
  776. package/web/chunk-f3t3ey83.js.gz +0 -0
  777. package/web/chunk-f84sngcq.js +0 -2
  778. package/web/chunk-f84sngcq.js.br +0 -0
  779. package/web/chunk-f84sngcq.js.gz +0 -0
  780. package/web/chunk-f97hz4v5.js +0 -99
  781. package/web/chunk-f97hz4v5.js.br +0 -0
  782. package/web/chunk-f97hz4v5.js.gz +0 -0
  783. package/web/chunk-fnkp6s0g.js +0 -1
  784. package/web/chunk-fnkp6s0g.js.br +0 -0
  785. package/web/chunk-fnkp6s0g.js.gz +0 -0
  786. package/web/chunk-fpdyzyn8.js +0 -16
  787. package/web/chunk-fpdyzyn8.js.br +0 -0
  788. package/web/chunk-fpdyzyn8.js.gz +0 -0
  789. package/web/chunk-g43z223a.js +0 -2
  790. package/web/chunk-g43z223a.js.br +0 -0
  791. package/web/chunk-g43z223a.js.gz +0 -0
  792. package/web/chunk-gcm82aj8.js +0 -1
  793. package/web/chunk-gcm82aj8.js.br +0 -0
  794. package/web/chunk-gcm82aj8.js.gz +0 -0
  795. package/web/chunk-gffb3p4z.js +0 -2
  796. package/web/chunk-gffb3p4z.js.br +0 -0
  797. package/web/chunk-gffb3p4z.js.gz +0 -0
  798. package/web/chunk-gnzg3krt.js +0 -1
  799. package/web/chunk-gnzg3krt.js.br +0 -0
  800. package/web/chunk-gnzg3krt.js.gz +0 -0
  801. package/web/chunk-grqtpfdp.js +0 -2
  802. package/web/chunk-grqtpfdp.js.br +0 -0
  803. package/web/chunk-grqtpfdp.js.gz +0 -0
  804. package/web/chunk-gsm8spf8.js +0 -1
  805. package/web/chunk-gsm8spf8.js.br +0 -0
  806. package/web/chunk-gsm8spf8.js.gz +0 -0
  807. package/web/chunk-h6ygrnd0.js +0 -38
  808. package/web/chunk-h6ygrnd0.js.br +0 -0
  809. package/web/chunk-h6ygrnd0.js.gz +0 -0
  810. package/web/chunk-h8n9w5th.js +0 -169
  811. package/web/chunk-h8n9w5th.js.br +0 -0
  812. package/web/chunk-h8n9w5th.js.gz +0 -0
  813. package/web/chunk-hmdvm5pp.js +0 -2
  814. package/web/chunk-hmdvm5pp.js.br +0 -0
  815. package/web/chunk-hmdvm5pp.js.gz +0 -0
  816. package/web/chunk-hrntwvx8.js +0 -1
  817. package/web/chunk-hrntwvx8.js.br +0 -0
  818. package/web/chunk-hrntwvx8.js.gz +0 -0
  819. package/web/chunk-hrys15jh.js +0 -324
  820. package/web/chunk-hrys15jh.js.br +0 -0
  821. package/web/chunk-hrys15jh.js.gz +0 -0
  822. package/web/chunk-j0ng7zdq.js +0 -41
  823. package/web/chunk-j0ng7zdq.js.br +0 -0
  824. package/web/chunk-j0ng7zdq.js.gz +0 -0
  825. package/web/chunk-j2t5ycte.js +0 -78
  826. package/web/chunk-j2t5ycte.js.br +0 -0
  827. package/web/chunk-j2t5ycte.js.gz +0 -0
  828. package/web/chunk-jkjd1y3p.js +0 -3
  829. package/web/chunk-jkjd1y3p.js.br +0 -0
  830. package/web/chunk-jkjd1y3p.js.gz +0 -0
  831. package/web/chunk-jweahmyy.js +0 -1
  832. package/web/chunk-jweahmyy.js.br +0 -0
  833. package/web/chunk-jweahmyy.js.gz +0 -0
  834. package/web/chunk-k56v8k7n.js +0 -4
  835. package/web/chunk-k56v8k7n.js.br +0 -0
  836. package/web/chunk-k56v8k7n.js.gz +0 -0
  837. package/web/chunk-k59sk88z.js +0 -7
  838. package/web/chunk-k59sk88z.js.br +0 -0
  839. package/web/chunk-k59sk88z.js.gz +0 -0
  840. package/web/chunk-k75a0fpt.js +0 -62
  841. package/web/chunk-k75a0fpt.js.br +0 -0
  842. package/web/chunk-k75a0fpt.js.gz +0 -0
  843. package/web/chunk-kfx9q7xv.js +0 -2
  844. package/web/chunk-kfx9q7xv.js.br +0 -0
  845. package/web/chunk-kfx9q7xv.js.gz +0 -0
  846. package/web/chunk-ksp1gg3v.js +0 -1
  847. package/web/chunk-ksp1gg3v.js.br +0 -0
  848. package/web/chunk-ksp1gg3v.js.gz +0 -0
  849. package/web/chunk-kxxp1mn4.js +0 -2
  850. package/web/chunk-kxxp1mn4.js.br +0 -0
  851. package/web/chunk-kxxp1mn4.js.gz +0 -0
  852. package/web/chunk-mapbxzsz.js +0 -1
  853. package/web/chunk-mapbxzsz.js.br +0 -0
  854. package/web/chunk-mapbxzsz.js.gz +0 -0
  855. package/web/chunk-msw43fnq.js +0 -2
  856. package/web/chunk-msw43fnq.js.br +0 -0
  857. package/web/chunk-msw43fnq.js.gz +0 -0
  858. package/web/chunk-mzzjg4sn.js +0 -2
  859. package/web/chunk-mzzjg4sn.js.br +0 -0
  860. package/web/chunk-mzzjg4sn.js.gz +0 -0
  861. package/web/chunk-n1bmcj13.js +0 -2
  862. package/web/chunk-n1bmcj13.js.br +0 -0
  863. package/web/chunk-n1bmcj13.js.gz +0 -0
  864. package/web/chunk-n5y4ar3e.js +0 -1
  865. package/web/chunk-n5y4ar3e.js.br +0 -0
  866. package/web/chunk-n5y4ar3e.js.gz +0 -0
  867. package/web/chunk-n9vszqw9.js +0 -1
  868. package/web/chunk-n9vszqw9.js.br +0 -0
  869. package/web/chunk-n9vszqw9.js.gz +0 -0
  870. package/web/chunk-nzzcmxq8.js +0 -1
  871. package/web/chunk-nzzcmxq8.js.br +0 -0
  872. package/web/chunk-nzzcmxq8.js.gz +0 -0
  873. package/web/chunk-p25eppk1.js +0 -1
  874. package/web/chunk-p25eppk1.js.br +0 -0
  875. package/web/chunk-p25eppk1.js.gz +0 -0
  876. package/web/chunk-p9352vpw.js +0 -1
  877. package/web/chunk-p9352vpw.js.br +0 -0
  878. package/web/chunk-p9352vpw.js.gz +0 -0
  879. package/web/chunk-pdvm4n6f.js +0 -1
  880. package/web/chunk-pdvm4n6f.js.br +0 -2
  881. package/web/chunk-pdvm4n6f.js.gz +0 -0
  882. package/web/chunk-pjm2t9da.js +0 -1
  883. package/web/chunk-pjm2t9da.js.br +0 -0
  884. package/web/chunk-pjm2t9da.js.gz +0 -0
  885. package/web/chunk-pka3qm06.js +0 -98
  886. package/web/chunk-pka3qm06.js.br +0 -0
  887. package/web/chunk-pka3qm06.js.gz +0 -0
  888. package/web/chunk-pkbcbta6.js +0 -1
  889. package/web/chunk-pkbcbta6.js.br +0 -0
  890. package/web/chunk-pkbcbta6.js.gz +0 -0
  891. package/web/chunk-pq4vn3zh.js +0 -1
  892. package/web/chunk-pq4vn3zh.js.br +0 -0
  893. package/web/chunk-pq4vn3zh.js.gz +0 -0
  894. package/web/chunk-prk9ks5j.js +0 -1
  895. package/web/chunk-prk9ks5j.js.br +0 -0
  896. package/web/chunk-prk9ks5j.js.gz +0 -0
  897. package/web/chunk-px68tdjm.js +0 -1
  898. package/web/chunk-px68tdjm.js.br +0 -2
  899. package/web/chunk-px68tdjm.js.gz +0 -0
  900. package/web/chunk-px8k5edz.js +0 -24
  901. package/web/chunk-px8k5edz.js.br +0 -0
  902. package/web/chunk-px8k5edz.js.gz +0 -0
  903. package/web/chunk-pz4g2bem.js +0 -292
  904. package/web/chunk-pz4g2bem.js.br +0 -0
  905. package/web/chunk-pz4g2bem.js.gz +0 -0
  906. package/web/chunk-q0gx75nf.js +0 -55
  907. package/web/chunk-q0gx75nf.js.br +0 -0
  908. package/web/chunk-q0gx75nf.js.gz +0 -0
  909. package/web/chunk-q9rpxfmm.js +0 -1
  910. package/web/chunk-q9rpxfmm.js.br +0 -0
  911. package/web/chunk-q9rpxfmm.js.gz +0 -0
  912. package/web/chunk-qpfhs1x0.js +0 -1
  913. package/web/chunk-qpfhs1x0.js.br +0 -0
  914. package/web/chunk-qpfhs1x0.js.gz +0 -0
  915. package/web/chunk-qredmg6m.js +0 -1
  916. package/web/chunk-qredmg6m.js.br +0 -0
  917. package/web/chunk-qredmg6m.js.gz +0 -0
  918. package/web/chunk-qtc9ar2m.js +0 -2
  919. package/web/chunk-qtc9ar2m.js.br +0 -0
  920. package/web/chunk-qtc9ar2m.js.gz +0 -0
  921. package/web/chunk-r5dsw56r.js +0 -1
  922. package/web/chunk-r5dsw56r.js.br +0 -0
  923. package/web/chunk-r5dsw56r.js.gz +0 -0
  924. package/web/chunk-rkaps675.js +0 -1
  925. package/web/chunk-rkaps675.js.br +0 -0
  926. package/web/chunk-rkaps675.js.gz +0 -0
  927. package/web/chunk-rp87pgcp.js +0 -40
  928. package/web/chunk-rp87pgcp.js.br +0 -0
  929. package/web/chunk-rp87pgcp.js.gz +0 -0
  930. package/web/chunk-rs1mtd35.js +0 -2
  931. package/web/chunk-rs1mtd35.js.br +0 -0
  932. package/web/chunk-rs1mtd35.js.gz +0 -0
  933. package/web/chunk-s31n33g5.js +0 -2
  934. package/web/chunk-s31n33g5.js.br +0 -0
  935. package/web/chunk-s31n33g5.js.gz +0 -0
  936. package/web/chunk-sbcyvn42.js +0 -1
  937. package/web/chunk-sbcyvn42.js.br +0 -0
  938. package/web/chunk-sbcyvn42.js.gz +0 -0
  939. package/web/chunk-sew9vfwy.js +0 -1
  940. package/web/chunk-sew9vfwy.js.br +0 -0
  941. package/web/chunk-sew9vfwy.js.gz +0 -0
  942. package/web/chunk-sgaw26nc.js +0 -2
  943. package/web/chunk-sgaw26nc.js.br +0 -0
  944. package/web/chunk-sgaw26nc.js.gz +0 -0
  945. package/web/chunk-t2ak4a9d.js +0 -1
  946. package/web/chunk-t2ak4a9d.js.br +0 -0
  947. package/web/chunk-t2ak4a9d.js.gz +0 -0
  948. package/web/chunk-ta0e3dk6.js +0 -2
  949. package/web/chunk-ta0e3dk6.js.br +0 -0
  950. package/web/chunk-ta0e3dk6.js.gz +0 -0
  951. package/web/chunk-tqax5mb6.js +0 -217
  952. package/web/chunk-tqax5mb6.js.br +0 -0
  953. package/web/chunk-tqax5mb6.js.gz +0 -0
  954. package/web/chunk-v1wxeq38.js +0 -2
  955. package/web/chunk-v1wxeq38.js.br +0 -0
  956. package/web/chunk-v1wxeq38.js.gz +0 -0
  957. package/web/chunk-v3kwg4zn.js +0 -2
  958. package/web/chunk-v3kwg4zn.js.br +0 -0
  959. package/web/chunk-v3kwg4zn.js.gz +0 -0
  960. package/web/chunk-vcpvhkxh.js +0 -39
  961. package/web/chunk-vcpvhkxh.js.br +0 -0
  962. package/web/chunk-vcpvhkxh.js.gz +0 -0
  963. package/web/chunk-vg9qv3aa.js +0 -1
  964. package/web/chunk-vg9qv3aa.js.br +0 -0
  965. package/web/chunk-vg9qv3aa.js.gz +0 -0
  966. package/web/chunk-vwxnt3nh.js +0 -1
  967. package/web/chunk-vwxnt3nh.js.br +0 -0
  968. package/web/chunk-vwxnt3nh.js.gz +0 -0
  969. package/web/chunk-w1xjqhwy.js +0 -1
  970. package/web/chunk-w1xjqhwy.js.br +0 -2
  971. package/web/chunk-w1xjqhwy.js.gz +0 -0
  972. package/web/chunk-w3nfxvzd.js +0 -1
  973. package/web/chunk-w3nfxvzd.js.br +0 -0
  974. package/web/chunk-w3nfxvzd.js.gz +0 -0
  975. package/web/chunk-w7h3x3ys.js +0 -1
  976. package/web/chunk-w7h3x3ys.js.br +0 -0
  977. package/web/chunk-w7h3x3ys.js.gz +0 -0
  978. package/web/chunk-wb0yn3r4.js +0 -8
  979. package/web/chunk-wb0yn3r4.js.br +0 -0
  980. package/web/chunk-wb0yn3r4.js.gz +0 -0
  981. package/web/chunk-wff6hqjf.js +0 -1
  982. package/web/chunk-wff6hqjf.js.br +0 -0
  983. package/web/chunk-wff6hqjf.js.gz +0 -0
  984. package/web/chunk-whj4e4sb.js +0 -89
  985. package/web/chunk-whj4e4sb.js.br +0 -0
  986. package/web/chunk-whj4e4sb.js.gz +0 -0
  987. package/web/chunk-wn3kdpj0.js +0 -1
  988. package/web/chunk-wn3kdpj0.js.br +0 -0
  989. package/web/chunk-wn3kdpj0.js.gz +0 -0
  990. package/web/chunk-wzq3qxpb.js +0 -1
  991. package/web/chunk-wzq3qxpb.js.br +0 -0
  992. package/web/chunk-wzq3qxpb.js.gz +0 -0
  993. package/web/chunk-x2tezwv1.js +0 -4
  994. package/web/chunk-x2tezwv1.js.br +0 -0
  995. package/web/chunk-x2tezwv1.js.gz +0 -0
  996. package/web/chunk-xmajh4qe.js +0 -2
  997. package/web/chunk-xmajh4qe.js.br +0 -0
  998. package/web/chunk-xmajh4qe.js.gz +0 -0
  999. package/web/chunk-xz7py7yx.js +0 -1
  1000. package/web/chunk-xz7py7yx.js.br +0 -0
  1001. package/web/chunk-xz7py7yx.js.gz +0 -0
  1002. package/web/chunk-y4af9gsm.js +0 -291
  1003. package/web/chunk-y4af9gsm.js.br +0 -0
  1004. package/web/chunk-y4af9gsm.js.gz +0 -0
  1005. package/web/chunk-y512gr5a.js +0 -332
  1006. package/web/chunk-y512gr5a.js.br +0 -0
  1007. package/web/chunk-y512gr5a.js.gz +0 -0
  1008. package/web/chunk-ywg44m2b.js +0 -2
  1009. package/web/chunk-ywg44m2b.js.br +0 -0
  1010. package/web/chunk-ywg44m2b.js.gz +0 -0
  1011. package/web/chunk-zhzp4fm1.js +0 -2
  1012. package/web/chunk-zhzp4fm1.js.br +0 -0
  1013. package/web/chunk-zhzp4fm1.js.gz +0 -0
@@ -0,0 +1,36 @@
1
+ import{se}from"./chunk-catm30vp.js";import{t,i,z,A,G,vn,N,M,P,R,I,O,D,d,y,re,lc,aa,nn,Q,Et,ut}from"./chunk-9nh1aeqs.js";import{ye}from"./chunk-cbdxzddd.js";import{xn,yi}from"./chunk-z3a96d42.js";import{rt,at}from"./chunk-600x58nm.js";var lt=at(function(Qe,it){(function(n,s){if(typeof Qe==="object"&&typeof it==="object")it.exports=s(yi());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof Qe==="object")Qe.cytoscapeFcose=s(yi());else n.cytoscapeFcose=s(n.coseBase)})(Qe,function(e){return(()=>{var n={658:(T)=>{T.exports=Object.assign!=null?Object.assign.bind(Object):function(F){for(var v=arguments.length,x=Array(v>1?v-1:0),l=1;l<v;l++)x[l-1]=arguments[l];return x.forEach(function(m){Object.keys(m).forEach(function(c){return F[c]=m[c]})}),F}},548:(T,F,v)=>{var x=function(){function c(f,u){var g=[],r=!0,B=!1,b=void 0;try{for(var o=f[Symbol.iterator](),h;!(r=(h=o.next()).done);r=!0)if(g.push(h.value),u&&g.length===u)break}catch(L){B=!0,b=L}finally{try{if(!r&&o.return)o.return()}finally{if(B)throw b}}return g}return function(f,u){if(Array.isArray(f))return f;else if(Symbol.iterator in Object(f))return c(f,u);else throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=v(140).layoutBase.LinkedList,m={};m.getTopMostNodes=function(c){var f={};for(var u=0;u<c.length;u++)f[c[u].id()]=!0;var g=c.filter(function(r,B){if(typeof r==="number")r=B;var b=r.parent()[0];while(b!=null){if(f[b.id()])return!1;b=b.parent()[0]}return!0});return g},m.connectComponents=function(c,f,u,g){var r=new l,B=new Set,b=[],o=void 0,h=void 0,L=void 0,a=!1,S=1,U=[],C=[],H=function(){var w=c.collection();C.push(w);var Y=u[0],j=c.collection();j.merge(Y).merge(Y.descendants().intersection(f)),b.push(Y),j.forEach(function(K){r.push(K),B.add(K),w.merge(K)});var q=function(){Y=r.shift();var fe=c.collection();Y.neighborhood().nodes().forEach(function(V){if(f.intersection(Y.edgesWith(V)).length>0)fe.merge(V)});for(var Ae=0;Ae<fe.length;Ae++){var Re=fe[Ae];if(o=u.intersection(Re.union(Re.ancestors())),o!=null&&!B.has(o[0])){var ce=o.union(o.descendants());ce.forEach(function(V){if(r.push(V),B.add(V),w.merge(V),u.has(V))b.push(V)})}}};while(r.length!=0)q();if(w.forEach(function(K){f.intersection(K.connectedEdges()).forEach(function(fe){if(w.has(fe.source())&&w.has(fe.target()))w.merge(fe)})}),b.length==u.length)a=!0;if(!a||a&&S>1){h=b[0],L=h.connectedEdges().length,b.forEach(function(K){if(K.connectedEdges().length<L)L=K.connectedEdges().length,h=K}),U.push(h.id());var ae=c.collection();ae.merge(b[0]),b.forEach(function(K){ae.merge(K)}),b=[],u=u.difference(ae),S++}};do H();while(!a);if(g){if(U.length>0)g.set("dummy"+(g.size+1),U)}return C},m.relocateComponent=function(c,f,u){if(!u.fixedNodeConstraint){var{POSITIVE_INFINITY:g,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:B,NEGATIVE_INFINITY:b}=Number;if(u.quality=="draft"){var o=!0,h=!1,L=void 0;try{for(var a=f.nodeIndexes[Symbol.iterator](),S;!(o=(S=a.next()).done);o=!0){var U=S.value,C=x(U,2),H=C[0],_=C[1],w=u.cy.getElementById(H);if(w){var Y=w.boundingBox(),j=f.xCoords[_]-Y.w/2,q=f.xCoords[_]+Y.w/2,ae=f.yCoords[_]-Y.h/2,K=f.yCoords[_]+Y.h/2;if(j<g)g=j;if(q>r)r=q;if(ae<B)B=ae;if(K>b)b=K}}}catch(V){h=!0,L=V}finally{try{if(!o&&a.return)a.return()}finally{if(h)throw L}}var fe=c.x-(r+g)/2,Ae=c.y-(b+B)/2;f.xCoords=f.xCoords.map(function(V){return V+fe}),f.yCoords=f.yCoords.map(function(V){return V+Ae})}else{Object.keys(f).forEach(function(V){var ne=f[V],Ie=ne.getRect().x,be=ne.getRect().x+ne.getRect().width,Ne=ne.getRect().y,xe=ne.getRect().y+ne.getRect().height;if(Ie<g)g=Ie;if(be>r)r=be;if(Ne<B)B=Ne;if(xe>b)b=xe});var Re=c.x-(r+g)/2,ce=c.y-(b+B)/2;Object.keys(f).forEach(function(V){var ne=f[V];ne.setCenter(ne.getCenterX()+Re,ne.getCenterY()+ce)})}}},m.calcBoundingBox=function(c,f,u,g){var{MAX_SAFE_INTEGER:r,MIN_SAFE_INTEGER:B,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:o}=Number,h=void 0,L=void 0,a=void 0,S=void 0,U=c.descendants().not(":parent"),C=U.length;for(var H=0;H<C;H++){var _=U[H];if(h=f[g.get(_.id())]-_.width()/2,L=f[g.get(_.id())]+_.width()/2,a=u[g.get(_.id())]-_.height()/2,S=u[g.get(_.id())]+_.height()/2,r>h)r=h;if(B<L)B=L;if(b>a)b=a;if(o<S)o=S}var w={};return w.topLeftX=r,w.topLeftY=b,w.width=B-r,w.height=o-b,w},m.calcParentsWithoutChildren=function(c,f){var u=c.collection();return f.nodes(":parent").forEach(function(g){var r=!1;if(g.children().forEach(function(B){if(B.css("display")!="none")r=!0}),!r)u.merge(g)}),u},T.exports=m},816:(T,F,v)=>{var x=v(548),l=v(140).CoSELayout,m=v(140).CoSENode,c=v(140).layoutBase.PointD,f=v(140).layoutBase.DimensionD,u=v(140).layoutBase.LayoutConstants,g=v(140).layoutBase.FDLayoutConstants,r=v(140).CoSEConstants,B=function(o,h){var{cy:L,eles:a}=o,S=a.nodes(),U=a.edges(),C=void 0,H=void 0,_=void 0,w={};if(o.randomize)C=h.nodeIndexes,H=h.xCoords,_=h.yCoords;var Y=function(V){return typeof V==="function"},j=function(V,ne){if(Y(V))return V(ne);else return V},q=x.calcParentsWithoutChildren(L,a),ae=function ce(V,ne,Ie,be){var Ne=ne.length;for(var xe=0;xe<Ne;xe++){var X=ne[xe],Te=null;if(X.intersection(q).length==0)Te=X.children();var ee=void 0,he=X.layoutDimensions({nodeDimensionsIncludeLabels:be.nodeDimensionsIncludeLabels});if(X.outerWidth()!=null&&X.outerHeight()!=null)if(be.randomize)if(!X.isParent())ee=V.add(new m(Ie.graphManager,new c(H[C.get(X.id())]-he.w/2,_[C.get(X.id())]-he.h/2),new f(parseFloat(he.w),parseFloat(he.h))));else{var ke=x.calcBoundingBox(X,H,_,C);if(X.intersection(q).length==0)ee=V.add(new m(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(ke.width,ke.height)));else ee=V.add(new m(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(parseFloat(he.w),parseFloat(he.h))))}else ee=V.add(new m(Ie.graphManager,new c(X.position("x")-he.w/2,X.position("y")-he.h/2),new f(parseFloat(he.w),parseFloat(he.h))));else ee=V.add(new m(this.graphManager));if(ee.id=X.data("id"),ee.nodeRepulsion=j(be.nodeRepulsion,X),ee.paddingLeft=parseInt(X.css("padding")),ee.paddingTop=parseInt(X.css("padding")),ee.paddingRight=parseInt(X.css("padding")),ee.paddingBottom=parseInt(X.css("padding")),be.nodeDimensionsIncludeLabels)ee.labelWidth=X.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,ee.labelHeight=X.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,ee.labelPosVertical=X.css("text-valign"),ee.labelPosHorizontal=X.css("text-halign");if(w[X.data("id")]=ee,isNaN(ee.rect.x))ee.rect.x=0;if(isNaN(ee.rect.y))ee.rect.y=0;if(Te!=null&&Te.length>0){var $e=void 0;$e=Ie.getGraphManager().add(Ie.newGraph(),ee),ce($e,Te,Ie,be)}}},K=function(V,ne,Ie){var be=0,Ne=0;for(var xe=0;xe<Ie.length;xe++){var X=Ie[xe],Te=w[X.data("source")],ee=w[X.data("target")];if(Te&&ee&&Te!==ee&&Te.getEdgesBetween(ee).length==0){var he=ne.add(V.newEdge(),Te,ee);he.id=X.id(),he.idealLength=j(o.idealEdgeLength,X),he.edgeElasticity=j(o.edgeElasticity,X),be+=he.idealLength,Ne++}}if(o.idealEdgeLength!=null){if(Ne>0)r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=be/Ne;else if(!Y(o.idealEdgeLength))r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=o.idealEdgeLength;else r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=50;r.MIN_REPULSION_DIST=g.MIN_REPULSION_DIST=g.DEFAULT_EDGE_LENGTH/10,r.DEFAULT_RADIAL_SEPARATION=g.DEFAULT_EDGE_LENGTH}},fe=function(V,ne){if(ne.fixedNodeConstraint)V.constraints.fixedNodeConstraint=ne.fixedNodeConstraint;if(ne.alignmentConstraint)V.constraints.alignmentConstraint=ne.alignmentConstraint;if(ne.relativePlacementConstraint)V.constraints.relativePlacementConstraint=ne.relativePlacementConstraint};if(o.nestingFactor!=null)r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=g.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.nestingFactor;if(o.gravity!=null)r.DEFAULT_GRAVITY_STRENGTH=g.DEFAULT_GRAVITY_STRENGTH=o.gravity;if(o.numIter!=null)r.MAX_ITERATIONS=g.MAX_ITERATIONS=o.numIter;if(o.gravityRange!=null)r.DEFAULT_GRAVITY_RANGE_FACTOR=g.DEFAULT_GRAVITY_RANGE_FACTOR=o.gravityRange;if(o.gravityCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=g.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.gravityCompound;if(o.gravityRangeCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=g.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.gravityRangeCompound;if(o.initialEnergyOnIncremental!=null)r.DEFAULT_COOLING_FACTOR_INCREMENTAL=g.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.initialEnergyOnIncremental;if(o.tilingCompareBy!=null)r.TILING_COMPARE_BY=o.tilingCompareBy;if(o.quality=="proof")u.QUALITY=2;else u.QUALITY=0;if(r.NODE_DIMENSIONS_INCLUDE_LABELS=g.NODE_DIMENSIONS_INCLUDE_LABELS=u.NODE_DIMENSIONS_INCLUDE_LABELS=o.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!o.randomize,r.ANIMATE=g.ANIMATE=u.ANIMATE=o.animate,r.TILE=o.tile,r.TILING_PADDING_VERTICAL=typeof o.tilingPaddingVertical==="function"?o.tilingPaddingVertical.call():o.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof o.tilingPaddingHorizontal==="function"?o.tilingPaddingHorizontal.call():o.tilingPaddingHorizontal,r.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!0,r.PURE_INCREMENTAL=!o.randomize,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=o.uniformNodeDimensions,o.step=="transformed")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!1;if(o.step=="enforced")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!1;if(o.step=="cose")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!0;if(o.step=="all"){if(o.randomize)r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0;else r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1;r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!0}if(o.fixedNodeConstraint||o.alignmentConstraint||o.relativePlacementConstraint)r.TREE_REDUCTION_ON_INCREMENTAL=!1;else r.TREE_REDUCTION_ON_INCREMENTAL=!0;var Ae=new l,Re=Ae.newGraphManager();return ae(Re.addRoot(),x.getTopMostNodes(S),Ae,o),K(Ae,Re,U),fe(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:B}},212:(T,F,v)=>{var x=function(){function o(h,L){for(var a=0;a<L.length;a++){var S=L[a];if(S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S)S.writable=!0;Object.defineProperty(h,S.key,S)}}return function(h,L,a){if(L)o(h.prototype,L);if(a)o(h,a);return h}}();function l(o,h){if(!(o instanceof h))throw TypeError("Cannot call a class as a function")}var m=v(658),c=v(548),f=v(657),u=f.spectralLayout,g=v(816),r=g.coseLayout,B=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1000,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:0.0000001,nodeRepulsion:function(h){return 4500},idealEdgeLength:function(h){return 50},edgeElasticity:function(h){return 0.45},nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),b=function(){function o(h){l(this,o),this.options=m({},B,h)}return x(o,[{key:"run",value:function(){var L=this,a=this.options,{cy:S,eles:U}=a,C=[],H=void 0,_=void 0,w=[],Y=void 0,j=[];if(a.fixedNodeConstraint&&(!Array.isArray(a.fixedNodeConstraint)||a.fixedNodeConstraint.length==0))a.fixedNodeConstraint=void 0;if(a.alignmentConstraint){if(a.alignmentConstraint.vertical&&(!Array.isArray(a.alignmentConstraint.vertical)||a.alignmentConstraint.vertical.length==0))a.alignmentConstraint.vertical=void 0;if(a.alignmentConstraint.horizontal&&(!Array.isArray(a.alignmentConstraint.horizontal)||a.alignmentConstraint.horizontal.length==0))a.alignmentConstraint.horizontal=void 0}if(a.relativePlacementConstraint&&(!Array.isArray(a.relativePlacementConstraint)||a.relativePlacementConstraint.length==0))a.relativePlacementConstraint=void 0;var q=a.fixedNodeConstraint||a.alignmentConstraint||a.relativePlacementConstraint;if(q)a.tile=!1,a.packComponents=!1;var ae=void 0,K=!1;if(S.layoutUtilities&&a.packComponents){if(ae=S.layoutUtilities("get"),!ae)ae=S.layoutUtilities();K=!0}if(U.nodes().length>0)if(!K){var fe=a.eles.boundingBox();if(j.push({x:fe.x1+fe.w/2,y:fe.y1+fe.h/2}),a.randomize){var Ae=u(a);C.push(Ae)}if(a.quality=="default"||a.quality=="proof")w.push(r(a,C[0])),c.relocateComponent(j[0],w[0],a);else c.relocateComponent(j[0],C[0],a)}else{var Re=c.getTopMostNodes(a.eles.nodes());if(Y=c.connectComponents(S,a.eles,Re),Y.forEach(function(W){var k=W.boundingBox();j.push({x:k.x1+k.w/2,y:k.y1+k.h/2})}),a.randomize)Y.forEach(function(W){a.eles=W,C.push(u(a))});if(a.quality=="default"||a.quality=="proof"){var ce=S.collection();if(a.tile){var V=new Map,ne=[],Ie=[],be=0,Ne={nodeIndexes:V,xCoords:ne,yCoords:Ie},xe=[];if(Y.forEach(function(W,k){if(W.edges().length==0)W.nodes().forEach(function(ve,oe){if(ce.merge(W.nodes()[oe]),!ve.isParent())Ne.nodeIndexes.set(W.nodes()[oe].id(),be++),Ne.xCoords.push(W.nodes()[0].position().x),Ne.yCoords.push(W.nodes()[0].position().y)}),xe.push(k)}),ce.length>1){var X=ce.boundingBox();j.push({x:X.x1+X.w/2,y:X.y1+X.h/2}),Y.push(ce),C.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)Y.splice(xe[Te],1),C.splice(xe[Te],1),j.splice(xe[Te],1)}}Y.forEach(function(W,k){a.eles=W,w.push(r(a,C[k])),c.relocateComponent(j[k],w[k],a)})}else Y.forEach(function(W,k){c.relocateComponent(j[k],C[k],a)});var ee=new Set;if(Y.length>1){var he=[],ke=U.filter(function(W){return W.css("display")=="none"});Y.forEach(function(W,k){var ve=void 0;if(a.quality=="draft")ve=C[k].nodeIndexes;if(W.nodes().not(ke).length>0){var oe={};oe.edges=[],oe.nodes=[];var pe=void 0;if(W.nodes().not(ke).forEach(function(de){if(a.quality=="draft")if(!de.isParent())pe=ve.get(de.id()),oe.nodes.push({x:C[k].xCoords[pe]-de.boundingbox().w/2,y:C[k].yCoords[pe]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var ge=c.calcBoundingBox(de,C[k].xCoords,C[k].yCoords,ve);oe.nodes.push({x:ge.topLeftX,y:ge.topLeftY,width:ge.width,height:ge.height})}else if(w[k][de.id()])oe.nodes.push({x:w[k][de.id()].getLeft(),y:w[k][de.id()].getTop(),width:w[k][de.id()].getWidth(),height:w[k][de.id()].getHeight()})}),W.edges().forEach(function(de){var ge=de.source(),Ee=de.target();if(ge.css("display")!="none"&&Ee.css("display")!="none"){if(a.quality=="draft"){var Pe=ve.get(ge.id()),Je=ve.get(Ee.id()),Me=[],Ge=[];if(ge.isParent()){var Ve=c.calcBoundingBox(ge,C[k].xCoords,C[k].yCoords,ve);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(C[k].xCoords[Pe]),Me.push(C[k].yCoords[Pe]);if(Ee.isParent()){var Xe=c.calcBoundingBox(Ee,C[k].xCoords,C[k].yCoords,ve);Ge.push(Xe.topLeftX+Xe.width/2),Ge.push(Xe.topLeftY+Xe.height/2)}else Ge.push(C[k].xCoords[Je]),Ge.push(C[k].yCoords[Je]);oe.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[k][ge.id()]&&w[k][Ee.id()])oe.edges.push({startX:w[k][ge.id()].getCenterX(),startY:w[k][ge.id()].getCenterY(),endX:w[k][Ee.id()].getCenterX(),endY:w[k][Ee.id()].getCenterY()})}}),oe.nodes.length>0)he.push(oe),ee.add(k)}});var $e=ae.packComponents(he,a.randomize).shifts;if(a.quality=="draft")C.forEach(function(W,k){var ve=W.xCoords.map(function(pe){return pe+$e[k].dx}),oe=W.yCoords.map(function(pe){return pe+$e[k].dy});W.xCoords=ve,W.yCoords=oe});else{var We=0;ee.forEach(function(W){Object.keys(w[W]).forEach(function(k){var ve=w[W][k];ve.setCenter(ve.getCenterX()+$e[We].dx,ve.getCenterY()+$e[We].dy)}),We++})}}}var Ue=function(k,ve){if(a.quality=="default"||a.quality=="proof"){if(typeof k==="number")k=ve;var oe=void 0,pe=void 0,de=k.data("id");if(w.forEach(function(Ee){if(de in Ee)oe={x:Ee[de].getRect().getCenterX(),y:Ee[de].getRect().getCenterY()},pe=Ee[de]}),a.nodeDimensionsIncludeLabels){if(pe.labelWidth){if(pe.labelPosHorizontal=="left")oe.x+=pe.labelWidth/2;else if(pe.labelPosHorizontal=="right")oe.x-=pe.labelWidth/2}if(pe.labelHeight){if(pe.labelPosVertical=="top")oe.y+=pe.labelHeight/2;else if(pe.labelPosVertical=="bottom")oe.y-=pe.labelHeight/2}}if(oe==null)oe={x:k.position("x"),y:k.position("y")};return{x:oe.x,y:oe.y}}else{var ge=void 0;if(C.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(k.id());if(Pe!=null)ge={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),ge==null)ge={x:k.position("x"),y:k.position("y")};return{x:ge.x,y:ge.y}}};if(a.quality=="default"||a.quality=="proof"||a.randomize){var et=c.calcParentsWithoutChildren(S,U),He=U.filter(function(W){return W.css("display")=="none"});if(a.eles=U.not(He),U.nodes().not(":parent").not(He).layoutPositions(L,a,Ue),et.length>0)et.forEach(function(W){W.position(Ue(W))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),o}();T.exports=b},657:(T,F,v)=>{var x=v(548),l=v(140).layoutBase.Matrix,m=v(140).layoutBase.SVD,c=function(u){var{cy:g,eles:r}=u,B=r.nodes(),b=r.nodes(":parent"),o=new Map,h=new Map,L=new Map,a=[],S=[],U=[],C=[],H=[],_=[],w=[],Y=[],j=void 0,q=void 0,ae=1e8,K=0.000000001,{piTol:fe,samplingType:Ae,nodeSeparation:Re}=u,ce=void 0,V=function(){var J=0,Z=0,te=!1;while(Z<ce){J=Math.floor(Math.random()*q),te=!1;for(var ie=0;ie<Z;ie++)if(C[ie]==J){te=!0;break}if(!te)C[Z]=J,Z++;else continue}},ne=function(J,Z,te){var ie=[],we=0,ue=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<q;ze++)Ce[ze]=ae;ie[ue]=J,Ce[J]=0;while(ue>=we){le=ie[we++];var Ye=a[le];for(var Be=0;Be<Ye.length;Be++)if(Le=h.get(Ye[Be]),Ce[Le]==ae)Ce[Le]=Ce[le]+1,ie[++ue]=Le;_[le][Z]=Ce[le]*Re}if(te){for(var Fe=0;Fe<q;Fe++)if(_[Fe][Z]<H[Fe])H[Fe]=_[Fe][Z];for(var Ze=0;Ze<q;Ze++)if(H[Ze]>De)De=H[Ze],Oe=Ze}return Oe},Ie=function(J){var Z=void 0;if(!J){V();for(var te=0;te<ce;te++)ne(C[te],te,J,!1)}else{Z=Math.floor(Math.random()*q),j=Z;for(var ie=0;ie<q;ie++)H[ie]=ae;for(var we=0;we<ce;we++)C[we]=Z,Z=ne(Z,we,J)}for(var ue=0;ue<q;ue++)for(var le=0;le<ce;le++)_[ue][le]*=_[ue][le];for(var Le=0;Le<ce;Le++)w[Le]=[];for(var Ce=0;Ce<ce;Ce++)for(var De=0;De<ce;De++)w[Ce][De]=_[C[De]][Ce]},be=function(){var J=m.svd(w),{S:Z,U:te,V:ie}=J,we=Z[0]*Z[0]*Z[0],ue=[];for(var le=0;le<ce;le++){ue[le]=[];for(var Le=0;Le<ce;Le++)if(ue[le][Le]=0,le==Le)ue[le][Le]=Z[le]/(Z[le]*Z[le]+we/(Z[le]*Z[le]))}Y=l.multMat(l.multMat(ie,ue),l.transpose(te))},Ne=function(){var J=void 0,Z=void 0,te=[],ie=[],we=[],ue=[];for(var le=0;le<q;le++)te[le]=Math.random(),ie[le]=Math.random();te=l.normalize(te),ie=l.normalize(ie);var Le=0,Ce=K,De=K,Oe=void 0;while(!0){Le++;for(var ze=0;ze<q;ze++)we[ze]=te[ze];if(te=l.multGamma(l.multL(l.multGamma(we),_,Y)),J=l.dotProduct(we,te),te=l.normalize(te),Ce=l.dotProduct(we,te),Oe=Math.abs(Ce/De),Oe<=1+fe&&Oe>=1)break;De=Ce}for(var Ye=0;Ye<q;Ye++)we[Ye]=te[Ye];Le=0,De=K;while(!0){Le++;for(var Be=0;Be<q;Be++)ue[Be]=ie[Be];if(ue=l.minusOp(ue,l.multCons(we,l.dotProduct(we,ue))),ie=l.multGamma(l.multL(l.multGamma(ue),_,Y)),Z=l.dotProduct(ue,ie),ie=l.normalize(ie),Ce=l.dotProduct(ue,ie),Oe=Math.abs(Ce/De),Oe<=1+fe&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<q;Fe++)ue[Fe]=ie[Fe];S=l.multCons(we,Math.sqrt(Math.abs(J))),U=l.multCons(ue,Math.sqrt(Math.abs(Z)))};x.connectComponents(g,r,x.getTopMostNodes(B),o),b.forEach(function(me){x.connectComponents(g,r,x.getTopMostNodes(me.descendants().intersection(r)),o)});var xe=0;for(var X=0;X<B.length;X++)if(!B[X].isParent())h.set(B[X].id(),xe++);var Te=!0,ee=!1,he=void 0;try{for(var ke=o.keys()[Symbol.iterator](),$e;!(Te=($e=ke.next()).done);Te=!0){var We=$e.value;h.set(We,xe++)}}catch(me){ee=!0,he=me}finally{try{if(!Te&&ke.return)ke.return()}finally{if(ee)throw he}}for(var Ue=0;Ue<h.size;Ue++)a[Ue]=[];b.forEach(function(me){var J=me.children().intersection(r);while(J.nodes(":childless").length==0)J=J.nodes()[0].children().intersection(r);var Z=0,te=J.nodes(":childless")[0].connectedEdges().length;J.nodes(":childless").forEach(function(ie,we){if(ie.connectedEdges().length<te)te=ie.connectedEdges().length,Z=we}),L.set(me.id(),J.nodes(":childless")[Z].id())}),B.forEach(function(me){var J=void 0;if(me.isParent())J=h.get(L.get(me.id()));else J=h.get(me.id());me.neighborhood().nodes().forEach(function(Z){if(r.intersection(me.edgesWith(Z)).length>0)if(Z.isParent())a[J].push(L.get(Z.id()));else a[J].push(Z.id())})});var et=function(J){var Z=h.get(J),te=void 0;o.get(J).forEach(function(ie){if(g.getElementById(ie).isParent())te=L.get(ie);else te=ie;a[Z].push(te),a[h.get(te)].push(J)})},He=!0,W=!1,k=void 0;try{for(var ve=o.keys()[Symbol.iterator](),oe;!(He=(oe=ve.next()).done);He=!0){var pe=oe.value;et(pe)}}catch(me){W=!0,k=me}finally{try{if(!He&&ve.return)ve.return()}finally{if(W)throw k}}q=h.size;var de=void 0;if(q>2){ce=q<u.sampleSize?q:u.sampleSize;for(var ge=0;ge<q;ge++)_[ge]=[];for(var Ee=0;Ee<ce;Ee++)Y[Ee]=[];if(u.quality=="draft"||u.step=="all")Ie(Ae),be(),Ne(),de={nodeIndexes:h,xCoords:S,yCoords:U};else h.forEach(function(me,J){S.push(g.getElementById(J).position("x")),U.push(g.getElementById(J).position("y"))}),de={nodeIndexes:h,xCoords:S,yCoords:U};return de}else{var Pe=h.keys(),Je=g.getElementById(Pe.next().value),Me=Je.position(),Ge=Je.outerWidth();if(S.push(Me.x),U.push(Me.y),q==2){var Ve=g.getElementById(Pe.next().value),Xe=Ve.outerWidth();S.push(Me.x+Ge/2+Xe/2+u.idealEdgeLength),U.push(Me.y)}return de={nodeIndexes:h,xCoords:S,yCoords:U},de}};T.exports={spectralLayout:c}},579:(T,F,v)=>{var x=v(212),l=function(c){if(!c)return;c("layout","fcose",x)};if(typeof cytoscape<"u")l(cytoscape);T.exports=l},140:(T)=>{T.exports=e}},s={};function E(T){var F=s[T];if(F!==void 0)return F.exports;var v=s[T]={exports:{}};return n[T](v,v.exports,E),v.exports}var p=E(579);return p})()})});var mt=rt(lt(),1);var ct={L:"left",R:"right",T:"top",B:"bottom"},dt={L:t((e)=>`${e},${e/2} 0,${e} 0,0`,"L"),R:t((e)=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:t((e)=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:t((e)=>`${e/2},0 ${e},${e} 0,${e}`,"B")},tt={L:t((e,n)=>e-n+2,"L"),R:t((e,n)=>e-2,"R"),T:t((e,n)=>e-n+2,"T"),B:t((e,n)=>e-2,"B")},bt=t(function(e){if(Se(e))return e==="L"?"R":"L";else return e==="T"?"B":"T"},"getOppositeArchitectureDirection"),ft=t(function(e){let n=e;return n==="L"||n==="R"||n==="T"||n==="B"},"isArchitectureDirection"),Se=t(function(e){let n=e;return n==="L"||n==="R"},"isArchitectureDirectionX"),_e=t(function(e){let n=e;return n==="T"||n==="B"},"isArchitectureDirectionY"),st=t(function(e,n){let s=Se(e)&&_e(n),E=_e(e)&&Se(n);return s||E},"isArchitectureDirectionXY"),Nt=t(function(e){let n=e[0],s=e[1],E=Se(n)&&_e(s),p=_e(n)&&Se(s);return E||p},"isArchitecturePairXY"),St=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),nt=t(function(e,n){let s=`${e}${n}`;return St(s)?s:void 0},"getArchitectureDirectionPair"),kt=t(function([e,n],s){let E=s[0],p=s[1];if(Se(E))if(_e(p))return[e+(E==="L"?-1:1),n+(p==="T"?1:-1)];else return[e+(E==="L"?-1:1),n];else if(Se(p))return[e+(p==="L"?1:-1),n+(E==="T"?1:-1)];else return[e,n+(E==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dt=t(function(e){if(e==="LT"||e==="TL")return[1,1];else if(e==="BL"||e==="LB")return[1,-1];else if(e==="BR"||e==="RB")return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),Rt=t(function(e,n){if(st(e,n))return"bend";else if(Se(e))return"horizontal";return"vertical"},"getArchitectureDirectionAlignment"),Mt=t(function(e){return e.type==="service"},"isArchitectureService"),Ft=t(function(e){return e.type==="junction"},"isArchitectureJunction"),gt=t((e,n)=>{let[s,E]=[e,n].sort();return`${JSON.stringify(s)}-${JSON.stringify(E)}`},"architectureGroupAlignmentKey"),ht=t((e)=>e.data(),"edgeData"),qe=t((e)=>e.data(),"nodeData"),$t=z.architecture,vt=class{constructor(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.elements=new Map,this.diagramId="",this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R,this.clear()}static{t(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",N()}addService({id:e,icon:n,in:s,title:E,iconText:p}){if(this.registeredIds.has(e))throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The service [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(s)==="node")throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"service",icon:n,iconText:p,title:E,edges:[],in:s})}getServices(){return[...this.nodes.values()].filter(Mt)}addJunction({id:e,in:n}){if(this.registeredIds.has(e))throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(n!==void 0){if(e===n)throw Error(`The junction [${e}] cannot be placed within itself`);if(!this.registeredIds.has(n))throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(n)==="node")throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"junction",edges:[],in:n})}getJunctions(){return[...this.nodes.values()].filter(Ft)}getNodes(){return[...this.nodes.values()]}getNode(e){return this.nodes.get(e)??null}addGroup({id:e,icon:n,in:s,title:E}){if(this.registeredIds.has(e))throw Error(`The group id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The group [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(s)==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds.set(e,"group"),this.groups.set(e,{id:e,icon:n,title:E,in:s})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:e,rhsId:n,lhsDir:s,rhsDir:E,lhsInto:p,rhsInto:T,lhsGroup:F,rhsGroup:v,title:x}){if(!ft(s))throw Error(`Invalid direction given for left hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(s)}`);if(!ft(E))throw Error(`Invalid direction given for right hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(E)}`);if(!this.nodes.has(e)&&!this.groups.has(e))throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(n)&&!this.groups.has(n))throw Error(`The right-hand id [${n}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes.get(e).in,m=this.nodes.get(n).in;if(F&&l&&m&&l==m)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(v&&l&&m&&l==m)throw Error(`The right-hand id [${n}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let c={lhsId:e,lhsDir:s,lhsInto:p,lhsGroup:F,rhsId:n,rhsDir:E,rhsInto:T,rhsGroup:v,title:x};this.edges.push(c);let f=this.nodes.get(e),u=this.nodes.get(n);if(f&&u)f.edges.push(this.edges[this.edges.length-1]),u.edges.push(this.edges[this.edges.length-1])}getEdges(){return this.edges}addLayoutHint(e){if(e.members.length<2)throw Error(`An align directive requires at least two members; got ${e.members.length}`);let n=new Set;e.members.forEach((s)=>{if(this.registeredIds.get(s)!=="node")throw Error(`align ${e.direction} references [${s}], which is not a service or junction`);if(n.has(s))throw Error(`align ${e.direction} lists [${s}] more than once`);n.add(s)}),this.layoutHints.push(e)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let e=new Map,n=new Map;for(let[F,v]of this.nodes.entries()){let x=new Map;for(let l of v.edges){let m=this.getNode(l.lhsId)?.in,c=this.getNode(l.rhsId)?.in;if(m&&c&&m!==c){let f=Rt(l.lhsDir,l.rhsDir);if(f!=="bend")e.set(gt(m,c),f)}if(l.lhsId===F){let f=nt(l.lhsDir,l.rhsDir);if(f)x.set(f,l.rhsId)}else{let f=nt(l.rhsDir,l.lhsDir);if(f)x.set(f,l.lhsId)}}n.set(F,x)}let s=new Set,E=new Set(n.keys()),p=t((F)=>{let v=new Map([[F,[0,0]]]),x=[F];while(x.length>0){let l=x.shift();if(l){s.add(l),E.delete(l);let m=n.get(l);if(!m)throw Error(`BFS error: adjacency list for id ${l} not found. Please report this as a bug.`);let c=v.get(l);if(!c)throw Error(`BFS error: position for id ${l} not found in spatial map. Please report this as a bug.`);let[f,u]=c;m.forEach((g,r)=>{if(!s.has(g))v.set(g,kt([f,u],r)),x.push(g)})}}return v},"BFS"),T=[];while(E.size>0){let F=E.values().next().value;T.push(p(F))}this.dataStructures={adjList:n,spatialMaps:T,groupAlignments:e}}return this.dataStructures}setElementForId(e,n){this.elements.set(e,n)}getElementById(e){return this.elements.get(e)}getConfig(){return Q({...$t,...A().architecture})}getConfigField(e){return this.getConfig()[e]}},Pt=t((e,n)=>{se(e,n),e.groups.map((s)=>n.addGroup(s)),e.services.map((s)=>n.addService({...s,type:"service"})),e.junctions.map((s)=>n.addJunction({...s,type:"junction"})),e.edges.map((s)=>n.addEdge(s)),e.alignments?.map((s)=>n.addLayoutHint({direction:s.direction,members:[...s.members]}))},"populateDb"),pt={parser:{yy:void 0},parse:t(async(e)=>{let n=await ye("architecture",e);i.debug(n);let s=pt.parser?.yy;if(!(s instanceof vt))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pt(n,s)},"parse")},Ot=t((e)=>`
2
+ .edge {
3
+ stroke-width: ${e.archEdgeWidth};
4
+ stroke: ${e.archEdgeColor};
5
+ fill: none;
6
+ }
7
+
8
+ .arrow {
9
+ fill: ${e.archEdgeArrowColor};
10
+ }
11
+
12
+ .node-bkg {
13
+ fill: none;
14
+ stroke: ${e.archGroupBorderColor};
15
+ stroke-width: ${e.archGroupBorderWidth};
16
+ stroke-dasharray: 8;
17
+ }
18
+ .node-icon-text {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+
23
+ .node-icon-text > div {
24
+ color: #fff;
25
+ margin: 1px;
26
+ height: fit-content;
27
+ text-align: center;
28
+ overflow: hidden;
29
+ display: -webkit-box;
30
+ -webkit-box-orient: vertical;
31
+ }
32
+ `,"getStyles"),Gt=Ot;function ot(e,n){if(e===0)return n();let s=Math.random,E=e>>>0;Math.random=function(){E=E+1831565813>>>0;let p=E;return p=Math.imul(p^p>>>15,p|1),p^=p+Math.imul(p^p>>>7,p|61),((p^p>>>14)>>>0)/4294967296};try{return n()}finally{Math.random=s}}t(ot,"withSeededRandom");var je=t((e)=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`,"wrapIcon"),Ke={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:je('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:je('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:je('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:je('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:je('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:lc,blank:{body:je("")}}},zt=t(async function(e,n,s,E){let p=s.getConfigField("padding"),T=s.getConfigField("iconSize"),F=T/2,v=T/6,x=v/2;await Promise.all(n.edges().map(async(l)=>{let{source:m,sourceDir:c,sourceArrow:f,sourceGroup:u,target:g,targetDir:r,targetArrow:B,targetGroup:b,label:o}=ht(l),{x:h,y:L}=l[0].sourceEndpoint(),{x:a,y:S}=l[0].midpoint(),{x:U,y:C}=l[0].targetEndpoint(),H=p+4;if(u)if(Se(c))h+=c==="L"?-H:H;else L+=c==="T"?-H:H+18;if(b)if(Se(r))U+=r==="L"?-H:H;else C+=r==="T"?-H:H+18;if(!u&&s.getNode(m)?.type==="junction")if(Se(c))h+=c==="L"?F:-F;else L+=c==="T"?F:-F;if(!b&&s.getNode(g)?.type==="junction")if(Se(r))U+=r==="L"?F:-F;else C+=r==="T"?F:-F;if(l[0]._private.rscratch){let _=e.insert("g");if(_.insert("path").attr("d",`M ${h},${L} L ${a},${S} L${U},${C} `).attr("class","edge").attr("id",`${E}-${Et(m,g,{prefix:"L"})}`),f){let w=Se(c)?tt[c](h,v):h-x,Y=_e(c)?tt[c](L,v):L-x;_.insert("polygon").attr("points",dt[c](v)).attr("transform",`translate(${w},${Y})`).attr("class","arrow")}if(B){let w=Se(r)?tt[r](U,v):U-x,Y=_e(r)?tt[r](C,v):C-x;_.insert("polygon").attr("points",dt[r](v)).attr("transform",`translate(${w},${Y})`).attr("class","arrow")}if(o){let w=!st(c,r)?Se(c)?"X":"Y":"XY",Y=0;if(w==="X")Y=Math.abs(h-U);else if(w==="Y")Y=Math.abs(L-C)/1.5;else Y=Math.abs(h-U)/2;let j=_.append("g");if(await ut(j,o,{useHtmlLabels:!1,width:Y,classes:"architecture-service-label"},d()),j.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),w==="X")j.attr("transform","translate("+a+", "+S+")");else if(w==="Y")j.attr("transform","translate("+a+", "+S+") rotate(-90)");else if(w==="XY"){let q=nt(c,r);if(q&&Nt(q)){let ae=j.node().getBoundingClientRect(),[K,fe]=Dt(q);j.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*K*fe*45})`);let Ae=j.node().getBoundingClientRect();j.attr("transform",`
33
+ translate(${a}, ${S-ae.height/2})
34
+ translate(${K*Ae.width/2}, ${fe*Ae.height/2})
35
+ rotate(${-1*K*fe*45}, 0, ${ae.height/2})
36
+ `)}}}}}))},"drawEdges"),Bt=t(async function(e,n,s,E){let T=s.getConfigField("padding")*0.75,F=s.getConfigField("fontSize"),x=s.getConfigField("iconSize")/2;await Promise.all(n.nodes().map(async(l)=>{let m=qe(l);if(m.type==="group"){let{h:c,w:f,x1:u,y1:g}=l.boundingBox(),r=e.append("rect");r.attr("id",`${E}-group-${m.id}`).attr("x",u+x).attr("y",g+x).attr("width",f).attr("height",c).attr("class","node-bkg");let B=e.append("g"),b=u,o=g;if(m.icon){let h=B.append("g");h.html(`<g>${await nn(m.icon,{height:T,width:T,fallbackPrefix:Ke.prefix})}</g>`),h.attr("transform","translate("+(b+x+1)+", "+(o+x+1)+")"),b+=T,o+=F/2-1-2}if(m.label){let h=B.append("g");await ut(h,m.label,{useHtmlLabels:!1,width:f,classes:"architecture-service-label"},d()),h.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),h.attr("transform","translate("+(b+x+4)+", "+(o+x+2)+")")}s.setElementForId(m.id,r)}}))},"drawGroups"),_t=t(async function(e,n,s,E){let p=d();for(let T of s){let F=n.append("g"),v=e.getConfigField("iconSize");if(T.title){let c=F.append("g");await ut(c,T.title,{useHtmlLabels:!1,width:v*1.5,classes:"architecture-service-label"},p),c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),c.attr("transform","translate("+v/2+", "+v+")")}let x=F.append("g");if(T.icon)x.html(`<g>${await nn(T.icon,{height:v,width:v,fallbackPrefix:Ke.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await nn("blank",{height:v,width:v,fallbackPrefix:Ke.prefix})}</g>`);let u=x.append("g").append("foreignObject").attr("width",v).attr("height",v).append("div").attr("class","node-icon-text").attr("style",`height: ${v}px;`).append("div").html(G(T.iconText,p)),g=parseInt(window.getComputedStyle(u.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;u.attr("style",`-webkit-line-clamp: ${Math.floor((v-2)/g)};`)}else x.append("path").attr("class","node-bkg").attr("id",`${E}-node-${T.id}`).attr("d",`M0,${v} V5 Q0,0 5,0 H${v-5} Q${v},0 ${v},5 V${v} Z`);F.attr("id",`${E}-service-${T.id}`).attr("class","architecture-service");let{width:l,height:m}=F.node().getBBox();T.width=l,T.height=m,e.setElementForId(T.id,F)}return 0},"drawServices"),Yt=t(function(e,n,s,E){s.forEach((p)=>{let T=n.append("g"),F=e.getConfigField("iconSize");T.append("g").append("rect").attr("id",`${E}-node-${p.id}`).attr("fill-opacity","0").attr("width",F).attr("height",F),T.attr("class","architecture-junction");let{width:x,height:l}=T._groups[0][0].getBBox();T.width=x,T.height=l,e.setElementForId(p.id,T)})},"drawJunctions");aa([{name:Ke.prefix,icons:Ke}]);xn.use(mt.default);function yt(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"service",id:E.id,icon:E.icon,label:E.title,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-service"})})}t(yt,"addServices");function wt(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"junction",id:E.id,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-junction"})})}t(wt,"addJunctions");function xt(e,n){n.nodes().map((s)=>{let E=qe(s);if(E.type==="group")return;E.x=s.position().x,E.y=s.position().y,e.getElementById(E.id).attr("transform","translate("+(E.x||0)+","+(E.y||0)+")")})}t(xt,"positionNodes");function Tt(e,n){e.forEach((s)=>{n.add({group:"nodes",data:{type:"group",id:s.id,icon:s.icon,label:s.title,parent:s.in},classes:"node-group"})})}t(Tt,"addGroups");function At(e,n){e.forEach((s)=>{let{lhsId:E,rhsId:p,lhsInto:T,lhsGroup:F,rhsInto:v,lhsDir:x,rhsDir:l,rhsGroup:m,title:c}=s,f=st(s.lhsDir,s.rhsDir)?"segments":"straight",u={id:`${E}-${p}`,label:c,source:E,sourceDir:x,sourceArrow:T,sourceGroup:F,sourceEndpoint:x==="L"?"0 50%":x==="R"?"100% 50%":x==="T"?"50% 0":"50% 100%",target:p,targetDir:l,targetArrow:v,targetGroup:m,targetEndpoint:l==="L"?"0 50%":l==="R"?"100% 50%":l==="T"?"50% 0":"50% 100%"};n.add({group:"edges",data:u,classes:f})})}t(At,"addEdges");function Lt(e,n,s,E=[]){let p=t((f,u)=>{let g=new Map;for(let[r,B]of f.entries()){let b=`${r}`,o=0,h=[...B.entries()];if(h.length===1){g.set(b,h[0][1]);continue}for(let L=0;L<h.length-1;L++)for(let a=L+1;a<h.length;a++){let[S,U]=h[L],[C,H]=h[a];if(s.get(gt(S,C))===u)g.set(b,[...g.get(b)??[],...U,...H]);else if(S==="default"||C==="default")g.set(b,[...g.get(b)??[],...U,...H]);else{let w=`${b}-${o++}`;g.set(w,U);let Y=`${b}-${o++}`;g.set(Y,H)}}}return g},"flattenAlignments"),T=n.map((f)=>{let u=new Map,g=new Map;return f.forEach(([r,B],b)=>{let o=e.getNode(b)?.in??"default",h=u.get(B)??new Map;if(!u.has(B))u.set(B,h);let L=g.get(r)??new Map;if(!g.has(r))g.set(r,L);for(let a of[h,L]){let S=a.get(o)??[];if(!a.has(o))a.set(o,S);S.push(b)}}),{horiz:[...p(u,"horizontal").values()].filter((r)=>r.length>1),vert:[...p(g,"vertical").values()].filter((r)=>r.length>1)}}),[F,v]=T.reduce(([f,u],{horiz:g,vert:r})=>[[...f,...g],[...u,...r]],[[],[]]),x=new Set;E.forEach((f)=>f.members.forEach((u)=>x.add(u)));let l=t((f)=>f.filter((u)=>!u.some((g)=>x.has(g))),"dropOverlapping"),m=l(F),c=l(v);return E.forEach((f)=>{if(f.members.length<2)return;if(f.direction==="row")m.push([...f.members]);else c.push([...f.members])}),{horizontal:m,vertical:c}}t(Lt,"getAlignments");function Ct(e,n,s=[]){let E=[],p=n.getConfigField("iconSize"),T=n.getConfigField("idealEdgeLengthMultiplier"),F=T*p,v=new Set;s.forEach((m)=>{for(let c=0;c<m.members.length-1;c++){let f=m.members[c],u=m.members[c+1];if(v.add(`${f}|${u}`),v.add(`${u}|${f}`),m.direction==="row")E.push({left:f,right:u,gap:F});else E.push({top:f,bottom:u,gap:F})}});let x=t((m)=>`${m[0]},${m[1]}`,"posToStr"),l=t((m)=>m.split(",").map((c)=>parseInt(c)),"strToPos");return e.forEach((m)=>{let c=new Map([...m.entries()].map(([r,B])=>[x(B),r])),f=[x([0,0])],u={},g={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};while(f.length>0){let r=f.shift();if(r){u[r]=1;let B=c.get(r);if(B){let b=l(r);Object.entries(g).forEach(([o,h])=>{let L=x([b[0]+h[0],b[1]+h[1]]),a=c.get(L);if(a&&!u[L]){if(f.push(L),v.has(`${B}|${a}`))return;E.push({[ct[o]]:a,[ct[bt(o)]]:B,gap:T*p})}})}}}}),E}t(Ct,"getRelativeConstraints");function It(e,n,s,E,p,{spatialMaps:T,groupAlignments:F}){return new Promise((v)=>{let x=y("body").append("div").attr("id","cy").attr("style","display:none"),l=xn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[0.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${p.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${p.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});x.remove(),Tt(s,l),yt(e,l,p),wt(n,l,p),At(E,l);let m=p.getLayoutHints(),c=Lt(p,T,F,m),f=Ct(T,p,m),u=p.getConfigField("iconSize"),g=p.getConfigField("idealEdgeLengthMultiplier")*u,r=0.5*u,B=p.getConfigField("edgeElasticity"),b=p.getConfigField("seed"),o=l.layout({name:"fcose",quality:"proof",randomize:p.getConfigField("randomize"),nodeSeparation:p.getConfigField("nodeSeparation"),numIter:p.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(h){let[L,a]=h.connectedNodes(),{parent:S}=qe(L),{parent:U}=qe(a);return S===U?g:r},edgeElasticity(h){let[L,a]=h.connectedNodes(),{parent:S}=qe(L),{parent:U}=qe(a);return S===U?B:0.001},alignmentConstraint:c,relativePlacementConstraint:f});o.one("layoutstop",()=>{function h(L,a,S,U){let C,H,{x:_,y:w}=L,{x:Y,y:j}=a;H=(U-w+(_-S)*(w-j)/(_-Y))/Math.sqrt(1+Math.pow((w-j)/(_-Y),2)),C=Math.sqrt(Math.pow(U-w,2)+Math.pow(S-_,2)-Math.pow(H,2));let q=Math.sqrt(Math.pow(Y-_,2)+Math.pow(j-w,2));C=C/q;let ae=(Y-_)*(U-w)-(j-w)*(S-_);switch(!0){case ae>=0:ae=1;break;case ae<0:ae=-1;break}let K=(Y-_)*(S-_)+(j-w)*(U-w);switch(!0){case K>=0:K=1;break;case K<0:K=-1;break}return H=Math.abs(H)*ae,C=C*K,{distances:H,weights:C}}t(h,"getSegmentWeights"),l.startBatch();for(let L of Object.values(l.edges()))if(L.data?.()){let{x:a,y:S}=L.source().position(),{x:U,y:C}=L.target().position();if(a!==U&&S!==C){let H=L.sourceEndpoint(),_=L.targetEndpoint(),{sourceDir:w}=ht(L),[Y,j]=_e(w)?[H.x,_.y]:[_.x,H.y],{weights:q,distances:ae}=h(H,_,Y,j);L.style("segment-distances",ae),L.style("segment-weights",q)}}l.endBatch(),ot(b,()=>o.run())});try{ot(b,()=>o.run())}catch(h){if(h instanceof RangeError&&h.message.includes("Invalid array length"))throw Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.");throw h}l.ready((h)=>{i.info("Ready",h),v(l)})})}t(It,"layoutArchitecture");var Ut=t(async(e,n,s,E)=>{let p=E.db;p.setDiagramId(n);let T=p.getServices(),F=p.getJunctions(),v=p.getGroups(),x=p.getEdges(),l=p.getDataStructures(),m=re(n),c=m.append("g");c.attr("class","architecture-edges");let f=m.append("g");f.attr("class","architecture-services");let u=m.append("g");u.attr("class","architecture-groups"),await _t(p,f,T,n),Yt(p,f,F,n);let g=await It(T,F,v,x,p,l);await zt(c,g,p,n),await Bt(u,g,p,n),xt(p,g),vn(void 0,m,p.getConfigField("padding"),p.getConfigField("useMaxWidth"))},"draw"),Ht={draw:Ut},rr={parser:pt,get db(){return new vt},renderer:Ht,styles:Gt};export{rr as diagram};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{In}from"./chunk-600x58nm.js";var X={};In(X,{default:()=>Nn});var J={};In(J,{default:()=>cr});var Tr=typeof global=="object"&&global&&global.Object===Object&&global,H=Tr;var wr=typeof self=="object"&&self&&self.Object===Object&&self,Sr=H||wr||Function("return this")(),Qe=Sr;var Pr=Qe.Symbol,Ct=Pr;var bt=Object.prototype,{hasOwnProperty:Cr,toString:Er}=bt,G=Ct?Ct.toStringTag:void 0;function Ir(t){var e=Cr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Er.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var vt=Ir;var Lr=Object.prototype,jr=Lr.toString;function Mr(t){return jr.call(t)}var Ot=Mr;var Nr="[object Null]",Dr="[object Undefined]",At=Ct?Ct.toStringTag:void 0;function Rr(t){if(t==null)return t===void 0?Dr:Nr;return At&&At in Object(t)?vt(t):Ot(t)}var Qt=Rr;function Fr(t){return t!=null&&typeof t=="object"}var st=Fr;var Br="[object Symbol]";function Ur(t){return typeof t=="symbol"||st(t)&&Qt(t)==Br}var mn=Ur;function zr(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var or=zr;var Hr=Array.isArray,le=Hr;var qr=1/0,Tt=Ct?Ct.prototype:void 0,wt=Tt?Tt.toString:void 0;function Pt(t){if(typeof t=="string")return t;if(le(t))return or(t,Pt)+"";if(mn(t))return wt?wt.call(t):"";var e=t+"";return e=="0"&&1/t==-qr?"-0":e}var Et=Pt;function $r(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var ze=$r;function kr(t){return t}var cn=kr;var Jr="[object AsyncFunction]",to="[object Function]",eo="[object GeneratorFunction]",ro="[object Proxy]";function oo(t){if(!ze(t))return!1;var e=Qt(t);return e==to||e==eo||e==Jr||e==ro}var sr=oo;var ao=Qe["__core-js_shared__"],q=ao;var It=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function fo(t){return!!It&&It in t}var Lt=fo;var io=Function.prototype,no=io.toString;function so(t){if(t!=null){try{return no.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var _=so;var po=/[\\^$.*+?()[\]{}|]/g,uo=/^\[object .+?Constructor\]$/,mo=Function.prototype,lo=Object.prototype,ho=mo.toString,co=lo.hasOwnProperty,go=RegExp("^"+ho.call(co).replace(po,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yo(t){if(!ze(t)||Lt(t))return!1;var e=sr(t)?go:uo;return e.test(_(t))}var jt=yo;function vo(t,e){return t==null?void 0:t[e]}var Mt=vo;function Oo(t,e){var r=Mt(t,e);return jt(r)?r:void 0}var h=Oo;var Po=h(Qe,"WeakMap"),k=Po;function Io(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Nt=Io;function jo(){}var Dt=jo;var Do=800,Ro=16,Fo=Date.now;function Bo(t){var e=0,r=0;return function(){var o=Fo(),a=Ro-(o-r);if(r=o,a>0){if(++e>=Do)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Rt=Bo;function Go(t){return function(){return t}}var ln=Go;var Uo=function(){try{var t=h(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Wa=Uo;var zo=!Wa?cn:function(t,e){return Wa(t,"toString",{configurable:!0,enumerable:!1,value:ln(e),writable:!0})},Ft=zo;var Wo=Rt(Ft),bo=Wo;function Ko(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var xo=Ko;function Ho(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var _o=Ho;function qo(t){return t!==t}var Bt=qo;function $o(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var Gt=$o;function Yo(t,e,r){return e===e?Gt(t,e,r):_o(t,Bt,r)}var Ut=Yo;function Xo(t,e){var r=t==null?0:t.length;return!!r&&Ut(t,e,0)>-1}var Wt=Xo;var Zo=9007199254740991,Jo=/^(?:0|[1-9]\d*)$/;function Qo(t,e){var r=typeof t;return e=e==null?Zo:e,!!e&&(r=="number"||r!="symbol"&&Jo.test(t))&&(t>-1&&t%1==0&&t<e)}var Vr=Qo;function Vo(t,e){return t===e||t!==t&&e!==e}var Ln=Vo;var Kt=Math.max;function ta(t,e,r){return e=Kt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Kt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Nt(t,this,n)}}var wo=ta;function ea(t,e){return bo(wo(t,e,cn),t+"")}var Gr=ea;var ra=9007199254740991;function oa(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ra}var j=oa;function aa(t){return t!=null&&j(t.length)&&!sr(t)}var St=aa;var fa=Object.prototype;function ia(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||fa;return t===r}var Wr=ia;function na(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Ht=na;var sa="[object Arguments]";function pa(t){return st(t)&&Qt(t)==sa}var lt=pa;var qt=Object.prototype,{hasOwnProperty:ua,propertyIsEnumerable:ma}=qt,la=lt(function(){return arguments}())?lt:function(t){return st(t)&&ua.call(t,"callee")&&!ma.call(t,"callee")},Gn=la;function da(){return!1}var $t=da;var Xt=typeof X=="object"&&X&&!X.nodeType&&X,kt=Xt&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,xa=kt&&kt.exports===Xt,Yt=xa?Qe.Buffer:void 0,ha=Yt?Yt.isBuffer:void 0,ca=ha||$t,Nn=ca;var ga="[object Arguments]",ya="[object Array]",_a="[object Boolean]",ba="[object Date]",va="[object Error]",Oa="[object Function]",Aa="[object Map]",Ta="[object Number]",wa="[object Object]",Sa="[object RegExp]",Pa="[object Set]",Ca="[object String]",Ea="[object WeakMap]",Ia="[object ArrayBuffer]",La="[object DataView]",ja="[object Float32Array]",Ma="[object Float64Array]",Na="[object Int8Array]",Da="[object Int16Array]",Ra="[object Int32Array]",Fa="[object Uint8Array]",Ba="[object Uint8ClampedArray]",Ga="[object Uint16Array]",Ua="[object Uint32Array]",u={};u[ja]=u[Ma]=u[Na]=u[Da]=u[Ra]=u[Fa]=u[Ba]=u[Ga]=u[Ua]=!0;u[ga]=u[ya]=u[Ia]=u[_a]=u[La]=u[ba]=u[va]=u[Oa]=u[Aa]=u[Ta]=u[wa]=u[Sa]=u[Pa]=u[Ca]=u[Ea]=!1;function za(t){return st(t)&&j(t.length)&&!!u[Qt(t)]}var Zt=za;function Ha(t){return function(e){return t(e)}}var Yr=Ha;var Vt=typeof J=="object"&&J&&!J.nodeType&&J,U=Vt&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,qa=U&&U.exports===Vt,dt=qa&&H.process,$a=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return dt&&dt.binding&&dt.binding("util")}catch(e){}}(),cr=$a;var te=cr&&cr.isTypedArray,ka=te?Yr(te):Zt,Xr=ka;var Va=Object.prototype,tf=Va.hasOwnProperty;function ef(t,e){var r=le(t),o=!r&&Gn(t),a=!r&&!o&&Nn(t),f=!r&&!o&&!a&&Xr(t),i=r||o||a||f,n=i?Ht(t.length,String):[],s=n.length;for(var p in t)if((e||tf.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Vr(p,s))))n.push(p);return n}var ko=ef;function rf(t,e){return function(r){return t(e(r))}}var Co=rf;var of=Co(Object.keys,Object),ee=of;var af=Object.prototype,ff=af.hasOwnProperty;function nf(t){if(!Wr(t))return ee(t);var e=[];for(var r in Object(t))if(ff.call(t,r)&&r!="constructor")e.push(r);return e}var Ya=nf;function sf(t){return St(t)?ko(t):Ya(t)}var Je=sf;var pf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uf=/^\w*$/;function mf(t,e){if(le(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||mn(t))return!0;return uf.test(t)||!pf.test(t)||e!=null&&t in Object(e)}var M=mf;var lf=h(Object,"create"),b=lf;function df(){this.__data__=b?b(null):{},this.size=0}var re=df;function xf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var oe=xf;var hf="__lodash_hash_undefined__",cf=Object.prototype,gf=cf.hasOwnProperty;function yf(t){var e=this.__data__;if(b){var r=e[t];return r===hf?void 0:r}return gf.call(e,t)?e[t]:void 0}var ae=yf;var _f=Object.prototype,bf=_f.hasOwnProperty;function vf(t){var e=this.__data__;return b?e[t]!==void 0:bf.call(e,t)}var fe=vf;var Of="__lodash_hash_undefined__";function Af(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=b&&e===void 0?Of:e,this}var ie=Af;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=re;N.prototype.delete=oe;N.prototype.get=ae;N.prototype.has=fe;N.prototype.set=ie;var xt=N;function Tf(){this.__data__=[],this.size=0}var ne=Tf;function wf(t,e){var r=t.length;while(r--)if(Ln(t[r][0],e))return r;return-1}var O=wf;var Sf=Array.prototype,Pf=Sf.splice;function Cf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else Pf.call(e,r,1);return--this.size,!0}var se=Cf;function Ef(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var pe=Ef;function If(t){return O(this.__data__,t)>-1}var ue=If;function Lf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var me=Lf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=ne;D.prototype.delete=se;D.prototype.get=pe;D.prototype.has=ue;D.prototype.set=me;var A=D;var jf=h(Qe,"Map"),T=jf;function Mf(){this.size=0,this.__data__={hash:new xt,map:new(T||A),string:new xt}}var de=Mf;function Nf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var xe=Nf;function Df(t,e){var r=t.__data__;return xe(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=Df;function Rf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var he=Rf;function Ff(t){return w(this,t).get(t)}var ce=Ff;function Bf(t){return w(this,t).has(t)}var ge=Bf;function Gf(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var ye=Gf;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=de;R.prototype.delete=he;R.prototype.get=ce;R.prototype.has=ge;R.prototype.set=ye;var E=R;var Uf="Expected a function";function ht(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(Uf);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(ht.Cache||E),r}ht.Cache=E;var _e=ht;var zf=500;function Wf(t){var e=_e(t,function(o){if(r.size===zf)r.clear();return o}),r=e.cache;return e}var be=Wf;var Kf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hf=/\\(\\)?/g,qf=be(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Kf,function(r,o,a,f){e.push(a?f.replace(Hf,"$1"):o||r)}),e}),ve=qf;function $f(t){return t==null?"":Et(t)}var So=$f;function kf(t,e){if(le(t))return t;return M(t,e)?[t]:ve(So(t))}var Kr=kf;var Yf=1/0;function Xf(t){if(typeof t=="string"||mn(t))return t;var e=t+"";return e=="0"&&1/t==-Yf?"-0":e}var lr=Xf;function Zf(t,e){e=Kr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[lr(e[r++])];return r&&r==o?t:void 0}var Zr=Zf;function Jf(t,e,r){var o=t==null?void 0:Zr(t,e);return o===void 0?r:o}var Oe=Jf;function Qf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var Xa=Qf;var Ae=Ct?Ct.isConcatSpreadable:void 0;function Vf(t){return le(t)||Gn(t)||!!(Ae&&t&&t[Ae])}var Te=Vf;function Se(t,e,r,o,a){var f=-1,i=t.length;r||(r=Te),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Se(n,e-1,r,o,a);else Xa(a,n);else if(!o)a[a.length]=n}return a}var Ka=Se;function ri(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Pe=ri;function oi(){this.__data__=new A,this.size=0}var Ce=oi;function ai(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ee=ai;function fi(t){return this.__data__.get(t)}var Ie=fi;function ii(t){return this.__data__.has(t)}var Le=ii;var ni=200;function si(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<ni-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var je=si;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Ce;F.prototype.delete=Ee;F.prototype.get=Ie;F.prototype.has=Le;F.prototype.set=je;var pr=F;function pi(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=pi;function ui(){return[]}var Ao=ui;var mi=Object.prototype,li=mi.propertyIsEnumerable,Me=Object.getOwnPropertySymbols,di=!Me?Ao:function(t){if(t==null)return[];return t=Object(t),Q(Me(t),function(e){return li.call(t,e)})},Za=di;function xi(t,e,r){var o=e(t);return le(t)?o:Xa(o,r(t))}var To=xi;function hi(t){return To(t,Je,Za)}var zi=hi;var ci=h(Qe,"DataView"),V=ci;var gi=h(Qe,"Promise"),tt=gi;var yi=h(Qe,"Set"),S=yi;var Ne="[object Map]",_i="[object Object]",De="[object Promise]",Re="[object Set]",Fe="[object WeakMap]",Be="[object DataView]",bi=_(V),vi=_(T),Oi=_(tt),Ai=_(S),Ti=_(k),I=Qt;if(V&&I(new V(new ArrayBuffer(1)))!=Be||T&&I(new T)!=Ne||tt&&I(tt.resolve())!=De||S&&I(new S)!=Re||k&&I(new k)!=Fe)I=function(t){var e=Qt(t),r=e==_i?t.constructor:void 0,o=r?_(r):"";if(o)switch(o){case bi:return Be;case vi:return Ne;case Oi:return De;case Ai:return Re;case Ti:return Fe}return e};var fn=I;var wi=Qe.Uint8Array,Qa=wi;var Si="__lodash_hash_undefined__";function Pi(t){return this.__data__.set(t,Si),this}var Ge=Pi;function Ci(t){return this.__data__.has(t)}var Ue=Ci;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Ge;rt.prototype.has=Ue;var ot=rt;function Ei(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var We=Ei;function Ii(t,e){return t.has(e)}var at=Ii;var Li=1,ji=2;function Mi(t,e,r,o,a,f){var i=r&Li,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,y=r&ji?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var c=t[l],g=e[l];if(o)var v=i?o(g,c,l,e,t,f):o(c,g,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(y){if(!We(e,function(P,C){if(!at(y,C)&&(c===P||a(c,P,r,o,f)))return y.push(C)})){m=!1;break}}else if(!(c===g||a(c,g,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=Mi;function Ni(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var Ke=Ni;function Di(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Di;var Ri=1,Fi=2,Bi="[object Boolean]",Gi="[object Date]",Ui="[object Error]",Wi="[object Map]",Ki="[object Number]",Hi="[object RegExp]",qi="[object Set]",$i="[object String]",ki="[object Symbol]",Yi="[object ArrayBuffer]",Xi="[object DataView]",He=Ct?Ct.prototype:void 0,ct=He?He.valueOf:void 0;function Zi(t,e,r,o,a,f,i){switch(r){case Xi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Yi:if(t.byteLength!=e.byteLength||!f(new Qa(t),new Qa(e)))return!1;return!0;case Bi:case Gi:case Ki:return Ln(+t,+e);case Ui:return t.name==e.name&&t.message==e.message;case Hi:case $i:return t==e+"";case Wi:var n=Ke;case qi:var s=o&Ri;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=Fi,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case ki:if(ct)return ct.call(t)==ct.call(e)}return!1}var qe=Zi;var Ji=1,Qi=Object.prototype,Vi=Qi.hasOwnProperty;function tn(t,e,r,o,a,f){var i=r&Ji,n=zi(t),s=n.length,p=zi(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Vi.call(e,m)))return!1}var y=f.get(t),c=f.get(e);if(y&&c)return y==e&&c==t;var g=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var _t=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(_t===void 0?P===C||a(P,C,r,o,f):_t)){g=!1;break}v||(v=m=="constructor")}if(g&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))g=!1}return f.delete(t),f.delete(e),g}var $e=tn;var en=1,ke="[object Arguments]",Ye="[object Array]",it="[object Object]",rn=Object.prototype,Xe=rn.hasOwnProperty;function on(t,e,r,o,a,f){var i=le(t),n=le(e),s=i?Ye:fn(t),p=n?Ye:fn(e);s=s==ke?it:s,p=p==ke?it:p;var d=s==it,l=p==it,m=s==p;if(m&&Nn(t)){if(!Nn(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new pr),i||Xr(t)?ft(t,e,r,o,a,f):qe(t,e,s,r,o,a,f);if(!(r&en)){var y=d&&Xe.call(t,"__wrapped__"),c=l&&Xe.call(e,"__wrapped__");if(y||c){var g=y?t.value():t,v=c?e.value():e;return f||(f=new pr),a(g,v,r,o,f)}}if(!m)return!1;return f||(f=new pr),$e(t,e,r,o,a,f)}var Ze=on;function Ve(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!st(t)&&!st(e))return t!==t&&e!==e;return Ze(t,e,r,o,Ve,a)}var nt=Ve;var an=1,nn=2;function sn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new pr;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,an|nn,o,l):m))return!1}}return!0}var tr=sn;function pn(t){return t===t&&!ze(t)}var pt=pn;function un(t){var e=Je(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,pt(a)]}return e}var er=un;function dn(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var ut=dn;function xn(t){var e=er(t);if(e.length==1&&e[0][2])return ut(e[0][0],e[0][1]);return function(r){return r===t||tr(r,t,e)}}var rr=xn;function gn(t,e){return t!=null&&e in Object(t)}var ar=gn;function yn(t,e,r){e=Kr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=lr(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&Vr(i,a)&&(le(t)||Gn(t))}var Eo=yn;function _n(t,e){return t!=null&&Eo(t,e,ar)}var Lo=_n;var bn=1,vn=2;function On(t,e){if(M(t)&&pt(e))return ut(lr(t),e);return function(r){var o=Oe(r,t);return o===void 0&&o===e?Lo(r,t):nt(e,o,bn|vn)}}var fr=On;function An(t){return function(e){return e==null?void 0:e[t]}}var No=An;function Tn(t){return function(e){return Zr(e,t)}}var ir=Tn;function wn(t){return M(t)?No(lr(t)):ir(t)}var nr=wn;function Sn(t){if(typeof t=="function")return t;if(t==null)return cn;if(typeof t=="object")return le(t)?fr(t[0],t[1]):rr(t);return nr(t)}var zt=Sn;function Pn(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var mr=Pn;var Cn=mr(),Ja=Cn;function En(t,e){return t&&Ja(t,e,Je)}var ei=En;function jn(t,e){return function(r,o){if(r==null)return r;if(!St(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var dr=jn;var Mn=dr(ei),Qr=Mn;function Dn(t){return st(t)&&St(t)}var Mo=Dn;function Rn(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var xr=Rn;function Fn(t){return typeof t=="function"?t:cn}var ti=Fn;function Bn(t,e){var r=le(t)?xo:Qr;return r(t,ti(e))}var x=Bn;function Un(t,e){var r=[];return Qr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var hr=Un;function zn(t,e){var r=le(t)?Q:hr;return r(t,zt(e,3))}var Jt=zn;function Wn(t,e){return or(e,function(r){return t[r]})}var gr=Wn;function Kn(t){return t==null?[]:gr(t,Je(t))}var hn=Kn;var Hn="[object Map]",qn="[object Set]",$n=Object.prototype,kn=$n.hasOwnProperty;function Yn(t){if(t==null)return!0;if(St(t)&&(le(t)||typeof t=="string"||typeof t.splice=="function"||Nn(t)||Xr(t)||Gn(t)))return!t.length;var e=fn(t);if(e==Hn||e==qn)return!t.size;if(Wr(t))return!Ya(t).length;for(var r in t)if(kn.call(t,r))return!1;return!0}var mt=Yn;function Xn(t){return t===void 0}var et=Xn;function Zn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var yr=Zn;function Jn(t,e,r){var o=le(t)?Pe:yr,a=arguments.length<3;return o(t,zt(e,4),r,a,Qr)}var ur=Jn;var Qn=1/0,Vn=!(S&&1/B(new S([,-0]))[1]==Qn)?Dt:function(t){return new S(t)},_r=Vn;var ts=200;function es(t,e,r){var o=-1,a=Wt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=xr;else if(f>=ts){var p=e?null:_r(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var br=es;var rs=Gr(function(t){return br(Ka(t,1,Mo,!0))}),gt=rs;var as="\x00",L="\x00",vr="\x01";class we{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=ln(void 0),this._defaultEdgeLabelFn=ln(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!sr(t))t=ln(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Je(this._nodes)}sources(){var t=this;return Jt(this.nodes(),function(e){return mt(t._in[e])})}sinks(){var t=this;return Jt(this.nodes(),function(e){return mt(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return x(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],x(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];x(Je(this._in[t]),e),delete this._in[t],delete this._preds[t],x(Je(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(et(e))e=L;else{e+="";for(var r=e;!et(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(et(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Je(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Je(e)}successors(t){var e=this._sucs[t];if(e)return Je(e)}neighbors(t){var e=this.predecessors(t);if(e)return gt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;x(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),x(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)x(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!sr(t))t=ln(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return hn(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return ur(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!et(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!et(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,Or(this._preds[e],t),Or(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],Ar(this._preds[e],t),Ar(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=hn(r);if(!e)return o;return Jt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=hn(r);if(!e)return o;return Jt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}we.prototype._nodeCount=0;we.prototype._edgeCount=0;function Or(t,e){if(t[e])t[e]++;else t[e]=1}function Ar(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+vr+f+vr+(et(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function yt(t,e){return z(t,e.v,e.w,e.name)}
2
+ export{Qe,Ct,Qt,st,mn,or,le,ze,cn,sr,ln,Wa,bo,xo,_o,Vr,Ln,wo,Gr,St,Wr,Gn,Nn,Yr,cr,Xr,ko,Co,Ya,Je,So,Kr,lr,Zr,Xa,Ka,pr,Ao,Za,To,zi,fn,Qa,Eo,Lo,No,zt,Ja,ei,Qr,Mo,ti,x,Jt,hn,et,ur,we};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Hr}from"./chunk-gne1ybac.js";import"./chunk-6ycpdpfj.js";export{Hr as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t}from"./chunk-9nh1aeqs.js";var c=1;function i(){if(typeof globalThis>"u")return;return globalThis}t(i,"getCaptureGlobal");function p(){return Boolean(i()?.mermaidCaptureSizes)}t(p,"shouldCaptureSizes");function u(){if(typeof location>"u")return"browser-dev";return`${location.pathname}${location.search}`}t(u,"capturedFromLocation");function d(n,r){let o=i();if(!o)return;let e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";o.mermaidCapturedSizes??=[];let a={svgId:s,sizes:n};o.mermaidCapturedSizes.push(a),o.mermaidLastCapturedSizes=a}t(d,"emitCapturedSizes");function m(n,r){let o=[];for(let e of r.nodes){if(e.isGroup)continue;o.push({id:e.id,width:e.width??0,height:e.height??0})}if(o.length===0)return;d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:o},n)}t(m,"captureNodeSizes");export{m as captureNodeSizes};
Binary file
Binary file
@@ -0,0 +1,139 @@
1
+ import{t,Y,N,M,P,R,I,O,D,d,y}from"./chunk-9nh1aeqs.js";import{Cr,$i,kc,Kt}from"./chunk-xj1w9054.js";import{Tn}from"./chunk-y1eeptks.js";import{Nt}from"./chunk-aps2c5t2.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],g=[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,f,p,c,w){var _=c.length-1;switch(p){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:f.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),f.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),f.setAccDescription(this.$);break;case 12:f.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:f.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:g,14:i,16:u,17:m,18:o},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:15,11:a,12:g,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],f=[],p=[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 Tt(E){l.length=l.length-2*E,p.length=p.length-E,c.length=c.length-E}t(Tt,"popStack");function ut(){var E=f.pop()||v.lex()||ht;if(typeof E!=="number"){if(E instanceof Array)f=E,E=f.pop();E=s.symbols_[E]||E}return E}t(ut,"lex");var T,tt,z,S,Gt,et,W={},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),p.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],W.$=p[p.length-F],W._$={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)W._$.range=[c[c.length-(F||1)].range[0],c[c.length-1].range[1]];if(et=this.performAction.apply(W,[_,ot,L,j.yy,S[1],p,c].concat(vt)),typeof et<"u")return et;if(F)l=l.slice(0,-1*F*2),p=p.slice(0,-1*F),c=c.slice(0,-1*F);l.push(this.productions_[S[1]][0]),p.push(W.$),c.push(W._$),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 f=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 p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===f.length?this.yylloc.first_column:0)+f[f.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[p[0],p[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,f,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(f=n[0].match(/(?:\r\n?|\n).*/g),f)this.yylineno+=f.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.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 p)this[c]=p[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,f;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var c=0;c<p.length;c++)if(l=this._input.match(this.rules[p[c]]),l&&(!s||l[0].length>s[0].length)){if(s=l,f=c,this.options.backtrack_lexer)if(n=this.test_match(l,p[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,p[f]),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,f,p){var c=p;switch(f){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 St=nt,q="",at=[],X=[],G=[],$t=t(function(){at.length=0,X.length=0,q="",G.length=0,N()},"clear"),Mt=t(function(e){q=e,at.push(e)},"addSection"),Et=t(function(){return at},"getSections"),Ct=t(function(){let e=dt(),r=100,a=0;while(!e&&a<r)e=dt(),a++;return X.push(...G),X},"getTasks"),Pt=t(function(){let e=[];return X.forEach((a)=>{if(a.people)e.push(...a.people)}),[...new Set(e)].sort()},"updateActors"),It=t(function(e,r){let a=r.substr(1).split(":"),g=0,i=[];if(a.length===1)g=Number(a[0]),i=[];else g=Number(a[0]),i=a[1].split(",");let u=i.map((o)=>o.trim()),m={section:q,type:q,people:u,task:e,score:g};G.push(m)},"addTask"),At=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,g]of G.entries())e(a),r=r&&g.processed;return r},"compileTasks"),Ft=t(function(){return Pt()},"getActors"),ft={getConfig:t(()=>d().journey,"getConfig"),clear:$t,setDiagramTitle:O,getDiagramTitle:D,setAccTitle:M,getAccTitle:P,setAccDescription:R,getAccDescription:I,addSection:Mt,getSections:Et,getTasks:Ct,addTask:It,addTaskOrg:At,getActors:Ft},Vt=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
+ ${Nt()}
139
+ `,"getStyles"),Rt=Vt,lt=t(function(e,r){return Cr(e,r)},"drawRect"),Lt=t(function(e,r){let g=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=Tn().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=Tn().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 g},"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 kc(e,r)},"drawText"),Bt=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 g=e.append("polygon");g.attr("points",a(r.x,r.y,50,20,7)),g.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+0.5*r.labelMargin,xt(e,r)},"drawLabel"),jt=t(function(e,r,a){let g=e.append("g"),i=Kt();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(g,i),kt(a)(r.text,g,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,g){let i=r.x+a.width/2,u=e.append("g");st++;let m=450;u.append("line").attr("id",g+"-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"),Lt(u,{cx:i,cy:300+(5-r.score)*30,score:r.score});let o=Kt();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){$i(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);g(n,b)}t(e,"byText");function r(i,u,m,o,x,k,b,h,n){let{taskFontSize:s,taskFontFamily:l}=h,f=i.split(/<br\s*\/?>/gi);for(let p=0;p<f.length;p++){let c=p*s-s*(f.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(f[p]),w.attr("y",o+k/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(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),g(l,b)}t(a,"byFo");function g(i,u){for(let m in u)if(m in u)i.attr(m,u[m])}return t(g,"_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:jt,drawText:xt,drawLabel:Bt,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 g=60;Object.keys(V).forEach((i)=>{let u=V[i].color,m={cx:20,cy:g,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 f="";for(let p of n)if(f+=p,o.text(f+"-"),o.node().getBoundingClientRect().width>a)k.push(f.slice(0,-1)+"-"),f=p;h=f}}else h=s}),h)k.push(h);o.remove()}k.forEach((b,h)=>{let n={x:40,y:g+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}),g+=Math.max(20,k.length*20)})}t(bt,"drawActorLegend");var A=d().journey,B=0,qt=t(function(e,r,a,g){let i=d(),u=i.journey.titleColor,m=i.journey.titleFontSize,o=i.journey.titleFontFamily,x=i.securityLevel,k;if(x==="sandbox")k=y("#i"+r);let b=x==="sandbox"?y(k.nodes()[0].contentDocument.body):y("body");C.init();let h=b.select("#"+r);H.initGraphics(h,r);let n=g.db.getTasks(),s=g.db.getDiagramTitle(),l=g.db.getActors();for(let L in V)delete V[L];let f=0;l.forEach((L)=>{V[L]={color:A.actorColours[f%A.actorColours.length],position:f},f++}),bt(h),B=A.leftMargin+J,C.insert(0,0,B,Object.keys(V).length*50),Xt(h,n,0,r);let p=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=p.stopy-p.starty+2*A.diagramMarginY,w=B+p.stopx+2*A.diagramMarginX;Y(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",`${p.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,g){if(e[r]===void 0)e[r]=a;else e[r]=g(a,e[r])},"updateVal"),updateBounds:t(function(e,r,a,g){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",g+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",g+h*i.boxMargin,Math.max)},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:t(function(e,r,a,g){let i=Math.min(e,a),u=Math.max(e,a),m=Math.min(r,g),o=Math.max(r,g);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,g){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 f=0,p=s.section;for(let w=n;w<r.length;w++)if(r[w].section==p)f=f+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:f};H.drawSection(e,c,i),u=s.section,x++}let l=s.people.reduce((f,p)=>{if(V[p])f[p]=V[p];return f},{});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,g),C.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}},"drawTasks"),gt={setConf:Yt,draw:qt},ee={parser:St,db:ft,renderer:gt,styles:Rt,init:t((e)=>{gt.setConf(e.journey),ft.clear()},"init")};export{ee as diagram};
Binary file
Binary file