@bkm016/basalt 0.1.36 → 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/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-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-082x3g29.js +0 -3
- package/chunk-0aaf270z.js +0 -3
- package/chunk-0dqv9x0y.js +0 -51
- package/chunk-0ns02fzq.js +0 -2
- package/chunk-0y13kfpt.js +0 -5
- package/chunk-1753m6xk.js +0 -4179
- package/chunk-24ae99b6.js +0 -5
- package/chunk-2cp8why4.js +0 -2
- package/chunk-3bdzn4h2.js +0 -2
- package/chunk-48m0w8xg.js +0 -2
- package/chunk-4pr7ykh0.js +0 -2
- package/chunk-4qtw5cga.js +0 -12
- package/chunk-4yqge35f.js +0 -3
- package/chunk-65rd9zn4.js +0 -3
- package/chunk-67ehvv4n.js +0 -44
- package/chunk-6wm62kte.js +0 -18
- package/chunk-6zkggkdm.js +0 -13
- package/chunk-78ferdza.js +0 -3
- package/chunk-794r8w6m.js +0 -2
- package/chunk-7azn0brs.js +0 -7
- package/chunk-7wh4n0yg.js +0 -2
- package/chunk-7z0wh161.js +0 -25
- package/chunk-95aqrqnh.js +0 -2
- package/chunk-9nkb5q43.js +0 -3
- package/chunk-a0zcps2d.js +0 -2
- package/chunk-a23pv6tv.js +0 -3
- package/chunk-adb2nbxk.js +0 -2
- package/chunk-as2ty5w5.js +0 -3
- package/chunk-b84y794v.js +0 -3
- package/chunk-bh80e336.js +0 -3
- package/chunk-c6azecvs.js +0 -3
- package/chunk-cc8h8mz9.js +0 -2
- package/chunk-cdb6caq7.js +0 -3
- package/chunk-cjdbsa9s.js +0 -3
- package/chunk-cnqgtmwm.js +0 -10
- package/chunk-cwn9vs1a.js +0 -3
- package/chunk-cxybp3fn.js +0 -8
- package/chunk-dea2htm4.js +0 -2
- package/chunk-e01wravf.js +0 -12
- package/chunk-f0pz8pvb.js +0 -5
- package/chunk-fsekbhqb.js +0 -3
- package/chunk-fvmrsrmq.js +0 -3
- package/chunk-fwdhn0gw.js +0 -7
- package/chunk-h7x8g57v.js +0 -9
- package/chunk-h8qhy3px.js +0 -39
- package/chunk-hsvchrh3.js +0 -7
- package/chunk-j1peg724.js +0 -504
- package/chunk-j2cse817.js +0 -63
- package/chunk-j3jzgw98.js +0 -31
- package/chunk-jmzdtefg.js +0 -2
- package/chunk-k0e6n6yy.js +0 -3
- package/chunk-mb2jqd5z.js +0 -3
- package/chunk-nbgtqpay.js +0 -3
- package/chunk-prfczhpq.js +0 -10
- package/chunk-pv25a7sw.js +0 -2
- package/chunk-q8m2x20d.js +0 -286
- package/chunk-qnkxeh37.js +0 -3
- package/chunk-qvfrv3rb.js +0 -59
- package/chunk-r14x07ez.js +0 -2
- package/chunk-r1kah65k.js +0 -2
- package/chunk-r6pt44wk.js +0 -60
- package/chunk-rhkw8ygf.js +0 -3
- package/chunk-rvqeb7gr.js +0 -3
- package/chunk-rwa7mfwa.js +0 -2
- package/chunk-sj46f002.js +0 -2
- package/chunk-sp89jja7.js +0 -3
- package/chunk-sss5x2ak.js +0 -2
- package/chunk-szn4y5mx.js +0 -25
- package/chunk-t05q9ksf.js +0 -2
- package/chunk-tb66q678.js +0 -11
- package/chunk-tej75y8n.js +0 -2
- package/chunk-tmfr2ym8.js +0 -4
- package/chunk-tnay319j.js +0 -3
- package/chunk-txwheg1n.js +0 -2
- package/chunk-ve6n38r4.js +0 -16
- package/chunk-vfa49qcy.js +0 -3
- package/chunk-wcy1r6vv.js +0 -2
- package/chunk-wj6am3ag.js +0 -3
- package/chunk-x0afp8wt.js +0 -3
- package/chunk-xe627eyp.js +0 -20
- package/chunk-y18ey7s9.js +0 -8
- package/chunk-y9r7tt53.js +0 -3
- package/chunk-yq20v3va.js +0 -3
- package/chunk-yyg4ygv7.js +0 -2
- package/chunk-z2zhr4e5.js +0 -3
- package/chunk-zdtg52xn.js +0 -2
- package/chunk-zrhdrkdb.js +0 -5
- package/web/chunk-0d0fwb7b.js +0 -2
- package/web/chunk-0d0fwb7b.js.br +0 -0
- package/web/chunk-0d0fwb7b.js.gz +0 -0
- package/web/chunk-0jm4zyrt.js +0 -1
- package/web/chunk-0jm4zyrt.js.br +0 -0
- package/web/chunk-0jm4zyrt.js.gz +0 -0
- package/web/chunk-0pp7dzx1.js +0 -1
- package/web/chunk-0pp7dzx1.js.br +0 -0
- package/web/chunk-0pp7dzx1.js.gz +0 -0
- package/web/chunk-0w73jp4n.js +0 -1
- package/web/chunk-0w73jp4n.js.br +0 -0
- package/web/chunk-0w73jp4n.js.gz +0 -0
- package/web/chunk-1416f30c.js +0 -2
- package/web/chunk-1416f30c.js.br +0 -0
- package/web/chunk-1416f30c.js.gz +0 -0
- package/web/chunk-18wyawez.js +0 -30
- package/web/chunk-18wyawez.js.br +0 -0
- package/web/chunk-18wyawez.js.gz +0 -0
- package/web/chunk-19ew9re5.js +0 -1
- package/web/chunk-19ew9re5.js.br +0 -0
- package/web/chunk-19ew9re5.js.gz +0 -0
- package/web/chunk-1mdtr9wk.js +0 -8
- package/web/chunk-1mdtr9wk.js.br +0 -1
- package/web/chunk-1mdtr9wk.js.gz +0 -0
- package/web/chunk-1p4egv85.js +0 -1
- package/web/chunk-1p4egv85.js.br +0 -0
- package/web/chunk-1p4egv85.js.gz +0 -0
- package/web/chunk-1x61dvvr.js +0 -2
- package/web/chunk-1x61dvvr.js.br +0 -0
- package/web/chunk-1x61dvvr.js.gz +0 -0
- package/web/chunk-241n0y1h.js +0 -1
- package/web/chunk-241n0y1h.js.br +0 -0
- package/web/chunk-241n0y1h.js.gz +0 -0
- package/web/chunk-26sgnzb2.js +0 -1
- package/web/chunk-26sgnzb2.js.br +0 -0
- package/web/chunk-26sgnzb2.js.gz +0 -0
- package/web/chunk-2p77pefd.js +0 -1
- package/web/chunk-2p77pefd.js.br +0 -0
- package/web/chunk-2p77pefd.js.gz +0 -0
- package/web/chunk-2ppe5znq.js +0 -1
- package/web/chunk-2ppe5znq.js.br +0 -0
- package/web/chunk-2ppe5znq.js.gz +0 -0
- package/web/chunk-2qzr943m.js +0 -2
- package/web/chunk-2qzr943m.js.br +0 -0
- package/web/chunk-2qzr943m.js.gz +0 -0
- package/web/chunk-32k44660.js +0 -214
- package/web/chunk-32k44660.js.br +0 -0
- package/web/chunk-32k44660.js.gz +0 -0
- package/web/chunk-33zb5a76.js +0 -2
- package/web/chunk-33zb5a76.js.br +0 -0
- package/web/chunk-33zb5a76.js.gz +0 -0
- package/web/chunk-38bzkv9k.js +0 -7
- package/web/chunk-38bzkv9k.js.br +0 -0
- package/web/chunk-38bzkv9k.js.gz +0 -0
- package/web/chunk-42ytz496.js +0 -1
- package/web/chunk-42ytz496.js.br +0 -0
- package/web/chunk-42ytz496.js.gz +0 -0
- package/web/chunk-4749rrqv.js +0 -55
- package/web/chunk-4749rrqv.js.br +0 -0
- package/web/chunk-4749rrqv.js.gz +0 -0
- package/web/chunk-4d57cnh5.js +0 -40
- package/web/chunk-4d57cnh5.js.br +0 -0
- package/web/chunk-4d57cnh5.js.gz +0 -0
- package/web/chunk-4gh3hcrc.js +0 -1
- package/web/chunk-4gh3hcrc.js.br +0 -0
- package/web/chunk-4gh3hcrc.js.gz +0 -0
- package/web/chunk-4hg08mj3.js +0 -1
- package/web/chunk-4hg08mj3.js.br +0 -0
- package/web/chunk-4hg08mj3.js.gz +0 -0
- package/web/chunk-4rra9tt7.js +0 -78
- package/web/chunk-4rra9tt7.js.br +0 -0
- package/web/chunk-4rra9tt7.js.gz +0 -0
- package/web/chunk-572kjbne.js +0 -89
- package/web/chunk-572kjbne.js.br +0 -0
- package/web/chunk-572kjbne.js.gz +0 -0
- package/web/chunk-5hqe3cct.js +0 -98
- package/web/chunk-5hqe3cct.js.br +0 -0
- package/web/chunk-5hqe3cct.js.gz +0 -0
- package/web/chunk-5k4vdcwk.js +0 -24
- package/web/chunk-5k4vdcwk.js.br +0 -0
- package/web/chunk-5k4vdcwk.js.gz +0 -0
- package/web/chunk-5z44jbdc.js +0 -1
- package/web/chunk-5z44jbdc.js.br +0 -0
- package/web/chunk-5z44jbdc.js.gz +0 -0
- package/web/chunk-600x58nm.js +0 -1143
- package/web/chunk-600x58nm.js.br +0 -0
- package/web/chunk-600x58nm.js.gz +0 -0
- package/web/chunk-61djfs0t.js +0 -140
- package/web/chunk-61djfs0t.js.br +0 -0
- package/web/chunk-61djfs0t.js.gz +0 -0
- package/web/chunk-6j4jdvtd.js +0 -1
- package/web/chunk-6j4jdvtd.js.br +0 -0
- package/web/chunk-6j4jdvtd.js.gz +0 -0
- package/web/chunk-74ymgabb.js +0 -2
- package/web/chunk-74ymgabb.js.br +0 -0
- package/web/chunk-74ymgabb.js.gz +0 -0
- package/web/chunk-768vchz5.js +0 -169
- package/web/chunk-768vchz5.js.br +0 -0
- package/web/chunk-768vchz5.js.gz +0 -0
- package/web/chunk-7f87paxe.js +0 -36
- package/web/chunk-7f87paxe.js.br +0 -0
- package/web/chunk-7f87paxe.js.gz +0 -0
- package/web/chunk-7ns0kj87.js +0 -2
- package/web/chunk-7ns0kj87.js.br +0 -0
- package/web/chunk-7ns0kj87.js.gz +0 -0
- package/web/chunk-7vpk9y00.js +0 -1
- package/web/chunk-7vpk9y00.js.br +0 -0
- package/web/chunk-7vpk9y00.js.gz +0 -0
- package/web/chunk-89mc1vj3.js +0 -1
- package/web/chunk-89mc1vj3.js.br +0 -0
- package/web/chunk-89mc1vj3.js.gz +0 -0
- package/web/chunk-8wgpesrk.js +0 -139
- package/web/chunk-8wgpesrk.js.br +0 -0
- package/web/chunk-8wgpesrk.js.gz +0 -0
- package/web/chunk-9nh1aeqs.js +0 -303
- package/web/chunk-9nh1aeqs.js.br +0 -0
- package/web/chunk-9nh1aeqs.js.gz +0 -0
- package/web/chunk-9pgq2ax4.js +0 -1
- package/web/chunk-9pgq2ax4.js.br +0 -0
- package/web/chunk-9pgq2ax4.js.gz +0 -0
- package/web/chunk-9tfs2dg1.js +0 -1
- package/web/chunk-9tfs2dg1.js.br +0 -0
- package/web/chunk-9tfs2dg1.js.gz +0 -0
- package/web/chunk-9wemd2wn.js +0 -41
- package/web/chunk-9wemd2wn.js.br +0 -0
- package/web/chunk-9wemd2wn.js.gz +0 -0
- package/web/chunk-9wsz2j8n.js +0 -1
- package/web/chunk-9wsz2j8n.js.br +0 -0
- package/web/chunk-9wsz2j8n.js.gz +0 -0
- package/web/chunk-9wzvqpre.js +0 -2
- package/web/chunk-9wzvqpre.js.br +0 -0
- package/web/chunk-9wzvqpre.js.gz +0 -0
- package/web/chunk-a48wgrb1.js +0 -1
- package/web/chunk-a48wgrb1.js.br +0 -2
- package/web/chunk-a48wgrb1.js.gz +0 -0
- package/web/chunk-ah8e1y9j.js +0 -4
- package/web/chunk-ah8e1y9j.js.br +0 -0
- package/web/chunk-ah8e1y9j.js.gz +0 -0
- package/web/chunk-amsr9cg2.js +0 -1
- package/web/chunk-amsr9cg2.js.br +0 -0
- package/web/chunk-amsr9cg2.js.gz +0 -0
- package/web/chunk-aps2c5t2.js +0 -16
- package/web/chunk-aps2c5t2.js.br +0 -0
- package/web/chunk-aps2c5t2.js.gz +0 -0
- package/web/chunk-avfynf6y.js +0 -1
- package/web/chunk-avfynf6y.js.br +0 -0
- package/web/chunk-avfynf6y.js.gz +0 -0
- package/web/chunk-b5zrttcx.js +0 -2
- package/web/chunk-b5zrttcx.js.br +0 -0
- package/web/chunk-b5zrttcx.js.gz +0 -0
- package/web/chunk-bvvf024a.js +0 -24
- package/web/chunk-bvvf024a.js.br +0 -0
- package/web/chunk-bvvf024a.js.gz +0 -0
- package/web/chunk-by2dphx7.js +0 -200
- package/web/chunk-by2dphx7.js.br +0 -0
- package/web/chunk-by2dphx7.js.gz +0 -0
- package/web/chunk-c0sc2yy1.js +0 -1
- package/web/chunk-c0sc2yy1.js.br +0 -0
- package/web/chunk-c0sc2yy1.js.gz +0 -0
- package/web/chunk-c612n2pw.js +0 -2
- package/web/chunk-c612n2pw.js.br +0 -0
- package/web/chunk-c612n2pw.js.gz +0 -0
- package/web/chunk-c91rk85x.js +0 -2
- package/web/chunk-c91rk85x.js.br +0 -0
- package/web/chunk-c91rk85x.js.gz +0 -0
- package/web/chunk-catm30vp.js +0 -2
- package/web/chunk-catm30vp.js.br +0 -0
- package/web/chunk-catm30vp.js.gz +0 -0
- package/web/chunk-cbdxzddd.js +0 -142
- package/web/chunk-cbdxzddd.js.br +0 -0
- package/web/chunk-cbdxzddd.js.gz +0 -0
- package/web/chunk-cng693ts.js +0 -2
- package/web/chunk-cng693ts.js.br +0 -0
- package/web/chunk-cng693ts.js.gz +0 -0
- package/web/chunk-d5vcma5a.js +0 -89
- package/web/chunk-d5vcma5a.js.br +0 -0
- package/web/chunk-d5vcma5a.js.gz +0 -0
- package/web/chunk-d6d9cp71.js +0 -1
- package/web/chunk-d6d9cp71.js.br +0 -2
- package/web/chunk-d6d9cp71.js.gz +0 -0
- package/web/chunk-dsghhcew.js +0 -1
- package/web/chunk-dsghhcew.js.br +0 -0
- package/web/chunk-dsghhcew.js.gz +0 -0
- package/web/chunk-dt2e6evf.js +0 -1
- package/web/chunk-dt2e6evf.js.br +0 -0
- package/web/chunk-dt2e6evf.js.gz +0 -0
- package/web/chunk-dxrsmcah.js +0 -1
- package/web/chunk-dxrsmcah.js.br +0 -0
- package/web/chunk-dxrsmcah.js.gz +0 -0
- package/web/chunk-ent5zx24.js +0 -1
- package/web/chunk-ent5zx24.js.br +0 -2
- package/web/chunk-ent5zx24.js.gz +0 -0
- package/web/chunk-f4n1q3mf.js +0 -1
- package/web/chunk-f4n1q3mf.js.br +0 -0
- package/web/chunk-f4n1q3mf.js.gz +0 -0
- package/web/chunk-fdfrv6bc.js +0 -1
- package/web/chunk-fdfrv6bc.js.br +0 -2
- package/web/chunk-fdfrv6bc.js.gz +0 -0
- package/web/chunk-fh44xz70.js +0 -1
- package/web/chunk-fh44xz70.js.br +0 -0
- package/web/chunk-fh44xz70.js.gz +0 -0
- package/web/chunk-fkbp72gk.js +0 -1
- package/web/chunk-fkbp72gk.js.br +0 -0
- package/web/chunk-fkbp72gk.js.gz +0 -0
- package/web/chunk-fzkjgwzq.js +0 -4
- package/web/chunk-fzkjgwzq.js.br +0 -0
- package/web/chunk-fzkjgwzq.js.gz +0 -0
- package/web/chunk-gf2gznsb.js +0 -38
- package/web/chunk-gf2gznsb.js.br +0 -0
- package/web/chunk-gf2gznsb.js.gz +0 -0
- package/web/chunk-gne1ybac.js +0 -2
- package/web/chunk-gne1ybac.js.br +0 -0
- package/web/chunk-gne1ybac.js.gz +0 -0
- package/web/chunk-gws1fj71.js +0 -106
- package/web/chunk-gws1fj71.js.br +0 -0
- package/web/chunk-gws1fj71.js.gz +0 -0
- package/web/chunk-h4m88fg8.js +0 -2
- package/web/chunk-h4m88fg8.js.br +0 -0
- package/web/chunk-h4m88fg8.js.gz +0 -0
- package/web/chunk-h4vk09kd.js +0 -2
- package/web/chunk-h4vk09kd.js.br +0 -0
- package/web/chunk-h4vk09kd.js.gz +0 -0
- package/web/chunk-h6wzjfj2.js +0 -34
- package/web/chunk-h6wzjfj2.js.br +0 -0
- package/web/chunk-h6wzjfj2.js.gz +0 -0
- package/web/chunk-hajg1p0h.js +0 -7
- package/web/chunk-hajg1p0h.js.br +0 -0
- package/web/chunk-hajg1p0h.js.gz +0 -0
- package/web/chunk-hhmd6qrc.js +0 -2
- package/web/chunk-hhmd6qrc.js.br +0 -0
- package/web/chunk-hhmd6qrc.js.gz +0 -0
- package/web/chunk-hya0fh1r.js +0 -1
- package/web/chunk-hya0fh1r.js.br +0 -0
- package/web/chunk-hya0fh1r.js.gz +0 -0
- package/web/chunk-j469ky77.js +0 -1
- package/web/chunk-j469ky77.js.br +0 -0
- package/web/chunk-j469ky77.js.gz +0 -0
- package/web/chunk-j6ymcm3h.js +0 -2
- package/web/chunk-j6ymcm3h.js.br +0 -0
- package/web/chunk-j6ymcm3h.js.gz +0 -0
- package/web/chunk-j79z6bta.js +0 -21
- package/web/chunk-j79z6bta.js.br +0 -0
- package/web/chunk-j79z6bta.js.gz +0 -0
- package/web/chunk-jbxc5y3z.js +0 -12
- package/web/chunk-jbxc5y3z.js.br +0 -0
- package/web/chunk-jbxc5y3z.js.gz +0 -0
- package/web/chunk-jcc187d7.js +0 -1
- package/web/chunk-jcc187d7.js.br +0 -0
- package/web/chunk-jcc187d7.js.gz +0 -0
- package/web/chunk-jjvpdxhd.js +0 -2
- package/web/chunk-jjvpdxhd.js.br +0 -0
- package/web/chunk-jjvpdxhd.js.gz +0 -0
- package/web/chunk-jrh3mwmy.js +0 -2
- package/web/chunk-jrh3mwmy.js.br +0 -0
- package/web/chunk-jrh3mwmy.js.gz +0 -0
- package/web/chunk-jv3pgdp0.js +0 -1
- package/web/chunk-jv3pgdp0.js.br +0 -2
- package/web/chunk-jv3pgdp0.js.gz +0 -0
- package/web/chunk-ksxjhezb.js +0 -1
- package/web/chunk-ksxjhezb.js.br +0 -0
- package/web/chunk-ksxjhezb.js.gz +0 -0
- package/web/chunk-ktnd8t40.js +0 -2
- package/web/chunk-ktnd8t40.js.br +0 -0
- package/web/chunk-ktnd8t40.js.gz +0 -0
- package/web/chunk-mgwv3dp0.js +0 -1
- package/web/chunk-mgwv3dp0.js.br +0 -0
- package/web/chunk-mgwv3dp0.js.gz +0 -0
- package/web/chunk-mtjdfgjj.js +0 -2
- package/web/chunk-mtjdfgjj.js.br +0 -0
- package/web/chunk-mtjdfgjj.js.gz +0 -0
- package/web/chunk-mzkaanwd.js +0 -2
- package/web/chunk-mzkaanwd.js.br +0 -0
- package/web/chunk-mzkaanwd.js.gz +0 -0
- package/web/chunk-n22pg5xy.js +0 -1
- package/web/chunk-n22pg5xy.js.br +0 -0
- package/web/chunk-n22pg5xy.js.gz +0 -0
- package/web/chunk-n58ezsfb.js +0 -2
- package/web/chunk-n58ezsfb.js.br +0 -0
- package/web/chunk-n58ezsfb.js.gz +0 -0
- package/web/chunk-nhx74teq.js +0 -3
- package/web/chunk-nhx74teq.js.br +0 -0
- package/web/chunk-nhx74teq.js.gz +0 -0
- package/web/chunk-njjsgwfw.js +0 -2
- package/web/chunk-njjsgwfw.js.br +0 -0
- package/web/chunk-njjsgwfw.js.gz +0 -0
- package/web/chunk-nwhqcbnr.js +0 -1
- package/web/chunk-nwhqcbnr.js.br +0 -0
- package/web/chunk-nwhqcbnr.js.gz +0 -0
- package/web/chunk-pnghaajd.js +0 -70
- package/web/chunk-pnghaajd.js.br +0 -0
- package/web/chunk-pnghaajd.js.gz +0 -0
- package/web/chunk-pqfn8x7v.js +0 -1
- package/web/chunk-pqfn8x7v.js.br +0 -0
- package/web/chunk-pqfn8x7v.js.gz +0 -0
- package/web/chunk-ptk0jnyx.js +0 -1
- package/web/chunk-ptk0jnyx.js.br +0 -0
- package/web/chunk-ptk0jnyx.js.gz +0 -0
- package/web/chunk-pv7e5g4k.js +0 -370
- package/web/chunk-pv7e5g4k.js.br +0 -0
- package/web/chunk-pv7e5g4k.js.gz +0 -0
- package/web/chunk-pxnh5qgn.js +0 -2
- package/web/chunk-pxnh5qgn.js.br +0 -0
- package/web/chunk-pxnh5qgn.js.gz +0 -0
- package/web/chunk-q6eq5y2t.js +0 -1
- package/web/chunk-q6eq5y2t.js.br +0 -2
- package/web/chunk-q6eq5y2t.js.gz +0 -0
- package/web/chunk-qdwg9n1d.js +0 -1
- package/web/chunk-qdwg9n1d.js.br +0 -0
- package/web/chunk-qdwg9n1d.js.gz +0 -0
- package/web/chunk-qp42gtvd.js +0 -1
- package/web/chunk-qp42gtvd.js.br +0 -0
- package/web/chunk-qp42gtvd.js.gz +0 -0
- package/web/chunk-qzdw8vdp.js +0 -1
- package/web/chunk-qzdw8vdp.js.br +0 -0
- package/web/chunk-qzdw8vdp.js.gz +0 -0
- package/web/chunk-r571ywxq.js +0 -1
- package/web/chunk-r571ywxq.js.br +0 -0
- package/web/chunk-r571ywxq.js.gz +0 -0
- package/web/chunk-r9fx4cjw.js +0 -1
- package/web/chunk-r9fx4cjw.js.br +0 -0
- package/web/chunk-r9fx4cjw.js.gz +0 -0
- package/web/chunk-rhvq3c1c.js +0 -1
- package/web/chunk-rhvq3c1c.js.br +0 -0
- package/web/chunk-rhvq3c1c.js.gz +0 -0
- package/web/chunk-rjay9w1t.js +0 -1
- package/web/chunk-rjay9w1t.js.br +0 -0
- package/web/chunk-rjay9w1t.js.gz +0 -0
- package/web/chunk-rpvdnc3p.js +0 -1
- package/web/chunk-rpvdnc3p.js.br +0 -0
- package/web/chunk-rpvdnc3p.js.gz +0 -0
- package/web/chunk-rrfr4wyt.js +0 -62
- package/web/chunk-rrfr4wyt.js.br +0 -0
- package/web/chunk-rrfr4wyt.js.gz +0 -0
- package/web/chunk-rvngywg9.js +0 -2
- package/web/chunk-rvngywg9.js.br +0 -0
- package/web/chunk-rvngywg9.js.gz +0 -0
- package/web/chunk-rw7d025r.js +0 -84
- package/web/chunk-rw7d025r.js.br +0 -0
- package/web/chunk-rw7d025r.js.gz +0 -0
- package/web/chunk-s1g8acth.js +0 -324
- package/web/chunk-s1g8acth.js.br +0 -0
- package/web/chunk-s1g8acth.js.gz +0 -0
- package/web/chunk-s8572njv.js +0 -2
- package/web/chunk-s8572njv.js.br +0 -1
- package/web/chunk-s8572njv.js.gz +0 -0
- package/web/chunk-sb57e1m9.css +0 -1
- package/web/chunk-sb57e1m9.css.br +0 -0
- package/web/chunk-sb57e1m9.css.gz +0 -0
- package/web/chunk-sn3h5adt.js +0 -2
- package/web/chunk-sn3h5adt.js.br +0 -0
- package/web/chunk-sn3h5adt.js.gz +0 -0
- package/web/chunk-tb2v18q8.js +0 -2
- package/web/chunk-tb2v18q8.js.br +0 -0
- package/web/chunk-tb2v18q8.js.gz +0 -0
- package/web/chunk-tetbyky0.js +0 -39
- package/web/chunk-tetbyky0.js.br +0 -0
- package/web/chunk-tetbyky0.js.gz +0 -0
- package/web/chunk-tqvctvsv.js +0 -1
- package/web/chunk-tqvctvsv.js.br +0 -0
- package/web/chunk-tqvctvsv.js.gz +0 -0
- package/web/chunk-v9mj2pxz.js +0 -1
- package/web/chunk-v9mj2pxz.js.br +0 -0
- package/web/chunk-v9mj2pxz.js.gz +0 -0
- package/web/chunk-vkhah4nd.js +0 -2
- package/web/chunk-vkhah4nd.js.br +0 -0
- package/web/chunk-vkhah4nd.js.gz +0 -0
- package/web/chunk-vpnh7wmw.js +0 -1
- package/web/chunk-vpnh7wmw.js.br +0 -0
- package/web/chunk-vpnh7wmw.js.gz +0 -0
- package/web/chunk-w1qe2x5p.js +0 -217
- package/web/chunk-w1qe2x5p.js.br +0 -0
- package/web/chunk-w1qe2x5p.js.gz +0 -0
- package/web/chunk-werh47fw.js +0 -99
- package/web/chunk-werh47fw.js.br +0 -0
- package/web/chunk-werh47fw.js.gz +0 -0
- package/web/chunk-wfmf0dc8.js +0 -1
- package/web/chunk-wfmf0dc8.js.br +0 -0
- package/web/chunk-wfmf0dc8.js.gz +0 -0
- package/web/chunk-wna4vqp6.js +0 -1
- package/web/chunk-wna4vqp6.js.br +0 -0
- package/web/chunk-wna4vqp6.js.gz +0 -0
- package/web/chunk-wwhq09nf.js +0 -1
- package/web/chunk-wwhq09nf.js.br +0 -0
- package/web/chunk-wwhq09nf.js.gz +0 -0
- package/web/chunk-x6va53y6.js +0 -291
- package/web/chunk-x6va53y6.js.br +0 -0
- package/web/chunk-x6va53y6.js.gz +0 -0
- package/web/chunk-xefyzr9s.js +0 -120
- package/web/chunk-xefyzr9s.js.br +0 -0
- package/web/chunk-xefyzr9s.js.gz +0 -0
- package/web/chunk-xj1w9054.js +0 -2
- package/web/chunk-xj1w9054.js.br +0 -0
- package/web/chunk-xj1w9054.js.gz +0 -0
- package/web/chunk-xtb3xhxk.js +0 -2
- package/web/chunk-xtb3xhxk.js.br +0 -2
- package/web/chunk-xtb3xhxk.js.gz +0 -0
- package/web/chunk-y1eeptks.js +0 -2
- package/web/chunk-y1eeptks.js.br +0 -0
- package/web/chunk-y1eeptks.js.gz +0 -0
- package/web/chunk-y7z6zmvp.js +0 -292
- package/web/chunk-y7z6zmvp.js.br +0 -0
- package/web/chunk-y7z6zmvp.js.gz +0 -0
- package/web/chunk-yj8tkncg.js +0 -7
- package/web/chunk-yj8tkncg.js.br +0 -0
- package/web/chunk-yj8tkncg.js.gz +0 -0
- package/web/chunk-z0m2d74w.js +0 -1
- package/web/chunk-z0m2d74w.js.br +0 -0
- package/web/chunk-z0m2d74w.js.gz +0 -0
- package/web/chunk-z30kqv40.js +0 -1
- package/web/chunk-z30kqv40.js.br +0 -0
- package/web/chunk-z30kqv40.js.gz +0 -0
- package/web/chunk-z3a96d42.js +0 -332
- package/web/chunk-z3a96d42.js.br +0 -0
- package/web/chunk-z3a96d42.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
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 On(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 zr(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]})}zr.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=zr(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(On(p)/3)))*3,w=Math.pow(10,-y),s=Z((f=zr(f),f.type="f",f),{suffix:Q[8+y/3]});return function(S){return s(w*S)}}return{format:Z,formatPrefix:V}}var D,$n,no;Y({thousands:",",grouping:[3],currency:["$",""]});function Y(t){return D=U(t),$n=D.format,no=D.formatPrefix,D}export{On,zr,$n,no};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t,i,S,d,H,V,An,Tn,Rc,gn,lr,Pc,_a,ht,Ic,ic,En,oc,pr,ka}from"./chunk-40j8gxty.js";import{Ce}from"./chunk-ybq42mr5.js";import{A}from"./chunk-26grg3rq.js";function ro(e,{edgePathsClass:r="edges edgePaths"}={}){let n=e.insert("g").attr("class","root"),o=n.insert("g").attr("class","clusters"),s=n.insert("g").attr("class",r),a=n.insert("g").attr("class","edgeLabels"),l=n.insert("g").attr("class","nodes");return{clusters:o,edgePaths:s,edgeLabels:a,nodes:l,rootGroups:n}}t(ro,"createLayoutElementGroups");async function L(e,r,n){if(r.label){let{shapeSvg:o,bbox:s}=await V(e,n===void 0?r:{...r,width:n});r.labelBBox={width:s.width,height:s.height},o.remove()}else r.labelBBox={width:0,height:0}}t(L,"measureGroupLabel");async function ao(e,r,n){let o=await Tn(e,r,n),s=o.node()?.getBBox()??{width:0,height:0};return r.width=s.width,r.height=s.height,o}t(ao,"insertMeasuredNode");function x(e,r,n){let o=e,s=new Set;while(o){if(o.dir)return o.dir;if(!o.parentId||s.has(o.parentId))break;s.add(o.parentId),o=r.get(o.parentId)}return n}t(x,"resolveNodeDir");async function D(e,r,n={}){let o=new Ce({multigraph:!0,compound:!0}),s=[...r.edges],a=d(),l=ro(e),{edgeLabels:f,nodes:c}=l,g=new Map,b=new Map(r.nodes.map((u)=>[u.id,u])),E=r.direction,h=e.node()!=null;await Promise.all(r.nodes.map(async(u)=>{if(u.isGroup){if(h){let w=n.unwrapGroupLabels&&u.labelType!=="markdown";await L(c,u,w?Number.POSITIVE_INFINITY:void 0)}o.setNode(u.id,{...u})}else{if(h){let w=await ao(c,u,{config:a,dir:x(u,b,E)});g.set(u.id,w)}o.setNode(u.id,{...u})}}));for(let u of s){if(h&&ic(u))await En(f,u);if(o.setEdge(u.start,u.end,{...u},u.id),!r.edges.some((v)=>v.id===u.id))r.edges.push(u)}if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:u}=await (A("adfd0mhj"),import("./chunk-adfd0mhj.js"));u(e,r)}return{graph:o,groups:l,nodeElements:g}}t(D,"createGraphWithElements");var ae=new Map,m=new Map,k=new Map,Q=t(()=>{m.clear(),k.clear(),ae.clear()},"clear"),p=t((e,r)=>{let n=m.get(r)||[];return i.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),U=t((e,r)=>{let n=m.get(r)||[];if(i.info("Descendants of ",r," is ",n),i.info("Edge is ",e),e.v===r||e.w===r)return!1;if(!n)return i.debug("Tilt, ",r,",not in descendants"),!1;return n.includes(e.v)||p(e.v,r)||p(e.w,r)||n.includes(e.w)},"edgeInCluster"),R=t((e,r,n,o)=>{i.debug("Copying children of ",e,"root",o,"data",r.node(e),o);let s=r.children(e)||[];if(e!==o)s.push(e);i.debug("Copying (nodes) clusterId",e,"nodes",s),s.forEach((a)=>{if(r.children(a).length>0)R(a,r,n,o);else{let l=r.node(a);if(i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,l),o!==r.parent(a))i.debug("Setting parent",a,r.parent(a)),n.setParent(a,r.parent(a));if(e!==o&&a!==e)i.debug("Setting parent",a,e),n.setParent(a,e);else i.info("In copy ",e,"root",o,"data",r.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e);let f=r.edges(a);i.debug("Copying Edges",f),f.forEach((c)=>{i.info("Edge",c);let g=r.edge(c.v,c.w,c.name);i.info("Edge data",g,o);try{if(U(c,o))i.info("Copying as ",c.v,c.w,g,c.name),n.setEdge(c.v,c.w,g,c.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else i.info("Skipping copy of edge ",c.v,"-->",c.w," rootId: ",o," clusterId:",e)}catch(b){i.error(b)}})}i.debug("Removing node",a),r.removeNode(a)})},"copy"),T=t((e,r)=>{let n=r.children(e),o=[...n];for(let s of n)k.set(s,e),o=[...o,...T(s,r)];return o},"extractDescendants"),Z=t((e,r,n)=>{let o=e.edges().filter((c)=>c.v===r||c.w===r),s=e.edges().filter((c)=>c.v===n||c.w===n),a=o.map((c)=>({v:c.v===r?n:c.v,w:c.w===r?r:c.w})),l=s.map((c)=>({v:c.v,w:c.w}));return a.filter((c)=>l.some((g)=>c.v===g.v&&c.w===g.w))},"findCommonEdges"),da=t((e,r,n)=>{let o=r.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let s;for(let a of o){let l=da(a,r,n),f=Z(r,n,l);if(l)if(f.length>0)s=l;else return l}return s},"findNonClusterChild"),y=t((e)=>{if(!ae.has(e))return e;if(!ae.get(e).externalConnections)return e;if(ae.has(e))return ae.get(e).id;return e},"getAnchorId"),gc=t((e,r)=>{if(!e||r>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){if(e.children(n).length>0)i.debug("Cluster identified",n," Replacement id in edges: ",da(n,e,n)),m.set(n,T(n,e)),ae.set(n,{id:da(n,e,n),clusterData:e.node(n)})}),e.nodes().forEach(function(n){let o=e.children(n),s=e.edges();if(o.length>0)i.debug("Cluster identified",n,m),s.forEach((a)=>{let l=p(a.v,n),f=p(a.w,n);if(l^f)i.debug("Edge: ",a," leaves cluster ",n),i.debug("Descendants of XXX ",n,": ",m.get(n)),ae.get(n).externalConnections=!0});else i.debug("Not a cluster ",n,m)});for(let n of ae.keys()){let o=ae.get(n).id,s=e.parent(o);if(s!==n&&ae.has(s)&&!ae.get(s).externalConnections)ae.get(n).id=s;let a=e.edges().some((l)=>l.v===n);if(o&&ae.get(n)?.externalConnections&&a&&M(e,o,n)){let l=I(e,n,e.parent(o));if(l)ae.get(n).id=l}}e.edges().forEach(function(n){let o=e.edge(n);i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let{v:s,w:a}=n;if(i.debug("Fix XXX",ae,"ids:",n.v,n.w,"Translating: ",ae.get(n.v)," --- ",ae.get(n.w)),ae.get(n.v)||ae.get(n.w)){if(i.debug("Fixing and trying - removing XXX",n.v,n.w,n.name),s=y(n.v),a=y(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){let l=e.parent(s);ae.get(l).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let l=e.parent(a);ae.get(l).externalConnections=!0,o.toCluster=n.w}i.debug("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,o,n.name)}}),P(e,0),i.trace(ae)},"adjustClustersAndEdges"),P=t((e,r)=>{if(r>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(let s of n){let a=e.children(s);o=o||a.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,r);for(let s of n)if(i.debug("Extracting node",s,ae,ae.has(s)&&!ae.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",r),!ae.has(s))i.debug("Not a cluster",s,r);else if(!ae.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){i.debug("Cluster without external connections, without a parent and with children",s,r);let l=e.graph().rankdir==="TB"?"LR":"TB";if(ae.get(s)?.clusterData?.dir)l=ae.get(s).clusterData.dir,i.debug("Fixing dir",ae.get(s).clusterData.dir,l);let f=new Ce({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});R(s,e,f,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:ae.get(s).clusterData,label:ae.get(s).label,graph:f})}else i.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!ae.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),r),i.debug(ae);n=e.nodes(),i.debug("New list of nodes",n);for(let s of n){let a=e.node(s);if(i.debug(" Now next level",s,a),a?.clusterNode)P(a.graph,r+1)}},"extractor"),B=t((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach((o)=>{let s=e.children(o),a=B(e,s);n=[...n,...a]}),n},"sorter"),io=t((e)=>B(e,e.children()),"sortNodesByHierarchy"),M=t((e,r,n)=>{let o=e.parent(r);while(o&&o!==n){let s=ae.get(o);if(s&&!s.externalConnections)return!0;o=e.parent(o)}return!1},"isNodeInExtractableCluster"),I=t((e,r,n)=>{let o=e.children(r)??[];for(let s of o){if(s===n||p(s,n))continue;let a=da(s,e,r);if(!a)continue;if(!M(e,a,r))return a}return null},"findSafeAnchorNode");function za({prepareLayout:e,measureLayout:r,runLayoutCore:n,paintLayout:o,afterPaint:s,paintOptions:a}){let l=r??_;return t(async function(c,g,b,E){let h=g.select("g");(b?.insertMarkers??ka)(h,c.markers,c.type,c.diagramId),X();let u={element:h,helpers:b,options:E};u.preparedLayout=await e?.(c,u);let w=await l(c,u),v=await n(c,u),C={...u,measure:w};if(o)await o(c,C,v);else await G(c,C,a);await s?.(c,C,v)},"render")}t(za,"createCommonLayoutRenderer");function X(){Rc(),Ic(),Pc(),Q()}t(X,"clearLayoutRenderState");async function _(e,{element:r},n){return await D(r,e,n)}t(_,"defaultMeasureLayout");async function G(e,r,n={}){let{measure:o}=r,{groups:s}=o;for(let l of n.getNodes?.(e,r)??e.nodes){if(n.skipNode?.(l,r))continue;await O(s,l,r,n)}let a=j(e.nodes);for(let l of e.edges){if(z(l,n))continue;await J(s,l,a,e,n,r)}}t(G,"paintLayoutData");async function O(e,r,n,o){if(r.clusterNode)gn(r);else if(F(r,n,o))await lr(e.clusters,r);else gn(r)}t(O,"paintLayoutNode");function F(e,r,n){return e.isGroup===!0&&(n.isCluster?.(e,r)??!0)}t(F,"shouldPaintAsCluster");function j(e){let r=new Map;for(let n of e)if(n?.id)r.set(n.id,n);return r}t(j,"buildNodeLookup");function z(e,r){return e.isLayoutOnly||Boolean(r.skipEdge?.(e))}t(z,"shouldSkipPaintEdge");async function J(e,r,n,o,s,a){let l=pr(e.edgePaths,{...r},s.clusterDb??new Map,o.type,N(r.start,r,n,a,s),N(r.end,r,n,a,s),o.diagramId,W(r,s),o.layoutAlgorithm);if(ic(r)){if(!_a.has(r.id))await En(e.edgeLabels,r);Y(r,l)}}t(J,"paintLayoutEdge");function N(e,r,n,o,s){return s.getEdgeNode?.(e,r,o)??(e?n.get(e)??{}:{})}t(N,"getRenderedNode");function W(e,r){return typeof r.skipIntersect==="function"?r.skipIntersect(e):r.skipIntersect??!1}t(W,"shouldSkipIntersect");function Y(e,r){let n=r?.updatedPath??r?.originalPath,o=S(),{subGraphTitleTotalMargin:s}=An({flowchart:o.flowchart??{}});if(e.label){let a=_a.get(e.id),{x:l,y:f}=oc(e,r);a.attr("transform",`translate(${l}, ${f+s/2})`)}for(let[a,l]of[["startLeft",e.startLabelLeft],["startRight",e.startLabelRight],["endLeft",e.endLabelLeft],["endRight",e.endLabelRight]])if(l){let{x:f,y:c}=q(e,a,n);ht.get(e.id)[a].attr("transform",`translate(${f}, ${c})`)}}t(Y,"positionRenderedEdgeLabel");var ee={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};function q(e,r,n){let o=e.terminalLabelCenters?.[r];if(o)return{...o};if(!n)return{x:e.x,y:e.y};let s=r.startsWith("start")?e.arrowTypeStart:e.arrowTypeEnd;return H.calcTerminalLabelPosition(s?10:0,ee[r],n)}t(q,"terminalLabelTranslate");
|
|
2
|
+
export{ro,ao,ae,da,gc,io,za};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import{t,or,i,Oe,C,L,M,P,R,I,O,D,d,v,H,St,zi,$e,Re,Pe,hn,We,Ye}from"./chunk-40j8gxty.js";import{zn}from"./chunk-db2pew8j.js";import{Ge}from"./chunk-dk2jv3kv.js";import{De}from"./chunk-k67ze3zq.js";var Be=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],E=[1,11],g=[1,12],S=[1,30],f=[1,23],y=[1,24],w=[1,25],q=[1,26],X=[1,27],T=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Ne=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],ze=[69,70,71,72,73],Ue=[1,91],Ke=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],Ze=[1,110],je=[1,109],qe=[20,43,51,53,54,55],Ae=[18,61,64,66],Ie={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,_,e,he){var r=e.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:E,27:g,28:13,29:14,30:15,31:16,32:17,34:S,37:f,38:y,39:w,40:q,41:X,43:T,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Ne,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:T,51:V,53:F,54:Y,55:z},{10:51,43:T,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:T,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:E,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:S,37:f,38:y,39:w,40:q,41:X,43:T,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Ne,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Ne,73:xe},s(ze,[2,82]),s(ze,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ue,50:pe},{43:[1,92],44:[1,93]},s(Ke,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ue,50:pe},s(u,[2,32]),{10:97,36:96,43:T,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:T,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:Ze,66:je}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:T,51:V,53:F,54:Y,55:z},s(qe,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:je}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ke,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(qe,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:Ze},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],_=[null],e=[],he=this.table,r="",_e=0,He=0,Qe=0,rt=2,Xe=1,at=e.slice.call(arguments,1),m=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(m.setInput(o,W.yy),W.yy.lexer=m,W.yy.parser=this,typeof m.yylloc>"u")m.yylloc={};var Le=m.yylloc;e.push(Le);var nt=m.options&&m.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(A){p.length=p.length-2*A,_.length=_.length-A,e.length=e.length-A}t(ot,"popStack");function Je(){var A=a.pop()||m.lex()||Xe;if(typeof A!=="number"){if(A instanceof Array)a=A,A=a.pop();A=c.symbols_[A]||A}return A}t(Je,"lex");var N,we,Q,x,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])x=this.defaultActions[Q];else{if(N===null||typeof N>"u")N=Je();x=he[Q]&&he[Q][N]}if(typeof x>"u"||!x.length||!x[0]){var Me="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(m.showPosition)Me="Parse error on line "+(_e+1)+`:
|
|
2
|
+
`+m.showPosition()+`
|
|
3
|
+
Expecting `+Ee.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Me="Parse error on line "+(_e+1)+": Unexpected "+(N==Xe?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Me,{text:m.match,token:this.terminals_[N]||N,line:m.yylineno,loc:Le,expected:Ee})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+N);switch(x[0]){case 1:if(p.push(N),_.push(m.yytext),e.push(m.yylloc),p.push(x[1]),N=null,!we){if(He=m.yyleng,r=m.yytext,_e=m.yylineno,Le=m.yylloc,Qe>0)Qe--}else N=we,we=null;break;case 2:if(B=this.productions_[x[1]][1],ee.$=_[_.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,He,_e,W.yy,x[1],_,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),_=_.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[x[1]][0]),_.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1)this.yylineno-=p.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,_;if(this.options.backtrack_lexer){if(_={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)_.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in _)this[e]=_[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var e=0;e<_.length;e++)if(p=this._input.match(this.rules[_[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,_[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,_[a]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,_){var e=_;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Ie.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Ie,Ie.Parser=ye,new ye}();Be.parser=Be;var lt=Be,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let g=this.addEntity(s);if(!g)return;h=g.id}let k;if(this.subGraphLookup.has(b))k=b;else{let g=this.addEntity(b);if(!g)return;k=g.id}let E={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(E),i.debug("Added new relationship :",E)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,E=t((y)=>{let w=new Set,q;return{nodeList:y.filter((T)=>{if(T?.stmt){if(T.stmt==="dir")q=T.value;return!1}if(typeof T!=="string")return!1;let G=T.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:g,dir:S}=E;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:g,title:h.trim(),classes:[],cssStyles:[],dir:S,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,L()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let y=n[f];if(y.nodes.length>0)k.set(y.id,!0);for(let w of y.nodes)h.set(w,y.id)}for(let f=n.length-1;f>=0;f--){let y=n[f];s.push({id:y.id,label:y.title,labelStyle:"",labelType:y.labelType,parentId:h.get(y.id),padding:8,cssCompiledStyles:this.getCompiledStyles(y.classes),cssStyles:y.cssStyles,cssClasses:y.classes.join(" "),shape:"rect",dir:y.dir,isGroup:!0,look:b.look})}let E=new Set(n.map((f)=>f.id)),g=0;for(let f of this.entities.keys()){if(E.has(f))continue;let y=this.entities.get(f);if(y)y.cssCompiledStyles=this.getCompiledStyles(y.cssClasses.split(" ")),y.colorIndex=g++,s.push({...y,parentId:h.get(f),isGroup:!1})}let S=0;for(let f of this.relationships){let y={id:St(f.entityA,f.entityB,{prefix:"id",counter:S++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(y)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};or(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:E}=d(),g=n.db.getData(),S=Ge(l,h);g.type=n.type,g.layoutAlgorithm=Ye(E),g.config.flowchart.nodeSpacing=k?.nodeSpacing||140,g.config.flowchart.rankSpacing=k?.rankSpacing||80,g.direction=n.db.getDirection();let{config:f}=g,{look:y}=f;if(y==="neo")g.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else g.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];g.diagramId=l,await We(g,S);let w=S.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=v(this),G=X.attr("id").replace("-background",""),te=S.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(S,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),De(S,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=zn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Oe(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Re(l,n))return"";let h=Pe(s.look),k=$e(b),E="";for(let g=0;g<hn(n);g++){let S=n[g],f=k?`fill: ${b[g%b.length]};`:"";E+=`
|
|
7
|
+
|
|
8
|
+
[data-look="${h}"][data-color-id="color-${g}"].node path {
|
|
9
|
+
stroke: ${S};
|
|
10
|
+
${f}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-look="${h}"][data-color-id="color-${g}"].node rect {
|
|
14
|
+
stroke: ${S};
|
|
15
|
+
${f}
|
|
16
|
+
}
|
|
17
|
+
`}return E},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
|
|
18
|
+
${ut(s)}
|
|
19
|
+
.entityBox {
|
|
20
|
+
fill: ${s.mainBkg};
|
|
21
|
+
stroke: ${s.nodeBorder};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.relationshipLabelBox {
|
|
25
|
+
fill: ${s.tertiaryColor};
|
|
26
|
+
opacity: 0.7;
|
|
27
|
+
background-color: ${s.tertiaryColor};
|
|
28
|
+
rect {
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.labelBkg {
|
|
34
|
+
background-color: ${zi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.edgeLabel {
|
|
38
|
+
background-color: ${zi.has(b)&&n?n:s.edgeLabelBackground};
|
|
39
|
+
}
|
|
40
|
+
.edgeLabel .label rect {
|
|
41
|
+
fill: ${zi.has(b)&&n?n:s.edgeLabelBackground};
|
|
42
|
+
}
|
|
43
|
+
.edgeLabel .label text {
|
|
44
|
+
fill: ${s.textColor};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.edgeLabel .label {
|
|
48
|
+
fill: ${s.nodeBorder};
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.label {
|
|
53
|
+
font-family: ${s.fontFamily};
|
|
54
|
+
color: ${s.nodeTextColor||s.textColor};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.edge-pattern-dashed {
|
|
58
|
+
stroke-dasharray: 8,8;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.node rect,
|
|
62
|
+
.node circle,
|
|
63
|
+
.node ellipse,
|
|
64
|
+
.node polygon
|
|
65
|
+
{
|
|
66
|
+
fill: ${s.mainBkg};
|
|
67
|
+
stroke: ${s.nodeBorder};
|
|
68
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.relationshipLine {
|
|
72
|
+
stroke: ${s.lineColor};
|
|
73
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
74
|
+
fill: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.marker {
|
|
78
|
+
fill: none !important;
|
|
79
|
+
stroke: ${s.lineColor} !important;
|
|
80
|
+
stroke-width: 1;
|
|
81
|
+
}
|
|
82
|
+
[data-look=neo].labelBkg {
|
|
83
|
+
background-color: ${tt(s.tertiaryColor,0.5)};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cluster rect {
|
|
87
|
+
fill: ${s.clusterBkg??s.mainBkg};
|
|
88
|
+
stroke: ${s.clusterBorder??s.nodeBorder};
|
|
89
|
+
stroke-width: 1px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cluster text {
|
|
93
|
+
fill: ${s.titleColor??s.textColor};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cluster-label text {
|
|
97
|
+
fill: ${s.titleColor??s.textColor};
|
|
98
|
+
}
|
|
99
|
+
`},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ia}from"./chunk-w8se91rf.js";import"./chunk-f5wyg9zh.js";import"./chunk-6ycpdpfj.js";export{Ia as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Oa}from"./chunk-bt8ww8df.js";export{Oa as createRailroadEbnfServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f,s,K,o,a,m,e,n,y,l,mr,yn,Er,bn,Fe,Ut,Nn,Xe,jt,Rr,Mn,me,Ir,Te,Dr,de}from"./chunk-26grg3rq.js";var Pe=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],he=l("calendar",Pe);var Ue=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],xe=l("hash",Ue);var Le=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],ye=l("key-round",Le);var Be=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],ve=l("type",Be);var Me=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],be=l("upload",Me);var ee=20971520,se=50,Ne=30;var re=8;var le="/api/plugins/records",te=new Set(["image/png","image/jpeg","image/gif","image/webp","application/pdf"]),qe=new Set(["image/png","image/jpeg","image/gif","image/webp"]);function Re(t){let{Button:r,confirm:A,Tooltip:T}=y(),I=o(null),[k,v]=a(),F=t.vault.initialized&&!t.vault.unlocked,h=t.connection.requestStream!==void 0;async function _(d){if(!t.connection.requestStream)return;if(F)return t.onNeedUnlock();t.onError(void 0);let N=[];try{for(let p of d){if(t.attachments.length+N.length>=se)throw Error(`一个条目最多 ${se} 个附件`);if(p.size>ee)throw Error(`「${p.name}」超过 ${ee/1024/1024} MB`);v(p.name);let S=await t.connection.requestStream(`${le}/items/${encodeURIComponent(t.itemID)}/attachments?name=${encodeURIComponent(p.name)}`,{method:"POST",body:p,headers:{"content-type":p.type||"application/octet-stream"}});N.push(await S.json())}}catch(p){t.onError(p instanceof Error?p.message:"上传失败")}finally{if(v(void 0),N.length>0)t.onChange([...t.attachments,...N])}}async function U(d){if(F)return t.onNeedUnlock();t.onError(void 0);let N=te.has(d.mime)?window.open("","_blank"):null;try{let p=await ke(t.connection,d);if(N)N.location.href=p;else{let S=document.createElement("a");S.href=p,S.download=d.name,document.body.append(S),S.click(),S.remove()}setTimeout(()=>URL.revokeObjectURL(p),60000)}catch(p){N?.close(),t.onError(p instanceof Error?p.message:"读取附件失败")}}async function g(d){if(!await A({title:`删除附件「${d.name}」?`,description:"附件会立即彻底删除,不进回收站。",action:"删除",danger:!0}))return;t.onError(void 0);try{await t.connection.request(`${le}/attachments/${encodeURIComponent(d.id)}`,{method:"DELETE"}),t.onChange(t.attachments.filter((p)=>p.id!==d.id))}catch(p){t.onError(p instanceof Error?p.message:"删除附件失败")}}return n("div",{className:"flex flex-col gap-2",children:[n("div",{className:"flex items-center gap-2",children:[e(Mn,{className:"size-4 text-dim"}),e("span",{className:"text-sm font-medium",children:"附件"}),e("span",{className:"text-ui text-faint",children:t.attachments.length>0?t.attachments.length:""}),e("div",{className:"flex-1"}),e("input",{ref:I,type:"file",multiple:!0,hidden:!0,onChange:(d)=>{let N=Array.from(d.target.files??[]);if(d.target.value="",N.length>0)_(N)}}),n(r,{type:"button",size:"sm",variant:"ghost",disabled:!h||k!==void 0,onClick:()=>F?t.onNeedUnlock():I.current?.click(),children:[e(be,{className:"size-4"}),k?"正在上传…":"添加"]})]}),F&&t.attachments.length>0&&e("p",{className:"text-ui text-dim",children:"附件已加密,解锁保险箱后才能查看或添加。"}),k&&n("p",{className:"truncate text-ui text-dim",children:["正在上传「",k,"」"]}),t.attachments.length>0&&e("ul",{className:"divide-y divide-line overflow-hidden rounded-lg border border-line",children:t.attachments.map((d)=>n("li",{className:"flex items-center gap-3 px-3 py-2",children:[e(Ve,{attachment:d,connection:t.connection,enabled:!F}),n("button",{type:"button",className:"min-w-0 flex-1 text-left",onClick:()=>void U(d),title:te.has(d.mime)?"打开":"下载",children:[e("span",{className:"block truncate text-sm hover:underline",children:d.name}),e("span",{className:"block text-ui text-faint",children:je(d.size)})]}),!te.has(d.mime)&&e(T,{label:"下载",children:e(r,{type:"button",size:"icon-sm",variant:"ghost","aria-label":`下载 ${d.name}`,onClick:()=>void U(d),children:e(Ut,{className:"size-4"})})}),e(T,{label:"删除附件",children:e(r,{type:"button",size:"icon-sm",variant:"danger-ghost","aria-label":`删除 ${d.name}`,onClick:()=>void g(d),children:e(de,{className:"size-4"})})})]},d.id))}),t.attachments.length===0&&!k&&n("p",{className:"text-ui text-faint",children:["图片、PDF、文档等,单个不超过 ",ee/1024/1024," MB。"]})]})}function Ve(t){let[r,A]=a(),T=qe.has(t.attachment.mime);if(s(()=>{if(!T||!t.enabled)return;let I,k=!1;return ke(t.connection,t.attachment).then((v)=>{if(k)return URL.revokeObjectURL(v);I=v,A(v)}).catch((v)=>console.warn("[records] 加载附件失败:",v)),()=>{if(k=!0,I)URL.revokeObjectURL(I)}},[T,t.enabled,t.connection,t.attachment]),r)return e("img",{src:r,alt:"",className:"size-10 shrink-0 rounded-md border border-line object-cover"});return e("span",{className:"flex size-10 shrink-0 items-center justify-center rounded-md border border-line bg-raised text-dim",children:e(Xe,{className:"size-4"})})}async function ke(t,r){if(!t.requestStream)throw Error("当前客户端不支持读取附件");let T=await(await t.requestStream(`${le}/attachments/${encodeURIComponent(r.id)}`)).arrayBuffer(),I=te.has(r.mime)?r.mime:"application/octet-stream";return URL.createObjectURL(new Blob([T],{type:I}))}function je(t){if(t<1024)return`${t} B`;if(t<1048576)return`${(t/1024).toFixed(1)} KB`;return`${(t/1024/1024).toFixed(1)} MB`}var ce={"content-type":"application/json"},Q="/api/plugins/records",Ce=[{value:"text",label:"文本",description:"编号、名称、备注"},{value:"number",label:"数字",description:"金额、数量,可比较大小"},{value:"date",label:"日期",description:"可按时间段统计"},{value:"secret",label:"机密",description:"加密保存,模型看不到"}];function Ee(){return`f_${Math.random().toString(36).slice(2,8)}`}function ne(t,r){return t instanceof Error?t.message:r}function Se(t){let{Button:r,Dialog:A,Field:T,Form:I,FormError:k,Input:v}=y(),F=K(),h=!t.vault.initialized,[_,U]=a(""),[g,d]=a(""),[N,p]=a(!1),[S,z]=a();async function j(C){if(C.preventDefault(),h&&_!==g){z("两次输入的主密码不一致");return}p(!0),z(void 0);try{let D=await t.connection.request(`${Q}/vault/${h?"setup":"unlock"}`,{method:"POST",headers:ce,body:JSON.stringify({password:_})});U(""),d(""),t.onUnlocked(D)}catch(D){z(ne(D,"解锁失败"))}finally{p(!1)}}return e(A,{open:t.open,onOpenChange:t.onOpenChange,title:h?"设置主密码":"解锁保险箱",description:h?"机密字段用主密码加密。主密码不会保存在任何地方,忘记后已保存的机密无法找回。":"输入主密码后才能查看和填写机密字段,闲置 15 分钟自动锁定。",size:"sm",footer:n(m,{children:[e("div",{className:"flex-1 max-sm:hidden"}),e(r,{onClick:()=>t.onOpenChange(!1),children:"取消"}),e(r,{type:"submit",form:F,variant:"primary",disabled:N,children:N?"请稍候…":h?"设置并解锁":"解锁"})]}),children:n(I,{id:F,onSubmit:j,children:[e(T,{label:"主密码",hint:h?`至少 ${re} 个字符`:void 0,children:(C)=>e(v,{id:C,type:"password",autoFocus:!0,required:!0,minLength:h?re:void 0,autoComplete:h?"new-password":"current-password",value:_,onChange:(D)=>U(D.target.value)})}),h&&e(T,{label:"再输入一次",children:(C)=>e(v,{id:C,type:"password",required:!0,autoComplete:"new-password",value:g,onChange:(D)=>d(D.target.value)})}),e(k,{children:S})]})})}function we(t){let{Button:r,Dialog:A,Field:T,Form:I,FormError:k,Input:v,Select:F}=y(),h=K(),_=t.collection??t.template,[U,g]=a(_?.name??""),[d,N]=a(_?.description??""),[p,S]=a(()=>_?.fields.map((x)=>({...x}))??[{key:Ee(),label:"",type:"text"}]),[z,j]=a(!1),[C,D]=a(),H=new Set(t.collection?.fields.map((x)=>x.key));function M(x,R){S((L)=>L.map((q,E)=>E===x?{...q,...R}:q))}async function X(x){x.preventDefault(),j(!0),D(void 0);try{let R=await t.connection.request(t.collection?`${Q}/collections/${encodeURIComponent(t.collection.id)}`:`${Q}/collections`,{method:t.collection?"PATCH":"POST",headers:ce,body:JSON.stringify({name:U,description:d,fields:p})});t.onSaved(R)}catch(R){D(ne(R,"保存失败"))}finally{j(!1)}}return e(A,{open:t.open,onOpenChange:t.onOpenChange,title:t.collection?"编辑集合":"新建集合",size:"lg",footer:n(m,{children:[e("div",{className:"flex-1 max-sm:hidden"}),e(r,{onClick:()=>t.onOpenChange(!1),children:"取消"}),e(r,{type:"submit",form:h,variant:"primary",disabled:z,children:z?"正在保存…":t.collection?"保存":"创建"})]}),children:n(I,{id:h,onSubmit:X,children:[e(T,{label:"名称",children:(x)=>e(v,{id:x,required:!0,autoFocus:!_,value:U,onChange:(R)=>g(R.target.value),placeholder:"例如:合同、凭据、客户"})}),e(T,{label:"说明",hint:"告诉模型这个集合里放的是什么,可以不填。",children:(x)=>e(v,{id:x,value:d,onChange:(R)=>N(R.target.value)})}),e(T,{label:"字段",hint:"每个条目自带「标题」。机密字段加密保存,模型只知道是否已填写。",children:()=>n("div",{className:"flex flex-col gap-2",children:[p.map((x,R)=>n("div",{className:"flex items-center gap-2",children:[e(v,{required:!0,"aria-label":`字段 ${R+1} 名称`,value:x.label,onChange:(L)=>M(R,{label:L.target.value}),placeholder:"字段名称",className:"min-w-0 flex-1"}),e(F,{value:x.type,disabled:H.has(x.key),onValueChange:(L)=>{let q=Ce.find((E)=>E.value===L)?.value;if(q)M(R,{type:q})},groups:[{options:Ce}],className:"w-28 shrink-0"}),e(r,{type:"button",size:"icon-sm",variant:"danger-ghost","aria-label":`删除字段 ${x.label||R+1}`,onClick:()=>S((L)=>L.filter((q,E)=>E!==R)),children:e(de,{className:"size-3.5"})})]},x.key)),n(r,{type:"button",size:"sm",variant:"ghost",className:"self-start",onClick:()=>S((x)=>[...x,{key:Ee(),label:"",type:"text"}]),children:[e(me,{className:"size-3.5"}),"添加字段"]})]})}),e(k,{children:C})]})})}function Ie(t){let{Button:r,CopyButton:A,Dialog:T,Field:I,Form:k,FormError:v,Input:F,Switch:h,style:_}=y(),U=K(),g=t.item,[d,N]=a(g?.title??""),[p,S]=a(()=>Object.fromEntries(Object.entries(g?.data??{}).map(([u,O])=>[u,String(O)]))),[z,j]=a({}),[C,D]=a(),[H,M]=a(g?.agentUse??!1),[X,x]=a(g?.attachments??[]),[R,L]=a(!1),[q,E]=a();async function ae(){if(!g)return;if(!t.vault.unlocked)return t.onNeedUnlock();E(void 0);try{D(await t.connection.request(`${Q}/items/${encodeURIComponent(g.id)}/reveal`,{method:"POST"}))}catch(u){E(ne(u,"读取机密失败"))}}async function G(u){u.preventDefault(),L(!0),E(void 0);try{let O={};for(let P of t.collection.fields)if(P.type!=="secret")O[P.key]=p[P.key]??"";let J=Object.fromEntries(Object.entries(z).filter(([,P])=>P!==""||C)),w=await t.connection.request(g?`${Q}/items/${encodeURIComponent(g.id)}`:`${Q}/collections/${encodeURIComponent(t.collection.id)}/items`,{method:g?"PATCH":"POST",headers:ce,body:JSON.stringify({title:d,data:O,secrets:J,agentUse:H})});t.onSaved(w)}catch(O){E(ne(O,"保存失败"))}finally{L(!1)}}let Z=(g?.secretFields.length??0)>0,Y=t.collection.fields.some((u)=>u.type==="secret");return e(T,{open:t.open,onOpenChange:t.onOpenChange,title:g?"编辑条目":`新建${t.collection.name}`,size:"lg",footer:n(m,{children:[g&&t.onDelete&&n(r,{type:"button",variant:"danger-ghost",onClick:()=>t.onDelete?.(g),children:[e(de,{className:"size-4"}),"移到回收站"]}),Z&&!C&&n(r,{type:"button",variant:"ghost",onClick:ae,children:[e(Nn,{className:"size-4"}),"查看机密"]}),e("div",{className:"flex-1 max-sm:hidden"}),e(r,{onClick:()=>t.onOpenChange(!1),children:"取消"}),e(r,{type:"submit",form:U,variant:"primary",disabled:R,children:R?"正在保存…":g?"保存":"创建"})]}),children:n(k,{id:U,onSubmit:G,children:[e(I,{label:"标题",children:(u)=>e(F,{id:u,required:!0,autoFocus:!g,value:d,onChange:(O)=>N(O.target.value)})}),t.collection.fields.map((u)=>{if(u.type!=="secret")return e(I,{label:u.label,children:(w)=>e(F,{id:w,type:u.type==="number"?"number":u.type==="date"?"date":"text",step:u.type==="number"?"any":void 0,value:p[u.key]??"",onChange:(P)=>S((V)=>({...V,[u.key]:P.target.value}))})},u.key);let O=g?.secretFields.includes(u.key)??!1,J=z[u.key]??C?.[u.key]??"";return e(I,{label:u.label,hint:!t.vault.unlocked?"保险箱已锁定,解锁后才能填写。":O&&!C?"已填写。留空保持不变,输入新值则替换。":void 0,aside:C?.[u.key]?e(A,{text:C[u.key]??"",size:"icon-xs"}):void 0,children:(w)=>t.vault.unlocked?e(F,{id:w,type:C?"text":"password",autoComplete:"off",spellCheck:!1,className:"font-mono",value:J,placeholder:O&&!C?"••••••••":void 0,onChange:(P)=>j((V)=>({...V,[u.key]:P.target.value}))}):e(r,{type:"button",size:"sm",onClick:t.onNeedUnlock,className:"self-start",children:"解锁保险箱"})},u.key)}),g?e(Re,{itemID:g.id,attachments:X,vault:t.vault,connection:t.connection,onNeedUnlock:t.onNeedUnlock,onError:E,onChange:(u)=>{x(u),t.onAttachments({...g,attachments:u})}}):e("p",{className:"text-ui text-faint",children:"创建后可以添加附件(图片、PDF、文档等)。"}),(Y||X.length>0)&&n("div",{className:_("surface.subtle","flex items-start gap-3 rounded-lg px-3 py-2.5"),children:[e(Er,{className:"mt-0.5 size-4 shrink-0 text-dim"}),n("div",{className:"min-w-0 flex-1",children:[e("p",{className:"text-sm font-medium",children:"允许 agent 使用"}),e("p",{className:"mt-0.5 text-ui text-dim",children:Y?"模型可在命令里使用机密(看不到原文),并读取附件。":"模型可读取附件。"})]}),e(h,{checked:H,onCheckedChange:M,label:"允许 agent 使用",className:"mt-0.5"})]}),e(v,{children:q})]})})}var W="/api/plugins/records",He={text:ve,number:xe,date:he,secret:ye};function Et({connection:t}){let{Button:r,confirm:A,Input:T,PageLayout:I,style:k,cn:v,Tooltip:F}=y(),[h,_]=a(),[U,g]=a(),[d,N]=a(),[p,S]=a(),[z,j]=a(),[C,D]=a(!1),[H,M]=a([]),[X,x]=a(!1),[R,L]=a(""),[q,E]=a(),[ae,G]=a(!1),[Z,Y]=a(),[u,O]=a(),J=o(0),w=h?.collections.find((i)=>i.id===p)??h?.collections[0],P=w?.id,V=f(async()=>{try{_(await t.request(`${W}/state`)),E(void 0)}catch(i){E(i instanceof Error?i.message:"加载档案失败")}},[t]);s(()=>{V()},[V]),s(()=>{let i=!0;return g(void 0),N(void 0),t.request(`${W}/sync`).then((c)=>{if(i)g(c.configured)}).catch((c)=>{if(i)N(c instanceof Error?c.message:"加载 D1 同步状态失败")}),()=>{i=!1}},[t]),s(()=>{let i=++J.current;if(L(""),!P){M([]),x(!1);return}M([]),x(!0),t.request(`${W}/collections/${encodeURIComponent(P)}/items`).then((c)=>{if(i===J.current)M(c),x(!1)}).catch((c)=>{if(i===J.current)x(!1),E(c instanceof Error?c.message:"加载条目失败")})},[t,P]);function ue(i){_((c)=>c?{...c,vault:i}:c)}async function ze(){try{ue(await t.request(`${W}/vault/lock`,{method:"POST"}))}catch(i){E(i instanceof Error?i.message:"锁定失败")}}async function De(i){if(!await A({title:`删除集合「${i.name}」?`,description:`其中的 ${i.count} 个条目会一并删除,无法恢复。`,action:"删除",danger:!0}))return;try{await t.request(`${W}/collections/${encodeURIComponent(i.id)}`,{method:"DELETE"}),S(void 0),D(!1),await V()}catch(b){E(b instanceof Error?b.message:"删除失败")}}async function Oe(i){try{await t.request(`${W}/items/${encodeURIComponent(i.id)}`,{method:"DELETE"}),O(void 0),M((c)=>c.filter((b)=>b.id!==i.id)),await V()}catch(c){E(c instanceof Error?c.message:"删除失败")}}async function Ae(){try{j(await t.request(`${W}/trash`)),D(!0)}catch(i){E(i instanceof Error?i.message:"加载回收站失败")}}async function _e(i){try{let c=await t.request(`${W}/trash/${encodeURIComponent(i.id)}/restore`,{method:"POST"});if(j((b)=>b?.filter((oe)=>oe.id!==i.id)),c.collectionID===P)M((b)=>[c,...b]);await V()}catch(c){E(c instanceof Error?c.message:"恢复失败")}}async function $e(i){if(!await A({title:`彻底删除「${i.title}」?`,description:"彻底删除后无法恢复,机密也会一并清除。",action:"彻底删除",danger:!0}))return;try{await t.request(`${W}/trash/${encodeURIComponent(i.id)}`,{method:"DELETE"}),j((b)=>b?.filter((oe)=>oe.id!==i.id)),await V()}catch(b){E(b instanceof Error?b.message:"删除失败")}}let B=h?.vault,fe=R.trim().toLowerCase(),pe=fe?H.filter((i)=>[i.title,...Object.values(i.data)].some((c)=>String(c).toLowerCase().includes(fe))):H,ie=w?.fields.filter((i)=>i.type!=="secret")??[],ge=w?.fields.filter((i)=>i.type==="secret")??[];return n(I,{title:"档案",description:"按集合保存的精确事实,机密加密存放。",actions:n(m,{children:[B&&n(r,{"aria-label":!B.initialized?"设置主密码":B.unlocked?"已解锁,点击锁定":"已锁定,点击解锁",onClick:()=>B.unlocked?ze():G(!0),children:[B.unlocked?e(mr,{className:"size-4 text-success"}):e(jt,{className:"size-4"}),e("span",{className:"max-sm:hidden",children:!B.initialized?"设置主密码":B.unlocked?"已解锁":"已锁定"})]}),w&&!z&&n(r,{variant:"primary",className:v(!C&&"max-sm:hidden"),onClick:()=>O(null),children:[e(me,{className:"size-4"}),"新建条目"]})]}),children:[U===!1&&n("div",{role:"status",className:"mb-4 flex items-start gap-2 rounded-lg border border-warning/20 bg-warning/10 px-3 py-3 text-sm",children:[e(yn,{className:"mt-0.5 size-4 shrink-0 text-warning"}),n("div",{className:"min-w-0",children:[e("p",{className:"font-medium",children:"尚未配置 D1 云端同步"}),e("p",{className:"mt-1 text-dim",children:"档案目前仅保存在本机。请前往设置中的 Cloudflare 配置 D1 同步,避免本机数据丢失后无法恢复。"})]})]}),d&&e("div",{role:"alert",className:"mb-4 rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:d}),q&&e("div",{className:"mb-4 rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:q}),!h?!q&&e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载档案…"}):h.collections.length===0||!w?n("div",{className:k("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(Rr,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-md font-medium",children:"还没有档案"}),e("p",{className:"mt-1 text-sm text-dim",children:"比如「记下这份合同的金额和到期日」。"})]}),n(r,{size:"sm",onClick:()=>Y({}),className:"mt-1",children:[e(me,{className:"size-3.5"}),"新建集合"]})]}):n("div",{className:"grid animate-fade gap-4 sm:grid-cols-[10rem_minmax(0,1fr)] sm:gap-6",children:[n("nav",{"aria-label":"集合",className:v("flex flex-col gap-1","max-sm:gap-0 max-sm:divide-y max-sm:divide-line max-sm:overflow-hidden max-sm:rounded-2xl max-sm:border max-sm:border-line max-sm:bg-panel",C?"max-sm:hidden":"max-sm:animate-fade"),children:[h.collections.map((i)=>{let c=!z&&i.id===P;return n("button",{type:"button","aria-current":c?"page":void 0,onClick:()=>{j(void 0),S(i.id),D(!0)},className:v("flex items-center gap-2 rounded-lg px-2.5 py-1.5 text-left text-sm transition-colors","max-sm:rounded-none max-sm:px-4 max-sm:py-3 max-sm:text-ink max-sm:active:bg-raised/60",c?"sm:bg-raised sm:font-medium sm:text-ink":"sm:text-dim sm:hover:bg-raised/60 sm:hover:text-ink"),children:[n("span",{className:"min-w-0 flex-1",children:[e("span",{className:"block truncate max-sm:font-medium",children:i.name}),e("span",{className:"mt-0.5 block truncate text-ui text-faint sm:hidden",children:i.fields.map((b)=>b.label).join("、")})]}),e("span",{className:"text-ui text-faint tabular-nums",children:i.count}),e(Fe,{className:"size-4 text-faint sm:hidden"})]},i.id)}),(h.trash>0||z)&&n("button",{type:"button","aria-current":z?"page":void 0,onClick:Ae,className:v("flex items-center gap-2 rounded-lg px-2.5 py-1.5 text-left text-sm transition-colors sm:order-last sm:mt-3","max-sm:rounded-none max-sm:px-4 max-sm:py-3 max-sm:text-dim max-sm:active:bg-raised/60",z?"sm:bg-raised sm:font-medium sm:text-ink":"sm:text-faint sm:hover:bg-raised/60 sm:hover:text-ink"),children:[e(de,{className:"size-3.5"}),e("span",{className:"min-w-0 flex-1",children:"回收站"}),e("span",{className:"text-ui text-faint tabular-nums",children:h.trash}),e(Fe,{className:"size-4 text-faint sm:hidden"})]}),n("button",{type:"button",onClick:()=>Y({}),className:"flex items-center gap-2 rounded-lg px-2.5 py-1.5 text-sm text-faint transition-colors hover:bg-raised/60 hover:text-ink max-sm:rounded-none max-sm:px-4 max-sm:py-3",children:[e(me,{className:"size-3.5"}),"新建集合"]})]}),z?n("section",{className:v("flex min-w-0 flex-col gap-3",C?"max-sm:animate-fade":"max-sm:hidden"),children:[n("div",{className:"flex items-start gap-2",children:[e(r,{size:"icon",variant:"ghost","aria-label":"返回全部集合",className:"-ml-2 size-10 rounded-full sm:hidden",onClick:()=>D(!1),children:e(bn,{className:"size-5"})}),n("div",{className:"min-w-0 flex-1 max-sm:self-center",children:[e("h2",{className:"text-md font-medium",children:"回收站"}),n("p",{className:"mt-0.5 text-ui text-dim",children:["删除的条目在这里保留 ",Ne," 天,之后自动彻底删除。"]})]})]}),z.length===0?e("div",{className:k("surface.emptyDashed","py-10"),children:e("p",{className:"text-sm text-dim",children:"回收站是空的。"})}):e("ul",{className:k("surface.card","divide-y divide-line p-0"),children:z.map((i)=>n("li",{className:"flex items-center gap-2 px-3 py-2.5 max-sm:px-4 max-sm:py-3",children:[n("div",{className:"min-w-0 flex-1",children:[e("p",{className:"truncate text-sm font-medium",children:i.title}),n("p",{className:"mt-0.5 truncate text-ui text-faint",children:[h.collections.find((c)=>c.id===i.collectionID)?.name,i.trashed&&` · 删除于 ${new Date(i.trashed).toLocaleDateString()}`]})]}),n(r,{size:"sm",variant:"ghost",onClick:()=>_e(i),children:[e(Ir,{className:"size-3.5"}),"恢复"]}),e(F,{label:"彻底删除",children:e(r,{size:"icon-sm",variant:"danger-ghost","aria-label":`彻底删除 ${i.title}`,onClick:()=>$e(i),children:e(de,{className:"size-3.5"})})})]},i.id))})]}):n("section",{className:v("flex min-w-0 flex-col gap-3",C?"max-sm:animate-fade":"max-sm:hidden"),children:[n("div",{className:"flex items-start gap-2",children:[e(r,{size:"icon",variant:"ghost","aria-label":"返回全部集合",className:"-ml-2 size-10 rounded-full sm:hidden",onClick:()=>D(!1),children:e(bn,{className:"size-5"})}),n("div",{className:"min-w-0 flex-1 max-sm:self-center",children:[e("h2",{className:"truncate text-md font-medium",children:w.name}),w.description&&e("p",{className:"mt-0.5 text-ui text-dim",children:w.description}),e("div",{className:"mt-2 flex flex-wrap gap-1 max-sm:hidden",children:w.fields.map((i)=>{let c=He[i.type];return n("span",{className:k("control.badge","gap-1"),children:[e(c,{className:"size-3 text-faint"}),i.label]},i.key)})})]}),e(F,{label:"编辑字段",children:e(r,{size:"icon-sm",variant:"ghost","aria-label":"编辑字段",onClick:()=>Y({collection:w}),children:e(Dr,{className:"size-4"})})}),e(F,{label:"删除集合",children:e(r,{size:"icon-sm",variant:"danger-ghost","aria-label":"删除集合",onClick:()=>De(w),children:e(de,{className:"size-4"})})})]}),H.length>5&&n("div",{className:"relative",children:[e(Te,{className:"pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-faint"}),e(T,{value:R,onChange:(i)=>L(i.target.value),placeholder:"筛选标题或字段","aria-label":"筛选条目",className:"pl-8"})]}),X?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载条目…"}):H.length===0?n("div",{className:k("surface.emptyDashed","py-10"),children:[e("p",{className:"text-sm text-dim",children:"这个集合还没有条目。"}),n(r,{size:"sm",onClick:()=>O(null),children:[e(me,{className:"size-3.5"}),"新建条目"]})]}):pe.length===0?n("p",{className:"py-6 text-center text-sm text-faint",children:["没有符合「",R.trim(),"」的条目。"]}):e("ul",{className:"space-y-2.5",children:pe.map((i)=>e("li",{children:n("button",{type:"button",onClick:()=>O(i),className:k("surface.card","block w-full cursor-pointer px-4 py-3.5 text-left transition-colors hover:border-line-strong hover:bg-raised/40 active:bg-raised/60"),children:[n("div",{className:v("flex flex-wrap items-center justify-between gap-2",ie.length>0&&"mb-2.5 border-b border-line pb-2.5"),children:[n("div",{className:"flex min-w-0 items-center gap-2 text-sm font-medium text-ink",children:[e("span",{className:"break-words",children:i.title}),e(Ye,{item:i})]}),ge.length>0&&e(Ke,{fields:ge,item:i})]}),ie.length>0&&e("dl",{className:"flex flex-col gap-1.5",children:ie.map((c)=>n("div",{className:"grid grid-cols-[6.5rem_minmax(0,1fr)] items-baseline gap-x-3 text-sm sm:grid-cols-[7.5rem_minmax(0,1fr)]",children:[e("dt",{className:"truncate text-ui text-faint",children:c.label}),e("dd",{className:"min-w-0 break-words [overflow-wrap:anywhere] text-dim",children:e(We,{field:c,item:i})})]},c.key))})]})},i.id))})]})]}),B&&e(Se,{open:ae,onOpenChange:G,vault:B,connection:t,onUnlocked:(i)=>{ue(i),G(!1)}},B.initialized?"unlock":"setup"),Z&&e(we,{open:!0,onOpenChange:(i)=>!i&&Y(void 0),collection:Z.collection,template:Z.template,connection:t,onSaved:async(i)=>{Y(void 0),S(i.id),await V()}}),w&&B&&u!==void 0&&e(Ie,{open:!0,onOpenChange:(i)=>!i&&O(void 0),collection:w,item:u??void 0,vault:B,connection:t,onNeedUnlock:()=>G(!0),onDelete:Oe,onAttachments:(i)=>M((c)=>c.map((b)=>b.id===i.id?i:b)),onSaved:async(i)=>{O(void 0),M((c)=>c.some((b)=>b.id===i.id)?c.map((b)=>b.id===i.id?i:b):[i,...c]),await V()}},`${u?.id??"new"}:${B.unlocked}`)]})}function We(t){let r=t.item.data[t.field.key];if(r===void 0)return e("span",{className:"text-faint",children:"—"});return e(m,{children:typeof r==="number"?r.toLocaleString():r})}function Ye(t){if(t.item.attachments.length===0)return null;return n("span",{title:`${t.item.attachments.length} 个附件`,className:"inline-flex shrink-0 items-center gap-0.5 text-ui font-normal text-faint",children:[e(Mn,{className:"size-3"}),t.item.attachments.length]})}function Ke(t){let r=t.fields.filter((A)=>t.item.secretFields.includes(A.key));if(r.length===0)return e("span",{className:"text-faint",children:"—"});return n("span",{className:"inline-flex items-center gap-1.5 text-ui text-dim",children:[e(jt,{className:"size-3 text-faint"}),r.map((A)=>A.label).join("、"),t.item.agentUse&&n("span",{title:"允许 agent 使用",className:"inline-flex items-center gap-0.5 text-accent",children:[e(Er,{className:"size-3"}),"agent"]})]})}export{Et as RecordsPage};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fs}from"./chunk-bt8ww8df.js";export{Fs as createTreeViewServices};
|
|
Binary file
|