@bkm016/basalt 0.1.32 → 0.1.34

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 (973) hide show
  1. package/README.md +23 -0
  2. package/chunk-0tr0cc6f.js +3 -0
  3. package/chunk-1f0mnggp.js +3 -0
  4. package/chunk-1ntcq7ed.js +2 -0
  5. package/chunk-1xkxfddg.js +286 -0
  6. package/chunk-1zz6akcm.js +3 -0
  7. package/chunk-2cd3qzny.js +3 -0
  8. package/chunk-2sbmy31t.js +2 -0
  9. package/chunk-32s6agaj.js +2 -0
  10. package/chunk-37n62c4c.js +3 -0
  11. package/chunk-3w2902kg.js +9 -0
  12. package/chunk-43q7hq53.js +2 -0
  13. package/chunk-4ewh67qf.js +25 -0
  14. package/chunk-5277mfp2.js +44 -0
  15. package/chunk-6f1zc4g6.js +2 -0
  16. package/chunk-6r4kw9x9.js +60 -0
  17. package/chunk-7qaavsga.js +2 -0
  18. package/chunk-88s6d1bz.js +3 -0
  19. package/chunk-9jw0km9r.js +13 -0
  20. package/chunk-a3h0mng1.js +8 -0
  21. package/chunk-acmtkg1q.js +20 -0
  22. package/chunk-adn9jbzj.js +2 -0
  23. package/chunk-anfhjdgv.js +2 -0
  24. package/chunk-apn5amfe.js +498 -0
  25. package/chunk-bsp6e8cv.js +2 -0
  26. package/chunk-bw2h35jd.js +2 -0
  27. package/chunk-bwx9m3ex.js +51 -0
  28. package/chunk-cezgvpja.js +3 -0
  29. package/chunk-cfhtmr6g.js +31 -0
  30. package/chunk-d5w3ntc3.js +7 -0
  31. package/chunk-dtks8c7v.js +2 -0
  32. package/chunk-e01g2yf9.js +3 -0
  33. package/chunk-e1rfd7jn.js +3 -0
  34. package/chunk-e8ehznx7.js +2 -0
  35. package/chunk-edp0svhf.js +3 -0
  36. package/chunk-evaew46c.js +2 -0
  37. package/chunk-ewhpfrgj.js +3 -0
  38. package/chunk-f7q6p7tp.js +7 -0
  39. package/chunk-fm482h25.js +3 -0
  40. package/chunk-g3j6jdht.js +39 -0
  41. package/chunk-gejre6z5.js +7 -0
  42. package/chunk-gz5ssvjh.js +3 -0
  43. package/chunk-h32ca6cs.js +11 -0
  44. package/chunk-hab25nd9.js +3 -0
  45. package/chunk-jbfkv490.js +8 -0
  46. package/chunk-jem2kqdt.js +3 -0
  47. package/chunk-jrwezx0r.js +16 -0
  48. package/chunk-ka5dtn3w.js +3 -0
  49. package/chunk-kxmws6zx.js +4068 -0
  50. package/chunk-m0gk2b1f.js +3 -0
  51. package/chunk-mekgrca0.js +25 -0
  52. package/chunk-mkp20bwr.js +2 -0
  53. package/chunk-n4qxf40m.js +2 -0
  54. package/chunk-n9r9zzr4.js +59 -0
  55. package/chunk-ndca35jt.js +5 -0
  56. package/chunk-ng9vq9hy.js +2 -0
  57. package/chunk-nx1997s8.js +2 -0
  58. package/chunk-p99dt6kf.js +12 -0
  59. package/chunk-pnctvz58.js +3 -0
  60. package/chunk-ppgn9exm.js +2 -0
  61. package/chunk-pqq5znyp.js +2 -0
  62. package/chunk-q2429jd1.js +3 -0
  63. package/chunk-q3nmdtk4.js +3 -0
  64. package/chunk-q4r4nger.js +3 -0
  65. package/chunk-q6gq7g7m.js +4 -0
  66. package/chunk-qnejy3qp.js +2 -0
  67. package/chunk-sj0fqgjf.js +10 -0
  68. package/chunk-t5y3dqv3.js +3 -0
  69. package/chunk-t6vw73nv.js +2 -0
  70. package/chunk-t9zpdekw.js +5 -0
  71. package/chunk-v0xs5sy0.js +2 -0
  72. package/chunk-v8v2exqg.js +2 -0
  73. package/chunk-wgff8n0r.js +2 -0
  74. package/chunk-wpv679r1.js +3 -0
  75. package/chunk-wrw806wb.js +3 -0
  76. package/chunk-wsby70ce.js +12 -0
  77. package/chunk-xdbgpht7.js +2 -0
  78. package/chunk-y1b98tfk.js +5 -0
  79. package/chunk-y3m3w19s.js +3 -0
  80. package/chunk-y5p5jq48.js +63 -0
  81. package/chunk-ynf5sz68.js +10 -0
  82. package/chunk-zfk9az7y.js +5 -0
  83. package/chunk-zwse6b6t.js +18 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +24 -24
  87. package/web/chunk-016nkjwe.js +2 -0
  88. package/web/chunk-016nkjwe.js.br +0 -0
  89. package/web/chunk-016nkjwe.js.gz +0 -0
  90. package/web/chunk-0er8vdaw.js +2 -0
  91. package/web/chunk-0er8vdaw.js.br +0 -0
  92. package/web/chunk-0er8vdaw.js.gz +0 -0
  93. package/web/chunk-0sq0ed2h.js +12 -0
  94. package/web/chunk-0sq0ed2h.js.br +0 -0
  95. package/web/chunk-0sq0ed2h.js.gz +0 -0
  96. package/web/chunk-0w8swe64.js +2 -0
  97. package/web/chunk-0w8swe64.js.br +0 -0
  98. package/web/chunk-0w8swe64.js.gz +0 -0
  99. package/web/chunk-15pxdcz7.js +1 -0
  100. package/web/chunk-15pxdcz7.js.br +0 -0
  101. package/web/chunk-15pxdcz7.js.gz +0 -0
  102. package/web/chunk-1a1w9rth.js +4 -0
  103. package/web/chunk-1a1w9rth.js.br +0 -0
  104. package/web/chunk-1a1w9rth.js.gz +0 -0
  105. package/web/chunk-1e8tsn4c.js +1 -0
  106. package/web/chunk-1e8tsn4c.js.br +0 -0
  107. package/web/chunk-1e8tsn4c.js.gz +0 -0
  108. package/web/chunk-1jwp193e.js +78 -0
  109. package/web/chunk-1jwp193e.js.br +0 -0
  110. package/web/chunk-1jwp193e.js.gz +0 -0
  111. package/web/chunk-1wz0tepc.js +106 -0
  112. package/web/chunk-1wz0tepc.js.br +0 -0
  113. package/web/chunk-1wz0tepc.js.gz +0 -0
  114. package/web/chunk-20gcnbgn.js +2 -0
  115. package/web/chunk-20gcnbgn.js.br +0 -0
  116. package/web/chunk-20gcnbgn.js.gz +0 -0
  117. package/web/chunk-213m58wn.js +1 -0
  118. package/web/chunk-213m58wn.js.br +0 -0
  119. package/web/chunk-213m58wn.js.gz +0 -0
  120. package/web/chunk-2hat8cth.js +1 -0
  121. package/web/chunk-2hat8cth.js.br +0 -0
  122. package/web/chunk-2hat8cth.js.gz +0 -0
  123. package/web/chunk-2nwvdqxm.js +1 -0
  124. package/web/chunk-2nwvdqxm.js.br +0 -0
  125. package/web/chunk-2nwvdqxm.js.gz +0 -0
  126. package/web/chunk-3dj31vfh.js +292 -0
  127. package/web/chunk-3dj31vfh.js.br +0 -0
  128. package/web/chunk-3dj31vfh.js.gz +0 -0
  129. package/web/chunk-3g7waf75.js +70 -0
  130. package/web/chunk-3g7waf75.js.br +0 -0
  131. package/web/chunk-3g7waf75.js.gz +0 -0
  132. package/web/chunk-3x1zg1hk.js +1 -0
  133. package/web/chunk-3x1zg1hk.js.br +0 -0
  134. package/web/chunk-3x1zg1hk.js.gz +0 -0
  135. package/web/chunk-414npx47.js +1 -0
  136. package/web/chunk-414npx47.js.br +0 -0
  137. package/web/chunk-414npx47.js.gz +0 -0
  138. package/web/chunk-416ts17x.js +2 -0
  139. package/web/chunk-416ts17x.js.br +0 -0
  140. package/web/chunk-416ts17x.js.gz +0 -0
  141. package/web/chunk-47qwqp4f.js +7 -0
  142. package/web/chunk-47qwqp4f.js.br +0 -0
  143. package/web/chunk-47qwqp4f.js.gz +0 -0
  144. package/web/chunk-4k4c2se1.js +2 -0
  145. package/web/chunk-4k4c2se1.js.br +0 -0
  146. package/web/chunk-4k4c2se1.js.gz +0 -0
  147. package/web/chunk-4vsg8d4c.js +4 -0
  148. package/web/chunk-4vsg8d4c.js.br +0 -0
  149. package/web/chunk-4vsg8d4c.js.gz +0 -0
  150. package/web/chunk-53ag9hyw.js +40 -0
  151. package/web/chunk-53ag9hyw.js.br +0 -0
  152. package/web/chunk-53ag9hyw.js.gz +0 -0
  153. package/web/chunk-545zx869.js +2 -0
  154. package/web/chunk-545zx869.js.br +0 -0
  155. package/web/chunk-545zx869.js.gz +0 -0
  156. package/web/chunk-55mx05jg.js +2 -0
  157. package/web/chunk-55mx05jg.js.br +0 -0
  158. package/web/chunk-55mx05jg.js.gz +0 -0
  159. package/web/chunk-55phnzd7.js +1 -0
  160. package/web/chunk-55phnzd7.js.br +0 -0
  161. package/web/chunk-55phnzd7.js.gz +0 -0
  162. package/web/chunk-56a6njsk.js +1 -0
  163. package/web/chunk-56a6njsk.js.br +0 -0
  164. package/web/chunk-56a6njsk.js.gz +0 -0
  165. package/web/chunk-5hvs5kyx.js +1 -0
  166. package/web/chunk-5hvs5kyx.js.br +0 -0
  167. package/web/chunk-5hvs5kyx.js.gz +0 -0
  168. package/web/chunk-5nbyvd4t.js +1 -0
  169. package/web/chunk-5nbyvd4t.js.br +0 -0
  170. package/web/chunk-5nbyvd4t.js.gz +0 -0
  171. package/web/chunk-690qxds4.js +1 -0
  172. package/web/chunk-690qxds4.js.br +0 -0
  173. package/web/chunk-690qxds4.js.gz +0 -0
  174. package/web/chunk-6dr6eazd.js +2 -0
  175. package/web/chunk-6dr6eazd.js.br +0 -0
  176. package/web/chunk-6dr6eazd.js.gz +0 -0
  177. package/web/chunk-6nkegqxk.js +139 -0
  178. package/web/chunk-6nkegqxk.js.br +0 -0
  179. package/web/chunk-6nkegqxk.js.gz +0 -0
  180. package/web/chunk-6ypf5nq6.js +140 -0
  181. package/web/chunk-6ypf5nq6.js.br +0 -0
  182. package/web/chunk-6ypf5nq6.js.gz +0 -0
  183. package/web/chunk-70kws32b.js +2 -0
  184. package/web/chunk-70kws32b.js.br +0 -0
  185. package/web/chunk-70kws32b.js.gz +0 -0
  186. package/web/chunk-71tshjjr.js +16 -0
  187. package/web/chunk-71tshjjr.js.br +0 -0
  188. package/web/chunk-71tshjjr.js.gz +0 -0
  189. package/web/chunk-7fh9k75p.js +1 -0
  190. package/web/chunk-7fh9k75p.js.br +0 -0
  191. package/web/chunk-7fh9k75p.js.gz +0 -0
  192. package/web/chunk-7k8azd8z.js +1 -0
  193. package/web/chunk-7k8azd8z.js.br +0 -0
  194. package/web/chunk-7k8azd8z.js.gz +0 -0
  195. package/web/chunk-7mmebce4.js +1 -0
  196. package/web/chunk-7mmebce4.js.br +0 -0
  197. package/web/chunk-7mmebce4.js.gz +0 -0
  198. package/web/chunk-7mwghj09.js +89 -0
  199. package/web/chunk-7mwghj09.js.br +0 -0
  200. package/web/chunk-7mwghj09.js.gz +0 -0
  201. package/web/chunk-7y5kr56m.js +1 -0
  202. package/web/chunk-7y5kr56m.js.br +0 -0
  203. package/web/chunk-7y5kr56m.js.gz +0 -0
  204. package/web/chunk-8esqhp64.js +1 -0
  205. package/web/chunk-8esqhp64.js.br +0 -0
  206. package/web/chunk-8esqhp64.js.gz +0 -0
  207. package/web/chunk-8gxgpr3n.js +214 -0
  208. package/web/chunk-8gxgpr3n.js.br +0 -0
  209. package/web/chunk-8gxgpr3n.js.gz +0 -0
  210. package/web/chunk-8vnmk3y7.js +1 -0
  211. package/web/chunk-8vnmk3y7.js.br +0 -0
  212. package/web/chunk-8vnmk3y7.js.gz +0 -0
  213. package/web/chunk-99r862t8.js +30 -0
  214. package/web/chunk-99r862t8.js.br +0 -0
  215. package/web/chunk-99r862t8.js.gz +0 -0
  216. package/web/chunk-9cznsyf4.js +7 -0
  217. package/web/chunk-9cznsyf4.js.br +0 -0
  218. package/web/chunk-9cznsyf4.js.gz +0 -0
  219. package/web/chunk-9hmw91e9.js +1 -0
  220. package/web/chunk-9hmw91e9.js.br +0 -0
  221. package/web/chunk-9hmw91e9.js.gz +0 -0
  222. package/web/chunk-9j7v0e4v.js +2 -0
  223. package/web/chunk-9j7v0e4v.js.br +0 -0
  224. package/web/chunk-9j7v0e4v.js.gz +0 -0
  225. package/web/chunk-9pyad3tv.js +1 -0
  226. package/web/chunk-9pyad3tv.js.br +0 -0
  227. package/web/chunk-9pyad3tv.js.gz +0 -0
  228. package/web/chunk-9rf2smk2.js +1142 -0
  229. package/web/chunk-9rf2smk2.js.br +0 -0
  230. package/web/chunk-9rf2smk2.js.gz +0 -0
  231. package/web/chunk-aan5qk6x.js +1 -0
  232. package/web/chunk-aan5qk6x.js.br +0 -0
  233. package/web/chunk-aan5qk6x.js.gz +0 -0
  234. package/web/chunk-aaz4msca.js +89 -0
  235. package/web/chunk-aaz4msca.js.br +0 -0
  236. package/web/chunk-aaz4msca.js.gz +0 -0
  237. package/web/chunk-ag0ng2nt.js +24 -0
  238. package/web/chunk-ag0ng2nt.js.br +0 -0
  239. package/web/chunk-ag0ng2nt.js.gz +0 -0
  240. package/web/chunk-an9b0mhe.js +55 -0
  241. package/web/chunk-an9b0mhe.js.br +0 -0
  242. package/web/chunk-an9b0mhe.js.gz +0 -0
  243. package/web/chunk-apgvrfc2.js +41 -0
  244. package/web/chunk-apgvrfc2.js.br +0 -0
  245. package/web/chunk-apgvrfc2.js.gz +0 -0
  246. package/web/chunk-aq09zt1h.js +332 -0
  247. package/web/chunk-aq09zt1h.js.br +0 -0
  248. package/web/chunk-aq09zt1h.js.gz +0 -0
  249. package/web/chunk-ayy6rwm5.js +1 -0
  250. package/web/chunk-ayy6rwm5.js.br +0 -0
  251. package/web/chunk-ayy6rwm5.js.gz +0 -0
  252. package/web/chunk-azhw80d1.js +1 -0
  253. package/web/chunk-azhw80d1.js.br +0 -0
  254. package/web/chunk-azhw80d1.js.gz +0 -0
  255. package/web/chunk-b4bty1ns.js +8 -0
  256. package/web/chunk-b4bty1ns.js.br +1 -0
  257. package/web/chunk-b4bty1ns.js.gz +0 -0
  258. package/web/chunk-bs9934z7.js +200 -0
  259. package/web/chunk-bs9934z7.js.br +0 -0
  260. package/web/chunk-bs9934z7.js.gz +0 -0
  261. package/web/chunk-c9nwfxrp.js +1 -0
  262. package/web/chunk-c9nwfxrp.js.br +0 -0
  263. package/web/chunk-c9nwfxrp.js.gz +0 -0
  264. package/web/chunk-capfyqch.js +1 -0
  265. package/web/chunk-capfyqch.js.br +0 -0
  266. package/web/chunk-capfyqch.js.gz +0 -0
  267. package/web/chunk-ckev38zc.js +36 -0
  268. package/web/chunk-ckev38zc.js.br +0 -0
  269. package/web/chunk-ckev38zc.js.gz +0 -0
  270. package/web/chunk-cnkerjp4.js +370 -0
  271. package/web/chunk-cnkerjp4.js.br +0 -0
  272. package/web/chunk-cnkerjp4.js.gz +0 -0
  273. package/web/chunk-d3bgcz6q.js +1 -0
  274. package/web/chunk-d3bgcz6q.js.br +0 -0
  275. package/web/chunk-d3bgcz6q.js.gz +0 -0
  276. package/web/chunk-d5n2yz4e.js +2 -0
  277. package/web/chunk-d5n2yz4e.js.br +0 -0
  278. package/web/chunk-d5n2yz4e.js.gz +0 -0
  279. package/web/chunk-d5xqtvb1.js +2 -0
  280. package/web/chunk-d5xqtvb1.js.br +0 -0
  281. package/web/chunk-d5xqtvb1.js.gz +0 -0
  282. package/web/chunk-daqfnvaw.js +1 -0
  283. package/web/chunk-daqfnvaw.js.br +0 -0
  284. package/web/chunk-daqfnvaw.js.gz +0 -0
  285. package/web/chunk-dqz580pg.js +1 -0
  286. package/web/chunk-dqz580pg.js.br +0 -0
  287. package/web/chunk-dqz580pg.js.gz +0 -0
  288. package/web/chunk-e54b48p5.js +2 -0
  289. package/web/chunk-e54b48p5.js.br +0 -0
  290. package/web/chunk-e54b48p5.js.gz +0 -0
  291. package/web/chunk-e8bgrjps.js +2 -0
  292. package/web/chunk-e8bgrjps.js.br +0 -0
  293. package/web/chunk-e8bgrjps.js.gz +0 -0
  294. package/web/chunk-efdg5mjf.js +217 -0
  295. package/web/chunk-efdg5mjf.js.br +0 -0
  296. package/web/chunk-efdg5mjf.js.gz +0 -0
  297. package/web/chunk-efhyygba.js +7 -0
  298. package/web/chunk-efhyygba.js.br +0 -0
  299. package/web/chunk-efhyygba.js.gz +0 -0
  300. package/web/chunk-eq0vm9vw.js +2 -0
  301. package/web/chunk-eq0vm9vw.js.br +0 -0
  302. package/web/chunk-eq0vm9vw.js.gz +0 -0
  303. package/web/chunk-eznkbqms.js +1 -0
  304. package/web/chunk-eznkbqms.js.br +0 -0
  305. package/web/chunk-eznkbqms.js.gz +0 -0
  306. package/web/chunk-f5wyg9zh.js +2 -0
  307. package/web/chunk-f5wyg9zh.js.br +0 -0
  308. package/web/chunk-f5wyg9zh.js.gz +0 -0
  309. package/web/chunk-f9rv8b13.js +1 -0
  310. package/web/chunk-f9rv8b13.js.br +0 -0
  311. package/web/chunk-f9rv8b13.js.gz +0 -0
  312. package/web/chunk-fnzyprme.js +142 -0
  313. package/web/chunk-fnzyprme.js.br +0 -0
  314. package/web/chunk-fnzyprme.js.gz +0 -0
  315. package/web/chunk-g63m3g5y.js +1 -0
  316. package/web/chunk-g63m3g5y.js.br +2 -0
  317. package/web/chunk-g63m3g5y.js.gz +0 -0
  318. package/web/chunk-g6gb3wz7.js +1 -0
  319. package/web/chunk-g6gb3wz7.js.br +2 -0
  320. package/web/chunk-g6gb3wz7.js.gz +0 -0
  321. package/web/chunk-g7ec62te.js +2 -0
  322. package/web/chunk-g7ec62te.js.br +0 -0
  323. package/web/chunk-g7ec62te.js.gz +0 -0
  324. package/web/chunk-gkj2bbdx.js +1 -0
  325. package/web/chunk-gkj2bbdx.js.br +0 -0
  326. package/web/chunk-gkj2bbdx.js.gz +0 -0
  327. package/web/chunk-gnx30bed.css +1 -0
  328. package/web/chunk-gnx30bed.css.br +0 -0
  329. package/web/chunk-gnx30bed.css.gz +0 -0
  330. package/web/chunk-gvndjaan.js +2 -0
  331. package/web/chunk-gvndjaan.js.br +0 -0
  332. package/web/chunk-gvndjaan.js.gz +0 -0
  333. package/web/chunk-h391pq6j.js +1 -0
  334. package/web/chunk-h391pq6j.js.br +0 -0
  335. package/web/chunk-h391pq6j.js.gz +0 -0
  336. package/web/chunk-h3kdr5mz.js +21 -0
  337. package/web/chunk-h3kdr5mz.js.br +0 -0
  338. package/web/chunk-h3kdr5mz.js.gz +0 -0
  339. package/web/chunk-hjs5pyye.js +1 -0
  340. package/web/chunk-hjs5pyye.js.br +0 -0
  341. package/web/chunk-hjs5pyye.js.gz +0 -0
  342. package/web/chunk-hxgtek0e.js +2 -0
  343. package/web/chunk-hxgtek0e.js.br +0 -0
  344. package/web/chunk-hxgtek0e.js.gz +0 -0
  345. package/web/chunk-j5a3jhp0.js +120 -0
  346. package/web/chunk-j5a3jhp0.js.br +0 -0
  347. package/web/chunk-j5a3jhp0.js.gz +0 -0
  348. package/web/chunk-jgdways6.js +39 -0
  349. package/web/chunk-jgdways6.js.br +0 -0
  350. package/web/chunk-jgdways6.js.gz +0 -0
  351. package/web/chunk-jybmjakj.js +1 -0
  352. package/web/chunk-jybmjakj.js.br +2 -0
  353. package/web/chunk-jybmjakj.js.gz +0 -0
  354. package/web/chunk-kasv56qe.js +303 -0
  355. package/web/chunk-kasv56qe.js.br +0 -0
  356. package/web/chunk-kasv56qe.js.gz +0 -0
  357. package/web/chunk-kmhbkjqx.js +2 -0
  358. package/web/chunk-kmhbkjqx.js.br +0 -0
  359. package/web/chunk-kmhbkjqx.js.gz +0 -0
  360. package/web/chunk-m06zdhdz.js +1 -0
  361. package/web/chunk-m06zdhdz.js.br +0 -0
  362. package/web/chunk-m06zdhdz.js.gz +0 -0
  363. package/web/chunk-mrnnq8dv.js +1 -0
  364. package/web/chunk-mrnnq8dv.js.br +0 -0
  365. package/web/chunk-mrnnq8dv.js.gz +0 -0
  366. package/web/chunk-mx1e3jgh.js +1 -0
  367. package/web/chunk-mx1e3jgh.js.br +0 -0
  368. package/web/chunk-mx1e3jgh.js.gz +0 -0
  369. package/web/chunk-n0tehchs.js +3 -0
  370. package/web/chunk-n0tehchs.js.br +0 -0
  371. package/web/chunk-n0tehchs.js.gz +0 -0
  372. package/web/chunk-n449ebhn.js +38 -0
  373. package/web/chunk-n449ebhn.js.br +0 -0
  374. package/web/chunk-n449ebhn.js.gz +0 -0
  375. package/web/chunk-ngsv0xfb.js +1 -0
  376. package/web/chunk-ngsv0xfb.js.br +0 -0
  377. package/web/chunk-ngsv0xfb.js.gz +0 -0
  378. package/web/chunk-ngy730n0.js +1 -0
  379. package/web/chunk-ngy730n0.js.br +0 -0
  380. package/web/chunk-ngy730n0.js.gz +0 -0
  381. package/web/chunk-nj9dtqyd.js +2 -0
  382. package/web/chunk-nj9dtqyd.js.br +0 -0
  383. package/web/chunk-nj9dtqyd.js.gz +0 -0
  384. package/web/chunk-nzaq0yae.js +2 -0
  385. package/web/chunk-nzaq0yae.js.br +0 -0
  386. package/web/chunk-nzaq0yae.js.gz +0 -0
  387. package/web/chunk-pgnfj8ea.js +2 -0
  388. package/web/chunk-pgnfj8ea.js.br +0 -0
  389. package/web/chunk-pgnfj8ea.js.gz +0 -0
  390. package/web/chunk-qtgen5c5.js +24 -0
  391. package/web/chunk-qtgen5c5.js.br +0 -0
  392. package/web/chunk-qtgen5c5.js.gz +0 -0
  393. package/web/chunk-qzn05afn.js +169 -0
  394. package/web/chunk-qzn05afn.js.br +0 -0
  395. package/web/chunk-qzn05afn.js.gz +0 -0
  396. package/web/chunk-r7st369j.js +1 -0
  397. package/web/chunk-r7st369j.js.br +0 -0
  398. package/web/chunk-r7st369j.js.gz +0 -0
  399. package/web/chunk-rj1rp0tc.js +1 -0
  400. package/web/chunk-rj1rp0tc.js.br +0 -0
  401. package/web/chunk-rj1rp0tc.js.gz +0 -0
  402. package/web/chunk-sgy3c5m7.js +62 -0
  403. package/web/chunk-sgy3c5m7.js.br +0 -0
  404. package/web/chunk-sgy3c5m7.js.gz +0 -0
  405. package/web/chunk-t7s9xrxt.js +34 -0
  406. package/web/chunk-t7s9xrxt.js.br +0 -0
  407. package/web/chunk-t7s9xrxt.js.gz +0 -0
  408. package/web/chunk-tmf1jnqz.js +2 -0
  409. package/web/chunk-tmf1jnqz.js.br +0 -0
  410. package/web/chunk-tmf1jnqz.js.gz +0 -0
  411. package/web/chunk-tntwwpyh.js +2 -0
  412. package/web/chunk-tntwwpyh.js.br +0 -0
  413. package/web/chunk-tntwwpyh.js.gz +0 -0
  414. package/web/chunk-tpzyyc2z.js +2 -0
  415. package/web/chunk-tpzyyc2z.js.br +0 -0
  416. package/web/chunk-tpzyyc2z.js.gz +0 -0
  417. package/web/chunk-v95eqx92.js +84 -0
  418. package/web/chunk-v95eqx92.js.br +0 -0
  419. package/web/chunk-v95eqx92.js.gz +0 -0
  420. package/web/chunk-vcj5m1xb.js +1 -0
  421. package/web/chunk-vcj5m1xb.js.br +0 -0
  422. package/web/chunk-vcj5m1xb.js.gz +0 -0
  423. package/web/chunk-vndrjeyr.js +2 -0
  424. package/web/chunk-vndrjeyr.js.br +0 -0
  425. package/web/chunk-vndrjeyr.js.gz +0 -0
  426. package/web/chunk-vq0zf16h.js +1 -0
  427. package/web/chunk-vq0zf16h.js.br +0 -0
  428. package/web/chunk-vq0zf16h.js.gz +0 -0
  429. package/web/chunk-vqhtph6r.js +1 -0
  430. package/web/chunk-vqhtph6r.js.br +0 -0
  431. package/web/chunk-vqhtph6r.js.gz +0 -0
  432. package/web/chunk-vvsfwjrg.js +1 -0
  433. package/web/chunk-vvsfwjrg.js.br +0 -0
  434. package/web/chunk-vvsfwjrg.js.gz +0 -0
  435. package/web/chunk-vz2mgxs7.js +1 -0
  436. package/web/chunk-vz2mgxs7.js.br +0 -0
  437. package/web/chunk-vz2mgxs7.js.gz +0 -0
  438. package/web/chunk-wdd9pasx.js +1 -0
  439. package/web/chunk-wdd9pasx.js.br +0 -0
  440. package/web/chunk-wdd9pasx.js.gz +0 -0
  441. package/web/chunk-wry3q68j.js +1 -0
  442. package/web/chunk-wry3q68j.js.br +2 -0
  443. package/web/chunk-wry3q68j.js.gz +0 -0
  444. package/web/chunk-wrz0gqnv.js +1 -0
  445. package/web/chunk-wrz0gqnv.js.br +0 -0
  446. package/web/chunk-wrz0gqnv.js.gz +0 -0
  447. package/web/chunk-wvapb3r6.js +98 -0
  448. package/web/chunk-wvapb3r6.js.br +0 -0
  449. package/web/chunk-wvapb3r6.js.gz +0 -0
  450. package/web/chunk-x6qva9zc.js +324 -0
  451. package/web/chunk-x6qva9zc.js.br +0 -0
  452. package/web/chunk-x6qva9zc.js.gz +0 -0
  453. package/web/chunk-xa2ngtyg.js +2 -0
  454. package/web/chunk-xa2ngtyg.js.br +0 -0
  455. package/web/chunk-xa2ngtyg.js.gz +0 -0
  456. package/web/chunk-xhjf5ye0.js +1 -0
  457. package/web/chunk-xhjf5ye0.js.br +0 -0
  458. package/web/chunk-xhjf5ye0.js.gz +0 -0
  459. package/web/chunk-xkqekh81.js +2 -0
  460. package/web/chunk-xkqekh81.js.br +0 -0
  461. package/web/chunk-xkqekh81.js.gz +0 -0
  462. package/web/chunk-xsjvamcy.js +1 -0
  463. package/web/chunk-xsjvamcy.js.br +0 -0
  464. package/web/chunk-xsjvamcy.js.gz +0 -0
  465. package/web/chunk-xyfnr395.js +1 -0
  466. package/web/chunk-xyfnr395.js.br +0 -0
  467. package/web/chunk-xyfnr395.js.gz +0 -0
  468. package/web/chunk-y48mj5d7.js +1 -0
  469. package/web/chunk-y48mj5d7.js.br +0 -0
  470. package/web/chunk-y48mj5d7.js.gz +0 -0
  471. package/web/chunk-y4x1g94q.js +1 -0
  472. package/web/chunk-y4x1g94q.js.br +0 -0
  473. package/web/chunk-y4x1g94q.js.gz +0 -0
  474. package/web/chunk-yzbp4vpe.js +1 -0
  475. package/web/chunk-yzbp4vpe.js.br +0 -0
  476. package/web/chunk-yzbp4vpe.js.gz +0 -0
  477. package/web/chunk-z601k790.js +291 -0
  478. package/web/chunk-z601k790.js.br +0 -0
  479. package/web/chunk-z601k790.js.gz +0 -0
  480. package/web/chunk-zc9mxd01.js +99 -0
  481. package/web/chunk-zc9mxd01.js.br +0 -0
  482. package/web/chunk-zc9mxd01.js.gz +0 -0
  483. package/web/chunk-zm1jfkcz.js +2 -0
  484. package/web/chunk-zm1jfkcz.js.br +0 -0
  485. package/web/chunk-zm1jfkcz.js.gz +0 -0
  486. package/web/chunk-zz0d7377.js +2 -0
  487. package/web/chunk-zz0d7377.js.br +0 -0
  488. package/web/chunk-zz0d7377.js.gz +0 -0
  489. package/web/index.html +1 -1
  490. package/web/index.html.br +0 -0
  491. package/web/index.html.gz +0 -0
  492. package/worker.js +1 -1
  493. package/chunk-04326385.js +0 -39
  494. package/chunk-11zc1b2w.js +0 -3
  495. package/chunk-12203fgm.js +0 -2
  496. package/chunk-194d4z7x.js +0 -7
  497. package/chunk-1apm7p2e.js +0 -2
  498. package/chunk-2csz31nh.js +0 -2
  499. package/chunk-2rqpfv4h.js +0 -3
  500. package/chunk-39cfcar4.js +0 -3
  501. package/chunk-3dtgkgam.js +0 -4064
  502. package/chunk-4a5xttdp.js +0 -3
  503. package/chunk-4st5xeee.js +0 -2
  504. package/chunk-54qzhq9t.js +0 -50
  505. package/chunk-5h17n6g1.js +0 -3
  506. package/chunk-5rn18vrq.js +0 -5
  507. package/chunk-5tdnvdmz.js +0 -2
  508. package/chunk-6qavr39k.js +0 -2
  509. package/chunk-6xn0r0dd.js +0 -3
  510. package/chunk-7h76jrss.js +0 -7
  511. package/chunk-7hss4hs3.js +0 -7
  512. package/chunk-7vdq0wye.js +0 -2
  513. package/chunk-7w187ycz.js +0 -10
  514. package/chunk-81s7mvf2.js +0 -16
  515. package/chunk-8j8acxde.js +0 -2
  516. package/chunk-9nfz04yr.js +0 -2
  517. package/chunk-9vth0w8q.js +0 -2
  518. package/chunk-9zcfam20.js +0 -2
  519. package/chunk-a6zvmsbh.js +0 -12
  520. package/chunk-anr8aghq.js +0 -59
  521. package/chunk-av8zh9yp.js +0 -2
  522. package/chunk-bwv97dtf.js +0 -2
  523. package/chunk-cjy4rssa.js +0 -10
  524. package/chunk-dmdyqq1k.js +0 -2
  525. package/chunk-dzvq7vt6.js +0 -2
  526. package/chunk-ejrksf6g.js +0 -3
  527. package/chunk-erxka5vh.js +0 -18
  528. package/chunk-fc41dvhp.js +0 -12
  529. package/chunk-fdgrayj5.js +0 -3
  530. package/chunk-fwcqcecb.js +0 -8
  531. package/chunk-hhwnmhbb.js +0 -2
  532. package/chunk-hvxc1wyv.js +0 -3
  533. package/chunk-jm2bn5mq.js +0 -3
  534. package/chunk-jm5j5jfy.js +0 -3
  535. package/chunk-jqtdf0ym.js +0 -63
  536. package/chunk-jsvr3s4q.js +0 -5
  537. package/chunk-jwk5a5tk.js +0 -25
  538. package/chunk-mwc59w50.js +0 -31
  539. package/chunk-mypbpphn.js +0 -3
  540. package/chunk-n3hfhbe4.js +0 -498
  541. package/chunk-ng5ncy65.js +0 -2
  542. package/chunk-nmvayfq3.js +0 -3
  543. package/chunk-nw4h0wm9.js +0 -2
  544. package/chunk-nzpzjbpp.js +0 -51
  545. package/chunk-p23eqet9.js +0 -2
  546. package/chunk-pxsgm6ff.js +0 -2
  547. package/chunk-qqs9fqsy.js +0 -4
  548. package/chunk-r0gsb1qs.js +0 -3
  549. package/chunk-r49sxmnc.js +0 -3
  550. package/chunk-rbfpa63e.js +0 -3
  551. package/chunk-rsrh5dgx.js +0 -2
  552. package/chunk-s2pm97nk.js +0 -286
  553. package/chunk-s6tnmg6x.js +0 -3
  554. package/chunk-scq1dz62.js +0 -8
  555. package/chunk-se548edt.js +0 -20
  556. package/chunk-tsdeeqb8.js +0 -3
  557. package/chunk-vnv3a6t2.js +0 -3
  558. package/chunk-vrsh8cx1.js +0 -3
  559. package/chunk-w3v8zahw.js +0 -2
  560. package/chunk-w6m8c4vf.js +0 -11
  561. package/chunk-wd7sj5cv.js +0 -2
  562. package/chunk-we8v9wkw.js +0 -9
  563. package/chunk-x055cas0.js +0 -5
  564. package/chunk-x5vrtxkj.js +0 -3
  565. package/chunk-x83syrhw.js +0 -44
  566. package/chunk-xedzsj31.js +0 -5
  567. package/chunk-xp83v3zm.js +0 -2
  568. package/chunk-ykzm5g1b.js +0 -25
  569. package/chunk-yq2bwebb.js +0 -3
  570. package/chunk-yygcpnwc.js +0 -3
  571. package/chunk-zjf34acb.js +0 -2
  572. package/web/chunk-02v1btpv.js +0 -2
  573. package/web/chunk-02v1btpv.js.br +0 -0
  574. package/web/chunk-02v1btpv.js.gz +0 -0
  575. package/web/chunk-02xgh26g.js +0 -1
  576. package/web/chunk-02xgh26g.js.br +0 -0
  577. package/web/chunk-02xgh26g.js.gz +0 -0
  578. package/web/chunk-0n134mev.js +0 -140
  579. package/web/chunk-0n134mev.js.br +0 -0
  580. package/web/chunk-0n134mev.js.gz +0 -0
  581. package/web/chunk-14t6ms50.js +0 -16
  582. package/web/chunk-14t6ms50.js.br +0 -0
  583. package/web/chunk-14t6ms50.js.gz +0 -0
  584. package/web/chunk-17j1pnvx.js +0 -1
  585. package/web/chunk-17j1pnvx.js.br +0 -0
  586. package/web/chunk-17j1pnvx.js.gz +0 -0
  587. package/web/chunk-19qs8qhf.js +0 -2
  588. package/web/chunk-19qs8qhf.js.br +0 -0
  589. package/web/chunk-19qs8qhf.js.gz +0 -0
  590. package/web/chunk-1c1jdx2r.js +0 -332
  591. package/web/chunk-1c1jdx2r.js.br +0 -0
  592. package/web/chunk-1c1jdx2r.js.gz +0 -0
  593. package/web/chunk-1fp0r6da.js +0 -2
  594. package/web/chunk-1fp0r6da.js.br +0 -0
  595. package/web/chunk-1fp0r6da.js.gz +0 -0
  596. package/web/chunk-1fv6rp41.js +0 -2
  597. package/web/chunk-1fv6rp41.js.br +0 -0
  598. package/web/chunk-1fv6rp41.js.gz +0 -0
  599. package/web/chunk-1mkzfr1m.js +0 -2
  600. package/web/chunk-1mkzfr1m.js.br +0 -0
  601. package/web/chunk-1mkzfr1m.js.gz +0 -0
  602. package/web/chunk-1r8npw1h.js +0 -1
  603. package/web/chunk-1r8npw1h.js.br +0 -0
  604. package/web/chunk-1r8npw1h.js.gz +0 -0
  605. package/web/chunk-215gszpx.js +0 -1
  606. package/web/chunk-215gszpx.js.br +0 -0
  607. package/web/chunk-215gszpx.js.gz +0 -0
  608. package/web/chunk-2372y9qw.css +0 -1
  609. package/web/chunk-2372y9qw.css.br +0 -0
  610. package/web/chunk-2372y9qw.css.gz +0 -0
  611. package/web/chunk-24syb9ar.js +0 -1
  612. package/web/chunk-24syb9ar.js.br +0 -0
  613. package/web/chunk-24syb9ar.js.gz +0 -0
  614. package/web/chunk-26y868vk.js +0 -214
  615. package/web/chunk-26y868vk.js.br +0 -0
  616. package/web/chunk-26y868vk.js.gz +0 -0
  617. package/web/chunk-29mff7z7.js +0 -34
  618. package/web/chunk-29mff7z7.js.br +0 -0
  619. package/web/chunk-29mff7z7.js.gz +0 -0
  620. package/web/chunk-2vh05ags.js +0 -2
  621. package/web/chunk-2vh05ags.js.br +0 -0
  622. package/web/chunk-2vh05ags.js.gz +0 -0
  623. package/web/chunk-2z5tpzd0.js +0 -2
  624. package/web/chunk-2z5tpzd0.js.br +0 -2
  625. package/web/chunk-2z5tpzd0.js.gz +0 -0
  626. package/web/chunk-35zjz7ms.js +0 -99
  627. package/web/chunk-35zjz7ms.js.br +0 -0
  628. package/web/chunk-35zjz7ms.js.gz +0 -0
  629. package/web/chunk-3q8tjjp1.js +0 -1
  630. package/web/chunk-3q8tjjp1.js.br +0 -2
  631. package/web/chunk-3q8tjjp1.js.gz +0 -0
  632. package/web/chunk-3s4mqjna.js +0 -4
  633. package/web/chunk-3s4mqjna.js.br +0 -0
  634. package/web/chunk-3s4mqjna.js.gz +0 -0
  635. package/web/chunk-3srybd24.js +0 -41
  636. package/web/chunk-3srybd24.js.br +0 -0
  637. package/web/chunk-3srybd24.js.gz +0 -0
  638. package/web/chunk-3zsfd0hv.js +0 -1
  639. package/web/chunk-3zsfd0hv.js.br +0 -0
  640. package/web/chunk-3zsfd0hv.js.gz +0 -0
  641. package/web/chunk-43h0rwsj.js +0 -1
  642. package/web/chunk-43h0rwsj.js.br +0 -0
  643. package/web/chunk-43h0rwsj.js.gz +0 -0
  644. package/web/chunk-4gehgwdn.js +0 -1
  645. package/web/chunk-4gehgwdn.js.br +0 -0
  646. package/web/chunk-4gehgwdn.js.gz +0 -0
  647. package/web/chunk-4q1j0ehq.js +0 -1
  648. package/web/chunk-4q1j0ehq.js.br +0 -2
  649. package/web/chunk-4q1j0ehq.js.gz +0 -0
  650. package/web/chunk-4rbzcphw.js +0 -7
  651. package/web/chunk-4rbzcphw.js.br +0 -0
  652. package/web/chunk-4rbzcphw.js.gz +0 -0
  653. package/web/chunk-4xvh57dr.js +0 -1
  654. package/web/chunk-4xvh57dr.js.br +0 -0
  655. package/web/chunk-4xvh57dr.js.gz +0 -0
  656. package/web/chunk-54cy79n2.js +0 -291
  657. package/web/chunk-54cy79n2.js.br +0 -0
  658. package/web/chunk-54cy79n2.js.gz +0 -0
  659. package/web/chunk-5v7dyp6t.js +0 -2
  660. package/web/chunk-5v7dyp6t.js.br +0 -0
  661. package/web/chunk-5v7dyp6t.js.gz +0 -0
  662. package/web/chunk-5xm6c0r0.js +0 -1
  663. package/web/chunk-5xm6c0r0.js.br +0 -0
  664. package/web/chunk-5xm6c0r0.js.gz +0 -0
  665. package/web/chunk-67pmbk1h.js +0 -324
  666. package/web/chunk-67pmbk1h.js.br +0 -0
  667. package/web/chunk-67pmbk1h.js.gz +0 -0
  668. package/web/chunk-6ebp7qd7.js +0 -169
  669. package/web/chunk-6ebp7qd7.js.br +0 -0
  670. package/web/chunk-6ebp7qd7.js.gz +0 -0
  671. package/web/chunk-6k8me9kr.js +0 -1
  672. package/web/chunk-6k8me9kr.js.br +0 -0
  673. package/web/chunk-6k8me9kr.js.gz +0 -0
  674. package/web/chunk-7aqr59hm.js +0 -1
  675. package/web/chunk-7aqr59hm.js.br +0 -0
  676. package/web/chunk-7aqr59hm.js.gz +0 -0
  677. package/web/chunk-7qnxv6xx.js +0 -1
  678. package/web/chunk-7qnxv6xx.js.br +0 -0
  679. package/web/chunk-7qnxv6xx.js.gz +0 -0
  680. package/web/chunk-7yb2g5zs.js +0 -1
  681. package/web/chunk-7yb2g5zs.js.br +0 -0
  682. package/web/chunk-7yb2g5zs.js.gz +0 -0
  683. package/web/chunk-86f9x5fs.js +0 -24
  684. package/web/chunk-86f9x5fs.js.br +0 -0
  685. package/web/chunk-86f9x5fs.js.gz +0 -0
  686. package/web/chunk-8gvxttsz.js +0 -39
  687. package/web/chunk-8gvxttsz.js.br +0 -0
  688. package/web/chunk-8gvxttsz.js.gz +0 -0
  689. package/web/chunk-8kjx7nve.js +0 -1
  690. package/web/chunk-8kjx7nve.js.br +0 -0
  691. package/web/chunk-8kjx7nve.js.gz +0 -0
  692. package/web/chunk-8qda1pw3.js +0 -2
  693. package/web/chunk-8qda1pw3.js.br +0 -0
  694. package/web/chunk-8qda1pw3.js.gz +0 -0
  695. package/web/chunk-98zd6fb7.js +0 -40
  696. package/web/chunk-98zd6fb7.js.br +0 -0
  697. package/web/chunk-98zd6fb7.js.gz +0 -0
  698. package/web/chunk-9b43td2b.js +0 -24
  699. package/web/chunk-9b43td2b.js.br +0 -0
  700. package/web/chunk-9b43td2b.js.gz +0 -0
  701. package/web/chunk-9hkz2jgq.js +0 -303
  702. package/web/chunk-9hkz2jgq.js.br +0 -0
  703. package/web/chunk-9hkz2jgq.js.gz +0 -0
  704. package/web/chunk-a3qa5c8q.js +0 -292
  705. package/web/chunk-a3qa5c8q.js.br +0 -0
  706. package/web/chunk-a3qa5c8q.js.gz +0 -0
  707. package/web/chunk-ads3r60t.js +0 -70
  708. package/web/chunk-ads3r60t.js.br +0 -0
  709. package/web/chunk-ads3r60t.js.gz +0 -0
  710. package/web/chunk-ax4wvgv9.js +0 -38
  711. package/web/chunk-ax4wvgv9.js.br +0 -0
  712. package/web/chunk-ax4wvgv9.js.gz +0 -0
  713. package/web/chunk-b9knvs0r.js +0 -1
  714. package/web/chunk-b9knvs0r.js.br +0 -0
  715. package/web/chunk-b9knvs0r.js.gz +0 -0
  716. package/web/chunk-batey85v.js +0 -2
  717. package/web/chunk-batey85v.js.br +0 -0
  718. package/web/chunk-batey85v.js.gz +0 -0
  719. package/web/chunk-ccdww2gj.js +0 -2
  720. package/web/chunk-ccdww2gj.js.br +0 -0
  721. package/web/chunk-ccdww2gj.js.gz +0 -0
  722. package/web/chunk-cgbz97dr.js +0 -2
  723. package/web/chunk-cgbz97dr.js.br +0 -0
  724. package/web/chunk-cgbz97dr.js.gz +0 -0
  725. package/web/chunk-cjbqey5q.js +0 -1
  726. package/web/chunk-cjbqey5q.js.br +0 -0
  727. package/web/chunk-cjbqey5q.js.gz +0 -0
  728. package/web/chunk-cm5cmpxr.js +0 -1
  729. package/web/chunk-cm5cmpxr.js.br +0 -0
  730. package/web/chunk-cm5cmpxr.js.gz +0 -0
  731. package/web/chunk-cqce094e.js +0 -55
  732. package/web/chunk-cqce094e.js.br +0 -0
  733. package/web/chunk-cqce094e.js.gz +0 -0
  734. package/web/chunk-ct6hkz49.js +0 -7
  735. package/web/chunk-ct6hkz49.js.br +0 -0
  736. package/web/chunk-ct6hkz49.js.gz +0 -0
  737. package/web/chunk-d0qb5kr7.js +0 -1
  738. package/web/chunk-d0qb5kr7.js.br +0 -0
  739. package/web/chunk-d0qb5kr7.js.gz +0 -0
  740. package/web/chunk-d9c65yrg.js +0 -1
  741. package/web/chunk-d9c65yrg.js.br +0 -0
  742. package/web/chunk-d9c65yrg.js.gz +0 -0
  743. package/web/chunk-dfv95z6w.js +0 -1
  744. package/web/chunk-dfv95z6w.js.br +0 -0
  745. package/web/chunk-dfv95z6w.js.gz +0 -0
  746. package/web/chunk-ece0ex2b.js +0 -2
  747. package/web/chunk-ece0ex2b.js.br +0 -0
  748. package/web/chunk-ece0ex2b.js.gz +0 -0
  749. package/web/chunk-ejrsh0nz.js +0 -1
  750. package/web/chunk-ejrsh0nz.js.br +0 -2
  751. package/web/chunk-ejrsh0nz.js.gz +0 -0
  752. package/web/chunk-ekcnhcm0.js +0 -1
  753. package/web/chunk-ekcnhcm0.js.br +0 -0
  754. package/web/chunk-ekcnhcm0.js.gz +0 -0
  755. package/web/chunk-eq4skc30.js +0 -1
  756. package/web/chunk-eq4skc30.js.br +0 -0
  757. package/web/chunk-eq4skc30.js.gz +0 -0
  758. package/web/chunk-ev6xj0qs.js +0 -1142
  759. package/web/chunk-ev6xj0qs.js.br +0 -0
  760. package/web/chunk-ev6xj0qs.js.gz +0 -0
  761. package/web/chunk-ezx3f7hw.js +0 -1
  762. package/web/chunk-ezx3f7hw.js.br +0 -0
  763. package/web/chunk-ezx3f7hw.js.gz +0 -0
  764. package/web/chunk-f0kc6vf9.js +0 -2
  765. package/web/chunk-f0kc6vf9.js.br +0 -0
  766. package/web/chunk-f0kc6vf9.js.gz +0 -0
  767. package/web/chunk-fabemrkx.js +0 -1
  768. package/web/chunk-fabemrkx.js.br +0 -0
  769. package/web/chunk-fabemrkx.js.gz +0 -0
  770. package/web/chunk-faestmhg.js +0 -89
  771. package/web/chunk-faestmhg.js.br +0 -0
  772. package/web/chunk-faestmhg.js.gz +0 -0
  773. package/web/chunk-g5ngaf53.js +0 -2
  774. package/web/chunk-g5ngaf53.js.br +0 -0
  775. package/web/chunk-g5ngaf53.js.gz +0 -0
  776. package/web/chunk-gcyhcbej.js +0 -1
  777. package/web/chunk-gcyhcbej.js.br +0 -2
  778. package/web/chunk-gcyhcbej.js.gz +0 -0
  779. package/web/chunk-ggfwnr7a.js +0 -1
  780. package/web/chunk-ggfwnr7a.js.br +0 -0
  781. package/web/chunk-ggfwnr7a.js.gz +0 -0
  782. package/web/chunk-gp3356tf.js +0 -2
  783. package/web/chunk-gp3356tf.js.br +0 -0
  784. package/web/chunk-gp3356tf.js.gz +0 -0
  785. package/web/chunk-gw1d4wmd.js +0 -1
  786. package/web/chunk-gw1d4wmd.js.br +0 -0
  787. package/web/chunk-gw1d4wmd.js.gz +0 -0
  788. package/web/chunk-hmc93mm5.js +0 -1
  789. package/web/chunk-hmc93mm5.js.br +0 -0
  790. package/web/chunk-hmc93mm5.js.gz +0 -0
  791. package/web/chunk-hn9rxtn8.js +0 -8
  792. package/web/chunk-hn9rxtn8.js.br +0 -0
  793. package/web/chunk-hn9rxtn8.js.gz +0 -0
  794. package/web/chunk-hrng3h6w.js +0 -1
  795. package/web/chunk-hrng3h6w.js.br +0 -2
  796. package/web/chunk-hrng3h6w.js.gz +0 -0
  797. package/web/chunk-hxyxfhhs.js +0 -1
  798. package/web/chunk-hxyxfhhs.js.br +0 -2
  799. package/web/chunk-hxyxfhhs.js.gz +0 -0
  800. package/web/chunk-j94hffw3.js +0 -2
  801. package/web/chunk-j94hffw3.js.br +0 -0
  802. package/web/chunk-j94hffw3.js.gz +0 -0
  803. package/web/chunk-jrh3s3f5.js +0 -370
  804. package/web/chunk-jrh3s3f5.js.br +0 -0
  805. package/web/chunk-jrh3s3f5.js.gz +0 -0
  806. package/web/chunk-jw830br8.js +0 -106
  807. package/web/chunk-jw830br8.js.br +0 -0
  808. package/web/chunk-jw830br8.js.gz +0 -0
  809. package/web/chunk-k3whmjng.js +0 -1
  810. package/web/chunk-k3whmjng.js.br +0 -0
  811. package/web/chunk-k3whmjng.js.gz +0 -0
  812. package/web/chunk-kgfzf3q8.js +0 -1
  813. package/web/chunk-kgfzf3q8.js.br +0 -0
  814. package/web/chunk-kgfzf3q8.js.gz +0 -0
  815. package/web/chunk-kqpj6dnm.js +0 -2
  816. package/web/chunk-kqpj6dnm.js.br +0 -0
  817. package/web/chunk-kqpj6dnm.js.gz +0 -0
  818. package/web/chunk-kvz46sd7.js +0 -2
  819. package/web/chunk-kvz46sd7.js.br +0 -0
  820. package/web/chunk-kvz46sd7.js.gz +0 -0
  821. package/web/chunk-magq6xms.js +0 -36
  822. package/web/chunk-magq6xms.js.br +0 -0
  823. package/web/chunk-magq6xms.js.gz +0 -0
  824. package/web/chunk-mtzj1zyw.js +0 -2
  825. package/web/chunk-mtzj1zyw.js.br +0 -0
  826. package/web/chunk-mtzj1zyw.js.gz +0 -0
  827. package/web/chunk-my778zsk.js +0 -1
  828. package/web/chunk-my778zsk.js.br +0 -0
  829. package/web/chunk-my778zsk.js.gz +0 -0
  830. package/web/chunk-mzevfdmp.js +0 -1
  831. package/web/chunk-mzevfdmp.js.br +0 -0
  832. package/web/chunk-mzevfdmp.js.gz +0 -0
  833. package/web/chunk-n5hvbjdt.js +0 -3
  834. package/web/chunk-n5hvbjdt.js.br +0 -0
  835. package/web/chunk-n5hvbjdt.js.gz +0 -0
  836. package/web/chunk-n6wz1xv2.js +0 -84
  837. package/web/chunk-n6wz1xv2.js.br +0 -0
  838. package/web/chunk-n6wz1xv2.js.gz +0 -0
  839. package/web/chunk-nfz5qmem.js +0 -1
  840. package/web/chunk-nfz5qmem.js.br +0 -0
  841. package/web/chunk-nfz5qmem.js.gz +0 -0
  842. package/web/chunk-p01t2t8w.js +0 -1
  843. package/web/chunk-p01t2t8w.js.br +0 -0
  844. package/web/chunk-p01t2t8w.js.gz +0 -0
  845. package/web/chunk-pa0sqjjk.js +0 -1
  846. package/web/chunk-pa0sqjjk.js.br +0 -0
  847. package/web/chunk-pa0sqjjk.js.gz +0 -0
  848. package/web/chunk-pczbf6w0.js +0 -200
  849. package/web/chunk-pczbf6w0.js.br +0 -0
  850. package/web/chunk-pczbf6w0.js.gz +0 -0
  851. package/web/chunk-pss11x84.js +0 -7
  852. package/web/chunk-pss11x84.js.br +0 -0
  853. package/web/chunk-pss11x84.js.gz +0 -0
  854. package/web/chunk-psymen6a.js +0 -1
  855. package/web/chunk-psymen6a.js.br +0 -0
  856. package/web/chunk-psymen6a.js.gz +0 -0
  857. package/web/chunk-q5rd9d4z.js +0 -1
  858. package/web/chunk-q5rd9d4z.js.br +0 -0
  859. package/web/chunk-q5rd9d4z.js.gz +0 -0
  860. package/web/chunk-qb820yv8.js +0 -1
  861. package/web/chunk-qb820yv8.js.br +0 -0
  862. package/web/chunk-qb820yv8.js.gz +0 -0
  863. package/web/chunk-qcacb7rs.js +0 -1
  864. package/web/chunk-qcacb7rs.js.br +0 -0
  865. package/web/chunk-qcacb7rs.js.gz +0 -0
  866. package/web/chunk-qhwsegs1.js +0 -1
  867. package/web/chunk-qhwsegs1.js.br +0 -0
  868. package/web/chunk-qhwsegs1.js.gz +0 -0
  869. package/web/chunk-qm88s0at.js +0 -30
  870. package/web/chunk-qm88s0at.js.br +0 -0
  871. package/web/chunk-qm88s0at.js.gz +0 -0
  872. package/web/chunk-qpmyxj27.js +0 -1
  873. package/web/chunk-qpmyxj27.js.br +0 -0
  874. package/web/chunk-qpmyxj27.js.gz +0 -0
  875. package/web/chunk-qxyanf4n.js +0 -98
  876. package/web/chunk-qxyanf4n.js.br +0 -0
  877. package/web/chunk-qxyanf4n.js.gz +0 -0
  878. package/web/chunk-qz8yct8b.js +0 -62
  879. package/web/chunk-qz8yct8b.js.br +0 -0
  880. package/web/chunk-qz8yct8b.js.gz +0 -0
  881. package/web/chunk-qzeb7kj6.js +0 -78
  882. package/web/chunk-qzeb7kj6.js.br +0 -0
  883. package/web/chunk-qzeb7kj6.js.gz +0 -0
  884. package/web/chunk-r827h2kc.js +0 -1
  885. package/web/chunk-r827h2kc.js.br +0 -2
  886. package/web/chunk-r827h2kc.js.gz +0 -0
  887. package/web/chunk-r992px5p.js +0 -4
  888. package/web/chunk-r992px5p.js.br +0 -0
  889. package/web/chunk-r992px5p.js.gz +0 -0
  890. package/web/chunk-rvgx4jhr.js +0 -1
  891. package/web/chunk-rvgx4jhr.js.br +0 -0
  892. package/web/chunk-rvgx4jhr.js.gz +0 -0
  893. package/web/chunk-rxadtk6j.js +0 -12
  894. package/web/chunk-rxadtk6j.js.br +0 -0
  895. package/web/chunk-rxadtk6j.js.gz +0 -0
  896. package/web/chunk-sk3ssmwp.js +0 -2
  897. package/web/chunk-sk3ssmwp.js.br +0 -0
  898. package/web/chunk-sk3ssmwp.js.gz +0 -0
  899. package/web/chunk-snvwfzxt.js +0 -2
  900. package/web/chunk-snvwfzxt.js.br +0 -0
  901. package/web/chunk-snvwfzxt.js.gz +0 -0
  902. package/web/chunk-szfzt9ph.js +0 -217
  903. package/web/chunk-szfzt9ph.js.br +0 -0
  904. package/web/chunk-szfzt9ph.js.gz +0 -0
  905. package/web/chunk-szwh742y.js +0 -2
  906. package/web/chunk-szwh742y.js.br +0 -0
  907. package/web/chunk-szwh742y.js.gz +0 -0
  908. package/web/chunk-t9hnp1zd.js +0 -2
  909. package/web/chunk-t9hnp1zd.js.br +0 -3
  910. package/web/chunk-t9hnp1zd.js.gz +0 -0
  911. package/web/chunk-tanv869p.js +0 -120
  912. package/web/chunk-tanv869p.js.br +0 -0
  913. package/web/chunk-tanv869p.js.gz +0 -0
  914. package/web/chunk-tpps3mfw.js +0 -139
  915. package/web/chunk-tpps3mfw.js.br +0 -0
  916. package/web/chunk-tpps3mfw.js.gz +0 -0
  917. package/web/chunk-txb5yf8n.js +0 -1
  918. package/web/chunk-txb5yf8n.js.br +0 -0
  919. package/web/chunk-txb5yf8n.js.gz +0 -0
  920. package/web/chunk-v3vqv74s.js +0 -1
  921. package/web/chunk-v3vqv74s.js.br +0 -0
  922. package/web/chunk-v3vqv74s.js.gz +0 -0
  923. package/web/chunk-v5q92q5d.js +0 -1
  924. package/web/chunk-v5q92q5d.js.br +0 -0
  925. package/web/chunk-v5q92q5d.js.gz +0 -0
  926. package/web/chunk-vayamfxv.js +0 -1
  927. package/web/chunk-vayamfxv.js.br +0 -0
  928. package/web/chunk-vayamfxv.js.gz +0 -0
  929. package/web/chunk-vrakntde.js +0 -21
  930. package/web/chunk-vrakntde.js.br +0 -0
  931. package/web/chunk-vrakntde.js.gz +0 -0
  932. package/web/chunk-we9q8a9q.js +0 -2
  933. package/web/chunk-we9q8a9q.js.br +0 -0
  934. package/web/chunk-we9q8a9q.js.gz +0 -0
  935. package/web/chunk-wgezeg5k.js +0 -2
  936. package/web/chunk-wgezeg5k.js.br +0 -0
  937. package/web/chunk-wgezeg5k.js.gz +0 -0
  938. package/web/chunk-wh028xj6.js +0 -142
  939. package/web/chunk-wh028xj6.js.br +0 -0
  940. package/web/chunk-wh028xj6.js.gz +0 -0
  941. package/web/chunk-whprx2wg.js +0 -1
  942. package/web/chunk-whprx2wg.js.br +0 -0
  943. package/web/chunk-whprx2wg.js.gz +0 -0
  944. package/web/chunk-wjv2q7b1.js +0 -2
  945. package/web/chunk-wjv2q7b1.js.br +0 -0
  946. package/web/chunk-wjv2q7b1.js.gz +0 -0
  947. package/web/chunk-wydnkdtp.js +0 -89
  948. package/web/chunk-wydnkdtp.js.br +0 -0
  949. package/web/chunk-wydnkdtp.js.gz +0 -0
  950. package/web/chunk-x0zvwdq6.js +0 -2
  951. package/web/chunk-x0zvwdq6.js.br +0 -0
  952. package/web/chunk-x0zvwdq6.js.gz +0 -0
  953. package/web/chunk-x9b1052x.js +0 -2
  954. package/web/chunk-x9b1052x.js.br +0 -0
  955. package/web/chunk-x9b1052x.js.gz +0 -0
  956. package/web/chunk-xwyvptzt.js +0 -2
  957. package/web/chunk-xwyvptzt.js.br +0 -0
  958. package/web/chunk-xwyvptzt.js.gz +0 -0
  959. package/web/chunk-ya7gs2bv.js +0 -1
  960. package/web/chunk-ya7gs2bv.js.br +0 -0
  961. package/web/chunk-ya7gs2bv.js.gz +0 -0
  962. package/web/chunk-yjan9xfw.js +0 -2
  963. package/web/chunk-yjan9xfw.js.br +0 -0
  964. package/web/chunk-yjan9xfw.js.gz +0 -0
  965. package/web/chunk-yqzsx086.js +0 -2
  966. package/web/chunk-yqzsx086.js.br +0 -0
  967. package/web/chunk-yqzsx086.js.gz +0 -0
  968. package/web/chunk-zcetrm2j.js +0 -1
  969. package/web/chunk-zcetrm2j.js.br +0 -3
  970. package/web/chunk-zcetrm2j.js.gz +0 -0
  971. package/web/chunk-zk1ddepw.js +0 -1
  972. package/web/chunk-zk1ddepw.js.br +0 -0
  973. package/web/chunk-zk1ddepw.js.gz +0 -0
