@bkm016/basalt 0.1.35 → 0.1.37
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/README.md +1 -1
- package/chunk-1jtnjzrz.js +3 -0
- package/chunk-1xam7mw7.js +2 -0
- package/chunk-2df7yf47.js +3 -0
- package/chunk-3a3ta83t.js +12 -0
- package/chunk-3bb12192.js +39 -0
- package/chunk-3j24he2c.js +25 -0
- package/chunk-3yyt010j.js +2 -0
- package/chunk-412mm63g.js +3 -0
- package/chunk-4hrkad68.js +2 -0
- package/chunk-4kw8vvae.js +3 -0
- package/chunk-5xj2kq5h.js +3 -0
- package/chunk-6hajdf5x.js +2 -0
- package/chunk-6rkwh4w5.js +3 -0
- package/chunk-792xwgne.js +2 -0
- package/chunk-7ygt906s.js +2 -0
- package/chunk-8bvjjs3r.js +3 -0
- package/chunk-8jf1kd0m.js +3 -0
- package/chunk-95npkaze.js +5 -0
- package/chunk-9yqn7drg.js +3 -0
- package/chunk-9zwy8ypg.js +117 -0
- package/chunk-ad5asgnr.js +2 -0
- package/chunk-akdav0ay.js +3 -0
- package/chunk-arzyd0f7.js +8 -0
- package/chunk-avrzwnbk.js +2 -0
- package/chunk-b3fwt4jy.js +2 -0
- package/chunk-b41a7yc5.js +7 -0
- package/chunk-be4p5qak.js +103 -0
- package/chunk-bkabw9yr.js +3 -0
- package/chunk-br7606yh.js +7 -0
- package/chunk-brgcdzj9.js +60 -0
- package/chunk-bvh3ccr2.js +3 -0
- package/chunk-c0htgv5v.js +3 -0
- package/chunk-ch8bhqmp.js +2 -0
- package/chunk-d2t7tx0d.js +16 -0
- package/chunk-d5qsqt4v.js +2 -0
- package/chunk-d5sxt7bc.js +13 -0
- package/chunk-dz8jyvp4.js +547 -0
- package/chunk-e431qjnf.js +3 -0
- package/chunk-e69h0e2f.js +2 -0
- package/chunk-e9rp422g.js +9 -0
- package/chunk-ebmmdfq3.js +2 -0
- package/chunk-etvf4tkk.js +3 -0
- package/chunk-ewr4r5yx.js +18 -0
- package/chunk-ezm2t479.js +11 -0
- package/chunk-f5prr1x7.js +59 -0
- package/chunk-fxs37w3f.js +10 -0
- package/chunk-g27efryh.js +20 -0
- package/chunk-g8zcrfzr.js +2 -0
- package/chunk-gde46g2m.js +2 -0
- package/chunk-gnf6jvxv.js +25 -0
- package/chunk-gswcr5j6.js +2 -0
- package/chunk-h22spg1q.js +3 -0
- package/chunk-h2br80f8.js +3 -0
- package/chunk-he09tqj5.js +2 -0
- package/chunk-hkx2cpc5.js +3 -0
- package/chunk-hnqtkgcq.js +3 -0
- package/chunk-hrxkr8a8.js +3 -0
- package/chunk-hwkmxr9a.js +5 -0
- package/chunk-j9jg8h44.js +2 -0
- package/chunk-jhgf0vpr.js +5 -0
- package/chunk-k3ndw7d4.js +3 -0
- package/chunk-k8mc2tn3.js +3 -0
- package/chunk-mbf7201c.js +5 -0
- package/chunk-mzhebc7e.js +7 -0
- package/chunk-n1c3t0nj.js +2 -0
- package/chunk-nmpqx2sh.js +3 -0
- package/chunk-p0dacr9z.js +12 -0
- package/chunk-q8gv26ze.js +3 -0
- package/chunk-qj6bf18b.js +3 -0
- package/chunk-rxq62z5t.js +3 -0
- package/chunk-s27309w7.js +3 -0
- package/chunk-sjwsj82f.js +10 -0
- package/chunk-sxrwwyp7.js +3 -0
- package/chunk-tadyy9xh.js +51 -0
- package/chunk-tb3tj3ct.js +2 -0
- package/chunk-vgvp6cpk.js +2 -0
- package/chunk-vj5p29fr.js +2 -0
- package/chunk-wbpt03pe.js +31 -0
- package/chunk-wgjt31wp.js +8 -0
- package/chunk-wk6vjpmj.js +3 -0
- package/chunk-x1spmnj8.js +2 -0
- package/chunk-x4anmcq9.js +4 -0
- package/chunk-xd5hf1rg.js +3178 -0
- package/chunk-xp5p6tsp.js +286 -0
- package/chunk-xpbt4cpe.js +2 -0
- package/chunk-yw2k2syh.js +3 -0
- package/chunk-z3x79jnt.js +3 -0
- package/chunk-zd569v9h.js +2 -0
- package/compiled.js +13 -13
- package/package.json +1 -1
- package/ui-test-worker.js +57 -57
- package/web/chunk-05b25kh6.js +332 -0
- package/web/chunk-05b25kh6.js.br +0 -0
- package/web/chunk-05b25kh6.js.gz +0 -0
- package/web/chunk-0g6z1xs1.js +2 -0
- package/web/chunk-0g6z1xs1.js.br +0 -0
- package/web/chunk-0g6z1xs1.js.gz +0 -0
- package/web/chunk-0kj45mje.js +2 -0
- package/web/chunk-0kj45mje.js.br +0 -0
- package/web/chunk-0kj45mje.js.gz +0 -0
- package/web/chunk-0wt52yw3.js +1 -0
- package/web/chunk-0wt52yw3.js.br +2 -0
- package/web/chunk-0wt52yw3.js.gz +0 -0
- package/web/chunk-0x9cf6bp.js +38 -0
- package/web/chunk-0x9cf6bp.js.br +0 -0
- package/web/chunk-0x9cf6bp.js.gz +0 -0
- package/web/chunk-0y2f60q6.js +1 -0
- package/web/chunk-0y2f60q6.js.br +0 -0
- package/web/chunk-0y2f60q6.js.gz +0 -0
- package/web/chunk-1axw7vb0.js +214 -0
- package/web/chunk-1axw7vb0.js.br +0 -0
- package/web/chunk-1axw7vb0.js.gz +0 -0
- package/web/chunk-1es5ak4r.js +1 -0
- package/web/chunk-1es5ak4r.js.br +0 -0
- package/web/chunk-1es5ak4r.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +2 -0
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1v45hcve.js +1 -0
- package/web/chunk-1v45hcve.js.br +0 -0
- package/web/chunk-1v45hcve.js.gz +0 -0
- package/web/chunk-1vhk8j0c.js +1 -0
- package/web/chunk-1vhk8j0c.js.br +0 -0
- package/web/chunk-1vhk8j0c.js.gz +0 -0
- package/web/chunk-21jtjwe1.js +1 -0
- package/web/chunk-21jtjwe1.js.br +0 -0
- package/web/chunk-21jtjwe1.js.gz +0 -0
- package/web/chunk-26grg3rq.js +1144 -0
- package/web/chunk-26grg3rq.js.br +0 -0
- package/web/chunk-26grg3rq.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +1 -0
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-2vh05ags.js +2 -0
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2wvgy7f4.js +1 -0
- package/web/chunk-2wvgy7f4.js.br +0 -0
- package/web/chunk-2wvgy7f4.js.gz +0 -0
- package/web/chunk-33bfatdr.js +4 -0
- package/web/chunk-33bfatdr.js.br +0 -0
- package/web/chunk-33bfatdr.js.gz +0 -0
- package/web/chunk-38xsaxws.js +1 -0
- package/web/chunk-38xsaxws.js.br +0 -0
- package/web/chunk-38xsaxws.js.gz +0 -0
- package/web/chunk-3av47wwa.js +7 -0
- package/web/chunk-3av47wwa.js.br +0 -0
- package/web/chunk-3av47wwa.js.gz +0 -0
- package/web/chunk-3rxgch48.js +1 -0
- package/web/chunk-3rxgch48.js.br +0 -0
- package/web/chunk-3rxgch48.js.gz +0 -0
- package/web/chunk-40j8gxty.js +303 -0
- package/web/chunk-40j8gxty.js.br +0 -0
- package/web/chunk-40j8gxty.js.gz +0 -0
- package/web/chunk-43kq2dk7.js +21 -0
- package/web/chunk-43kq2dk7.js.br +0 -0
- package/web/chunk-43kq2dk7.js.gz +0 -0
- package/web/chunk-4cw67sdz.js +78 -0
- package/web/chunk-4cw67sdz.js.br +0 -0
- package/web/chunk-4cw67sdz.js.gz +0 -0
- package/web/chunk-4k4c2se1.js +2 -0
- package/web/chunk-4k4c2se1.js.br +0 -0
- package/web/chunk-4k4c2se1.js.gz +0 -0
- package/web/chunk-50dr941q.js +55 -0
- package/web/chunk-50dr941q.js.br +0 -0
- package/web/chunk-50dr941q.js.gz +0 -0
- package/web/chunk-56hx6a5h.js +1 -0
- package/web/chunk-56hx6a5h.js.br +0 -0
- package/web/chunk-56hx6a5h.js.gz +0 -0
- package/web/chunk-5m1p98r5.js +2 -0
- package/web/chunk-5m1p98r5.js.br +0 -0
- package/web/chunk-5m1p98r5.js.gz +0 -0
- package/web/chunk-5m45mc2k.js +99 -0
- package/web/chunk-5m45mc2k.js.br +0 -0
- package/web/chunk-5m45mc2k.js.gz +0 -0
- package/web/chunk-6gfa17h5.js +1 -0
- package/web/chunk-6gfa17h5.js.br +0 -0
- package/web/chunk-6gfa17h5.js.gz +0 -0
- package/web/chunk-7e57me98.js +1 -0
- package/web/chunk-7e57me98.js.br +0 -0
- package/web/chunk-7e57me98.js.gz +0 -0
- package/web/chunk-7ht7dssg.js +1 -0
- package/web/chunk-7ht7dssg.js.br +0 -0
- package/web/chunk-7ht7dssg.js.gz +0 -0
- package/web/chunk-8jxg1srx.js +1 -0
- package/web/chunk-8jxg1srx.js.br +2 -0
- package/web/chunk-8jxg1srx.js.gz +0 -0
- package/web/chunk-8q9970dm.js +2 -0
- package/web/chunk-8q9970dm.js.br +0 -0
- package/web/chunk-8q9970dm.js.gz +0 -0
- package/web/chunk-8t1kh5r9.js +370 -0
- package/web/chunk-8t1kh5r9.js.br +0 -0
- package/web/chunk-8t1kh5r9.js.gz +0 -0
- package/web/chunk-8za5fkrq.js +1 -0
- package/web/chunk-8za5fkrq.js.br +0 -0
- package/web/chunk-8za5fkrq.js.gz +0 -0
- package/web/chunk-96dhr80q.js +8 -0
- package/web/chunk-96dhr80q.js.br +0 -0
- package/web/chunk-96dhr80q.js.gz +0 -0
- package/web/chunk-98y5p1r2.js +1 -0
- package/web/chunk-98y5p1r2.js.br +0 -0
- package/web/chunk-98y5p1r2.js.gz +0 -0
- package/web/chunk-9f77mxfz.js +98 -0
- package/web/chunk-9f77mxfz.js.br +0 -0
- package/web/chunk-9f77mxfz.js.gz +0 -0
- package/web/chunk-9g2fam83.js +2 -0
- package/web/chunk-9g2fam83.js.br +0 -0
- package/web/chunk-9g2fam83.js.gz +0 -0
- package/web/chunk-9we3a8ak.js +84 -0
- package/web/chunk-9we3a8ak.js.br +0 -0
- package/web/chunk-9we3a8ak.js.gz +0 -0
- package/web/chunk-a67d8w1k.js +14 -0
- package/web/chunk-a67d8w1k.js.br +0 -0
- package/web/chunk-a67d8w1k.js.gz +0 -0
- package/web/chunk-adfd0mhj.js +1 -0
- package/web/chunk-adfd0mhj.js.br +0 -0
- package/web/chunk-adfd0mhj.js.gz +0 -0
- package/web/chunk-aem9wyqq.js +30 -0
- package/web/chunk-aem9wyqq.js.br +0 -0
- package/web/chunk-aem9wyqq.js.gz +0 -0
- package/web/chunk-ajzrsqpp.js +1 -0
- package/web/chunk-ajzrsqpp.js.br +0 -0
- package/web/chunk-ajzrsqpp.js.gz +0 -0
- package/web/chunk-b4t33dft.js +7 -0
- package/web/chunk-b4t33dft.js.br +0 -0
- package/web/chunk-b4t33dft.js.gz +0 -0
- package/web/chunk-b86sddt6.js +1 -0
- package/web/chunk-b86sddt6.js.br +0 -0
- package/web/chunk-b86sddt6.js.gz +0 -0
- package/web/chunk-bt8ww8df.js +142 -0
- package/web/chunk-bt8ww8df.js.br +0 -0
- package/web/chunk-bt8ww8df.js.gz +0 -0
- package/web/chunk-c1tsq0ta.js +1 -0
- package/web/chunk-c1tsq0ta.js.br +0 -0
- package/web/chunk-c1tsq0ta.js.gz +0 -0
- package/web/chunk-ckkd4qn1.js +1 -0
- package/web/chunk-ckkd4qn1.js.br +0 -0
- package/web/chunk-ckkd4qn1.js.gz +0 -0
- package/web/chunk-cxh1ztpm.js +200 -0
- package/web/chunk-cxh1ztpm.js.br +0 -0
- package/web/chunk-cxh1ztpm.js.gz +0 -0
- package/web/chunk-db2pew8j.js +2 -0
- package/web/chunk-db2pew8j.js.br +0 -0
- package/web/chunk-db2pew8j.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +1 -0
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-dk2jv3kv.js +2 -0
- package/web/chunk-dk2jv3kv.js.br +0 -0
- package/web/chunk-dk2jv3kv.js.gz +0 -0
- package/web/chunk-dk9efr2r.js +1 -0
- package/web/chunk-dk9efr2r.js.br +0 -0
- package/web/chunk-dk9efr2r.js.gz +0 -0
- package/web/chunk-dmn5rvmt.js +169 -0
- package/web/chunk-dmn5rvmt.js.br +0 -0
- package/web/chunk-dmn5rvmt.js.gz +0 -0
- package/web/chunk-dtzm3qsp.js +34 -0
- package/web/chunk-dtzm3qsp.js.br +0 -0
- package/web/chunk-dtzm3qsp.js.gz +0 -0
- package/web/chunk-e1j49cha.js +140 -0
- package/web/chunk-e1j49cha.js.br +0 -0
- package/web/chunk-e1j49cha.js.gz +0 -0
- package/web/chunk-e24ammbc.js +292 -0
- package/web/chunk-e24ammbc.js.br +0 -0
- package/web/chunk-e24ammbc.js.gz +0 -0
- package/web/chunk-ebvk893x.js +2 -0
- package/web/chunk-ebvk893x.js.br +0 -0
- package/web/chunk-ebvk893x.js.gz +0 -0
- package/web/chunk-ecv7r3t9.js +24 -0
- package/web/chunk-ecv7r3t9.js.br +0 -0
- package/web/chunk-ecv7r3t9.js.gz +0 -0
- package/web/chunk-etkhjrfg.js +1 -0
- package/web/chunk-etkhjrfg.js.br +0 -0
- package/web/chunk-etkhjrfg.js.gz +0 -0
- package/web/chunk-f3ennx3q.js +1 -0
- package/web/chunk-f3ennx3q.js.br +0 -0
- package/web/chunk-f3ennx3q.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +2 -0
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-f9rv8b13.js +1 -0
- package/web/chunk-f9rv8b13.js.br +0 -0
- package/web/chunk-f9rv8b13.js.gz +0 -0
- package/web/chunk-fpg6cdg9.js +1 -0
- package/web/chunk-fpg6cdg9.js.br +0 -0
- package/web/chunk-fpg6cdg9.js.gz +0 -0
- package/web/chunk-fq9kkd61.js +1 -0
- package/web/chunk-fq9kkd61.js.br +0 -0
- package/web/chunk-fq9kkd61.js.gz +0 -0
- package/web/chunk-fr9gd1pt.js +1 -0
- package/web/chunk-fr9gd1pt.js.br +0 -0
- package/web/chunk-fr9gd1pt.js.gz +0 -0
- package/web/chunk-fsfpgs2w.css +1 -0
- package/web/chunk-fsfpgs2w.css.br +0 -0
- package/web/chunk-fsfpgs2w.css.gz +0 -0
- package/web/chunk-ftggg1s9.js +324 -0
- package/web/chunk-ftggg1s9.js.br +0 -0
- package/web/chunk-ftggg1s9.js.gz +0 -0
- package/web/chunk-g337nkpz.js +2 -0
- package/web/chunk-g337nkpz.js.br +0 -0
- package/web/chunk-g337nkpz.js.gz +0 -0
- package/web/chunk-g52np0en.js +1 -0
- package/web/chunk-g52np0en.js.br +0 -0
- package/web/chunk-g52np0en.js.gz +0 -0
- package/web/chunk-gc6pdwjs.js +2 -0
- package/web/chunk-gc6pdwjs.js.br +0 -0
- package/web/chunk-gc6pdwjs.js.gz +0 -0
- package/web/chunk-gks3ybk7.js +291 -0
- package/web/chunk-gks3ybk7.js.br +0 -0
- package/web/chunk-gks3ybk7.js.gz +0 -0
- package/web/chunk-hr1t5hxj.js +1 -0
- package/web/chunk-hr1t5hxj.js.br +0 -0
- package/web/chunk-hr1t5hxj.js.gz +0 -0
- package/web/chunk-k67ze3zq.js +2 -0
- package/web/chunk-k67ze3zq.js.br +0 -0
- package/web/chunk-k67ze3zq.js.gz +0 -0
- package/web/chunk-kcrkppec.js +1 -0
- package/web/chunk-kcrkppec.js.br +0 -0
- package/web/chunk-kcrkppec.js.gz +0 -0
- package/web/chunk-kd2346aw.js +2 -0
- package/web/chunk-kd2346aw.js.br +0 -0
- package/web/chunk-kd2346aw.js.gz +0 -0
- package/web/chunk-kh93xybm.js +62 -0
- package/web/chunk-kh93xybm.js.br +0 -0
- package/web/chunk-kh93xybm.js.gz +0 -0
- package/web/chunk-m32tg04f.js +1 -0
- package/web/chunk-m32tg04f.js.br +0 -0
- package/web/chunk-m32tg04f.js.gz +0 -0
- package/web/chunk-mg98g3yx.js +106 -0
- package/web/chunk-mg98g3yx.js.br +0 -0
- package/web/chunk-mg98g3yx.js.gz +0 -0
- package/web/chunk-mqdvg55y.js +2 -0
- package/web/chunk-mqdvg55y.js.br +0 -0
- package/web/chunk-mqdvg55y.js.gz +0 -0
- package/web/chunk-mx1e3jgh.js +1 -0
- package/web/chunk-mx1e3jgh.js.br +0 -0
- package/web/chunk-mx1e3jgh.js.gz +0 -0
- package/web/chunk-myg415b8.js +1 -0
- package/web/chunk-myg415b8.js.br +0 -0
- package/web/chunk-myg415b8.js.gz +0 -0
- package/web/chunk-myn0rj98.js +2 -0
- package/web/chunk-myn0rj98.js.br +0 -0
- package/web/chunk-myn0rj98.js.gz +0 -0
- package/web/chunk-nvq8s71g.js +1 -0
- package/web/chunk-nvq8s71g.js.br +0 -0
- package/web/chunk-nvq8s71g.js.gz +0 -0
- package/web/chunk-pphtw0xj.js +7 -0
- package/web/chunk-pphtw0xj.js.br +0 -0
- package/web/chunk-pphtw0xj.js.gz +0 -0
- package/web/chunk-ptdh13r5.js +1 -0
- package/web/chunk-ptdh13r5.js.br +0 -0
- package/web/chunk-ptdh13r5.js.gz +0 -0
- package/web/chunk-q1gyt5y6.js +1 -0
- package/web/chunk-q1gyt5y6.js.br +0 -0
- package/web/chunk-q1gyt5y6.js.gz +0 -0
- package/web/chunk-q3v1563q.js +2 -0
- package/web/chunk-q3v1563q.js.br +0 -0
- package/web/chunk-q3v1563q.js.gz +0 -0
- package/web/chunk-q40c0y7d.js +24 -0
- package/web/chunk-q40c0y7d.js.br +0 -0
- package/web/chunk-q40c0y7d.js.gz +0 -0
- package/web/chunk-q6vt7t8d.js +2 -0
- package/web/chunk-q6vt7t8d.js.br +0 -0
- package/web/chunk-q6vt7t8d.js.gz +0 -0
- package/web/chunk-q7pyqxqn.js +89 -0
- package/web/chunk-q7pyqxqn.js.br +0 -0
- package/web/chunk-q7pyqxqn.js.gz +0 -0
- package/web/chunk-r5rt7t62.js +1 -0
- package/web/chunk-r5rt7t62.js.br +0 -0
- package/web/chunk-r5rt7t62.js.gz +0 -0
- package/web/chunk-ra8jt8jw.js +2 -0
- package/web/chunk-ra8jt8jw.js.br +0 -0
- package/web/chunk-ra8jt8jw.js.gz +0 -0
- package/web/chunk-rgh3x4h4.js +1 -0
- package/web/chunk-rgh3x4h4.js.br +0 -0
- package/web/chunk-rgh3x4h4.js.gz +0 -0
- package/web/chunk-rvcq48wy.js +1 -0
- package/web/chunk-rvcq48wy.js.br +0 -0
- package/web/chunk-rvcq48wy.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +1 -0
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxvvg771.js +1 -0
- package/web/chunk-rxvvg771.js.br +0 -0
- package/web/chunk-rxvvg771.js.gz +0 -0
- package/web/chunk-sfb3w9nf.js +1 -0
- package/web/chunk-sfb3w9nf.js.br +2 -0
- package/web/chunk-sfb3w9nf.js.gz +0 -0
- package/web/chunk-srwx1v8c.js +39 -0
- package/web/chunk-srwx1v8c.js.br +0 -0
- package/web/chunk-srwx1v8c.js.gz +0 -0
- package/web/chunk-t1et0w6s.js +2 -0
- package/web/chunk-t1et0w6s.js.br +0 -0
- package/web/chunk-t1et0w6s.js.gz +0 -0
- package/web/chunk-tm7c78hm.js +1 -0
- package/web/chunk-tm7c78hm.js.br +0 -0
- package/web/chunk-tm7c78hm.js.gz +0 -0
- package/web/chunk-tmrh8hv1.js +1 -0
- package/web/chunk-tmrh8hv1.js.br +0 -0
- package/web/chunk-tmrh8hv1.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +2 -0
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tyengwea.js +12 -0
- package/web/chunk-tyengwea.js.br +0 -0
- package/web/chunk-tyengwea.js.gz +0 -0
- package/web/chunk-v13gqed9.js +2 -0
- package/web/chunk-v13gqed9.js.br +0 -0
- package/web/chunk-v13gqed9.js.gz +0 -0
- package/web/chunk-v6srkjvx.js +41 -0
- package/web/chunk-v6srkjvx.js.br +0 -0
- package/web/chunk-v6srkjvx.js.gz +0 -0
- package/web/chunk-vyn5qg7j.js +1 -0
- package/web/chunk-vyn5qg7j.js.br +0 -0
- package/web/chunk-vyn5qg7j.js.gz +0 -0
- package/web/chunk-w8se91rf.js +2 -0
- package/web/chunk-w8se91rf.js.br +0 -0
- package/web/chunk-w8se91rf.js.gz +0 -0
- package/web/chunk-wc533d3w.js +4 -0
- package/web/chunk-wc533d3w.js.br +0 -0
- package/web/chunk-wc533d3w.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +1 -0
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +2 -0
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wjpdjzkt.js +36 -0
- package/web/chunk-wjpdjzkt.js.br +0 -0
- package/web/chunk-wjpdjzkt.js.gz +0 -0
- package/web/chunk-wwnzjj7x.js +2 -0
- package/web/chunk-wwnzjj7x.js.br +0 -0
- package/web/chunk-wwnzjj7x.js.gz +0 -0
- package/web/chunk-wypacndw.js +120 -0
- package/web/chunk-wypacndw.js.br +0 -0
- package/web/chunk-wypacndw.js.gz +0 -0
- package/web/chunk-x3p573sq.js +2 -0
- package/web/chunk-x3p573sq.js.br +0 -0
- package/web/chunk-x3p573sq.js.gz +0 -0
- package/web/chunk-x6zh7fcc.js +16 -0
- package/web/chunk-x6zh7fcc.js.br +0 -0
- package/web/chunk-x6zh7fcc.js.gz +0 -0
- package/web/chunk-x87bgw5s.js +89 -0
- package/web/chunk-x87bgw5s.js.br +0 -0
- package/web/chunk-x87bgw5s.js.gz +0 -0
- package/web/chunk-xevjmmdd.js +217 -0
- package/web/chunk-xevjmmdd.js.br +0 -0
- package/web/chunk-xevjmmdd.js.gz +0 -0
- package/web/chunk-xkqekh81.js +2 -0
- package/web/chunk-xkqekh81.js.br +0 -0
- package/web/chunk-xkqekh81.js.gz +0 -0
- package/web/chunk-xwjytx6p.js +139 -0
- package/web/chunk-xwjytx6p.js.br +0 -0
- package/web/chunk-xwjytx6p.js.gz +0 -0
- package/web/chunk-y0xvbh5g.js +1 -0
- package/web/chunk-y0xvbh5g.js.br +0 -0
- package/web/chunk-y0xvbh5g.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +1 -0
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-ybq42mr5.js +2 -0
- package/web/chunk-ybq42mr5.js.br +0 -0
- package/web/chunk-ybq42mr5.js.gz +0 -0
- package/web/chunk-yhzcc87m.js +3 -0
- package/web/chunk-yhzcc87m.js.br +0 -0
- package/web/chunk-yhzcc87m.js.gz +0 -0
- package/web/chunk-yphdbf42.js +70 -0
- package/web/chunk-yphdbf42.js.br +0 -0
- package/web/chunk-yphdbf42.js.gz +0 -0
- package/web/chunk-ythxsag5.js +40 -0
- package/web/chunk-ythxsag5.js.br +0 -0
- package/web/chunk-ythxsag5.js.gz +0 -0
- package/web/chunk-z0smmkfw.js +2 -0
- package/web/chunk-z0smmkfw.js.br +0 -0
- package/web/chunk-z0smmkfw.js.gz +0 -0
- package/web/chunk-zcjdarjr.js +1 -0
- package/web/chunk-zcjdarjr.js.br +0 -0
- package/web/chunk-zcjdarjr.js.gz +0 -0
- package/web/chunk-zmm3f9sr.js +1 -0
- package/web/chunk-zmm3f9sr.js.br +0 -0
- package/web/chunk-zmm3f9sr.js.gz +0 -0
- package/web/chunk-zxt6qh82.js +2 -0
- package/web/chunk-zxt6qh82.js.br +0 -0
- package/web/chunk-zxt6qh82.js.gz +0 -0
- package/web/explorer-ttd27vzr.png +0 -0
- package/web/finder-aynbqpvz.png +0 -0
- package/web/idea-c8rwk1e2.png +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/sw.js +3 -1
- package/web/sw.js.br +0 -0
- package/web/sw.js.gz +0 -0
- package/web/vscode-33qgcrqp.png +0 -0
- package/worker.js +1 -1
- package/chunk-10y5hvt2.js +0 -2
- package/chunk-22k2be3e.js +0 -13
- package/chunk-28hye007.js +0 -2
- package/chunk-2fmsw1c6.js +0 -5
- package/chunk-2h2mvrw2.js +0 -3
- package/chunk-2xj51v3m.js +0 -3
- package/chunk-3x0wm92n.js +0 -3
- package/chunk-4fgsqb1e.js +0 -2
- package/chunk-519eek65.js +0 -39
- package/chunk-5qa4dean.js +0 -2
- package/chunk-5x256mz8.js +0 -2
- package/chunk-6n01sefp.js +0 -8
- package/chunk-74xtmwpw.js +0 -2
- package/chunk-7mafj833.js +0 -3
- package/chunk-7v1sqn9k.js +0 -59
- package/chunk-8my52htr.js +0 -3
- package/chunk-8vh98e46.js +0 -2
- package/chunk-92mpgche.js +0 -2
- package/chunk-9nkb5q43.js +0 -3
- package/chunk-9vacevyf.js +0 -3
- package/chunk-9y44m27k.js +0 -5
- package/chunk-a5wv2shs.js +0 -3
- package/chunk-a78qhb4t.js +0 -5
- package/chunk-axsxx67j.js +0 -3
- package/chunk-b49fzzzn.js +0 -2
- package/chunk-bc8awbnt.js +0 -2
- package/chunk-crxs0n0r.js +0 -3
- package/chunk-csed8fsv.js +0 -3
- package/chunk-cspx3bz9.js +0 -2
- package/chunk-ctdtmwmd.js +0 -63
- package/chunk-d3xsmwbh.js +0 -25
- package/chunk-dvwgpsfz.js +0 -3
- package/chunk-dzd8k6bw.js +0 -3
- package/chunk-e2xqa46t.js +0 -2
- package/chunk-e41mpwx9.js +0 -9
- package/chunk-e5ccfgsk.js +0 -3
- package/chunk-e67wqhzh.js +0 -12
- package/chunk-emeb13nd.js +0 -25
- package/chunk-ers9s2c4.js +0 -31
- package/chunk-ezq0fnz6.js +0 -3
- package/chunk-ezqvx0hm.js +0 -2
- package/chunk-f10ca9ma.js +0 -12
- package/chunk-f72jhcp8.js +0 -2
- package/chunk-fjv41a8r.js +0 -4155
- package/chunk-fsekbhqb.js +0 -3
- package/chunk-gj0dhgbg.js +0 -3
- package/chunk-h0ggc6pv.js +0 -60
- package/chunk-hrt42rkh.js +0 -4
- package/chunk-j7m36g5w.js +0 -3
- package/chunk-jhn30hjp.js +0 -2
- package/chunk-ka41gq1g.js +0 -16
- package/chunk-kcp9byws.js +0 -2
- package/chunk-me72k64f.js +0 -7
- package/chunk-n4jemqf1.js +0 -2
- package/chunk-ndt4jvh1.js +0 -3
- package/chunk-pyxn4wqj.js +0 -3
- package/chunk-rajb3566.js +0 -2
- package/chunk-rbq2gsar.js +0 -3
- package/chunk-rd98e7kg.js +0 -10
- package/chunk-rm5dbbsg.js +0 -3
- package/chunk-rztw3tgx.js +0 -3
- package/chunk-s4mn41eh.js +0 -8
- package/chunk-s9p624fq.js +0 -44
- package/chunk-sawrte7v.js +0 -3
- package/chunk-sd8d792h.js +0 -51
- package/chunk-sgvmxx0d.js +0 -2
- package/chunk-sqbnt2t1.js +0 -3
- package/chunk-t2bvj735.js +0 -2
- package/chunk-t8tkamx6.js +0 -2
- package/chunk-tbehe5ky.js +0 -18
- package/chunk-tnay319j.js +0 -3
- package/chunk-tsha69rv.js +0 -7
- package/chunk-twqwer9t.js +0 -5
- package/chunk-vr2rtqeh.js +0 -2
- package/chunk-vr6eej6b.js +0 -3
- package/chunk-w41gswj8.js +0 -3
- package/chunk-x7tras0x.js +0 -498
- package/chunk-xakmebnm.js +0 -10
- package/chunk-xj453mny.js +0 -286
- package/chunk-xmrw19xj.js +0 -2
- package/chunk-xpj8fcjp.js +0 -20
- package/chunk-y218jsvc.js +0 -3
- package/chunk-y33fkh8m.js +0 -2
- package/chunk-z3h9ydyr.js +0 -11
- package/chunk-zc51vfhr.js +0 -2
- package/chunk-zm88mnds.js +0 -7
- package/chunk-zz9rj82y.js +0 -3
- package/web/chunk-0b5vh2pt.js +0 -2
- package/web/chunk-0b5vh2pt.js.br +0 -0
- package/web/chunk-0b5vh2pt.js.gz +0 -0
- package/web/chunk-0hkdqhkv.js +0 -1
- package/web/chunk-0hkdqhkv.js.br +0 -0
- package/web/chunk-0hkdqhkv.js.gz +0 -0
- package/web/chunk-0v7wrb32.js +0 -2
- package/web/chunk-0v7wrb32.js.br +0 -0
- package/web/chunk-0v7wrb32.js.gz +0 -0
- package/web/chunk-0x2fgw1m.js +0 -1
- package/web/chunk-0x2fgw1m.js.br +0 -0
- package/web/chunk-0x2fgw1m.js.gz +0 -0
- package/web/chunk-0xctxqvv.js +0 -2
- package/web/chunk-0xctxqvv.js.br +0 -0
- package/web/chunk-0xctxqvv.js.gz +0 -0
- package/web/chunk-0y9tf0rt.js +0 -89
- package/web/chunk-0y9tf0rt.js.br +0 -0
- package/web/chunk-0y9tf0rt.js.gz +0 -0
- package/web/chunk-0yrp0f6x.js +0 -1
- package/web/chunk-0yrp0f6x.js.br +0 -0
- package/web/chunk-0yrp0f6x.js.gz +0 -0
- package/web/chunk-10jk2pn9.js +0 -1
- package/web/chunk-10jk2pn9.js.br +0 -0
- package/web/chunk-10jk2pn9.js.gz +0 -0
- package/web/chunk-15ka35m9.js +0 -2
- package/web/chunk-15ka35m9.js.br +0 -0
- package/web/chunk-15ka35m9.js.gz +0 -0
- package/web/chunk-1700cges.js +0 -1
- package/web/chunk-1700cges.js.br +0 -0
- package/web/chunk-1700cges.js.gz +0 -0
- package/web/chunk-1apw6pnk.css +0 -1
- package/web/chunk-1apw6pnk.css.br +0 -0
- package/web/chunk-1apw6pnk.css.gz +0 -0
- package/web/chunk-1b005nqw.js +0 -139
- package/web/chunk-1b005nqw.js.br +0 -0
- package/web/chunk-1b005nqw.js.gz +0 -0
- package/web/chunk-1c9khgyt.js +0 -1
- package/web/chunk-1c9khgyt.js.br +0 -2
- package/web/chunk-1c9khgyt.js.gz +0 -0
- package/web/chunk-1pr20x9x.js +0 -1
- package/web/chunk-1pr20x9x.js.br +0 -0
- package/web/chunk-1pr20x9x.js.gz +0 -0
- package/web/chunk-1sjgdggk.js +0 -7
- package/web/chunk-1sjgdggk.js.br +0 -0
- package/web/chunk-1sjgdggk.js.gz +0 -0
- package/web/chunk-1tt5ympp.js +0 -1
- package/web/chunk-1tt5ympp.js.br +0 -0
- package/web/chunk-1tt5ympp.js.gz +0 -0
- package/web/chunk-29fpfs5q.js +0 -1142
- package/web/chunk-29fpfs5q.js.br +0 -0
- package/web/chunk-29fpfs5q.js.gz +0 -0
- package/web/chunk-2gr7vwnp.js +0 -24
- package/web/chunk-2gr7vwnp.js.br +0 -0
- package/web/chunk-2gr7vwnp.js.gz +0 -0
- package/web/chunk-2p84jch3.js +0 -1
- package/web/chunk-2p84jch3.js.br +0 -0
- package/web/chunk-2p84jch3.js.gz +0 -0
- package/web/chunk-2qs283mh.js +0 -2
- package/web/chunk-2qs283mh.js.br +0 -0
- package/web/chunk-2qs283mh.js.gz +0 -0
- package/web/chunk-3gf2d852.js +0 -1
- package/web/chunk-3gf2d852.js.br +0 -0
- package/web/chunk-3gf2d852.js.gz +0 -0
- package/web/chunk-3hswqkb0.js +0 -1
- package/web/chunk-3hswqkb0.js.br +0 -0
- package/web/chunk-3hswqkb0.js.gz +0 -0
- package/web/chunk-46yjp1x4.js +0 -2
- package/web/chunk-46yjp1x4.js.br +0 -0
- package/web/chunk-46yjp1x4.js.gz +0 -0
- package/web/chunk-4ezd1rkc.js +0 -84
- package/web/chunk-4ezd1rkc.js.br +0 -0
- package/web/chunk-4ezd1rkc.js.gz +0 -0
- package/web/chunk-4v9ar0sf.js +0 -142
- package/web/chunk-4v9ar0sf.js.br +0 -0
- package/web/chunk-4v9ar0sf.js.gz +0 -0
- package/web/chunk-51z88j1t.js +0 -21
- package/web/chunk-51z88j1t.js.br +0 -0
- package/web/chunk-51z88j1t.js.gz +0 -0
- package/web/chunk-5f5zcfga.js +0 -1
- package/web/chunk-5f5zcfga.js.br +0 -2
- package/web/chunk-5f5zcfga.js.gz +0 -0
- package/web/chunk-5n61r0rr.js +0 -36
- package/web/chunk-5n61r0rr.js.br +0 -0
- package/web/chunk-5n61r0rr.js.gz +0 -0
- package/web/chunk-5vcdeenv.js +0 -2
- package/web/chunk-5vcdeenv.js.br +0 -0
- package/web/chunk-5vcdeenv.js.gz +0 -0
- package/web/chunk-5y7ks8c3.js +0 -30
- package/web/chunk-5y7ks8c3.js.br +0 -0
- package/web/chunk-5y7ks8c3.js.gz +0 -0
- package/web/chunk-60v8qwec.js +0 -2
- package/web/chunk-60v8qwec.js.br +0 -0
- package/web/chunk-60v8qwec.js.gz +0 -0
- package/web/chunk-61m5t9wg.js +0 -200
- package/web/chunk-61m5t9wg.js.br +0 -0
- package/web/chunk-61m5t9wg.js.gz +0 -0
- package/web/chunk-669n37qf.js +0 -70
- package/web/chunk-669n37qf.js.br +0 -0
- package/web/chunk-669n37qf.js.gz +0 -0
- package/web/chunk-6kf1xwz9.js +0 -2
- package/web/chunk-6kf1xwz9.js.br +0 -0
- package/web/chunk-6kf1xwz9.js.gz +0 -0
- package/web/chunk-6rw72jmj.js +0 -2
- package/web/chunk-6rw72jmj.js.br +0 -0
- package/web/chunk-6rw72jmj.js.gz +0 -0
- package/web/chunk-6wyxxd9h.js +0 -2
- package/web/chunk-6wyxxd9h.js.br +0 -0
- package/web/chunk-6wyxxd9h.js.gz +0 -0
- package/web/chunk-77vj65dc.js +0 -1
- package/web/chunk-77vj65dc.js.br +0 -0
- package/web/chunk-77vj65dc.js.gz +0 -0
- package/web/chunk-8ktz0w1x.js +0 -120
- package/web/chunk-8ktz0w1x.js.br +0 -0
- package/web/chunk-8ktz0w1x.js.gz +0 -0
- package/web/chunk-8rcfpj02.js +0 -2
- package/web/chunk-8rcfpj02.js.br +0 -0
- package/web/chunk-8rcfpj02.js.gz +0 -0
- package/web/chunk-8x4s1c9g.js +0 -1
- package/web/chunk-8x4s1c9g.js.br +0 -2
- package/web/chunk-8x4s1c9g.js.gz +0 -0
- package/web/chunk-8zf4cywy.js +0 -1
- package/web/chunk-8zf4cywy.js.br +0 -0
- package/web/chunk-8zf4cywy.js.gz +0 -0
- package/web/chunk-a18y5dmf.js +0 -2
- package/web/chunk-a18y5dmf.js.br +0 -0
- package/web/chunk-a18y5dmf.js.gz +0 -0
- package/web/chunk-a36sfjyk.js +0 -1
- package/web/chunk-a36sfjyk.js.br +0 -0
- package/web/chunk-a36sfjyk.js.gz +0 -0
- package/web/chunk-aahzqxq7.js +0 -34
- package/web/chunk-aahzqxq7.js.br +0 -0
- package/web/chunk-aahzqxq7.js.gz +0 -0
- package/web/chunk-b2gtwatf.js +0 -370
- package/web/chunk-b2gtwatf.js.br +0 -0
- package/web/chunk-b2gtwatf.js.gz +0 -0
- package/web/chunk-bdp4y1zg.js +0 -1
- package/web/chunk-bdp4y1zg.js.br +0 -0
- package/web/chunk-bdp4y1zg.js.gz +0 -0
- package/web/chunk-be67vfx1.js +0 -1
- package/web/chunk-be67vfx1.js.br +0 -0
- package/web/chunk-be67vfx1.js.gz +0 -0
- package/web/chunk-bt6r78y9.js +0 -106
- package/web/chunk-bt6r78y9.js.br +0 -0
- package/web/chunk-bt6r78y9.js.gz +0 -0
- package/web/chunk-bvyjy17t.js +0 -14
- package/web/chunk-bvyjy17t.js.br +0 -0
- package/web/chunk-bvyjy17t.js.gz +0 -0
- package/web/chunk-c97th1x0.js +0 -1
- package/web/chunk-c97th1x0.js.br +0 -0
- package/web/chunk-c97th1x0.js.gz +0 -0
- package/web/chunk-cfkp7taw.js +0 -1
- package/web/chunk-cfkp7taw.js.br +0 -0
- package/web/chunk-cfkp7taw.js.gz +0 -0
- package/web/chunk-cvf9k1fy.js +0 -140
- package/web/chunk-cvf9k1fy.js.br +0 -0
- package/web/chunk-cvf9k1fy.js.gz +0 -0
- package/web/chunk-d33n9fsr.js +0 -1
- package/web/chunk-d33n9fsr.js.br +0 -1
- package/web/chunk-d33n9fsr.js.gz +0 -0
- package/web/chunk-e667nxc9.js +0 -1
- package/web/chunk-e667nxc9.js.br +0 -0
- package/web/chunk-e667nxc9.js.gz +0 -0
- package/web/chunk-eejjsqm1.js +0 -303
- package/web/chunk-eejjsqm1.js.br +0 -0
- package/web/chunk-eejjsqm1.js.gz +0 -0
- package/web/chunk-eg3qjy7a.js +0 -2
- package/web/chunk-eg3qjy7a.js.br +0 -0
- package/web/chunk-eg3qjy7a.js.gz +0 -0
- package/web/chunk-embvjvdj.js +0 -12
- package/web/chunk-embvjvdj.js.br +0 -0
- package/web/chunk-embvjvdj.js.gz +0 -0
- package/web/chunk-etjfr79m.js +0 -2
- package/web/chunk-etjfr79m.js.br +0 -0
- package/web/chunk-etjfr79m.js.gz +0 -0
- package/web/chunk-ez36gbz3.js +0 -7
- package/web/chunk-ez36gbz3.js.br +0 -0
- package/web/chunk-ez36gbz3.js.gz +0 -0
- package/web/chunk-f0vcm8mk.js +0 -214
- package/web/chunk-f0vcm8mk.js.br +0 -0
- package/web/chunk-f0vcm8mk.js.gz +0 -0
- package/web/chunk-f3t3ey83.js +0 -1
- package/web/chunk-f3t3ey83.js.br +0 -0
- package/web/chunk-f3t3ey83.js.gz +0 -0
- package/web/chunk-f84sngcq.js +0 -2
- package/web/chunk-f84sngcq.js.br +0 -0
- package/web/chunk-f84sngcq.js.gz +0 -0
- package/web/chunk-f97hz4v5.js +0 -99
- package/web/chunk-f97hz4v5.js.br +0 -0
- package/web/chunk-f97hz4v5.js.gz +0 -0
- package/web/chunk-fnkp6s0g.js +0 -1
- package/web/chunk-fnkp6s0g.js.br +0 -0
- package/web/chunk-fnkp6s0g.js.gz +0 -0
- package/web/chunk-fpdyzyn8.js +0 -16
- package/web/chunk-fpdyzyn8.js.br +0 -0
- package/web/chunk-fpdyzyn8.js.gz +0 -0
- package/web/chunk-g43z223a.js +0 -2
- package/web/chunk-g43z223a.js.br +0 -0
- package/web/chunk-g43z223a.js.gz +0 -0
- package/web/chunk-gcm82aj8.js +0 -1
- package/web/chunk-gcm82aj8.js.br +0 -0
- package/web/chunk-gcm82aj8.js.gz +0 -0
- package/web/chunk-gffb3p4z.js +0 -2
- package/web/chunk-gffb3p4z.js.br +0 -0
- package/web/chunk-gffb3p4z.js.gz +0 -0
- package/web/chunk-gnzg3krt.js +0 -1
- package/web/chunk-gnzg3krt.js.br +0 -0
- package/web/chunk-gnzg3krt.js.gz +0 -0
- package/web/chunk-grqtpfdp.js +0 -2
- package/web/chunk-grqtpfdp.js.br +0 -0
- package/web/chunk-grqtpfdp.js.gz +0 -0
- package/web/chunk-gsm8spf8.js +0 -1
- package/web/chunk-gsm8spf8.js.br +0 -0
- package/web/chunk-gsm8spf8.js.gz +0 -0
- package/web/chunk-h6ygrnd0.js +0 -38
- package/web/chunk-h6ygrnd0.js.br +0 -0
- package/web/chunk-h6ygrnd0.js.gz +0 -0
- package/web/chunk-h8n9w5th.js +0 -169
- package/web/chunk-h8n9w5th.js.br +0 -0
- package/web/chunk-h8n9w5th.js.gz +0 -0
- package/web/chunk-hmdvm5pp.js +0 -2
- package/web/chunk-hmdvm5pp.js.br +0 -0
- package/web/chunk-hmdvm5pp.js.gz +0 -0
- package/web/chunk-hrntwvx8.js +0 -1
- package/web/chunk-hrntwvx8.js.br +0 -0
- package/web/chunk-hrntwvx8.js.gz +0 -0
- package/web/chunk-hrys15jh.js +0 -324
- package/web/chunk-hrys15jh.js.br +0 -0
- package/web/chunk-hrys15jh.js.gz +0 -0
- package/web/chunk-j0ng7zdq.js +0 -41
- package/web/chunk-j0ng7zdq.js.br +0 -0
- package/web/chunk-j0ng7zdq.js.gz +0 -0
- package/web/chunk-j2t5ycte.js +0 -78
- package/web/chunk-j2t5ycte.js.br +0 -0
- package/web/chunk-j2t5ycte.js.gz +0 -0
- package/web/chunk-jkjd1y3p.js +0 -3
- package/web/chunk-jkjd1y3p.js.br +0 -0
- package/web/chunk-jkjd1y3p.js.gz +0 -0
- package/web/chunk-jweahmyy.js +0 -1
- package/web/chunk-jweahmyy.js.br +0 -0
- package/web/chunk-jweahmyy.js.gz +0 -0
- package/web/chunk-k56v8k7n.js +0 -4
- package/web/chunk-k56v8k7n.js.br +0 -0
- package/web/chunk-k56v8k7n.js.gz +0 -0
- package/web/chunk-k59sk88z.js +0 -7
- package/web/chunk-k59sk88z.js.br +0 -0
- package/web/chunk-k59sk88z.js.gz +0 -0
- package/web/chunk-k75a0fpt.js +0 -62
- package/web/chunk-k75a0fpt.js.br +0 -0
- package/web/chunk-k75a0fpt.js.gz +0 -0
- package/web/chunk-kfx9q7xv.js +0 -2
- package/web/chunk-kfx9q7xv.js.br +0 -0
- package/web/chunk-kfx9q7xv.js.gz +0 -0
- package/web/chunk-ksp1gg3v.js +0 -1
- package/web/chunk-ksp1gg3v.js.br +0 -0
- package/web/chunk-ksp1gg3v.js.gz +0 -0
- package/web/chunk-kxxp1mn4.js +0 -2
- package/web/chunk-kxxp1mn4.js.br +0 -0
- package/web/chunk-kxxp1mn4.js.gz +0 -0
- package/web/chunk-mapbxzsz.js +0 -1
- package/web/chunk-mapbxzsz.js.br +0 -0
- package/web/chunk-mapbxzsz.js.gz +0 -0
- package/web/chunk-msw43fnq.js +0 -2
- package/web/chunk-msw43fnq.js.br +0 -0
- package/web/chunk-msw43fnq.js.gz +0 -0
- package/web/chunk-mzzjg4sn.js +0 -2
- package/web/chunk-mzzjg4sn.js.br +0 -0
- package/web/chunk-mzzjg4sn.js.gz +0 -0
- package/web/chunk-n1bmcj13.js +0 -2
- package/web/chunk-n1bmcj13.js.br +0 -0
- package/web/chunk-n1bmcj13.js.gz +0 -0
- package/web/chunk-n5y4ar3e.js +0 -1
- package/web/chunk-n5y4ar3e.js.br +0 -0
- package/web/chunk-n5y4ar3e.js.gz +0 -0
- package/web/chunk-n9vszqw9.js +0 -1
- package/web/chunk-n9vszqw9.js.br +0 -0
- package/web/chunk-n9vszqw9.js.gz +0 -0
- package/web/chunk-nzzcmxq8.js +0 -1
- package/web/chunk-nzzcmxq8.js.br +0 -0
- package/web/chunk-nzzcmxq8.js.gz +0 -0
- package/web/chunk-p25eppk1.js +0 -1
- package/web/chunk-p25eppk1.js.br +0 -0
- package/web/chunk-p25eppk1.js.gz +0 -0
- package/web/chunk-p9352vpw.js +0 -1
- package/web/chunk-p9352vpw.js.br +0 -0
- package/web/chunk-p9352vpw.js.gz +0 -0
- package/web/chunk-pdvm4n6f.js +0 -1
- package/web/chunk-pdvm4n6f.js.br +0 -2
- package/web/chunk-pdvm4n6f.js.gz +0 -0
- package/web/chunk-pjm2t9da.js +0 -1
- package/web/chunk-pjm2t9da.js.br +0 -0
- package/web/chunk-pjm2t9da.js.gz +0 -0
- package/web/chunk-pka3qm06.js +0 -98
- package/web/chunk-pka3qm06.js.br +0 -0
- package/web/chunk-pka3qm06.js.gz +0 -0
- package/web/chunk-pkbcbta6.js +0 -1
- package/web/chunk-pkbcbta6.js.br +0 -0
- package/web/chunk-pkbcbta6.js.gz +0 -0
- package/web/chunk-pq4vn3zh.js +0 -1
- package/web/chunk-pq4vn3zh.js.br +0 -0
- package/web/chunk-pq4vn3zh.js.gz +0 -0
- package/web/chunk-prk9ks5j.js +0 -1
- package/web/chunk-prk9ks5j.js.br +0 -0
- package/web/chunk-prk9ks5j.js.gz +0 -0
- package/web/chunk-px68tdjm.js +0 -1
- package/web/chunk-px68tdjm.js.br +0 -2
- package/web/chunk-px68tdjm.js.gz +0 -0
- package/web/chunk-px8k5edz.js +0 -24
- package/web/chunk-px8k5edz.js.br +0 -0
- package/web/chunk-px8k5edz.js.gz +0 -0
- package/web/chunk-pz4g2bem.js +0 -292
- package/web/chunk-pz4g2bem.js.br +0 -0
- package/web/chunk-pz4g2bem.js.gz +0 -0
- package/web/chunk-q0gx75nf.js +0 -55
- package/web/chunk-q0gx75nf.js.br +0 -0
- package/web/chunk-q0gx75nf.js.gz +0 -0
- package/web/chunk-q9rpxfmm.js +0 -1
- package/web/chunk-q9rpxfmm.js.br +0 -0
- package/web/chunk-q9rpxfmm.js.gz +0 -0
- package/web/chunk-qpfhs1x0.js +0 -1
- package/web/chunk-qpfhs1x0.js.br +0 -0
- package/web/chunk-qpfhs1x0.js.gz +0 -0
- package/web/chunk-qredmg6m.js +0 -1
- package/web/chunk-qredmg6m.js.br +0 -0
- package/web/chunk-qredmg6m.js.gz +0 -0
- package/web/chunk-qtc9ar2m.js +0 -2
- package/web/chunk-qtc9ar2m.js.br +0 -0
- package/web/chunk-qtc9ar2m.js.gz +0 -0
- package/web/chunk-r5dsw56r.js +0 -1
- package/web/chunk-r5dsw56r.js.br +0 -0
- package/web/chunk-r5dsw56r.js.gz +0 -0
- package/web/chunk-rkaps675.js +0 -1
- package/web/chunk-rkaps675.js.br +0 -0
- package/web/chunk-rkaps675.js.gz +0 -0
- package/web/chunk-rp87pgcp.js +0 -40
- package/web/chunk-rp87pgcp.js.br +0 -0
- package/web/chunk-rp87pgcp.js.gz +0 -0
- package/web/chunk-rs1mtd35.js +0 -2
- package/web/chunk-rs1mtd35.js.br +0 -0
- package/web/chunk-rs1mtd35.js.gz +0 -0
- package/web/chunk-s31n33g5.js +0 -2
- package/web/chunk-s31n33g5.js.br +0 -0
- package/web/chunk-s31n33g5.js.gz +0 -0
- package/web/chunk-sbcyvn42.js +0 -1
- package/web/chunk-sbcyvn42.js.br +0 -0
- package/web/chunk-sbcyvn42.js.gz +0 -0
- package/web/chunk-sew9vfwy.js +0 -1
- package/web/chunk-sew9vfwy.js.br +0 -0
- package/web/chunk-sew9vfwy.js.gz +0 -0
- package/web/chunk-sgaw26nc.js +0 -2
- package/web/chunk-sgaw26nc.js.br +0 -0
- package/web/chunk-sgaw26nc.js.gz +0 -0
- package/web/chunk-t2ak4a9d.js +0 -1
- package/web/chunk-t2ak4a9d.js.br +0 -0
- package/web/chunk-t2ak4a9d.js.gz +0 -0
- package/web/chunk-ta0e3dk6.js +0 -2
- package/web/chunk-ta0e3dk6.js.br +0 -0
- package/web/chunk-ta0e3dk6.js.gz +0 -0
- package/web/chunk-tqax5mb6.js +0 -217
- package/web/chunk-tqax5mb6.js.br +0 -0
- package/web/chunk-tqax5mb6.js.gz +0 -0
- package/web/chunk-v1wxeq38.js +0 -2
- package/web/chunk-v1wxeq38.js.br +0 -0
- package/web/chunk-v1wxeq38.js.gz +0 -0
- package/web/chunk-v3kwg4zn.js +0 -2
- package/web/chunk-v3kwg4zn.js.br +0 -0
- package/web/chunk-v3kwg4zn.js.gz +0 -0
- package/web/chunk-vcpvhkxh.js +0 -39
- package/web/chunk-vcpvhkxh.js.br +0 -0
- package/web/chunk-vcpvhkxh.js.gz +0 -0
- package/web/chunk-vg9qv3aa.js +0 -1
- package/web/chunk-vg9qv3aa.js.br +0 -0
- package/web/chunk-vg9qv3aa.js.gz +0 -0
- package/web/chunk-vwxnt3nh.js +0 -1
- package/web/chunk-vwxnt3nh.js.br +0 -0
- package/web/chunk-vwxnt3nh.js.gz +0 -0
- package/web/chunk-w1xjqhwy.js +0 -1
- package/web/chunk-w1xjqhwy.js.br +0 -2
- package/web/chunk-w1xjqhwy.js.gz +0 -0
- package/web/chunk-w3nfxvzd.js +0 -1
- package/web/chunk-w3nfxvzd.js.br +0 -0
- package/web/chunk-w3nfxvzd.js.gz +0 -0
- package/web/chunk-w7h3x3ys.js +0 -1
- package/web/chunk-w7h3x3ys.js.br +0 -0
- package/web/chunk-w7h3x3ys.js.gz +0 -0
- package/web/chunk-wb0yn3r4.js +0 -8
- package/web/chunk-wb0yn3r4.js.br +0 -0
- package/web/chunk-wb0yn3r4.js.gz +0 -0
- package/web/chunk-wff6hqjf.js +0 -1
- package/web/chunk-wff6hqjf.js.br +0 -0
- package/web/chunk-wff6hqjf.js.gz +0 -0
- package/web/chunk-whj4e4sb.js +0 -89
- package/web/chunk-whj4e4sb.js.br +0 -0
- package/web/chunk-whj4e4sb.js.gz +0 -0
- package/web/chunk-wn3kdpj0.js +0 -1
- package/web/chunk-wn3kdpj0.js.br +0 -0
- package/web/chunk-wn3kdpj0.js.gz +0 -0
- package/web/chunk-wzq3qxpb.js +0 -1
- package/web/chunk-wzq3qxpb.js.br +0 -0
- package/web/chunk-wzq3qxpb.js.gz +0 -0
- package/web/chunk-x2tezwv1.js +0 -4
- package/web/chunk-x2tezwv1.js.br +0 -0
- package/web/chunk-x2tezwv1.js.gz +0 -0
- package/web/chunk-xmajh4qe.js +0 -2
- package/web/chunk-xmajh4qe.js.br +0 -0
- package/web/chunk-xmajh4qe.js.gz +0 -0
- package/web/chunk-xz7py7yx.js +0 -1
- package/web/chunk-xz7py7yx.js.br +0 -0
- package/web/chunk-xz7py7yx.js.gz +0 -0
- package/web/chunk-y4af9gsm.js +0 -291
- package/web/chunk-y4af9gsm.js.br +0 -0
- package/web/chunk-y4af9gsm.js.gz +0 -0
- package/web/chunk-y512gr5a.js +0 -332
- package/web/chunk-y512gr5a.js.br +0 -0
- package/web/chunk-y512gr5a.js.gz +0 -0
- package/web/chunk-ywg44m2b.js +0 -2
- package/web/chunk-ywg44m2b.js.br +0 -0
- package/web/chunk-ywg44m2b.js.gz +0 -0
- package/web/chunk-zhzp4fm1.js +0 -2
- package/web/chunk-zhzp4fm1.js.br +0 -0
- package/web/chunk-zhzp4fm1.js.gz +0 -0
package/web/chunk-b2gtwatf.js.br
DELETED
|
Binary file
|
package/web/chunk-b2gtwatf.js.gz
DELETED
|
Binary file
|
package/web/chunk-bdp4y1zg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bs}from"./chunk-kxxp1mn4.js";import"./chunk-6ycpdpfj.js";export{Bs as default};
|
package/web/chunk-bdp4y1zg.js.br
DELETED
|
Binary file
|
package/web/chunk-bdp4y1zg.js.gz
DELETED
|
Binary file
|
package/web/chunk-be67vfx1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Z,a,e,n,v,ge,le}from"./chunk-29fpfs5q.js";import{er,da}from"./chunk-v3kwg4zn.js";import"./chunk-mzzjg4sn.js";function B({connection:p}){let{Button:r,ModelIcon:u,ModelSelector:f,SettingGroup:d,SettingRow:h,Switch:x,cn:y}=v(),c=Z(),[S,b]=a(""),i=da({connection:p,endpoint:"/api/plugins/agents/settings",loadError:"读取理事会设置失败",toBody:(t)=>({schemaVersion:1,models:t.models,research:t.research}),differs:(t,s)=>JSON.stringify(t.models)!==JSON.stringify(s.models)||t.research!==s.research}),N=(t)=>{if(!t)return;i.edit((s)=>{if(s.models.includes(t)||s.models.length>=8)return s;return{...s,models:[...s.models,t]}}),b("")},k=(t)=>{i.edit((s)=>({...s,models:s.models.filter((o)=>o!==t)}))},l=i.settings?.models??[];return n("form",{id:c,onSubmit:i.save,className:"min-w-0 space-y-5",children:[e(d,{title:"参会模型",description:`已选 ${l.length}/8,至少 2 个模型参与群聊交叉审查`,children:n("ul",{className:"divide-y divide-line/60",children:[l.map((t)=>{let s=i.modelList.models.find((C)=>C.id===t),o=t.indexOf("/"),m=o<0?"":t.slice(0,o),g=s?.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-ui text-ink",children:g}),m&&e("span",{className:"max-w-32 shrink-0 truncate text-xs text-faint",children:m}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:i.loading||i.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(le,{className:"size-3.5"})})]},t)}),l.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:i.modelList.models.filter((t)=>!l.includes(t.id))},value:S,onChange:N})}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:i.loading||i.refreshing||i.saving,"aria-label":"刷新模型列表",title:"刷新模型列表",onClick:()=>void i.load(!0),className:"text-faint hover:text-ink",children:e(ge,{className:y("size-3.5",i.refreshing&&"animate-spin")})})]})]})}),e(d,{title:"流程",children:e(h,{title:"调研阶段",description:"表态前各自先查证,关闭后直接发表意见",children:e(x,{label:"调研阶段",checked:i.settings?.research??!0,disabled:i.loading||i.saving,onCheckedChange:(t)=>{i.edit((s)=>({...s,research:t}))}})})}),e(er,{formID:c,notice:i.notice,dirty:i.dirty,busy:i.loading||i.saving,saving:i.saving,onReset:i.reset})]})}export{B as CouncilSettingsSection};
|
package/web/chunk-be67vfx1.js.br
DELETED
|
Binary file
|
package/web/chunk-be67vfx1.js.gz
DELETED
|
Binary file
|
package/web/chunk-bt6r78y9.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import{zr}from"./chunk-60v8qwec.js";import{oe}from"./chunk-6wyxxd9h.js";import{t,i,F,A,C,N,M,P,R,I,O,D,d,ii,y,uc,Q,H}from"./chunk-eejjsqm1.js";import{ve}from"./chunk-4v9ar0sf.js";var B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ke=F.gitGraph,V=t(()=>Q({...ke,...A().gitGraph}),"getConfig"),m=new zr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function se(){return uc({length:7})}t(se,"getID");function $e(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let l=r(c);if(!a[l])a[l]=!0,n.push(c);return n},[])}t($e,"uniqBy");var Ce=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){i.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:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let l=V();a=C.sanitizeText(a,l),r=C.sanitizeText(r,l),c=c?.map((o)=>C.sanitizeText(o,l));let s={id:a?a:m.records.seq+"-"+se(),message:r,seq:m.records.seq++,type:n??B.NORMAL,tags:c??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=s,i.info("main branch",l.mainBranchName),m.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);m.records.commits.set(s.id,s),m.records.branches.set(m.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.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:a}),pe(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,l=V();if(r=C.sanitizeText(r,l),a)a=C.sanitizeText(a,l);let s=m.records.branches.get(m.records.currBranch),o=m.records.branches.get(r),g=s?m.records.commits.get(s):void 0,p=o?m.records.commits.get(o):void 0;if(g&&p&&g.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let h=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(g===void 0||!g){let h=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!m.records.branches.has(r)){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(p===void 0||!p){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(g===p){let h=Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(a&&m.records.commits.has(a)){let h=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw h.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},h}let x=o?o:"",f={id:a||`${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,x],branch:m.records.currBranch,type:B.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};m.records.head=f,m.records.commits.set(f.id,f),m.records.branches.set(m.records.currBranch,f.id),i.debug(m.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let l=V();if(r=C.sanitizeText(r,l),a=C.sanitizeText(a,l),n=n?.map((g)=>C.sanitizeText(g,l)),c=C.sanitizeText(c,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} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}let s=m.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===B.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!m.records.commits.has(a)){if(o===m.records.currBranch){let f=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,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} ${a}`,token:`cherryPick ${r} ${a}`,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} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let x={id:m.records.seq+"-"+se(),message:`cherry-picked ${s?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,s.id],branch:m.records.currBranch,type:B.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===B.MERGE?`|parent:${c}`:""}`]};m.records.head=x,m.records.commits.set(x.id,x),m.records.branches.set(m.records.currBranch,x.id),i.debug(m.records.branches),i.debug("in cherryPick")}},"cherryPick"),pe=t(function(e){if(e=C.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,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function le(e){let r=e.reduce((c,l)=>{if(c.seq>l.seq)return c;return l},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in m.records.branches)if(m.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=m.records.commits.get(r.parents[0]);if(de(e,r,c),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 c=m.records.commits.get(r.parents[0]);de(e,r,c)}e=$e(e,(c)=>c.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(m.records.commits);let e=ye()[0];le([e])},"prettyPrint"),Ie=t(function(){m.reset(),N()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),ye=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.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"),xe={commitType:B,getConfig:V,setDirection:Ce,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:pe,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:ye,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D},He=t((e,r)=>{if(oe(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?B[e.type]:B.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?B[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 ve("gitGraph",e);i.debug(r),He(r,xe)},"parse")},Y=10,j=40,W=4,S=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,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),L=new Map,_=new Map,re=30,J=new Map,ae=[],z=0,b="LR",Ve=t(()=>{L.clear(),_.clear(),J.clear(),z=0,ae=[],b="LR"},"clear"),ue=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((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),be=t((e)=>{let r,a,n;if(b==="BT")a=t((c,l)=>c<=l,"comparisonFunc"),n=1/0;else a=t((c,l)=>c>=l,"comparisonFunc"),n=0;return e.forEach((c)=>{let l=b==="TB"||b=="BT"?_.get(c)?.y:_.get(c)?.x;if(l!==void 0&&a(l,n))r=c,n=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=_.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,l=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else l.push(o);et(o,n)}),n=c,l.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let g=Ze(o.parents);if(n=_.get(g).y-j,n<=c)c=n;let p=L.get(o.branch).pos,x=n-Y;_.set(o.id,{x:p,y:x})}})},"setParallelBTPos"),Je=t((e)=>{let r=be(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=_.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=L.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return _.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=L.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,l=n.pos;_.set(e.id,{x:l,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,l)=>{let{theme:s}=d(),o=ne.has(s??""),g=me.has(s??""),p=Ue.has(s??"");if(l===B.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,g)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,g)} ${n}-inner`);else if(l===B.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let x=e.append("circle");if(x.attr("cx",a.x),x.attr("cy",a.y),x.attr("r",o?7:10),x.attr("class",`commit ${r.id} commit${U(c,K,g)}`),l===B.MERGE){let f=e.append("circle");f.attr("cx",a.x),f.attr("cy",a.y),f.attr("r",o?5:6),f.attr("class",`commit ${n} ${r.id} commit${U(c,K,g)}`)}if(l===B.REVERSE){let f=e.append("path"),h=o?4:5;f.attr("d",`M ${a.x-h},${a.y-h}L${a.x+h},${a.y+h}M${a.x-h},${a.y+h}L${a.x+h},${a.y-h}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,g)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==B.CHERRY_PICK&&(r.customId&&r.type===B.MERGE||r.type!==B.MERGE)&&c.showCommitLabel){let l=e.append("g"),s=l.insert("rect").attr("class","commit-label-bkg"),o=l.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),g=o.node()?.getBBox();if(g){if(s.attr("x",a.posWithOffset-g.width/2-S).attr("y",a.y+13.5).attr("width",g.width+2*S).attr("height",g.height+2*S),b==="TB"||b==="BT")s.attr("x",a.x-(g.width+4*W+5)).attr("y",a.y-12),o.attr("x",a.x-(g.width+4*W)).attr("y",a.y+g.height-12);else o.attr("x",a.posWithOffset-g.width/2);if(c.rotateCommitLabel)if(b==="TB"||b==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let p=-7.5-(g.width+10)/25*9.5,x=10+g.width/25*8.5;l.attr("transform","translate("+p+", "+x+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,l=0,s=0,o=[];for(let g of r.tags.reverse()){let p=e.insert("polygon"),x=e.append("circle"),f=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(g),h=f.node()?.getBBox();if(!h)throw Error("Tag bbox not found");l=Math.max(l,h.width),s=Math.max(s,h.height),f.attr("x",a.posWithOffset-h.width/2),o.push({tag:f,hole:x,rect:p,yOffset:c}),c+=20}for(let{tag:g,hole:p,rect:x,yOffset:f}of o){let h=s/2,w=a.y-19.2-f;if(x.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
-
${n-l/2-W/2},${w+S}
|
|
3
|
-
${n-l/2-W/2},${w-S}
|
|
4
|
-
${a.posWithOffset-l/2-W},${w-h-S}
|
|
5
|
-
${a.posWithOffset+l/2+W},${w-h-S}
|
|
6
|
-
${a.posWithOffset+l/2+W},${w+h+S}
|
|
7
|
-
${a.posWithOffset-l/2-W},${w+h+S}`),p.attr("cy",w).attr("cx",n-l/2+W/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let u=n+f;x.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
-
${a.x},${u+2}
|
|
9
|
-
${a.x},${u-2}
|
|
10
|
-
${a.x+Y},${u-h-2}
|
|
11
|
-
${a.x+Y+l+4},${u-h-2}
|
|
12
|
-
${a.x+Y+l+4},${u+h+2}
|
|
13
|
-
${a.x+Y},${u+h+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),p.attr("cx",a.x+W/2).attr("cy",u).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),g.attr("x",a.x+5).attr("y",u+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case B.NORMAL:return"commit-normal";case B.REVERSE:return"commit-reverse";case B.HIGHLIGHT:return"commit-highlight";case B.MERGE:return"commit-merge";case B.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let l=be(e.parents);if(l){let s=n.get(l)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=b==="BT"&&a?r:r+Y,c=L.get(e.branch)?.pos,l=b==="TB"||b==="BT"?L.get(e.branch)?.pos:n;if(l===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=ne.has(d().theme??""),o=b==="TB"||b==="BT"?n:c+(s?he/2+1:-2);return{x:l,y:o,posWithOffset:n}},"getCommitPosition"),fe=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),s=b==="TB"||b==="BT"?re:0,o=[...r.keys()],g=n.parallelCommits??!1,p=t((f,h)=>{let w=r.get(f)?.seq,u=r.get(h)?.seq;return w!==void 0&&u!==void 0?w-u:0},"sortKeys"),x=o.sort(p);if(b==="BT"){if(g)Xe(x,r,s);x=x.reverse()}x.forEach((f)=>{let h=r.get(f);if(!h)throw Error(`Commit not found for key ${f}`);if(g)s=nt(h,b,s,_);let w=ct(h,s,g);if(a){let u=st(h),k=h.customType??h.type,v=L.get(h.branch)?.index??0;rt(c,h,w,u,v,k),at(l,h,w,s,n),ot(l,h,w,s)}if(b==="TB"||b==="BT")_.set(h.id,{x:w.x,y:w.posWithOffset});else _.set(h.id,{x:w.posWithOffset,y:w.y});if(s=b==="BT"&&g?s+j:s+j+Y,s>z)z=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(b==="TB"||b==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((p)=>p.branch===s,"isOnBranchToGetCurve"),g=t((p)=>p.seq>e.seq&&p.seq<r.seq,"isBetweenCommits");return[...c.values()].some((p)=>g(p)&&o(p))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(ae.every((s)=>Math.abs(s-n)>=10))return ae.push(n),n;let l=Math.abs(e-r);return ee(e,r-l/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=d(),l=me.has(c??""),s=_.get(r.id),o=_.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let g=it(r,a,s,o,n),p="",x="",f=0,h=0,w=L.get(a.branch)?.index;if(a.type===B.MERGE&&r.id!==a.parents[0])w=L.get(r.branch)?.index;let u;if(g){p="A 10 10, 0, 0, 0,",x="A 10 10, 0, 0, 1,",f=10,h=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),v=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(b==="TB")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-f} ${s.y} ${x} ${v} ${s.y+h} L ${v} ${o.y-f} ${p} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+f} ${s.y} ${p} ${v} ${s.y+h} L ${v} ${o.y-f} ${x} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(b==="BT")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-f} ${s.y} ${p} ${v} ${s.y-h} L ${v} ${o.y+f} ${x} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+f} ${s.y} ${x} ${v} ${s.y-h} L ${v} ${o.y+f} ${p} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)u=`M ${s.x} ${s.y} L ${s.x} ${k-f} ${p} ${s.x+h} ${k} L ${o.x-f} ${k} ${x} ${o.x} ${k+h} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${s.x} ${k+f} ${x} ${s.x+h} ${k} L ${o.x-f} ${k} ${p} ${o.x} ${k-h} L ${o.x} ${o.y}`}else if(p="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",f=20,h=20,b==="TB"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",f=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${x} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${p} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(b==="BT"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",f=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${p} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${x} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(u===void 0)throw Error("Line definition not found");e.append("path").attr("d",u).attr("class","arrow arrow"+U(w,K,l))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((l)=>{dt(a,r.get(l),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:l,themeVariables:s}=d(),{dropShadow:o,THEME_COLOR_LIMIT:g}=s,p=ne.has(l??""),x=me.has(l??""),f=e.append("g");r.forEach((h,w)=>{let u=U(w,p?g:K,x),k=L.get(h.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${h.name}`);let v=b==="TB"||b==="BT"?k:p?k+he/2+1:k-2,E=f.append("line");if(E.attr("x1",0),E.attr("y1",v),E.attr("x2",z),E.attr("y2",v),E.attr("class","branch branch"+u),b==="TB")E.attr("y1",re),E.attr("x1",k),E.attr("y2",z),E.attr("x2",k);else if(b==="BT")E.attr("y1",z),E.attr("x1",k),E.attr("y2",re),E.attr("x2",k);ae.push(v);let ce=h.name,X=ue(ce),G=f.insert("rect"),q=f.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+u);q.node().appendChild(X);let T=X.getBBox(),ge=p?0:4,te=p?16:0,Z=p?he:0;if(c==="neo")G.attr("data-look","neo");if(G.attr("class","branchLabelBkg label"+u).attr("style",c==="neo"?`filter:${p?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",ge).attr("ry",ge).attr("x",-T.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-T.height/2+10).attr("width",T.width+18+te).attr("height",T.height+4+Z),q.attr("transform","translate("+(-T.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(v-T.height/2-2)+")"),b==="TB"){if(G.attr("x",k-T.width/2-10).attr("y",0),q.attr("transform","translate("+(k-T.width/2-5)+", 0)"),p)G.attr("transform",`translate(${-te/2-3}, ${-Z-10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(-Z*2+7)+")")}else if(b==="BT"){if(G.attr("x",k-T.width/2-10).attr("y",z),q.attr("transform","translate("+(k-T.width/2-5)+", "+z+")"),p)G.attr("transform",`translate(${-te/2-3}, ${Z+10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(z+Z*2+4)+")")}else G.attr("transform","translate(-19, "+(v-12-Z/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return L.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(b==="TB"||b==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
|
|
14
|
-
`,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let l=c.getConfig(),s=l.rotateCommitLabel??!1;J=c.getCommits();let o=c.getBranchesAsObjArray();b=c.getDirection();let g=y(`[id="${r}"]`),{look:p,theme:x,themeVariables:f}=d(),{useGradient:h,gradientStart:w,gradientStop:u,filterColor:k}=f;if(h){let E=g.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}if(p==="neo"&&ne.has(x??""))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",k);let v=0;if(o.forEach((E,ce)=>{let X=ue(E.name),G=g.append("g"),ie=G.insert("g").attr("class","branchLabel"),q=ie.insert("g").attr("class","label branch-label");q.node()?.appendChild(X);let T=X.getBBox();v=mt(E.name,v,ce,T,s),q.remove(),ie.remove(),G.remove()}),fe(g,J,!1,l),l.showBranches)lt(g,o,l,r);ht(g,J),fe(g,J,!0,l),H.insertTitle(g,"gitTitleText",l.titleTopMargin??0,c.getDiagramTitle()),ii(void 0,g,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},we=8,Be=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,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
|
|
15
|
-
.label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
-
`;return a},"genGitGraphGradient"),bt=t((e)=>{let r=A(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,l=Be.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
17
|
-
.branch-label${o} { fill: ${e.nodeBorder};}
|
|
18
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
19
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
20
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
21
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
22
|
-
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
23
|
-
${ut(e)}`;else{let g=o%we;s+=`
|
|
24
|
-
.branch-label${o} { fill: ${e["gitBranchLabel"+g]}; }
|
|
25
|
-
.commit${o} { stroke: ${e["git"+g]}; fill: ${e["git"+g]}; }
|
|
26
|
-
.commit-highlight${o} { stroke: ${e["gitInv"+g]}; fill: ${e["gitInv"+g]}; }
|
|
27
|
-
.arrow${o} { stroke: ${e["git"+g]}; }
|
|
28
|
-
`}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
|
|
29
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
30
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
31
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
32
|
-
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
|
|
33
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
34
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
35
|
-
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
36
|
-
`;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
37
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
38
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
39
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
40
|
-
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
41
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
42
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
43
|
-
`;else{let g=o%c.length;s+=`
|
|
44
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
45
|
-
.commit${o} { stroke: ${c[g]}; fill: ${c[g]}; }
|
|
46
|
-
.commit-highlight${o} { stroke: ${c[g]}; fill: ${c[g]}; }
|
|
47
|
-
.label${o} { fill: ${yt.has(a)?e.mainBkg:c[g]}; stroke: ${c[g]}; stroke-width: ${e.strokeWidth}; }
|
|
48
|
-
.arrow${o} { stroke: ${c[g]}; }
|
|
49
|
-
`}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%we;return`
|
|
50
|
-
.branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
|
|
51
|
-
.commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
|
|
52
|
-
.commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
|
|
53
|
-
.label${r} { fill: ${e["git"+a]}; }
|
|
54
|
-
.arrow${r} { stroke: ${e["git"+a]}; }
|
|
55
|
-
`}).join(`
|
|
56
|
-
`)}`,"normalTheme"),Bt=t((e)=>{let r=A(),{theme:a}=r,n=xt.has(a);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
|
-
${n?bt(e):wt(e)}
|
|
67
|
-
|
|
68
|
-
.branch {
|
|
69
|
-
stroke-width: ${e.strokeWidth};
|
|
70
|
-
stroke: ${e.commitLineColor??e.lineColor};
|
|
71
|
-
stroke-dasharray: ${n?"4 2":"2"};
|
|
72
|
-
}
|
|
73
|
-
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
|
|
74
|
-
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
|
|
75
|
-
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
76
|
-
.tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
|
|
77
|
-
.tag-hole { fill: ${e.textColor}; }
|
|
78
|
-
|
|
79
|
-
.commit-merge {
|
|
80
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
81
|
-
fill: ${n?e.mainBkg:e.primaryColor};
|
|
82
|
-
}
|
|
83
|
-
.commit-reverse {
|
|
84
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
85
|
-
fill: ${n?e.mainBkg:e.primaryColor};
|
|
86
|
-
stroke-width: ${n?e.strokeWidth:3};
|
|
87
|
-
}
|
|
88
|
-
.commit-highlight-outer {
|
|
89
|
-
}
|
|
90
|
-
.commit-highlight-inner {
|
|
91
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
92
|
-
fill: ${n?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: ${Be.has(a)?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:xe,renderer:ft,styles:kt};export{Ot as diagram};
|
package/web/chunk-bt6r78y9.js.br
DELETED
|
Binary file
|
package/web/chunk-bt6r78y9.js.gz
DELETED
|
Binary file
|
package/web/chunk-bvyjy17t.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function we(e,t){return e[13]=1,e[14]=t>>8,e[15]=t&255,e[16]=t>>8,e[17]=t&255,e}var K=112,Q=72,Z=89,ee=115,B;function pe(){let e=new Int32Array(256);for(let t=0;t<256;t++){let r=t;for(let n=0;n<8;n++)r=r&1?3988292384^r>>>1:r>>>1;e[t]=r}return e}function ye(e){let t=-1;if(!B)B=pe();for(let r=0;r<e.length;r++)t=B[(t^e[r])&255]^t>>>8;return t^-1}function be(e){let t=e.length-1;for(let r=t;r>=4;r--)if(e[r-4]===9&&e[r-3]===K&&e[r-2]===Q&&e[r-1]===Z&&e[r]===ee)return r-3;return 0}function Se(e,t,r=!1){let n=new Uint8Array(13);t*=39.3701,n[0]=K,n[1]=Q,n[2]=Z,n[3]=ee,n[4]=t>>>24,n[5]=t>>>16,n[6]=t>>>8,n[7]=t&255,n[8]=n[4],n[9]=n[5],n[10]=n[6],n[11]=n[7],n[12]=1;let a=ye(n),s=new Uint8Array(4);if(s[0]=a>>>24,s[1]=a>>>16,s[2]=a>>>8,s[3]=a&255,r){let i=be(e);return e.set(n,i),e.set(s,i+13),e}else{let i=new Uint8Array(4);i[0]=0,i[1]=0,i[2]=0,i[3]=9;let o=new Uint8Array(54);return o.set(e,0),o.set(i,33),o.set(n,37),o.set(s,50),o}}var te="[modern-screenshot]",T=typeof window<"u",Ee=T&&"Worker"in window,Ce=T&&"atob"in window,xt=T&&"btoa"in window,M=T?window.navigator?.userAgent:"",re=M.includes("Chrome"),x=M.includes("AppleWebKit")&&!re,W=M.includes("Firefox"),ve=(e)=>e&&("__CONTEXT__"in e),Te=(e)=>e.constructor.name==="CSSFontFaceRule",Ne=(e)=>e.constructor.name==="CSSImportRule",Ae=(e)=>e.constructor.name==="CSSLayerBlockRule",E=(e)=>e.nodeType===1,k=(e)=>typeof e.className==="object",ne=(e)=>e.tagName==="image",De=(e)=>e.tagName==="use",D=(e)=>E(e)&&typeof e.style<"u"&&!k(e),Re=(e)=>e.nodeType===8,Ie=(e)=>e.nodeType===3,A=(e)=>e.tagName==="IMG",P=(e)=>e.tagName==="VIDEO",ke=(e)=>e.tagName==="CANVAS",Fe=(e)=>e.tagName==="TEXTAREA",xe=(e)=>e.tagName==="INPUT",Pe=(e)=>e.tagName==="STYLE",_e=(e)=>e.tagName==="SCRIPT",Ue=(e)=>e.tagName==="SELECT",$e=(e)=>e.tagName==="SLOT",Be=(e)=>e.tagName==="IFRAME",Le=(...e)=>console.warn(te,...e);function Oe(e){let t=e?.createElement?.("canvas");if(t)t.height=t.width=1;return Boolean(t)&&"toDataURL"in t&&Boolean(t.toDataURL("image/webp").includes("image/webp"))}var L=(e)=>e.startsWith("data:");function oe(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(T&&e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;if(!T)return e;let r=_().implementation.createHTMLDocument(),n=r.createElement("base"),a=r.createElement("a");if(r.head.appendChild(n),r.body.appendChild(a),t)n.href=t;return a.href=e,a.href}function _(e){return(e&&E(e)?e?.ownerDocument:e)??window.document}var U="http://www.w3.org/2000/svg";function Me(e,t,r){let n=_(r).createElementNS(U,"svg");return n.setAttributeNS(null,"width",e.toString()),n.setAttributeNS(null,"height",t.toString()),n.setAttributeNS(null,"viewBox",`0 0 ${e} ${t}`),n}function We(e,t){let r=new XMLSerializer().serializeToString(e);if(t)r=r.replace(/[\u0000-\u0008\v\f\u000E-\u001F\uD800-\uDFFF\uFFFE\uFFFF]/gu,"");return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(r)}`}async function je(e,t="image/png",r=1){try{return await new Promise((n,a)=>{e.toBlob((s)=>{if(s)n(s);else a(Error("Blob is null"))},t,r)})}catch(n){if(Ce)return qe(e.toDataURL(t,r));throw n}}function qe(e){let[t,r]=e.split(","),n=t.match(/data:(.+);/)?.[1]??void 0,a=window.atob(r),s=a.length,i=new Uint8Array(s);for(let o=0;o<s;o+=1)i[o]=a.charCodeAt(o);return new Blob([i],{type:n})}function se(e,t){return new Promise((r,n)=>{let a=new FileReader;if(a.onload=()=>r(a.result),a.onerror=()=>n(a.error),a.onabort=()=>n(Error(`Failed read blob to ${t}`)),t==="dataUrl")a.readAsDataURL(e);else if(t==="arrayBuffer")a.readAsArrayBuffer(e)})}var He=(e)=>se(e,"dataUrl"),Ve=(e)=>se(e,"arrayBuffer");function N(e,t){let r=_(t).createElement("img");return r.decoding="sync",r.loading="eager",r.src=e,r}function R(e,t){return new Promise((r)=>{let{timeout:n,ownerDocument:a,onError:s,onWarn:i}=t??{},o=typeof e==="string"?N(e,_(a)):e,f=null,c=null;function l(){r(o),f&&clearTimeout(f),c?.()}if(n)f=setTimeout(l,n);if(P(o)){let m=o.currentSrc||o.src;if(!m){if(o.poster)return R(o.poster,t).then(r);return l()}if(o.readyState>=2)return l();let d=l,g=(h)=>{i?.("Failed video load",m,h),s?.(h),l()};c=()=>{o.removeEventListener("loadeddata",d),o.removeEventListener("error",g)},o.addEventListener("loadeddata",d,{once:!0}),o.addEventListener("error",g,{once:!0})}else{let m=ne(o)?o.href.baseVal:o.currentSrc||o.src;if(!m)return l();let d=async()=>{if(A(o)&&"decode"in o)try{await o.decode()}catch(h){i?.("Failed to decode image, trying to render anyway",o.dataset.originalSrc||m,h)}l()},g=(h)=>{i?.("Failed image load",o.dataset.originalSrc||m,h),l()};if(A(o)&&o.complete)return d();c=()=>{o.removeEventListener("load",d),o.removeEventListener("error",g)},o.addEventListener("load",d,{once:!0}),o.addEventListener("error",g,{once:!0})}})}async function ze(e,t){if(D(e))if(A(e)||P(e))await R(e,t);else await Promise.all(["img","video"].flatMap((r)=>Array.from(e.querySelectorAll(r)).map((n)=>R(n,t))))}var ae=function(){let t=0,r=()=>`0000${(Math.random()*1679616<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${r()}${t}`)}();function ie(e){return e?.split(",").map((t)=>t.trim().replace(/"|'/g,"").toLowerCase()).filter(Boolean)}var V=0;function Xe(e){let t=`${te}[#${V}]`;return V++,{time:(r)=>e&&console.time(`${t} ${r}`),timeEnd:(r)=>e&&console.timeEnd(`${t} ${r}`),warn:(...r)=>e&&Le(...r)}}function Ge(e){return{cache:e?"no-cache":"force-cache"}}async function j(e,t){return ve(e)?e:Ye(e,{...t,autoDestruct:!0})}async function Ye(e,t){let{scale:r=1,workerUrl:n,workerNumber:a=1}=t||{},s=Boolean(t?.debug),i=t?.features??!0,o=e.ownerDocument??(T?window.document:void 0),f=e.ownerDocument?.defaultView??(T?window:void 0),c=new Map,l={width:0,height:0,quality:1,type:"image/png",scale:r,backgroundColor:null,style:null,filter:null,maximumCanvasSize:0,timeout:30000,progress:null,debug:s,fetch:{requestInit:Ge(t?.fetch?.bypassingCache),placeholderImage:"data:image/png;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",bypassingCache:!1,...t?.fetch},fetchFn:null,font:{},drawImageInterval:100,workerUrl:null,workerNumber:a,onCloneEachNode:null,onCloneNode:null,onEmbedNode:null,onCreateForeignObjectSvg:null,includeStyleProperties:null,autoDestruct:!1,...t,__CONTEXT__:!0,log:Xe(s),node:e,ownerDocument:o,ownerWindow:f,dpi:r===1?null:96*r,svgStyleElement:le(o),svgDefsElement:o?.createElementNS(U,"defs"),svgStyles:new Map,defaultComputedStyles:new Map,workers:[...Array.from({length:Ee&&n&&a?a:0})].map(()=>{try{let g=new Worker(n);return g.onmessage=async(h)=>{let{url:u,result:w}=h.data;if(w)c.get(u)?.resolve?.(w);else c.get(u)?.reject?.(Error(`Error receiving message from worker: ${u}`))},g.onmessageerror=(h)=>{let{url:u}=h.data;c.get(u)?.reject?.(Error(`Error receiving message from worker: ${u}`))},g}catch(g){return l.log.warn("Failed to new Worker",g),null}}).filter(Boolean),fontFamilies:new Map,fontCssTexts:new Map,acceptOfImage:`${[Oe(o)&&"image/webp","image/svg+xml","image/*","*/*"].filter(Boolean).join(",")};q=0.8`,requests:c,drawImageCount:0,tasks:[],features:i,isEnable:(g)=>{if(g==="restoreScrollPosition")return typeof i==="boolean"?!1:i[g]??!1;if(typeof i==="boolean")return i;return i[g]??!0},shadowRoots:[]};l.log.time("wait until load"),await ze(e,{timeout:l.timeout,onWarn:l.log.warn}),l.log.timeEnd("wait until load");let{width:m,height:d}=Je(e,l);return l.width=m,l.height=d,l}function le(e){if(!e)return;let t=e.createElement("style"),r=t.ownerDocument.createTextNode(`
|
|
2
|
-
.______background-clip--text {
|
|
3
|
-
background-clip: text;
|
|
4
|
-
-webkit-background-clip: text;
|
|
5
|
-
}
|
|
6
|
-
`);return t.appendChild(r),t}function Je(e,t){let{width:r,height:n}=t;if(E(e)&&(!r||!n)){let a=e.getBoundingClientRect();r=r||a.width||Number(e.getAttribute("width"))||0,n=n||a.height||Number(e.getAttribute("height"))||0}return{width:r,height:n}}async function Ke(e,t){let{log:r,timeout:n,drawImageCount:a,drawImageInterval:s}=t;r.time("image to canvas");let i=await R(e,{timeout:n,onWarn:t.log.warn}),{canvas:o,context2d:f}=Qe(e.ownerDocument,t),c=()=>{try{f?.drawImage(i,0,0,o.width,o.height)}catch(l){t.log.warn("Failed to drawImage",l)}};if(c(),t.isEnable("fixSvgXmlDecode"))for(let l=0;l<a;l++)await new Promise((m)=>{setTimeout(()=>{f?.clearRect(0,0,o.width,o.height),c(),m()},l+s)});return t.drawImageCount=0,r.timeEnd("image to canvas"),o}function Qe(e,t){let{width:r,height:n,scale:a,backgroundColor:s,maximumCanvasSize:i}=t,o=e.createElement("canvas");if(o.width=Math.floor(r*a),o.height=Math.floor(n*a),o.style.width=`${r}px`,o.style.height=`${n}px`,i){if(o.width>i||o.height>i)if(o.width>i&&o.height>i)if(o.width>o.height)o.height*=i/o.width,o.width=i;else o.width*=i/o.height,o.height=i;else if(o.width>i)o.height*=i/o.width,o.width=i;else o.width*=i/o.height,o.height=i}let f=o.getContext("2d");if(f&&s)f.fillStyle=s,f.fillRect(0,0,o.width,o.height);return{canvas:o,context2d:f}}function ce(e,t){if(e.ownerDocument)try{let s=e.toDataURL();if(s!=="data:,")return N(s,e.ownerDocument)}catch(s){t.log.warn("Failed to clone canvas",s)}let r=e.cloneNode(!1),n=e.getContext("2d"),a=r.getContext("2d");try{if(n&&a)a.putImageData(n.getImageData(0,0,e.width,e.height),0,0);return r}catch(s){t.log.warn("Failed to clone canvas",s)}return r}function Ze(e,t){try{if(e?.contentDocument?.documentElement)return q(e.contentDocument.documentElement,t)}catch(r){t.log.warn("Failed to clone iframe",r)}return e.cloneNode(!1)}function et(e){let t=e.cloneNode(!1);if(e.currentSrc&&e.currentSrc!==e.src)t.src=e.currentSrc,t.srcset="";if(t.loading==="lazy")t.loading="eager";return t}async function tt(e,t){if(e.ownerDocument&&!e.currentSrc&&e.poster)return N(e.poster,e.ownerDocument);let r=e.cloneNode(!1);if(r.crossOrigin="anonymous",e.currentSrc&&e.currentSrc!==e.src)r.src=e.currentSrc;let n=r.ownerDocument;if(n){let a=!0;if(await R(r,{onError:()=>a=!1,onWarn:t.log.warn}),!a){if(e.poster)return N(e.poster,e.ownerDocument);return r}r.currentTime=e.currentTime,await new Promise((i)=>{r.addEventListener("seeked",i,{once:!0})});let s=n.createElement("canvas");s.width=e.offsetWidth,s.height=e.offsetHeight;try{let i=s.getContext("2d");if(i)i.drawImage(r,0,0,s.width,s.height)}catch(i){if(t.log.warn("Failed to clone video",i),e.poster)return N(e.poster,e.ownerDocument);return r}return ce(s,t)}return r}function rt(e,t){if(ke(e))return ce(e,t);if(Be(e))return Ze(e,t);if(A(e))return et(e);if(P(e))return tt(e,t);return e.cloneNode(!1)}function nt(e){let t=e.sandbox;if(!t){let{ownerDocument:r}=e;try{if(r)t=r.createElement("iframe"),t.id=`__SANDBOX__${ae()}`,t.width="0",t.height="0",t.style.visibility="hidden",t.style.position="fixed",r.body.appendChild(t),t.srcdoc='<!DOCTYPE html><meta charset="UTF-8"><title></title><body>',e.sandbox=t}catch(n){e.log.warn("Failed to getSandBox",n)}}return t}var ot=["width","height","-webkit-text-fill-color"],st=["stroke","fill"];function ue(e,t,r){let{defaultComputedStyles:n}=r,a=e.nodeName.toLowerCase(),s=k(e)&&a!=="svg",i=s?st.map((u)=>[u,e.getAttribute(u)]).filter(([,u])=>u!==null):[],o=[s&&"svg",a,i.map((u,w)=>`${u}=${w}`).join(","),t].filter(Boolean).join(":");if(n.has(o))return n.get(o);let c=nt(r)?.contentWindow;if(!c)return new Map;let l=c?.document,m,d;if(s)m=l.createElementNS(U,"svg"),d=m.ownerDocument.createElementNS(m.namespaceURI,a),i.forEach(([u,w])=>{d.setAttributeNS(null,u,w)}),m.appendChild(d);else m=d=l.createElement(a);d.textContent=" ",l.body.appendChild(m);let g=c.getComputedStyle(d,t),h=new Map;for(let u=g.length,w=0;w<u;w++){let p=g.item(w);if(ot.includes(p))continue;h.set(p,g.getPropertyValue(p))}return l.body.removeChild(m),n.set(o,h),h}function fe(e,t,r){let n=new Map,a=[],s=new Map;if(r)for(let o of r)i(o);else for(let o=e.length,f=0;f<o;f++){let c=e.item(f);i(c)}for(let o=a.length,f=0;f<o;f++)s.get(a[f])?.forEach((c,l)=>n.set(l,c));function i(o){let f=e.getPropertyValue(o),c=e.getPropertyPriority(o),l=o.lastIndexOf("-"),m=l>-1?o.substring(0,l):void 0;if(m){let d=s.get(m);if(!d)d=new Map,s.set(m,d);d.set(o,[f,c])}if(t.get(o)===f&&!c)return;if(m)a.push(m);else n.set(o,[f,c])}return n}function at(e,t,r,n){let{ownerWindow:a,includeStyleProperties:s,currentParentNodeStyle:i}=n,o=t.style,f=a.getComputedStyle(e),c=ue(e,null,n);i?.forEach((m,d)=>{c.delete(d)});let l=fe(f,c,s);if(l.delete("transition-property"),l.delete("all"),l.delete("d"),l.delete("content"),r)l.delete("position"),l.delete("margin-top"),l.delete("margin-right"),l.delete("margin-bottom"),l.delete("margin-left"),l.delete("margin-block-start"),l.delete("margin-block-end"),l.delete("margin-inline-start"),l.delete("margin-inline-end"),l.set("box-sizing",["border-box",""]);if(l.get("background-clip")?.[0]==="text")t.classList.add("______background-clip--text");if(re){if(!l.has("font-kerning"))l.set("font-kerning",["normal",""]);if((l.get("overflow-x")?.[0]==="hidden"||l.get("overflow-y")?.[0]==="hidden")&&l.get("text-overflow")?.[0]==="ellipsis"&&e.scrollWidth===e.clientWidth)l.set("text-overflow",["clip",""])}for(let m=o.length,d=0;d<m;d++)o.removeProperty(o.item(d));return l.forEach(([m,d],g)=>{o.setProperty(g,m,d)}),l}function it(e,t){if(Fe(e)||xe(e)||Ue(e))t.setAttribute("value",e.value)}var lt=["::before","::after"],ct=["::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::-webkit-scrollbar-corner","::-webkit-resizer"];function ut(e,t,r,n,a){let{ownerWindow:s,svgStyleElement:i,svgStyles:o,currentNodeStyle:f}=n;if(!i||!s)return;function c(l){let m=s.getComputedStyle(e,l),d=m.getPropertyValue("content");if(!d||d==="none")return;a?.(d),d=d.replace(/(')|(")|(counter\(.+\))/g,"");let g=[ae()],h=ue(e,l,n);f?.forEach((b,S)=>{h.delete(S)});let u=fe(m,h,n.includeStyleProperties);if(u.delete("content"),u.delete("-webkit-locale"),u.get("background-clip")?.[0]==="text")t.classList.add("______background-clip--text");let w=[`content: '${d}';`];if(u.forEach(([b,S],v)=>{w.push(`${v}: ${b}${S?" !important":""};`)}),w.length===1)return;try{t.className=[t.className,...g].join(" ")}catch(b){n.log.warn("Failed to copyPseudoClass",b);return}let p=w.join(`
|
|
7
|
-
`),y=o.get(p);if(!y)y=[],o.set(p,y);y.push(`.${g[0]}${l}`)}if(lt.forEach(c),r)ct.forEach(c)}var z=new Set(["symbol"]);async function X(e,t,r,n,a){if(E(r)&&(Pe(r)||_e(r)))return;if(n.filter&&!n.filter(r))return;if(z.has(t.nodeName)||z.has(r.nodeName))n.currentParentNodeStyle=void 0;else n.currentParentNodeStyle=n.currentNodeStyle;let s=await q(r,n,!1,a);if(n.isEnable("restoreScrollPosition"))ft(e,s);t.appendChild(s)}async function G(e,t,r,n){let a=e.firstChild;if(E(e)){if(e.shadowRoot)a=e.shadowRoot?.firstChild,r.shadowRoots.push(e.shadowRoot)}for(let s=a;s;s=s.nextSibling){if(Re(s))continue;if(E(s)&&$e(s)&&typeof s.assignedNodes==="function"){let i=s.assignedNodes();for(let o=0;o<i.length;o++)await X(e,t,i[o],r,n)}else await X(e,t,s,r,n)}}function ft(e,t){if(!D(e)||!D(t))return;let{scrollTop:r,scrollLeft:n}=e;if(!r&&!n)return;let{transform:a}=t.style,s=new DOMMatrix(a),{a:i,b:o,c:f,d:c}=s;s.a=1,s.b=0,s.c=0,s.d=1,s.translateSelf(-n,-r),s.a=i,s.b=o,s.c=f,s.d=c,t.style.transform=s.toString()}function dt(e,t){let{backgroundColor:r,width:n,height:a,style:s}=t,i=e.style;if(r)i.setProperty("background-color",r,"important");if(n)i.setProperty("width",`${n}px`,"important");if(a)i.setProperty("height",`${a}px`,"important");if(s)for(let o in s)i[o]=s[o]}var gt=/^[\w-:]+$/;async function q(e,t,r=!1,n){let{ownerDocument:a,ownerWindow:s,fontFamilies:i,onCloneEachNode:o}=t;if(a&&Ie(e)){if(n&&/\S/.test(e.data))n(e.data);return a.createTextNode(e.data)}if(a&&s&&E(e)&&(D(e)||k(e))){let c=await rt(e,t);if(t.isEnable("removeAbnormalAttributes")){let u=c.getAttributeNames();for(let w=u.length,p=0;p<w;p++){let y=u[p];if(!gt.test(y))c.removeAttribute(y)}}let l=t.currentNodeStyle=at(e,c,r,t);if(r)dt(c,t);let m=!1;if(t.isEnable("copyScrollbar")){let u=[l.get("overflow-x")?.[0],l.get("overflow-y")?.[0]];m=u.includes("scroll")||(u.includes("auto")||u.includes("overlay"))&&(e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}let d=l.get("text-transform")?.[0],g=ie(l.get("font-family")?.[0]),h=g?(u)=>{if(d==="uppercase")u=u.toUpperCase();else if(d==="lowercase")u=u.toLowerCase();else if(d==="capitalize")u=u[0].toUpperCase()+u.substring(1);g.forEach((w)=>{let p=i.get(w);if(!p)i.set(w,p=new Set);u.split("").forEach((y)=>p.add(y))})}:void 0;if(ut(e,c,m,t,h),it(e,c),!P(e))await G(e,c,t,h);return await o?.(c),c}let f=e.cloneNode(!1);return await G(e,f,t),await o?.(f),f}function mt(e){if(e.ownerDocument=void 0,e.ownerWindow=void 0,e.svgStyleElement=void 0,e.svgDefsElement=void 0,e.svgStyles.clear(),e.defaultComputedStyles.clear(),e.sandbox){try{e.sandbox.remove()}catch(t){e.log.warn("Failed to destroyContext",t)}e.sandbox=void 0}e.workers=[],e.fontFamilies.clear(),e.fontCssTexts.clear(),e.requests.clear(),e.tasks=[],e.shadowRoots=[]}function ht(e){let{url:t,timeout:r,responseType:n,...a}=e,s=new AbortController,i=r?setTimeout(()=>s.abort(),r):void 0;return fetch(t,{signal:s.signal,...a}).then((o)=>{if(!o.ok)throw Error("Failed fetch, not 2xx response",{cause:o});switch(n){case"arrayBuffer":return o.arrayBuffer();case"dataUrl":return o.blob().then(He);case"text":default:return o.text()}}).finally(()=>clearTimeout(i))}function I(e,t){let{url:r,requestType:n="text",responseType:a="text",imageDom:s}=t,i=r,{timeout:o,acceptOfImage:f,requests:c,fetchFn:l,fetch:{requestInit:m,bypassingCache:d,placeholderImage:g},font:h,workers:u,fontFamilies:w}=e;if(n==="image"&&(x||W))e.drawImageCount++;let p=c.get(r);if(!p){if(d){if(d instanceof RegExp&&d.test(i))i+=(/\?/.test(i)?"&":"?")+new Date().getTime()}let y=n.startsWith("font")&&h&&h.minify,b=new Set;if(y)n.split(";")[1].split(",").forEach((F)=>{if(!w.has(F))return;w.get(F).forEach((H)=>b.add(H))});let S=y&&b.size,v={url:i,timeout:o,responseType:S?"arrayBuffer":a,headers:n==="image"?{accept:f}:void 0,...m};p={type:n,resolve:void 0,reject:void 0,response:null},p.response=(async()=>{if(l&&n==="image"){let C=await l(r);if(C)return C}if(!x&&r.startsWith("http")&&u.length)return new Promise((C,F)=>{u[c.size&u.length-1].postMessage({rawUrl:r,...v}),p.resolve=C,p.reject=F});return ht(v)})().catch((C)=>{if(c.delete(r),n==="image"&&g)return e.log.warn("Failed to fetch image base64, trying to use placeholder image",i),typeof g==="string"?g:g(s);throw C}),c.set(r,p)}return p.response}async function de(e,t,r,n){if(!ge(e))return e;for(let[a,s]of wt(e,t))try{let i=await I(r,{url:s,requestType:n?"image":"text",responseType:"dataUrl"});e=e.replace(pt(a),`$1${i}$3`)}catch(i){r.log.warn("Failed to fetch css data url",a,i)}return e}function ge(e){return/url\((['"]?)([^'"]+?)\1\)/.test(e)}var me=/url\((['"]?)([^'"]+?)\1\)/g;function wt(e,t){let r=[];return e.replace(me,(n,a,s)=>(r.push([s,oe(s,t)]),n)),r.filter(([n])=>!L(n))}function pt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}var yt=["background-image","border-image-source","-webkit-border-image","-webkit-mask-image","list-style-image"];function bt(e,t){return yt.map((r)=>{let n=e.getPropertyValue(r);if(!n||n==="none")return null;if(x||W)t.drawImageCount++;return de(n,null,t,!0).then((a)=>{if(!a||n===a)return;e.setProperty(r,a,e.getPropertyPriority(r))})}).filter(Boolean)}function St(e,t){if(A(e)){let r=e.currentSrc||e.src;if(!L(r))return[I(t,{url:r,imageDom:e,requestType:"image",responseType:"dataUrl"}).then((n)=>{if(!n)return;e.srcset="",e.dataset.originalSrc=r,e.src=n||""})];if(x||W)t.drawImageCount++}else if(k(e)&&!L(e.href.baseVal)){let r=e.href.baseVal;return[I(t,{url:r,imageDom:e,requestType:"image",responseType:"dataUrl"}).then((n)=>{if(!n)return;e.dataset.originalSrc=r,e.href.baseVal=n||""})]}return[]}function Et(e,t){let{ownerDocument:r,svgDefsElement:n}=t,a=e.getAttribute("href")??e.getAttribute("xlink:href");if(!a)return[];let[s,i]=a.split("#");if(i){let o=`#${i}`,f=t.shadowRoots.reduce((c,l)=>c??l.querySelector(`svg ${o}`),r?.querySelector(`svg ${o}`));if(s)e.setAttribute("href",o);if(n?.querySelector(o))return[];if(f)return n?.appendChild(f.cloneNode(!0)),[];else if(s)return[I(t,{url:s,responseType:"text"}).then((c)=>{n?.insertAdjacentHTML("beforeend",c)})]}return[]}function he(e,t){let{tasks:r}=t;if(E(e)){if(A(e)||ne(e))r.push(...St(e,t));if(De(e))r.push(...Et(e,t))}if(D(e))r.push(...bt(e.style,t));e.childNodes.forEach((n)=>{he(n,t)})}async function Ct(e,t){let{ownerDocument:r,svgStyleElement:n,fontFamilies:a,fontCssTexts:s,tasks:i,font:o}=t;if(!r||!n||!a.size)return;if(o&&o.cssText){let f=J(o.cssText,t);n.appendChild(r.createTextNode(`${f}
|
|
8
|
-
`))}else{let f=Array.from(r.styleSheets).filter((g)=>{try{return"cssRules"in g&&Boolean(g.cssRules.length)}catch(h){return t.log.warn(`Error while reading CSS rules from ${g.href}`,h),!1}}),c=r.implementation.createHTMLDocument(""),l=c.createElement("style");c.head.appendChild(l);let m=l.sheet;if(await Promise.all(f.flatMap((g)=>Array.from(g.cssRules).map(async(h)=>{if(Ne(h)){let u=h.href,w="";try{w=await I(t,{url:u,requestType:"text",responseType:"text"})}catch(y){t.log.warn(`Error fetch remote css import from ${u}`,y)}let p=w.replace(me,(y,b,S)=>y.replace(S,oe(S,u)));for(let y of Tt(p))try{m.insertRule(y,m.cssRules.length)}catch(b){t.log.warn("Error inserting rule from remote css import",{rule:y,error:b})}}}))),m.cssRules.length)f.push(m);let d=[];f.forEach((g)=>{O(g.cssRules,d)}),d.filter((g)=>Te(g)&&ge(g.style.getPropertyValue("src"))&&ie(g.style.getPropertyValue("font-family"))?.some((h)=>a.has(h))).forEach((g)=>{let h=g,u=s.get(h.cssText);if(u)n.appendChild(r.createTextNode(`${u}
|
|
9
|
-
`));else i.push(de(h.cssText,h.parentStyleSheet?h.parentStyleSheet.href:null,t).then((w)=>{w=J(w,t),s.set(h.cssText,w),n.appendChild(r.createTextNode(`${w}
|
|
10
|
-
`))}))})}}var vt=/(\/\*[\s\S]*?\*\/)/g,Y=/((@.*?keyframes [\s\S]*?){([\s\S]*?}\s*?)})/gi;function Tt(e){if(e==null)return[];let t=[],r=e.replace(vt,"");while(!0){let s=Y.exec(r);if(!s)break;t.push(s[0])}r=r.replace(Y,"");let n=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");while(!0){let s=n.exec(r);if(!s)if(s=a.exec(r),!s)break;else n.lastIndex=a.lastIndex;else a.lastIndex=n.lastIndex;t.push(s[0])}return t}var Nt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,At=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function J(e,t){let{font:r}=t,n=r?r?.preferredFormat:void 0;return n?e.replace(At,(a)=>{while(!0){let[s,,i]=Nt.exec(a)||[];if(!i)return"";if(i===n)return`src: ${s};`}}):e}function O(e,t=[]){for(let r of Array.from(e))if(Ae(r))t.push(...O(r.cssRules));else if("cssRules"in r)O(r.cssRules,t);else t.push(r);return t}var Dt=/\bx?link:?href\s*=\s*["'](?!data:)[^"']+["']/i;function Rt(e){return Dt.test(e.innerHTML)}async function It(e,t){let r=await j(e,t);if(E(r.node)&&k(r.node)&&!Rt(r.node))return r.node;let{ownerDocument:n,log:a,tasks:s,svgStyleElement:i,svgDefsElement:o,svgStyles:f,font:c,progress:l,autoDestruct:m,onCloneNode:d,onEmbedNode:g,onCreateForeignObjectSvg:h}=r;a.time("clone node");let u=await q(r.node,r,!0);if(i&&n){let S="";f.forEach((v,C)=>{S+=`${v.join(`,
|
|
11
|
-
`)} {
|
|
12
|
-
${C}
|
|
13
|
-
}
|
|
14
|
-
`}),i.appendChild(n.createTextNode(S))}if(a.timeEnd("clone node"),await d?.(u),c!==!1&&E(u))a.time("embed web font"),await Ct(u,r),a.timeEnd("embed web font");a.time("embed node"),he(u,r);let w=s.length,p=0,y=async()=>{while(!0){let S=s.pop();if(!S)break;try{await S}catch(v){r.log.warn("Failed to run task",v)}l?.(++p,w)}};l?.(p,w),await Promise.all([...Array.from({length:4})].map(y)),a.timeEnd("embed node"),await g?.(u);let b=kt(u,r);return o&&b.insertBefore(o,b.children[0]),i&&b.insertBefore(i,b.children[0]),m&&mt(r),await h?.(b),b}function kt(e,t){let{width:r,height:n}=t,a=Me(r,n,e.ownerDocument),s=a.ownerDocument.createElementNS(a.namespaceURI,"foreignObject");return s.setAttributeNS(null,"x","0%"),s.setAttributeNS(null,"y","0%"),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.append(e),a.appendChild(s),a}async function Ft(e,t){let r=await j(e,t),n=await It(r),a=We(n,r.isEnable("removeControlCharacter"));if(!r.autoDestruct)r.svgStyleElement=le(r.ownerDocument),r.svgDefsElement=r.ownerDocument?.createElementNS(U,"defs"),r.svgStyles.clear();let s=N(a,n.ownerDocument);return await Ke(s,r)}async function Pt(e,t){let r=await j(e,t),{log:n,type:a,quality:s,dpi:i}=r,o=await Ft(r);n.time("canvas to blob");let f=await je(o,a,s);if(["image/png","image/jpeg"].includes(a)&&i){let c=await Ve(f.slice(0,33)),l=new Uint8Array(c);if(a==="image/png")l=Se(l,i);else if(a==="image/jpeg")l=we(l,i);return n.timeEnd("canvas to blob"),new Blob([l,f.slice(33)],{type:a})}return n.timeEnd("canvas to blob"),f}export{Pt as domToBlob};
|
package/web/chunk-bvyjy17t.js.br
DELETED
|
Binary file
|
package/web/chunk-bvyjy17t.js.gz
DELETED
|
Binary file
|
package/web/chunk-c97th1x0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function C(t){return Math.abs(t=Math.round(t))>=1000000000000000000000?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function g(t,r){if(!isFinite(t)||t===0)return null;var i=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"),e=t.slice(0,i);return[e.length>1?e[0]+e.slice(2):e,+t.slice(i+1)]}function Fn(t){return t=g(Math.abs(t)),t?t[1]:NaN}function G(t,r){return function(i,e){var o=i.length,a=[],c=0,u=t[0],M=0;while(o>0&&u>0){if(M+u+1>e)u=Math.max(1,e-M);if(a.push(i.substring(o-=u,o+u)),(M+=u+1)>e)break;u=t[c=(c+1)%t.length]}return a.reverse().join(r)}}function I(t){return function(r){return r.replace(/[0-9]/g,function(i){return t[+i]})}}var tt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ur(t){if(!(r=tt.exec(t)))throw Error("invalid format: "+t);var r;return new E({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}Ur.prototype=E.prototype;function E(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}E.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function R(t){t:for(var r=t.length,i=1,e=-1,o;i<r;++i)switch(t[i]){case".":e=o=i;break;case"0":if(e===0)e=i;o=i;break;default:if(!+t[i])break t;if(e>0)e=0;break}return e>0?t.slice(0,e)+t.slice(o+1):t}var P;function X(t,r){var i=g(t,r);if(!i)return P=void 0,t.toPrecision(r);var e=i[0],o=i[1],a=o-(P=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,c=e.length;return a===c?e:a>c?e+Array(a-c+1).join("0"):a>0?e.slice(0,a)+"."+e.slice(a):"0."+Array(1-a).join("0")+g(t,Math.max(0,r+a-1))[0]}function F(t,r){var i=g(t,r);if(!i)return t+"";var e=i[0],o=i[1];return o<0?"0."+Array(-o).join("0")+e:e.length>o+1?e.slice(0,o+1)+"."+e.slice(o+1):e+Array(o-e.length+2).join("0")}var O={"%":(t,r)=>(t*100).toFixed(r),b:(t)=>Math.round(t).toString(2),c:(t)=>t+"",d:C,e:(t,r)=>t.toExponential(r),f:(t,r)=>t.toFixed(r),g:(t,r)=>t.toPrecision(r),o:(t)=>Math.round(t).toString(8),p:(t,r)=>F(t*100,r),r:F,s:X,X:(t)=>Math.round(t).toString(16).toUpperCase(),x:(t)=>Math.round(t).toString(16)};function N(t){return t}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function U(t){var r=t.grouping===void 0||t.thousands===void 0?N:G(K.call(t.grouping,Number),t.thousands+""),i=t.currency===void 0?"":t.currency[0]+"",e=t.currency===void 0?"":t.currency[1]+"",o=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?N:I(K.call(t.numerals,String)),c=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"−":t.minus+"",M=t.nan===void 0?"NaN":t.nan+"";function Z(f,p){f=Ur(f);var y=f.fill,w=f.align,s=f.sign,S=f.symbol,k=f.zero,L=f.width,T=f.comma,x=f.precision,q=f.trim,m=f.type;if(m==="n")T=!0,m="g";else if(!O[m])x===void 0&&(x=12),q=!0,m="g";if(k||y==="0"&&w==="=")k=!0,y="0",w="=";var W=(p&&p.prefix!==void 0?p.prefix:"")+(S==="$"?i:S==="#"&&/[boxX]/.test(m)?"0"+m.toLowerCase():""),_=(S==="$"?e:/[%p]/.test(m)?c:"")+(p&&p.suffix!==void 0?p.suffix:""),B=O[m],v=/[defgprs%]/.test(m);x=x===void 0?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function H(n){var l=W,d=_,b,J,z;if(m==="c")d=B(n)+d,n="";else{n=+n;var A=n<0||1/n<0;if(n=isNaN(n)?M:B(Math.abs(n),x),q)n=R(n);if(A&&+n===0&&s!=="+")A=!1;if(l=(A?s==="("?s:u:s==="-"||s==="("?"":s)+l,d=(m==="s"&&!isNaN(n)&&P!==void 0?Q[8+P/3]:"")+d+(A&&s==="("?")":""),v){b=-1,J=n.length;while(++b<J)if(z=n.charCodeAt(b),48>z||z>57){d=(z===46?o+n.slice(b+1):n.slice(b))+d,n=n.slice(0,b);break}}}if(T&&!k)n=r(n,1/0);var j=l.length+n.length+d.length,h=j<L?Array(L-j+1).join(y):"";if(T&&k)n=r(h+n,h.length?L-d.length:1/0),h="";switch(w){case"<":n=l+n+d+h;break;case"=":n=l+h+n+d;break;case"^":n=h.slice(0,j=h.length>>1)+l+n+d+h.slice(j);break;default:n=h+l+n+d;break}return a(n)}return H.toString=function(){return f+""},H}function V(f,p){var y=Math.max(-8,Math.min(8,Math.floor(Fn(p)/3)))*3,w=Math.pow(10,-y),s=Z((f=Ur(f),f.type="f",f),{suffix:Q[8+y/3]});return function(S){return s(w*S)}}return{format:Z,formatPrefix:V}}var D,zn,lo;Y({thousands:",",grouping:[3],currency:["$",""]});function Y(t){return D=U(t),zn=D.format,lo=D.formatPrefix,D}export{Fn,Ur,zn,lo};
|
package/web/chunk-c97th1x0.js.br
DELETED
|
Binary file
|
package/web/chunk-c97th1x0.js.gz
DELETED
|
Binary file
|
package/web/chunk-cfkp7taw.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,e,n,v,l,rn,J,Gt}from"./chunk-29fpfs5q.js";var x=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],s=l("check-check",x);var h={once:{label:"已允许本次控制电脑",tone:"text-success",icon:J},session:{label:"本会话始终允许控制",tone:"text-success",icon:s},deny:{label:"已拒绝控制电脑",tone:"text-danger",icon:rn},cancelled:{label:"控制电脑授权已取消",tone:"text-faint",icon:Gt}};function w(p){let{style:r,cn:i,Collapsible:c,CollapsibleTrigger:m,CollapsibleContent:u,Chevron:d}=v(),[f,C]=a(!1),t=p.payload;if(!t||typeof t.id!=="string"||t.state==="pending")return null;let o=h[t.state],b=o.icon;return n(c,{open:f,onOpenChange:C,className:"w-full text-xs text-ink/90 animate-fade",children:[n(m,{className:r("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(b,{className:i("size-3.5",o.tone)})}),e("span",{className:"shrink-0",children:o.label}),n("span",{className:"min-w-0 flex-1 truncate font-mono text-xs opacity-80",title:t.app,children:[t.action," ",t.app,t.requester&&` · 子代理「${t.requester.title}」`]}),e(d,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(u,{children:e("pre",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px] font-mono text-xs break-all whitespace-pre-wrap text-dim",children:t.detail})})]})}export{w as ApprovalCard};
|
package/web/chunk-cfkp7taw.js.br
DELETED
|
Binary file
|
package/web/chunk-cfkp7taw.js.gz
DELETED
|
Binary file
|
package/web/chunk-cvf9k1fy.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{t,i,De,A,C,Y,N,d,y,Fo,ra,Ar,zo,pi,ui,di,mi,Ho,Uo,jo,qo,Vo,Go,Wo,Yo,Xo,Ko,Zo,Qo,Jo,es,ts,ns,rs,Tr,is,Oe,Me,Re,zt,Ht,Nn,yn,Mn,Ca,mr,Sa}from"./chunk-eejjsqm1.js";import{_e}from"./chunk-0b5vh2pt.js";import{Lt}from"./chunk-fpdyzyn8.js";import{jn}from"./chunk-xmajh4qe.js";function ye(e){return Array.isArray(e)}function we(e){if(ra(e))return e;let o=Ar(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(Tr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:h,byteOffset:p,byteLength:r}=a,g=new ArrayBuffer(r),L=new Uint8Array(h,p,r);return new Uint8Array(g).set(L),new DataView(g)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let h=new e.constructor(e.valueOf());if(o==="[object String]")Ze(h,e);else ce(h,e);return h}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,h=new RegExp(a.source,a.flags);return h.lastIndex=a.lastIndex,h}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,h=new Map;return a.forEach((p,r)=>{h.set(r,p)}),h}if(o==="[object Set]"){let a=e,h=new Set;return a.forEach((p)=>{h.add(p)}),h}if(o==="[object Arguments]"){let a=e,h={};return ce(h,a),h.length=a.length,h[Symbol.iterator]=a[Symbol.iterator],h}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(Ar(e)){case mi:case Vo:case Go:case Yo:case di:case Uo:case ns:case rs:case Jo:case es:case ts:case jo:case ui:case Wo:case zo:case qo:case pi:case Ho:case Xo:case Ko:case Zo:case Qo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let h=c[a];if(Object.prototype.propertyIsEnumerable.call(o,h))e[h]=o[h]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,f,n,u){for(n=n||{},u=B.length;u--;n[B[u]]=f);return n},"o"),o=[1,15],c=[1,7],a=[1,13],h=[1,14],p=[1,19],r=[1,16],g=[1,17],L=[1,18],k=[8,30],x=[8,10,21,28,29,30,31,39,43,46],S=[1,23],w=[1,24],_=[8,10,15,16,21,28,29,30,31,39,43,46],m=[8,10,15,16,21,27,28,29,30,31,39,43,46],T=[1,49],D={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(f,n,u,b,E,s,H){var l=s.length-1;switch(E){case 4:b.getLogger().debug("Rule: separator (NL) ");break;case 5:b.getLogger().debug("Rule: separator (Space) ");break;case 6:b.getLogger().debug("Rule: separator (EOF) ");break;case 7:b.getLogger().debug("Rule: hierarchy: ",s[l-1]),b.setHierarchy(s[l-1]);break;case 8:b.getLogger().debug("Stop NL ");break;case 9:b.getLogger().debug("Stop EOF ");break;case 10:b.getLogger().debug("Stop NL2 ");break;case 11:b.getLogger().debug("Stop EOF2 ");break;case 12:b.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:b.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:b.getLogger().debug("Rule: link: ",s[l],f),this.$={edgeTypeStr:s[l],label:""};break;case 15:b.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=b.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:b.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=b.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=b.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=b.edgeStrToThickness(s[l-1].edgeTypeStr),se=b.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:b.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:b.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:b.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:b.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:b.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:b.getLogger().debug("APA123",this?this:"na"),b.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:b.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=b.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:b.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=b.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:b.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:b.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:b.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:b.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:b.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:b.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:r,43:g,46:L},{8:[1,20]},e(k,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:h,31:p,39:r,43:g,46:L}),e(x,[2,16],{14:22,15:S,16:w}),e(x,[2,17]),e(x,[2,18]),e(x,[2,19]),e(x,[2,20]),e(x,[2,21]),e(x,[2,22]),e(_,[2,25],{27:[1,25]}),e(x,[2,26]),{19:26,26:12,31:p},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:r,43:g,46:L},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(m,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(k,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(_,[2,24]),{10:o,11:37,13:4,14:22,15:S,16:w,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:r,43:g,46:L},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(m,[2,30]),{18:[1,43]},{18:[1,44]},e(_,[2,23]),{18:[1,45]},{30:[1,46]},e(x,[2,28]),e(x,[2,35]),e(x,[2,36]),e(x,[2,37]),e(x,[2,38]),{36:[1,47]},{33:48,34:T},{15:[1,50]},e(x,[2,27]),e(m,[2,33]),{38:[1,51]},{33:52,34:T,38:[2,31]},{31:[2,15]},e(m,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(f,n){if(n.recoverable)this.trace(f);else{var u=Error(f);throw u.hash=n,u}},"parseError"),parse:t(function(f){var n=this,u=[0],b=[],E=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(f,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){u.length=u.length-2*P,E.length=E.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=b.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)b=P,P=b.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,W,R,Nt,oe,U={},J,K,ke,Z;while(!0){if(W=u[u.length-1],this.defaultActions[W])R=this.defaultActions[W];else{if(v===null||typeof v>"u")v=Le();R=H[W]&&H[W][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[W])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
|
|
2
|
-
`+I.showPosition()+`
|
|
3
|
-
Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+v);switch(R[0]){case 1:if(u.push(v),E.push(I.yytext),s.push(I.yylloc),u.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=E[E.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],E,s].concat(se)),typeof oe<"u")return oe;if(K)u=u.slice(0,-1*K*2),E=E.slice(0,-1*K),s=s.slice(0,-1*K);u.push(this.productions_[R[1]][0]),E.push(U.$),s.push(U._$),ke=H[u[u.length-2]][u[u.length-1]],u.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,u){if(this.yy.parser)this.yy.parser.parseError(n,u);else throw Error(n)},"parseError"),setInput:t(function(f,n){if(this.yy=n||this.yy||{},this._input=f,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 f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var n=f.match(/(?:\r\n?|\n).*/g);if(n)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),f},"input"),unput:t(function(f){var n=f.length,u=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var b=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),u.length-1)this.yylineno-=u.length-1;var E=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:u?(u.length===b.length?this.yylloc.first_column:0)+b[b.length-u.length].length-u[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[E[0],E[0]+this.yyleng-n];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(f){this.unput(this.match.slice(f))},"less"),pastInput:t(function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var f=this.match;if(f.length<20)f+=this._input.substr(0,20-f.length);return(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var f=this.pastInput(),n=Array(f.length+1).join("-");return f+this.upcomingInput()+`
|
|
5
|
-
`+n+"^"},"showPosition"),test_match:t(function(f,n){var u,b,E;if(this.options.backtrack_lexer){if(E={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)E.yylloc.range=this.yylloc.range.slice(0)}if(b=f[0].match(/(?:\r\n?|\n).*/g),b)this.yylineno+=b.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:b?b[b.length-1].length-b[b.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,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(f[0].length),this.matched+=f[0],u=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var s in E)this[s]=E[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var f,n,u,b;if(!this._more)this.yytext="",this.match="";var E=this._currentRules();for(var s=0;s<E.length;s++)if(u=this._input.match(this.rules[E[s]]),u&&(!n||u[0].length>n[0].length)){if(n=u,b=s,this.options.backtrack_lexer)if(f=this.test_match(u,E[s]),f!==!1)return f;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(f=this.test_match(n,E[b]),f!==!1)return f;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 n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,u,b,E){var s=E;switch(b){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",u.yytext);break;case 4:n.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",n.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();D.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=D,D.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,Ee="color",Te="fill",et="bgFill",Ie=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,d()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Ie).forEach((a)=>{let h=a.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(a)){let r=h.replace(Te,et).replace(Ee,Te);c.textStyles.push(r)}c.styles.push(h)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Ie)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let h=c.trim();a={id:h,type:"na",children:[]},F.set(h,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),Ce=0,ve=t((e,o)=>{let c=e.flat(),a=[],p=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof p==="number"&&p>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>p)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${p}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let g=(ge.get(r.id)??0)+1;ge.set(r.id,g),r.id=g+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let g=F.get(r.id);if(g===void 0){if(r.type==="composite")r.colorIndex=Ce++;F.set(r.id,r)}else{if(r.type!=="na")g.type=r.type;if(r.label!==r.id)g.label=r.label}if(r.children)ve(r.children,r);if(r.type==="space"){let L=r.width??1;for(let k=0;k<L;k++){let x=we(r);x.id=x.id+"-"+k,F.set(x.id,x),a.push(x)}}else if(g===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),N(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",Ce=0},"clear");function Ae(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Ae,"typeStr2Type");function ze(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(ze,"edgeTypeStr2Type");function Be(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Be,"edgeStrToEdgeData");function Pe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Pe,"edgeStrToEdgeStartData");function Fe(e){return e.includes("==")?"thick":"normal"}t(Fe,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Ne=0,nt=t(()=>(Ne++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Ne),"generateId"),ot=t((e)=>{X.children=e,ve(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:Ae,edgeTypeStr2Type:ze,edgeStrToEdgeData:Be,edgeStrToEdgeStartData:Pe,edgeStrToThickness:Fe,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,kt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Me(o,a))return"";let h=Re(e.look),p=Oe(c),r="";for(let g=0;g<zt(e.THEME_COLOR_LIMIT,a);g++){let L=a[g%a.length],k=p?`fill: ${c[g%c.length]};`:"",x=`[data-look="${h}"][data-color-id="color-${g}"]`;r+=`
|
|
7
|
-
|
|
8
|
-
${x}.node rect.composite {
|
|
9
|
-
stroke: ${L};
|
|
10
|
-
${k}
|
|
11
|
-
}
|
|
12
|
-
`}return r},"genColor"),ue=t((e,o)=>{let c=jn,a=c(e,"r"),h=c(e,"g"),p=c(e,"b");return De(a,h,p,o)},"fade"),yt=t((e)=>`${kt(e)}
|
|
13
|
-
.label {
|
|
14
|
-
font-family: ${e.fontFamily};
|
|
15
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
16
|
-
}
|
|
17
|
-
.cluster-label text {
|
|
18
|
-
fill: ${e.titleColor};
|
|
19
|
-
}
|
|
20
|
-
.cluster-label span {
|
|
21
|
-
color: ${e.titleColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.label text,span {
|
|
27
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
28
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.node rect,
|
|
32
|
-
.node circle,
|
|
33
|
-
.node ellipse,
|
|
34
|
-
.node polygon,
|
|
35
|
-
.node path {
|
|
36
|
-
fill: ${e.mainBkg};
|
|
37
|
-
stroke: ${e.nodeBorder};
|
|
38
|
-
/* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
|
|
39
|
-
thinner border than an identical flowchart node under any theme asking for more --
|
|
40
|
-
the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
|
|
41
|
-
and filter, never stroke-width. */
|
|
42
|
-
stroke-width: ${e.strokeWidth??1}px;
|
|
43
|
-
}
|
|
44
|
-
.flowchart-label text {
|
|
45
|
-
text-anchor: middle;
|
|
46
|
-
}
|
|
47
|
-
// .flowchart-label .text-outer-tspan {
|
|
48
|
-
// text-anchor: middle;
|
|
49
|
-
// }
|
|
50
|
-
// .flowchart-label .text-inner-tspan {
|
|
51
|
-
// text-anchor: start;
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
.node .label {
|
|
55
|
-
text-align: center;
|
|
56
|
-
}
|
|
57
|
-
.node.clickable {
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.arrowheadPath {
|
|
62
|
-
fill: ${e.arrowheadColor};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.edgePaths .path {
|
|
66
|
-
stroke: ${e.lineColor};
|
|
67
|
-
stroke-width: 2.0px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.flowchart-link {
|
|
71
|
-
stroke: ${e.lineColor};
|
|
72
|
-
fill: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.edgeLabel {
|
|
76
|
-
background-color: ${e.edgeLabelBackground};
|
|
77
|
-
/*
|
|
78
|
-
* This is for backward compatibility with existing code that didn't
|
|
79
|
-
* add a \`<p>\` around edge labels.
|
|
80
|
-
*
|
|
81
|
-
* TODO: We should probably remove this in a future release.
|
|
82
|
-
*/
|
|
83
|
-
p {
|
|
84
|
-
margin: 0;
|
|
85
|
-
padding: 0;
|
|
86
|
-
display: inline;
|
|
87
|
-
}
|
|
88
|
-
rect {
|
|
89
|
-
opacity: 0.5;
|
|
90
|
-
background-color: ${e.edgeLabelBackground};
|
|
91
|
-
fill: ${e.edgeLabelBackground};
|
|
92
|
-
}
|
|
93
|
-
text-align: center;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* For html labels only */
|
|
97
|
-
.labelBkg {
|
|
98
|
-
background-color: ${e.edgeLabelBackground};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.node .cluster {
|
|
102
|
-
// fill: ${ue(e.mainBkg,0.5)};
|
|
103
|
-
fill: ${ue(e.clusterBkg,0.5)};
|
|
104
|
-
stroke: ${ue(e.clusterBorder,0.2)};
|
|
105
|
-
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
|
106
|
-
stroke-width: 1px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.cluster text {
|
|
110
|
-
fill: ${e.titleColor};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.cluster span {
|
|
114
|
-
color: ${e.titleColor};
|
|
115
|
-
}
|
|
116
|
-
/* .cluster div {
|
|
117
|
-
color: ${e.titleColor};
|
|
118
|
-
} */
|
|
119
|
-
|
|
120
|
-
div.mermaidTooltip {
|
|
121
|
-
position: absolute;
|
|
122
|
-
text-align: center;
|
|
123
|
-
max-width: 200px;
|
|
124
|
-
padding: 2px;
|
|
125
|
-
font-family: ${e.fontFamily};
|
|
126
|
-
font-size: 12px;
|
|
127
|
-
background: ${e.tertiaryColor};
|
|
128
|
-
border: 1px solid ${e.border2};
|
|
129
|
-
border-radius: 2px;
|
|
130
|
-
pointer-events: none;
|
|
131
|
-
z-index: 100;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.flowchartTitleText {
|
|
135
|
-
text-anchor: middle;
|
|
136
|
-
font-size: 18px;
|
|
137
|
-
fill: ${e.textColor};
|
|
138
|
-
}
|
|
139
|
-
${Lt()}
|
|
140
|
-
`,"getStyles"),wt=yt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var Et=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:h,height:p,x:r,y:g}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",h,"height:",p,"x:",r,"y:",g,a.type),a.type==="space")continue;let L=h/(a.widthInColumns??1);if(L>o)o=L;if(p>c)c=p}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,h=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let p=0,r=0;if(e.children?.length>0){for(let m of e.children)ee(m,o,0,0,h);let g=Et(e);p=g.width,r=g.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",p,r);for(let m of e.children)if(m.size)i.debug(`abc95 Setting size of children of ${e.id} id=${m.id} ${p} ${r} ${JSON.stringify(m.size)}`),m.size.width=p*(m.widthInColumns??1)+h*((m.widthInColumns??1)-1),m.size.height=r,m.size.x=0,m.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${m.id} maxWidth:${p} maxHeight:${r}`);for(let m of e.children)ee(m,o,p,r,h);let L=e.columns??-1,k=0;for(let m of e.children)k+=m.widthInColumns??1;let x=e.children.length;if(L>0&&L<k)x=L;let S=Math.ceil(k/x),w=x*(p+h)+h,_=S*(r+h)+h;if(w<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${w}`),w=c,_=a;let m=(c-x*h-h)/x,T=(a-S*h-h)/S;i.debug("Size indata abc88",e.id,"childWidth",m,"maxWidth",p),i.debug("Size indata abc88",e.id,"childHeight",T,"maxHeight",r),i.debug("Size indata abc88 xSize",x,"padding",h);for(let D of e.children)if(D.size)D.size.width=m,D.size.height=T,D.size.x=0,D.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${x} ySize ${S} columns ${L}${e.children.length} width=${Math.max(w,e.size?.width||0)}`),w<(e?.size?.width||0)){w=e?.size?.width||0;let m=L>0?Math.min(e.children.length,L):e.children.length;if(m>0){let T=(w-m*h-h)/m;i.debug("abc95 (growing to fit) width",e.id,w,e.size?.width,T);for(let D of e.children)if(D.size)D.size.width=T}}e.size={width:w,height:_,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let h=e?.children[0]?.size?.width??0,p=e.children.length*h+(e.children.length-1)*c;i.debug("widthOfChildren 88",p,"posX");let r=new Map;{let S=0;for(let w of e.children){if(!w.size)continue;let{py:_}=de(a,S),m=r.get(_)??0;if(w.size.height>m)r.set(_,w.size.height);let T=w?.widthInColumns??1;if(a>0)T=Math.min(T,a-S%a);S+=T}}let g=new Map;{let S=0,w=[...r.keys()].sort((_,m)=>_-m);for(let _ of w)g.set(_,S),S+=(r.get(_)??0)+c}let L=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let k=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,x=0;for(let S of e.children){let w=e;if(!S.size)continue;let{width:_,height:m}=S.size,{px:T,py:D}=de(a,L);if(D!=x)x=D,k=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",S.id,x);if(i.debug(`abc89 layout blocks (child) id: ${S.id} Pos: ${L} (px, py) ${T},${D} (${w?.size?.x},${w?.size?.y}) parent: ${w.id} width: ${_}${c}`),w.size){let z=_/2;S.size.x=k+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${S.id} startingPos=X${k} new startingPosX${S.size.x} ${z} padding=${c} width=${_} halfWidth=${z} => x:${S.size.x} y:${S.size.y} ${S.widthInColumns} (width * (child?.w || 1)) / 2 ${_*(S?.widthInColumns??1)/2}`),k=S.size.x+z;let B=g.get(D)??0,f=r.get(D)??m;S.size.y=w.size.y-w.size.height/2+B+f/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${S.id}startingPosX${k}${c}${z}=>x:${S.size.x}y:${S.size.y}${S.widthInColumns}(width * (child?.w || 1)) / 2${_*(S?.widthInColumns??1)/2}`)}if(S.children)Se(S,o,c);let O=S?.widthInColumns??1;if(a>0)O=Math.min(O,a-L%a);L+=O,i.debug("abc88 columnsPos",S,L)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:h}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:p,y:r,width:g,height:L}=e.size;if(p-g/2<o)o=p-g/2;if(r-L/2<c)c=r-L/2;if(p+g/2>a)a=p+g/2;if(r+L/2>h)h=r+L/2}if(e.children)for(let p of e.children)({minX:o,minY:c,maxX:a,maxY:h}=xe(p,{minX:o,minY:c,maxX:a,maxY:h}));return{minX:o,minY:c,maxX:a,maxY:h}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=d()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:h,maxX:p,maxY:r}=xe(o),g=r-h,L=p-a;return{x:a,y:h,width:L,height:g}}t(Ye,"layout");function me(e,o,c=!1){let a=e,h="default";if((a?.classes?.length||0)>0)h=(a?.classes??[]).join(" ");h=h+" flowchart-label";let p=(a?.classes??[]).flatMap((m)=>o.getClasses().get(m)?.styles??[]),r=0,g="rect",L;switch(a.type){case"round":r=5,g="rect";break;case"composite":r=0,g="composite",L=0;break;case"square":g="rect";break;case"diamond":g="question";break;case"hexagon":g="hexagon";break;case"block_arrow":g="block_arrow";break;case"odd":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"rect_left_inv_arrow":g="rect_left_inv_arrow";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"group":g="rect";break;case"doublecircle":g="doublecircle";break;default:g="rect"}let k=is(a?.styles??[]),x=a.label,S=a.size??{width:0,height:0,x:0,y:0},w=o.getDiagramId();return{labelStyle:k.labelStyle,shape:g,label:x,labelText:x,rx:r,ry:r,class:h,cssClasses:h,cssStyles:a?.styles??[],cssCompiledStyles:p,style:k.style,id:a.id,domId:w?`${w}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:S.width||void 0,height:S.height||void 0,wrappingWidth:S.width||Number.POSITIVE_INFINITY,x:S.x,y:S.y,positioned:c,intersect:void 0,padding:L??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let h=A(),p=await Nn(e,a,{config:h}),r=p.node()?.getBBox()??{width:0,height:0},g=c.getBlock(a.id);g.size={width:r.width,height:r.height,x:0,y:0,node:p},c.setBlock(g),p.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let p=A(),r=await Nn(e,a,{config:p});if(a.colorIndex!==void 0)Ht(r,a.colorIndex,p.theme,p.themeVariables?.borderColorArray);o.intersect=a?.intersect,yn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let h of o)if(await a(e,h,c),h.children)await te(e,h.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,h){let p=new _e({multigraph:!0,compound:!0});p.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)p.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let g=a.getBlock(r.start),L=a.getBlock(r.end);if(g?.size&&L?.size){let k=g.size,x=L.size,S=[{x:k.x,y:k.y},{x:k.x+(x.x-k.x)/2,y:k.y+(x.y-k.y)/2},{x:x.x,y:x.y}],w=h?`${h}-${r.id}`:r.id,_=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",m=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",T=`${_} ${m} flowchart-link LS-a1 LE-b1`;if(mr(e,{...r,id:w,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:S,classes:T},{},"block",p.node(r.start),p.node(r.end),h),r.label)await Mn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:S,classes:T}),Ca({...r,x:S[1].x,y:S[1].y},{originalPath:S})}}}t(Xe,"insertEdges");var _t=t(function(e,o){return o.db.getClasses()},"getClasses"),Dt=t(async function(e,o,c,a){let{securityLevel:h,block:p}=A(),r=a.db;r.setDiagramId(o);let g;if(h==="sandbox")g=y("#i"+o);let L=h==="sandbox"?y(g.nodes()[0].contentDocument.body):y("body"),k=h==="sandbox"?L.select(`[id="${o}"]`):y(`[id="${o}"]`);Fo(k,A()),Sa(k,["point","circle","cross"],a.type,o);let S=r.getBlocks(),w=r.getBlocksFlat(),_=r.getEdges(),m=k.insert("g").attr("class","block");await Ue(m,S,r);let T=Ye(r);await He(m,S,r),await Xe(m,_,w,r,o);let D=m.node()?.getBBox(),O=D&&Number.isFinite(D.width)&&Number.isFinite(D.height)?D:T;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,f=O.width+10,{useMaxWidth:n}=p;Y(k,B,f,!!n),i.debug("Here Bounds",T,O),k.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Tt={draw:Dt,getClasses:_t},tr={parser:$e,db:mt,renderer:Tt,styles:wt};export{tr as diagram};
|
package/web/chunk-cvf9k1fy.js.br
DELETED
|
Binary file
|
package/web/chunk-cvf9k1fy.js.gz
DELETED
|
Binary file
|
package/web/chunk-d33n9fsr.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sc,ol,Ac,sl,cl,Tc}from"./chunk-k56v8k7n.js";import"./chunk-sgaw26nc.js";import"./chunk-0b5vh2pt.js";import"./chunk-eejjsqm1.js";export{ol as applyDagreLayoutResult,Sc as getEdgesToRender,sl as measureDagreLayout,Ac as prepareLayoutForDagre,Tc as render,cl as runDagreLayoutCore};
|
package/web/chunk-d33n9fsr.js.br
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
��v��U��O���=����9���A� �ˎ�r�q���X
|
package/web/chunk-d33n9fsr.js.gz
DELETED
|
Binary file
|