@bkm016/basalt 0.1.19 → 0.1.20
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.
- package/chunk-0bgg0hdd.js +2 -0
- package/chunk-0g8rtf05.js +18 -0
- package/chunk-0wwd4q6h.js +5 -0
- package/chunk-11xxfc0x.js +3 -0
- package/chunk-1gaj43fx.js +2 -0
- package/chunk-1tbv5t08.js +5 -0
- package/chunk-204c01mz.js +25 -0
- package/chunk-29g01nrz.js +20 -0
- package/chunk-2fts9k52.js +3 -0
- package/chunk-30bbdzma.js +16 -0
- package/chunk-3phf8eg6.js +3 -0
- package/chunk-3r38vbt5.js +2 -0
- package/chunk-3sg32v3n.js +2 -0
- package/chunk-4dgqcp6q.js +2 -0
- package/chunk-4fbj3k59.js +3 -0
- package/chunk-4wc2gbhe.js +2 -0
- package/chunk-51pfvmhh.js +470 -0
- package/chunk-5e7yegea.js +2 -0
- package/chunk-5ja0vsam.js +10 -0
- package/chunk-5tsfqsmf.js +2 -0
- package/chunk-6en06hkk.js +2 -0
- package/chunk-6hatfwsq.js +2 -0
- package/chunk-78ky455y.js +4 -0
- package/chunk-7kz9435k.js +11 -0
- package/chunk-8mqaq042.js +2 -0
- package/chunk-9qzyn98b.js +3 -0
- package/chunk-a1vdrgsh.js +59 -0
- package/chunk-a2z1cy84.js +2 -0
- package/chunk-a3fpx924.js +3 -0
- package/chunk-agb771ak.js +3 -0
- package/chunk-ak9rkrf3.js +5 -0
- package/chunk-as2mwf79.js +2 -0
- package/chunk-bkhsva5n.js +7 -0
- package/chunk-c5pg2875.js +3552 -0
- package/chunk-cks36jdh.js +8 -0
- package/chunk-cwrf78vs.js +3 -0
- package/chunk-d2f0hq8z.js +2 -0
- package/chunk-e0ytnnwt.js +3 -0
- package/chunk-e3bgzeb3.js +3 -0
- package/chunk-enmrpjpt.js +3 -0
- package/chunk-eps1epfr.js +4 -0
- package/chunk-ewr51fwc.js +3 -0
- package/chunk-eyyxqb6y.js +7 -0
- package/chunk-fgjw0r6g.js +12 -0
- package/chunk-g9hsrrj5.js +2 -0
- package/chunk-gg3kfa12.js +3 -0
- package/chunk-gpceyezp.js +2 -0
- package/chunk-gs5aebwh.js +2 -0
- package/chunk-h2pp8mnh.js +4 -0
- package/chunk-h4n0gg11.js +2 -0
- package/chunk-jzya0e5n.js +7 -0
- package/chunk-mde2dd79.js +2 -0
- package/chunk-ncb0tyaw.js +2 -0
- package/chunk-np2xnt1g.js +3 -0
- package/chunk-nszq2z0w.js +2 -0
- package/chunk-p0e82mee.js +3 -0
- package/chunk-qxpx8dn6.js +12 -0
- package/chunk-s819vmwh.js +3 -0
- package/chunk-s8m4svhf.js +3 -0
- package/chunk-sm9fpy18.js +390 -0
- package/chunk-svx7mz0w.js +25 -0
- package/chunk-tb3zsqe8.js +3 -0
- package/chunk-tp885r8h.js +39 -0
- package/chunk-tpeg9fkd.js +2 -0
- package/chunk-tpetsqzt.js +9 -0
- package/chunk-v0mw006s.js +15 -0
- package/chunk-v7da0aqn.js +7 -0
- package/chunk-vzrmdaba.js +2 -0
- package/chunk-w045zk55.js +2 -0
- package/chunk-w6nc3jn7.js +2 -0
- package/chunk-w9fdcchk.js +3 -0
- package/chunk-wj09qkyw.js +3 -0
- package/chunk-x1y4s01x.js +31 -0
- package/chunk-y3vap4a1.js +10 -0
- package/chunk-y83tnkr3.js +11 -0
- package/chunk-yk29stq0.js +5 -0
- package/chunk-ys2fds2x.js +3 -0
- package/chunk-yshdvnsp.js +2 -0
- package/chunk-z9p2ry9w.js +3 -0
- package/chunk-zkjnt298.js +3 -0
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +35 -35
- package/web/chunk-08w40agf.js +34 -0
- package/web/chunk-08w40agf.js.br +0 -0
- package/web/chunk-08w40agf.js.gz +0 -0
- package/web/chunk-0bfypmyv.js +1 -0
- package/web/chunk-0bfypmyv.js.br +2 -0
- package/web/chunk-0bfypmyv.js.gz +0 -0
- package/web/chunk-0h0whn75.js +24 -0
- package/web/chunk-0h0whn75.js.br +0 -0
- package/web/chunk-0h0whn75.js.gz +0 -0
- package/web/chunk-0pzs9k06.js +1 -0
- package/web/chunk-0pzs9k06.js.br +0 -0
- package/web/chunk-0pzs9k06.js.gz +0 -0
- package/web/chunk-0rvx1z2b.js +1 -0
- package/web/chunk-0rvx1z2b.js.br +0 -0
- package/web/chunk-0rvx1z2b.js.gz +0 -0
- package/web/chunk-0tcmnvab.js +2 -0
- package/web/chunk-0tcmnvab.js.br +0 -0
- package/web/chunk-0tcmnvab.js.gz +0 -0
- package/web/chunk-0wqmwnd8.js +2 -0
- package/web/chunk-0wqmwnd8.js.br +0 -0
- package/web/chunk-0wqmwnd8.js.gz +0 -0
- package/web/chunk-0z10aqp1.js +2 -0
- package/web/chunk-0z10aqp1.js.br +0 -0
- package/web/chunk-0z10aqp1.js.gz +0 -0
- package/web/chunk-12vcrj7y.js +1 -0
- package/web/chunk-12vcrj7y.js.br +0 -0
- package/web/chunk-12vcrj7y.js.gz +0 -0
- package/web/chunk-186rp10x.js +62 -0
- package/web/chunk-186rp10x.js.br +0 -0
- package/web/chunk-186rp10x.js.gz +0 -0
- package/web/chunk-1cwyy3gh.js +2 -0
- package/web/chunk-1cwyy3gh.js.br +0 -0
- package/web/chunk-1cwyy3gh.js.gz +0 -0
- package/web/chunk-1ecsxh85.js +1 -0
- package/web/chunk-1ecsxh85.js.br +0 -0
- package/web/chunk-1ecsxh85.js.gz +0 -0
- package/web/chunk-1ghnag5v.js +2 -0
- package/web/chunk-1ghnag5v.js.br +0 -0
- package/web/chunk-1ghnag5v.js.gz +0 -0
- package/web/chunk-1ps9fj5n.js +2 -0
- package/web/chunk-1ps9fj5n.js.br +0 -0
- package/web/chunk-1ps9fj5n.js.gz +0 -0
- package/web/chunk-1ratg1jd.js +332 -0
- package/web/chunk-1ratg1jd.js.br +0 -0
- package/web/chunk-1ratg1jd.js.gz +0 -0
- package/web/chunk-1yvcxpp2.js +7 -0
- package/web/chunk-1yvcxpp2.js.br +0 -0
- package/web/chunk-1yvcxpp2.js.gz +0 -0
- package/web/chunk-2r3w0pt0.js +8 -0
- package/web/chunk-2r3w0pt0.js.br +0 -0
- package/web/chunk-2r3w0pt0.js.gz +0 -0
- package/web/chunk-2rnnvxa5.js +291 -0
- package/web/chunk-2rnnvxa5.js.br +0 -0
- package/web/chunk-2rnnvxa5.js.gz +0 -0
- package/web/chunk-2stffcvc.js +1 -0
- package/web/chunk-2stffcvc.js.br +0 -0
- package/web/chunk-2stffcvc.js.gz +0 -0
- package/web/chunk-2svqgkqw.js +1 -0
- package/web/chunk-2svqgkqw.js.br +0 -0
- package/web/chunk-2svqgkqw.js.gz +0 -0
- package/web/chunk-366a11ec.js +1 -0
- package/web/chunk-366a11ec.js.br +0 -0
- package/web/chunk-366a11ec.js.gz +0 -0
- package/web/chunk-37hmswdk.js +7 -0
- package/web/chunk-37hmswdk.js.br +0 -0
- package/web/chunk-37hmswdk.js.gz +0 -0
- package/web/chunk-3fd6mgf0.js +1 -0
- package/web/chunk-3fd6mgf0.js.br +0 -0
- package/web/chunk-3fd6mgf0.js.gz +0 -0
- package/web/chunk-4mypk63p.js +2 -0
- package/web/chunk-4mypk63p.js.br +0 -0
- package/web/chunk-4mypk63p.js.gz +0 -0
- package/web/chunk-52tt9qt4.js +2 -0
- package/web/chunk-52tt9qt4.js.br +0 -0
- package/web/chunk-52tt9qt4.js.gz +0 -0
- package/web/chunk-53cg6pxm.js +142 -0
- package/web/chunk-53cg6pxm.js.br +0 -0
- package/web/chunk-53cg6pxm.js.gz +0 -0
- package/web/chunk-59h87pvn.js +12 -0
- package/web/chunk-59h87pvn.js.br +0 -0
- package/web/chunk-59h87pvn.js.gz +0 -0
- package/web/chunk-5cp4n5ck.js +2 -0
- package/web/chunk-5cp4n5ck.js.br +0 -0
- package/web/chunk-5cp4n5ck.js.gz +0 -0
- package/web/chunk-6a3wt5c5.js +30 -0
- package/web/chunk-6a3wt5c5.js.br +0 -0
- package/web/chunk-6a3wt5c5.js.gz +0 -0
- package/web/chunk-6n1ha6ta.js +7 -0
- package/web/chunk-6n1ha6ta.js.br +0 -0
- package/web/chunk-6n1ha6ta.js.gz +0 -0
- package/web/chunk-6pbhqbv0.js +1 -0
- package/web/chunk-6pbhqbv0.js.br +0 -0
- package/web/chunk-6pbhqbv0.js.gz +0 -0
- package/web/chunk-72st75n7.js +70 -0
- package/web/chunk-72st75n7.js.br +0 -0
- package/web/chunk-72st75n7.js.gz +0 -0
- package/web/chunk-7cf1kk45.js +1 -0
- package/web/chunk-7cf1kk45.js.br +2 -0
- package/web/chunk-7cf1kk45.js.gz +0 -0
- package/web/chunk-7h59ac2b.js +38 -0
- package/web/chunk-7h59ac2b.js.br +0 -0
- package/web/chunk-7h59ac2b.js.gz +0 -0
- package/web/chunk-81xbfpbq.js +41 -0
- package/web/chunk-81xbfpbq.js.br +0 -0
- package/web/chunk-81xbfpbq.js.gz +0 -0
- package/web/chunk-82q4e8ff.js +1 -0
- package/web/chunk-82q4e8ff.js.br +0 -0
- package/web/chunk-82q4e8ff.js.gz +0 -0
- package/web/chunk-89crtpnw.js +1 -0
- package/web/chunk-89crtpnw.js.br +0 -0
- package/web/chunk-89crtpnw.js.gz +0 -0
- package/web/chunk-89e8629e.js +1 -0
- package/web/chunk-89e8629e.js.br +0 -0
- package/web/chunk-89e8629e.js.gz +0 -0
- package/web/chunk-9n1nsdqs.js +1 -0
- package/web/chunk-9n1nsdqs.js.br +0 -0
- package/web/chunk-9n1nsdqs.js.gz +0 -0
- package/web/chunk-9r7nbre7.js +2 -0
- package/web/chunk-9r7nbre7.js.br +0 -0
- package/web/chunk-9r7nbre7.js.gz +0 -0
- package/web/chunk-9y9nwaqj.js +1 -0
- package/web/chunk-9y9nwaqj.js.br +0 -0
- package/web/chunk-9y9nwaqj.js.gz +0 -0
- package/web/chunk-a8qe7kvz.js +1 -0
- package/web/chunk-a8qe7kvz.js.br +0 -0
- package/web/chunk-a8qe7kvz.js.gz +0 -0
- package/web/chunk-ahdca62g.js +1 -0
- package/web/chunk-ahdca62g.js.br +0 -0
- package/web/chunk-ahdca62g.js.gz +0 -0
- package/web/chunk-apr33amc.js +140 -0
- package/web/chunk-apr33amc.js.br +0 -0
- package/web/chunk-apr33amc.js.gz +0 -0
- package/web/chunk-aw9bwd4w.js +3 -0
- package/web/chunk-aw9bwd4w.js.br +0 -0
- package/web/chunk-aw9bwd4w.js.gz +0 -0
- package/web/chunk-bg0qgabv.js +1 -0
- package/web/chunk-bg0qgabv.js.br +0 -0
- package/web/chunk-bg0qgabv.js.gz +0 -0
- package/web/chunk-bks2k04k.js +2 -0
- package/web/chunk-bks2k04k.js.br +0 -0
- package/web/chunk-bks2k04k.js.gz +0 -0
- package/web/chunk-c28crzwk.js +120 -0
- package/web/chunk-c28crzwk.js.br +0 -0
- package/web/chunk-c28crzwk.js.gz +0 -0
- package/web/chunk-cmhxtckb.js +2 -0
- package/web/chunk-cmhxtckb.js.br +0 -0
- package/web/chunk-cmhxtckb.js.gz +0 -0
- package/web/chunk-d7f85w1y.js +1 -0
- package/web/chunk-d7f85w1y.js.br +0 -0
- package/web/chunk-d7f85w1y.js.gz +0 -0
- package/web/chunk-dmhezjv3.js +217 -0
- package/web/chunk-dmhezjv3.js.br +0 -0
- package/web/chunk-dmhezjv3.js.gz +0 -0
- package/web/chunk-dmzvhbpn.js +292 -0
- package/web/chunk-dmzvhbpn.js.br +0 -0
- package/web/chunk-dmzvhbpn.js.gz +0 -0
- package/web/chunk-e2z3kdhw.js +39 -0
- package/web/chunk-e2z3kdhw.js.br +0 -0
- package/web/chunk-e2z3kdhw.js.gz +0 -0
- package/web/chunk-e65y60v1.js +2 -0
- package/web/chunk-e65y60v1.js.br +0 -0
- package/web/chunk-e65y60v1.js.gz +0 -0
- package/web/chunk-ed8qqn45.js +2 -0
- package/web/chunk-ed8qqn45.js.br +0 -0
- package/web/chunk-ed8qqn45.js.gz +0 -0
- package/web/chunk-ef1h0tt7.js +2 -0
- package/web/chunk-ef1h0tt7.js.br +0 -0
- package/web/chunk-ef1h0tt7.js.gz +0 -0
- package/web/chunk-eqmghkwh.js +1 -0
- package/web/chunk-eqmghkwh.js.br +0 -0
- package/web/chunk-eqmghkwh.js.gz +0 -0
- package/web/chunk-esckazz2.js +1 -0
- package/web/chunk-esckazz2.js.br +0 -0
- package/web/chunk-esckazz2.js.gz +0 -0
- package/web/chunk-ezj5rjqr.js +4 -0
- package/web/chunk-ezj5rjqr.js.br +0 -0
- package/web/chunk-ezj5rjqr.js.gz +0 -0
- package/web/chunk-fjrgg82c.js +139 -0
- package/web/chunk-fjrgg82c.js.br +0 -0
- package/web/chunk-fjrgg82c.js.gz +0 -0
- package/web/chunk-g3vbtxgy.js +2 -0
- package/web/chunk-g3vbtxgy.js.br +0 -0
- package/web/chunk-g3vbtxgy.js.gz +0 -0
- package/web/chunk-gbcf0rdk.js +1 -0
- package/web/chunk-gbcf0rdk.js.br +0 -0
- package/web/chunk-gbcf0rdk.js.gz +0 -0
- package/web/chunk-gj6bdv1y.js +200 -0
- package/web/chunk-gj6bdv1y.js.br +0 -0
- package/web/chunk-gj6bdv1y.js.gz +0 -0
- package/web/chunk-gk1bc3c3.js +2 -0
- package/web/chunk-gk1bc3c3.js.br +0 -0
- package/web/chunk-gk1bc3c3.js.gz +0 -0
- package/web/chunk-gpjytpyw.js +2 -0
- package/web/chunk-gpjytpyw.js.br +0 -0
- package/web/chunk-gpjytpyw.js.gz +0 -0
- package/web/chunk-h1c0m3g4.js +99 -0
- package/web/chunk-h1c0m3g4.js.br +0 -0
- package/web/chunk-h1c0m3g4.js.gz +0 -0
- package/web/chunk-h1qv0cpd.css +1 -0
- package/web/chunk-h1qv0cpd.css.br +0 -0
- package/web/chunk-h1qv0cpd.css.gz +0 -0
- package/web/chunk-hj067dfg.js +1 -0
- package/web/chunk-hj067dfg.js.br +2 -0
- package/web/chunk-hj067dfg.js.gz +0 -0
- package/web/chunk-hq7e5xgd.js +1 -0
- package/web/chunk-hq7e5xgd.js.br +0 -0
- package/web/chunk-hq7e5xgd.js.gz +0 -0
- package/web/chunk-hqt1f3fm.js +24 -0
- package/web/chunk-hqt1f3fm.js.br +0 -0
- package/web/chunk-hqt1f3fm.js.gz +0 -0
- package/web/chunk-hwxj58j5.js +2 -0
- package/web/chunk-hwxj58j5.js.br +0 -0
- package/web/chunk-hwxj58j5.js.gz +0 -0
- package/web/chunk-hxzb25a8.js +1 -0
- package/web/chunk-hxzb25a8.js.br +0 -0
- package/web/chunk-hxzb25a8.js.gz +0 -0
- package/web/chunk-j4942vkb.js +1 -0
- package/web/chunk-j4942vkb.js.br +0 -0
- package/web/chunk-j4942vkb.js.gz +0 -0
- package/web/chunk-jmnzcm1f.js +21 -0
- package/web/chunk-jmnzcm1f.js.br +0 -0
- package/web/chunk-jmnzcm1f.js.gz +0 -0
- package/web/chunk-js940jjj.js +40 -0
- package/web/chunk-js940jjj.js.br +0 -0
- package/web/chunk-js940jjj.js.gz +0 -0
- package/web/chunk-jy9vkfbf.js +1 -0
- package/web/chunk-jy9vkfbf.js.br +0 -0
- package/web/chunk-jy9vkfbf.js.gz +0 -0
- package/web/chunk-k1d0y72z.js +2 -0
- package/web/chunk-k1d0y72z.js.br +0 -0
- package/web/chunk-k1d0y72z.js.gz +0 -0
- package/web/chunk-k4pknkvp.js +16 -0
- package/web/chunk-k4pknkvp.js.br +0 -0
- package/web/chunk-k4pknkvp.js.gz +0 -0
- package/web/chunk-k6fwzn0z.js +324 -0
- package/web/chunk-k6fwzn0z.js.br +0 -0
- package/web/chunk-k6fwzn0z.js.gz +0 -0
- package/web/chunk-kdegb6pd.js +169 -0
- package/web/chunk-kdegb6pd.js.br +0 -0
- package/web/chunk-kdegb6pd.js.gz +0 -0
- package/web/chunk-kedjfh66.js +2 -0
- package/web/chunk-kedjfh66.js.br +0 -0
- package/web/chunk-kedjfh66.js.gz +0 -0
- package/web/chunk-kh0xyffx.js +1 -0
- package/web/chunk-kh0xyffx.js.br +0 -0
- package/web/chunk-kh0xyffx.js.gz +0 -0
- package/web/chunk-ktvxgxsd.js +2 -0
- package/web/chunk-ktvxgxsd.js.br +0 -0
- package/web/chunk-ktvxgxsd.js.gz +0 -0
- package/web/chunk-mbpv2w5h.js +78 -0
- package/web/chunk-mbpv2w5h.js.br +0 -0
- package/web/chunk-mbpv2w5h.js.gz +0 -0
- package/web/chunk-mh3nkkpx.js +84 -0
- package/web/chunk-mh3nkkpx.js.br +0 -0
- package/web/chunk-mh3nkkpx.js.gz +0 -0
- package/web/chunk-mhzqgzh0.js +89 -0
- package/web/chunk-mhzqgzh0.js.br +0 -0
- package/web/chunk-mhzqgzh0.js.gz +0 -0
- package/web/chunk-mj8dzc8q.js +214 -0
- package/web/chunk-mj8dzc8q.js.br +0 -0
- package/web/chunk-mj8dzc8q.js.gz +0 -0
- package/web/chunk-mwfrxgbs.js +2 -0
- package/web/chunk-mwfrxgbs.js.br +0 -0
- package/web/chunk-mwfrxgbs.js.gz +0 -0
- package/web/chunk-n419cees.js +1 -0
- package/web/chunk-n419cees.js.br +0 -0
- package/web/chunk-n419cees.js.gz +0 -0
- package/web/chunk-n45fgfyt.js +1 -0
- package/web/chunk-n45fgfyt.js.br +2 -0
- package/web/chunk-n45fgfyt.js.gz +0 -0
- package/web/chunk-n5v71fas.js +2 -0
- package/web/chunk-n5v71fas.js.br +0 -0
- package/web/chunk-n5v71fas.js.gz +0 -0
- package/web/chunk-nb58m79v.js +89 -0
- package/web/chunk-nb58m79v.js.br +0 -0
- package/web/chunk-nb58m79v.js.gz +0 -0
- package/web/chunk-nsna2v2r.js +1 -0
- package/web/chunk-nsna2v2r.js.br +0 -0
- package/web/chunk-nsna2v2r.js.gz +0 -0
- package/web/chunk-nxdp58nf.js +1 -0
- package/web/chunk-nxdp58nf.js.br +0 -0
- package/web/chunk-nxdp58nf.js.gz +0 -0
- package/web/chunk-nytgs01h.js +1 -0
- package/web/chunk-nytgs01h.js.br +0 -0
- package/web/chunk-nytgs01h.js.gz +0 -0
- package/web/chunk-p76f6cf4.js +2 -0
- package/web/chunk-p76f6cf4.js.br +0 -0
- package/web/chunk-p76f6cf4.js.gz +0 -0
- package/web/chunk-pkxn54jm.js +1 -0
- package/web/chunk-pkxn54jm.js.br +0 -0
- package/web/chunk-pkxn54jm.js.gz +0 -0
- package/web/chunk-q0srq8g5.js +1 -0
- package/web/chunk-q0srq8g5.js.br +0 -0
- package/web/chunk-q0srq8g5.js.gz +0 -0
- package/web/chunk-qgtqwmkb.js +1 -0
- package/web/chunk-qgtqwmkb.js.br +2 -0
- package/web/chunk-qgtqwmkb.js.gz +0 -0
- package/web/chunk-qjg6dw46.js +1134 -0
- package/web/chunk-qjg6dw46.js.br +0 -0
- package/web/chunk-qjg6dw46.js.gz +0 -0
- package/web/chunk-qjjxevxe.js +1 -0
- package/web/chunk-qjjxevxe.js.br +0 -0
- package/web/chunk-qjjxevxe.js.gz +0 -0
- package/web/chunk-qx5ab39c.js +4 -0
- package/web/chunk-qx5ab39c.js.br +0 -0
- package/web/chunk-qx5ab39c.js.gz +0 -0
- package/web/chunk-qygjhm63.js +1 -0
- package/web/chunk-qygjhm63.js.br +0 -0
- package/web/chunk-qygjhm63.js.gz +0 -0
- package/web/chunk-recfg8af.js +2 -0
- package/web/chunk-recfg8af.js.br +0 -0
- package/web/chunk-recfg8af.js.gz +0 -0
- package/web/chunk-rfsg5rke.js +1 -0
- package/web/chunk-rfsg5rke.js.br +2 -0
- package/web/chunk-rfsg5rke.js.gz +0 -0
- package/web/chunk-s7h50avx.js +2 -0
- package/web/chunk-s7h50avx.js.br +0 -0
- package/web/chunk-s7h50avx.js.gz +0 -0
- package/web/chunk-sk47kk5j.js +1 -0
- package/web/chunk-sk47kk5j.js.br +0 -0
- package/web/chunk-sk47kk5j.js.gz +0 -0
- package/web/chunk-t9heac9a.js +2 -0
- package/web/chunk-t9heac9a.js.br +0 -0
- package/web/chunk-t9heac9a.js.gz +0 -0
- package/web/chunk-tg3f9xmp.js +1 -0
- package/web/chunk-tg3f9xmp.js.br +0 -0
- package/web/chunk-tg3f9xmp.js.gz +0 -0
- package/web/chunk-tgeeggkh.js +1 -0
- package/web/chunk-tgeeggkh.js.br +0 -0
- package/web/chunk-tgeeggkh.js.gz +0 -0
- package/web/chunk-v2bkkhb8.js +303 -0
- package/web/chunk-v2bkkhb8.js.br +0 -0
- package/web/chunk-v2bkkhb8.js.gz +0 -0
- package/web/chunk-v5p2fds9.js +36 -0
- package/web/chunk-v5p2fds9.js.br +0 -0
- package/web/chunk-v5p2fds9.js.gz +0 -0
- package/web/chunk-v6snw1sw.js +1 -0
- package/web/chunk-v6snw1sw.js.br +0 -0
- package/web/chunk-v6snw1sw.js.gz +0 -0
- package/web/chunk-veadbga2.js +1 -0
- package/web/chunk-veadbga2.js.br +2 -0
- package/web/chunk-veadbga2.js.gz +0 -0
- package/web/chunk-vh2prc6k.js +1 -0
- package/web/chunk-vh2prc6k.js.br +0 -0
- package/web/chunk-vh2prc6k.js.gz +0 -0
- package/web/chunk-vhpzp7zd.js +2 -0
- package/web/chunk-vhpzp7zd.js.br +0 -0
- package/web/chunk-vhpzp7zd.js.gz +0 -0
- package/web/chunk-vpbnyz43.js +98 -0
- package/web/chunk-vpbnyz43.js.br +0 -0
- package/web/chunk-vpbnyz43.js.gz +0 -0
- package/web/chunk-vxadngbp.js +2 -0
- package/web/chunk-vxadngbp.js.br +3 -0
- package/web/chunk-vxadngbp.js.gz +0 -0
- package/web/chunk-wa8wr2y9.js +106 -0
- package/web/chunk-wa8wr2y9.js.br +0 -0
- package/web/chunk-wa8wr2y9.js.gz +0 -0
- package/web/chunk-wbxz2bjb.js +1 -0
- package/web/chunk-wbxz2bjb.js.br +0 -0
- package/web/chunk-wbxz2bjb.js.gz +0 -0
- package/web/chunk-wgzatts8.js +1 -0
- package/web/chunk-wgzatts8.js.br +0 -0
- package/web/chunk-wgzatts8.js.gz +0 -0
- package/web/chunk-whczyxqw.js +1 -0
- package/web/chunk-whczyxqw.js.br +0 -0
- package/web/chunk-whczyxqw.js.gz +0 -0
- package/web/chunk-wmzz2crn.js +1 -0
- package/web/chunk-wmzz2crn.js.br +0 -0
- package/web/chunk-wmzz2crn.js.gz +0 -0
- package/web/chunk-wvqcbp4a.js +1 -0
- package/web/chunk-wvqcbp4a.js.br +0 -0
- package/web/chunk-wvqcbp4a.js.gz +0 -0
- package/web/chunk-wvvrdqgb.js +1 -0
- package/web/chunk-wvvrdqgb.js.br +2 -0
- package/web/chunk-wvvrdqgb.js.gz +0 -0
- package/web/chunk-x2hxq5yr.js +55 -0
- package/web/chunk-x2hxq5yr.js.br +0 -0
- package/web/chunk-x2hxq5yr.js.gz +0 -0
- package/web/chunk-x8bnp6vr.js +1 -0
- package/web/chunk-x8bnp6vr.js.br +0 -0
- package/web/chunk-x8bnp6vr.js.gz +0 -0
- package/web/chunk-xp9tdb5t.js +1 -0
- package/web/chunk-xp9tdb5t.js.br +2 -0
- package/web/chunk-xp9tdb5t.js.gz +0 -0
- package/web/chunk-xvmzsftt.js +2 -0
- package/web/chunk-xvmzsftt.js.br +0 -0
- package/web/chunk-xvmzsftt.js.gz +0 -0
- package/web/chunk-y10hsdq4.js +1 -0
- package/web/chunk-y10hsdq4.js.br +0 -0
- package/web/chunk-y10hsdq4.js.gz +0 -0
- package/web/chunk-ye7vge7s.js +1 -0
- package/web/chunk-ye7vge7s.js.br +0 -0
- package/web/chunk-ye7vge7s.js.gz +0 -0
- package/web/chunk-zbzgd8kn.js +2 -0
- package/web/chunk-zbzgd8kn.js.br +0 -0
- package/web/chunk-zbzgd8kn.js.gz +0 -0
- package/web/chunk-zhwqscat.js +1 -0
- package/web/chunk-zhwqscat.js.br +0 -0
- package/web/chunk-zhwqscat.js.gz +0 -0
- package/web/chunk-znrsm604.js +370 -0
- package/web/chunk-znrsm604.js.br +0 -0
- package/web/chunk-znrsm604.js.gz +0 -0
- package/web/chunk-zthww0ws.js +1 -0
- package/web/chunk-zthww0ws.js.br +0 -0
- package/web/chunk-zthww0ws.js.gz +0 -0
- package/web/index.html +3 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-13pbt8mn.js +0 -2
- package/chunk-14085qqt.js +0 -8
- package/chunk-2dph65ye.js +0 -3
- package/chunk-2v8anxgd.js +0 -9
- package/chunk-37f4ks5f.js +0 -3
- package/chunk-3q1hxwxb.js +0 -5
- package/chunk-3qs33s9g.js +0 -2
- package/chunk-53m94h0b.js +0 -7
- package/chunk-5jy2cnyr.js +0 -18
- package/chunk-5wfyn3k0.js +0 -3
- package/chunk-69v706tc.js +0 -5
- package/chunk-79h4rzza.js +0 -2
- package/chunk-7xfde6se.js +0 -3
- package/chunk-8bf4g2d7.js +0 -3
- package/chunk-adq8c7vt.js +0 -25
- package/chunk-ahpg469e.js +0 -3
- package/chunk-ary9gky8.js +0 -7
- package/chunk-becsymjn.js +0 -2
- package/chunk-beqps81c.js +0 -4
- package/chunk-bnvynyww.js +0 -3
- package/chunk-c785tr0e.js +0 -4078
- package/chunk-cc19pbgm.js +0 -12
- package/chunk-d6g5m56z.js +0 -2
- package/chunk-etkktxdc.js +0 -2
- package/chunk-etxsj2ey.js +0 -10
- package/chunk-f2ajxymw.js +0 -2
- package/chunk-f2bcfa6z.js +0 -7
- package/chunk-f47qdrkp.js +0 -2
- package/chunk-f5yg6yd0.js +0 -3
- package/chunk-fjk9ztjc.js +0 -11
- package/chunk-g99n5ywc.js +0 -3
- package/chunk-grwavjp7.js +0 -2
- package/chunk-gsek3gpd.js +0 -3
- package/chunk-gv9hbv9j.js +0 -2
- package/chunk-h045t6f1.js +0 -2
- package/chunk-h4g1tzk6.js +0 -11
- package/chunk-had2k7b9.js +0 -20
- package/chunk-hbm45044.js +0 -25
- package/chunk-hd2hars5.js +0 -3
- package/chunk-hfh230tm.js +0 -2
- package/chunk-hkx7d1j9.js +0 -7
- package/chunk-jbk2tmza.js +0 -5
- package/chunk-jv9sy0np.js +0 -2
- package/chunk-kdc8tq70.js +0 -2
- package/chunk-m1nevdw6.js +0 -3
- package/chunk-m6yrpt1f.js +0 -5
- package/chunk-mrchbvsy.js +0 -4
- package/chunk-n9x6akk3.js +0 -2
- package/chunk-ne94brn4.js +0 -3
- package/chunk-nv1jg79d.js +0 -2
- package/chunk-pvdt969t.js +0 -59
- package/chunk-q22dnah8.js +0 -3
- package/chunk-q2zayphb.js +0 -10
- package/chunk-q4h6djtp.js +0 -2
- package/chunk-qa8mne61.js +0 -2
- package/chunk-r9z9m75h.js +0 -16
- package/chunk-rmyzxqkd.js +0 -467
- package/chunk-rq647zmf.js +0 -2
- package/chunk-sj4jvm9p.js +0 -2
- package/chunk-sq0ra5m8.js +0 -4
- package/chunk-sxg03n4v.js +0 -2
- package/chunk-t0m1wjrn.js +0 -3
- package/chunk-td52edcm.js +0 -31
- package/chunk-tdnwaaw4.js +0 -12
- package/chunk-teky87xx.js +0 -3
- package/chunk-v1avwm7q.js +0 -3
- package/chunk-wcmk8ee3.js +0 -3
- package/chunk-wf9r0frb.js +0 -3
- package/chunk-wx697mre.js +0 -2
- package/chunk-wzz64ygm.js +0 -2
- package/chunk-xb9mwt5a.js +0 -2
- package/chunk-xbkbaa84.js +0 -2
- package/chunk-xjy31n64.js +0 -3
- package/chunk-xzn34n38.js +0 -389
- package/chunk-yprp5s5v.js +0 -3
- package/chunk-yyhdabhq.js +0 -15
- package/chunk-z2jp61ze.js +0 -39
- package/chunk-zt5szcek.js +0 -3
- package/chunk-zxb6cg3m.js +0 -2
- package/web/chunk-0ays2hhj.js +0 -41
- package/web/chunk-0ays2hhj.js.br +0 -0
- package/web/chunk-0ays2hhj.js.gz +0 -0
- package/web/chunk-0na4c1bp.js +0 -139
- package/web/chunk-0na4c1bp.js.br +0 -0
- package/web/chunk-0na4c1bp.js.gz +0 -0
- package/web/chunk-0y0p0ct0.js +0 -1
- package/web/chunk-0y0p0ct0.js.br +0 -0
- package/web/chunk-0y0p0ct0.js.gz +0 -0
- package/web/chunk-191v8amv.js +0 -1
- package/web/chunk-191v8amv.js.br +0 -0
- package/web/chunk-191v8amv.js.gz +0 -0
- package/web/chunk-1c6rhsft.js +0 -200
- package/web/chunk-1c6rhsft.js.br +0 -0
- package/web/chunk-1c6rhsft.js.gz +0 -0
- package/web/chunk-1mwkrh5f.js +0 -370
- package/web/chunk-1mwkrh5f.js.br +0 -0
- package/web/chunk-1mwkrh5f.js.gz +0 -0
- package/web/chunk-1q4r17he.js +0 -2
- package/web/chunk-1q4r17he.js.br +0 -0
- package/web/chunk-1q4r17he.js.gz +0 -0
- package/web/chunk-1sm3c8an.js +0 -8
- package/web/chunk-1sm3c8an.js.br +0 -0
- package/web/chunk-1sm3c8an.js.gz +0 -0
- package/web/chunk-1vmjpvy5.js +0 -1
- package/web/chunk-1vmjpvy5.js.br +0 -0
- package/web/chunk-1vmjpvy5.js.gz +0 -0
- package/web/chunk-1x4z5w5e.js +0 -1
- package/web/chunk-1x4z5w5e.js.br +0 -2
- package/web/chunk-1x4z5w5e.js.gz +0 -0
- package/web/chunk-22ncha3b.js +0 -142
- package/web/chunk-22ncha3b.js.br +0 -0
- package/web/chunk-22ncha3b.js.gz +0 -0
- package/web/chunk-239rqgmj.js +0 -24
- package/web/chunk-239rqgmj.js.br +0 -0
- package/web/chunk-239rqgmj.js.gz +0 -0
- package/web/chunk-2c6zessc.js +0 -2
- package/web/chunk-2c6zessc.js.br +0 -0
- package/web/chunk-2c6zessc.js.gz +0 -0
- package/web/chunk-2m7b1wmp.js +0 -1
- package/web/chunk-2m7b1wmp.js.br +0 -0
- package/web/chunk-2m7b1wmp.js.gz +0 -0
- package/web/chunk-2qncw4c0.js +0 -2
- package/web/chunk-2qncw4c0.js.br +0 -0
- package/web/chunk-2qncw4c0.js.gz +0 -0
- package/web/chunk-2r497559.js +0 -2
- package/web/chunk-2r497559.js.br +0 -0
- package/web/chunk-2r497559.js.gz +0 -0
- package/web/chunk-2t43cra8.js +0 -1
- package/web/chunk-2t43cra8.js.br +0 -0
- package/web/chunk-2t43cra8.js.gz +0 -0
- package/web/chunk-2v379e1v.js +0 -1
- package/web/chunk-2v379e1v.js.br +0 -2
- package/web/chunk-2v379e1v.js.gz +0 -0
- package/web/chunk-2ywd0vz2.js +0 -1
- package/web/chunk-2ywd0vz2.js.br +0 -0
- package/web/chunk-2ywd0vz2.js.gz +0 -0
- package/web/chunk-3626tdgf.js +0 -1
- package/web/chunk-3626tdgf.js.br +0 -0
- package/web/chunk-3626tdgf.js.gz +0 -0
- package/web/chunk-3fq54zbf.js +0 -2
- package/web/chunk-3fq54zbf.js.br +0 -0
- package/web/chunk-3fq54zbf.js.gz +0 -0
- package/web/chunk-3jptvn0z.js +0 -1
- package/web/chunk-3jptvn0z.js.br +0 -0
- package/web/chunk-3jptvn0z.js.gz +0 -0
- package/web/chunk-3k31m9yk.js +0 -7
- package/web/chunk-3k31m9yk.js.br +0 -0
- package/web/chunk-3k31m9yk.js.gz +0 -0
- package/web/chunk-3wrebqcz.js +0 -1
- package/web/chunk-3wrebqcz.js.br +0 -0
- package/web/chunk-3wrebqcz.js.gz +0 -0
- package/web/chunk-42z866aa.js +0 -1
- package/web/chunk-42z866aa.js.br +0 -0
- package/web/chunk-42z866aa.js.gz +0 -0
- package/web/chunk-46r5s1ag.js +0 -1
- package/web/chunk-46r5s1ag.js.br +0 -2
- package/web/chunk-46r5s1ag.js.gz +0 -0
- package/web/chunk-4h8kxmac.js +0 -1
- package/web/chunk-4h8kxmac.js.br +0 -2
- package/web/chunk-4h8kxmac.js.gz +0 -0
- package/web/chunk-4hmp8qcv.js +0 -1
- package/web/chunk-4hmp8qcv.js.br +0 -0
- package/web/chunk-4hmp8qcv.js.gz +0 -0
- package/web/chunk-4ryyn6k5.js +0 -1
- package/web/chunk-4ryyn6k5.js.br +0 -0
- package/web/chunk-4ryyn6k5.js.gz +0 -0
- package/web/chunk-4zp7b44y.js +0 -78
- package/web/chunk-4zp7b44y.js.br +0 -0
- package/web/chunk-4zp7b44y.js.gz +0 -0
- package/web/chunk-52n1enqe.js +0 -1
- package/web/chunk-52n1enqe.js.br +0 -0
- package/web/chunk-52n1enqe.js.gz +0 -0
- package/web/chunk-5m5jve5q.js +0 -2
- package/web/chunk-5m5jve5q.js.br +0 -0
- package/web/chunk-5m5jve5q.js.gz +0 -0
- package/web/chunk-62ssrwet.js +0 -1
- package/web/chunk-62ssrwet.js.br +0 -0
- package/web/chunk-62ssrwet.js.gz +0 -0
- package/web/chunk-6e14fdx8.js +0 -1
- package/web/chunk-6e14fdx8.js.br +0 -0
- package/web/chunk-6e14fdx8.js.gz +0 -0
- package/web/chunk-6kckk3j9.js +0 -1
- package/web/chunk-6kckk3j9.js.br +0 -2
- package/web/chunk-6kckk3j9.js.gz +0 -0
- package/web/chunk-6vdh5wx5.js +0 -1
- package/web/chunk-6vdh5wx5.js.br +0 -0
- package/web/chunk-6vdh5wx5.js.gz +0 -0
- package/web/chunk-6wyrfrh1.js +0 -1
- package/web/chunk-6wyrfrh1.js.br +0 -0
- package/web/chunk-6wyrfrh1.js.gz +0 -0
- package/web/chunk-77pcpdb5.js +0 -303
- package/web/chunk-77pcpdb5.js.br +0 -0
- package/web/chunk-77pcpdb5.js.gz +0 -0
- package/web/chunk-7dq3x88k.js +0 -120
- package/web/chunk-7dq3x88k.js.br +0 -0
- package/web/chunk-7dq3x88k.js.gz +0 -0
- package/web/chunk-7ebwmmjn.js +0 -34
- package/web/chunk-7ebwmmjn.js.br +0 -0
- package/web/chunk-7ebwmmjn.js.gz +0 -0
- package/web/chunk-7jra5kj0.js +0 -1
- package/web/chunk-7jra5kj0.js.br +0 -0
- package/web/chunk-7jra5kj0.js.gz +0 -0
- package/web/chunk-8dgtprxa.js +0 -2
- package/web/chunk-8dgtprxa.js.br +0 -0
- package/web/chunk-8dgtprxa.js.gz +0 -0
- package/web/chunk-8mrw5mgn.js +0 -1
- package/web/chunk-8mrw5mgn.js.br +0 -0
- package/web/chunk-8mrw5mgn.js.gz +0 -0
- package/web/chunk-8n1cyb8k.js +0 -99
- package/web/chunk-8n1cyb8k.js.br +0 -0
- package/web/chunk-8n1cyb8k.js.gz +0 -0
- package/web/chunk-8nxjthxc.js +0 -1
- package/web/chunk-8nxjthxc.js.br +0 -0
- package/web/chunk-8nxjthxc.js.gz +0 -0
- package/web/chunk-8ssjqdky.js +0 -1
- package/web/chunk-8ssjqdky.js.br +0 -2
- package/web/chunk-8ssjqdky.js.gz +0 -0
- package/web/chunk-90k6xrsa.js +0 -2
- package/web/chunk-90k6xrsa.js.br +0 -0
- package/web/chunk-90k6xrsa.js.gz +0 -0
- package/web/chunk-926v5sg8.js +0 -24
- package/web/chunk-926v5sg8.js.br +0 -0
- package/web/chunk-926v5sg8.js.gz +0 -0
- package/web/chunk-9kvr6dkh.js +0 -106
- package/web/chunk-9kvr6dkh.js.br +0 -0
- package/web/chunk-9kvr6dkh.js.gz +0 -0
- package/web/chunk-9s6zj1sh.js +0 -217
- package/web/chunk-9s6zj1sh.js.br +0 -0
- package/web/chunk-9s6zj1sh.js.gz +0 -0
- package/web/chunk-9vf3zy3d.js +0 -2
- package/web/chunk-9vf3zy3d.js.br +0 -0
- package/web/chunk-9vf3zy3d.js.gz +0 -0
- package/web/chunk-acpyx69f.js +0 -1
- package/web/chunk-acpyx69f.js.br +0 -0
- package/web/chunk-acpyx69f.js.gz +0 -0
- package/web/chunk-amch1hp8.js +0 -1
- package/web/chunk-amch1hp8.js.br +0 -0
- package/web/chunk-amch1hp8.js.gz +0 -0
- package/web/chunk-azjpkz26.js +0 -38
- package/web/chunk-azjpkz26.js.br +0 -0
- package/web/chunk-azjpkz26.js.gz +0 -0
- package/web/chunk-b2zmxzm0.js +0 -2
- package/web/chunk-b2zmxzm0.js.br +0 -0
- package/web/chunk-b2zmxzm0.js.gz +0 -0
- package/web/chunk-bgn0bkad.js +0 -98
- package/web/chunk-bgn0bkad.js.br +0 -0
- package/web/chunk-bgn0bkad.js.gz +0 -0
- package/web/chunk-bka3pbzn.js +0 -4
- package/web/chunk-bka3pbzn.js.br +0 -0
- package/web/chunk-bka3pbzn.js.gz +0 -0
- package/web/chunk-ck23t8as.js +0 -2
- package/web/chunk-ck23t8as.js.br +0 -0
- package/web/chunk-ck23t8as.js.gz +0 -0
- package/web/chunk-cp5ec63g.js +0 -30
- package/web/chunk-cp5ec63g.js.br +0 -0
- package/web/chunk-cp5ec63g.js.gz +0 -0
- package/web/chunk-cw21gjwg.js +0 -39
- package/web/chunk-cw21gjwg.js.br +0 -0
- package/web/chunk-cw21gjwg.js.gz +0 -0
- package/web/chunk-cxcpk0qt.js +0 -2
- package/web/chunk-cxcpk0qt.js.br +0 -0
- package/web/chunk-cxcpk0qt.js.gz +0 -0
- package/web/chunk-d3s30py8.js +0 -1
- package/web/chunk-d3s30py8.js.br +0 -0
- package/web/chunk-d3s30py8.js.gz +0 -0
- package/web/chunk-dj4jc1ec.js +0 -1
- package/web/chunk-dj4jc1ec.js.br +0 -0
- package/web/chunk-dj4jc1ec.js.gz +0 -0
- package/web/chunk-drr7mqg2.js +0 -1
- package/web/chunk-drr7mqg2.js.br +0 -0
- package/web/chunk-drr7mqg2.js.gz +0 -0
- package/web/chunk-ef2xw0kb.js +0 -1
- package/web/chunk-ef2xw0kb.js.br +0 -0
- package/web/chunk-ef2xw0kb.js.gz +0 -0
- package/web/chunk-emxa4wv3.js +0 -2
- package/web/chunk-emxa4wv3.js.br +0 -0
- package/web/chunk-emxa4wv3.js.gz +0 -0
- package/web/chunk-fek0yrg5.js +0 -2
- package/web/chunk-fek0yrg5.js.br +0 -0
- package/web/chunk-fek0yrg5.js.gz +0 -0
- package/web/chunk-fgm2r34b.js +0 -36
- package/web/chunk-fgm2r34b.js.br +0 -0
- package/web/chunk-fgm2r34b.js.gz +0 -0
- package/web/chunk-fpqs301q.js +0 -2
- package/web/chunk-fpqs301q.js.br +0 -0
- package/web/chunk-fpqs301q.js.gz +0 -0
- package/web/chunk-fv6se8xf.js +0 -1
- package/web/chunk-fv6se8xf.js.br +0 -2
- package/web/chunk-fv6se8xf.js.gz +0 -0
- package/web/chunk-g0nagyx2.js +0 -1
- package/web/chunk-g0nagyx2.js.br +0 -0
- package/web/chunk-g0nagyx2.js.gz +0 -0
- package/web/chunk-g5fp9ep9.js +0 -1
- package/web/chunk-g5fp9ep9.js.br +0 -0
- package/web/chunk-g5fp9ep9.js.gz +0 -0
- package/web/chunk-gh1fmd3j.js +0 -3
- package/web/chunk-gh1fmd3j.js.br +0 -0
- package/web/chunk-gh1fmd3j.js.gz +0 -0
- package/web/chunk-gq5825re.js +0 -70
- package/web/chunk-gq5825re.js.br +0 -0
- package/web/chunk-gq5825re.js.gz +0 -0
- package/web/chunk-gy57dyny.js +0 -1
- package/web/chunk-gy57dyny.js.br +0 -0
- package/web/chunk-gy57dyny.js.gz +0 -0
- package/web/chunk-j6jjk46a.js +0 -2
- package/web/chunk-j6jjk46a.js.br +0 -0
- package/web/chunk-j6jjk46a.js.gz +0 -0
- package/web/chunk-j7p6xhe2.js +0 -1
- package/web/chunk-j7p6xhe2.js.br +0 -0
- package/web/chunk-j7p6xhe2.js.gz +0 -0
- package/web/chunk-jb8xfsc6.js +0 -2
- package/web/chunk-jb8xfsc6.js.br +0 -0
- package/web/chunk-jb8xfsc6.js.gz +0 -0
- package/web/chunk-jqyxnnn0.js +0 -1
- package/web/chunk-jqyxnnn0.js.br +0 -0
- package/web/chunk-jqyxnnn0.js.gz +0 -0
- package/web/chunk-jtwct1bx.js +0 -1133
- package/web/chunk-jtwct1bx.js.br +0 -0
- package/web/chunk-jtwct1bx.js.gz +0 -0
- package/web/chunk-k22kq2t7.js +0 -12
- package/web/chunk-k22kq2t7.js.br +0 -0
- package/web/chunk-k22kq2t7.js.gz +0 -0
- package/web/chunk-k2ry7k7s.js +0 -1
- package/web/chunk-k2ry7k7s.js.br +0 -0
- package/web/chunk-k2ry7k7s.js.gz +0 -0
- package/web/chunk-k3aa37pw.js +0 -2
- package/web/chunk-k3aa37pw.js.br +0 -0
- package/web/chunk-k3aa37pw.js.gz +0 -0
- package/web/chunk-kdbrrecz.js +0 -332
- package/web/chunk-kdbrrecz.js.br +0 -0
- package/web/chunk-kdbrrecz.js.gz +0 -0
- package/web/chunk-kes2tf1q.js +0 -2
- package/web/chunk-kes2tf1q.js.br +0 -3
- package/web/chunk-kes2tf1q.js.gz +0 -0
- package/web/chunk-ksrzt6c5.js +0 -1
- package/web/chunk-ksrzt6c5.js.br +0 -0
- package/web/chunk-ksrzt6c5.js.gz +0 -0
- package/web/chunk-m2ethr1n.js +0 -84
- package/web/chunk-m2ethr1n.js.br +0 -0
- package/web/chunk-m2ethr1n.js.gz +0 -0
- package/web/chunk-m7tcm69z.js +0 -292
- package/web/chunk-m7tcm69z.js.br +0 -0
- package/web/chunk-m7tcm69z.js.gz +0 -0
- package/web/chunk-m8bz4e6n.js +0 -2
- package/web/chunk-m8bz4e6n.js.br +0 -0
- package/web/chunk-m8bz4e6n.js.gz +0 -0
- package/web/chunk-mva687p4.js +0 -1
- package/web/chunk-mva687p4.js.br +0 -0
- package/web/chunk-mva687p4.js.gz +0 -0
- package/web/chunk-n8fe9j5b.js +0 -214
- package/web/chunk-n8fe9j5b.js.br +0 -0
- package/web/chunk-n8fe9j5b.js.gz +0 -0
- package/web/chunk-nckx4yfd.js +0 -62
- package/web/chunk-nckx4yfd.js.br +0 -0
- package/web/chunk-nckx4yfd.js.gz +0 -0
- package/web/chunk-ncynjha5.js +0 -2
- package/web/chunk-ncynjha5.js.br +0 -0
- package/web/chunk-ncynjha5.js.gz +0 -0
- package/web/chunk-nq7dp0wj.js +0 -291
- package/web/chunk-nq7dp0wj.js.br +0 -0
- package/web/chunk-nq7dp0wj.js.gz +0 -0
- package/web/chunk-pagep4k3.js +0 -1
- package/web/chunk-pagep4k3.js.br +0 -0
- package/web/chunk-pagep4k3.js.gz +0 -0
- package/web/chunk-pbrk7zdw.js +0 -1
- package/web/chunk-pbrk7zdw.js.br +0 -0
- package/web/chunk-pbrk7zdw.js.gz +0 -0
- package/web/chunk-q0cs1bhg.js +0 -2
- package/web/chunk-q0cs1bhg.js.br +0 -0
- package/web/chunk-q0cs1bhg.js.gz +0 -0
- package/web/chunk-q749pgke.js +0 -1
- package/web/chunk-q749pgke.js.br +0 -0
- package/web/chunk-q749pgke.js.gz +0 -0
- package/web/chunk-q7yry602.js +0 -1
- package/web/chunk-q7yry602.js.br +0 -0
- package/web/chunk-q7yry602.js.gz +0 -0
- package/web/chunk-qkeaa97s.js +0 -1
- package/web/chunk-qkeaa97s.js.br +0 -0
- package/web/chunk-qkeaa97s.js.gz +0 -0
- package/web/chunk-qx7afyba.js +0 -1
- package/web/chunk-qx7afyba.js.br +0 -0
- package/web/chunk-qx7afyba.js.gz +0 -0
- package/web/chunk-qxvqkkmw.js +0 -1
- package/web/chunk-qxvqkkmw.js.br +0 -0
- package/web/chunk-qxvqkkmw.js.gz +0 -0
- package/web/chunk-qych3sbs.js +0 -1
- package/web/chunk-qych3sbs.js.br +0 -0
- package/web/chunk-qych3sbs.js.gz +0 -0
- package/web/chunk-rcaqmcm4.js +0 -40
- package/web/chunk-rcaqmcm4.js.br +0 -0
- package/web/chunk-rcaqmcm4.js.gz +0 -0
- package/web/chunk-s5kbbker.js +0 -89
- package/web/chunk-s5kbbker.js.br +0 -0
- package/web/chunk-s5kbbker.js.gz +0 -0
- package/web/chunk-sdq69ysp.js +0 -2
- package/web/chunk-sdq69ysp.js.br +0 -0
- package/web/chunk-sdq69ysp.js.gz +0 -0
- package/web/chunk-sgbc835w.js +0 -2
- package/web/chunk-sgbc835w.js.br +0 -0
- package/web/chunk-sgbc835w.js.gz +0 -0
- package/web/chunk-sk0cmsbx.js +0 -7
- package/web/chunk-sk0cmsbx.js.br +0 -0
- package/web/chunk-sk0cmsbx.js.gz +0 -0
- package/web/chunk-smmcx1z4.js +0 -324
- package/web/chunk-smmcx1z4.js.br +0 -0
- package/web/chunk-smmcx1z4.js.gz +0 -0
- package/web/chunk-sq7ntjp0.js +0 -16
- package/web/chunk-sq7ntjp0.js.br +0 -0
- package/web/chunk-sq7ntjp0.js.gz +0 -0
- package/web/chunk-st27df9w.js +0 -2
- package/web/chunk-st27df9w.js.br +0 -0
- package/web/chunk-st27df9w.js.gz +0 -0
- package/web/chunk-svxkg8n3.js +0 -2
- package/web/chunk-svxkg8n3.js.br +0 -0
- package/web/chunk-svxkg8n3.js.gz +0 -0
- package/web/chunk-t9nzrp2p.js +0 -1
- package/web/chunk-t9nzrp2p.js.br +0 -0
- package/web/chunk-t9nzrp2p.js.gz +0 -0
- package/web/chunk-t9t9v1r8.js +0 -55
- package/web/chunk-t9t9v1r8.js.br +0 -0
- package/web/chunk-t9t9v1r8.js.gz +0 -0
- package/web/chunk-tzpv48j3.js +0 -2
- package/web/chunk-tzpv48j3.js.br +0 -0
- package/web/chunk-tzpv48j3.js.gz +0 -0
- package/web/chunk-vgsk4ppw.js +0 -7
- package/web/chunk-vgsk4ppw.js.br +0 -0
- package/web/chunk-vgsk4ppw.js.gz +0 -0
- package/web/chunk-vq41ta7n.js +0 -4
- package/web/chunk-vq41ta7n.js.br +0 -0
- package/web/chunk-vq41ta7n.js.gz +0 -0
- package/web/chunk-vszya05r.js +0 -2
- package/web/chunk-vszya05r.js.br +0 -0
- package/web/chunk-vszya05r.js.gz +0 -0
- package/web/chunk-w08egbqf.js +0 -1
- package/web/chunk-w08egbqf.js.br +0 -0
- package/web/chunk-w08egbqf.js.gz +0 -0
- package/web/chunk-wcmq0qgh.js +0 -1
- package/web/chunk-wcmq0qgh.js.br +0 -0
- package/web/chunk-wcmq0qgh.js.gz +0 -0
- package/web/chunk-wctq02yb.js +0 -2
- package/web/chunk-wctq02yb.js.br +0 -0
- package/web/chunk-wctq02yb.js.gz +0 -0
- package/web/chunk-wfa1c8dn.js +0 -1
- package/web/chunk-wfa1c8dn.js.br +0 -0
- package/web/chunk-wfa1c8dn.js.gz +0 -0
- package/web/chunk-wfwadf3r.js +0 -2
- package/web/chunk-wfwadf3r.js.br +0 -0
- package/web/chunk-wfwadf3r.js.gz +0 -0
- package/web/chunk-wgas5t5y.js +0 -1
- package/web/chunk-wgas5t5y.js.br +0 -0
- package/web/chunk-wgas5t5y.js.gz +0 -0
- package/web/chunk-x7k4eyee.js +0 -21
- package/web/chunk-x7k4eyee.js.br +0 -0
- package/web/chunk-x7k4eyee.js.gz +0 -0
- package/web/chunk-xpv38q1f.js +0 -140
- package/web/chunk-xpv38q1f.js.br +0 -0
- package/web/chunk-xpv38q1f.js.gz +0 -0
- package/web/chunk-xt671z8e.js +0 -1
- package/web/chunk-xt671z8e.js.br +0 -0
- package/web/chunk-xt671z8e.js.gz +0 -0
- package/web/chunk-xwrrkwwx.css +0 -1
- package/web/chunk-xwrrkwwx.css.br +0 -0
- package/web/chunk-xwrrkwwx.css.gz +0 -0
- package/web/chunk-xwy3gth5.js +0 -89
- package/web/chunk-xwy3gth5.js.br +0 -0
- package/web/chunk-xwy3gth5.js.gz +0 -0
- package/web/chunk-xwyadj9p.js +0 -2
- package/web/chunk-xwyadj9p.js.br +0 -0
- package/web/chunk-xwyadj9p.js.gz +0 -0
- package/web/chunk-xzgvnd23.js +0 -1
- package/web/chunk-xzgvnd23.js.br +0 -0
- package/web/chunk-xzgvnd23.js.gz +0 -0
- package/web/chunk-y05m6rvz.js +0 -1
- package/web/chunk-y05m6rvz.js.br +0 -2
- package/web/chunk-y05m6rvz.js.gz +0 -0
- package/web/chunk-z51mtwh3.js +0 -169
- package/web/chunk-z51mtwh3.js.br +0 -0
- package/web/chunk-z51mtwh3.js.gz +0 -0
- package/web/chunk-z77xrqc1.js +0 -1
- package/web/chunk-z77xrqc1.js.br +0 -0
- package/web/chunk-z77xrqc1.js.gz +0 -0
- package/web/chunk-z946nbmn.js +0 -2
- package/web/chunk-z946nbmn.js.br +0 -0
- package/web/chunk-z946nbmn.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{re}from"./chunk-mwfrxgbs.js";import{t,a,B,S,j,sn,A,R,I,L,D,P,M,u,h,Q,zs,Br,qt,X,bt,at}from"./chunk-v2bkkhb8.js";import{fe}from"./chunk-53cg6pxm.js";import{un,Ka}from"./chunk-1ratg1jd.js";import{Ze,Xe}from"./chunk-qjg6dw46.js";var ct=Xe(function(et,nt){(function(i,s){if(typeof et==="object"&&typeof nt==="object")nt.exports=s(Ka());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof et==="object")et.cytoscapeFcose=s(Ka());else i.cytoscapeFcose=s(i.coseBase)})(et,function(e){return(()=>{var i={658:(T)=>{T.exports=Object.assign!=null?Object.assign.bind(Object):function(O){for(var p=arguments.length,x=Array(p>1?p-1:0),l=1;l<p;l++)x[l-1]=arguments[l];return x.forEach(function(y){Object.keys(y).forEach(function(c){return O[c]=y[c]})}),O}},548:(T,O,p)=>{var x=function(){function c(d,f){var g=[],r=!0,G=!1,N=void 0;try{for(var o=d[Symbol.iterator](),v;!(r=(v=o.next()).done);r=!0)if(g.push(v.value),f&&g.length===f)break}catch(C){G=!0,N=C}finally{try{if(!r&&o.return)o.return()}finally{if(G)throw N}}return g}return function(d,f){if(Array.isArray(d))return d;else if(Symbol.iterator in Object(d))return c(d,f);else throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=p(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(c){var d={};for(var f=0;f<c.length;f++)d[c[f].id()]=!0;var g=c.filter(function(r,G){if(typeof r==="number")r=G;var N=r.parent()[0];while(N!=null){if(d[N.id()])return!1;N=N.parent()[0]}return!0});return g},y.connectComponents=function(c,d,f,g){var r=new l,G=new Set,N=[],o=void 0,v=void 0,C=void 0,n=!1,k=1,Y=[],b=[],U=function(){var w=c.collection();b.push(w);var _=f[0],q=c.collection();q.merge(_).merge(_.descendants().intersection(d)),N.push(_),q.forEach(function(ee){r.push(ee),G.add(ee),w.merge(ee)});var W=function(){_=r.shift();var ue=c.collection();_.neighborhood().nodes().forEach(function(H){if(d.intersection(_.edgesWith(H)).length>0)ue.merge(H)});for(var Ae=0;Ae<ue.length;Ae++){var Re=ue[Ae];if(o=f.intersection(Re.union(Re.ancestors())),o!=null&&!G.has(o[0])){var ce=o.union(o.descendants());ce.forEach(function(H){if(r.push(H),G.add(H),w.merge(H),f.has(H))N.push(H)})}}};while(r.length!=0)W();if(w.forEach(function(ee){d.intersection(ee.connectedEdges()).forEach(function(ue){if(w.has(ue.source())&&w.has(ue.target()))w.merge(ue)})}),N.length==f.length)n=!0;if(!n||n&&k>1){v=N[0],C=v.connectedEdges().length,N.forEach(function(ee){if(ee.connectedEdges().length<C)C=ee.connectedEdges().length,v=ee}),Y.push(v.id());var oe=c.collection();oe.merge(N[0]),N.forEach(function(ee){oe.merge(ee)}),N=[],f=f.difference(oe),k++}};do U();while(!n);if(g){if(Y.length>0)g.set("dummy"+(g.size+1),Y)}return b},y.relocateComponent=function(c,d,f){if(!f.fixedNodeConstraint){var{POSITIVE_INFINITY:g,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:G,NEGATIVE_INFINITY:N}=Number;if(f.quality=="draft"){var o=!0,v=!1,C=void 0;try{for(var n=d.nodeIndexes[Symbol.iterator](),k;!(o=(k=n.next()).done);o=!0){var Y=k.value,b=x(Y,2),U=b[0],z=b[1],w=f.cy.getElementById(U);if(w){var _=w.boundingBox(),q=d.xCoords[z]-_.w/2,W=d.xCoords[z]+_.w/2,oe=d.yCoords[z]-_.h/2,ee=d.yCoords[z]+_.h/2;if(q<g)g=q;if(W>r)r=W;if(oe<G)G=oe;if(ee>N)N=ee}}}catch(H){v=!0,C=H}finally{try{if(!o&&n.return)n.return()}finally{if(v)throw C}}var ue=c.x-(r+g)/2,Ae=c.y-(N+G)/2;d.xCoords=d.xCoords.map(function(H){return H+ue}),d.yCoords=d.yCoords.map(function(H){return H+Ae})}else{Object.keys(d).forEach(function(H){var ae=d[H],Ie=ae.getRect().x,be=ae.getRect().x+ae.getRect().width,Ne=ae.getRect().y,xe=ae.getRect().y+ae.getRect().height;if(Ie<g)g=Ie;if(be>r)r=be;if(Ne<G)G=Ne;if(xe>N)N=xe});var Re=c.x-(r+g)/2,ce=c.y-(N+G)/2;Object.keys(d).forEach(function(H){var ae=d[H];ae.setCenter(ae.getCenterX()+Re,ae.getCenterY()+ce)})}}},y.calcBoundingBox=function(c,d,f,g){var{MAX_SAFE_INTEGER:r,MIN_SAFE_INTEGER:G,MAX_SAFE_INTEGER:N,MIN_SAFE_INTEGER:o}=Number,v=void 0,C=void 0,n=void 0,k=void 0,Y=c.descendants().not(":parent"),b=Y.length;for(var U=0;U<b;U++){var z=Y[U];if(v=d[g.get(z.id())]-z.width()/2,C=d[g.get(z.id())]+z.width()/2,n=f[g.get(z.id())]-z.height()/2,k=f[g.get(z.id())]+z.height()/2,r>v)r=v;if(G<C)G=C;if(N>n)N=n;if(o<k)o=k}var w={};return w.topLeftX=r,w.topLeftY=N,w.width=G-r,w.height=o-N,w},y.calcParentsWithoutChildren=function(c,d){var f=c.collection();return d.nodes(":parent").forEach(function(g){var r=!1;if(g.children().forEach(function(G){if(G.css("display")!="none")r=!0}),!r)f.merge(g)}),f},T.exports=y},816:(T,O,p)=>{var x=p(548),l=p(140).CoSELayout,y=p(140).CoSENode,c=p(140).layoutBase.PointD,d=p(140).layoutBase.DimensionD,f=p(140).layoutBase.LayoutConstants,g=p(140).layoutBase.FDLayoutConstants,r=p(140).CoSEConstants,G=function(o,v){var{cy:C,eles:n}=o,k=n.nodes(),Y=n.edges(),b=void 0,U=void 0,z=void 0,w={};if(o.randomize)b=v.nodeIndexes,U=v.xCoords,z=v.yCoords;var _=function(H){return typeof H==="function"},q=function(H,ae){if(_(H))return H(ae);else return H},W=x.calcParentsWithoutChildren(C,n),oe=function ce(H,ae,Ie,be){var Ne=ae.length;for(var xe=0;xe<Ne;xe++){var V=ae[xe],Te=null;if(V.intersection(W).length==0)Te=V.children();var te=void 0,ve=V.layoutDimensions({nodeDimensionsIncludeLabels:be.nodeDimensionsIncludeLabels});if(V.outerWidth()!=null&&V.outerHeight()!=null)if(be.randomize)if(!V.isParent())te=H.add(new y(Ie.graphManager,new c(U[b.get(V.id())]-ve.w/2,z[b.get(V.id())]-ve.h/2),new d(parseFloat(ve.w),parseFloat(ve.h))));else{var ke=x.calcBoundingBox(V,U,z,b);if(V.intersection(W).length==0)te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new d(ke.width,ke.height)));else te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new d(parseFloat(ve.w),parseFloat(ve.h))))}else te=H.add(new y(Ie.graphManager,new c(V.position("x")-ve.w/2,V.position("y")-ve.h/2),new d(parseFloat(ve.w),parseFloat(ve.h))));else te=H.add(new y(this.graphManager));if(te.id=V.data("id"),te.nodeRepulsion=q(be.nodeRepulsion,V),te.paddingLeft=parseInt(V.css("padding")),te.paddingTop=parseInt(V.css("padding")),te.paddingRight=parseInt(V.css("padding")),te.paddingBottom=parseInt(V.css("padding")),be.nodeDimensionsIncludeLabels)te.labelWidth=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,te.labelHeight=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,te.labelPosVertical=V.css("text-valign"),te.labelPosHorizontal=V.css("text-halign");if(w[V.data("id")]=te,isNaN(te.rect.x))te.rect.x=0;if(isNaN(te.rect.y))te.rect.y=0;if(Te!=null&&Te.length>0){var $e=void 0;$e=Ie.getGraphManager().add(Ie.newGraph(),te),ce($e,Te,Ie,be)}}},ee=function(H,ae,Ie){var be=0,Ne=0;for(var xe=0;xe<Ie.length;xe++){var V=Ie[xe],Te=w[V.data("source")],te=w[V.data("target")];if(Te&&te&&Te!==te&&Te.getEdgesBetween(te).length==0){var ve=ae.add(H.newEdge(),Te,te);ve.id=V.id(),ve.idealLength=q(o.idealEdgeLength,V),ve.edgeElasticity=q(o.edgeElasticity,V),be+=ve.idealLength,Ne++}}if(o.idealEdgeLength!=null){if(Ne>0)r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=be/Ne;else if(!_(o.idealEdgeLength))r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=o.idealEdgeLength;else r.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=50;r.MIN_REPULSION_DIST=g.MIN_REPULSION_DIST=g.DEFAULT_EDGE_LENGTH/10,r.DEFAULT_RADIAL_SEPARATION=g.DEFAULT_EDGE_LENGTH}},ue=function(H,ae){if(ae.fixedNodeConstraint)H.constraints.fixedNodeConstraint=ae.fixedNodeConstraint;if(ae.alignmentConstraint)H.constraints.alignmentConstraint=ae.alignmentConstraint;if(ae.relativePlacementConstraint)H.constraints.relativePlacementConstraint=ae.relativePlacementConstraint};if(o.nestingFactor!=null)r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=g.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.nestingFactor;if(o.gravity!=null)r.DEFAULT_GRAVITY_STRENGTH=g.DEFAULT_GRAVITY_STRENGTH=o.gravity;if(o.numIter!=null)r.MAX_ITERATIONS=g.MAX_ITERATIONS=o.numIter;if(o.gravityRange!=null)r.DEFAULT_GRAVITY_RANGE_FACTOR=g.DEFAULT_GRAVITY_RANGE_FACTOR=o.gravityRange;if(o.gravityCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=g.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.gravityCompound;if(o.gravityRangeCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=g.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.gravityRangeCompound;if(o.initialEnergyOnIncremental!=null)r.DEFAULT_COOLING_FACTOR_INCREMENTAL=g.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.initialEnergyOnIncremental;if(o.tilingCompareBy!=null)r.TILING_COMPARE_BY=o.tilingCompareBy;if(o.quality=="proof")f.QUALITY=2;else f.QUALITY=0;if(r.NODE_DIMENSIONS_INCLUDE_LABELS=g.NODE_DIMENSIONS_INCLUDE_LABELS=f.NODE_DIMENSIONS_INCLUDE_LABELS=o.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=!o.randomize,r.ANIMATE=g.ANIMATE=f.ANIMATE=o.animate,r.TILE=o.tile,r.TILING_PADDING_VERTICAL=typeof o.tilingPaddingVertical==="function"?o.tilingPaddingVertical.call():o.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof o.tilingPaddingHorizontal==="function"?o.tilingPaddingHorizontal.call():o.tilingPaddingHorizontal,r.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=!0,r.PURE_INCREMENTAL=!o.randomize,f.DEFAULT_UNIFORM_LEAF_NODE_SIZES=o.uniformNodeDimensions,o.step=="transformed")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!1;if(o.step=="enforced")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!1;if(o.step=="cose")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!0;if(o.step=="all"){if(o.randomize)r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0;else r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1;r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!0}if(o.fixedNodeConstraint||o.alignmentConstraint||o.relativePlacementConstraint)r.TREE_REDUCTION_ON_INCREMENTAL=!1;else r.TREE_REDUCTION_ON_INCREMENTAL=!0;var Ae=new l,Re=Ae.newGraphManager();return oe(Re.addRoot(),x.getTopMostNodes(k),Ae,o),ee(Ae,Re,Y),ue(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:G}},212:(T,O,p)=>{var x=function(){function o(v,C){for(var n=0;n<C.length;n++){var k=C[n];if(k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k)k.writable=!0;Object.defineProperty(v,k.key,k)}}return function(v,C,n){if(C)o(v.prototype,C);if(n)o(v,n);return v}}();function l(o,v){if(!(o instanceof v))throw TypeError("Cannot call a class as a function")}var y=p(658),c=p(548),d=p(657),f=d.spectralLayout,g=p(816),r=g.coseLayout,G=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1000,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:0.0000001,nodeRepulsion:function(v){return 4500},idealEdgeLength:function(v){return 50},edgeElasticity:function(v){return 0.45},nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),N=function(){function o(v){l(this,o),this.options=y({},G,v)}return x(o,[{key:"run",value:function(){var C=this,n=this.options,{cy:k,eles:Y}=n,b=[],U=void 0,z=void 0,w=[],_=void 0,q=[];if(n.fixedNodeConstraint&&(!Array.isArray(n.fixedNodeConstraint)||n.fixedNodeConstraint.length==0))n.fixedNodeConstraint=void 0;if(n.alignmentConstraint){if(n.alignmentConstraint.vertical&&(!Array.isArray(n.alignmentConstraint.vertical)||n.alignmentConstraint.vertical.length==0))n.alignmentConstraint.vertical=void 0;if(n.alignmentConstraint.horizontal&&(!Array.isArray(n.alignmentConstraint.horizontal)||n.alignmentConstraint.horizontal.length==0))n.alignmentConstraint.horizontal=void 0}if(n.relativePlacementConstraint&&(!Array.isArray(n.relativePlacementConstraint)||n.relativePlacementConstraint.length==0))n.relativePlacementConstraint=void 0;var W=n.fixedNodeConstraint||n.alignmentConstraint||n.relativePlacementConstraint;if(W)n.tile=!1,n.packComponents=!1;var oe=void 0,ee=!1;if(k.layoutUtilities&&n.packComponents){if(oe=k.layoutUtilities("get"),!oe)oe=k.layoutUtilities();ee=!0}if(Y.nodes().length>0)if(!ee){var ue=n.eles.boundingBox();if(q.push({x:ue.x1+ue.w/2,y:ue.y1+ue.h/2}),n.randomize){var Ae=f(n);b.push(Ae)}if(n.quality=="default"||n.quality=="proof")w.push(r(n,b[0])),c.relocateComponent(q[0],w[0],n);else c.relocateComponent(q[0],b[0],n)}else{var Re=c.getTopMostNodes(n.eles.nodes());if(_=c.connectComponents(k,n.eles,Re),_.forEach(function(J){var F=J.boundingBox();q.push({x:F.x1+F.w/2,y:F.y1+F.h/2})}),n.randomize)_.forEach(function(J){n.eles=J,b.push(f(n))});if(n.quality=="default"||n.quality=="proof"){var ce=k.collection();if(n.tile){var H=new Map,ae=[],Ie=[],be=0,Ne={nodeIndexes:H,xCoords:ae,yCoords:Ie},xe=[];if(_.forEach(function(J,F){if(J.edges().length==0)J.nodes().forEach(function(pe,se){if(ce.merge(J.nodes()[se]),!pe.isParent())Ne.nodeIndexes.set(J.nodes()[se].id(),be++),Ne.xCoords.push(J.nodes()[0].position().x),Ne.yCoords.push(J.nodes()[0].position().y)}),xe.push(F)}),ce.length>1){var V=ce.boundingBox();q.push({x:V.x1+V.w/2,y:V.y1+V.h/2}),_.push(ce),b.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)_.splice(xe[Te],1),b.splice(xe[Te],1),q.splice(xe[Te],1)}}_.forEach(function(J,F){n.eles=J,w.push(r(n,b[F])),c.relocateComponent(q[F],w[F],n)})}else _.forEach(function(J,F){c.relocateComponent(q[F],b[F],n)});var te=new Set;if(_.length>1){var ve=[],ke=Y.filter(function(J){return J.css("display")=="none"});_.forEach(function(J,F){var pe=void 0;if(n.quality=="draft")pe=b[F].nodeIndexes;if(J.nodes().not(ke).length>0){var se={};se.edges=[],se.nodes=[];var me=void 0;if(J.nodes().not(ke).forEach(function(de){if(n.quality=="draft")if(!de.isParent())me=pe.get(de.id()),se.nodes.push({x:b[F].xCoords[me]-de.boundingbox().w/2,y:b[F].yCoords[me]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var he=c.calcBoundingBox(de,b[F].xCoords,b[F].yCoords,pe);se.nodes.push({x:he.topLeftX,y:he.topLeftY,width:he.width,height:he.height})}else if(w[F][de.id()])se.nodes.push({x:w[F][de.id()].getLeft(),y:w[F][de.id()].getTop(),width:w[F][de.id()].getWidth(),height:w[F][de.id()].getHeight()})}),J.edges().forEach(function(de){var he=de.source(),Ee=de.target();if(he.css("display")!="none"&&Ee.css("display")!="none"){if(n.quality=="draft"){var Pe=pe.get(he.id()),Qe=pe.get(Ee.id()),Me=[],Ge=[];if(he.isParent()){var Ve=c.calcBoundingBox(he,b[F].xCoords,b[F].yCoords,pe);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(b[F].xCoords[Pe]),Me.push(b[F].yCoords[Pe]);if(Ee.isParent()){var je=c.calcBoundingBox(Ee,b[F].xCoords,b[F].yCoords,pe);Ge.push(je.topLeftX+je.width/2),Ge.push(je.topLeftY+je.height/2)}else Ge.push(b[F].xCoords[Qe]),Ge.push(b[F].yCoords[Qe]);se.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[F][he.id()]&&w[F][Ee.id()])se.edges.push({startX:w[F][he.id()].getCenterX(),startY:w[F][he.id()].getCenterY(),endX:w[F][Ee.id()].getCenterX(),endY:w[F][Ee.id()].getCenterY()})}}),se.nodes.length>0)ve.push(se),te.add(F)}});var $e=oe.packComponents(ve,n.randomize).shifts;if(n.quality=="draft")b.forEach(function(J,F){var pe=J.xCoords.map(function(me){return me+$e[F].dx}),se=J.yCoords.map(function(me){return me+$e[F].dy});J.xCoords=pe,J.yCoords=se});else{var Je=0;te.forEach(function(J){Object.keys(w[J]).forEach(function(F){var pe=w[J][F];pe.setCenter(pe.getCenterX()+$e[Je].dx,pe.getCenterY()+$e[Je].dy)}),Je++})}}}var Ue=function(F,pe){if(n.quality=="default"||n.quality=="proof"){if(typeof F==="number")F=pe;var se=void 0,me=void 0,de=F.data("id");if(w.forEach(function(Ee){if(de in Ee)se={x:Ee[de].getRect().getCenterX(),y:Ee[de].getRect().getCenterY()},me=Ee[de]}),n.nodeDimensionsIncludeLabels){if(me.labelWidth){if(me.labelPosHorizontal=="left")se.x+=me.labelWidth/2;else if(me.labelPosHorizontal=="right")se.x-=me.labelWidth/2}if(me.labelHeight){if(me.labelPosVertical=="top")se.y+=me.labelHeight/2;else if(me.labelPosVertical=="bottom")se.y-=me.labelHeight/2}}if(se==null)se={x:F.position("x"),y:F.position("y")};return{x:se.x,y:se.y}}else{var he=void 0;if(b.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(F.id());if(Pe!=null)he={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),he==null)he={x:F.position("x"),y:F.position("y")};return{x:he.x,y:he.y}}};if(n.quality=="default"||n.quality=="proof"||n.randomize){var rt=c.calcParentsWithoutChildren(k,Y),He=Y.filter(function(J){return J.css("display")=="none"});if(n.eles=Y.not(He),Y.nodes().not(":parent").not(He).layoutPositions(C,n,Ue),rt.length>0)rt.forEach(function(J){J.position(Ue(J))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),o}();T.exports=N},657:(T,O,p)=>{var x=p(548),l=p(140).layoutBase.Matrix,y=p(140).layoutBase.SVD,c=function(f){var{cy:g,eles:r}=f,G=r.nodes(),N=r.nodes(":parent"),o=new Map,v=new Map,C=new Map,n=[],k=[],Y=[],b=[],U=[],z=[],w=[],_=[],q=void 0,W=void 0,oe=1e8,ee=0.000000001,{piTol:ue,samplingType:Ae,nodeSeparation:Re}=f,ce=void 0,H=function(){var Z=0,K=0,ie=!1;while(K<ce){Z=Math.floor(Math.random()*W),ie=!1;for(var ne=0;ne<K;ne++)if(b[ne]==Z){ie=!0;break}if(!ie)b[K]=Z,K++;else continue}},ae=function(Z,K,ie){var ne=[],we=0,ge=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<W;ze++)Ce[ze]=oe;ne[ge]=Z,Ce[Z]=0;while(ge>=we){le=ne[we++];var Ye=n[le];for(var Be=0;Be<Ye.length;Be++)if(Le=v.get(Ye[Be]),Ce[Le]==oe)Ce[Le]=Ce[le]+1,ne[++ge]=Le;z[le][K]=Ce[le]*Re}if(ie){for(var Fe=0;Fe<W;Fe++)if(z[Fe][K]<U[Fe])U[Fe]=z[Fe][K];for(var Ke=0;Ke<W;Ke++)if(U[Ke]>De)De=U[Ke],Oe=Ke}return Oe},Ie=function(Z){var K=void 0;if(!Z){H();for(var ie=0;ie<ce;ie++)ae(b[ie],ie,Z,!1)}else{K=Math.floor(Math.random()*W),q=K;for(var ne=0;ne<W;ne++)U[ne]=oe;for(var we=0;we<ce;we++)b[we]=K,K=ae(K,we,Z)}for(var ge=0;ge<W;ge++)for(var le=0;le<ce;le++)z[ge][le]*=z[ge][le];for(var Le=0;Le<ce;Le++)w[Le]=[];for(var Ce=0;Ce<ce;Ce++)for(var De=0;De<ce;De++)w[Ce][De]=z[b[De]][Ce]},be=function(){var Z=y.svd(w),{S:K,U:ie,V:ne}=Z,we=K[0]*K[0]*K[0],ge=[];for(var le=0;le<ce;le++){ge[le]=[];for(var Le=0;Le<ce;Le++)if(ge[le][Le]=0,le==Le)ge[le][Le]=K[le]/(K[le]*K[le]+we/(K[le]*K[le]))}_=l.multMat(l.multMat(ne,ge),l.transpose(ie))},Ne=function(){var Z=void 0,K=void 0,ie=[],ne=[],we=[],ge=[];for(var le=0;le<W;le++)ie[le]=Math.random(),ne[le]=Math.random();ie=l.normalize(ie),ne=l.normalize(ne);var Le=0,Ce=ee,De=ee,Oe=void 0;while(!0){Le++;for(var ze=0;ze<W;ze++)we[ze]=ie[ze];if(ie=l.multGamma(l.multL(l.multGamma(we),z,_)),Z=l.dotProduct(we,ie),ie=l.normalize(ie),Ce=l.dotProduct(we,ie),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Ye=0;Ye<W;Ye++)we[Ye]=ie[Ye];Le=0,De=ee;while(!0){Le++;for(var Be=0;Be<W;Be++)ge[Be]=ne[Be];if(ge=l.minusOp(ge,l.multCons(we,l.dotProduct(we,ge))),ne=l.multGamma(l.multL(l.multGamma(ge),z,_)),K=l.dotProduct(ge,ne),ne=l.normalize(ne),Ce=l.dotProduct(ge,ne),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<W;Fe++)ge[Fe]=ne[Fe];k=l.multCons(we,Math.sqrt(Math.abs(Z))),Y=l.multCons(ge,Math.sqrt(Math.abs(K)))};x.connectComponents(g,r,x.getTopMostNodes(G),o),N.forEach(function(ye){x.connectComponents(g,r,x.getTopMostNodes(ye.descendants().intersection(r)),o)});var xe=0;for(var V=0;V<G.length;V++)if(!G[V].isParent())v.set(G[V].id(),xe++);var Te=!0,te=!1,ve=void 0;try{for(var ke=o.keys()[Symbol.iterator](),$e;!(Te=($e=ke.next()).done);Te=!0){var Je=$e.value;v.set(Je,xe++)}}catch(ye){te=!0,ve=ye}finally{try{if(!Te&&ke.return)ke.return()}finally{if(te)throw ve}}for(var Ue=0;Ue<v.size;Ue++)n[Ue]=[];N.forEach(function(ye){var Z=ye.children().intersection(r);while(Z.nodes(":childless").length==0)Z=Z.nodes()[0].children().intersection(r);var K=0,ie=Z.nodes(":childless")[0].connectedEdges().length;Z.nodes(":childless").forEach(function(ne,we){if(ne.connectedEdges().length<ie)ie=ne.connectedEdges().length,K=we}),C.set(ye.id(),Z.nodes(":childless")[K].id())}),G.forEach(function(ye){var Z=void 0;if(ye.isParent())Z=v.get(C.get(ye.id()));else Z=v.get(ye.id());ye.neighborhood().nodes().forEach(function(K){if(r.intersection(ye.edgesWith(K)).length>0)if(K.isParent())n[Z].push(C.get(K.id()));else n[Z].push(K.id())})});var rt=function(Z){var K=v.get(Z),ie=void 0;o.get(Z).forEach(function(ne){if(g.getElementById(ne).isParent())ie=C.get(ne);else ie=ne;n[K].push(ie),n[v.get(ie)].push(Z)})},He=!0,J=!1,F=void 0;try{for(var pe=o.keys()[Symbol.iterator](),se;!(He=(se=pe.next()).done);He=!0){var me=se.value;rt(me)}}catch(ye){J=!0,F=ye}finally{try{if(!He&&pe.return)pe.return()}finally{if(J)throw F}}W=v.size;var de=void 0;if(W>2){ce=W<f.sampleSize?W:f.sampleSize;for(var he=0;he<W;he++)z[he]=[];for(var Ee=0;Ee<ce;Ee++)_[Ee]=[];if(f.quality=="draft"||f.step=="all")Ie(Ae),be(),Ne(),de={nodeIndexes:v,xCoords:k,yCoords:Y};else v.forEach(function(ye,Z){k.push(g.getElementById(Z).position("x")),Y.push(g.getElementById(Z).position("y"))}),de={nodeIndexes:v,xCoords:k,yCoords:Y};return de}else{var Pe=v.keys(),Qe=g.getElementById(Pe.next().value),Me=Qe.position(),Ge=Qe.outerWidth();if(k.push(Me.x),Y.push(Me.y),W==2){var Ve=g.getElementById(Pe.next().value),je=Ve.outerWidth();k.push(Me.x+Ge/2+je/2+f.idealEdgeLength),Y.push(Me.y)}return de={nodeIndexes:v,xCoords:k,yCoords:Y},de}};T.exports={spectralLayout:c}},579:(T,O,p)=>{var x=p(212),l=function(c){if(!c)return;c("layout","fcose",x)};if(typeof cytoscape<"u")l(cytoscape);T.exports=l},140:(T)=>{T.exports=e}},s={};function E(T){var O=s[T];if(O!==void 0)return O.exports;var p=s[T]={exports:{}};return i[T](p,p.exports,E),p.exports}var m=E(579);return m})()})});var mt=Ze(ct(),1);var dt={L:"left",R:"right",T:"top",B:"bottom"},ft={L:t((e)=>`${e},${e/2} 0,${e} 0,0`,"L"),R:t((e)=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:t((e)=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:t((e)=>`${e/2},0 ${e},${e} 0,${e}`,"B")},it={L:t((e,i)=>e-i+2,"L"),R:t((e,i)=>e-2,"R"),T:t((e,i)=>e-i+2,"T"),B:t((e,i)=>e-2,"B")},It=t(function(e){if(Se(e))return e==="L"?"R":"L";else return e==="T"?"B":"T"},"getOppositeArchitectureDirection"),ut=t(function(e){let i=e;return i==="L"||i==="R"||i==="T"||i==="B"},"isArchitectureDirection"),Se=t(function(e){let i=e;return i==="L"||i==="R"},"isArchitectureDirectionX"),_e=t(function(e){let i=e;return i==="T"||i==="B"},"isArchitectureDirectionY"),lt=t(function(e,i){let s=Se(e)&&_e(i),E=_e(e)&&Se(i);return s||E},"isArchitectureDirectionXY"),Nt=t(function(e){let i=e[0],s=e[1],E=Se(i)&&_e(s),m=_e(i)&&Se(s);return E||m},"isArchitecturePairXY"),St=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),ot=t(function(e,i){let s=`${e}${i}`;return St(s)?s:void 0},"getArchitectureDirectionPair"),kt=t(function([e,i],s){let E=s[0],m=s[1];if(Se(E))if(_e(m))return[e+(E==="L"?-1:1),i+(m==="T"?1:-1)];else return[e+(E==="L"?-1:1),i];else if(Se(m))return[e+(m==="L"?1:-1),i+(E==="T"?1:-1)];else return[e,i+(E==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dt=t(function(e){if(e==="LT"||e==="TL")return[1,1];else if(e==="BL"||e==="LB")return[1,-1];else if(e==="BR"||e==="RB")return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),Rt=t(function(e,i){if(lt(e,i))return"bend";else if(Se(e))return"horizontal";return"vertical"},"getArchitectureDirectionAlignment"),Mt=t(function(e){return e.type==="service"},"isArchitectureService"),Ft=t(function(e){return e.type==="junction"},"isArchitectureJunction"),gt=t((e,i)=>{let[s,E]=[e,i].sort();return`${JSON.stringify(s)}-${JSON.stringify(E)}`},"architectureGroupAlignmentKey"),ht=t((e)=>e.data(),"edgeData"),We=t((e)=>e.data(),"nodeData"),$t=B.architecture,vt=class{constructor(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.elements=new Map,this.diagramId="",this.setAccTitle=R,this.getAccTitle=I,this.setDiagramTitle=P,this.getDiagramTitle=M,this.getAccDescription=D,this.setAccDescription=L,this.clear()}static{t(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",A()}addService({id:e,icon:i,in:s,title:E,iconText:m}){if(this.registeredIds.has(e))throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The service [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(s)==="node")throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"service",icon:i,iconText:m,title:E,edges:[],in:s})}getServices(){return[...this.nodes.values()].filter(Mt)}addJunction({id:e,in:i}){if(this.registeredIds.has(e))throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(i!==void 0){if(e===i)throw Error(`The junction [${e}] cannot be placed within itself`);if(!this.registeredIds.has(i))throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(i)==="node")throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"junction",edges:[],in:i})}getJunctions(){return[...this.nodes.values()].filter(Ft)}getNodes(){return[...this.nodes.values()]}getNode(e){return this.nodes.get(e)??null}addGroup({id:e,icon:i,in:s,title:E}){if(this.registeredIds.has(e))throw Error(`The group id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The group [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(s)==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds.set(e,"group"),this.groups.set(e,{id:e,icon:i,title:E,in:s})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:e,rhsId:i,lhsDir:s,rhsDir:E,lhsInto:m,rhsInto:T,lhsGroup:O,rhsGroup:p,title:x}){if(!ut(s))throw Error(`Invalid direction given for left hand side of edge ${e}--${i}. Expected (L,R,T,B) got ${String(s)}`);if(!ut(E))throw Error(`Invalid direction given for right hand side of edge ${e}--${i}. Expected (L,R,T,B) got ${String(E)}`);if(!this.nodes.has(e)&&!this.groups.has(e))throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(i)&&!this.groups.has(i))throw Error(`The right-hand id [${i}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes.get(e).in,y=this.nodes.get(i).in;if(O&&l&&y&&l==y)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(p&&l&&y&&l==y)throw Error(`The right-hand id [${i}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let c={lhsId:e,lhsDir:s,lhsInto:m,lhsGroup:O,rhsId:i,rhsDir:E,rhsInto:T,rhsGroup:p,title:x};this.edges.push(c);let d=this.nodes.get(e),f=this.nodes.get(i);if(d&&f)d.edges.push(this.edges[this.edges.length-1]),f.edges.push(this.edges[this.edges.length-1])}getEdges(){return this.edges}addLayoutHint(e){if(e.members.length<2)throw Error(`An align directive requires at least two members; got ${e.members.length}`);let i=new Set;e.members.forEach((s)=>{if(this.registeredIds.get(s)!=="node")throw Error(`align ${e.direction} references [${s}], which is not a service or junction`);if(i.has(s))throw Error(`align ${e.direction} lists [${s}] more than once`);i.add(s)}),this.layoutHints.push(e)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let e=new Map,i=new Map;for(let[O,p]of this.nodes.entries()){let x=new Map;for(let l of p.edges){let y=this.getNode(l.lhsId)?.in,c=this.getNode(l.rhsId)?.in;if(y&&c&&y!==c){let d=Rt(l.lhsDir,l.rhsDir);if(d!=="bend")e.set(gt(y,c),d)}if(l.lhsId===O){let d=ot(l.lhsDir,l.rhsDir);if(d)x.set(d,l.rhsId)}else{let d=ot(l.rhsDir,l.lhsDir);if(d)x.set(d,l.lhsId)}}i.set(O,x)}let s=new Set,E=new Set(i.keys()),m=t((O)=>{let p=new Map([[O,[0,0]]]),x=[O];while(x.length>0){let l=x.shift();if(l){s.add(l),E.delete(l);let y=i.get(l);if(!y)throw Error(`BFS error: adjacency list for id ${l} not found. Please report this as a bug.`);let c=p.get(l);if(!c)throw Error(`BFS error: position for id ${l} not found in spatial map. Please report this as a bug.`);let[d,f]=c;y.forEach((g,r)=>{if(!s.has(g))p.set(g,kt([d,f],r)),x.push(g)})}}return p},"BFS"),T=[];while(E.size>0){let O=E.values().next().value;T.push(m(O))}this.dataStructures={adjList:i,spatialMaps:T,groupAlignments:e}}return this.dataStructures}setElementForId(e,i){this.elements.set(e,i)}getElementById(e){return this.elements.get(e)}getConfig(){return X({...$t,...S().architecture})}getConfigField(e){return this.getConfig()[e]}},Pt=t((e,i)=>{re(e,i),e.groups.map((s)=>i.addGroup(s)),e.services.map((s)=>i.addService({...s,type:"service"})),e.junctions.map((s)=>i.addJunction({...s,type:"junction"})),e.edges.map((s)=>i.addEdge(s)),e.alignments?.map((s)=>i.addLayoutHint({direction:s.direction,members:[...s.members]}))},"populateDb"),pt={parser:{yy:void 0},parse:t(async(e)=>{let i=await fe("architecture",e);a.debug(i);let s=pt.parser?.yy;if(!(s instanceof vt))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pt(i,s)},"parse")},Ot=t((e)=>`
|
|
2
|
+
.edge {
|
|
3
|
+
stroke-width: ${e.archEdgeWidth};
|
|
4
|
+
stroke: ${e.archEdgeColor};
|
|
5
|
+
fill: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.arrow {
|
|
9
|
+
fill: ${e.archEdgeArrowColor};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.node-bkg {
|
|
13
|
+
fill: none;
|
|
14
|
+
stroke: ${e.archGroupBorderColor};
|
|
15
|
+
stroke-width: ${e.archGroupBorderWidth};
|
|
16
|
+
stroke-dasharray: 8;
|
|
17
|
+
}
|
|
18
|
+
.node-icon-text {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.node-icon-text > div {
|
|
24
|
+
color: #fff;
|
|
25
|
+
margin: 1px;
|
|
26
|
+
height: fit-content;
|
|
27
|
+
text-align: center;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
}
|
|
32
|
+
`,"getStyles"),Gt=Ot;function st(e,i){if(e===0)return i();let s=Math.random,E=e>>>0;Math.random=function(){E=E+1831565813>>>0;let m=E;return m=Math.imul(m^m>>>15,m|1),m^=m+Math.imul(m^m>>>7,m|61),((m^m>>>14)>>>0)/4294967296};try{return i()}finally{Math.random=s}}t(st,"withSeededRandom");var qe=t((e)=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`,"wrapIcon"),tt={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:qe('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:qe('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:qe('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:qe('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:qe('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:zs,blank:{body:qe("")}}},zt=t(async function(e,i,s,E){let m=s.getConfigField("padding"),T=s.getConfigField("iconSize"),O=T/2,p=T/6,x=p/2;await Promise.all(i.edges().map(async(l)=>{let{source:y,sourceDir:c,sourceArrow:d,sourceGroup:f,target:g,targetDir:r,targetArrow:G,targetGroup:N,label:o}=ht(l),{x:v,y:C}=l[0].sourceEndpoint(),{x:n,y:k}=l[0].midpoint(),{x:Y,y:b}=l[0].targetEndpoint(),U=m+4;if(f)if(Se(c))v+=c==="L"?-U:U;else C+=c==="T"?-U:U+18;if(N)if(Se(r))Y+=r==="L"?-U:U;else b+=r==="T"?-U:U+18;if(!f&&s.getNode(y)?.type==="junction")if(Se(c))v+=c==="L"?O:-O;else C+=c==="T"?O:-O;if(!N&&s.getNode(g)?.type==="junction")if(Se(r))Y+=r==="L"?O:-O;else b+=r==="T"?O:-O;if(l[0]._private.rscratch){let z=e.insert("g");if(z.insert("path").attr("d",`M ${v},${C} L ${n},${k} L${Y},${b} `).attr("class","edge").attr("id",`${E}-${bt(y,g,{prefix:"L"})}`),d){let w=Se(c)?it[c](v,p):v-x,_=_e(c)?it[c](C,p):C-x;z.insert("polygon").attr("points",ft[c](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(G){let w=Se(r)?it[r](Y,p):Y-x,_=_e(r)?it[r](b,p):b-x;z.insert("polygon").attr("points",ft[r](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(o){let w=!lt(c,r)?Se(c)?"X":"Y":"XY",_=0;if(w==="X")_=Math.abs(v-Y);else if(w==="Y")_=Math.abs(C-b)/1.5;else _=Math.abs(v-Y)/2;let q=z.append("g");if(await at(q,o,{useHtmlLabels:!1,width:_,classes:"architecture-service-label"},u()),q.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),w==="X")q.attr("transform","translate("+n+", "+k+")");else if(w==="Y")q.attr("transform","translate("+n+", "+k+") rotate(-90)");else if(w==="XY"){let W=ot(c,r);if(W&&Nt(W)){let oe=q.node().getBoundingClientRect(),[ee,ue]=Dt(W);q.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*ee*ue*45})`);let Ae=q.node().getBoundingClientRect();q.attr("transform",`
|
|
33
|
+
translate(${n}, ${k-oe.height/2})
|
|
34
|
+
translate(${ee*Ae.width/2}, ${ue*Ae.height/2})
|
|
35
|
+
rotate(${-1*ee*ue*45}, 0, ${oe.height/2})
|
|
36
|
+
`)}}}}}))},"drawEdges"),Bt=t(async function(e,i,s,E){let T=s.getConfigField("padding")*0.75,O=s.getConfigField("fontSize"),x=s.getConfigField("iconSize")/2;await Promise.all(i.nodes().map(async(l)=>{let y=We(l);if(y.type==="group"){let{h:c,w:d,x1:f,y1:g}=l.boundingBox(),r=e.append("rect");r.attr("id",`${E}-group-${y.id}`).attr("x",f+x).attr("y",g+x).attr("width",d).attr("height",c).attr("class","node-bkg");let G=e.append("g"),N=f,o=g;if(y.icon){let v=G.append("g");v.html(`<g>${await qt(y.icon,{height:T,width:T,fallbackPrefix:tt.prefix})}</g>`),v.attr("transform","translate("+(N+x+1)+", "+(o+x+1)+")"),N+=T,o+=O/2-1-2}if(y.label){let v=G.append("g");await at(v,y.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},u()),v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),v.attr("transform","translate("+(N+x+4)+", "+(o+x+2)+")")}s.setElementForId(y.id,r)}}))},"drawGroups"),_t=t(async function(e,i,s,E){let m=u();for(let T of s){let O=i.append("g"),p=e.getConfigField("iconSize");if(T.title){let c=O.append("g");await at(c,T.title,{useHtmlLabels:!1,width:p*1.5,classes:"architecture-service-label"},m),c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),c.attr("transform","translate("+p/2+", "+p+")")}let x=O.append("g");if(T.icon)x.html(`<g>${await qt(T.icon,{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await qt("blank",{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);let f=x.append("g").append("foreignObject").attr("width",p).attr("height",p).append("div").attr("class","node-icon-text").attr("style",`height: ${p}px;`).append("div").html(j(T.iconText,m)),g=parseInt(window.getComputedStyle(f.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;f.attr("style",`-webkit-line-clamp: ${Math.floor((p-2)/g)};`)}else x.append("path").attr("class","node-bkg").attr("id",`${E}-node-${T.id}`).attr("d",`M0,${p} V5 Q0,0 5,0 H${p-5} Q${p},0 ${p},5 V${p} Z`);O.attr("id",`${E}-service-${T.id}`).attr("class","architecture-service");let{width:l,height:y}=O.node().getBBox();T.width=l,T.height=y,e.setElementForId(T.id,O)}return 0},"drawServices"),Yt=t(function(e,i,s,E){s.forEach((m)=>{let T=i.append("g"),O=e.getConfigField("iconSize");T.append("g").append("rect").attr("id",`${E}-node-${m.id}`).attr("fill-opacity","0").attr("width",O).attr("height",O),T.attr("class","architecture-junction");let{width:x,height:l}=T._groups[0][0].getBBox();T.width=x,T.height=l,e.setElementForId(m.id,T)})},"drawJunctions");Br([{name:tt.prefix,icons:tt}]);un.use(mt.default);function yt(e,i,s){e.forEach((E)=>{i.add({group:"nodes",data:{type:"service",id:E.id,icon:E.icon,label:E.title,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-service"})})}t(yt,"addServices");function Et(e,i,s){e.forEach((E)=>{i.add({group:"nodes",data:{type:"junction",id:E.id,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-junction"})})}t(Et,"addJunctions");function wt(e,i){i.nodes().map((s)=>{let E=We(s);if(E.type==="group")return;E.x=s.position().x,E.y=s.position().y,e.getElementById(E.id).attr("transform","translate("+(E.x||0)+","+(E.y||0)+")")})}t(wt,"positionNodes");function xt(e,i){e.forEach((s)=>{i.add({group:"nodes",data:{type:"group",id:s.id,icon:s.icon,label:s.title,parent:s.in},classes:"node-group"})})}t(xt,"addGroups");function Tt(e,i){e.forEach((s)=>{let{lhsId:E,rhsId:m,lhsInto:T,lhsGroup:O,rhsInto:p,lhsDir:x,rhsDir:l,rhsGroup:y,title:c}=s,d=lt(s.lhsDir,s.rhsDir)?"segments":"straight",f={id:`${E}-${m}`,label:c,source:E,sourceDir:x,sourceArrow:T,sourceGroup:O,sourceEndpoint:x==="L"?"0 50%":x==="R"?"100% 50%":x==="T"?"50% 0":"50% 100%",target:m,targetDir:l,targetArrow:p,targetGroup:y,targetEndpoint:l==="L"?"0 50%":l==="R"?"100% 50%":l==="T"?"50% 0":"50% 100%"};i.add({group:"edges",data:f,classes:d})})}t(Tt,"addEdges");function At(e,i,s,E=[]){let m=t((d,f)=>{let g=new Map;for(let[r,G]of d.entries()){let N=`${r}`,o=0,v=[...G.entries()];if(v.length===1){g.set(N,v[0][1]);continue}for(let C=0;C<v.length-1;C++)for(let n=C+1;n<v.length;n++){let[k,Y]=v[C],[b,U]=v[n];if(s.get(gt(k,b))===f)g.set(N,[...g.get(N)??[],...Y,...U]);else if(k==="default"||b==="default")g.set(N,[...g.get(N)??[],...Y,...U]);else{let w=`${N}-${o++}`;g.set(w,Y);let _=`${N}-${o++}`;g.set(_,U)}}}return g},"flattenAlignments"),T=i.map((d)=>{let f=new Map,g=new Map;return d.forEach(([r,G],N)=>{let o=e.getNode(N)?.in??"default",v=f.get(G)??new Map;if(!f.has(G))f.set(G,v);let C=g.get(r)??new Map;if(!g.has(r))g.set(r,C);for(let n of[v,C]){let k=n.get(o)??[];if(!n.has(o))n.set(o,k);k.push(N)}}),{horiz:[...m(f,"horizontal").values()].filter((r)=>r.length>1),vert:[...m(g,"vertical").values()].filter((r)=>r.length>1)}}),[O,p]=T.reduce(([d,f],{horiz:g,vert:r})=>[[...d,...g],[...f,...r]],[[],[]]),x=new Set;E.forEach((d)=>d.members.forEach((f)=>x.add(f)));let l=t((d)=>d.filter((f)=>!f.some((g)=>x.has(g))),"dropOverlapping"),y=l(O),c=l(p);return E.forEach((d)=>{if(d.members.length<2)return;if(d.direction==="row")y.push([...d.members]);else c.push([...d.members])}),{horizontal:y,vertical:c}}t(At,"getAlignments");function Lt(e,i,s=[]){let E=[],m=i.getConfigField("iconSize"),T=i.getConfigField("idealEdgeLengthMultiplier"),O=T*m,p=new Set;s.forEach((y)=>{for(let c=0;c<y.members.length-1;c++){let d=y.members[c],f=y.members[c+1];if(p.add(`${d}|${f}`),p.add(`${f}|${d}`),y.direction==="row")E.push({left:d,right:f,gap:O});else E.push({top:d,bottom:f,gap:O})}});let x=t((y)=>`${y[0]},${y[1]}`,"posToStr"),l=t((y)=>y.split(",").map((c)=>parseInt(c)),"strToPos");return e.forEach((y)=>{let c=new Map([...y.entries()].map(([r,G])=>[x(G),r])),d=[x([0,0])],f={},g={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};while(d.length>0){let r=d.shift();if(r){f[r]=1;let G=c.get(r);if(G){let N=l(r);Object.entries(g).forEach(([o,v])=>{let C=x([N[0]+v[0],N[1]+v[1]]),n=c.get(C);if(n&&!f[C]){if(d.push(C),p.has(`${G}|${n}`))return;E.push({[dt[o]]:n,[dt[It(o)]]:G,gap:T*m})}})}}}}),E}t(Lt,"getRelativeConstraints");function Ct(e,i,s,E,m,{spatialMaps:T,groupAlignments:O}){return new Promise((p)=>{let x=h("body").append("div").attr("id","cy").attr("style","display:none"),l=un({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[0.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${m.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${m.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});x.remove(),xt(s,l),yt(e,l,m),Et(i,l,m),Tt(E,l);let y=m.getLayoutHints(),c=At(m,T,O,y),d=Lt(T,m,y),f=m.getConfigField("iconSize"),g=m.getConfigField("idealEdgeLengthMultiplier")*f,r=0.5*f,G=m.getConfigField("edgeElasticity"),N=m.getConfigField("seed"),o=l.layout({name:"fcose",quality:"proof",randomize:m.getConfigField("randomize"),nodeSeparation:m.getConfigField("nodeSeparation"),numIter:m.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(v){let[C,n]=v.connectedNodes(),{parent:k}=We(C),{parent:Y}=We(n);return k===Y?g:r},edgeElasticity(v){let[C,n]=v.connectedNodes(),{parent:k}=We(C),{parent:Y}=We(n);return k===Y?G:0.001},alignmentConstraint:c,relativePlacementConstraint:d});o.one("layoutstop",()=>{function v(C,n,k,Y){let b,U,{x:z,y:w}=C,{x:_,y:q}=n;U=(Y-w+(z-k)*(w-q)/(z-_))/Math.sqrt(1+Math.pow((w-q)/(z-_),2)),b=Math.sqrt(Math.pow(Y-w,2)+Math.pow(k-z,2)-Math.pow(U,2));let W=Math.sqrt(Math.pow(_-z,2)+Math.pow(q-w,2));b=b/W;let oe=(_-z)*(Y-w)-(q-w)*(k-z);switch(!0){case oe>=0:oe=1;break;case oe<0:oe=-1;break}let ee=(_-z)*(k-z)+(q-w)*(Y-w);switch(!0){case ee>=0:ee=1;break;case ee<0:ee=-1;break}return U=Math.abs(U)*oe,b=b*ee,{distances:U,weights:b}}t(v,"getSegmentWeights"),l.startBatch();for(let C of Object.values(l.edges()))if(C.data?.()){let{x:n,y:k}=C.source().position(),{x:Y,y:b}=C.target().position();if(n!==Y&&k!==b){let U=C.sourceEndpoint(),z=C.targetEndpoint(),{sourceDir:w}=ht(C),[_,q]=_e(w)?[U.x,z.y]:[z.x,U.y],{weights:W,distances:oe}=v(U,z,_,q);C.style("segment-distances",oe),C.style("segment-weights",W)}}l.endBatch(),st(N,()=>o.run())});try{st(N,()=>o.run())}catch(v){if(v instanceof RangeError&&v.message.includes("Invalid array length"))throw Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.");throw v}l.ready((v)=>{a.info("Ready",v),p(l)})})}t(Ct,"layoutArchitecture");var Ut=t(async(e,i,s,E)=>{let m=E.db;m.setDiagramId(i);let T=m.getServices(),O=m.getJunctions(),p=m.getGroups(),x=m.getEdges(),l=m.getDataStructures(),y=Q(i),c=y.append("g");c.attr("class","architecture-edges");let d=y.append("g");d.attr("class","architecture-services");let f=y.append("g");f.attr("class","architecture-groups"),await _t(m,d,T,i),Yt(m,d,O,i);let g=await Ct(T,O,p,x,m,l);await zt(c,g,m,i),await Bt(f,g,m,i),wt(m,g),sn(void 0,y,m.getConfigField("padding"),m.getConfigField("useMaxWidth"))},"draw"),Ht={draw:Ut},ir={parser:pt,get db(){return new vt},renderer:Ht,styles:Gt};export{ir as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ee,e,n,y}from"./chunk-qjg6dw46.js";import{jn,Hr}from"./chunk-kedjfh66.js";import"./chunk-recfg8af.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=y(),r=ee(),t=Hr({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(jn,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Sa}from"./chunk-53cg6pxm.js";export{Sa as createRailroadPegServices};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ee,r,e,n,y,ye,oe}from"./chunk-qjg6dw46.js";import{jn,Hr}from"./chunk-kedjfh66.js";import"./chunk-recfg8af.js";function B({connection:p}){let{Button:l,ModelIcon:u,ModelSelector:f,SettingGroup:d,SettingRow:h,Switch:v,cn:x}=y(),c=ee(),[S,b]=r(""),s=Hr({connection:p,endpoint:"/api/plugins/agents/settings",loadError:"读取理事会设置失败",toBody:(t)=>({schemaVersion:1,models:t.models,research:t.research}),differs:(t,i)=>JSON.stringify(t.models)!==JSON.stringify(i.models)||t.research!==i.research}),N=(t)=>{if(!t)return;s.edit((i)=>{if(i.models.includes(t)||i.models.length>=8)return i;return{...i,models:[...i.models,t]}}),b("")},k=(t)=>{s.edit((i)=>({...i,models:i.models.filter((o)=>o!==t)}))},a=s.settings?.models??[];return n("form",{id:c,onSubmit:s.save,className:"min-w-0 space-y-5",children:[e(d,{title:"参会模型",description:`已选 ${a.length}/8,至少 2 个模型参与群聊交叉审查`,children:n("ul",{className:"divide-y divide-line/60",children:[a.map((t)=>{let i=s.modelList.models.find((C)=>C.id===t),o=t.indexOf("/"),m=o<0?"":t.slice(0,o),g=i?.name??(o<0?t:t.slice(o+1));return n("li",{title:t,className:"group flex min-h-11 items-center gap-3",children:[e("span",{className:"flex size-7 shrink-0 items-center justify-center rounded-lg bg-raised",children:e(u,{modelID:t,className:"size-4",size:16})}),e("span",{className:"min-w-0 flex-1 truncate text-[13px] text-ink",children:g}),m&&e("span",{className:"max-w-32 shrink-0 truncate text-xs text-faint",children:m}),e(l,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.saving,"aria-label":`移除 ${g}`,onClick:()=>k(t),className:"text-faint opacity-40 group-hover:opacity-100 hover:text-danger focus-visible:opacity-100",children:e(oe,{className:"size-3.5"})})]},t)}),a.length<8&&n("li",{className:"flex items-center gap-2",children:[e("div",{className:"min-w-0 flex-1",children:e(f,{variant:"add",models:{models:s.modelList.models.filter((t)=>!a.includes(t.id))},value:S,onChange:N})}),e(l,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.refreshing||s.saving,"aria-label":"刷新模型列表",title:"刷新模型列表",onClick:()=>void s.load(!0),className:"text-faint hover:text-ink",children:e(ye,{className:x("size-3.5",s.refreshing&&"animate-spin")})})]})]})}),e(d,{title:"流程",children:e(h,{title:"调研阶段",description:"表态前各自先查证,关闭后直接发表意见",children:e(v,{label:"调研阶段",checked:s.settings?.research??!0,disabled:s.loading||s.saving,onCheckedChange:(t)=>{s.edit((i)=>({...i,research:t}))}})})}),e(jn,{formID:c,notice:s.notice,dirty:s.dirty,busy:s.loading||s.saving,saving:s.saving,onReset:s.reset})]})}export{B as CouncilSettingsSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t,a,G}from"./chunk-v2bkkhb8.js";var Le=t((e,i,o,h)=>{e.attr("class",o);let{width:r,height:n,x:w,y:x}=u(e,i);G(e,n,r,h);let c=m(w,x,r,n,i);e.attr("viewBox",c),a.debug(`viewBox configured: ${c} with padding: ${i}`)},"setupViewPortForSVG"),u=t((e,i)=>{let o=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:o.width+i*2,height:o.height+i*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),m=t((e,i,o,h,r)=>`${e-r} ${i-r} ${o} ${h}`,"createViewBox");
|
|
2
|
+
export{Le};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import{t,a,ce,m,f,B,S,ul,j,u,ze,Ue}from"./chunk-v2bkkhb8.js";import{Fe}from"./chunk-1ghnag5v.js";import{Le}from"./chunk-vhpzp7zd.js";var ye=new Uint8Array(16);function Z(){return crypto.getRandomValues(ye)}var x=[];for(let e=0;e<256;++e)x.push((e+256).toString(16).slice(1));function he(e,i=0){return(x[e[i+0]]+x[e[i+1]]+x[e[i+2]]+x[e[i+3]]+"-"+x[e[i+4]]+x[e[i+5]]+"-"+x[e[i+6]]+x[e[i+7]]+"-"+x[e[i+8]]+x[e[i+9]]+"-"+x[e[i+10]]+x[e[i+11]]+x[e[i+12]]+x[e[i+13]]+x[e[i+14]]+x[e[i+15]]).toLowerCase()}function ke(e,i,d){if(!i&&!e&&crypto.randomUUID)return crypto.randomUUID();return be(e,i,d)}function be(e,i,d){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,i){if(d=d||0,d<0||d+16>i.length)throw RangeError(`UUID byte range ${d}:${d+15} is out of buffer bounds`);for(let n=0;n<16;++n)i[d+n]=l[n];return i}return he(l)}var ee=ke;var te=function(){var e=t(function(I,o,r,c){for(r=r||{},c=I.length;c--;r[I[c]]=o);return r},"o"),i=[1,4],d=[1,13],l=[1,12],n=[1,15],g=[1,16],k=[1,20],E=[1,19],N=[6,7,8],R=[1,26],U=[1,24],M=[1,25],p=[6,7,11],P=[1,6,13,15,16,19,22],ne=[1,33],ie=[1,34],V=[1,6,7,11,13,15,16,19,22],z={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(o,r,c,h,b,s,F){var y=s.length-1;switch(b){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",s[y].id),h.addNode(s[y-1].length,s[y].id,s[y].descr,s[y].type);break;case 16:h.getLogger().trace("Icon: ",s[y]),h.decorateNode({icon:s[y]});break;case 17:case 21:h.decorateNode({class:s[y]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",s[y].id),h.addNode(0,s[y].id,s[y].descr,s[y].type);break;case 20:h.decorateNode({icon:s[y]});break;case 25:h.getLogger().trace("node found ..",s[y-2]),this.$={id:s[y-1],descr:s[y-1],type:h.getType(s[y-2],s[y])};break;case 26:this.$={id:s[y],descr:s[y],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",s[y-3]),this.$={id:s[y-3],descr:s[y-1],type:h.getType(s[y-2],s[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:i},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:i},{6:d,7:[1,10],9:9,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(N,[2,3]),{1:[2,2]},e(N,[2,4]),e(N,[2,5]),{1:[2,6],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:d,9:22,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:R,7:U,10:23,11:M},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:R,7:U,10:32,11:M},{1:[2,7],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(P,[2,14],{7:ne,11:ie}),e(V,[2,8]),e(V,[2,9]),e(V,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(P,[2,13],{7:ne,11:ie}),e(V,[2,11]),e(V,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(o,r){if(r.recoverable)this.trace(o);else{var c=Error(o);throw c.hash=r,c}},"parseError"),parse:t(function(o){var r=this,c=[0],h=[],b=[null],s=[],F=this.table,y="",H=0,re=0,se=0,ue=2,oe=1,pe=s.slice.call(arguments,1),_=Object.create(this.lexer),C={yy:{}};for(var Y in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Y))C.yy[Y]=this.yy[Y];if(_.setInput(o,C.yy),C.yy.lexer=_,C.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var q=_.yylloc;s.push(q);var fe=_.options&&_.options.ranges;if(typeof C.yy.parseError==="function")this.parseError=C.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(v){c.length=c.length-2*v,b.length=b.length-v,s.length=s.length-v}t(me,"popStack");function ae(){var v=h.pop()||_.lex()||oe;if(typeof v!=="number"){if(v instanceof Array)h=v,v=h.pop();v=r.symbols_[v]||v}return v}t(ae,"lex");var L,J,w,D,Oe,K,A={},W,T,le,X;while(!0){if(w=c[c.length-1],this.defaultActions[w])D=this.defaultActions[w];else{if(L===null||typeof L>"u")L=ae();D=F[w]&&F[w][L]}if(typeof D>"u"||!D.length||!D[0]){var Q="";X=[];for(W in F[w])if(this.terminals_[W]&&W>ue)X.push("'"+this.terminals_[W]+"'");if(_.showPosition)Q="Parse error on line "+(H+1)+`:
|
|
2
|
+
`+_.showPosition()+`
|
|
3
|
+
Expecting `+X.join(", ")+", got '"+(this.terminals_[L]||L)+"'";else Q="Parse error on line "+(H+1)+": Unexpected "+(L==oe?"end of input":"'"+(this.terminals_[L]||L)+"'");this.parseError(Q,{text:_.match,token:this.terminals_[L]||L,line:_.yylineno,loc:q,expected:X})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+w+", token: "+L);switch(D[0]){case 1:if(c.push(L),b.push(_.yytext),s.push(_.yylloc),c.push(D[1]),L=null,!J){if(re=_.yyleng,y=_.yytext,H=_.yylineno,q=_.yylloc,se>0)se--}else L=J,J=null;break;case 2:if(T=this.productions_[D[1]][1],A.$=b[b.length-T],A._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},fe)A._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]];if(K=this.performAction.apply(A,[y,re,H,C.yy,D[1],b,s].concat(pe)),typeof K<"u")return K;if(T)c=c.slice(0,-1*T*2),b=b.slice(0,-1*T),s=s.slice(0,-1*T);c.push(this.productions_[D[1]][0]),b.push(A.$),s.push(A._$),le=F[c[c.length-2]][c[c.length-1]],c.push(le);break;case 3:return!0}}return!0},"parse")},ge=function(){var I={EOF:1,parseError:t(function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw Error(r)},"parseError"),setInput:t(function(o,r){if(this.yy=r||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var r=o.match(/(?:\r\n?|\n).*/g);if(r)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var r=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var h=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),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===h.length?this.yylloc.first_column:0)+h[h.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-r];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),r=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+r+"^"},"showPosition"),test_match:t(function(o,r){var c,h,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(h=o[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in b)this[s]=b[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,r,c,h;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var s=0;s<b.length;s++)if(c=this._input.match(this.rules[b[s]]),c&&(!r||c[0].length>r[0].length)){if(r=c,h=s,this.options.backtrack_lexer)if(o=this.test_match(c,b[s]),o!==!1)return o;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(o=this.test_match(r,b[h]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var r=this.next();if(r)return r;else return this.lex()},"lex"),begin:t(function(r){this.conditionStack.push(r)},"begin"),popState:t(function(){var r=this.conditionStack.length-1;if(r>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(r){if(r=this.conditionStack.length-1-Math.abs(r||0),r>=0)return this.conditionStack[r];else return"INITIAL"},"topState"),pushState:t(function(r){this.begin(r)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(r,c,h,b){var s=b;switch(h){case 0:return r.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:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return r.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:r.getLogger().trace("end icon"),this.popState();break;case 10:return r.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return r.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return r.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:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return r.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),r.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return r.getLogger().trace("Long description:",c.yytext),20;break;case 36:return r.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 I}();z.lexer=ge;function G(){this.yy={}}return t(G,"Parser"),G.prototype=z,z.Parser=G,new G}();te.parser=te;var Ee=te,de=12,O={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=O,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 i=this.nodes.length-1;i>=0;i--)if(this.nodes[i].level<e)return this.nodes[i];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,i,d,l){a.info("addNode",e,i,d,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 g=u(),k=g.mindmap?.padding??B.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:j(i,g),level:e,descr:j(d,g),type:l,children:[],width:g.mindmap?.maxNodeWidth??B.mindmap.maxNodeWidth,padding:k,isRoot:n},N=this.getParent(e);if(N)N.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,i){switch(a.debug("In get type",e,i),e){case"[":return this.nodeType.RECT;case"(":return i===")"?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,i){this.elements[e]=i}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let i=u(),d=this.nodes[this.nodes.length-1];if(e.icon)d.icon=j(e.icon,i);if(e.class)d.class=j(e.class,i)}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,i,d=0,l=!1){if(e.level===0)e.section=void 0;else e.section=l?(d-1)%(de-1):i;if(e.children)for(let[n,g]of e.children.entries()){let k=e.level===0?n%(de-1):i;this.assignSections(g,k,d+1,l)}}flattenNodes(e,i){let d=u(),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(" "),g=t((E)=>{let R=(d.theme?.toLowerCase()??"").includes("redux");switch(E){case O.CIRCLE:return"mindmapCircle";case O.RECT:return"rect";case O.ROUNDED_RECT:return"rounded";case O.CLOUD:return"cloud";case O.BANG:return"bang";case O.HEXAGON:return"hexagon";case O.DEFAULT:return R?"rounded":"defaultMindmapNode";case O.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:g(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:d.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(i.push(k),e.children)for(let E of e.children)this.flattenNodes(E,i)}generateEdges(e,i){if(!e.children)return;let d=u();for(let l of e.children){let n="edge";if(l.section!==void 0)n+=` section-edge-${l.section}`;let g=e.level+1;n+=` edge-depth-${g}`;let k={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:d.look,classes:n,depth:e.level,section:l.section};i.push(k),this.generateEdges(l,i)}}getData(){let e=this.getMindmap(),i=u(),l=ul().layout!==void 0,n=i;if(!l)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};a.debug("getData: mindmapRoot",e,i),this.assignSections(e,void 0,0,i.mindmap?.colorBy==="depth");let g=[],k=[];this.flattenNodes(e,g),this.generateEdges(e,k),a.debug(`getData: processed ${g.length} nodes and ${k.length} edges`);let E=new Map;for(let N of g)E.set(N.id,{shape:N.shape,width:N.width,height:N.height,padding:N.padding});return{nodes:g,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 a}},Se=t(async(e,i,d,l)=>{a.debug(`Rendering mindmap diagram
|
|
7
|
+
`+e);let n=l.db,g=n.getData(),k=Fe(i,g.config.securityLevel);if(g.type=l.type,g.layoutAlgorithm=Ue(g.config.layout,{fallback:"cose-bilkent"}),g.diagramId=i,!n.getMindmap())return;g.nodes.forEach((p)=>{if(p.shape==="rounded")p.radius=15,p.taper=15,p.stroke="none",p.width=0,p.padding=15;else if(p.shape==="circle")p.padding=10;else if(p.shape==="rect")p.width=0,p.padding=10;else if(p.shape==="hexagon")p.width=0,p.height=0}),await ze(g,k);let{themeVariables:N}=S(),{useGradient:R,gradientStart:U,gradientStop:M}=N;if(R&&U&&M){let p=k.attr("id"),P=k.append("defs").append("linearGradient").attr("id",`${p}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");P.append("stop").attr("offset","0%").attr("stop-color",U).attr("stop-opacity",1),P.append("stop").attr("offset","100%").attr("stop-color",M).attr("stop-opacity",1)}Le(k,g.config.mindmap?.padding??B.mindmap.padding,"mindmapDiagram",g.config.mindmap?.useMaxWidth??B.mindmap.useMaxWidth)},"draw"),xe={draw:Se},Ne=t((e)=>{let{theme:i,look:d}=e,l="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],ce(e["lineColor"+n]))e["lineColor"+n]=m(e["lineColor"+n],20);else e["lineColor"+n]=f(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let g=""+(d==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=i==="redux"||i==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(i==="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: ${g};
|
|
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: ${i==="redux"||i==="redux-dark"||i==="neutral"?e.mainBkg:e["cScale"+n]};
|
|
40
|
+
stroke: ${i==="redux"||i==="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: ${i?.includes("redux")||i==="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"),De=t((e,i,d)=>{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(${i}-gradient);
|
|
53
|
+
fill: ${d};
|
|
54
|
+
}
|
|
55
|
+
.section-${n-1} line {
|
|
56
|
+
stroke-width: 0;
|
|
57
|
+
}`;return l},"genGradient"),ve=t((e)=>{let{theme:i}=e,d=e.svgId,l=i?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${d}-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: ${i?.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: ${i?.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&&d&&e.mainBkg?De(e.THEME_COLOR_LIMIT,d,e.mainBkg):""}
|
|
98
|
+
`},"getStyles"),Te=ve,It={get db(){return new _e},renderer:xe,parser:Ee,styles:Te};export{It as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{e,n,y,Be}from"./chunk-qjg6dw46.js";function ui(a){let t=a.filter((l)=>l.closedAt===null);if(!t.length)return[];return[{label:"项目",options:t.map((l)=>({value:l.id,label:l.name,description:l.directory}))}]}function di(a){let{Input:t}=y();return n("div",{className:"relative mb-3 min-w-0",children:[e(Be,{"aria-hidden":!0,className:"pointer-events-none absolute top-3 left-3 size-4 text-faint"}),e(t,{type:"search","aria-label":a.label,placeholder:a.placeholder,value:a.value,onChange:(l)=>a.onChange(l.target.value),className:"h-10 min-w-0 pl-9"})]})}function pi(){return e("div",{role:"status","aria-label":"正在加载",className:"divide-y divide-line",children:[0,1,2].map((a)=>n("div",{className:"h-16 space-y-2 px-4 py-3",children:[e("div",{className:"h-3 w-24 animate-pulse rounded bg-raised"}),e("div",{className:"h-3 w-2/3 animate-pulse rounded bg-raised"})]},a))})}
|
|
2
|
+
export{ui,di,pi};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
� 6N�c��I:S�={Aי�g��',٤t._���?>�Z��o@�J��u��Φ��!���k�!��`2�Rq�r�����?�Z�=�<�*��aTq��7]$
|
|
2
|
+
�}Bd���V�\�����+�E����l�w�nUfJ��t^W�TE!�0R�"ňk���������{�N��i����¨r�:×��;�E9�������ݒSG��^��
|
|
3
|
+
}� 1� �E�3T�-Jޭ���+'��3���Dy�ʖ\FZh���Cm��H���A�D��F�y�T�(U$S�ԩKE���:�FQ�|�_`�L�U,�DiXRk��t�C��Us1OB�I��B^��
|
|
Binary file
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import{wr}from"./chunk-cmhxtckb.js";import{re}from"./chunk-mwfrxgbs.js";import{t,a,B,S,k,A,R,I,L,D,P,M,u,za,h,qs,X,F}from"./chunk-v2bkkhb8.js";import{fe}from"./chunk-53cg6pxm.js";var C={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=B.gitGraph,V=t(()=>X({...Ce,...S().gitGraph}),"getConfig"),m=new wr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:o}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:o}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function se(){return qs({length:7})}t(se,"getID");function pe(e,r){let o=Object.create(null);return e.reduce((c,i)=>{let l=r(i);if(!o[l])o[l]=!0,c.push(i);return c},[])}t(pe,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){a.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){a.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:o,type:c,tags:i}=e;a.info("commit",r,o,c,i),a.debug("Entering commit:",r,o,c,i);let l=V();o=k.sanitizeText(o,l),r=k.sanitizeText(r,l),i=i?.map((s)=>k.sanitizeText(s,l));let n={id:o?o:m.records.seq+"-"+se(),message:r,seq:m.records.seq++,type:c??C.NORMAL,tags:i??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=n,a.info("main branch",l.mainBranchName),m.records.commits.has(n.id))a.warn(`Commit ID ${n.id} already exists`);m.records.commits.set(n.id,n),m.records.branches.set(m.records.currBranch,n.id),a.debug("in pushCommit "+n.id)},"commit"),Me=t(function(e){let{name:r,order:o}=e;if(r=k.sanitizeText(r,V()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:o}),ye(r),a.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:o,type:c,tags:i}=e,l=V();if(r=k.sanitizeText(r,l),o)o=k.sanitizeText(o,l);let n=m.records.branches.get(m.records.currBranch),s=m.records.branches.get(r),g=n?m.records.commits.get(n):void 0,p=s?m.records.commits.get(s):void 0;if(g&&p&&g.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let d=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(g===void 0||!g){let d=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!m.records.branches.has(r)){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(p===void 0||!p){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if(g===p){let d=Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(o&&m.records.commits.has(o)){let d=Error('Incorrect usage of "merge". Commit with id:'+o+" already exists, use different custom id");throw d.hash={text:`merge ${r} ${o} ${c} ${i?.join(" ")}`,token:`merge ${r} ${o} ${c} ${i?.join(" ")}`,expected:[`merge ${r} ${o}_UNIQUE ${c} ${i?.join(" ")}`]},d}let y=s?s:"",f={id:o||`${m.records.seq}-${se()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,y],branch:m.records.currBranch,type:C.MERGE,customType:c,customId:o?!0:!1,tags:i??[]};m.records.head=f,m.records.commits.set(f.id,f),m.records.branches.set(m.records.currBranch,f.id),a.debug(m.records.branches),a.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:o,tags:c,parent:i}=e;a.debug("Entering cherryPick:",r,o,c);let l=V();if(r=k.sanitizeText(r,l),o=k.sanitizeText(o,l),c=c?.map((g)=>k.sanitizeText(g,l)),i=k.sanitizeText(i,l),!r||!m.records.commits.has(r)){let g=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw g.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},g}let n=m.records.commits.get(r);if(n===void 0||!n)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(i&&!(Array.isArray(n.parents)&&n.parents.includes(i)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let s=n.branch;if(n.type===C.MERGE&&!i)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!o||!m.records.commits.has(o)){if(s===m.records.currBranch){let f=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let g=m.records.branches.get(m.records.currBranch);if(g===void 0||!g){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let p=m.records.commits.get(g);if(p===void 0||!p){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let y={id:m.records.seq+"-"+se(),message:`cherry-picked ${n?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,n.id],branch:m.records.currBranch,type:C.CHERRY_PICK,tags:c?c.filter(Boolean):[`cherry-pick:${n.id}${n.type===C.MERGE?`|parent:${i}`:""}`]};m.records.head=y,m.records.commits.set(y.id,y),m.records.branches.set(m.records.currBranch,y.id),a.debug(m.records.branches),a.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=k.sanitizeText(e,V()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function de(e,r,o){let c=e.indexOf(r);if(c===-1)e.push(o);else e.splice(c,1,o)}t(de,"upsert");function le(e){let r=e.reduce((i,l)=>{if(i.seq>l.seq)return i;return l},e[0]),o="";e.forEach(function(i){if(i===r)o+="\t*";else o+="\t|"});let c=[o,r.id,r.seq];for(let i in m.records.branches)if(m.records.branches.get(i)===r.id)c.push(i);if(a.debug(c.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let i=m.records.commits.get(r.parents[0]);if(de(e,r,i),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let i=m.records.commits.get(r.parents[0]);de(e,r,i)}e=pe(e,(i)=>i.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){a.debug(m.records.commits);let e=xe()[0];le([e])},"prettyPrint"),Ie=t(function(){m.reset(),A()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,o)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${o}`)}}).sort((r,o)=>(r.order??0)-(o.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){a.debug(r.id)}),e.sort((r,o)=>r.seq-o.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:C,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:R,getAccTitle:I,getAccDescription:D,setAccDescription:L,setDiagramTitle:P,getDiagramTitle:M},He=t((e,r)=>{if(re(e,r),e.dir)r.setDirection(e.dir);for(let o of e.statements)Se(o,r)},"populate"),Se=t((e,r)=>{let c={Commit:t((i)=>r.commit(Ne(i)),"Commit"),Branch:t((i)=>r.branch(Fe(i)),"Branch"),Merge:t((i)=>r.merge(ze(i)),"Merge"),Checkout:t((i)=>r.checkout(Ye(i)),"Checkout"),CherryPicking:t((i)=>r.cherryPick(je(i)),"CherryPicking")}[e.$type];if(c)c(e);else a.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?C[e.type]:C.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?C[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await fe("gitGraph",e);a.debug(r),He(r,ue)},"parse")},Y=10,j=40,q=4,N=2,K=8,ne=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),he=12,me=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,o=!1)=>{if(o&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),_=new Map,G=new Map,ae=30,Q=new Map,oe=[],z=0,b="LR",Ve=t(()=>{_.clear(),G.clear(),Q.clear(),z=0,oe=[],b="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((c)=>{let i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=c.trim(),r.appendChild(i)}),r},"drawText"),we=t((e)=>{let r,o,c;if(b==="BT")o=t((i,l)=>i<=l,"comparisonFunc"),c=1/0;else o=t((i,l)=>i>=l,"comparisonFunc"),c=0;return e.forEach((i)=>{let l=b==="TB"||b=="BT"?G.get(i)?.y:G.get(i)?.x;if(l!==void 0&&o(l,c))r=i,c=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",o=1/0;return e.forEach((c)=>{let i=G.get(c).y;if(i<=o)r=c,o=i}),r||void 0},"findClosestParentBT"),Xe=t((e,r,o)=>{let c=o,i=o,l=[];e.forEach((n)=>{let s=r.get(n);if(!s)throw Error(`Commit not found for key ${n}`);if(s.parents.length)c=Qe(s),i=Math.max(c,i);else l.push(s);et(s,c)}),c=i,l.forEach((n)=>{tt(n,c,o)}),e.forEach((n)=>{let s=r.get(n);if(s?.parents.length){let g=Ze(s.parents);if(c=G.get(g).y-j,c<=i)i=c;let p=_.get(s.branch).pos,y=c-Y;G.set(s.id,{x:p,y})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((c)=>c!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let o=G.get(r)?.y;if(o===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return o},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let o=_.get(e.branch);if(!o)throw Error(`Branch not found for commit ${e.id}`);let c=o.pos,i=r+Y;return G.set(e.id,{x:c,y:i}),{x:c,y:i}},"setCommitPosition"),tt=t((e,r,o)=>{let c=_.get(e.branch);if(!c)throw Error(`Branch not found for commit ${e.id}`);let i=r+o,l=c.pos;G.set(e.id,{x:l,y:i})},"setRootPosition"),rt=t((e,r,o,c,i,l)=>{let{theme:n}=u(),s=ne.has(n??""),g=me.has(n??""),p=Ue.has(n??"");if(l===C.HIGHLIGHT)e.append("rect").attr("x",o.x-10+(s?3:0)).attr("y",o.y-10+(s?3:0)).attr("width",s?14:20).attr("height",s?14:20).attr("class",`commit ${r.id} commit-highlight${U(i,K,g)} ${c}-outer`),e.append("rect").attr("x",o.x-6+(s?2:0)).attr("y",o.y-6+(s?2:0)).attr("width",s?8:12).attr("height",s?8:12).attr("class",`commit ${r.id} commit${U(i,K,g)} ${c}-inner`);else if(l===C.CHERRY_PICK)e.append("circle").attr("cx",o.x).attr("cy",o.y).attr("r",s?7:10).attr("class",`commit ${r.id} ${c}`),e.append("circle").attr("cx",o.x-3).attr("cy",o.y+2).attr("r",s?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("circle").attr("cx",o.x+3).attr("cy",o.y+2).attr("r",s?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("line").attr("x1",o.x+3).attr("y1",o.y+1).attr("x2",o.x).attr("y2",o.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("line").attr("x1",o.x-3).attr("y1",o.y+1).attr("x2",o.x).attr("y2",o.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`);else{let y=e.append("circle");if(y.attr("cx",o.x),y.attr("cy",o.y),y.attr("r",s?7:10),y.attr("class",`commit ${r.id} commit${U(i,K,g)}`),l===C.MERGE){let f=e.append("circle");f.attr("cx",o.x),f.attr("cy",o.y),f.attr("r",s?5:6),f.attr("class",`commit ${c} ${r.id} commit${U(i,K,g)}`)}if(l===C.REVERSE){let f=e.append("path"),d=s?4:5;f.attr("d",`M ${o.x-d},${o.y-d}L${o.x+d},${o.y+d}M${o.x-d},${o.y+d}L${o.x+d},${o.y-d}`).attr("class",`commit ${c} ${r.id} commit${U(i,K,g)}`)}}},"drawCommitBullet"),at=t((e,r,o,c,i)=>{if(r.type!==C.CHERRY_PICK&&(r.customId&&r.type===C.MERGE||r.type!==C.MERGE)&&i.showCommitLabel){let l=e.append("g"),n=l.insert("rect").attr("class","commit-label-bkg"),s=l.append("text").attr("x",c).attr("y",o.y+25).attr("class","commit-label").text(r.id),g=s.node()?.getBBox();if(g){if(n.attr("x",o.posWithOffset-g.width/2-N).attr("y",o.y+13.5).attr("width",g.width+2*N).attr("height",g.height+2*N),b==="TB"||b==="BT")n.attr("x",o.x-(g.width+4*q+5)).attr("y",o.y-12),s.attr("x",o.x-(g.width+4*q)).attr("y",o.y+g.height-12);else s.attr("x",o.posWithOffset-g.width/2);if(i.rotateCommitLabel)if(b==="TB"||b==="BT")s.attr("transform","rotate(-45, "+o.x+", "+o.y+")"),n.attr("transform","rotate(-45, "+o.x+", "+o.y+")");else{let p=-7.5-(g.width+10)/25*9.5,y=10+g.width/25*8.5;l.attr("transform","translate("+p+", "+y+") rotate(-45, "+c+", "+o.y+")")}}}},"drawCommitLabel"),ot=t((e,r,o,c)=>{if(r.tags.length>0){let i=0,l=0,n=0,s=[];for(let g of r.tags.reverse()){let p=e.insert("polygon"),y=e.append("circle"),f=e.append("text").attr("y",o.y-16-i).attr("class","tag-label").text(g),d=f.node()?.getBBox();if(!d)throw Error("Tag bbox not found");l=Math.max(l,d.width),n=Math.max(n,d.height),f.attr("x",o.posWithOffset-d.width/2),s.push({tag:f,hole:y,rect:p,yOffset:i}),i+=20}for(let{tag:g,hole:p,rect:y,yOffset:f}of s){let d=n/2,w=o.y-19.2-f;if(y.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
+
${c-l/2-q/2},${w+N}
|
|
3
|
+
${c-l/2-q/2},${w-N}
|
|
4
|
+
${o.posWithOffset-l/2-q},${w-d-N}
|
|
5
|
+
${o.posWithOffset+l/2+q},${w-d-N}
|
|
6
|
+
${o.posWithOffset+l/2+q},${w+d+N}
|
|
7
|
+
${o.posWithOffset-l/2-q},${w+d+N}`),p.attr("cy",w).attr("cx",c-l/2+q/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let x=c+f;y.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
+
${o.x},${x+2}
|
|
9
|
+
${o.x},${x-2}
|
|
10
|
+
${o.x+Y},${x-d-2}
|
|
11
|
+
${o.x+Y+l+4},${x-d-2}
|
|
12
|
+
${o.x+Y+l+4},${x+d+2}
|
|
13
|
+
${o.x+Y},${x+d+2}`).attr("transform","translate(12,12) rotate(45, "+o.x+","+c+")"),p.attr("cx",o.x+q/2).attr("cy",x).attr("transform","translate(12,12) rotate(45, "+o.x+","+c+")"),g.attr("x",o.x+5).attr("y",x+3).attr("transform","translate(14,14) rotate(45, "+o.x+","+c+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case C.NORMAL:return"commit-normal";case C.REVERSE:return"commit-reverse";case C.HIGHLIGHT:return"commit-highlight";case C.MERGE:return"commit-merge";case C.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,o,c)=>{let i={x:0,y:0};if(e.parents.length>0){let l=we(e.parents);if(l){let n=c.get(l)??i;if(r==="TB")return n.y+j;else if(r==="BT")return(c.get(e.id)??i).y-j;else return n.x+j}}else if(r==="TB")return ae;else if(r==="BT")return(c.get(e.id)??i).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,o)=>{let c=b==="BT"&&o?r:r+Y,i=_.get(e.branch)?.pos,l=b==="TB"||b==="BT"?_.get(e.branch)?.pos:c;if(l===void 0||i===void 0)throw Error(`Position were undefined for commit ${e.id}`);let n=ne.has(u().theme??""),s=b==="TB"||b==="BT"?c:i+(n?he/2+1:-2);return{x:l,y:s,posWithOffset:c}},"getCommitPosition"),$e=t((e,r,o,c)=>{let i=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),n=b==="TB"||b==="BT"?ae:0,s=[...r.keys()],g=c.parallelCommits??!1,p=t((f,d)=>{let w=r.get(f)?.seq,x=r.get(d)?.seq;return w!==void 0&&x!==void 0?w-x:0},"sortKeys"),y=s.sort(p);if(b==="BT"){if(g)Xe(y,r,n);y=y.reverse()}y.forEach((f)=>{let d=r.get(f);if(!d)throw Error(`Commit not found for key ${f}`);if(g)n=nt(d,b,n,G);let w=ct(d,n,g);if(o){let x=st(d),v=d.customType??d.type,E=_.get(d.branch)?.index??0;rt(i,d,w,x,E,v),at(l,d,w,n,c),ot(l,d,w,n)}if(b==="TB"||b==="BT")G.set(d.id,{x:w.x,y:w.posWithOffset});else G.set(d.id,{x:w.posWithOffset,y:w.y});if(n=b==="BT"&&g?n+j:n+j+Y,n>z)z=n})},"drawCommits"),it=t((e,r,o,c,i)=>{let n=(b==="TB"||b==="BT"?o.x<c.x:o.y<c.y)?r.branch:e.branch,s=t((p)=>p.branch===n,"isOnBranchToGetCurve"),g=t((p)=>p.seq>e.seq&&p.seq<r.seq,"isBetweenCommits");return[...i.values()].some((p)=>g(p)&&s(p))},"shouldRerouteArrow"),ee=t((e,r,o=0)=>{let c=e+Math.abs(e-r)/2;if(o>5)return c;if(oe.every((n)=>Math.abs(n-c)>=10))return oe.push(c),c;let l=Math.abs(e-r);return ee(e,r-l/5,o+1)},"findLane"),dt=t((e,r,o,c)=>{let{theme:i}=u(),l=me.has(i??""),n=G.get(r.id),s=G.get(o.id);if(n===void 0||s===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${o.id}`);let g=it(r,o,n,s,c),p="",y="",f=0,d=0,w=_.get(o.branch)?.index;if(o.type===C.MERGE&&r.id!==o.parents[0])w=_.get(r.branch)?.index;let x;if(g){p="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",f=10,d=10;let v=n.y<s.y?ee(n.y,s.y):ee(s.y,n.y),E=n.x<s.x?ee(n.x,s.x):ee(s.x,n.x);if(b==="TB")if(n.x<s.x)x=`M ${n.x} ${n.y} L ${E-f} ${n.y} ${y} ${E} ${n.y+d} L ${E} ${s.y-f} ${p} ${E+d} ${s.y} L ${s.x} ${s.y}`;else w=_.get(r.branch)?.index,x=`M ${n.x} ${n.y} L ${E+f} ${n.y} ${p} ${E} ${n.y+d} L ${E} ${s.y-f} ${y} ${E-d} ${s.y} L ${s.x} ${s.y}`;else if(b==="BT")if(n.x<s.x)x=`M ${n.x} ${n.y} L ${E-f} ${n.y} ${p} ${E} ${n.y-d} L ${E} ${s.y+f} ${y} ${E+d} ${s.y} L ${s.x} ${s.y}`;else w=_.get(r.branch)?.index,x=`M ${n.x} ${n.y} L ${E+f} ${n.y} ${y} ${E} ${n.y-d} L ${E} ${s.y+f} ${p} ${E-d} ${s.y} L ${s.x} ${s.y}`;else if(n.y<s.y)x=`M ${n.x} ${n.y} L ${n.x} ${v-f} ${p} ${n.x+d} ${v} L ${s.x-f} ${v} ${y} ${s.x} ${v+d} L ${s.x} ${s.y}`;else w=_.get(r.branch)?.index,x=`M ${n.x} ${n.y} L ${n.x} ${v+f} ${y} ${n.x+d} ${v} L ${s.x-f} ${v} ${p} ${s.x} ${v-d} L ${s.x} ${s.y}`}else if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,b==="TB"){if(n.x<s.x)if(o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${p} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${y} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;if(n.x>s.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${y} ${n.x-d} ${s.y} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${s.x+f} ${n.y} ${p} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;if(n.x===s.x)x=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}else if(b==="BT"){if(n.x<s.x)if(o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${y} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${p} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;if(n.x>s.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${p} ${n.x-d} ${s.y} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${s.x+f} ${n.y} ${y} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;if(n.x===s.x)x=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}else{if(n.y<s.y)if(o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${y} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${p} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;if(n.y>s.y)if(o.type===C.MERGE&&r.id!==o.parents[0])x=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${p} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;else x=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${y} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;if(n.y===s.y)x=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}if(x===void 0)throw Error("Line definition not found");e.append("path").attr("d",x).attr("class","arrow arrow"+U(w,K,l))},"drawArrow"),ht=t((e,r)=>{let o=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((c)=>{let i=r.get(c);if(i.parents&&i.parents.length>0)i.parents.forEach((l)=>{dt(o,r.get(l),i,r)})})},"drawArrows"),lt=t((e,r,o,c)=>{let{look:i,theme:l,themeVariables:n}=u(),{dropShadow:s,THEME_COLOR_LIMIT:g}=n,p=ne.has(l??""),y=me.has(l??""),f=e.append("g");r.forEach((d,w)=>{let x=U(w,p?g:K,y),v=_.get(d.name)?.pos;if(v===void 0)throw Error(`Position not found for branch ${d.name}`);let E=b==="TB"||b==="BT"?v:p?v+he/2+1:v-2,T=f.append("line");if(T.attr("x1",0),T.attr("y1",E),T.attr("x2",z),T.attr("y2",E),T.attr("class","branch branch"+x),b==="TB")T.attr("y1",ae),T.attr("x1",v),T.attr("y2",z),T.attr("x2",v);else if(b==="BT")T.attr("y1",z),T.attr("x1",v),T.attr("y2",ae),T.attr("x2",v);oe.push(E);let ce=d.name,J=be(ce),W=f.insert("rect"),H=f.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+x);H.node().appendChild(J);let O=J.getBBox(),ge=p?0:4,te=p?16:0,Z=p?he:0;if(i==="neo")W.attr("data-look","neo");if(W.attr("class","branchLabelBkg label"+x).attr("style",i==="neo"?`filter:${p?`url(#${c}-drop-shadow)`:s}`:"").attr("rx",ge).attr("ry",ge).attr("x",-O.width-4-(o.rotateCommitLabel===!0?30:0)).attr("y",-O.height/2+10).attr("width",O.width+18+te).attr("height",O.height+4+Z),H.attr("transform","translate("+(-O.width-14-(o.rotateCommitLabel===!0?30:0)+te/2)+", "+(E-O.height/2-2)+")"),b==="TB"){if(W.attr("x",v-O.width/2-10).attr("y",0),H.attr("transform","translate("+(v-O.width/2-5)+", 0)"),p)W.attr("transform",`translate(${-te/2-3}, ${-Z-10})`),H.attr("transform","translate("+(v-O.width/2-5)+", "+(-Z*2+7)+")")}else if(b==="BT"){if(W.attr("x",v-O.width/2-10).attr("y",z),H.attr("transform","translate("+(v-O.width/2-5)+", "+z+")"),p)W.attr("transform",`translate(${-te/2-3}, ${Z+10})`),H.attr("transform","translate("+(v-O.width/2-5)+", "+(z+Z*2+4)+")")}else W.attr("transform","translate(-19, "+(E-12-Z/2)+")")})},"drawBranches"),mt=t(function(e,r,o,c,i){return _.set(e,{pos:r,index:o}),r+=50+(i?40:0)+(b==="TB"||b==="BT"?c.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,o,c){Ve(),a.debug("in gitgraph renderer",e+`
|
|
14
|
+
`,"id:",r,o);let i=c.db;if(!i.getConfig){a.error("getConfig method is not available on db");return}let l=i.getConfig(),n=l.rotateCommitLabel??!1;Q=i.getCommits();let s=i.getBranchesAsObjArray();b=i.getDirection();let g=h(`[id="${r}"]`),{look:p,theme:y,themeVariables:f}=u(),{useGradient:d,gradientStart:w,gradientStop:x,filterColor:v}=f;if(d){let T=g.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");T.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),T.append("stop").attr("offset","100%").attr("stop-color",x).attr("stop-opacity",1)}if(p==="neo"&&ne.has(y??""))g.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",v);let E=0;if(s.forEach((T,ce)=>{let J=be(T.name),W=g.append("g"),ie=W.insert("g").attr("class","branchLabel"),H=ie.insert("g").attr("class","label branch-label");H.node()?.appendChild(J);let O=J.getBBox();E=mt(T.name,E,ce,O,n),H.remove(),ie.remove(),W.remove()}),$e(g,Q,!1,l),l.showBranches)lt(g,s,l,r);ht(g,Q),$e(g,Q,!0,l),F.insertTitle(g,"gitTitleText",l.titleTopMargin??0,i.getDiagramTitle()),za(void 0,g,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,o="";if(e.useGradient&&r)for(let c=0;c<e.THEME_COLOR_LIMIT;c++)o+=`
|
|
15
|
+
.label${c} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
+
`;return o},"genGitGraphGradient"),bt=t((e)=>{let r=S(),{theme:o,themeVariables:c}=r,{borderColorArray:i}=c,l=ke.has(o);if(pt.has(o)){let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(s===0)n+=`
|
|
17
|
+
.branch-label${s} { fill: ${e.nodeBorder};}
|
|
18
|
+
.commit${s} { stroke: ${e.nodeBorder}; }
|
|
19
|
+
.commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
20
|
+
.arrow${s} { stroke: ${e.nodeBorder}; }
|
|
21
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
22
|
+
.commit-cherry-pick${s} { stroke: ${e.nodeBorder}; }
|
|
23
|
+
${ut(e)}`;else{let g=s%Be;n+=`
|
|
24
|
+
.branch-label${s} { fill: ${e["gitBranchLabel"+g]}; }
|
|
25
|
+
.commit${s} { stroke: ${e["git"+g]}; fill: ${e["git"+g]}; }
|
|
26
|
+
.commit-highlight${s} { stroke: ${e["gitInv"+g]}; fill: ${e["gitInv"+g]}; }
|
|
27
|
+
.arrow${s} { stroke: ${e["git"+g]}; }
|
|
28
|
+
`}return n}else if(!$t.has(o)){let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)n+=`
|
|
29
|
+
.branch-label${s} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
30
|
+
.commit${s} { stroke: ${e.nodeBorder}; }
|
|
31
|
+
.commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
32
|
+
.label${s} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
|
|
33
|
+
.arrow${s} { stroke: ${e.nodeBorder}; }
|
|
34
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
35
|
+
.commit-cherry-pick${s} { stroke: ${e.nodeBorder}; }
|
|
36
|
+
`;return n}else{let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(s===0)n+=`
|
|
37
|
+
.branch-label${s} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
38
|
+
.commit${s} { stroke: ${e.nodeBorder}; }
|
|
39
|
+
.commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
40
|
+
.label${s} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
41
|
+
.arrow${s} { stroke: ${e.nodeBorder}; }
|
|
42
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
43
|
+
`;else{let g=s%i.length;n+=`
|
|
44
|
+
.branch-label${s} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
45
|
+
.commit${s} { stroke: ${i[g]}; fill: ${i[g]}; }
|
|
46
|
+
.commit-highlight${s} { stroke: ${i[g]}; fill: ${i[g]}; }
|
|
47
|
+
.label${s} { fill: ${yt.has(o)?e.mainBkg:i[g]}; stroke: ${i[g]}; stroke-width: ${e.strokeWidth}; }
|
|
48
|
+
.arrow${s} { stroke: ${i[g]}; }
|
|
49
|
+
`}return n}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,o)=>o).map((r)=>{let o=r%Be;return`
|
|
50
|
+
.branch-label${r} { fill: ${e["gitBranchLabel"+o]}; }
|
|
51
|
+
.commit${r} { stroke: ${e["git"+o]}; fill: ${e["git"+o]}; }
|
|
52
|
+
.commit-highlight${r} { stroke: ${e["gitInv"+o]}; fill: ${e["gitInv"+o]}; }
|
|
53
|
+
.label${r} { fill: ${e["git"+o]}; }
|
|
54
|
+
.arrow${r} { stroke: ${e["git"+o]}; }
|
|
55
|
+
`}).join(`
|
|
56
|
+
`)}`,"normalTheme"),Bt=t((e)=>{let r=S(),{theme:o}=r,c=xt.has(o);return`
|
|
57
|
+
.commit-id,
|
|
58
|
+
.commit-msg,
|
|
59
|
+
.branch-label {
|
|
60
|
+
fill: lightgrey;
|
|
61
|
+
color: lightgrey;
|
|
62
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
+
font-family: var(--mermaid-font-family);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
${c?bt(e):wt(e)}
|
|
67
|
+
|
|
68
|
+
.branch {
|
|
69
|
+
stroke-width: ${e.strokeWidth};
|
|
70
|
+
stroke: ${e.commitLineColor??e.lineColor};
|
|
71
|
+
stroke-dasharray: ${c?"4 2":"2"};
|
|
72
|
+
}
|
|
73
|
+
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${c?e.nodeBorder:e.commitLabelColor}; ${c?`font-weight:${e.noteFontWeight};`:""}}
|
|
74
|
+
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${c?"transparent":e.commitLabelBackground}; opacity: ${c?"":0.5}; }
|
|
75
|
+
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
76
|
+
.tag-label-bkg { fill: ${c?e.mainBkg:e.tagLabelBackground}; stroke: ${c?e.nodeBorder:e.tagLabelBorder}; ${c?`filter:${e.dropShadow}`:""} }
|
|
77
|
+
.tag-hole { fill: ${e.textColor}; }
|
|
78
|
+
|
|
79
|
+
.commit-merge {
|
|
80
|
+
stroke: ${c?e.mainBkg:e.primaryColor};
|
|
81
|
+
fill: ${c?e.mainBkg:e.primaryColor};
|
|
82
|
+
}
|
|
83
|
+
.commit-reverse {
|
|
84
|
+
stroke: ${c?e.mainBkg:e.primaryColor};
|
|
85
|
+
fill: ${c?e.mainBkg:e.primaryColor};
|
|
86
|
+
stroke-width: ${c?e.strokeWidth:3};
|
|
87
|
+
}
|
|
88
|
+
.commit-highlight-outer {
|
|
89
|
+
}
|
|
90
|
+
.commit-highlight-inner {
|
|
91
|
+
stroke: ${c?e.mainBkg:e.primaryColor};
|
|
92
|
+
fill: ${c?e.mainBkg:e.primaryColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.arrow {
|
|
96
|
+
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
+
stroke-width: ${ke.has(o)?e.strokeWidth:8};
|
|
98
|
+
stroke-linecap: round;
|
|
99
|
+
fill: none
|
|
100
|
+
}
|
|
101
|
+
.gitTitleText {
|
|
102
|
+
text-anchor: middle;
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
fill: ${e.textColor};
|
|
105
|
+
}
|
|
106
|
+
`},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o,ee,i,r,p,e,n,y,be,ye}from"./chunk-qjg6dw46.js";import{ji}from"./chunk-recfg8af.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 h=D(t);if(c.enabled!==h.enabled)return!0;if(c.enabled&&c.provider!==h.provider)return!0;return c.searxngUrl!==h.searxngUrl||c.proxy!==h.proxy||c.acceptLanguage!==h.acceptLanguage||Object.keys(u).length>0}function z({notice:t}){let{cn:c}=y();if(!t)return null;let u=t.type==="success"?ji:be;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:h,Select:x,StatusChip:S,SettingActions:R,SettingGroup:P,SettingRow:C,cn:w}=y(),b=ee(),l=t.busy!==void 0;return n("form",{id:`${b}-form`,className:"min-w-0 space-y-5",onSubmit:async(s)=>{s.preventDefault(),await t.onSave()},children:[n(P,{title:"联网搜索",children:[e(C,{title:"启用搜索",description:"查询会发送至所选搜索服务",children:e(h,{label:"启用联网搜索",disabled:l,checked:t.draft.enabled,onCheckedChange:(s)=>t.onDraft({...t.draft,enabled:s})})}),e(C,{title:"搜索渠道",description:"自动:Exa → Tavily → Parallel → Firecrawl → TinyFish",children:e("div",{className:"w-48",children:e(x,{id:`${b}-provider`,value:t.draft.provider,disabled:l||!t.draft.enabled,className:"min-w-0",groups:[{options:[{value:"auto",label:"自动",description:"失败时依次切换渠道"},...T.map((s)=>({value:s.id,label:s.name}))]}],onValueChange:(s)=>{let a=s==="auto"?s:T.find((k)=>k.id===s)?.id;if(a)t.onDraft({...t.draft,provider:a})}})})}),(t.draft.provider==="searxng"||t.draft.searxngUrl)&&e(C,{vertical:!0,title:"自建 SearXNG 地址",children:e(u,{id:`${b}-searxng`,"aria-label":"自建 SearXNG 地址",type:"url",maxLength:2000,disabled:l||!t.draft.enabled,value:t.draft.searxngUrl,placeholder:"https://search.example.com",onChange:(s)=>t.onDraft({...t.draft,searxngUrl:s.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(ye,{className:w("size-3.5",t.checking==="all"&&"animate-spin"),"aria-hidden":"true"}),t.checking==="all"?"正在检测…":"全部检测"]}),children:T.map((s)=>{let a=s.id,k=a==="searxng"?void 0:t.saved.keys[a],K=k?.source==="environment",W=a==="searxng"?void 0:t.keys[a],v=W==="",m=t.checks[a],L=t.checking==="all"||t.checking===a,f=k?.configured?"已配置密钥":"未配置";if(a==="searxng")f=t.saved.search.searxngUrl?"已配置地址":"未配置地址";if(K)f="来自环境变量";if(v)f="待移除";if(W)f="待保存密钥";let E=m&&!m.ok&&!L?m.error??(m.kind==="search"?m.meta?.failed[0]?.error:m.meta?.error)??"检测失败,请检查配置。":void 0;return n("div",{className:"min-w-0",children:[n(C,{title:s.name,description:n(p,{children:[s.description,K&&" · 请在服务端环境变量中更换或移除",E&&e("span",{role:"status",className:"block break-words text-danger",children:E})]}),children:[L?e(S,{tone:"neutral",pulse:!0,children:"检测中"}):m?e(S,{tone:m.ok?"success":"danger",children:m.ok?`可用 ${m.elapsedMs} ms`:"不可用"}):e("span",{className:w("text-xs",W!==void 0?"text-warning":"text-faint"),children:f}),a!=="searxng"&&!K&&n(p,{children:[e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`${k?.configured?"更换":"设置"} ${s.name} 密钥`,"aria-expanded":t.editingKey===a,"aria-controls":`${b}-${a}-key-editor`,onClick:()=>t.onEditKey(t.editingKey===a?void 0:a),children:k?.configured?"更换":"设置密钥"}),k?.configured&&!v&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`移除 ${s.name} 密钥`,onClick:()=>{t.onKeys({...t.keys,[a]:""}),t.onEditKey(void 0)},children:"移除"})]}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`检测 ${s.name}`,onClick:async()=>await t.onCheck(a),children:"检测"})]}),a!=="searxng"&&t.editingKey===a&&n("div",{id:`${b}-${a}-key-editor`,className:"flex items-center gap-2 pb-3",children:[e(u,{id:`${b}-${a}-key`,"aria-label":`${s.name} API 密钥`,type:"password",autoComplete:"new-password",maxLength:4000,disabled:l,value:t.keys[a]??"",placeholder:"输入新密钥,保存后生效;只写入,不回显",onChange:(N)=>{let d={...t.keys};if(N.target.value.trim())d[a]=N.target.value;else delete d[a];t.onKeys(d)}}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:()=>{let N={...t.keys};delete N[a],t.onKeys(N),t.onEditKey(void 0)},children:"取消"})]})]},a)})}),n(P,{title:"网络",children:[e(C,{vertical:!0,title:"代理 URL",description:"留空使用服务端环境代理",children:e(u,{id:`${b}-proxy`,"aria-label":"代理 URL",type:"url",maxLength:2000,disabled:l,value:t.draft.proxy,placeholder:"http://127.0.0.1:7890",onChange:(s)=>t.onDraft({...t.draft,proxy:s.target.value})})}),e(C,{vertical:!0,title:"Accept-Language",children:e(u,{id:`${b}-language`,"aria-label":"Accept-Language",maxLength:200,disabled:l,value:t.draft.acceptLanguage,placeholder:"en-US,en;q=0.9",onChange:(s)=>t.onDraft({...t.draft,acceptLanguage:s.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:`${b}-form`,type:"submit",size:"sm",variant:"primary",disabled:l||!t.dirty,children:t.busy==="save"?"保存中…":"保存"})]})]})}function M({connection:t}){let{Button:c}=y(),[u,h]=r(),[x,S]=r(),[R,P]=r({}),[C,w]=r(),[b,l]=r("load"),[s,a]=r(),[k,K]=r({}),[W,v]=r(),[m,L]=r(0),f=i(void 0);o(()=>{let d=new AbortController;return f.current=d,l("load"),v(void 0),h(void 0),S(void 0),P({}),w(void 0),K({}),t.request("/api/plugins/webfetch/settings",{signal:d.signal,cache:m>0?"reload":"default"}).then((g)=>{if(d.signal.aborted)return;h(g),S(D(g))}).catch((g)=>{if(!d.signal.aborted)v({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,m]);async function E(){if(f.current||!u||!x||!A(u,x,R))return;let d=new AbortController;f.current=d,l("save"),v(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;h(g),S(D(g)),P({}),w(void 0),K({}),v({type:"success",text:"设置已保存。"})}catch(g){if(!d.signal.aborted)v({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"),a(d),v(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)v({type:"error",text:U instanceof Error?U.message:"检测失败,请重试。"})}finally{if(!g.signal.aborted)f.current=void 0,l(void 0),a(void 0)}}if(!u||!x)return n("div",{className:"min-w-0 space-y-3",children:[b==="load"&&e("p",{role:"status",className:"text-sm text-dim",children:"正在加载设置…"}),e(z,{notice:W}),b!=="load"&&e(c,{type:"button",size:"sm",variant:"ghost",onClick:()=>L(m+1),children:"重新加载"})]});return e(I,{saved:u,draft:x,keys:R,editingKey:C,dirty:A(u,x,R),busy:b==="load"?void 0:b,checking:s,checks:k,notice:W,onDraft:(d)=>{S(d),v(void 0)},onKeys:(d)=>{P(d),v(void 0)},onEditKey:w,onSave:E,onCheck:N,onRestore:()=>{S(D(u)),P({}),w(void 0),v(void 0)}})}export{M as default};
|
|
Binary file
|
|
Binary file
|