@@ -1 +0,0 @@
1
- import{s,ee,o,a,m,e,n,b,ye,ge}from"./chunk-ev6xj0qs.js";import{Zi}from"./chunk-19qs8qhf.js";var T=[{id:"exa",name:"Exa",description:"免密钥 · 综合搜索"},{id:"tavily",name:"Tavily",description:"免密钥 · 支持域名筛选"},{id:"parallel",name:"Parallel",description:"免密钥 · 网页搜索"},{id:"firecrawl",name:"Firecrawl",description:"免密钥 · 网页内容"},{id:"tinyfish",name:"TinyFish",description:"免密钥 · 搜索摘要"},{id:"searxng",name:"SearXNG",description:"免密钥 · 需自建服务"},{id:"brave",name:"Brave",description:"需密钥 · 独立搜索引擎"}];function D(t){return{enabled:t.search.provider!=="off",provider:t.search.provider==="off"?"auto":t.search.provider,searxngUrl:t.search.searxngUrl??"",proxy:t.proxy??"",acceptLanguage:t.acceptLanguage??""}}function G(t,c){return{search:{provider:t.enabled?t.provider:"off",searxngUrl:t.searxngUrl},keys:{...c},proxy:t.proxy,acceptLanguage:t.acceptLanguage}}function A(t,c,u){let p=D(t);if(c.enabled!==p.enabled)return!0;if(c.enabled&&c.provider!==p.provider)return!0;return c.searxngUrl!==p.searxngUrl||c.proxy!==p.proxy||c.acceptLanguage!==p.acceptLanguage||Object.keys(u).length>0}function z({notice:t}){let{cn:c}=b();if(!t)return null;let u=t.type==="success"?Zi:ye;return n("div",{role:t.type==="error"?"alert":"status",className:c("flex items-start gap-2 text-xs",t.type==="success"?"text-success":"text-danger"),children:[e(u,{className:"mt-0.5 size-4 shrink-0","aria-hidden":"true"}),e("span",{className:"min-w-0 break-words",children:t.text})]})}function I(t){let{Button:c,Input:u,Switch:p,Select:x,StatusChip:S,SettingActions:R,SettingGroup:P,SettingRow:C,cn:w}=b(),y=ee(),l=t.busy!==void 0;return n("form",{id:`${y}-form`,className:"min-w-0 space-y-5",onSubmit:async(r)=>{r.preventDefault(),await t.onSave()},children:[n(P,{title:"联网搜索",children:[e(C,{title:"启用搜索",description:"查询会发送至所选搜索服务",children:e(p,{label:"启用联网搜索",disabled:l,checked:t.draft.enabled,onCheckedChange:(r)=>t.onDraft({...t.draft,enabled:r})})}),e(C,{title:"搜索渠道",description:"自动:Exa → Tavily → Parallel → Firecrawl → TinyFish",children:e("div",{className:"w-48",children:e(x,{id:`${y}-provider`,value:t.draft.provider,disabled:l||!t.draft.enabled,className:"min-w-0",groups:[{options:[{value:"auto",label:"自动",description:"失败时依次切换渠道"},...T.map((r)=>({value:r.id,label:r.name}))]}],onValueChange:(r)=>{let i=r==="auto"?r:T.find((k)=>k.id===r)?.id;if(i)t.onDraft({...t.draft,provider:i})}})})}),(t.draft.provider==="searxng"||t.draft.searxngUrl)&&e(C,{vertical:!0,title:"自建 SearXNG 地址",children:e(u,{id:`${y}-searxng`,"aria-label":"自建 SearXNG 地址",type:"url",maxLength:2000,disabled:l||!t.draft.enabled,value:t.draft.searxngUrl,placeholder:"https://search.example.com",onChange:(r)=>t.onDraft({...t.draft,searxngUrl:r.target.value})})})]}),e(P,{title:"渠道与密钥",description:"检测使用已保存的配置",action:n(c,{type:"button",size:"sm",variant:"ghost",disabled:l,className:"text-dim",onClick:async()=>await t.onCheck("all"),children:[e(ge,{className:w("size-3.5",t.checking==="all"&&"animate-spin"),"aria-hidden":"true"}),t.checking==="all"?"正在检测…":"全部检测"]}),children:T.map((r)=>{let i=r.id,k=i==="searxng"?void 0:t.saved.keys[i],K=k?.source==="environment",W=i==="searxng"?void 0:t.keys[i],h=W==="",v=t.checks[i],L=t.checking==="all"||t.checking===i,f=k?.configured?"已配置密钥":"未配置";if(i==="searxng")f=t.saved.search.searxngUrl?"已配置地址":"未配置地址";if(K)f="来自环境变量";if(h)f="待移除";if(W)f="待保存密钥";let E=v&&!v.ok&&!L?v.error??(v.kind==="search"?v.meta?.failed[0]?.error:v.meta?.error)??"检测失败,请检查配置。":void 0;return n("div",{className:"min-w-0",children:[n(C,{title:r.name,description:n(m,{children:[r.description,K&&" · 请在服务端环境变量中更换或移除",E&&e("span",{role:"status",className:"block break-words text-danger",children:E})]}),children:[L?e(S,{tone:"neutral",pulse:!0,children:"检测中"}):v?e(S,{tone:v.ok?"success":"danger",children:v.ok?`可用 ${v.elapsedMs} ms`:"不可用"}):e("span",{className:w("text-xs",W!==void 0?"text-warning":"text-faint"),children:f}),i!=="searxng"&&!K&&n(m,{children:[e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`${k?.configured?"更换":"设置"} ${r.name} 密钥`,"aria-expanded":t.editingKey===i,"aria-controls":`${y}-${i}-key-editor`,onClick:()=>t.onEditKey(t.editingKey===i?void 0:i),children:k?.configured?"更换":"设置密钥"}),k?.configured&&!h&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`移除 ${r.name} 密钥`,onClick:()=>{t.onKeys({...t.keys,[i]:""}),t.onEditKey(void 0)},children:"移除"})]}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`检测 ${r.name}`,onClick:async()=>await t.onCheck(i),children:"检测"})]}),i!=="searxng"&&t.editingKey===i&&n("div",{id:`${y}-${i}-key-editor`,className:"flex items-center gap-2 pb-3",children:[e(u,{id:`${y}-${i}-key`,"aria-label":`${r.name} API 密钥`,type:"password",autoComplete:"new-password",maxLength:4000,disabled:l,value:t.keys[i]??"",placeholder:"输入新密钥,保存后生效;只写入,不回显",onChange:(N)=>{let d={...t.keys};if(N.target.value.trim())d[i]=N.target.value;else delete d[i];t.onKeys(d)}}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:()=>{let N={...t.keys};delete N[i],t.onKeys(N),t.onEditKey(void 0)},children:"取消"})]})]},i)})}),n(P,{title:"网络",children:[e(C,{vertical:!0,title:"代理 URL",description:"留空使用服务端环境代理",children:e(u,{id:`${y}-proxy`,"aria-label":"代理 URL",type:"url",maxLength:2000,disabled:l,value:t.draft.proxy,placeholder:"http://127.0.0.1:7890",onChange:(r)=>t.onDraft({...t.draft,proxy:r.target.value})})}),e(C,{vertical:!0,title:"Accept-Language",children:e(u,{id:`${y}-language`,"aria-label":"Accept-Language",maxLength:200,disabled:l,value:t.draft.acceptLanguage,placeholder:"en-US,en;q=0.9",onChange:(r)=>t.onDraft({...t.draft,acceptLanguage:r.target.value})})})]}),n(R,{children:[e("div",{className:"mr-auto min-w-0",children:e(z,{notice:t.notice})}),t.dirty&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:t.onRestore,children:"撤销更改"}),e(c,{form:`${y}-form`,type:"submit",size:"sm",variant:"primary",disabled:l||!t.dirty,children:t.busy==="save"?"保存中…":"保存"})]})]})}function M({connection:t}){let{Button:c}=b(),[u,p]=a(),[x,S]=a(),[R,P]=a({}),[C,w]=a(),[y,l]=a("load"),[r,i]=a(),[k,K]=a({}),[W,h]=a(),[v,L]=a(0),f=o(void 0);s(()=>{let d=new AbortController;return f.current=d,l("load"),h(void 0),p(void 0),S(void 0),P({}),w(void 0),K({}),t.request("/api/plugins/webfetch/settings",{signal:d.signal,cache:v>0?"reload":"default"}).then((g)=>{if(d.signal.aborted)return;p(g),S(D(g))}).catch((g)=>{if(!d.signal.aborted)h({type:"error",text:g instanceof Error?g.message:"加载设置失败,请重试。"})}).finally(()=>{if(!d.signal.aborted)f.current=void 0,l(void 0)}),()=>{d.abort(),f.current?.abort(),f.current=void 0}},[t,v]);async function E(){if(f.current||!u||!x||!A(u,x,R))return;let d=new AbortController;f.current=d,l("save"),h(void 0);try{let g=await t.request("/api/plugins/webfetch/settings",{method:"PATCH",signal:d.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(G(x,R))});if(d.signal.aborted)return;p(g),S(D(g)),P({}),w(void 0),K({}),h({type:"success",text:"设置已保存。"})}catch(g){if(!d.signal.aborted)h({type:"error",text:g instanceof Error?g.message:"保存失败,请重试。"})}finally{if(!d.signal.aborted)f.current=void 0,l(void 0)}}async function N(d){if(f.current||!u)return;let g=new AbortController;f.current=g,l("test"),i(d),h(void 0);try{let U=await t.request(`/api/plugins/webfetch/test?provider=${d}`,{method:"POST",signal:g.signal});if(g.signal.aborted)return;K((q)=>{let F={...q};for(let B of U.checks)if(B.kind==="search"&&B.provider)F[B.provider]=B;return F})}catch(U){if(!g.signal.aborted)h({type:"error",text:U instanceof Error?U.message:"检测失败,请重试。"})}finally{if(!g.signal.aborted)f.current=void 0,l(void 0),i(void 0)}}if(!u||!x)return n("div",{className:"min-w-0 space-y-3",children:[y==="load"&&e("p",{role:"status",className:"text-sm text-dim",children:"正在加载设置…"}),e(z,{notice:W}),y!=="load"&&e(c,{type:"button",size:"sm",variant:"ghost",onClick:()=>L(v+1),children:"重新加载"})]});return e(I,{saved:u,draft:x,keys:R,editingKey:C,dirty:A(u,x,R),busy:y==="load"?void 0:y,checking:r,checks:k,notice:W,onDraft:(d)=>{S(d),h(void 0)},onKeys:(d)=>{P(d),h(void 0)},onEditKey:w,onSave:E,onCheck:N,onRestore:()=>{S(D(u)),P({}),w(void 0),h(void 0)}})}export{M as default};
Binary file
Binary file
@@ -1,30 +0,0 @@
1
- import{Mr}from"./chunk-ccdww2gj.js";import{ae}from"./chunk-5v7dyp6t.js";import{t,i,F,A,q,W,N,M,P,R,I,O,D,J,Wr,Zt,Z}from"./chunk-9hkz2jgq.js";import{fe}from"./chunk-wh028xj6.js";var S=/[─━│┃└┗├┣]/,H=/[└┗├┣]/,K=/[─━]/,k=/^[\s│┃]+$/,E=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,L=/^\s*%%/,Q=" ";function X(n){return n.some((r)=>S.test(r))}t(X,"isBoxDrawingFormat");function z(n){for(let r of n){let e=H.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(z,"inferSegmentWidth");function G(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,o)=>{let c=parseInt(o,10),s=r.get(c);return s?`line ${s}`:e})}t(G,"remapErrorLines");function Y(n){let r=n.split(`
2
- `),e=new Map,o=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){o=g;break}if(o===-1)return{text:n,lineMap:e};let c=[];for(let g=o+1;g<r.length;g++){let d=r[g];if(d.trim()===""||L.test(d)||E.test(d))continue;if(k.test(d))continue;c.push(d.replace(/\t/g," "))}if(!X(c))return{text:n,lineMap:e};let s=z(c),a=[],l=0;for(let g=0;g<=o;g++)a.push(r[g]),l++,e.set(l,g+1);for(let g=o+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){a.push(d),l++,e.set(l,f);continue}if(L.test(d)){a.push(d),l++,e.set(l,f);continue}if(E.test(d)){a.push(d),l++,e.set(l,f);continue}if(k.test(d))continue;let h=d.replace(/\t/g," "),w=H.exec(h);if(w?.index!==void 0){let u=w.index,x=Math.round(u/s)+1,m=u+1;while(m<h.length&&K.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let b=h.slice(m).trimEnd();if(!b)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let j=Q.repeat(x);a.push(j+b),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(S.test(h))a.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else a.push(d),l++,e.set(l,f)}return{text:a.join(`
3
- `),lineMap:e}}t(Y,"preprocessBoxDrawing");var v=new Mr(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ee=t(()=>{v.reset(),N()},"clear"),te=t(()=>v.records.stack[0],"getRoot"),re=t(()=>v.records.cnt,"getCount"),ne=F.treeView,ie=t(()=>Z(ne,A().treeView),"getConfig"),oe=t((n,r,e,o,c,s)=>{while(n<=v.records.stack[v.records.stack.length-1].level)v.records.stack.pop();let a={id:v.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:o,description:s,children:[]};v.records.stack[v.records.stack.length-1].children.push(a),v.records.stack.push(a)},"addNode"),se={clear:ee,addNode:oe,getRoot:te,getCount:re,getConfig:ie,getAccTitle:P,getAccDescription:I,getDiagramTitle:D,setAccDescription:R,setAccTitle:M,setDiagramTitle:O},y=se,ce=t((n)=>{ae(n,y);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,o=r.name,c=o.endsWith("/");if(c)o=o.slice(0,-1);let s=c?"directory":"file",a=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?q(d,A()):void 0;y.addNode(e,o,s,a,g,p)}},"populate"),le={parse:t(async(n)=>{let{text:r,lineMap:e}=Y(n);try{let o=await fe("treeView",r);i.debug(o),ce(o)}catch(o){if(e.size>0&&o instanceof Error)o.message=G(o.message,e);throw o}},"parse")},C={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function U(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let o=n.lastIndexOf(".");if(o>0){let c=n.substring(o).toLowerCase(),s=r?.extensionIcons;return s?.[c]??s?.[c.slice(1)]}return}t(U,"detectIcon");function B(n,r){if(n.includes(":"))return n;if(n in C.icons||!r)return`${C.prefix}:${n}`;return`${r}:${n}`}t(B,"qualifyIcon");function V(n,r){if(n.icon==="none")return;if(n.icon)return B(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=U(n.name,r);if(e==="none")return;if(e)return B(e,r.defaultIconPack)}return`${C.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(V,"getNodeIcon");Wr([{name:C.prefix,icons:C}]);var T=14,de=4,he=16,pe=t(async(n,r)=>{let e=[],o=t((s)=>{let a=V(s,r);if(a)e.push({icon:a,node:s});s.children.forEach(o)},"collect");o(n);let c=await Promise.all(e.map(async({icon:s,node:a})=>({id:a.id,svg:await Zt(s,{height:T,width:T})})));return new Map(c.map(({id:s,svg:a})=>[s,a]))},"resolveNodeIcons"),ge=t((n,r,e,o,c,s)=>{let a=o.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=T+de,d=V(e,c),p=d!==void 0;if(d)a.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(s.get(e.id)??"");let f=a.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,x=n+c.paddingX+(p?g:0);f.attr("x",x),f.attr("y",r+u/2);let m=x+w,b=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:b,height:u},e.cssClass?.split(/\s+/).includes("highlight"))a.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:a,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),_=t((n,r,e,o,c,s)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",o).attr("y2",c).attr("stroke-width",s).attr("class","treeView-node-line"),"positionLine"),ue=t((n,r,e,o)=>{let c=0,s=0,a=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),x=ge(u,c,f,p,h,o);a.push(x);let{height:m,width:b}=f.BBox;_(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),s=Math.max(s,u+b),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((x)=>{g(x,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:x,height:m}=p.children[p.children.length-1].BBox;_(n,h+e.paddingX,w+u,h+e.paddingX,x+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=a.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...a.map((h)=>h.labelRightEdge))+he;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();s=Math.max(s,f+u.width+e.paddingX)}}for(let p of a)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=s-p.node.BBox.x+8;f.attr("width",h),s=Math.max(s,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:s}},"drawTree"),me=t(async(n,r,e,o)=>{i.debug(`Rendering treeView diagram
4
- `+n);let c=o.db,s=c.getRoot(),a=c.getConfig(),l=J(r),g=l.append("g");g.attr("class","tree-view");let d=await pe(s,a),{totalHeight:p,totalWidth:f}=ue(g,s,a,d);l.attr("viewBox",`-${a.lineThickness/2} 0 ${f} ${p}`),W(l,p,f,a.useMaxWidth)},"draw"),we={draw:me},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:o,iconColor:c,descriptionColor:s,highlightBg:a,highlightStroke:l}=Z(ve,n);return`
5
- .treeView-node-label {
6
- font-size: ${r};
7
- fill: ${e};
8
- white-space: pre;
9
- }
10
- .treeView-node-dir {
11
- font-weight: bold;
12
- }
13
- .treeView-node-line {
14
- stroke: ${o};
15
- }
16
- .treeView-node-icon {
17
- color: ${c};
18
- }
19
- .treeView-node-description {
20
- font-size: ${r};
21
- fill: ${s};
22
- font-style: italic;
23
- white-space: pre;
24
- }
25
- .treeView-highlight-bg {
26
- fill: ${a};
27
- stroke: ${l};
28
- stroke-width: 1;
29
- }
30
- `},"styles"),Ce=be,Ee={db:y,renderer:xe,parser:le,styles:Ce};export{Ee as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{v,s,ee,o,a,m,e,n,b,Sr,ge}from"./chunk-ev6xj0qs.js";import{Xn}from"./chunk-yqzsx086.js";import"./chunk-19qs8qhf.js";var H={config:"自定义路径",env:"环境变量",system:"系统预装"},E="chrome://inspect/#remote-debugging";function M({connection:f}){let{Button:S,Input:N,Switch:y,SettingGroup:C,SettingRow:p,cn:B}=b(),R=ee(),[w,k]=a({}),[r,g]=a({}),[i,x]=a(null),[u,I]=a(!0),[O,P]=a(!1),[d,G]=a(!1),[D,c]=a(null),T=o(null),q=(r.executable??"")!==(w.executable??"")||Boolean(r.noSandbox)!==Boolean(w.noSandbox)||Boolean(r.ignoreCertErrors)!==Boolean(w.ignoreCertErrors)||Boolean(r.userBrowser)!==Boolean(w.userBrowser)||(r.cdpEndpoint??"")!==(w.cdpEndpoint??""),z=v(async(t)=>{P(!0);try{let l=await f.request("/api/plugins/browser/status",{signal:t});x(l)}catch(l){if(!t?.aborted)x({available:!1,error:l instanceof Error?l.message:"无法获取浏览器状态"})}finally{if(!t?.aborted)P(!1)}},[f]);s(()=>{let t=new AbortController;return T.current=t,Promise.all([f.request("/api/plugins/browser/settings",{signal:t.signal}),f.request("/api/plugins/browser/status",{signal:t.signal})]).then(([l,h])=>{if(!t.signal.aborted)k(l),g(l),x(h)}).catch((l)=>{if(!t.signal.aborted)c({type:"error",text:l instanceof Error?l.message:"读取浏览器设置失败"})}).finally(()=>{if(!t.signal.aborted)I(!1)}),()=>t.abort()},[f]);let U=async(t)=>{if(t?.preventDefault(),d||u)return;let l=new AbortController;G(!0),c(null);try{if(await f.request("/api/plugins/browser/settings",{method:"PATCH",signal:l.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),!l.signal.aborted)k(r),c({type:"success",text:"设置已保存,将在浏览器进程下次启动时生效。"}),await z(l.signal)}catch(h){if(!l.signal.aborted)c({type:"error",text:h instanceof Error?h.message:"保存设置失败"})}finally{if(!l.signal.aborted)G(!1)}},L=()=>{g(w),c(null)},_=async()=>{try{await navigator.clipboard.writeText(E),c({type:"success",text:"已复制,粘贴到 Chrome 地址栏打开后开启远程调试。"})}catch{c({type:"error",text:`无法写入剪贴板,请手动复制:${E}`})}},F=i?.user?.available===!1,A="首次连接时在 Chrome 弹窗中点「允许」";if(F)A=r.cdpEndpoint?e("span",{className:"break-words text-danger",children:i?.user?.error}):"在 Chrome 打开远程调试设置页并开启";return n("form",{id:R,onSubmit:U,className:"min-w-0 space-y-5",children:[e(C,{title:"运行环境",children:e(p,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:B("size-2 shrink-0 rounded-full",i?.available?"bg-success":"bg-danger")}),i?i.available?"浏览器可用":"未检测到可用浏览器":"正在检测…"]}),description:i&&!i.available&&i.error?e("span",{className:"text-danger",children:i.error}):i?.available&&i.source?`来源:${H[i.source]??i.source}`:void 0,children:n(S,{type:"button",size:"sm",variant:"ghost",disabled:u||O,onClick:()=>void z(),className:"text-dim",children:[e(ge,{className:B("size-3.5",O&&"animate-spin")}),"重新检测"]})})}),n(C,{title:"用户浏览器",children:[e(p,{title:"启用远程调试连接",description:"允许通过 Chrome 远程调试连接你的浏览器(默认关闭)",children:e(y,{label:"启用远程调试连接",disabled:u||d,checked:r.userBrowser??!1,onCheckedChange:(t)=>{g({...r,userBrowser:t}),c(null)}})}),r.userBrowser&&n(m,{children:[e(p,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:B("size-2 shrink-0 rounded-full",i?.user?i.user.available?"bg-success":"bg-danger":"bg-dim")}),i?.user?i.user.available?"可以连接":"暂不可连接":"待保存后检测"]}),description:i?.user?A:"点击下方保存后将检测远程调试连接状态",children:!r.cdpEndpoint&&n(S,{type:"button",size:"sm",variant:"secondary",title:E,onClick:()=>void _(),children:[e(Sr,{className:"size-3.5"}),"复制远程调试地址"]})}),e(p,{vertical:!0,title:"调试地址",description:"可选,连接以 --remote-debugging-port 启动的本机浏览器",children:e(N,{id:"browser-cdp-endpoint","aria-label":"浏览器调试地址",disabled:u||d,value:r.cdpEndpoint??"",placeholder:"留空连接日常 Chrome",onChange:(t)=>{g({...r,cdpEndpoint:t.target.value}),c(null)}})})]})]}),n(C,{title:"启动参数",children:[e(p,{vertical:!0,title:"可执行文件路径",description:"留空时自动探测系统浏览器",children:n("div",{className:"flex gap-2",children:[e(N,{id:"browser-executable",disabled:u||d,value:r.executable??"",placeholder:"自动探测",onChange:(t)=>{g({...r,executable:t.target.value}),c(null)}}),r.executable&&e(S,{type:"button",variant:"ghost",size:"sm",disabled:u||d,onClick:()=>{g({...r,executable:""}),c(null)},className:"shrink-0",children:"清空"})]})}),e(p,{title:"禁用沙箱 (--no-sandbox)",description:"容器或 root 环境使用",children:e(y,{label:"禁用沙箱",disabled:u||d,checked:r.noSandbox??!1,onCheckedChange:(t)=>{g({...r,noSandbox:t}),c(null)}})}),e(p,{title:"忽略证书错误 (--ignore-certificate-errors)",description:"跳过自签名与证书有效性检查",children:e(y,{label:"忽略证书错误",disabled:u||d,checked:r.ignoreCertErrors??!1,onCheckedChange:(t)=>{g({...r,ignoreCertErrors:t}),c(null)}})})]}),e(Xn,{formID:R,notice:D,dirty:q,busy:u||d,saving:d,onReset:L})]})}export{M as default};
Binary file
Binary file
@@ -1,98 +0,0 @@
1
- import{t,i,de,f,h,F,A,Cc,q,d,He,Ue}from"./chunk-9hkz2jgq.js";import{ze}from"./chunk-gp3356tf.js";import{Pe}from"./chunk-2z5tpzd0.js";var ye=new Uint8Array(16);function Z(){return crypto.getRandomValues(ye)}var S=[];for(let e=0;e<256;++e)S.push((e+256).toString(16).slice(1));function le(e,r=0){return(S[e[r+0]]+S[e[r+1]]+S[e[r+2]]+S[e[r+3]]+"-"+S[e[r+4]]+S[e[r+5]]+"-"+S[e[r+6]]+S[e[r+7]]+"-"+S[e[r+8]]+S[e[r+9]]+"-"+S[e[r+10]]+S[e[r+11]]+S[e[r+12]]+S[e[r+13]]+S[e[r+14]]+S[e[r+15]]).toLowerCase()}function ke(e,r,u){if(!r&&!e&&crypto.randomUUID)return crypto.randomUUID();return be(e,r,u)}function be(e,r,u){e=e||{};let l=e.random??e.rng?.()??Z();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,r){if(u=u||0,u<0||u+16>r.length)throw RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let n=0;n<16;++n)r[u+n]=l[n];return r}return le(l)}var ee=ke;var te=function(){var e=t(function(O,a,s,c){for(s=s||{},c=O.length;c--;s[O[c]]=a);return s},"o"),r=[1,4],u=[1,13],l=[1,12],n=[1,15],p=[1,16],k=[1,20],E=[1,19],x=[6,7,8],w=[1,26],U=[1,24],B=[1,25],m=[6,7,11],M=[1,6,13,15,16,19,22],ne=[1,33],ie=[1,34],P=[1,6,7,11,13,15,16,19,22],X={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(a,s,c,g,b,o,V){var y=o.length-1;switch(b){case 6:case 7:return g;case 8:g.getLogger().trace("Stop NL ");break;case 9:g.getLogger().trace("Stop EOF ");break;case 11:g.getLogger().trace("Stop NL2 ");break;case 12:g.getLogger().trace("Stop EOF2 ");break;case 15:g.getLogger().info("Node: ",o[y].id),g.addNode(o[y-1].length,o[y].id,o[y].descr,o[y].type);break;case 16:g.getLogger().trace("Icon: ",o[y]),g.decorateNode({icon:o[y]});break;case 17:case 21:g.decorateNode({class:o[y]});break;case 18:g.getLogger().trace("SPACELIST");break;case 19:g.getLogger().trace("Node: ",o[y].id),g.addNode(0,o[y].id,o[y].descr,o[y].type);break;case 20:g.decorateNode({icon:o[y]});break;case 25:g.getLogger().trace("node found ..",o[y-2]),this.$={id:o[y-1],descr:o[y-1],type:g.getType(o[y-2],o[y])};break;case 26:this.$={id:o[y],descr:o[y],type:g.nodeType.DEFAULT};break;case 27:g.getLogger().trace("node found ..",o[y-3]),this.$={id:o[y-3],descr:o[y-1],type:g.getType(o[y-2],o[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},e(x,[2,3]),{1:[2,2]},e(x,[2,4]),e(x,[2,5]),{1:[2,6],6:u,12:21,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},{6:u,9:22,12:11,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},{6:w,7:U,10:23,11:B},e(m,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,23]),e(m,[2,24]),e(m,[2,26],{19:[1,30]}),{20:[1,31]},{6:w,7:U,10:32,11:B},{1:[2,7],6:u,12:21,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},e(M,[2,14],{7:ne,11:ie}),e(P,[2,8]),e(P,[2,9]),e(P,[2,10]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),{20:[1,35]},{21:[1,36]},e(M,[2,13],{7:ne,11:ie}),e(P,[2,11]),e(P,[2,12]),{21:[1,37]},e(m,[2,25]),e(m,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(a,s){if(s.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=s,c}},"parseError"),parse:t(function(a){var s=this,c=[0],g=[],b=[null],o=[],V=this.table,y="",j=0,re=0,se=0,ue=2,oe=1,pe=o.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,z))I.yy[z]=this.yy[z];if(_.setInput(a,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var Y=_.yylloc;o.push(Y);var fe=_.options&&_.options.ranges;if(typeof I.yy.parseError==="function")this.parseError=I.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(D){c.length=c.length-2*D,b.length=b.length-D,o.length=o.length-D}t(me,"popStack");function ae(){var D=g.pop()||_.lex()||oe;if(typeof D!=="number"){if(D instanceof Array)g=D,D=g.pop();D=s.symbols_[D]||D}return D}t(ae,"lex");var N,J,C,L,Te,K,R={},H,v,ce,W;while(!0){if(C=c[c.length-1],this.defaultActions[C])L=this.defaultActions[C];else{if(N===null||typeof N>"u")N=ae();L=V[C]&&V[C][N]}if(typeof L>"u"||!L.length||!L[0]){var Q="";W=[];for(H in V[C])if(this.terminals_[H]&&H>ue)W.push("'"+this.terminals_[H]+"'");if(_.showPosition)Q="Parse error on line "+(j+1)+`:
2
- `+_.showPosition()+`
3
- Expecting `+W.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Q="Parse error on line "+(j+1)+": Unexpected "+(N==oe?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Q,{text:_.match,token:this.terminals_[N]||N,line:_.yylineno,loc:Y,expected:W})}if(L[0]instanceof Array&&L.length>1)throw Error("Parse Error: multiple actions possible at state: "+C+", token: "+N);switch(L[0]){case 1:if(c.push(N),b.push(_.yytext),o.push(_.yylloc),c.push(L[1]),N=null,!J){if(re=_.yyleng,y=_.yytext,j=_.yylineno,Y=_.yylloc,se>0)se--}else N=J,J=null;break;case 2:if(v=this.productions_[L[1]][1],R.$=b[b.length-v],R._$={first_line:o[o.length-(v||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(v||1)].first_column,last_column:o[o.length-1].last_column},fe)R._$.range=[o[o.length-(v||1)].range[0],o[o.length-1].range[1]];if(K=this.performAction.apply(R,[y,re,j,I.yy,L[1],b,o].concat(pe)),typeof K<"u")return K;if(v)c=c.slice(0,-1*v*2),b=b.slice(0,-1*v),o=o.slice(0,-1*v);c.push(this.productions_[L[1]][0]),b.push(R.$),o.push(R._$),ce=V[c[c.length-2]][c[c.length-1]],c.push(ce);break;case 3:return!0}}return!0},"parse")},ge=function(){var O={EOF:1,parseError:t(function(s,c){if(this.yy.parser)this.yy.parser.parseError(s,c);else throw Error(s)},"parseError"),setInput:t(function(a,s){if(this.yy=s||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var s=a.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),a},"input"),unput:t(function(a){var s=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var g=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var b=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===g.length?this.yylloc.first_column:0)+g[g.length-c.length].length-c[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[b[0],b[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(a){this.unput(this.match.slice(a))},"less"),pastInput:t(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var a=this.pastInput(),s=Array(a.length+1).join("-");return a+this.upcomingInput()+`
5
- `+s+"^"},"showPosition"),test_match:t(function(a,s){var c,g,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(g=a[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var o in b)this[o]=b[o];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,s,c,g;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var o=0;o<b.length;o++)if(c=this._input.match(this.rules[b[o]]),c&&(!s||c[0].length>s[0].length)){if(s=c,g=o,this.options.backtrack_lexer)if(a=this.test_match(c,b[o]),a!==!1)return a;else if(this._backtrack){s=!1;continue}else return!1;else if(!this.options.flex)break}if(s){if(a=this.test_match(s,b[g]),a!==!1)return a;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var 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,c,g,b){var o=b;switch(g){case 0:return s.getLogger().trace("Found comment",c.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:s.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return s.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:s.getLogger().trace("end icon"),this.popState();break;case 10:return s.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return s.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return s.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return s.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:s.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return s.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),s.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),s.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),s.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),s.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),s.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return s.getLogger().trace("Long description:",c.yytext),20;break;case 36:return s.getLogger().trace("Long description:",c.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return O}();X.lexer=ge;function G(){this.yy={}}return t(G,"Parser"),G.prototype=X,X.Parser=G,new G}();te.parser=te;var Ee=te,he=12,T={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_e=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=T,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,l){i.info("addNode",e,r,u,l);let n=!1;if(this.nodes.length===0)this.baseLevel=e,e=0,n=!0;else if(this.baseLevel!==void 0)e=e-this.baseLevel,n=!1;let p=d(),k=p.mindmap?.padding??F.mindmap.padding;switch(l){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:k*=2;break}let E={id:this.count++,nodeId:q(r,p),level:e,descr:q(u,p),type:l,children:[],width:p.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:k,isRoot:n},x=this.getParent(e);if(x)x.children.push(E),this.nodes.push(E);else if(n)this.nodes.push(E);else throw Error(`There can be only one root. No parent could be found for ("${E.descr}")`)}getType(e,r){switch(i.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let r=d(),u=this.nodes[this.nodes.length-1];if(e.icon)u.icon=q(e.icon,r);if(e.class)u.class=q(e.class,r)}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,r,u=0,l=!1){if(e.level===0)e.section=void 0;else e.section=l?(u-1)%(he-1):r;if(e.children)for(let[n,p]of e.children.entries()){let k=e.level===0?n%(he-1):r;this.assignSections(p,k,u+1,l)}}flattenNodes(e,r){let u=d(),l=["mindmap-node"];if(e.isRoot===!0)l.push("section-root","section--1");else if(e.section!==void 0)l.push(`section-${e.section}`);if(e.class)l.push(e.class);let n=l.join(" "),p=t((E)=>{let w=(u.theme?.toLowerCase()??"").includes("redux");switch(E){case T.CIRCLE:return"mindmapCircle";case T.RECT:return"rect";case T.ROUNDED_RECT:return"rounded";case T.CLOUD:return"cloud";case T.BANG:return"bang";case T.HEXAGON:return"hexagon";case T.DEFAULT:return w?"rounded":"defaultMindmapNode";case T.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:p(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(k),e.children)for(let E of e.children)this.flattenNodes(E,r)}generateEdges(e,r){if(!e.children)return;let u=d();for(let l of e.children){let n="edge";if(l.section!==void 0)n+=` section-edge-${l.section}`;let p=e.level+1;n+=` edge-depth-${p}`;let k={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:n,depth:e.level,section:l.section};r.push(k),this.generateEdges(l,r)}}getData(){let e=this.getMindmap(),r=d(),l=Cc().layout!==void 0,n=r;if(!l)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};i.debug("getData: mindmapRoot",e,r),this.assignSections(e,void 0,0,r.mindmap?.colorBy==="depth");let p=[],k=[];this.flattenNodes(e,p),this.generateEdges(e,k),i.debug(`getData: processed ${p.length} nodes and ${k.length} edges`);let E=new Map;for(let x of p)E.set(x.id,{shape:x.shape,width:x.width,height:x.height,padding:x.padding});return{nodes:p,edges:k,config:n,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(E),type:"mindmap",diagramId:"mindmap-"+ee()}}getLogger(){return i}},Se=t(async(e,r,u,l)=>{i.debug(`Rendering mindmap diagram
7
- `+e);let n=l.db,p=n.getData(),k=ze(r,p.config.securityLevel);if(p.type=l.type,p.layoutAlgorithm=Ue(p.config.layout,{fallback:"cose-bilkent"}),p.diagramId=r,!n.getMindmap())return;p.nodes.forEach((m)=>{if(m.shape==="rounded")m.radius=15,m.taper=15,m.stroke="none",m.width=0,m.padding=15;else if(m.shape==="circle")m.padding=10;else if(m.shape==="rect")m.width=0,m.padding=10;else if(m.shape==="hexagon")m.width=0,m.height=0}),await He(p,k);let{themeVariables:x}=A(),{useGradient:w,gradientStart:U,gradientStop:B}=x;if(w&&U&&B){let m=k.attr("id"),M=k.append("defs").append("linearGradient").attr("id",`${m}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");M.append("stop").attr("offset","0%").attr("stop-color",U).attr("stop-opacity",1),M.append("stop").attr("offset","100%").attr("stop-color",B).attr("stop-opacity",1)}Pe(k,p.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",p.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),xe={draw:Se},Ne=t((e)=>{let{theme:r,look:u}=e,l="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],de(e["lineColor"+n]))e["lineColor"+n]=f(e["lineColor"+n],20);else e["lineColor"+n]=h(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let p=""+(u==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=r==="redux"||r==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:n)];l+=`
8
- .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
9
- fill: ${e["cScale"+n]};
10
- }
11
- .section-${n-1} text {
12
- fill: ${e["cScaleLabel"+n]};
13
- }
14
- .section-${n-1} span {
15
- color: ${e["cScaleLabel"+n]};
16
- }
17
- .node-icon-${n-1} {
18
- font-size: 40px;
19
- color: ${e["cScaleLabel"+n]};
20
- }
21
- .section-edge-${n-1}{
22
- stroke: ${e["cScale"+n]};
23
- }
24
- .edge-depth-${n-1}{
25
- stroke-width: ${p};
26
- }
27
- .section-${n-1} line {
28
- stroke: ${e["cScaleInv"+n]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
39
- fill: ${r==="redux"||r==="redux-dark"||r==="neutral"?e.mainBkg:e["cScale"+n]};
40
- stroke: ${r==="redux"||r==="redux-dark"?e.nodeBorder:e["cScale"+n]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${n-1}{
44
- stroke: ${r?.includes("redux")||r==="neo-dark"?e.nodeBorder:e["cScale"+n]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${n-1} text, [data-look="neo"].mindmap-node.section-${n-1} span {
47
- fill: ${k};
48
- color: ${k};
49
- }
50
- `}return l},"genSections"),Le=t((e,r,u)=>{let l="";for(let n=0;n<e;n++)l+=`
51
- [data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
52
- stroke: url(${r}-gradient);
53
- fill: ${u};
54
- }
55
- .section-${n-1} line {
56
- stroke-width: 0;
57
- }`;return l},"genGradient"),De=t((e)=>{let{theme:r}=e,u=e.svgId,l=r?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${u}-drop-shadow)`):"none";return`
58
- .edge {
59
- stroke-width: 3;
60
- }
61
- ${Ne(e)}
62
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
63
- fill: ${e.git0};
64
- }
65
- .section-root text {
66
- fill: ${e.gitBranchLabel0};
67
- }
68
- .section-root span {
69
- color: ${r?.includes("redux")?e.nodeBorder:e.gitBranchLabel0};
70
- }
71
- .icon-container {
72
- height:100%;
73
- display: flex;
74
- justify-content: center;
75
- align-items: center;
76
- }
77
- .edge {
78
- fill: none;
79
- }
80
- .mindmap-node-label {
81
- dy: 1em;
82
- alignment-baseline: middle;
83
- text-anchor: middle;
84
- dominant-baseline: middle;
85
- text-align: center;
86
- }
87
- [data-look="neo"].mindmap-node {
88
- filter: ${n};
89
- }
90
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
91
- fill: ${r?.includes("redux")?e.mainBkg:e.git0};
92
- }
93
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan, [data-look="neo"].mindmap-node.section-root span {
94
- fill: ${l};
95
- color: ${l};
96
- }
97
- ${e.useGradient&&u&&e.mainBkg?Le(e.THEME_COLOR_LIMIT,u,e.mainBkg):""}
98
- `},"getStyles"),ve=De,It={get db(){return new _e},renderer:xe,parser:Ee,styles:ve};export{It as diagram};
Binary file
Binary file
@@ -1,62 +0,0 @@
1
- import{ae}from"./chunk-5v7dyp6t.js";import{t,i,Qe,F,A,W,N,M,P,R,I,O,D,J,Z}from"./chunk-9hkz2jgq.js";import{fe}from"./chunk-wh028xj6.js";var ut=t(()=>({domains:new Map,transitions:[]}),"createDefaultData"),et=ut(),At=t(()=>et.domains,"getDomains"),Bt=t(()=>et.transitions,"getTransitions"),St=t((e)=>{if(!e)return;for(let n of e){let o=n.domain,a=(n.items??[]).map((l)=>({label:l.label}));et.domains.set(o,{name:o,items:a})}},"setDomains"),Mt=t((e)=>{if(!e)return;et.transitions=e.filter((n)=>{if(n.from===n.to)return i.warn(`Cynefin: self-loop transition on domain "${n.from}" is not meaningful and will be skipped.`),!1;return!0}).map((n)=>({from:n.from,to:n.to,label:n.label||void 0}))},"setTransitions"),zt=t(()=>Z({...F.cynefin,...A().cynefin}),"getConfig"),Lt=t(()=>{N(),et=ut()},"clear"),at={getDomains:At,getTransitions:Bt,setDomains:St,setTransitions:Mt,getConfig:zt,clear:Lt,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},Nt=t((e)=>{ae(e,at),at.setDomains(e.domains),at.setTransitions(e.transitions)},"populate"),Pt={parse:t(async(e)=>{let n=await fe("cynefin",e);i.debug(n),Nt(n)},"parse")};function tt(e){let n=e+1831565813|0;return n=Math.imul(n^n>>>15,n|1),n^=n+Math.imul(n^n>>>7,n|61),((n^n>>>14)>>>0)/4294967296}t(tt,"seededRandom");function gt(e){let n=0;for(let o=0;o<e.length;o++){let a=e.charCodeAt(o);n=(n<<5)-n+a,n|=0}return n}t(gt,"hashString");function ht(e,n){if(typeof e==="number"&&Number.isFinite(e)&&e!==0)return e;return gt(n)}t(ht,"resolveSeed");function xt(e,n,o,a){let l=e/2,p=a??e*0.015,nt=7,j=n/7,f=[];for(let r=0;r<=7;r++){let y=tt(o+r*17)*p*2-p;f.push({x:l+y,y:r*j})}let T=`M${f[0].x},${f[0].y}`;for(let r=0;r<f.length-1;r++){let y=f[r],c=f[r+1],m=(y.y+c.y)/2,C=r%2===0?1:-1,h=p*1.5*C*tt(o+r*31+7),q=y.x+h,U=m,Q=c.x-h;T+=` C${q},${U} ${Q},${m} ${c.x},${c.y}`}return T}t(xt,"generateFoldPath");function $t(e,n,o,a){let l=n/2,p=a??n*0.015,nt=7,j=e/7,f=[];for(let r=0;r<=7;r++){let y=tt(o+r*23)*p*2-p;f.push({x:r*j,y:l+y})}let T=`M${f[0].x},${f[0].y}`;for(let r=0;r<f.length-1;r++){let y=f[r],c=f[r+1],m=(y.x+c.x)/2,C=r%2===0?1:-1,h=p*1.5*C*tt(o+r*37+11),q=m,U=y.y+h,Q=m,E=c.y-h;T+=` C${q},${U} ${Q},${E} ${c.x},${c.y}`}return T}t($t,"generateHorizontalBoundary");function bt(e,n){let o=e/2,a=n*0.5,l=n,p=e*0.03;return[`M${o},${a}`,`C${o+p},${a+(l-a)*0.2}`,`${o-p*1.5},${a+(l-a)*0.55}`,`${o+p*0.5},${a+(l-a)*0.75}`,`C${o-p},${a+(l-a)*0.85}`,`${o+p*0.3},${a+(l-a)*0.95}`,`${o},${l}`].join(" ")}t(bt,"generateCliffPath");function wt(e,n,o,a){return[`M${e-o},${n}`,`A${o},${a} 0 1,1 ${e+o},${n}`,`A${o},${a} 0 1,1 ${e-o},${n}`,"Z"].join(" ")}t(wt,"generateConfusionPath");var yt={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},It=t((e,n)=>{let o=e/2,a=n/2;return{complex:{cx:o/2,cy:a/2,x:0,y:0,w:o,h:a},complicated:{cx:o+o/2,cy:a/2,x:o,y:0,w:o,h:a},chaotic:{cx:o/2,cy:a+a/2,x:0,y:a,w:o,h:a},clear:{cx:o+o/2,cy:a+a/2,x:o,y:a,w:o,h:a},confusion:{cx:o,cy:a,x:o*0.7,y:a*0.7,w:o*0.6,h:a*0.6}}},"getDomainLayouts"),Wt=t(()=>{let e=Qe(),n=A();return Z(e,n.themeVariables).cynefin},"getCynefinDomainColors"),st=3,Rt=t((e,n,o,a)=>{let l=a.db,p=l.getDomains(),nt=l.getTransitions(),j=l.getDiagramTitle(),f=l.getAccTitle(),T=l.getAccDescription(),r=l.getConfig(),y=Wt();i.debug("Rendering Cynefin diagram");let{width:c,height:m,padding:C,showDomainDescriptions:h,boundaryAmplitude:q}=r,U=c+C*2,Q=m+C*2,E={complex:y.complexBg,complicated:y.complicatedBg,clear:y.clearBg,chaotic:y.chaoticBg,confusion:y.confusionBg},B=J(n);if(W(B,Q,U,r.useMaxWidth??!0),B.attr("viewBox",`0 0 ${U} ${Q}`),f)B.append("title").text(f);if(T)B.append("desc").text(T);let S=B.append("g").attr("transform",`translate(${C}, ${C})`),K=It(c,m),ct=ht(r.seed,n),Ct=S.append("g").attr("class","cynefin-backgrounds"),rt=["complex","complicated","chaotic","clear"];for(let d of rt){let s=K[d];Ct.append("rect").attr("class","cynefinDomain").attr("x",s.x).attr("y",s.y).attr("width",s.w).attr("height",s.h).attr("fill",E[d]).attr("fill-opacity",0.4).attr("stroke","none")}let it=S.append("g").attr("class","cynefin-boundaries");it.append("path").attr("class","cynefinBoundary").attr("d",xt(c,m,ct,q)).attr("fill","none"),it.append("path").attr("class","cynefinBoundary").attr("d",$t(c,m,ct+100,q)).attr("fill","none"),it.append("path").attr("class","cynefinCliff").attr("d",bt(c,m)).attr("fill","none");let vt=c*0.15,Dt=m*0.15;S.append("path").attr("class","cynefinConfusion").attr("d",wt(c/2,m/2,vt,Dt)).attr("fill",E.confusion).attr("fill-opacity",0.5);let lt=S.append("g").attr("class","cynefin-labels");for(let d of rt){let s=K[d];lt.append("text").attr("class","cynefinDomainLabel").attr("x",s.cx).attr("y",h?s.cy-30:s.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(d.charAt(0).toUpperCase()+d.slice(1))}if(lt.append("text").attr("class","cynefinDomainLabel").attr("x",c/2).attr("y",h?m/2-10:m/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){let d=S.append("g").attr("class","cynefin-subtitles");for(let s of rt){let g=K[s],u=yt[s];d.append("text").attr("class","cynefinSubtitle").attr("x",g.cx).attr("y",g.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(u.model),d.append("text").attr("class","cynefinSubtitle").attr("x",g.cx).attr("y",g.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(u.practice)}d.append("text").attr("class","cynefinSubtitle").attr("x",c/2).attr("y",m/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(yt.confusion.practice)}let dt=S.append("g").attr("class","cynefin-items"),z=26,ft=10,kt=["complex","complicated","chaotic","clear","confusion"];for(let d of kt){let s=p.get(d);if(!s||s.items.length===0)continue;let g=K[d],u=d==="confusion",H=s.items,G=0;if(u&&s.items.length>st)G=s.items.length-st,H=s.items.slice(0,st);let L;if(u){let b=h?22:14;L=g.cy+b}else L=g.cy+(h?25:15);if([...H].forEach((b,V)=>{let v=L+V*(z+4),_=dt.append("g"),Y=_.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",z/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(b.label),w=b.label.length*7,x=Y.node();if(x&&typeof x.getBBox==="function"){let ot=x.getBBox();if(ot.width>0)w=ot.width}let k=w+ft*2,X=g.cx-k/2;_.attr("transform",`translate(${X}, ${v})`),_.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",k).attr("height",z).attr("rx",4).attr("ry",4).attr("fill",E[d]).attr("fill-opacity",0.95),Y.attr("x",k/2).attr("y",z/2)}),G>0){let b=L+H.length*(z+4),V=`+${G} more`,v=dt.append("g"),_=v.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",z/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(V),Y=V.length*7,w=_.node();if(w&&typeof w.getBBox==="function"){let X=w.getBBox();if(X.width>0)Y=X.width}let x=Y+ft*2,k=g.cx-x/2;v.attr("transform",`translate(${k}, ${b})`),v.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",z).attr("rx",4).attr("ry",4).attr("fill",E[d]).attr("fill-opacity",0.6),_.attr("x",x/2).attr("y",z/2)}}if(nt.length>0){let d=B.select("defs").empty()?B.append("defs"):B.select("defs"),s=`cynefin-arrow-${n}`;d.append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");let g=S.append("g").attr("class","cynefin-arrows");nt.forEach((u)=>{let H=K[u.from],G=K[u.to];if(!H||!G)return;if(u.from===u.to){i.warn(`Cynefin renderer: skipping self-loop on domain "${u.from}"`);return}let{cx:L,cy:b}=H,{cx:V,cy:v}=G,_=(L+V)/2,Y=(b+v)/2,w=V-L,x=v-b,k=Math.sqrt(w*w+x*x),X=k*0.15,ot=-x/k,Tt=w/k,mt=_+ot*X,pt=Y+Tt*X;if(g.append("path").attr("class","cynefinArrowLine").attr("d",`M${L},${b} Q${mt},${pt} ${V},${v}`).attr("fill","none").attr("marker-end",`url(#${s})`),u.label)g.append("text").attr("class","cynefinArrowLabel").attr("x",mt).attr("y",pt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(u.label)})}if(j)S.append("text").attr("class","cynefinTitle").attr("x",c/2).attr("y",-C/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(j)},"draw"),Ft={draw:Rt},Vt=t(()=>{let e=Qe(),n=A();return Z(e,n.themeVariables).cynefin},"getCynefinTheme"),_t=t(()=>{let e=Vt();return`
2
- .cynefinDomain {
3
- stroke: none;
4
- }
5
- .cynefinDomainLabel {
6
- font-size: ${e.domainFontSize}px;
7
- font-weight: bold;
8
- fill: ${e.labelColor};
9
- }
10
- .cynefinSubtitle {
11
- font-size: ${e.itemFontSize-1}px;
12
- fill: ${e.textColor};
13
- font-style: italic;
14
- }
15
- .cynefinItem {
16
- fill-opacity: 0.95;
17
- stroke: ${e.boundaryColor};
18
- stroke-width: 1;
19
- }
20
- .cynefinItemText {
21
- font-size: ${e.itemFontSize}px;
22
- fill: ${e.textColor};
23
- }
24
- .cynefinItemOverflow {
25
- fill-opacity: 0.6;
26
- stroke: ${e.boundaryColor};
27
- stroke-width: 1;
28
- stroke-dasharray: 3 2;
29
- }
30
- .cynefinBoundary {
31
- stroke: ${e.boundaryColor};
32
- stroke-width: ${e.boundaryWidth};
33
- stroke-dasharray: 6 3;
34
- }
35
- .cynefinCliff {
36
- stroke: ${e.cliffColor};
37
- stroke-width: ${e.cliffWidth};
38
- }
39
- .cynefinConfusion {
40
- stroke: ${e.boundaryColor};
41
- stroke-width: 1.5;
42
- stroke-dasharray: 4 2;
43
- }
44
- .cynefinArrowLine {
45
- stroke: ${e.arrowColor};
46
- stroke-width: ${e.arrowWidth};
47
- fill: none;
48
- }
49
- .cynefinArrowHead {
50
- fill: ${e.arrowColor};
51
- stroke: none;
52
- }
53
- .cynefinArrowLabel {
54
- font-size: ${e.itemFontSize-1}px;
55
- fill: ${e.textColor};
56
- }
57
- .cynefinTitle {
58
- font-size: ${e.domainFontSize+2}px;
59
- font-weight: bold;
60
- fill: ${e.labelColor};
61
- }
62
- `},"styles"),Et=_t,Ut={parser:Pt,db:at,renderer:Ft,styles:Et};export{Ut as diagram};
Binary file
Binary file
@@ -1,78 +0,0 @@
1
- import{ae}from"./chunk-5v7dyp6t.js";import{t,i,Qe,A,W,N,M,P,R,I,O,D,d,J,Z}from"./chunk-9hkz2jgq.js";import{fe}from"./chunk-wh028xj6.js";var at=t((a,s)=>{let o=a<=1?a*100:a;if(o<0||o>100)throw Error(`${s} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${a}`);return o},"toPercent"),G=t((a,s,o)=>({x:at(s,`${o} evolution`),y:at(a,`${o} visibility`)}),"toCoordinates"),lt=t((a)=>{if(!a)return;if(a==="+<>")return"bidirectional";if(a==="+<")return"backward";if(a==="+>")return"forward";return},"getFlowFromPort"),Yt=t((a)=>{if(!a?.startsWith("+"))return{};let o=/^\+'([^']*)'/.exec(a)?.[1];if(a.includes("<>"))return{flow:"bidirectional",label:o};if(a.includes("<"))return{flow:"backward",label:o};if(a.includes(">"))return{flow:"forward",label:o};return{label:o}},"extractFlowFromArrow"),It=t((a,s)=>{if(ae(a,s),a.size)s.setSize(a.size.width,a.size.height);if(a.evolution){let o=a.evolution.stages.map((r)=>{if(r.secondName)return`${r.name.trim()} / ${r.secondName.trim()}`;return r.name.trim()}),y=a.evolution.stages.filter((r)=>r.boundary!==void 0).map((r)=>r.boundary);s.updateAxes({stages:o,stageBoundaries:y})}if(a.anchors.forEach((o)=>{let y=G(o.visibility,o.evolution,`Anchor "${o.name}"`);s.addNode(o.name,o.name,y.x,y.y,"anchor")}),a.components.forEach((o)=>{let y=G(o.visibility,o.evolution,`Component "${o.name}"`),r=o.label?(o.label.negX?-1:1)*o.label.offsetX:void 0,p=o.label?(o.label.negY?-1:1)*o.label.offsetY:void 0,k=o.decorator?.strategy;s.addNode(o.name,o.name,y.x,y.y,"component",r,p,o.inertia,k)}),a.notes.forEach((o)=>{let y=G(o.visibility,o.evolution,`Note "${o.text}"`);s.addNote(o.text,y.x,y.y)}),a.pipelines.forEach((o)=>{let y=s.getNode(o.parent);if(!y||typeof y.y!=="number")throw Error(`Pipeline "${o.parent}" must reference an existing component with coordinates.`);let r=y.y;s.startPipeline(o.parent),o.components.forEach((p)=>{let k=`${o.parent}_${p.name}`,T=p.label?(p.label.negX?-1:1)*p.label.offsetX:void 0,w=p.label?(p.label.negY?-1:1)*p.label.offsetY:void 0,K=at(p.evolution,`Pipeline component "${p.name}" evolution`);s.addNode(k,p.name,K,r,"pipeline-component",T,w),s.addPipelineComponent(o.parent,k)})}),a.links.forEach((o)=>{let y=!!o.arrow&&(o.arrow.includes("-.->")||o.arrow.includes(".-.")),r=lt(o.fromPort)??lt(o.toPort),{flow:p,label:k}=Yt(o.arrow);if(!r&&p)r=p;let T=o.linkLabel,w=k??T;s.addLink(s.resolveNodeId(o.from),s.resolveNodeId(o.to),y,w,r)}),a.evolves.forEach((o)=>{let y=s.getNode(o.component);if(y?.y!==void 0){let r=at(o.target,`Evolve target for "${o.component}"`);s.addTrend(o.component,r,y.y)}}),a.annotations.length>0){let o=a.annotations[0],y=G(o.x,o.y,"Annotations box");s.setAnnotationsBox(y.x,y.y)}a.annotation.forEach((o)=>{let y=G(o.x,o.y,`Annotation ${o.number}`);s.addAnnotation(o.number,[{x:y.x,y:y.y}],o.text)}),a.accelerators.forEach((o)=>{let y=G(o.x,o.y,`Accelerator "${o.name}"`);s.addAccelerator(o.name,y.x,y.y)}),a.deaccelerators.forEach((o)=>{let y=G(o.x,o.y,`Deaccelerator "${o.name}"`);s.addDeaccelerator(o.name,y.x,y.y)})},"populateDb"),ct={parser:{yy:void 0},parse:t(async(a)=>{let s=await fe("wardley",a);i.debug(s);let o=ct.parser?.yy;if(!o||typeof o.addNode!=="function")throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");It(s,o)},"parse")},Bt=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,"WardleyBuilder")}addNode(a){let s=this.nodes.get(a.id)??{id:a.id,label:a.label},o={...s,...a,className:a.className??s.className,labelOffsetX:a.labelOffsetX??s.labelOffsetX,labelOffsetY:a.labelOffsetY??s.labelOffsetY};this.nodes.set(a.id,o)}addLink(a){this.links.push(a)}addTrend(a){this.trends.set(a.nodeId,a)}startPipeline(a){this.pipelines.set(a,{nodeId:a,componentIds:[]});let s=this.nodes.get(a);if(s)s.isPipelineParent=!0}addPipelineComponent(a,s){let o=this.pipelines.get(a);if(o)o.componentIds.push(s);let y=this.nodes.get(s);if(y)y.inPipeline=!0}addAnnotation(a){this.annotations.push(a)}addNote(a){this.notes.push(a)}addAccelerator(a){this.accelerators.push(a)}addDeaccelerator(a){this.deaccelerators.push(a)}setAnnotationsBox(a,s){this.annotationsBox={x:a,y:s}}setAxes(a){this.axes={...this.axes,...a}}setSize(a,s){this.size={width:a,height:s}}getNode(a){return this.nodes.get(a)}resolveNodeId(a){if(this.nodes.has(a))return a;for(let[s,o]of this.nodes)if(o.label===a)return s;return a}build(){let a=[];for(let s of this.nodes.values()){if(typeof s.x!=="number"||typeof s.y!=="number")throw Error(`Node "${s.label}" is missing coordinates`);a.push(s)}return{nodes:a,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},v=new Bt;function pt(){return d()["wardley-beta"]}t(pt,"getConfig");function ht(a,s,o,y,r,p,k,T,w){v.addNode({id:a,label:s,x:o,y,className:r,labelOffsetX:p,labelOffsetY:k,inertia:T,sourceStrategy:w})}t(ht,"addNode");function ft(a,s,o=!1,y,r){v.addLink({source:a,target:s,dashed:o,label:y,flow:r})}t(ft,"addLink");function xt(a,s,o){v.addTrend({nodeId:a,targetX:s,targetY:o})}t(xt,"addTrend");function gt(a,s,o){v.addAnnotation({number:a,coordinates:s,text:o})}t(gt,"addAnnotation");function yt(a,s,o){v.addNote({text:a,x:s,y:o})}t(yt,"addNote");function ut(a,s,o){v.addAccelerator({name:a,x:s,y:o})}t(ut,"addAccelerator");function wt(a,s,o){v.addDeaccelerator({name:a,x:s,y:o})}t(wt,"addDeaccelerator");function mt(a,s){v.setAnnotationsBox(a,s)}t(mt,"setAnnotationsBox");function kt(a,s){v.setSize(a,s)}t(kt,"setSize");function bt(a){v.startPipeline(a)}t(bt,"startPipeline");function $t(a,s){v.addPipelineComponent(a,s)}t($t,"addPipelineComponent");function vt(a){v.setAxes(a)}t(vt,"updateAxes");function Pt(a){return v.getNode(a)}t(Pt,"getNode");function Ct(a){return v.resolveNodeId(a)}t(Ct,"resolveNodeId");function St(){return v.build()}t(St,"getWardleyData");function Mt(){v.clear(),N()}t(Mt,"clear");var Ft={getConfig:pt,addNode:ht,addLink:ft,addTrend:xt,addAnnotation:gt,addNote:yt,addAccelerator:ut,addDeaccelerator:wt,setAnnotationsBox:mt,setSize:kt,startPipeline:bt,addPipelineComponent:$t,updateAxes:vt,getNode:Pt,resolveNodeId:Ct,getWardleyData:St,clear:Mt,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},Rt=["Genesis","Custom Built","Product","Commodity"],Ot=t(()=>{let{themeVariables:a}=d();return{backgroundColor:a.wardley?.backgroundColor??a.background??"#fff",axisColor:a.wardley?.axisColor??"#000",axisTextColor:a.wardley?.axisTextColor??a.primaryTextColor??"#222",gridColor:a.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:a.wardley?.componentFill??"#fff",componentStroke:a.wardley?.componentStroke??"#000",componentLabelColor:a.wardley?.componentLabelColor??a.primaryTextColor??"#222",linkStroke:a.wardley?.linkStroke??"#000",evolutionStroke:a.wardley?.evolutionStroke??"#dc3545",annotationStroke:a.wardley?.annotationStroke??"#000",annotationTextColor:a.wardley?.annotationTextColor??a.primaryTextColor??"#222",annotationFill:a.wardley?.annotationFill??a.background??"#fff"}},"getTheme"),Dt=t(()=>{let a=d()["wardley-beta"];return{width:a?.width??900,height:a?.height??600,padding:a?.padding??48,nodeRadius:a?.nodeRadius??6,nodeLabelOffset:a?.nodeLabelOffset??8,axisFontSize:a?.axisFontSize??12,labelFontSize:a?.labelFontSize??10,showGrid:a?.showGrid??!1,useMaxWidth:a?.useMaxWidth??!0}},"getConfigValues"),Gt=t((a,s,o,y)=>{i.debug(`Rendering Wardley map
2
- `+a);let r=Dt(),p=Ot(),k=r.nodeRadius*1.6,T=y.db,w=T.getWardleyData(),K=T.getDiagramTitle(),X=w.size?.width??r.width,C=w.size?.height??r.height,j=J(s);j.selectAll("*").remove(),W(j,C,X,r.useMaxWidth),j.attr("viewBox",`0 0 ${X} ${C}`);let z=j.append("g").attr("class","wardley-map"),rt=j.append("defs");rt.append("marker").attr("id",`arrow-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.evolutionStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-end-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.linkStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-start-${s}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",p.linkStroke).attr("stroke","none"),z.append("rect").attr("class","wardley-background").attr("width",X).attr("height",C).attr("fill",p.backgroundColor);let V=X-r.padding*2,_=C-r.padding*2;if(K)z.append("text").attr("class","wardley-title").attr("x",X/2).attr("y",r.padding/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(K);let Y=t((e)=>r.padding+e/100*V,"projectX"),B=t((e)=>C-r.padding-e/100*_,"projectY"),Q=z.append("g").attr("class","wardley-axes");Q.append("line").attr("x1",r.padding).attr("x2",X-r.padding).attr("y1",C-r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1),Q.append("line").attr("x1",r.padding).attr("x2",r.padding).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1);let Nt=w.axes.xLabel??"Evolution",zt=w.axes.yLabel??"Visibility";Q.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",r.padding+V/2).attr("y",C-r.padding/4).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(Nt),Q.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",r.padding/3).attr("y",r.padding+_/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${r.padding/3} ${r.padding+_/2})`).text(zt);let U=w.axes.stages&&w.axes.stages.length>0?w.axes.stages:Rt;if(U.length>0){let e=z.append("g").attr("class","wardley-stages"),l=w.axes.stageBoundaries,n=[];if(l&&l.length===U.length){let c=0;l.forEach((f)=>{n.push({start:c,end:f}),c=f})}else{let c=1/U.length;U.forEach((f,x)=>{n.push({start:x*c,end:(x+1)*c})})}U.forEach((c,f)=>{let x=n[f],u=r.padding+x.start*V,g=r.padding+x.end*V,m=(u+g)/2;if(f>0)e.append("line").attr("x1",u).attr("x2",u).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",0.8);e.append("text").attr("class","wardley-stage-label").attr("x",m).attr("y",C-r.padding/1.5).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize-2).attr("text-anchor","middle").text(c)})}if(r.showGrid){let e=z.append("g").attr("class","wardley-grid");for(let l=1;l<4;l++){let n=l/4,c=r.padding+V*n;e.append("line").attr("x1",c).attr("x2",c).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6"),e.append("line").attr("x1",r.padding).attr("x2",X-r.padding).attr("y1",C-r.padding-_*n).attr("y2",C-r.padding-_*n).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6")}}let h=new Map;if(w.nodes.forEach((e)=>{h.set(e.id,{x:Y(e.x),y:B(e.y),node:e})}),w.pipelines.length>0){let e=z.append("g").attr("class","wardley-pipelines"),l=z.append("g").attr("class","wardley-pipeline-links");w.pipelines.forEach((n)=>{if(n.componentIds.length===0)return;let c=n.componentIds.map((g)=>({id:g,pos:h.get(g),node:w.nodes.find((m)=>m.id===g)})).filter((g)=>g.pos&&g.node).sort((g,m)=>g.node.x-m.node.x);for(let g=0;g<c.length-1;g++){let m=c[g],b=c[g+1];l.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",m.pos.x).attr("y1",m.pos.y).attr("x2",b.pos.x).attr("y2",b.pos.y).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let f=1/0,x=-1/0,u=0;if(n.componentIds.forEach((g)=>{let m=h.get(g);if(m)f=Math.min(f,m.x),x=Math.max(x,m.x),u=m.y}),f!==1/0&&x!==-1/0){let m=r.nodeRadius*4,b=u-m/2,L=h.get(n.nodeId);if(L){let H=(f+x)/2;L.x=H,L.y=b-k/6}e.append("rect").attr("class","wardley-pipeline-box").attr("x",f-15).attr("y",b).attr("width",x-f+30).attr("height",m).attr("fill","none").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let st=z.append("g").attr("class","wardley-links"),it=new Map;w.pipelines.forEach((e)=>{it.set(e.nodeId,new Set(e.componentIds))});let dt=w.links.filter((e)=>{if(!h.has(e.source)||!h.has(e.target))return!1;if(it.get(e.target)?.has(e.source))return!1;return!0});st.selectAll("line").data(dt).enter().append("line").attr("class",(e)=>`wardley-link${e.dashed?" wardley-link--dashed":""}`).attr("x1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.x+x/g*f}).attr("y1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.y+u/g*f}).attr("x2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.x+x/g*f}).attr("y2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.y+u/g*f}).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",(e)=>e.dashed?"6 6":null).attr("marker-end",(e)=>{if(e.flow==="forward"||e.flow==="bidirectional")return`url(#link-arrow-end-${s})`;return null}).attr("marker-start",(e)=>{if(e.flow==="backward"||e.flow==="bidirectional")return`url(#link-arrow-start-${s})`;return null}),st.selectAll("text").data(dt.filter((e)=>e.label)).enter().append("text").attr("class","wardley-link-label").attr("x",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=n.y-l.y,x=n.x-l.x,u=Math.sqrt(x*x+f*f),g=8,m=f/u;return c+m*8}).attr("y",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.y+n.y)/2,f=n.x-l.x,x=n.y-l.y,u=Math.sqrt(f*f+x*x),g=8,m=-f/u;return c+m*8}).attr("fill",p.axisTextColor).attr("font-size",r.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=(l.y+n.y)/2,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u),m=8,b=u/g,L=-x/g,H=c+b*8,tt=f+L*8,q=Math.atan2(u,x)*180/Math.PI;if(q>90||q<-90)q+=180;return`rotate(${q} ${H} ${tt})`}).text((e)=>e.label);let Lt=z.append("g").attr("class","wardley-trends"),Tt=w.trends.map((e)=>{let l=h.get(e.nodeId);if(!l)return null;let n=Y(e.targetX),c=B(e.targetY),f=n-l.x,x=c-l.y,u=Math.sqrt(f*f+x*x),g=r.nodeRadius+2,m=u>g?n-f/u*g:n,b=u>g?c-x/u*g:c;return{origin:l,targetX:n,targetY:c,adjustedX2:m,adjustedY2:b}}).filter((e)=>e!==null);Lt.selectAll("line").data(Tt).enter().append("line").attr("class","wardley-trend").attr("x1",(e)=>e.origin.x).attr("y1",(e)=>e.origin.y).attr("x2",(e)=>e.adjustedX2).attr("y2",(e)=>e.adjustedY2).attr("stroke",p.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${s})`);let E=z.append("g").attr("class","wardley-nodes").selectAll("g").data(w.nodes).enter().append("g").attr("class",(e)=>["wardley-node",e.className?`wardley-node--${e.className}`:""].filter(Boolean).join(" "));E.filter((e)=>e.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#666").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#ccc").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let F=E.filter((e)=>e.sourceStrategy==="market");F.append("circle").attr("class","wardley-market-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>!e.isPipelineParent&&e.sourceStrategy!=="market"&&e.className!=="anchor").append("circle").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1);let ot=r.nodeRadius*0.7,S=r.nodeRadius*1.2;if(F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x).attr("y1",(e)=>h.get(e.id).y-S).attr("x2",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x).attr("y2",(e)=>h.get(e.id).y-S).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y-S).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),E.filter((e)=>e.isPipelineParent===!0).append("rect").attr("x",(e)=>h.get(e.id).x-k/2).attr("y",(e)=>h.get(e.id).y-k/2).attr("width",k).attr("height",k).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y-n/2}).attr("x2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y+n/2}).attr("stroke",p.componentStroke).attr("stroke-width",6),E.append("text").attr("x",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetX!==void 0?l.x+e.labelOffsetX:l.x;let n=r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetX===void 0)n+=10;let c=e.labelOffsetX??n;return l.x+c}).attr("y",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetY!==void 0?l.y+e.labelOffsetY:l.y-3;let n=-r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetY===void 0)n-=10;let c=e.labelOffsetY??n;return l.y+c}).attr("class","wardley-node-label").attr("fill",(e)=>{if(e.className==="evolved")return p.evolutionStroke;if(e.className==="anchor")return"#000";return p.componentLabelColor}).attr("font-size",r.labelFontSize).attr("font-weight",(e)=>e.className==="anchor"?"bold":"normal").attr("text-anchor",(e)=>e.className==="anchor"?"middle":"start").attr("dominant-baseline",(e)=>e.className==="anchor"?"middle":"auto").text((e)=>e.label),w.annotations.length>0){let e=z.append("g").attr("class","wardley-annotations");if(w.annotations.forEach((l)=>{let n=l.coordinates.map((c)=>({x:Y(c.x),y:B(c.y)}));if(n.length>1)for(let c=0;c<n.length-1;c++)e.append("line").attr("class","wardley-annotation-line").attr("x1",n[c].x).attr("y1",n[c].y).attr("x2",n[c+1].x).attr("y2",n[c+1].y).attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach((c)=>{let f=e.append("g").attr("class","wardley-annotation");f.append("circle").attr("cx",c.x).attr("cy",c.y).attr("r",10).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5),f.append("text").attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.number)})}),w.annotationsBox){let l=Y(w.annotationsBox.x),n=B(w.annotationsBox.y),c=10,f=16,x=11,u=e.append("g").attr("class","wardley-annotations-box"),g=[...w.annotations].filter((b)=>b.text).sort((b,L)=>b.number-L.number),m=[];if(g.forEach((b,L)=>{let H=u.append("text").attr("x",l+c).attr("y",n+c+(L+1)*f).attr("font-size",x).attr("fill",p.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${b.number}. ${b.text}`);m.push(H)}),m.length>0){let b=0,L=0;m.forEach((nt)=>{let et=nt.node(),Et=et.getComputedTextLength();b=Math.max(b,Et);let Ht=et.getBBox();L=Math.max(L,Ht.height)});let H=b+c*2+105,tt=g.length*f+c*2+L/2,q=r.padding,Wt=X-r.padding-H,At=r.padding,Xt=C-r.padding-tt;l=Math.max(q,Math.min(l,Wt)),n=Math.max(At,Math.min(n,Xt)),m.forEach((nt,et)=>{nt.attr("x",l+c).attr("y",n+c+(et+1)*f)}),u.insert("rect","text").attr("x",l).attr("y",n).attr("width",H).attr("height",tt).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(w.notes.length>0){let e=z.append("g").attr("class","wardley-notes");w.notes.forEach((l)=>{let n=Y(l.x),c=B(l.y);e.append("text").attr("x",n).attr("y",c).attr("text-anchor","start").attr("font-size",11).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.text)})}if(w.accelerators.length>0){let e=z.append("g").attr("class","wardley-accelerators");w.accelerators.forEach((l)=>{let n=Y(l.x),c=B(l.y),f=60,x=30,u=20,g=`
3
- M ${n} ${c-15}
4
- L ${n+60-20} ${c-15}
5
- L ${n+60-20} ${c-15-8}
6
- L ${n+60} ${c}
7
- L ${n+60-20} ${c+15+8}
8
- L ${n+60-20} ${c+15}
9
- L ${n} ${c+15}
10
- Z
11
- `;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}if(w.deaccelerators.length>0){let e=z.append("g").attr("class","wardley-deaccelerators");w.deaccelerators.forEach((l)=>{let n=Y(l.x),c=B(l.y),f=60,x=30,u=20,g=`
12
- M ${n+60} ${c-15}
13
- L ${n+20} ${c-15}
14
- L ${n+20} ${c-15-8}
15
- L ${n} ${c}
16
- L ${n+20} ${c+15+8}
17
- L ${n+20} ${c+15}
18
- L ${n+60} ${c+15}
19
- Z
20
- `;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}},"draw"),qt={draw:Gt},jt=t(({wardley:a}={})=>{let s=Qe(),o=A(),y=Z(s,o.themeVariables),r=Z(y.wardley,a);return`
21
- .wardley-background {
22
- fill: ${r.backgroundColor};
23
- }
24
- .wardley-axes line, .wardley-axes path {
25
- stroke: ${r.axisColor};
26
- }
27
- .wardley-axis-label {
28
- fill: ${r.axisTextColor};
29
- }
30
- .wardley-stage-label {
31
- fill: ${r.axisTextColor};
32
- }
33
- .wardley-grid line {
34
- stroke: ${r.gridColor};
35
- }
36
- .wardley-node circle {
37
- fill: ${r.componentFill};
38
- stroke: ${r.componentStroke};
39
- }
40
- .wardley-node-label {
41
- fill: ${r.componentLabelColor};
42
- }
43
- .wardley-link {
44
- stroke: ${r.linkStroke};
45
- }
46
- .wardley-link--dashed {
47
- stroke-dasharray: 4 4;
48
- }
49
- .wardley-link-label {
50
- fill: ${r.axisTextColor};
51
- }
52
- .wardley-trend line {
53
- stroke: ${r.evolutionStroke};
54
- }
55
- .wardley-annotation-line {
56
- stroke: ${r.annotationStroke};
57
- }
58
- .wardley-annotation circle {
59
- fill: ${r.annotationFill};
60
- stroke: ${r.annotationStroke};
61
- }
62
- .wardley-annotation text {
63
- fill: ${r.annotationTextColor};
64
- }
65
- .wardley-annotations-box rect {
66
- fill: ${r.annotationFill};
67
- stroke: ${r.annotationStroke};
68
- }
69
- .wardley-annotations-box text {
70
- fill: ${r.annotationTextColor};
71
- }
72
- .wardley-pipeline-box {
73
- stroke: ${r.componentStroke};
74
- }
75
- .wardley-notes text {
76
- fill: ${r.axisTextColor};
77
- }
78
- `},"styles"),ee={parser:ct,db:Ft,renderer:qt,styles:jt};export{ee as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Ps}from"./chunk-wh028xj6.js";export{Ps as createGitGraphServices};
@@ -1,2 +0,0 @@
1
- �$�import{Ps}from"./chunk-wh028xj6.js";export{Ps as createGitGraphServices};
2
- 
Binary file