@bkm016/basalt 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chunk-0b2brwjc.js +3 -0
- package/chunk-13pbt8mn.js +2 -0
- package/chunk-14085qqt.js +8 -0
- package/chunk-2dph65ye.js +3 -0
- package/chunk-2v8anxgd.js +9 -0
- package/chunk-37f4ks5f.js +3 -0
- package/chunk-3q1hxwxb.js +5 -0
- package/chunk-3qs33s9g.js +2 -0
- package/chunk-53m94h0b.js +7 -0
- package/chunk-5jy2cnyr.js +18 -0
- package/chunk-5wfyn3k0.js +3 -0
- package/chunk-69v706tc.js +5 -0
- package/chunk-79h4rzza.js +2 -0
- package/chunk-7xfde6se.js +3 -0
- package/chunk-8bf4g2d7.js +3 -0
- package/chunk-adq8c7vt.js +25 -0
- package/chunk-ahpg469e.js +3 -0
- package/chunk-ary9gky8.js +7 -0
- package/chunk-becsymjn.js +2 -0
- package/chunk-beqps81c.js +4 -0
- package/chunk-bnvynyww.js +3 -0
- package/chunk-c785tr0e.js +4078 -0
- package/chunk-cc19pbgm.js +12 -0
- package/chunk-d6g5m56z.js +2 -0
- package/chunk-e2m8ap8f.js +3 -0
- package/chunk-etkktxdc.js +2 -0
- package/chunk-etxsj2ey.js +10 -0
- package/chunk-f2ajxymw.js +2 -0
- package/chunk-f2bcfa6z.js +7 -0
- package/chunk-f47qdrkp.js +2 -0
- package/chunk-f5yg6yd0.js +3 -0
- package/chunk-fj56fznw.js +3 -0
- package/chunk-fjk9ztjc.js +11 -0
- package/chunk-g99n5ywc.js +3 -0
- package/chunk-grwavjp7.js +2 -0
- package/chunk-gsek3gpd.js +3 -0
- package/chunk-gv9hbv9j.js +2 -0
- package/chunk-h045t6f1.js +2 -0
- package/chunk-h4g1tzk6.js +11 -0
- package/chunk-had2k7b9.js +20 -0
- package/chunk-hbm45044.js +25 -0
- package/chunk-hd2hars5.js +3 -0
- package/chunk-hfh230tm.js +2 -0
- package/chunk-hkx7d1j9.js +7 -0
- package/chunk-jbk2tmza.js +5 -0
- package/chunk-jv9sy0np.js +2 -0
- package/chunk-kdc8tq70.js +2 -0
- package/chunk-keq5kv9b.js +3 -0
- package/chunk-m1nevdw6.js +3 -0
- package/chunk-m6yrpt1f.js +5 -0
- package/chunk-mrchbvsy.js +4 -0
- package/chunk-n9x6akk3.js +2 -0
- package/chunk-ne94brn4.js +3 -0
- package/chunk-nv1jg79d.js +2 -0
- package/chunk-pvdt969t.js +59 -0
- package/chunk-q22dnah8.js +3 -0
- package/chunk-q2zayphb.js +10 -0
- package/chunk-q4h6djtp.js +2 -0
- package/chunk-qa8mne61.js +2 -0
- package/chunk-r9z9m75h.js +16 -0
- package/chunk-rmyzxqkd.js +467 -0
- package/chunk-rq647zmf.js +2 -0
- package/chunk-sj4jvm9p.js +2 -0
- package/chunk-sq0ra5m8.js +4 -0
- package/chunk-sxg03n4v.js +2 -0
- package/chunk-t0m1wjrn.js +3 -0
- package/chunk-t3mq64c8.js +3 -0
- package/chunk-td52edcm.js +31 -0
- package/chunk-tdnwaaw4.js +12 -0
- package/chunk-teky87xx.js +3 -0
- package/chunk-v1avwm7q.js +3 -0
- package/chunk-wcmk8ee3.js +3 -0
- package/chunk-wf9r0frb.js +3 -0
- package/chunk-wx697mre.js +2 -0
- package/chunk-wzz64ygm.js +2 -0
- package/chunk-xb9mwt5a.js +2 -0
- package/chunk-xbkbaa84.js +2 -0
- package/chunk-xjy31n64.js +3 -0
- package/chunk-xzn34n38.js +389 -0
- package/chunk-yprp5s5v.js +3 -0
- package/chunk-yyhdabhq.js +15 -0
- package/chunk-z2jp61ze.js +39 -0
- package/chunk-zt5szcek.js +3 -0
- package/chunk-zxb6cg3m.js +2 -0
- package/compiled.js +11 -11
- package/package.json +1 -1
- package/ui-test-worker.js +40 -40
- package/web/chunk-0ays2hhj.js +41 -0
- package/web/chunk-0ays2hhj.js.br +0 -0
- package/web/chunk-0ays2hhj.js.gz +0 -0
- package/web/chunk-0na4c1bp.js +139 -0
- package/web/chunk-0na4c1bp.js.br +0 -0
- package/web/chunk-0na4c1bp.js.gz +0 -0
- package/web/chunk-0y0p0ct0.js +1 -0
- package/web/chunk-0y0p0ct0.js.br +0 -0
- package/web/chunk-0y0p0ct0.js.gz +0 -0
- package/web/chunk-191v8amv.js +1 -0
- package/web/chunk-191v8amv.js.br +0 -0
- package/web/chunk-191v8amv.js.gz +0 -0
- package/web/chunk-1c6rhsft.js +200 -0
- package/web/chunk-1c6rhsft.js.br +0 -0
- package/web/chunk-1c6rhsft.js.gz +0 -0
- package/web/chunk-1mwkrh5f.js +370 -0
- package/web/chunk-1mwkrh5f.js.br +0 -0
- package/web/chunk-1mwkrh5f.js.gz +0 -0
- package/web/chunk-1q4r17he.js +2 -0
- package/web/chunk-1q4r17he.js.br +0 -0
- package/web/chunk-1q4r17he.js.gz +0 -0
- package/web/chunk-1sm3c8an.js +8 -0
- package/web/chunk-1sm3c8an.js.br +0 -0
- package/web/chunk-1sm3c8an.js.gz +0 -0
- package/web/chunk-1vmjpvy5.js +1 -0
- package/web/chunk-1vmjpvy5.js.br +0 -0
- package/web/chunk-1vmjpvy5.js.gz +0 -0
- package/web/chunk-1x4z5w5e.js +1 -0
- package/web/chunk-1x4z5w5e.js.br +2 -0
- package/web/chunk-1x4z5w5e.js.gz +0 -0
- package/web/chunk-22ncha3b.js +142 -0
- package/web/chunk-22ncha3b.js.br +0 -0
- package/web/chunk-22ncha3b.js.gz +0 -0
- package/web/chunk-239rqgmj.js +24 -0
- package/web/chunk-239rqgmj.js.br +0 -0
- package/web/chunk-239rqgmj.js.gz +0 -0
- package/web/chunk-2c6zessc.js +2 -0
- package/web/chunk-2c6zessc.js.br +0 -0
- package/web/chunk-2c6zessc.js.gz +0 -0
- package/web/chunk-2m7b1wmp.js +1 -0
- package/web/chunk-2m7b1wmp.js.br +0 -0
- package/web/chunk-2m7b1wmp.js.gz +0 -0
- package/web/chunk-2qncw4c0.js +2 -0
- package/web/chunk-2qncw4c0.js.br +0 -0
- package/web/chunk-2qncw4c0.js.gz +0 -0
- package/web/chunk-2r497559.js +2 -0
- package/web/chunk-2r497559.js.br +0 -0
- package/web/chunk-2r497559.js.gz +0 -0
- package/web/chunk-2t43cra8.js +1 -0
- package/web/chunk-2t43cra8.js.br +0 -0
- package/web/chunk-2t43cra8.js.gz +0 -0
- package/web/chunk-2v379e1v.js +1 -0
- package/web/chunk-2v379e1v.js.br +2 -0
- package/web/chunk-2v379e1v.js.gz +0 -0
- package/web/chunk-2ywd0vz2.js +1 -0
- package/web/chunk-2ywd0vz2.js.br +0 -0
- package/web/chunk-2ywd0vz2.js.gz +0 -0
- package/web/chunk-3626tdgf.js +1 -0
- package/web/chunk-3626tdgf.js.br +0 -0
- package/web/chunk-3626tdgf.js.gz +0 -0
- package/web/chunk-3fq54zbf.js +2 -0
- package/web/chunk-3fq54zbf.js.br +0 -0
- package/web/chunk-3fq54zbf.js.gz +0 -0
- package/web/chunk-3jptvn0z.js +1 -0
- package/web/chunk-3jptvn0z.js.br +0 -0
- package/web/chunk-3jptvn0z.js.gz +0 -0
- package/web/chunk-3k31m9yk.js +7 -0
- package/web/chunk-3k31m9yk.js.br +0 -0
- package/web/chunk-3k31m9yk.js.gz +0 -0
- package/web/chunk-3wrebqcz.js +1 -0
- package/web/chunk-3wrebqcz.js.br +0 -0
- package/web/chunk-3wrebqcz.js.gz +0 -0
- package/web/chunk-42z866aa.js +1 -0
- package/web/chunk-42z866aa.js.br +0 -0
- package/web/chunk-42z866aa.js.gz +0 -0
- package/web/chunk-46r5s1ag.js +1 -0
- package/web/chunk-46r5s1ag.js.br +2 -0
- package/web/chunk-46r5s1ag.js.gz +0 -0
- package/web/chunk-4h8kxmac.js +1 -0
- package/web/chunk-4h8kxmac.js.br +2 -0
- package/web/chunk-4h8kxmac.js.gz +0 -0
- package/web/chunk-4hmp8qcv.js +1 -0
- package/web/chunk-4hmp8qcv.js.br +0 -0
- package/web/chunk-4hmp8qcv.js.gz +0 -0
- package/web/chunk-4ryyn6k5.js +1 -0
- package/web/chunk-4ryyn6k5.js.br +0 -0
- package/web/chunk-4ryyn6k5.js.gz +0 -0
- package/web/chunk-4zp7b44y.js +78 -0
- package/web/chunk-4zp7b44y.js.br +0 -0
- package/web/chunk-4zp7b44y.js.gz +0 -0
- package/web/chunk-52n1enqe.js +1 -0
- package/web/chunk-52n1enqe.js.br +0 -0
- package/web/chunk-52n1enqe.js.gz +0 -0
- package/web/chunk-5m5jve5q.js +2 -0
- package/web/chunk-5m5jve5q.js.br +0 -0
- package/web/chunk-5m5jve5q.js.gz +0 -0
- package/web/chunk-62ssrwet.js +1 -0
- package/web/chunk-62ssrwet.js.br +0 -0
- package/web/chunk-62ssrwet.js.gz +0 -0
- package/web/chunk-6e14fdx8.js +1 -0
- package/web/chunk-6e14fdx8.js.br +0 -0
- package/web/chunk-6e14fdx8.js.gz +0 -0
- package/web/chunk-6kckk3j9.js +1 -0
- package/web/chunk-6kckk3j9.js.br +2 -0
- package/web/chunk-6kckk3j9.js.gz +0 -0
- package/web/chunk-6vdh5wx5.js +1 -0
- package/web/chunk-6vdh5wx5.js.br +0 -0
- package/web/chunk-6vdh5wx5.js.gz +0 -0
- package/web/chunk-6wyrfrh1.js +1 -0
- package/web/chunk-6wyrfrh1.js.br +0 -0
- package/web/chunk-6wyrfrh1.js.gz +0 -0
- package/web/chunk-77pcpdb5.js +303 -0
- package/web/chunk-77pcpdb5.js.br +0 -0
- package/web/chunk-77pcpdb5.js.gz +0 -0
- package/web/chunk-7dq3x88k.js +120 -0
- package/web/chunk-7dq3x88k.js.br +0 -0
- package/web/chunk-7dq3x88k.js.gz +0 -0
- package/web/chunk-7ebwmmjn.js +34 -0
- package/web/chunk-7ebwmmjn.js.br +0 -0
- package/web/chunk-7ebwmmjn.js.gz +0 -0
- package/web/chunk-7jra5kj0.js +1 -0
- package/web/chunk-7jra5kj0.js.br +0 -0
- package/web/chunk-7jra5kj0.js.gz +0 -0
- package/web/chunk-8dgtprxa.js +2 -0
- package/web/chunk-8dgtprxa.js.br +0 -0
- package/web/chunk-8dgtprxa.js.gz +0 -0
- package/web/chunk-8mrw5mgn.js +1 -0
- package/web/chunk-8mrw5mgn.js.br +0 -0
- package/web/chunk-8mrw5mgn.js.gz +0 -0
- package/web/chunk-8n1cyb8k.js +99 -0
- package/web/chunk-8n1cyb8k.js.br +0 -0
- package/web/chunk-8n1cyb8k.js.gz +0 -0
- package/web/chunk-8ssjqdky.js +1 -0
- package/web/chunk-8ssjqdky.js.br +2 -0
- package/web/chunk-8ssjqdky.js.gz +0 -0
- package/web/chunk-90k6xrsa.js +2 -0
- package/web/chunk-90k6xrsa.js.br +0 -0
- package/web/chunk-90k6xrsa.js.gz +0 -0
- package/web/chunk-926v5sg8.js +24 -0
- package/web/chunk-926v5sg8.js.br +0 -0
- package/web/chunk-926v5sg8.js.gz +0 -0
- package/web/chunk-9kvr6dkh.js +106 -0
- package/web/chunk-9kvr6dkh.js.br +0 -0
- package/web/chunk-9kvr6dkh.js.gz +0 -0
- package/web/chunk-9s6zj1sh.js +217 -0
- package/web/chunk-9s6zj1sh.js.br +0 -0
- package/web/chunk-9s6zj1sh.js.gz +0 -0
- package/web/chunk-acpyx69f.js +1 -0
- package/web/chunk-acpyx69f.js.br +0 -0
- package/web/chunk-acpyx69f.js.gz +0 -0
- package/web/chunk-amch1hp8.js +1 -0
- package/web/chunk-amch1hp8.js.br +0 -0
- package/web/chunk-amch1hp8.js.gz +0 -0
- package/web/chunk-azjpkz26.js +38 -0
- package/web/chunk-azjpkz26.js.br +0 -0
- package/web/chunk-azjpkz26.js.gz +0 -0
- package/web/chunk-b2zmxzm0.js +2 -0
- package/web/chunk-b2zmxzm0.js.br +0 -0
- package/web/chunk-b2zmxzm0.js.gz +0 -0
- package/web/chunk-bgn0bkad.js +98 -0
- package/web/chunk-bgn0bkad.js.br +0 -0
- package/web/chunk-bgn0bkad.js.gz +0 -0
- package/web/chunk-bka3pbzn.js +4 -0
- package/web/chunk-bka3pbzn.js.br +0 -0
- package/web/chunk-bka3pbzn.js.gz +0 -0
- package/web/chunk-ck23t8as.js +2 -0
- package/web/chunk-ck23t8as.js.br +0 -0
- package/web/chunk-ck23t8as.js.gz +0 -0
- package/web/chunk-cp5ec63g.js +30 -0
- package/web/chunk-cp5ec63g.js.br +0 -0
- package/web/chunk-cp5ec63g.js.gz +0 -0
- package/web/chunk-cw21gjwg.js +39 -0
- package/web/chunk-cw21gjwg.js.br +0 -0
- package/web/chunk-cw21gjwg.js.gz +0 -0
- package/web/chunk-cxcpk0qt.js +2 -0
- package/web/chunk-cxcpk0qt.js.br +0 -0
- package/web/chunk-cxcpk0qt.js.gz +0 -0
- package/web/chunk-d3s30py8.js +1 -0
- package/web/chunk-d3s30py8.js.br +0 -0
- package/web/chunk-d3s30py8.js.gz +0 -0
- package/web/chunk-dj4jc1ec.js +1 -0
- package/web/chunk-dj4jc1ec.js.br +0 -0
- package/web/chunk-dj4jc1ec.js.gz +0 -0
- package/web/chunk-ef2xw0kb.js +1 -0
- package/web/chunk-ef2xw0kb.js.br +0 -0
- package/web/chunk-ef2xw0kb.js.gz +0 -0
- package/web/chunk-fek0yrg5.js +2 -0
- package/web/chunk-fek0yrg5.js.br +0 -0
- package/web/chunk-fek0yrg5.js.gz +0 -0
- package/web/chunk-fgm2r34b.js +36 -0
- package/web/chunk-fgm2r34b.js.br +0 -0
- package/web/chunk-fgm2r34b.js.gz +0 -0
- package/web/chunk-fpqs301q.js +2 -0
- package/web/chunk-fpqs301q.js.br +0 -0
- package/web/chunk-fpqs301q.js.gz +0 -0
- package/web/chunk-fv6se8xf.js +1 -0
- package/web/chunk-fv6se8xf.js.br +2 -0
- package/web/chunk-fv6se8xf.js.gz +0 -0
- package/web/chunk-g0nagyx2.js +1 -0
- package/web/chunk-g0nagyx2.js.br +0 -0
- package/web/chunk-g0nagyx2.js.gz +0 -0
- package/web/chunk-g5fp9ep9.js +1 -0
- package/web/chunk-g5fp9ep9.js.br +0 -0
- package/web/chunk-g5fp9ep9.js.gz +0 -0
- package/web/chunk-gh1fmd3j.js +3 -0
- package/web/chunk-gh1fmd3j.js.br +0 -0
- package/web/chunk-gh1fmd3j.js.gz +0 -0
- package/web/chunk-gq5825re.js +70 -0
- package/web/chunk-gq5825re.js.br +0 -0
- package/web/chunk-gq5825re.js.gz +0 -0
- package/web/chunk-gy57dyny.js +1 -0
- package/web/chunk-gy57dyny.js.br +0 -0
- package/web/chunk-gy57dyny.js.gz +0 -0
- package/web/chunk-j7p6xhe2.js +1 -0
- package/web/chunk-j7p6xhe2.js.br +0 -0
- package/web/chunk-j7p6xhe2.js.gz +0 -0
- package/web/chunk-jb8xfsc6.js +2 -0
- package/web/chunk-jb8xfsc6.js.br +0 -0
- package/web/chunk-jb8xfsc6.js.gz +0 -0
- package/web/chunk-jqyxnnn0.js +1 -0
- package/web/chunk-jqyxnnn0.js.br +0 -0
- package/web/chunk-jqyxnnn0.js.gz +0 -0
- package/web/chunk-jtwct1bx.js +1133 -0
- package/web/chunk-jtwct1bx.js.br +0 -0
- package/web/chunk-jtwct1bx.js.gz +0 -0
- package/web/chunk-k22kq2t7.js +12 -0
- package/web/chunk-k22kq2t7.js.br +0 -0
- package/web/chunk-k22kq2t7.js.gz +0 -0
- package/web/chunk-k2ry7k7s.js +1 -0
- package/web/chunk-k2ry7k7s.js.br +0 -0
- package/web/chunk-k2ry7k7s.js.gz +0 -0
- package/web/chunk-kdbrrecz.js +332 -0
- package/web/chunk-kdbrrecz.js.br +0 -0
- package/web/chunk-kdbrrecz.js.gz +0 -0
- package/web/chunk-kes2tf1q.js +2 -0
- package/web/chunk-kes2tf1q.js.br +3 -0
- package/web/chunk-kes2tf1q.js.gz +0 -0
- package/web/chunk-ksrzt6c5.js +1 -0
- package/web/chunk-ksrzt6c5.js.br +0 -0
- package/web/chunk-ksrzt6c5.js.gz +0 -0
- package/web/chunk-m2ethr1n.js +84 -0
- package/web/chunk-m2ethr1n.js.br +0 -0
- package/web/chunk-m2ethr1n.js.gz +0 -0
- package/web/chunk-m7tcm69z.js +292 -0
- package/web/chunk-m7tcm69z.js.br +0 -0
- package/web/chunk-m7tcm69z.js.gz +0 -0
- package/web/chunk-m8bz4e6n.js +2 -0
- package/web/chunk-m8bz4e6n.js.br +0 -0
- package/web/chunk-m8bz4e6n.js.gz +0 -0
- package/web/chunk-mva687p4.js +1 -0
- package/web/chunk-mva687p4.js.br +0 -0
- package/web/chunk-mva687p4.js.gz +0 -0
- package/web/chunk-n8fe9j5b.js +214 -0
- package/web/chunk-n8fe9j5b.js.br +0 -0
- package/web/chunk-n8fe9j5b.js.gz +0 -0
- package/web/chunk-nckx4yfd.js +62 -0
- package/web/chunk-nckx4yfd.js.br +0 -0
- package/web/chunk-nckx4yfd.js.gz +0 -0
- package/web/chunk-ncynjha5.js +2 -0
- package/web/chunk-ncynjha5.js.br +0 -0
- package/web/chunk-ncynjha5.js.gz +0 -0
- package/web/chunk-nq7dp0wj.js +291 -0
- package/web/chunk-nq7dp0wj.js.br +0 -0
- package/web/chunk-nq7dp0wj.js.gz +0 -0
- package/web/chunk-pagep4k3.js +1 -0
- package/web/chunk-pagep4k3.js.br +0 -0
- package/web/chunk-pagep4k3.js.gz +0 -0
- package/web/chunk-pbrk7zdw.js +1 -0
- package/web/chunk-pbrk7zdw.js.br +0 -0
- package/web/chunk-pbrk7zdw.js.gz +0 -0
- package/web/chunk-q0cs1bhg.js +2 -0
- package/web/chunk-q0cs1bhg.js.br +0 -0
- package/web/chunk-q0cs1bhg.js.gz +0 -0
- package/web/chunk-q749pgke.js +1 -0
- package/web/chunk-q749pgke.js.br +0 -0
- package/web/chunk-q749pgke.js.gz +0 -0
- package/web/chunk-q7yry602.js +1 -0
- package/web/chunk-q7yry602.js.br +0 -0
- package/web/chunk-q7yry602.js.gz +0 -0
- package/web/chunk-qkeaa97s.js +1 -0
- package/web/chunk-qkeaa97s.js.br +0 -0
- package/web/chunk-qkeaa97s.js.gz +0 -0
- package/web/chunk-qx7afyba.js +1 -0
- package/web/chunk-qx7afyba.js.br +0 -0
- package/web/chunk-qx7afyba.js.gz +0 -0
- package/web/chunk-rcaqmcm4.js +40 -0
- package/web/chunk-rcaqmcm4.js.br +0 -0
- package/web/chunk-rcaqmcm4.js.gz +0 -0
- package/web/chunk-s5kbbker.js +89 -0
- package/web/chunk-s5kbbker.js.br +0 -0
- package/web/chunk-s5kbbker.js.gz +0 -0
- package/web/chunk-sdq69ysp.js +2 -0
- package/web/chunk-sdq69ysp.js.br +0 -0
- package/web/chunk-sdq69ysp.js.gz +0 -0
- package/web/chunk-sk0cmsbx.js +7 -0
- package/web/chunk-sk0cmsbx.js.br +0 -0
- package/web/chunk-sk0cmsbx.js.gz +0 -0
- package/web/chunk-smmcx1z4.js +324 -0
- package/web/chunk-smmcx1z4.js.br +0 -0
- package/web/chunk-smmcx1z4.js.gz +0 -0
- package/web/chunk-sq7ntjp0.js +16 -0
- package/web/chunk-sq7ntjp0.js.br +0 -0
- package/web/chunk-sq7ntjp0.js.gz +0 -0
- package/web/chunk-st27df9w.js +2 -0
- package/web/chunk-st27df9w.js.br +0 -0
- package/web/chunk-st27df9w.js.gz +0 -0
- package/web/chunk-svxkg8n3.js +2 -0
- package/web/chunk-svxkg8n3.js.br +0 -0
- package/web/chunk-svxkg8n3.js.gz +0 -0
- package/web/chunk-t9nzrp2p.js +1 -0
- package/web/chunk-t9nzrp2p.js.br +0 -0
- package/web/chunk-t9nzrp2p.js.gz +0 -0
- package/web/chunk-t9t9v1r8.js +55 -0
- package/web/chunk-t9t9v1r8.js.br +0 -0
- package/web/chunk-t9t9v1r8.js.gz +0 -0
- package/web/chunk-tzpv48j3.js +2 -0
- package/web/chunk-tzpv48j3.js.br +0 -0
- package/web/chunk-tzpv48j3.js.gz +0 -0
- package/web/chunk-vgsk4ppw.js +7 -0
- package/web/chunk-vgsk4ppw.js.br +0 -0
- package/web/chunk-vgsk4ppw.js.gz +0 -0
- package/web/chunk-vq41ta7n.js +4 -0
- package/web/chunk-vq41ta7n.js.br +0 -0
- package/web/chunk-vq41ta7n.js.gz +0 -0
- package/web/chunk-w08egbqf.js +1 -0
- package/web/chunk-w08egbqf.js.br +0 -0
- package/web/chunk-w08egbqf.js.gz +0 -0
- package/web/chunk-wcmq0qgh.js +1 -0
- package/web/chunk-wcmq0qgh.js.br +0 -0
- package/web/chunk-wcmq0qgh.js.gz +0 -0
- package/web/chunk-wctq02yb.js +2 -0
- package/web/chunk-wctq02yb.js.br +0 -0
- package/web/chunk-wctq02yb.js.gz +0 -0
- package/web/chunk-wfwadf3r.js +2 -0
- package/web/chunk-wfwadf3r.js.br +0 -0
- package/web/chunk-wfwadf3r.js.gz +0 -0
- package/web/chunk-wgas5t5y.js +1 -0
- package/web/chunk-wgas5t5y.js.br +0 -0
- package/web/chunk-wgas5t5y.js.gz +0 -0
- package/web/chunk-x7k4eyee.js +21 -0
- package/web/chunk-x7k4eyee.js.br +0 -0
- package/web/chunk-x7k4eyee.js.gz +0 -0
- package/web/chunk-xpv38q1f.js +140 -0
- package/web/chunk-xpv38q1f.js.br +0 -0
- package/web/chunk-xpv38q1f.js.gz +0 -0
- package/web/chunk-xt671z8e.js +1 -0
- package/web/chunk-xt671z8e.js.br +0 -0
- package/web/chunk-xt671z8e.js.gz +0 -0
- package/web/chunk-xwrrkwwx.css +1 -0
- package/web/chunk-xwrrkwwx.css.br +0 -0
- package/web/chunk-xwrrkwwx.css.gz +0 -0
- package/web/chunk-xwy3gth5.js +89 -0
- package/web/chunk-xwy3gth5.js.br +0 -0
- package/web/chunk-xwy3gth5.js.gz +0 -0
- package/web/chunk-xwyadj9p.js +2 -0
- package/web/chunk-xwyadj9p.js.br +0 -0
- package/web/chunk-xwyadj9p.js.gz +0 -0
- package/web/chunk-xzgvnd23.js +1 -0
- package/web/chunk-xzgvnd23.js.br +0 -0
- package/web/chunk-xzgvnd23.js.gz +0 -0
- package/web/chunk-y05m6rvz.js +1 -0
- package/web/chunk-y05m6rvz.js.br +2 -0
- package/web/chunk-y05m6rvz.js.gz +0 -0
- package/web/chunk-z51mtwh3.js +169 -0
- package/web/chunk-z51mtwh3.js.br +0 -0
- package/web/chunk-z51mtwh3.js.gz +0 -0
- package/web/chunk-z77xrqc1.js +1 -0
- package/web/chunk-z77xrqc1.js.br +0 -0
- package/web/chunk-z77xrqc1.js.gz +0 -0
- package/web/chunk-z946nbmn.js +2 -0
- package/web/chunk-z946nbmn.js.br +0 -0
- package/web/chunk-z946nbmn.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-06s9pr82.js +0 -3
- package/chunk-0crbhhna.js +0 -2
- package/chunk-1c9nr9rs.js +0 -5
- package/chunk-1w4nh5t6.js +0 -5
- package/chunk-2eaehpp6.js +0 -9
- package/chunk-30dxcr91.js +0 -7
- package/chunk-37ndxehw.js +0 -3
- package/chunk-38g4jd6v.js +0 -5
- package/chunk-44a7f5ta.js +0 -25
- package/chunk-44b9yx79.js +0 -2
- package/chunk-46vy2m29.js +0 -2
- package/chunk-4f6p4n7k.js +0 -3
- package/chunk-4hf0r9hv.js +0 -12
- package/chunk-4w8j6n7z.js +0 -2
- package/chunk-4yxd2kg1.js +0 -3
- package/chunk-62ebm0bn.js +0 -2
- package/chunk-6ae9810t.js +0 -25
- package/chunk-6ef085c1.js +0 -20
- package/chunk-6exa9fp7.js +0 -3
- package/chunk-73t051r6.js +0 -2
- package/chunk-7mgkpn94.js +0 -59
- package/chunk-86yr2c0r.js +0 -3
- package/chunk-8jn0yax5.js +0 -482
- package/chunk-8np9b2y8.js +0 -3
- package/chunk-8r4baw9e.js +0 -3
- package/chunk-9ew8cap5.js +0 -3
- package/chunk-9jtvj8md.js +0 -4172
- package/chunk-9vam83py.js +0 -2
- package/chunk-9xjecw6c.js +0 -2
- package/chunk-b2wpj81x.js +0 -3
- package/chunk-b350b01x.js +0 -12
- package/chunk-bjvv3403.js +0 -2
- package/chunk-bv96b8q7.js +0 -2
- package/chunk-c8g9jjqs.js +0 -3
- package/chunk-cs91rmbf.js +0 -18
- package/chunk-drett6hb.js +0 -2
- package/chunk-e8x8zwkg.js +0 -3
- package/chunk-ehnc8g6v.js +0 -7
- package/chunk-evnqkyt7.js +0 -16
- package/chunk-fzftb4n2.js +0 -10
- package/chunk-g2etemv5.js +0 -3
- package/chunk-g5p9mj1r.js +0 -3
- package/chunk-ge38dhv9.js +0 -3
- package/chunk-hggam3je.js +0 -2
- package/chunk-m5km74eq.js +0 -8
- package/chunk-mh4bjtfs.js +0 -11
- package/chunk-nrdszs0g.js +0 -5
- package/chunk-p78wde92.js +0 -3
- package/chunk-pdt65s31.js +0 -3
- package/chunk-pjgt1bdx.js +0 -3
- package/chunk-pna1wh02.js +0 -39
- package/chunk-pyj6avd5.js +0 -3
- package/chunk-q6tgpaf3.js +0 -2
- package/chunk-qd2enpr2.js +0 -3
- package/chunk-rghqprav.js +0 -2
- package/chunk-rqn67tm8.js +0 -2
- package/chunk-t33bm5aa.js +0 -2
- package/chunk-tfhp09nj.js +0 -3
- package/chunk-v9ttcf6r.js +0 -3
- package/chunk-vd5332ps.js +0 -2
- package/chunk-vqm94hz2.js +0 -3
- package/chunk-vv9csar7.js +0 -2
- package/chunk-w55cnj0f.js +0 -3
- package/chunk-wnd3y4c0.js +0 -10
- package/chunk-xafx1p7z.js +0 -3
- package/chunk-xba6fr5v.js +0 -2
- package/chunk-xf7zw32f.js +0 -31
- package/chunk-y0274xr2.js +0 -7
- package/chunk-ypxs8djn.js +0 -2
- package/chunk-zcwz44db.js +0 -2
- package/chunk-zhyzhekt.js +0 -2
- package/web/chunk-013et20n.js +0 -2
- package/web/chunk-013et20n.js.br +0 -0
- package/web/chunk-013et20n.js.gz +0 -0
- package/web/chunk-0ernj3c0.js +0 -1
- package/web/chunk-0ernj3c0.js.br +0 -0
- package/web/chunk-0ernj3c0.js.gz +0 -0
- package/web/chunk-0j65yg1p.js +0 -1
- package/web/chunk-0j65yg1p.js.br +0 -0
- package/web/chunk-0j65yg1p.js.gz +0 -0
- package/web/chunk-0khcpaa8.js +0 -1
- package/web/chunk-0khcpaa8.js.br +0 -0
- package/web/chunk-0khcpaa8.js.gz +0 -0
- package/web/chunk-0wbdd74r.js +0 -1
- package/web/chunk-0wbdd74r.js.br +0 -2
- package/web/chunk-0wbdd74r.js.gz +0 -0
- package/web/chunk-1f2wvhq9.js +0 -1
- package/web/chunk-1f2wvhq9.js.br +0 -0
- package/web/chunk-1f2wvhq9.js.gz +0 -0
- package/web/chunk-1q2kmv35.js +0 -332
- package/web/chunk-1q2kmv35.js.br +0 -0
- package/web/chunk-1q2kmv35.js.gz +0 -0
- package/web/chunk-1tfrm3pk.js +0 -2
- package/web/chunk-1tfrm3pk.js.br +0 -0
- package/web/chunk-1tfrm3pk.js.gz +0 -0
- package/web/chunk-2qt5fy5n.js +0 -1
- package/web/chunk-2qt5fy5n.js.br +0 -0
- package/web/chunk-2qt5fy5n.js.gz +0 -0
- package/web/chunk-2sxtb709.js +0 -1
- package/web/chunk-2sxtb709.js.br +0 -0
- package/web/chunk-2sxtb709.js.gz +0 -0
- package/web/chunk-2wrwm0qe.js +0 -1
- package/web/chunk-2wrwm0qe.js.br +0 -0
- package/web/chunk-2wrwm0qe.js.gz +0 -0
- package/web/chunk-2wwj27b9.js +0 -7
- package/web/chunk-2wwj27b9.js.br +0 -0
- package/web/chunk-2wwj27b9.js.gz +0 -0
- package/web/chunk-33mmrjdp.js +0 -1
- package/web/chunk-33mmrjdp.js.br +0 -2
- package/web/chunk-33mmrjdp.js.gz +0 -0
- package/web/chunk-33tb7q04.js +0 -2
- package/web/chunk-33tb7q04.js.br +0 -0
- package/web/chunk-33tb7q04.js.gz +0 -0
- package/web/chunk-3txb4sha.js +0 -1
- package/web/chunk-3txb4sha.js.br +0 -0
- package/web/chunk-3txb4sha.js.gz +0 -0
- package/web/chunk-3xgfsx7y.js +0 -2
- package/web/chunk-3xgfsx7y.js.br +0 -0
- package/web/chunk-3xgfsx7y.js.gz +0 -0
- package/web/chunk-40jka4r7.js +0 -2
- package/web/chunk-40jka4r7.js.br +0 -0
- package/web/chunk-40jka4r7.js.gz +0 -0
- package/web/chunk-41vh5n86.js +0 -1
- package/web/chunk-41vh5n86.js.br +0 -0
- package/web/chunk-41vh5n86.js.gz +0 -0
- package/web/chunk-5kz048x3.js +0 -2
- package/web/chunk-5kz048x3.js.br +0 -0
- package/web/chunk-5kz048x3.js.gz +0 -0
- package/web/chunk-5mbz8yj9.js +0 -3
- package/web/chunk-5mbz8yj9.js.br +0 -0
- package/web/chunk-5mbz8yj9.js.gz +0 -0
- package/web/chunk-6024wfxb.js +0 -30
- package/web/chunk-6024wfxb.js.br +0 -0
- package/web/chunk-6024wfxb.js.gz +0 -0
- package/web/chunk-6ey4c6gw.js +0 -2
- package/web/chunk-6ey4c6gw.js.br +0 -0
- package/web/chunk-6ey4c6gw.js.gz +0 -0
- package/web/chunk-6q3p851n.js +0 -1
- package/web/chunk-6q3p851n.js.br +0 -2
- package/web/chunk-6q3p851n.js.gz +0 -0
- package/web/chunk-74g3wh08.js +0 -2
- package/web/chunk-74g3wh08.js.br +0 -0
- package/web/chunk-74g3wh08.js.gz +0 -0
- package/web/chunk-78akzkgs.js +0 -84
- package/web/chunk-78akzkgs.js.br +0 -0
- package/web/chunk-78akzkgs.js.gz +0 -0
- package/web/chunk-7ck99bsp.js +0 -62
- package/web/chunk-7ck99bsp.js.br +0 -0
- package/web/chunk-7ck99bsp.js.gz +0 -0
- package/web/chunk-7fjbyns9.js +0 -1
- package/web/chunk-7fjbyns9.js.br +0 -0
- package/web/chunk-7fjbyns9.js.gz +0 -0
- package/web/chunk-7n6b2xra.js +0 -21
- package/web/chunk-7n6b2xra.js.br +0 -0
- package/web/chunk-7n6b2xra.js.gz +0 -0
- package/web/chunk-7p4mcqkd.js +0 -78
- package/web/chunk-7p4mcqkd.js.br +0 -0
- package/web/chunk-7p4mcqkd.js.gz +0 -0
- package/web/chunk-7ztwkhg5.js +0 -1
- package/web/chunk-7ztwkhg5.js.br +0 -0
- package/web/chunk-7ztwkhg5.js.gz +0 -0
- package/web/chunk-823etvc3.js +0 -99
- package/web/chunk-823etvc3.js.br +0 -0
- package/web/chunk-823etvc3.js.gz +0 -0
- package/web/chunk-8ec53vjd.js +0 -1
- package/web/chunk-8ec53vjd.js.br +0 -0
- package/web/chunk-8ec53vjd.js.gz +0 -0
- package/web/chunk-8g55ytgz.js +0 -1
- package/web/chunk-8g55ytgz.js.br +0 -0
- package/web/chunk-8g55ytgz.js.gz +0 -0
- package/web/chunk-8q76yd76.js +0 -291
- package/web/chunk-8q76yd76.js.br +0 -0
- package/web/chunk-8q76yd76.js.gz +0 -0
- package/web/chunk-9kbrjmtz.js +0 -1
- package/web/chunk-9kbrjmtz.js.br +0 -0
- package/web/chunk-9kbrjmtz.js.gz +0 -0
- package/web/chunk-9s4bh6qm.js +0 -40
- package/web/chunk-9s4bh6qm.js.br +0 -0
- package/web/chunk-9s4bh6qm.js.gz +0 -0
- package/web/chunk-a449xjq6.js +0 -7
- package/web/chunk-a449xjq6.js.br +0 -0
- package/web/chunk-a449xjq6.js.gz +0 -0
- package/web/chunk-b05eay33.js +0 -1
- package/web/chunk-b05eay33.js.br +0 -0
- package/web/chunk-b05eay33.js.gz +0 -0
- package/web/chunk-bdypt5mj.js +0 -142
- package/web/chunk-bdypt5mj.js.br +0 -0
- package/web/chunk-bdypt5mj.js.gz +0 -0
- package/web/chunk-ccy2q2z0.js +0 -2
- package/web/chunk-ccy2q2z0.js.br +0 -0
- package/web/chunk-ccy2q2z0.js.gz +0 -0
- package/web/chunk-ceg13tma.js +0 -2
- package/web/chunk-ceg13tma.js.br +0 -0
- package/web/chunk-ceg13tma.js.gz +0 -0
- package/web/chunk-ch60a61d.js +0 -2
- package/web/chunk-ch60a61d.js.br +0 -0
- package/web/chunk-ch60a61d.js.gz +0 -0
- package/web/chunk-czvdg0c5.js +0 -1
- package/web/chunk-czvdg0c5.js.br +0 -0
- package/web/chunk-czvdg0c5.js.gz +0 -0
- package/web/chunk-dsa5m3h6.js +0 -200
- package/web/chunk-dsa5m3h6.js.br +0 -0
- package/web/chunk-dsa5m3h6.js.gz +0 -0
- package/web/chunk-dww3grm3.js +0 -24
- package/web/chunk-dww3grm3.js.br +0 -0
- package/web/chunk-dww3grm3.js.gz +0 -0
- package/web/chunk-e187gt5x.js +0 -1
- package/web/chunk-e187gt5x.js.br +0 -0
- package/web/chunk-e187gt5x.js.gz +0 -0
- package/web/chunk-ey0zwvbx.js +0 -1
- package/web/chunk-ey0zwvbx.js.br +0 -0
- package/web/chunk-ey0zwvbx.js.gz +0 -0
- package/web/chunk-ey14knbn.js +0 -2
- package/web/chunk-ey14knbn.js.br +0 -0
- package/web/chunk-ey14knbn.js.gz +0 -0
- package/web/chunk-fba06jm8.js +0 -1132
- package/web/chunk-fba06jm8.js.br +0 -0
- package/web/chunk-fba06jm8.js.gz +0 -0
- package/web/chunk-fh56vgfx.js +0 -39
- package/web/chunk-fh56vgfx.js.br +0 -0
- package/web/chunk-fh56vgfx.js.gz +0 -0
- package/web/chunk-ft05x3my.js +0 -169
- package/web/chunk-ft05x3my.js.br +0 -0
- package/web/chunk-ft05x3my.js.gz +0 -0
- package/web/chunk-fzmrnh17.js +0 -303
- package/web/chunk-fzmrnh17.js.br +0 -0
- package/web/chunk-fzmrnh17.js.gz +0 -0
- package/web/chunk-gbt7asd7.js +0 -2
- package/web/chunk-gbt7asd7.js.br +0 -0
- package/web/chunk-gbt7asd7.js.gz +0 -0
- package/web/chunk-gh9fkn3t.js +0 -1
- package/web/chunk-gh9fkn3t.js.br +0 -2
- package/web/chunk-gh9fkn3t.js.gz +0 -0
- package/web/chunk-h1syyjqq.js +0 -2
- package/web/chunk-h1syyjqq.js.br +0 -0
- package/web/chunk-h1syyjqq.js.gz +0 -0
- package/web/chunk-h7byk4z3.js +0 -140
- package/web/chunk-h7byk4z3.js.br +0 -0
- package/web/chunk-h7byk4z3.js.gz +0 -0
- package/web/chunk-hby0hkv4.js +0 -1
- package/web/chunk-hby0hkv4.js.br +0 -0
- package/web/chunk-hby0hkv4.js.gz +0 -0
- package/web/chunk-hjvsp2yx.js +0 -1
- package/web/chunk-hjvsp2yx.js.br +0 -0
- package/web/chunk-hjvsp2yx.js.gz +0 -0
- package/web/chunk-hpjzy5ww.js +0 -1
- package/web/chunk-hpjzy5ww.js.br +0 -0
- package/web/chunk-hpjzy5ww.js.gz +0 -0
- package/web/chunk-hzfp8kqx.js +0 -217
- package/web/chunk-hzfp8kqx.js.br +0 -0
- package/web/chunk-hzfp8kqx.js.gz +0 -0
- package/web/chunk-j8f0m1dq.js +0 -1
- package/web/chunk-j8f0m1dq.js.br +0 -0
- package/web/chunk-j8f0m1dq.js.gz +0 -0
- package/web/chunk-jc178ad5.js +0 -2
- package/web/chunk-jc178ad5.js.br +0 -0
- package/web/chunk-jc178ad5.js.gz +0 -0
- package/web/chunk-jcsf0ke5.js +0 -41
- package/web/chunk-jcsf0ke5.js.br +0 -0
- package/web/chunk-jcsf0ke5.js.gz +0 -0
- package/web/chunk-jg43a2xk.js +0 -139
- package/web/chunk-jg43a2xk.js.br +0 -0
- package/web/chunk-jg43a2xk.js.gz +0 -0
- package/web/chunk-jrgdxqtq.js +0 -7
- package/web/chunk-jrgdxqtq.js.br +0 -0
- package/web/chunk-jrgdxqtq.js.gz +0 -0
- package/web/chunk-js8dvtfg.js +0 -2
- package/web/chunk-js8dvtfg.js.br +0 -0
- package/web/chunk-js8dvtfg.js.gz +0 -0
- package/web/chunk-jt0s9qs7.js +0 -1
- package/web/chunk-jt0s9qs7.js.br +0 -0
- package/web/chunk-jt0s9qs7.js.gz +0 -0
- package/web/chunk-jv5faf88.js +0 -34
- package/web/chunk-jv5faf88.js.br +0 -0
- package/web/chunk-jv5faf88.js.gz +0 -0
- package/web/chunk-k295x81w.js +0 -370
- package/web/chunk-k295x81w.js.br +0 -0
- package/web/chunk-k295x81w.js.gz +0 -0
- package/web/chunk-k6wxwgp1.js +0 -55
- package/web/chunk-k6wxwgp1.js.br +0 -0
- package/web/chunk-k6wxwgp1.js.gz +0 -0
- package/web/chunk-k9vc7kp2.js +0 -292
- package/web/chunk-k9vc7kp2.js.br +0 -0
- package/web/chunk-k9vc7kp2.js.gz +0 -0
- package/web/chunk-kxyws7q7.js +0 -1
- package/web/chunk-kxyws7q7.js.br +0 -0
- package/web/chunk-kxyws7q7.js.gz +0 -0
- package/web/chunk-mcgf645h.js +0 -1
- package/web/chunk-mcgf645h.js.br +0 -4
- package/web/chunk-mcgf645h.js.gz +0 -0
- package/web/chunk-mj3tshy8.js +0 -214
- package/web/chunk-mj3tshy8.js.br +0 -0
- package/web/chunk-mj3tshy8.js.gz +0 -0
- package/web/chunk-mnb2wdvy.js +0 -24
- package/web/chunk-mnb2wdvy.js.br +0 -0
- package/web/chunk-mnb2wdvy.js.gz +0 -0
- package/web/chunk-ndf58dgc.js +0 -1
- package/web/chunk-ndf58dgc.js.br +0 -0
- package/web/chunk-ndf58dgc.js.gz +0 -0
- package/web/chunk-nhpm5nd5.js +0 -2
- package/web/chunk-nhpm5nd5.js.br +0 -0
- package/web/chunk-nhpm5nd5.js.gz +0 -0
- package/web/chunk-nwxjdetb.js +0 -1
- package/web/chunk-nwxjdetb.js.br +0 -0
- package/web/chunk-nwxjdetb.js.gz +0 -0
- package/web/chunk-nyjfcard.js +0 -106
- package/web/chunk-nyjfcard.js.br +0 -0
- package/web/chunk-nyjfcard.js.gz +0 -0
- package/web/chunk-pcfjcy3a.js +0 -324
- package/web/chunk-pcfjcy3a.js.br +0 -0
- package/web/chunk-pcfjcy3a.js.gz +0 -0
- package/web/chunk-pry6wdbe.js +0 -1
- package/web/chunk-pry6wdbe.js.br +0 -0
- package/web/chunk-pry6wdbe.js.gz +0 -0
- package/web/chunk-pvahdcgy.js +0 -2
- package/web/chunk-pvahdcgy.js.br +0 -0
- package/web/chunk-pvahdcgy.js.gz +0 -0
- package/web/chunk-q3njnnef.js +0 -16
- package/web/chunk-q3njnnef.js.br +0 -0
- package/web/chunk-q3njnnef.js.gz +0 -0
- package/web/chunk-rbmp2e4b.js +0 -1
- package/web/chunk-rbmp2e4b.js.br +0 -0
- package/web/chunk-rbmp2e4b.js.gz +0 -0
- package/web/chunk-rcre1stj.js +0 -1
- package/web/chunk-rcre1stj.js.br +0 -0
- package/web/chunk-rcre1stj.js.gz +0 -0
- package/web/chunk-rdb6091n.js +0 -89
- package/web/chunk-rdb6091n.js.br +0 -0
- package/web/chunk-rdb6091n.js.gz +0 -0
- package/web/chunk-ryw7xnab.js +0 -1
- package/web/chunk-ryw7xnab.js.br +0 -0
- package/web/chunk-ryw7xnab.js.gz +0 -0
- package/web/chunk-sbbmy02e.js +0 -2
- package/web/chunk-sbbmy02e.js.br +0 -0
- package/web/chunk-sbbmy02e.js.gz +0 -0
- package/web/chunk-sydy10mb.js +0 -1
- package/web/chunk-sydy10mb.js.br +0 -0
- package/web/chunk-sydy10mb.js.gz +0 -0
- package/web/chunk-t0ywnp5e.js +0 -1
- package/web/chunk-t0ywnp5e.js.br +0 -0
- package/web/chunk-t0ywnp5e.js.gz +0 -0
- package/web/chunk-t72jq97z.js +0 -2
- package/web/chunk-t72jq97z.js.br +0 -0
- package/web/chunk-t72jq97z.js.gz +0 -0
- package/web/chunk-tfcc9bcz.js +0 -4
- package/web/chunk-tfcc9bcz.js.br +0 -0
- package/web/chunk-tfcc9bcz.js.gz +0 -0
- package/web/chunk-v2bvbgfc.js +0 -2
- package/web/chunk-v2bvbgfc.js.br +0 -0
- package/web/chunk-v2bvbgfc.js.gz +0 -0
- package/web/chunk-v7zq4vc9.js +0 -12
- package/web/chunk-v7zq4vc9.js.br +0 -0
- package/web/chunk-v7zq4vc9.js.gz +0 -0
- package/web/chunk-vh8pkcem.css +0 -1
- package/web/chunk-vh8pkcem.css.br +0 -0
- package/web/chunk-vh8pkcem.css.gz +0 -0
- package/web/chunk-vq3sby7x.js +0 -1
- package/web/chunk-vq3sby7x.js.br +0 -0
- package/web/chunk-vq3sby7x.js.gz +0 -0
- package/web/chunk-was9xf03.js +0 -8
- package/web/chunk-was9xf03.js.br +0 -0
- package/web/chunk-was9xf03.js.gz +0 -0
- package/web/chunk-we1v1829.js +0 -2
- package/web/chunk-we1v1829.js.br +0 -0
- package/web/chunk-we1v1829.js.gz +0 -0
- package/web/chunk-wg2exnxe.js +0 -1
- package/web/chunk-wg2exnxe.js.br +0 -2
- package/web/chunk-wg2exnxe.js.gz +0 -0
- package/web/chunk-wvd3zj1m.js +0 -70
- package/web/chunk-wvd3zj1m.js.br +0 -0
- package/web/chunk-wvd3zj1m.js.gz +0 -0
- package/web/chunk-wzmxtr30.js +0 -1
- package/web/chunk-wzmxtr30.js.br +0 -0
- package/web/chunk-wzmxtr30.js.gz +0 -0
- package/web/chunk-x815g7yp.js +0 -1
- package/web/chunk-x815g7yp.js.br +0 -0
- package/web/chunk-x815g7yp.js.gz +0 -0
- package/web/chunk-x8ps0p82.js +0 -98
- package/web/chunk-x8ps0p82.js.br +0 -0
- package/web/chunk-x8ps0p82.js.gz +0 -0
- package/web/chunk-xea3snym.js +0 -1
- package/web/chunk-xea3snym.js.br +0 -0
- package/web/chunk-xea3snym.js.gz +0 -0
- package/web/chunk-xg4v60m7.js +0 -1
- package/web/chunk-xg4v60m7.js.br +0 -0
- package/web/chunk-xg4v60m7.js.gz +0 -0
- package/web/chunk-xhr9jrjt.js +0 -89
- package/web/chunk-xhr9jrjt.js.br +0 -0
- package/web/chunk-xhr9jrjt.js.gz +0 -0
- package/web/chunk-xp90g2e7.js +0 -36
- package/web/chunk-xp90g2e7.js.br +0 -0
- package/web/chunk-xp90g2e7.js.gz +0 -0
- package/web/chunk-xs1g97qa.js +0 -2
- package/web/chunk-xs1g97qa.js.br +0 -0
- package/web/chunk-xs1g97qa.js.gz +0 -0
- package/web/chunk-xyk1wpr4.js +0 -1
- package/web/chunk-xyk1wpr4.js.br +0 -3
- package/web/chunk-xyk1wpr4.js.gz +0 -0
- package/web/chunk-yavbdwyt.js +0 -1
- package/web/chunk-yavbdwyt.js.br +0 -0
- package/web/chunk-yavbdwyt.js.gz +0 -0
- package/web/chunk-yfnhnsxe.js +0 -4
- package/web/chunk-yfnhnsxe.js.br +0 -0
- package/web/chunk-yfnhnsxe.js.gz +0 -0
- package/web/chunk-yk965yth.js +0 -1
- package/web/chunk-yk965yth.js.br +0 -0
- package/web/chunk-yk965yth.js.gz +0 -0
- package/web/chunk-ynhcjhsx.js +0 -2
- package/web/chunk-ynhcjhsx.js.br +0 -0
- package/web/chunk-ynhcjhsx.js.gz +0 -0
- package/web/chunk-ypmm1gts.js +0 -1
- package/web/chunk-ypmm1gts.js.br +0 -0
- package/web/chunk-ypmm1gts.js.gz +0 -0
- package/web/chunk-yssx5a5q.js +0 -1
- package/web/chunk-yssx5a5q.js.br +0 -0
- package/web/chunk-yssx5a5q.js.gz +0 -0
- package/web/chunk-z0a8cnq8.js +0 -1
- package/web/chunk-z0a8cnq8.js.br +0 -0
- package/web/chunk-z0a8cnq8.js.gz +0 -0
- package/web/chunk-z1afsvbv.js +0 -2
- package/web/chunk-z1afsvbv.js.br +0 -0
- package/web/chunk-z1afsvbv.js.gz +0 -0
- package/web/chunk-z1ka8jtd.js +0 -2
- package/web/chunk-z1ka8jtd.js.br +0 -0
- package/web/chunk-z1ka8jtd.js.gz +0 -0
- package/web/chunk-z7tdzen9.js +0 -1
- package/web/chunk-z7tdzen9.js.br +0 -0
- package/web/chunk-z7tdzen9.js.gz +0 -0
- package/web/chunk-zbwjj06m.js +0 -38
- package/web/chunk-zbwjj06m.js.br +0 -0
- package/web/chunk-zbwjj06m.js.gz +0 -0
- package/web/chunk-zd2j189j.js +0 -1
- package/web/chunk-zd2j189j.js.br +0 -0
- package/web/chunk-zd2j189j.js.gz +0 -0
- package/web/chunk-zfgpq4n4.js +0 -120
- package/web/chunk-zfgpq4n4.js.br +0 -0
- package/web/chunk-zfgpq4n4.js.gz +0 -0
- package/web/chunk-zgas56xw.js +0 -1
- package/web/chunk-zgas56xw.js.br +0 -0
- package/web/chunk-zgas56xw.js.gz +0 -0
- package/web/chunk-zkfepf91.js +0 -1
- package/web/chunk-zkfepf91.js.br +0 -0
- package/web/chunk-zkfepf91.js.gz +0 -0
package/web/chunk-2wwj27b9.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{y,o,w,i,r,h,e,n,x,Nt}from"./chunk-fba06jm8.js";var V="__chat__";function S(t){if(!Number.isFinite(t)||t<=0)return"0";if(t<1000)return Math.round(t).toString();if(t<1e6)return`${(t/1000).toFixed(1)}K`;if(t<1e9)return`${(t/1e6).toFixed(2)}M`;return`${(t/1e9).toFixed(2)}B`}function L(t){let u=Number.isFinite(t)?Math.max(0,t):0;return Math.round(u).toLocaleString("en-US")}function P(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.floor(t/1000)}s`;if(t<3600000){let c=Math.floor(t/1000),a=Math.floor(c/60),d=c%60;return d>0?`${a}m ${d}s`:`${a}m`}if(t<259200000){let c=Math.floor(t/60000),a=Math.floor(c/60),d=c%60;return d>0?`${a}h ${d}m`:`${a}h`}let u=Math.floor(t/3600000),v=Math.floor(u/24),p=u%24;return p>0?`${v}d ${p}h`:`${v}d`}function ae(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.round(t/1000)}s`;if(t<3600000)return`${Math.round(t/60000)}m`;if(t<86400000){let p=t/3600000;return`${p>=10?Math.round(p).toString():p.toFixed(1).replace(/\.0$/,"")}h`}let u=t/86400000;return`${u>=10?Math.round(u).toString():u.toFixed(1).replace(/\.0$/,"")}d`}function B(t,u=1){if(!Number.isFinite(t)||t<=0)return"0%";let v=10**-u/100;if(t<v)return`<${(v*100).toFixed(u)}%`;return`${(t*100).toFixed(u)}%`}function Q(t){if(!Number.isFinite(t)||t<=0)return"0 B";if(t<1024)return`${Math.round(t)} B`;if(t<1048576)return`${(t/1024).toFixed(1)} KB`;if(t<1073741824)return`${(t/1048576).toFixed(2)} MB`;return`${(t/1073741824).toFixed(2)} GB`}function W(t){let u=t.split("-"),v=u[1],p=u[2];if(v!==void 0&&p!==void 0)return`${v}/${p}`;return t}function Z(t){let u=t.split("-"),v=u[0],p=u[1],c=u[2];if(v===void 0||p===void 0||c===void 0)return t;let a=Number(v),d=Number(p)-1,g=Number(c),M=new Date(Date.UTC(a,d,g)),C=["周日","周一","周二","周三","周四","周五","周六"],D=M.getUTCDay(),F=C[D]??"";return`${t} ${F}`}function se(t,u=Date.now()){if(t===null||t===void 0||!Number.isFinite(t)||t<=0)return"从未";let v=Math.max(0,u-t);if(v<60000)return"刚刚";if(v<3600000)return`${Math.max(1,Math.floor(v/60000))} 分钟前`;if(v<86400000)return`${Math.max(1,Math.floor(v/3600000))} 小时前`;if(v<2592000000)return`${Math.max(1,Math.floor(v/86400000))} 天前`;let p=new Date(t),c=p.getFullYear(),a=String(p.getMonth()+1).padStart(2,"0"),d=String(p.getDate()).padStart(2,"0");return`${c}-${a}-${d}`}function K(t){return e("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-raised",children:e("div",{className:"h-full rounded-full bg-accent transition-all duration-300",style:{width:`${t.percent}%`}})})}function Y(t){return e("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:t.children})}function G(t){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:t.children})}function J(t){return n(G,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:S(t.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:S(t.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:S(t.stat.cacheReadTokens)}),t.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",B(t.cacheHitRate),")"]})]})]})}function oe(t){let{projects:u,selectedProjectID:v,onSelectProject:p}=t,{style:c}=x();if(u.length===0)return e("div",{className:c("surface.empty"),children:"暂无项目统计数据"});return e("div",{className:"divide-y divide-line",children:u.map((a)=>{let d=a.projectID??V,g=v===d,M=Math.max(a.tokenShare>0?1:0,a.tokenShare*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate",children:a.name}),e("span",{className:c("control.badge","font-mono truncate max-w-[240px]"),title:a.directory||"未绑定项目目录",children:a.directory||"独立会话"}),e("button",{type:"button",onClick:()=>p(g?null:d),className:"rounded px-1.5 py-0.5 text-[11px] text-accent hover:bg-accent/10 transition-colors cursor-pointer shrink-0",children:g?"取消筛选":"筛选"})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:L(a.totalTokens),children:S(a.totalTokens)}),n("span",{className:"text-[11px] text-faint",children:["(",B(a.tokenShare),")"]})]})]}),e(K,{percent:M}),n(Y,{children:[e(J,{stat:a,cacheHitRate:a.cacheHitRate}),n(G,{children:[n("span",{children:["耗时 ",e("span",{className:"text-ink",children:P(a.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:a.sessionCount.toLocaleString()})," 会话"]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:a.toolCalls.toLocaleString()})," 次"]})]})]})]},d)})})}function re(t){let{models:u}=t,{ModelIcon:v,style:p}=x();if(u.length===0)return e("div",{className:p("surface.empty"),children:"暂无模型调用数据"});return e("div",{className:"divide-y divide-line",children:u.map((c)=>{let a=Math.max(c.share>0?1:0,c.share*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e(v,{modelID:c.model,className:"size-4 shrink-0"}),e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:c.shortName}),e("span",{className:p("control.badge","font-mono shrink-0"),children:c.provider})]}),n("div",{className:"flex items-baseline gap-2.5 font-mono tabular-nums shrink-0",children:[c.avgTps!==null&&n("span",{className:"text-[11px] text-dim",children:[c.avgTps.toFixed(1)," tok/s"]}),n("span",{className:"text-xs font-medium text-ink",title:L(c.totalTokens),children:[S(c.totalTokens)," ",n("span",{className:"text-[11px] font-normal text-faint",children:["(",B(c.share),")"]})]})]})]}),e(K,{percent:a}),n(Y,{children:[e(J,{stat:c,cacheHitRate:c.cacheHitRate}),n(G,{children:[n("span",{children:[e("span",{className:"text-ink",children:c.turns.toLocaleString()})," 轮",c.errors>0?n("span",{className:"text-danger",children:[" (",c.errors," 错)"]}):null]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:c.toolCalls.toLocaleString()})," 次"]}),c.generationMs>0&&n("span",{children:["推理 ",e("span",{className:"text-ink",children:ae(c.generationMs)})]})]})]})]},c.model)})})}function ie(t){let{tools:u}=t,{StatusChip:v,style:p}=x();if(u.length===0)return e("div",{className:p("surface.empty"),children:"暂无工具调用数据"});return e("div",{className:"divide-y divide-line",children:u.map((c)=>{let a=Math.max(c.share>0?1:0,c.share*100),d=c.successRate>=0.95?"success":c.successRate>=0.8?"warning":"danger",g=Math.max(0,c.calls-c.errors),M=c.calls>0?Math.round(c.outputBytes/c.calls):0;return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:c.name}),n(v,{tone:d,children:["成功率 ",B(c.successRate)]})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[n("span",{className:"text-xs font-medium text-ink",children:[c.calls.toLocaleString()," 次"]}),n("span",{className:"text-[11px] text-faint",children:["(",B(c.share),")"]})]})]}),e(K,{percent:a}),n(Y,{children:[n(G,{children:[n("span",{children:["成功 ",e("span",{className:"text-ink",children:g.toLocaleString()})," 次"]}),n("span",{children:["失败 ",e("span",{className:c.errors>0?"text-danger":"text-ink",children:c.errors.toLocaleString()})," 次"]})]}),n(G,{children:[n("span",{children:["累计输出 ",e("span",{className:"text-ink",children:Q(c.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:Q(M)})]})]})]})]},c.name)})})}function le(t){let{sessions:u,onOpenSession:v}=t,{style:p}=x();if(u.length===0)return e("div",{className:p("surface.empty"),children:"暂无高消耗会话记录"});let c=Math.max(1,...u.map((a)=>a.totalTokens));return e("div",{className:"divide-y divide-line",children:u.map((a)=>{let d=c>0?Math.max(1,a.totalTokens/c*100):0,g=a.model.split("/").pop()??a.model;return n("button",{type:"button",onClick:()=>v(a.id),className:"group block w-full p-4 text-left space-y-2.5 hover:bg-raised/40 transition-colors cursor-pointer",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate group-hover:text-accent transition-colors",children:a.title.trim()||"新会话"}),e("span",{className:p("control.badge","font-mono truncate max-w-[140px] shrink-0"),title:a.projectName,children:a.projectName}),a.kind==="sub"&&e("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 text-[10.5px] text-accent shrink-0",children:"子代理"}),a.archivedAt!==null&&e("span",{className:p("control.badge","shrink-0"),children:"已归档"})]}),n("div",{className:"flex items-center gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:L(a.totalTokens),children:S(a.totalTokens)}),e(Nt,{className:"size-3.5 text-faint group-hover:text-ink group-hover:translate-x-0.5 transition-all"})]})]}),e(K,{percent:d}),n(Y,{children:[e(J,{stat:a}),n(G,{children:[e("span",{className:"text-ink",children:g}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:P(a.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:a.assistantTurns})," 轮"]}),e("span",{className:"text-faint",children:se(a.updated)})]})]})]},a.id)})})}var ce=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function ue(t){let{cn:u,Segmented:v,SettingGroup:p,style:c}=x(),{daily:a}=t,[d,g]=r("tokens"),[M,C]=r(null),D=w(()=>a.some((s)=>s.totalTokens>0||s.activeDurationMs>0||s.runs>0),[a]),F=w(()=>{if(a.length===0)return{totalText:"0",avgText:"0",peakDate:"—",peakValueText:"0"};if(d==="tokens"){let N=a.reduce((_,A)=>_+A.totalTokens,0),R=a.filter((_)=>_.totalTokens>0).length,T=a[0];for(let _ of a)if(!T||_.totalTokens>T.totalTokens)T=_;return{totalText:S(N),totalFullText:L(N),avgText:R>0?S(Math.round(N/R)):"0",peakDate:T&&T.totalTokens>0?W(T.date):"—",peakValueText:T&&T.totalTokens>0?S(T.totalTokens):"0"}}if(d==="duration"){let N=a.reduce((_,A)=>_+A.activeDurationMs,0),R=a.filter((_)=>_.activeDurationMs>0).length,T=a[0];for(let _ of a)if(!T||_.activeDurationMs>T.activeDurationMs)T=_;return{totalText:P(N),totalFullText:P(N),avgText:R>0?P(Math.round(N/R)):"0s",peakDate:T&&T.activeDurationMs>0?W(T.date):"—",peakValueText:T&&T.activeDurationMs>0?P(T.activeDurationMs):"0s"}}let s=a.reduce((N,R)=>N+R.assistantTurns,0),l=a.reduce((N,R)=>N+R.userMessages,0),f=s+l,k=a.filter((N)=>N.assistantTurns>0||N.userMessages>0).length,b=a[0];for(let N of a){let R=b?b.assistantTurns+b.userMessages:0;if(!b||N.assistantTurns+N.userMessages>R)b=N}let H=b?b.assistantTurns+b.userMessages:0;return{totalText:`${f.toLocaleString()} 轮`,totalFullText:`助手 ${s.toLocaleString()} 轮 · 用户 ${l.toLocaleString()} 问`,avgText:k>0?`${(f/k).toFixed(1)} 轮/天`:"0 轮/天",peakDate:b&&H>0?W(b.date):"—",peakValueText:b&&H>0?`${H.toLocaleString()} 轮`:"0 轮"}},[a,d]),j=w(()=>{if(M){let s=a.find((l)=>l.date===M);if(s)return s}for(let s=a.length-1;s>=0;s--){let l=a[s];if(l&&(l.totalTokens>0||l.activeDurationMs>0||l.runs>0))return l}return a[a.length-1]},[a,M]),z=w(()=>{if(d==="tokens")return Math.max(1,...a.map((s)=>s.totalTokens));if(d==="duration")return Math.max(1000,...a.map((s)=>s.activeDurationMs));return Math.max(1,...a.map((s)=>s.assistantTurns+s.userMessages))},[a,d]),m=w(()=>{if(a.length<=7)return a.map((f)=>f.date);let s=6,l=[];for(let f=0;f<s;f++){let k=Math.round(f*(a.length-1)/(s-1)),b=a[k];if(b)l.push(b.date)}return l},[a]);if(!D)return e(p,{title:"每日趋势",action:e(v,{value:d,onChange:(s)=>g(s),options:ce}),children:e("div",{className:c("surface.empty"),children:"当前时间范围内暂无活跃数据"})});return e(p,{title:"每日趋势",action:e(v,{value:d,onChange:(s)=>g(s),options:ce}),children:n("div",{className:"p-4 space-y-4",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 font-mono text-dim tabular-nums",children:[n("span",{children:["汇总 ",e("span",{className:"text-ink",children:F.totalText})]}),n("span",{children:["日均 ",e("span",{className:"text-ink",children:F.avgText})]}),n("span",{children:["峰值 ",e("span",{className:"text-ink",children:F.peakValueText}),F.peakDate!=="—"?n("span",{className:"text-faint",children:[" (",F.peakDate,")"]}):null]})]}),n("div",{className:"flex items-center gap-3 text-[11px] text-dim",children:[d==="tokens"&&n(h,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent/40"}),"缓存读"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"输入"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"输出"]})]}),d==="duration"&&n(h,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"工作调度"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"模型推理"]})]}),d==="activity"&&n(h,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"助手回复"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"用户提问"]})]})]})]}),n("div",{className:"relative h-44 w-full pt-1",children:[n("div",{className:"absolute inset-0 flex flex-col justify-between pointer-events-none pb-5 text-[10px] text-faint/60",children:[e("div",{className:"border-b border-line/40 w-full"}),e("div",{className:"border-b border-line/30 w-full"}),e("div",{className:"border-b border-line/40 w-full"})]}),n("section",{"aria-label":"每日趋势柱状序列",className:"relative h-full flex flex-col justify-between",onMouseLeave:()=>C(null),children:[e("div",{className:"flex-1 flex items-end gap-1 sm:gap-1.5 pb-2",children:a.map((s)=>{let l=s.totalTokens;if(d==="duration")l=s.activeDurationMs;else if(d==="activity")l=s.assistantTurns+s.userMessages;let f=l<=0,k=f?0:Math.max(3,Math.min(100,l/z*100)),b=j?.date===s.date;return n("button",{type:"button","aria-label":`${s.date} 统计数据`,className:"flex-1 h-full flex flex-col justify-end items-center group cursor-pointer relative min-w-0 bg-transparent p-0 border-0 focus:outline-hidden",onMouseEnter:()=>C(s.date),onFocus:()=>C(s.date),onClick:()=>C(s.date),children:[e("div",{className:u("absolute inset-y-0 w-full rounded-xs transition-colors pointer-events-none",b?"bg-accent/10":"group-hover:bg-raised/60")}),f?e("div",{className:"h-1 w-full max-w-[24px] rounded-full bg-raised group-hover:bg-dim/30"}):n("div",{className:"w-full max-w-[24px] rounded-t-xs overflow-hidden flex flex-col justify-end transition-all duration-150",style:{height:`${k}%`},children:[d==="tokens"&&n(h,{children:[s.outputTokens>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${s.outputTokens/s.totalTokens*100}%`}}),s.inputTokens+s.cacheWriteTokens>0&&e("div",{className:"bg-accent transition-all duration-200",style:{height:`${(s.inputTokens+s.cacheWriteTokens)/s.totalTokens*100}%`}}),s.cacheReadTokens>0&&e("div",{className:"bg-accent/40 transition-all duration-200",style:{height:`${s.cacheReadTokens/s.totalTokens*100}%`}})]}),d==="duration"&&n(h,{children:[s.generationMs>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${Math.min(100,s.generationMs/Math.max(1,s.activeDurationMs)*100)}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]}),d==="activity"&&n(h,{children:[s.userMessages>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${s.userMessages/Math.max(1,s.assistantTurns+s.userMessages)*100}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]})]}),b&&e("div",{className:"absolute -bottom-1 size-1 rounded-full bg-accent"})]},s.date)})}),e("div",{className:u("flex items-center pt-1.5 text-[10px] text-faint font-mono tabular-nums",a.length<=7?"gap-1 sm:gap-1.5":"justify-between"),children:m.map((s)=>e("div",{className:u("whitespace-nowrap",a.length<=7&&"flex-1 text-center"),children:W(s)},s))})]})]}),e("div",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-line pt-3 font-mono text-xs tabular-nums",children:j?n(h,{children:[e("span",{className:"text-ink",children:Z(j.date)}),n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 text-dim",children:[n("span",{children:["Token ",e("span",{className:"text-ink",children:S(j.totalTokens)})]}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:P(j.activeDurationMs)})]}),n("span",{children:["交互 ",n("span",{className:"text-ink",children:[j.assistantTurns+j.userMessages," 轮"]})]}),n("span",{children:["工具 ",n("span",{className:"text-ink",children:[j.toolCalls," 次"]})]})]})]}):e("span",{className:"font-sans text-faint",children:"悬停柱状图查看单日明细"})})]})})}function pe(t){let{cn:u,SettingGroup:v}=x(),{daily:p,hourly:c}=t,[a,d]=r(null),g=w(()=>{let l=new Map;for(let k of c)l.set(k.hour,k);let f=[];for(let k=0;k<24;k++){let b=l.get(k);if(b)f.push(b);else f.push({hour:k,totalTokens:0,activeDurationMs:0,userMessages:0,assistantTurns:0,runs:0})}return f},[c]),M=w(()=>{let l=g[0];for(let f of g)if(!l||f.totalTokens>l.totalTokens)l=f;return l&&l.totalTokens>0?l:null},[g]),C=w(()=>g.reduce((l,f)=>l+f.totalTokens,0),[g]),D=w(()=>Math.max(1,...g.map((l)=>l.totalTokens)),[g]),F=w(()=>{if(C<=0)return 0;return g.filter((f)=>f.hour>=8&&f.hour<20).reduce((f,k)=>f+k.totalTokens,0)/C},[g,C]),j=w(()=>Math.max(1,...p.map((l)=>l.totalTokens)),[p]),z=w(()=>{let l=0,f=0;for(let k of p)if(k.totalTokens>0||k.activeDurationMs>0||k.runs>0){if(f++,f>l)l=f}else f=0;return l},[p]),m=w(()=>p.filter((l)=>l.totalTokens>0||l.activeDurationMs>0||l.runs>0).length,[p]),s=a!==null?g[a]:M;return n(v,{title:"活跃时段与热力",action:n("div",{className:"flex items-center gap-3 font-mono text-xs text-faint tabular-nums",children:[n("span",{children:["日间占比 ",B(F)]}),n("span",{children:["连续活跃 ",z," 天"]}),n("span",{children:["活跃 ",m,"/",p.length," 天"]})]}),children:[n("div",{className:"p-4 space-y-3",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[e("span",{className:"text-dim",children:"24 小时分布"}),s?n("div",{className:"flex items-center gap-3 font-mono text-dim tabular-nums",children:[n("span",{className:"text-ink",children:[a!==null?"时段 ":"高峰 ",String(s.hour).padStart(2,"0"),":00 -"," ",String((s.hour+1)%24).padStart(2,"0"),":00"]}),e("span",{className:"text-ink",children:S(s.totalTokens)}),s.activeDurationMs>0&&e("span",{children:P(s.activeDurationMs)})]}):e("span",{className:"text-faint",children:"暂无时段分布"})]}),n("section",{"aria-label":"24 小时活跃分布序列",className:"h-28 w-full flex flex-col justify-between pt-1",onMouseLeave:()=>d(null),children:[e("div",{className:"flex-1 flex items-end gap-1.5 pb-1.5",children:g.map((l)=>{let f=M?.hour===l.hour,k=a===l.hour,b=l.totalTokens>0?Math.max(6,l.totalTokens/D*100):0,H=`${String(l.hour).padStart(2,"0")}:00 - ${String((l.hour+1)%24).padStart(2,"0")}:00
|
|
2
|
-
消耗: ${L(l.totalTokens)} Token
|
|
3
|
-
耗时: ${P(l.activeDurationMs)}
|
|
4
|
-
助手轮次: ${l.assistantTurns} 轮`;return e("button",{type:"button","aria-label":`${String(l.hour).padStart(2,"0")}:00 时段统计`,className:"flex-1 h-full flex flex-col justify-end items-center group relative cursor-pointer bg-transparent p-0 border-0 focus:outline-hidden",title:H,onMouseEnter:()=>d(l.hour),onFocus:()=>d(l.hour),onClick:()=>d(l.hour),children:b>0?e("div",{className:u("w-full max-w-[20px] rounded-t-xs transition-all duration-200",f||k?"bg-accent":"bg-accent/55 group-hover:bg-accent"),style:{height:`${b}%`}}):e("div",{className:"h-1 w-full max-w-[20px] rounded-full bg-raised group-hover:bg-dim/30"})},l.hour)})}),n("div",{className:"flex justify-between items-center text-[10px] text-faint font-mono pt-1.5 border-t border-line/40",children:[e("span",{children:"00:00"}),e("span",{children:"04:00"}),e("span",{children:"08:00"}),e("span",{children:"12:00"}),e("span",{children:"16:00"}),e("span",{children:"20:00"}),e("span",{children:"23:00"})]})]})]}),n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"text-xs text-dim",children:["自然日热力 (",p.length," 天)"]}),e("div",{className:"flex flex-wrap items-center gap-1.5",children:p.map((l)=>{let f="bg-raised";if(l.totalTokens>0){let b=l.totalTokens/j;if(b<=0.33)f="bg-accent/30";else if(b<=0.66)f="bg-accent/60";else f="bg-accent"}let k=`${Z(l.date)}
|
|
5
|
-
消耗: ${L(l.totalTokens)} Token
|
|
6
|
-
耗时: ${P(l.activeDurationMs)}
|
|
7
|
-
助手轮次: ${l.assistantTurns} 轮`;return e("div",{className:u("size-3.5 rounded-xs transition-transform hover:scale-125 cursor-pointer",f),title:k},l.date)})})]})]})}var xe=[{value:"7d",label:"近 7 天"},{value:"30d",label:"近 30 天"},{value:"90d",label:"近 90 天"},{value:"all",label:"全部"}],q=new Map,me=[];function X(t,u){return`${t}:${u??"all"}`}function Le(t){let{connection:u,onOpen:v}=t,{Button:p,PageLayout:c,Segmented:a,SettingGroup:d,style:g}=x(),[M,C]=r("30d"),[D,F]=r(null),[j,z]=r("projects"),[m,s]=r(()=>q.get(X("30d",null))??null),[l,f]=r(()=>!q.has(X("30d",null))),[k,b]=r(null),[H,N]=r(()=>me),R=i(0),T=y(async()=>{let A=++R.current,O=X(M,D),ee=q.get(O);if(ee)s(ee);f(!0);try{let E=new URLSearchParams({range:M,tzOffset:String(new Date().getTimezoneOffset())});if(D)E.set("projectID",D);let U=await u.request(`/api/stats?${E.toString()}`);if(A!==R.current)return;if(q.set(O,U),s(U),b(null),U.projects)N((de)=>{let te=new Map(de.map((I)=>[I.id,I.name]));for(let I of U.projects)if(I.projectID)te.set(I.projectID,I.name);let ne=Array.from(te.entries()).map(([I,fe])=>({id:I,name:fe}));return me=ne,ne})}catch(E){if(A===R.current)b(E instanceof Error?E.message:"加载统计数据失败")}finally{if(A===R.current)f(!1)}},[u,M,D]);o(()=>(T(),()=>{R.current++}),[T]);let _=w(()=>{if(!D)return null;if(D===V)return"独立聊天";return(H.find((O)=>O.id===D)??m?.projects.find((O)=>O.projectID===D))?.name??"指定项目"},[D,H,m]);return n(c,{title:_?n(h,{children:["统计 ",n("span",{className:"text-dim",children:["· ",_]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(h,{children:[D&&e(p,{size:"sm",variant:"ghost",onClick:()=>F(null),children:"返回全部"}),e(a,{value:M,onChange:C,options:xe})]}),children:[k&&n("div",{className:"mb-4 flex items-center justify-between rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:[e("span",{children:k}),e(p,{size:"sm",variant:"ghost",onClick:()=>{T()},className:"text-danger hover:text-danger",children:"重试"})]}),l&&!m?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载统计…"}):!m?e("div",{className:g("surface.card","p-12 text-center text-sm text-dim"),children:"暂无统计数据"}):n("div",{className:"space-y-8",children:[e(d,{title:"核心总览",unboxed:!0,children:n("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[n("div",{className:g("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"总 Token 消耗"}),n("span",{className:"font-mono tabular-nums",children:["缓存命中 ",B(m.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${L(m.overview.totalTokens)} Token`,children:S(m.overview.totalTokens)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:["输入 ",S(m.overview.inputTokens)]}),n("span",{children:["输出 ",S(m.overview.outputTokens)]}),n("span",{children:["缓存读 ",S(m.overview.cacheReadTokens)]})]})]}),n("div",{className:g("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"活跃工作耗时"}),n("span",{className:"font-mono tabular-nums",children:["日均"," ",m.overview.activeDays>0?P(m.overview.activeDurationMs/m.overview.activeDays):"0s"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:P(m.overview.activeDurationMs)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:["模型推理 ",P(m.overview.generationMs)]}),n("span",{children:["并发累计 ",P(m.overview.cumulativeRunDurationMs)]})]})]}),n("div",{className:g("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"会话与工作流"}),n("span",{className:"font-mono tabular-nums",children:[m.overview.activeProjects,"/",m.overview.totalProjects," 活跃项目"]})]}),n("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:[m.overview.sessionCount.toLocaleString()," 个会话"]}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:[m.overview.mainSessionCount," 主会话 / ",m.overview.subSessionCount," 子代理"]}),n("span",{children:[m.overview.userMessages," 提问 / ",m.overview.assistantTurns," 回复"]})]})]}),n("div",{className:g("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"吞吐效率与调用"}),n("span",{className:"font-mono tabular-nums",children:[m.overview.compactions," 次折叠"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:m.overview.avgTps!==null?`${m.overview.avgTps.toFixed(1)} tok/s`:`${m.overview.toolCalls.toLocaleString()} 次调用`}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-[11px] text-dim tabular-nums",children:[n("span",{children:[m.overview.toolCalls.toLocaleString()," 次工具调用"]}),n("span",{children:[m.overview.runCount.toLocaleString()," 次运行"]})]})]})]})}),e(ue,{daily:m.daily}),e(pe,{daily:m.daily,hourly:m.hourly}),e(d,{title:"分类明细",action:e(a,{value:j,onChange:z,options:[{value:"projects",label:`项目消耗 (${m.projects.length})`},{value:"models",label:`模型分析 (${m.models.length})`},{value:"tools",label:`工具调用 (${m.tools.length})`},{value:"sessions",label:`高消耗会话 (${m.topSessions.length})`}]}),children:n("div",{className:"animate-fade",children:[j==="projects"&&e(oe,{projects:m.projects,selectedProjectID:D,onSelectProject:F,onOpenSession:v}),j==="models"&&e(re,{models:m.models}),j==="tools"&&e(ie,{tools:m.tools}),j==="sessions"&&e(le,{sessions:m.topSessions,onOpenSession:v})]},j)})]})]})}export{Le as StatsPage};
|
package/web/chunk-2wwj27b9.js.br
DELETED
|
Binary file
|
package/web/chunk-2wwj27b9.js.gz
DELETED
|
Binary file
|
package/web/chunk-33mmrjdp.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sl}from"./chunk-fba06jm8.js";export{Sl as QuestionDock};
|
package/web/chunk-33mmrjdp.js.br
DELETED
package/web/chunk-33mmrjdp.js.gz
DELETED
|
Binary file
|
package/web/chunk-33tb7q04.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r,h,e,n,x,s,be,Qn,ie}from"./chunk-fba06jm8.js";var u=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]],d=s("chart-spline",u);function Ai(t){let i=x();i.useTheme();let[m,c]=r("preview"),o=t.streaming&&!t.rendered,l=!t.streaming&&!t.rendered&&Boolean(t.error),a=m==="code"||o;return n(i.Panel,{"aria-label":t.title,"data-render-pending":t.pending&&!l?"true":void 0,className:"group/graph relative my-4 font-sans not-italic first:mt-0 last:mb-0",children:[e("div",{role:"toolbar","aria-label":`${t.title}操作`,className:o?"absolute top-2 right-2 z-10 flex items-center":i.style("surface.toolbarFloating","absolute top-2 right-2 z-10 opacity-0 transition-opacity duration-150 group-hover/graph:opacity-100 focus-within:opacity-100 [@media(hover:none)]:opacity-70"),children:o?n("span",{className:i.style("control.badge","gap-1.5 rounded-full px-2 py-0.5 text-[11px]"),children:[e(ie,{className:"size-3 animate-spin"}),"生成",t.title]}):n(h,{children:[e("button",{type:"button","aria-label":a?"查看图表":"查看代码",title:a?"查看图表":"查看代码",onClick:()=>c(a?"preview":"code"),className:"flex size-6 items-center justify-center rounded-md text-dim hover:bg-raised hover:text-ink [&_svg]:size-3.5",children:a?e(d,{}):e(Qn,{})}),e(i.CopyButton,{text:t.code,size:"icon-sm",label:"复制代码"})]})}),a&&e(i.Code,{code:t.code,lang:t.codeLang,className:"px-4 py-3"}),l&&!a&&n("div",{role:"alert",className:"flex flex-col items-center gap-2 px-4 py-8 text-center",children:[e(be,{className:"size-5 text-warning"}),e("p",{className:"max-w-full text-xs break-words text-dim",children:t.error}),e("button",{type:"button",onClick:()=>c("code"),className:"text-xs text-accent-strong underline underline-offset-2",children:"查看代码"})]}),e("div",{hidden:a||l,children:t.children})]})}
|
|
2
|
-
export{Ai};
|
package/web/chunk-33tb7q04.js.br
DELETED
|
Binary file
|
package/web/chunk-33tb7q04.js.gz
DELETED
|
Binary file
|
package/web/chunk-3txb4sha.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{hs}from"./chunk-bdypt5mj.js";export{hs as createWardleyServices};
|
package/web/chunk-3txb4sha.js.br
DELETED
|
Binary file
|
package/web/chunk-3txb4sha.js.gz
DELETED
|
Binary file
|
package/web/chunk-3xgfsx7y.js
DELETED
package/web/chunk-3xgfsx7y.js.br
DELETED
|
Binary file
|
package/web/chunk-3xgfsx7y.js.gz
DELETED
|
Binary file
|
package/web/chunk-40jka4r7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_e,Ns,St,Nr,ll,fo,Mn,Kr,yt,Wa,bi,Qr,cl,Ms,Jr}from"./chunk-fzmrnh17.js";function Z(l){return l.innerRadius}function k(l){return l.outerRadius}function b(l){return l.startAngle}function _(l){return l.endAngle}function nn(l){return l&&l.padAngle}function en(l,d,q,P,x,h,S,r){var D=q-l,a=P-d,n=S-x,y=r-h,u=y*D-n*a;if(u*u<yt)return;return u=(n*(d-h)-y*(l-x))/u,[l+u*D,d+u*a]}function L(l,d,q,P,x,h,S){var r=l-q,D=d-P,a=(S?h:-h)/Kr(r*r+D*D),n=a*D,y=-a*r,u=l+n,s=d+y,t=q+n,f=P+y,j=(u+t)/2,o=(s+f)/2,g=t-u,c=f-s,v=g*g+c*c,A=x-h,R=u*f-t*s,E=(c<0?-1:1)*Kr(ll(0,A*A*v-R*R)),I=(R*c-g*E)/v,O=(-R*g-c*E)/v,T=(R*c+g*E)/v,m=(-R*g+c*E)/v,p=I-j,e=O-o,i=T-j,z=m-o;if(p*p+e*e>i*i+z*z)I=T,O=m;return{cx:I,cy:O,x01:-n,y01:-y,x11:I*(x/A-1),y11:O*(x/A-1)}}function mn(){var l=Z,d=k,q=_e(0),P=null,x=b,h=_,S=nn,r=null,D=Jr(a);function a(){var n,y,u=+l.apply(this,arguments),s=+d.apply(this,arguments),t=x.apply(this,arguments)-bi,f=h.apply(this,arguments)-bi,j=Ns(f-t),o=f>t;if(!r)r=n=D();if(s<u)y=s,s=u,u=y;if(!(s>yt))r.moveTo(0,0);else if(j>Qr-yt){if(r.moveTo(s*Nr(t),s*Mn(t)),r.arc(0,0,s,t,f,!o),u>yt)r.moveTo(u*Nr(f),u*Mn(f)),r.arc(0,0,u,f,t,o)}else{var g=t,c=f,v=t,A=f,R=j,E=j,I=S.apply(this,arguments)/2,O=I>yt&&(P?+P.apply(this,arguments):Kr(u*u+s*s)),T=fo(Ns(s-u)/2,+q.apply(this,arguments)),m=T,p=T,e,i;if(O>yt){var z=Ms(O/u*Mn(I)),F=Ms(O/s*Mn(I));if((R-=z*2)>yt)z*=o?1:-1,v+=z,A-=z;else R=0,v=A=(t+f)/2;if((E-=F*2)>yt)F*=o?1:-1,g+=F,c-=F;else E=0,g=c=(t+f)/2}var B=s*Nr(g),C=s*Mn(g),G=u*Nr(A),H=u*Mn(A);if(T>yt){var J=s*Nr(c),K=s*Mn(c),M=u*Nr(v),N=u*Mn(v),w;if(j<Wa)if(w=en(B,C,M,N,J,K,G,H)){var Q=B-w[0],U=C-w[1],V=J-w[0],W=K-w[1],X=1/Mn(cl((Q*V+U*W)/(Kr(Q*Q+U*U)*Kr(V*V+W*W)))/2),Y=Kr(w[0]*w[0]+w[1]*w[1]);m=fo(T,(u-Y)/(X-1)),p=fo(T,(s-Y)/(X+1))}else m=p=0}if(!(E>yt))r.moveTo(B,C);else if(p>yt)if(e=L(M,N,B,C,s,p,o),i=L(J,K,G,H,s,p,o),r.moveTo(e.cx+e.x01,e.cy+e.y01),p<T)r.arc(e.cx,e.cy,p,St(e.y01,e.x01),St(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,p,St(e.y01,e.x01),St(e.y11,e.x11),!o),r.arc(0,0,s,St(e.cy+e.y11,e.cx+e.x11),St(i.cy+i.y11,i.cx+i.x11),!o),r.arc(i.cx,i.cy,p,St(i.y11,i.x11),St(i.y01,i.x01),!o);else r.moveTo(B,C),r.arc(0,0,s,g,c,!o);if(!(u>yt)||!(R>yt))r.lineTo(G,H);else if(m>yt)if(e=L(G,H,J,K,u,-m,o),i=L(B,C,M,N,u,-m,o),r.lineTo(e.cx+e.x01,e.cy+e.y01),m<T)r.arc(e.cx,e.cy,m,St(e.y01,e.x01),St(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,m,St(e.y01,e.x01),St(e.y11,e.x11),!o),r.arc(0,0,u,St(e.cy+e.y11,e.cx+e.x11),St(i.cy+i.y11,i.cx+i.x11),o),r.arc(i.cx,i.cy,m,St(i.y11,i.x11),St(i.y01,i.x01),!o);else r.arc(0,0,u,A,v,o)}if(r.closePath(),n)return r=null,n+""||null}return a.centroid=function(){var n=(+l.apply(this,arguments)+ +d.apply(this,arguments))/2,y=(+x.apply(this,arguments)+ +h.apply(this,arguments))/2-Wa/2;return[Nr(y)*n,Mn(y)*n]},a.innerRadius=function(n){return arguments.length?(l=typeof n==="function"?n:_e(+n),a):l},a.outerRadius=function(n){return arguments.length?(d=typeof n==="function"?n:_e(+n),a):d},a.cornerRadius=function(n){return arguments.length?(q=typeof n==="function"?n:_e(+n),a):q},a.padRadius=function(n){return arguments.length?(P=n==null?null:typeof n==="function"?n:_e(+n),a):P},a.startAngle=function(n){return arguments.length?(x=typeof n==="function"?n:_e(+n),a):x},a.endAngle=function(n){return arguments.length?(h=typeof n==="function"?n:_e(+n),a):h},a.padAngle=function(n){return arguments.length?(S=typeof n==="function"?n:_e(+n),a):S},a.context=function(n){return arguments.length?(r=n==null?null:n,a):r},a}
|
|
2
|
-
export{mn};
|
package/web/chunk-40jka4r7.js.br
DELETED
|
Binary file
|
package/web/chunk-40jka4r7.js.gz
DELETED
|
Binary file
|
package/web/chunk-41vh5n86.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function C(t){return Math.abs(t=Math.round(t))>=1000000000000000000000?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function g(t,r){if(!isFinite(t)||t===0)return null;var i=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"),e=t.slice(0,i);return[e.length>1?e[0]+e.slice(2):e,+t.slice(i+1)]}function En(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 xr(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]})}xr.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=xr(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(En(p)/3)))*3,w=Math.pow(10,-y),s=Z((f=xr(f),f.type="f",f),{suffix:Q[8+y/3]});return function(S){return s(w*S)}}return{format:Z,formatPrefix:V}}var D,An,Ui;Y({thousands:",",grouping:[3],currency:["$",""]});function Y(t){return D=U(t),An=D.format,Ui=D.formatPrefix,D}export{En,xr,An,Ui};
|
package/web/chunk-41vh5n86.js.br
DELETED
|
Binary file
|
package/web/chunk-41vh5n86.js.gz
DELETED
|
Binary file
|
package/web/chunk-5kz048x3.js
DELETED
package/web/chunk-5kz048x3.js.br
DELETED
|
Binary file
|
package/web/chunk-5kz048x3.js.gz
DELETED
|
Binary file
|
package/web/chunk-5mbz8yj9.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{re}from"./chunk-js8dvtfg.js";import{t,a,B,S,U,A,R,I,L,D,P,N,u,Ua,f,Or,Ci,X}from"./chunk-fzmrnh17.js";import{ui,me}from"./chunk-bdypt5mj.js";var H="position frame",_="frame positioned",F="position relation",G="relation positioned",pe=t(function(e){a.debug("options str",e)},"setOptions"),ve=t(function(){return{}},"getOptions"),be=t(function(){V(),A()},"clear");function V(){M={}}t(V,"reset");var we=B.eventmodeling,ye=t(()=>X({...we,...S().eventmodeling}),"getConfig"),M={};function j(){let e=Pe,{ast:i}=M,n=C();if(!i)throw Error("No data for EventModel");return i.frames.forEach((r,o)=>{let s=Z(r,i.dataEntities,n);e=y(e,{$kind:H,index:o,frame:r,textProps:s});let l=void 0;if(oe(r))a.debug("source frame",r.sourceFrames),l=i.frames.filter((c)=>r.sourceFrames.some((m)=>m.$refText===c.name)),l.forEach((c)=>{e=y(e,{$kind:F,index:o,frame:r,sourceFrame:c})});else e=y(e,{$kind:F,index:o,frame:r})}),e={...e,sortedSwimlanesArray:O(e.swimlanes)},e}t(j,"getState");function Y(e){M.ast=void 0;let i=new Set;for(let n of e.frames){if(i.has(n.name)){let r=n.$cstNode?.range.start.line,o=r===void 0?"":` on line ${r+1}`;throw Error(`Duplicate event modeling frame ID "${n.name}"${o}`)}i.add(n.name)}M.ast=e}t(Y,"setAst");var d={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function C(){return d}t(C,"getDiagramProps");var Pe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function z(e){let i=e.split(".");if(i.length===2)return i[0];return}t(z,"extractNamespace");function K(e){let i=e.split(".");if(i.length===2)return i[1];return e}t(K,"extractName");function q(e,i){if(!i||i.length===0)return;return Object.values(e).find((n)=>n.namespace===i)}t(q,"findSwimlaneByNamespace");function w(e,i,n){return Math.max(i,...Object.keys(e).filter((r)=>{let o=Number.parseInt(r);return o>i&&o<n}).map((r)=>Number.parseInt(r)))+1}t(w,"findNextAvailableIndex");function J(e,i){let n=z(e.entityIdentifier),r=q(i,n);switch(e.modelEntityType){case"ui":case"pcr":case"processor":if(r)return{index:r.index,label:r.namespace||d.labelUiAutomation};else if(n)return{index:w(i,0,100),label:d.labelUiAutomationPrefix+n};return{index:0,label:d.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":if(r)return{index:r.index,label:r.namespace||d.labelCommandReadModel};else if(n)return{index:w(i,100,200),label:d.labelCommandReadModelPrefix+n};return{index:100,label:d.labelCommandReadModel};case"evt":case"event":default:if(r)return{index:r.index,label:r.namespace||d.labelEvents};else if(n)return{index:w(i,200,300),label:d.labelEventsPrefix+n};return{index:200,label:d.labelEvents}}}t(J,"calculateSwimlaneProps");function Q(e){let{themeVariables:i}=S();switch(e.modelEntityType){case"ui":return{fill:i.emUiFill??"white",stroke:i.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:i.emProcessorFill??"#edb3f6",stroke:i.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:i.emReadModelFill??"#d3f1a2",stroke:i.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:i.emCommandFill??"#bcd6fe",stroke:i.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:i.emEventFill??"#ffb778",stroke:i.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}t(Q,"calculateEntityVisualProps");function Z(e,i,n){let r=S(),o=U(K(e.entityIdentifier)??"",r),s,l={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"},m=`<b>${Or(o,n.textMaxWidth,l)}</b>`;if(e.dataInlineValue)s=e.dataInlineValue,s=s.substring(s.indexOf("{")+1),s=s.substring(0,s.lastIndexOf("}")-1),s=U(s,r),s=Or(s,n.textMaxWidth,l),s=s.replaceAll(" "," ");if(e.dataReference){let b=i.find((k)=>k.name===e.dataReference?.$refText);if(b)s=b.dataBlockValue,s=s.substring(s.indexOf(`{
|
|
2
|
-
`)+2),s=s.substring(0,s.lastIndexOf("}")-1),s=U(s,r),s=Or(s,n.textMaxWidth,l),s=s.replaceAll(" "," "),s+="<br/>"}let x=s!==void 0;if(x)m+=`<br/><br/><code style="text-align: left; display: block;max-width:${n.textMaxWidth}px">${s}</code>`;let h={fontSize:l.fontSize,fontWeight:l.fontWeight,fontFamily:l.fontFamily},g=Ci(m,h),v=x?g.width/3:g.width,p={content:m,width:v,height:g.height};return a.debug(`[${e.name}] ${e.entityIdentifier} text`,p),p}t(Z,"calculateTextProps");function ee(e,i){let n=i,r=Q(n.frame),o={width:n.textProps.width+2*d.boxTextPadding,height:n.textProps.height+2*d.boxTextPadding};return[{$kind:_,frame:n.frame,index:n.index,visual:r,dimension:o,textProps:n.textProps}]}t(ee,"decidePositionFrame");function te(e,i,n){if(i===void 0)return d.contentStartX;if(i.index===e.index&&e.r)return e.r+d.boxPadding;if(n===void 0)return d.contentStartX;return n.r-d.boxOverlap+d.boxPadding}t(te,"calculateX");function ne(e,i){let n=[...e.map((r)=>r.r),i];return Math.max(...n)}t(ne,"calculateMaxRight");function O(e){return Object.values(e).sort((i,n)=>i.index-n.index)}t(O,"sortedSwimlanesArray");function ie(e,i){let n=i,r=J(n.frame,e.swimlanes),o;if(r.index in e.swimlanes)o=e.swimlanes[r.index];else o={index:r.index,label:r.label,r:0,y:r.index*d.swimlaneMinHeight+d.swimlaneGap,height:d.swimlaneMinHeight,maxHeight:d.swimlaneMinHeight};let s=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,l=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,c={width:Math.max(d.boxMinWidth,Math.min(d.boxMaxWidth,n.dimension.width))+2*d.boxPadding,height:Math.max(d.boxMinHeight,Math.min(d.boxMaxHeight,n.dimension.height))+2*d.boxPadding},m=te(o,l,s),x=m+c.width+d.boxPadding,h=ne(Object.values(e.swimlanes),x);o.r=m+c.width,o.maxHeight=Math.max(o.maxHeight,c.height),o.height=Math.max(d.swimlaneMinHeight,o.maxHeight)+2*d.swimlanePadding;let g={x:m,y:d.swimlanePadding+o.y,r:x,dimension:c,leftSibling:!1,swimlane:o,visual:n.visual,text:n.textProps.content,frame:n.frame,index:n.index},v={...e,boxes:[...e.boxes,g],swimlanes:{...e.swimlanes,[`${o.index}`]:o},previousSwimlaneNumber:r.index,previousFrame:n.frame,maxR:h},p=O(v.swimlanes);if(p.length>0)p[0].y=0;for(let b=1;b<p.length;b++){let k=p[b],W=p[b-1];k.y=W.y+W.height+d.swimlaneGap}return v}t(ie,"evolveFramePositioned");function ae(e,i){if(e===0&&i.sourceFrames.length===0)return!0;return!1}t(ae,"isFirstFrame");function oe(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}t(oe,"hasSourceFrame");function E(e,i){if(i===void 0||i===null)return;return e.find((n)=>n.frame.name===i.name)}t(E,"findBoxByFrame");function se(e,i,n){if(n<0)return;for(let r=n;r>=0;r--){let o=e[r];if(o.swimlane.index!==i)return o}return}t(se,"findBoxByLineIndex");function de(e,i){let n=i;if(ae(n.index,n.frame))return[];let r=E(e.boxes,n.frame);if(r===void 0)throw Error(`Target box not found for frame ${n.frame.name}`);let o;if(n.sourceFrame)o=E(e.boxes,n.sourceFrame);else{if(ui(n.frame))return[];o=se(e.boxes,r.swimlane.index,n.index-1)}if(o===void 0)return[];return[{$kind:G,frame:n.frame,index:n.index,sourceBox:o,targetBox:r}]}t(de,"decidePositionRelation");function le(e,i){let n=i,r={visual:{fill:"none",stroke:"#000"},source:{x:n.sourceBox.x,y:n.sourceBox.y},target:{x:n.targetBox.x,y:n.targetBox.y},sourceBox:n.sourceBox,targetBox:n.targetBox};return{...e,relations:[...e.relations,r]}}t(le,"evolveRelationPositioned");var Se={[H]:ee,[F]:de},Me={[_]:ie,[G]:le};function ce(e,i){let n=Se[i.$kind];if(n===void 0||n===null)return[];let r=n(e,i);return a.debug("decided events",r),r}t(ce,"decide");function ue(e,i){let n=i.reduce((r,o)=>{let s=Me[o.$kind];if(s===void 0||s===null)return r;return s(r,o)},e);return a.debug("evolve events",{state:e,newState:n,events:i}),n}t(ue,"evolve");function y(e,i){let n=ce(e,i);return ue(e,n)}t(y,"dispatch");var T={getConfig:ye,preserveCommentsWhenParsing:!0,setOptions:pe,getOptions:ve,clear:be,setAccTitle:R,getAccTitle:I,getAccDescription:D,setAccDescription:L,setDiagramTitle:P,getDiagramTitle:N,setAst:Y,getDiagramProps:C,getState:j},ke={parse:t(async(e)=>{let i=await me("eventmodeling",e);a.debug(i),T.setAst(i),re(i,T)},"parse")},Fe=u(),Be=Fe?.eventmodeling;function xe(e,i){return(n)=>{let r=n.swimlane.y+i.swimlanePadding,o=e.append("g").attr("class","em-box");o.append("rect").attr("x",n.x).attr("y",r).attr("rx","3").attr("width",n.dimension.width).attr("height",n.dimension.height).attr("stroke",n.visual.stroke).attr("fill",n.visual.fill),o.append("foreignObject").attr("x",n.x+i.boxPadding).attr("y",r+10).attr("width",n.dimension.width-2*i.boxPadding).attr("height",n.dimension.height-2*i.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(n.text)}}t(xe,"renderD3Box");function fe(e,i){return e>i}t(fe,"dirUpwards");function ge(e,i,n,r){return(o)=>{let s=o.sourceBox.swimlane.y+i.swimlanePadding,l=o.targetBox.swimlane.y+i.swimlanePadding,c=fe(s,l),m=o.sourceBox.x+o.sourceBox.dimension.width*2/3,x=o.targetBox.x+o.targetBox.dimension.width/3,h,g;if(a.debug(`rendering relation up=${c} for `,{sourceBox:o.sourceBox,targetBox:o.targetBox}),c)h=s,g=l+o.targetBox.dimension.height;else h=s+o.sourceBox.dimension.height,g=l;let v=r.emRelationStroke??o.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",o.visual.fill).attr("stroke",v).attr("stroke-width","1").attr("marker-end",`url(#${n})`).attr("d",`M${m} ${h} L${x} ${g}`)}}t(ge,"renderD3Relation");function he(e,i,n,r){return(o)=>{let s=e.append("g").attr("class","em-swimlane"),l=r.emSwimlaneBackgroundOdd??"rgb(250,250,250)",c=r.emSwimlaneBackgroundStroke??"rgb(240,240,240)";s.append("rect").attr("x",0).attr("y",o.y).attr("rx","3").attr("width",i+n.swimlanePadding).attr("height",o.height).attr("fill",l).attr("stroke",c),s.append("text").attr("font-weight",n.swimlaneTextFontWeight).attr("x",30).attr("y",o.y+30).text(o.label)}}t(he,"renderD3Swimlane");var Ee=t(function(e,i,n,r){if(a.debug("in eventmodeling renderer",e+`
|
|
3
|
-
`,"id:",i,n),!Be)throw Error("EventModeling config not found");let o=r.db,{themeVariables:s,eventmodeling:l}=u(),c=f(`[id="${i}"]`),m=o.getDiagramProps(),x=o.getState(),h=`em-arrowhead-${i}`,g=s.emArrowhead??"#000000";x.sortedSwimlanesArray.forEach(he(c,x.maxR,m,s)),x.boxes.forEach(xe(c,m)),x.relations.forEach(ge(c,m,h,s)),c.append("defs").append("marker").attr("id",h).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",g),Ua(void 0,c,l?.padding??30,l?.useMaxWidth)},"draw"),Ae={draw:Ee},$e=t((e)=>"","getStyles"),Re=$e,Ue={parser:ke,db:T,renderer:Ae,styles:Re};export{Ue as diagram};
|
package/web/chunk-5mbz8yj9.js.br
DELETED
|
Binary file
|
package/web/chunk-5mbz8yj9.js.gz
DELETED
|
Binary file
|
package/web/chunk-6024wfxb.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import{vr}from"./chunk-3xgfsx7y.js";import{re}from"./chunk-js8dvtfg.js";import{t,a,B,S,U,G,A,R,I,L,D,P,N,Q,Mr,qt,X}from"./chunk-fzmrnh17.js";import{me}from"./chunk-bdypt5mj.js";var W=/[─━│┃└┗├┣]/,z=/[└┗├┣]/,J=/[─━]/,E=/^[\s│┃]+$/,_=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,M=/^\s*%%/,K=" ";function O(n){return n.some((r)=>W.test(r))}t(O,"isBoxDrawingFormat");function Y(n){for(let r of n){let e=z.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(Y,"inferSegmentWidth");function F(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,i)=>{let c=parseInt(i,10),o=r.get(c);return o?`line ${o}`:e})}t(F,"remapErrorLines");function Z(n){let r=n.split(`
|
|
2
|
-
`),e=new Map,i=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){i=g;break}if(i===-1)return{text:n,lineMap:e};let c=[];for(let g=i+1;g<r.length;g++){let d=r[g];if(d.trim()===""||M.test(d)||_.test(d))continue;if(E.test(d))continue;c.push(d.replace(/\t/g," "))}if(!O(c))return{text:n,lineMap:e};let o=Y(c),s=[],l=0;for(let g=0;g<=i;g++)s.push(r[g]),l++,e.set(l,g+1);for(let g=i+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){s.push(d),l++,e.set(l,f);continue}if(M.test(d)){s.push(d),l++,e.set(l,f);continue}if(_.test(d)){s.push(d),l++,e.set(l,f);continue}if(E.test(d))continue;let h=d.replace(/\t/g," "),w=z.exec(h);if(w?.index!==void 0){let u=w.index,x=Math.round(u/o)+1,m=u+1;while(m<h.length&&J.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let b=h.slice(m).trimEnd();if(!b)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let j=K.repeat(x);s.push(j+b),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(W.test(h))s.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else s.push(d),l++,e.set(l,f)}return{text:s.join(`
|
|
3
|
-
`),lineMap:e}}t(Z,"preprocessBoxDrawing");var v=new vr(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ee=t(()=>{v.reset(),A()},"clear"),te=t(()=>v.records.stack[0],"getRoot"),ne=t(()=>v.records.cnt,"getCount"),ie=B.treeView,oe=t(()=>X(ie,S().treeView),"getConfig"),se=t((n,r,e,i,c,o)=>{while(n<=v.records.stack[v.records.stack.length-1].level)v.records.stack.pop();let s={id:v.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:i,description:o,children:[]};v.records.stack[v.records.stack.length-1].children.push(s),v.records.stack.push(s)},"addNode"),ae={clear:ee,addNode:se,getRoot:te,getCount:ne,getConfig:oe,getAccTitle:I,getAccDescription:D,getDiagramTitle:N,setAccDescription:L,setAccTitle:R,setDiagramTitle:P},y=ae,ce=t((n)=>{re(n,y);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,i=r.name,c=i.endsWith("/");if(c)i=i.slice(0,-1);let o=c?"directory":"file",s=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?U(d,S()):void 0;y.addNode(e,i,o,s,g,p)}},"populate"),le={parse:t(async(n)=>{let{text:r,lineMap:e}=Z(n);try{let i=await me("treeView",r);a.debug(i),ce(i)}catch(i){if(e.size>0&&i instanceof Error)i.message=F(i.message,e);throw i}},"parse")},C={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function q(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let i=n.lastIndexOf(".");if(i>0){let c=n.substring(i).toLowerCase(),o=r?.extensionIcons;return o?.[c]??o?.[c.slice(1)]}return}t(q,"detectIcon");function T(n,r){if(n.includes(":"))return n;if(n in C.icons||!r)return`${C.prefix}:${n}`;return`${r}:${n}`}t(T,"qualifyIcon");function k(n,r){if(n.icon==="none")return;if(n.icon)return T(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=q(n.name,r);if(e==="none")return;if(e)return T(e,r.defaultIconPack)}return`${C.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(k,"getNodeIcon");Mr([{name:C.prefix,icons:C}]);var V=14,de=4,he=16,pe=t(async(n,r)=>{let e=[],i=t((o)=>{let s=k(o,r);if(s)e.push({icon:s,node:o});o.children.forEach(i)},"collect");i(n);let c=await Promise.all(e.map(async({icon:o,node:s})=>({id:s.id,svg:await qt(o,{height:V,width:V})})));return new Map(c.map(({id:o,svg:s})=>[o,s]))},"resolveNodeIcons"),fe=t((n,r,e,i,c,o)=>{let s=i.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=V+de,d=k(e,c),p=d!==void 0;if(d)s.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(o.get(e.id)??"");let f=s.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,x=n+c.paddingX+(p?g:0);f.attr("x",x),f.attr("y",r+u/2);let m=x+w,b=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:b,height:u},e.cssClass?.split(/\s+/).includes("highlight"))s.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:s,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),H=t((n,r,e,i,c,o)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",i).attr("y2",c).attr("stroke-width",o).attr("class","treeView-node-line"),"positionLine"),ge=t((n,r,e,i)=>{let c=0,o=0,s=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),x=fe(u,c,f,p,h,i);s.push(x);let{height:m,width:b}=f.BBox;H(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),o=Math.max(o,u+b),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((x)=>{g(x,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:x,height:m}=p.children[p.children.length-1].BBox;H(n,h+e.paddingX,w+u,h+e.paddingX,x+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=s.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...s.map((h)=>h.labelRightEdge))+he;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();o=Math.max(o,f+u.width+e.paddingX)}}for(let p of s)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=o-p.node.BBox.x+8;f.attr("width",h),o=Math.max(o,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:o}},"drawTree"),ue=t(async(n,r,e,i)=>{a.debug(`Rendering treeView diagram
|
|
4
|
-
`+n);let c=i.db,o=c.getRoot(),s=c.getConfig(),l=Q(r),g=l.append("g");g.attr("class","tree-view");let d=await pe(o,s),{totalHeight:p,totalWidth:f}=ge(g,o,s,d);l.attr("viewBox",`-${s.lineThickness/2} 0 ${f} ${p}`),G(l,p,f,s.useMaxWidth)},"draw"),we={draw:ue},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:i,iconColor:c,descriptionColor:o,highlightBg:s,highlightStroke:l}=X(ve,n);return`
|
|
5
|
-
.treeView-node-label {
|
|
6
|
-
font-size: ${r};
|
|
7
|
-
fill: ${e};
|
|
8
|
-
white-space: pre;
|
|
9
|
-
}
|
|
10
|
-
.treeView-node-dir {
|
|
11
|
-
font-weight: bold;
|
|
12
|
-
}
|
|
13
|
-
.treeView-node-line {
|
|
14
|
-
stroke: ${i};
|
|
15
|
-
}
|
|
16
|
-
.treeView-node-icon {
|
|
17
|
-
color: ${c};
|
|
18
|
-
}
|
|
19
|
-
.treeView-node-description {
|
|
20
|
-
font-size: ${r};
|
|
21
|
-
fill: ${o};
|
|
22
|
-
font-style: italic;
|
|
23
|
-
white-space: pre;
|
|
24
|
-
}
|
|
25
|
-
.treeView-highlight-bg {
|
|
26
|
-
fill: ${s};
|
|
27
|
-
stroke: ${l};
|
|
28
|
-
stroke-width: 1;
|
|
29
|
-
}
|
|
30
|
-
`},"styles"),Ce=be,Ee={db:y,renderer:xe,parser:le,styles:Ce};export{Ee as diagram};
|
package/web/chunk-6024wfxb.js.br
DELETED
|
Binary file
|
package/web/chunk-6024wfxb.js.gz
DELETED
|
Binary file
|
package/web/chunk-6ey4c6gw.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wn}from"./chunk-fba06jm8.js";var X={};wn(X,{default:()=>yn});var J={};wn(J,{default:()=>qn});var vr=typeof global=="object"&&global&&global.Object===Object&&global,H=vr;var Or=typeof self=="object"&&self&&self.Object===Object&&self,Pr=H||Or||Function("return this")(),qe=Pr;var Ir=qe.Symbol,ft=Ir;var bt=Object.prototype,{hasOwnProperty:Lr,toString:jr}=bt,G=ft?ft.toStringTag:void 0;function Mr(t){var e=Lr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=jr.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var vt=Mr;var Nr=Object.prototype,Dr=Nr.toString;function Rr(t){return Dr.call(t)}var Ot=Rr;var Fr="[object Null]",Br="[object Undefined]",Tt=ft?ft.toStringTag:void 0;function Gr(t){if(t==null)return t===void 0?Br:Fr;return Tt&&Tt in Object(t)?vt(t):Ot(t)}var Bt=Gr;function Ur(t){return t!=null&&typeof t=="object"}var Qe=Ur;var zr="[object Symbol]";function Wr(t){return typeof t=="symbol"||Qe(t)&&Bt(t)==zr}var nn=Wr;function Kr(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var Un=Kr;var Hr=Array.isArray,ae=Hr;var qr=1/0,wt=ft?ft.prototype:void 0,St=wt?wt.toString:void 0;function Pt(t){if(typeof t=="string")return t;if(ae(t))return Un(t,Pt)+"";if(nn(t))return St?St.call(t):"";var e=t+"";return e=="0"&&1/t==-qr?"-0":e}var Ct=Pt;function $r(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ne=$r;function Yr(t){return t}var Kt=Yr;var Xr="[object AsyncFunction]",Zr="[object Function]",Jr="[object GeneratorFunction]",Qr="[object Proxy]";function Vr(t){if(!Ne(t))return!1;var e=Bt(t);return e==Zr||e==Jr||e==Xr||e==Qr}var jn=Vr;var oo=qe["__core-js_shared__"],q=oo;var Et=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function ao(t){return!!Et&&Et in t}var It=ao;var fo=Function.prototype,io=fo.toString;function so(t){if(t!=null){try{return io.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=so;var po=/[\\^$.*+?()[\]{}|]/g,uo=/^\[object .+?Constructor\]$/,mo=Function.prototype,lo=Object.prototype,xo=mo.toString,ho=lo.hasOwnProperty,co=RegExp("^"+xo.call(ho).replace(po,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function go(t){if(!Ne(t)||It(t))return!1;var e=jn(t)?co:uo;return e.test(y(t))}var Lt=go;function yo(t,e){return t==null?void 0:t[e]}var jt=yo;function _o(t,e){var r=jt(t,e);return Lt(r)?r:void 0}var x=_o;var bo=x(qe,"WeakMap"),k=bo;function vo(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Mt=vo;function Oo(){}var Nt=Oo;var Ao=800,To=16,wo=Date.now;function So(t){var e=0,r=0;return function(){var o=wo(),a=To-(o-r);if(r=o,a>0){if(++e>=Ao)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Dt=So;function Po(t){return function(){return t}}var Qt=Po;var Co=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ea=Co;var Eo=!Ea?Kt:function(t,e){return Ea(t,"toString",{configurable:!0,enumerable:!1,value:Qt(e),writable:!0})},Rt=Eo;var Io=Dt(Rt),Wi=Io;function Lo(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var Gi=Lo;function jo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var Hi=jo;function Mo(t){return t!==t}var Gt=Mo;function No(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var Ut=No;function Do(t,e,r){return e===e?Ut(t,e,r):Hi(t,Gt,r)}var zt=Do;function Ro(t,e){var r=t==null?0:t.length;return!!r&&zt(t,e,0)>-1}var Wt=Ro;var Fo=9007199254740991,Bo=/^(?:0|[1-9]\d*)$/;function Go(t,e){var r=typeof t;return e=e==null?Fo:e,!!e&&(r=="number"||r!="symbol"&&Bo.test(t))&&(t>-1&&t%1==0&&t<e)}var _r=Go;function Uo(t,e){return t===e||t!==t&&e!==e}var gn=Uo;var Ht=Math.max;function zo(t,e,r){return e=Ht(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Ht(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Mt(t,this,n)}}var Yi=zo;function Wo(t,e){return Wi(Yi(t,e,Kt),t+"")}var wr=Wo;var Ko=9007199254740991;function Ho(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Ko}var j=Ho;function qo(t){return t!=null&&j(t.length)&&!jn(t)}var ht=qo;var $o=Object.prototype;function ko(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||$o;return t===r}var kr=ko;function Yo(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var qt=Yo;var Xo="[object Arguments]";function Zo(t){return Qe(t)&&Bt(t)==Xo}var mt=Zo;var $t=Object.prototype,{hasOwnProperty:Jo,propertyIsEnumerable:Qo}=$t,Vo=mt(function(){return arguments}())?mt:function(t){return Qe(t)&&Jo.call(t,"callee")&&!Qo.call(t,"callee")},Ln=Vo;function ta(){return!1}var kt=ta;var Zt=typeof X=="object"&&X&&!X.nodeType&&X,Yt=Zt&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ea=Yt&&Yt.exports===Zt,Xt=ea?qe.Buffer:void 0,ra=Xt?Xt.isBuffer:void 0,oa=ra||kt,yn=oa;var aa="[object Arguments]",fa="[object Array]",ia="[object Boolean]",na="[object Date]",sa="[object Error]",pa="[object Function]",ua="[object Map]",ma="[object Number]",la="[object Object]",da="[object RegExp]",xa="[object Set]",ha="[object String]",ca="[object WeakMap]",ga="[object ArrayBuffer]",ya="[object DataView]",_a="[object Float32Array]",ba="[object Float64Array]",va="[object Int8Array]",Oa="[object Int16Array]",Ta="[object Int32Array]",wa="[object Uint8Array]",Sa="[object Uint8ClampedArray]",Ca="[object Uint16Array]",ja="[object Uint32Array]",u={};u[_a]=u[ba]=u[va]=u[Oa]=u[Ta]=u[wa]=u[Sa]=u[Ca]=u[ja]=!0;u[aa]=u[fa]=u[ga]=u[ia]=u[ya]=u[na]=u[sa]=u[pa]=u[ua]=u[ma]=u[la]=u[da]=u[xa]=u[ha]=u[ca]=!1;function Fa(t){return Qe(t)&&j(t.length)&&!!u[Bt(t)]}var Jt=Fa;function Ba(t){return function(e){return t(e)}}var Cr=Ba;var Vt=typeof J=="object"&&J&&!J.nodeType&&J,U=Vt&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ga=U&&U.exports===Vt,lt=Ga&&H.process,Ua=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return lt&<.binding&<.binding("util")}catch(e){}}(),qn=Ua;var te=qn&&qn.isTypedArray,za=te?Cr(te):Jt,Sr=za;var Wa=Object.prototype,Ka=Wa.hasOwnProperty;function Ha(t,e){var r=ae(t),o=!r&&Ln(t),a=!r&&!o&&yn(t),f=!r&&!o&&!a&&Sr(t),i=r||o||a||f,n=i?qt(t.length,String):[],s=n.length;for(var p in t)if((e||Ka.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||_r(p,s))))n.push(p);return n}var Zi=Ha;function qa(t,e){return function(r){return t(e(r))}}var Xi=qa;var $a=Xi(Object.keys,Object),ee=$a;var ka=Object.prototype,Ya=ka.hasOwnProperty;function Xa(t){if(!kr(t))return ee(t);var e=[];for(var r in Object(t))if(Ya.call(t,r)&&r!="constructor")e.push(r);return e}var Aa=Xa;function Za(t){return ht(t)?Zi(t):Aa(t)}var Ve=Za;var Ja=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qa=/^\w*$/;function Va(t,e){if(ae(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||nn(t))return!0;return Qa.test(t)||!Ja.test(t)||e!=null&&t in Object(e)}var M=Va;var tf=x(Object,"create"),_=tf;function ef(){this.__data__=_?_(null):{},this.size=0}var re=ef;function rf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var oe=rf;var of="__lodash_hash_undefined__",af=Object.prototype,ff=af.hasOwnProperty;function nf(t){var e=this.__data__;if(_){var r=e[t];return r===of?void 0:r}return ff.call(e,t)?e[t]:void 0}var fe=nf;var sf=Object.prototype,pf=sf.hasOwnProperty;function uf(t){var e=this.__data__;return _?e[t]!==void 0:pf.call(e,t)}var ie=uf;var mf="__lodash_hash_undefined__";function lf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?mf:e,this}var ne=lf;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=re;N.prototype.delete=oe;N.prototype.get=fe;N.prototype.has=ie;N.prototype.set=ne;var dt=N;function df(){this.__data__=[],this.size=0}var se=df;function xf(t,e){var r=t.length;while(r--)if(gn(t[r][0],e))return r;return-1}var O=xf;var hf=Array.prototype,cf=hf.splice;function gf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else cf.call(e,r,1);return--this.size,!0}var pe=gf;function yf(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var ue=yf;function _f(t){return O(this.__data__,t)>-1}var me=_f;function bf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var le=bf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=se;D.prototype.delete=pe;D.prototype.get=ue;D.prototype.has=me;D.prototype.set=le;var A=D;var vf=x(qe,"Map"),T=vf;function Of(){this.size=0,this.__data__={hash:new dt,map:new(T||A),string:new dt}}var de=Of;function Af(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var he=Af;function Tf(t,e){var r=t.__data__;return he(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=Tf;function wf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var ce=wf;function Sf(t){return w(this,t).get(t)}var ge=Sf;function Pf(t){return w(this,t).has(t)}var ye=Pf;function Cf(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var _e=Cf;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=de;R.prototype.delete=ce;R.prototype.get=ge;R.prototype.has=ye;R.prototype.set=_e;var E=R;var Ef="Expected a function";function xt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(Ef);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(xt.Cache||E),r}xt.Cache=E;var be=xt;var If=500;function Lf(t){var e=be(t,function(o){if(r.size===If)r.clear();return o}),r=e.cache;return e}var ve=Lf;var jf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mf=/\\(\\)?/g,Nf=ve(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(jf,function(r,o,a,f){e.push(a?f.replace(Mf,"$1"):o||r)}),e}),Oe=Nf;function Df(t){return t==null?"":Ct(t)}var Ki=Df;function Rf(t,e){if(ae(t))return t;return M(t,e)?[t]:Oe(Ki(t))}var Tr=Rf;var Ff=1/0;function Bf(t){if(typeof t=="string"||nn(t))return t;var e=t+"";return e=="0"&&1/t==-Ff?"-0":e}var Vn=Bf;function Gf(t,e){e=Tr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[Vn(e[r++])];return r&&r==o?t:void 0}var Er=Gf;function Uf(t,e,r){var o=t==null?void 0:Er(t,e);return o===void 0?r:o}var Ae=Uf;function zf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var Ra=zf;var Te=ft?ft.isConcatSpreadable:void 0;function Wf(t){return ae(t)||Ln(t)||!!(Te&&t&&t[Te])}var we=Wf;function Se(t,e,r,o,a){var f=-1,i=t.length;r||(r=we),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Se(n,e-1,r,o,a);else Ra(a,n);else if(!o)a[a.length]=n}return a}var La=Se;function Kf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Pe=Kf;function Hf(){this.__data__=new A,this.size=0}var Ce=Hf;function qf(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ee=qf;function $f(t){return this.__data__.get(t)}var Ie=$f;function kf(t){return this.__data__.has(t)}var Le=kf;var Yf=200;function Xf(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<Yf-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var je=Xf;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Ce;F.prototype.delete=Ee;F.prototype.get=Ie;F.prototype.has=Le;F.prototype.set=je;var Wn=F;function Zf(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=Zf;function Jf(){return[]}var Qi=Jf;var Qf=Object.prototype,Vf=Qf.propertyIsEnumerable,Me=Object.getOwnPropertySymbols,ti=!Me?Qi:function(t){if(t==null)return[];return t=Object(t),Q(Me(t),function(e){return Vf.call(t,e)})},Ia=ti;function ei(t,e,r){var o=e(t);return ae(t)?o:Ra(o,r(t))}var Ji=ei;function ri(t){return Ji(t,Ve,Ia)}var mi=ri;var oi=x(qe,"DataView"),V=oi;var ai=x(qe,"Promise"),tt=ai;var fi=x(qe,"Set"),S=fi;var De="[object Map]",ii="[object Object]",Re="[object Promise]",Fe="[object Set]",Be="[object WeakMap]",Ge="[object DataView]",ni=y(V),si=y(T),pi=y(tt),ui=y(S),li=y(k),I=Bt;if(V&&I(new V(new ArrayBuffer(1)))!=Ge||T&&I(new T)!=De||tt&&I(tt.resolve())!=Re||S&&I(new S)!=Fe||k&&I(new k)!=Be)I=function(t){var e=Bt(t),r=e==ii?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case ni:return Ge;case si:return De;case pi:return Re;case ui:return Fe;case li:return Be}return e};var rn=I;var di=qe.Uint8Array,Da=di;var xi="__lodash_hash_undefined__";function hi(t){return this.__data__.set(t,xi),this}var Ue=hi;function ci(t){return this.__data__.has(t)}var ze=ci;function et(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}et.prototype.add=et.prototype.push=Ue;et.prototype.has=ze;var rt=et;function gi(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Ke=gi;function yi(t,e){return t.has(e)}var ot=yi;var _i=1,bi=2;function vi(t,e,r,o,a,f){var i=r&_i,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&bi?new rt:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var b=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(b!==void 0){if(b)continue;m=!1;break}if(g){if(!Ke(e,function(P,C){if(!ot(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var at=vi;function Oi(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var He=Oi;function Ai(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ai;var Ti=1,wi=2,Si="[object Boolean]",Pi="[object Date]",Ci="[object Error]",Ei="[object Map]",Ii="[object Number]",Li="[object RegExp]",ji="[object Set]",Mi="[object String]",Ni="[object Symbol]",Di="[object ArrayBuffer]",Ri="[object DataView]",$e=ft?ft.prototype:void 0,ct=$e?$e.valueOf:void 0;function Fi(t,e,r,o,a,f,i){switch(r){case Ri:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Di:if(t.byteLength!=e.byteLength||!f(new Da(t),new Da(e)))return!1;return!0;case Si:case Pi:case Ii:return gn(+t,+e);case Ci:return t.name==e.name&&t.message==e.message;case Li:case Mi:return t==e+"";case Ei:var n=He;case ji:var s=o&Ti;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=wi,i.set(t,e);var d=at(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ni:if(ct)return ct.call(t)==ct.call(e)}return!1}var ke=Fi;var Bi=1,Ui=Object.prototype,zi=Ui.hasOwnProperty;function qi(t,e,r,o,a,f){var i=r&Bi,n=mi(t),s=n.length,p=mi(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:zi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var b=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var _t=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(_t===void 0?P===C||a(P,C,r,o,f):_t)){c=!1;break}b||(b=m=="constructor")}if(c&&!b){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var Ye=qi;var $i=1,Xe="[object Arguments]",Ze="[object Array]",it="[object Object]",ki=Object.prototype,Je=ki.hasOwnProperty;function Vi(t,e,r,o,a,f){var i=ae(t),n=ae(e),s=i?Ze:rn(t),p=n?Ze:rn(e);s=s==Xe?it:s,p=p==Xe?it:p;var d=s==it,l=p==it,m=s==p;if(m&&yn(t)){if(!yn(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new Wn),i||Sr(t)?at(t,e,r,o,a,f):ke(t,e,s,r,o,a,f);if(!(r&$i)){var g=d&&Je.call(t,"__wrapped__"),h=l&&Je.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,b=h?e.value():e;return f||(f=new Wn),a(c,b,r,o,f)}}if(!m)return!1;return f||(f=new Wn),Ye(t,e,r,o,a,f)}var tr=Vi;function er(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!Qe(t)&&!Qe(e))return t!==t&&e!==e;return tr(t,e,r,o,er,a)}var nt=er;var tn=1,en=2;function on(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new Wn;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,tn|en,o,l):m))return!1}}return!0}var rr=on;function fn(t){return t===t&&!Ne(t)}var st=fn;function sn(t){var e=Ve(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,st(a)]}return e}var or=sn;function pn(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var pt=pn;function un(t){var e=or(t);if(e.length==1&&e[0][2])return pt(e[0][0],e[0][1]);return function(r){return r===t||rr(r,t,e)}}var ar=un;function mn(t,e){return t!=null&&e in Object(t)}var fr=mn;function ln(t,e,r){e=Tr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=Vn(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&_r(i,a)&&(ae(t)||Ln(t))}var eo=ln;function dn(t,e){return t!=null&&eo(t,e,fr)}var to=dn;var xn=1,hn=2;function cn(t,e){if(M(t)&&st(e))return pt(Vn(t),e);return function(r){var o=Ae(r,t);return o===void 0&&o===e?to(r,t):nt(e,o,xn|hn)}}var ir=cn;function _n(t){return function(e){return e==null?void 0:e[t]}}var no=_n;function bn(t){return function(e){return Er(e,t)}}var nr=bn;function vn(t){return M(t)?no(Vn(t)):nr(t)}var sr=vn;function On(t){if(typeof t=="function")return t;if(t==null)return Kt;if(typeof t=="object")return ae(t)?ir(t[0],t[1]):ar(t);return sr(t)}var At=On;function An(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var pr=An;var Tn=pr(),Na=Tn;function Sn(t,e){return t&&Na(t,e,Ve)}var Ma=Sn;function Pn(t,e){return function(r,o){if(r==null)return r;if(!ht(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var ur=Pn;var Cn=ur(Ma),Ar=Cn;function En(t){return Qe(t)&&ht(t)}var ro=En;function In(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var mr=In;function Mn(t){return typeof t=="function"?t:Kt}var Pa=Mn;function Nn(t,e){var r=ae(t)?Gi:Ar;return r(t,Pa(e))}var v=Nn;function Dn(t,e){var r=[];return Ar(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var lr=Dn;function Rn(t,e){var r=ae(t)?Q:lr;return r(t,At(e,3))}var Ft=Rn;function Fn(t,e){return Un(e,function(r){return t[r]})}var dr=Fn;function Bn(t){return t==null?[]:dr(t,Ve(t))}var an=Bn;var zn="[object Map]",Kn="[object Set]",Hn=Object.prototype,$n=Hn.hasOwnProperty;function kn(t){if(t==null)return!0;if(ht(t)&&(ae(t)||typeof t=="string"||typeof t.splice=="function"||yn(t)||Sr(t)||Ln(t)))return!t.length;var e=rn(t);if(e==zn||e==Kn)return!t.size;if(kr(t))return!Aa(t).length;for(var r in t)if($n.call(t,r))return!1;return!0}var ut=kn;function Yn(t){return t===void 0}var We=Yn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var xr=Xn;function Zn(t,e,r){var o=ae(t)?Pe:xr,a=arguments.length<3;return o(t,At(e,4),r,a,Ar)}var Gn=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?Nt:function(t){return new S(t)},hr=Qn;var ts=200;function es(t,e,r){var o=-1,a=Wt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=mr;else if(f>=ts){var p=e?null:hr(t);if(p)return B(p);i=!1,a=ot,s=new rt}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var cr=es;var rs=wr(function(t){return cr(La(t,1,ro,!0))}),gt=rs;var as="\x00",L="\x00",gr="\x01";class xe{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Qt(void 0),this._defaultEdgeLabelFn=Qt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!jn(t))t=Qt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Ve(this._nodes)}sources(){var t=this;return Ft(this.nodes(),function(e){return ut(t._in[e])})}sinks(){var t=this;return Ft(this.nodes(),function(e){return ut(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return v(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],v(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];v(Ve(this._in[t]),e),delete this._in[t],delete this._preds[t],v(Ve(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(We(e))e=L;else{e+="";for(var r=e;!We(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(We(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Ve(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Ve(e)}successors(t){var e=this._sucs[t];if(e)return Ve(e)}neighbors(t){var e=this.predecessors(t);if(e)return gt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;v(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),v(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)v(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!jn(t))t=Qt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return an(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return Gn(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!We(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!We(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,yr(this._preds[e],t),yr(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],br(this._preds[e],t),br(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=an(r);if(!e)return o;return Ft(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=an(r);if(!e)return o;return Ft(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}xe.prototype._nodeCount=0;xe.prototype._edgeCount=0;function yr(t,e){if(t[e])t[e]++;else t[e]=1}function br(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+gr+f+gr+(We(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function yt(t,e){return z(t,e.v,e.w,e.name)}
|
|
2
|
-
export{qe,ft,Bt,Qe,nn,Un,ae,Ne,Kt,jn,Qt,Ea,Wi,Gi,Hi,_r,gn,Yi,wr,ht,kr,Ln,yn,Cr,qn,Sr,Zi,Xi,Aa,Ve,Ki,Tr,Vn,Er,Ra,La,Wn,Qi,Ia,Ji,mi,rn,Da,eo,to,no,At,Na,Ma,Ar,ro,Pa,v,Ft,an,We,Gn,xe};
|
package/web/chunk-6ey4c6gw.js.br
DELETED
|
Binary file
|
package/web/chunk-6ey4c6gw.js.gz
DELETED
|
Binary file
|
package/web/chunk-6q3p851n.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Uo}from"./chunk-ccy2q2z0.js";export{Uo as default};
|
package/web/chunk-6q3p851n.js.br
DELETED
package/web/chunk-6q3p851n.js.gz
DELETED
|
Binary file
|
package/web/chunk-74g3wh08.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{e,n,x,Pe}from"./chunk-fba06jm8.js";function si(a){let t=a.filter((l)=>l.closedAt===null);if(!t.length)return[];return[{label:"项目",options:t.map((l)=>({value:l.id,label:l.name,description:l.directory}))}]}function li(a){let{Input:t}=x();return n("div",{className:"relative mb-3 min-w-0",children:[e(Pe,{"aria-hidden":!0,className:"pointer-events-none absolute top-3 left-3 size-4 text-faint"}),e(t,{type:"search","aria-label":a.label,placeholder:a.placeholder,value:a.value,onChange:(l)=>a.onChange(l.target.value),className:"h-10 min-w-0 pl-9"})]})}function ci(){return e("div",{role:"status","aria-label":"正在加载",className:"divide-y divide-line",children:[0,1,2].map((a)=>n("div",{className:"h-16 space-y-2 px-4 py-3",children:[e("div",{className:"h-3 w-24 animate-pulse rounded bg-raised"}),e("div",{className:"h-3 w-2/3 animate-pulse rounded bg-raised"})]},a))})}
|
|
2
|
-
export{si,li,ci};
|
package/web/chunk-74g3wh08.js.br
DELETED
|
Binary file
|
package/web/chunk-74g3wh08.js.gz
DELETED
|
Binary file
|
package/web/chunk-78akzkgs.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import{t,Hn,a,S,A,R,I,L,D,P,N,u,F,Ie,Te,Ee,cn,Fe,ze}from"./chunk-fzmrnh17.js";import{Be}from"./chunk-pvahdcgy.js";import{Re}from"./chunk-ceg13tma.js";var Qe=function(){var e=t(function(X,n,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=n);return l},"o"),d=[1,3],f=[1,4],m=[1,5],r=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],V=[2,7],E=[1,26],T=[1,27],q=[1,28],O=[1,29],M=[1,33],U=[1,34],Y=[1,35],B=[1,36],Q=[1,37],H=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],He=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ve=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],be=[1,88],ke=[1,89],ge=[1,90],ye=[1,91],_e=[1,92],ve=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],v=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],Se=[1,116],Ne=[1,117],qe=[1,114],Ce=[1,115],Oe={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(n,l,c,i,p,s,Ae){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:i.setDirection("TB");break;case 18:i.setDirection("BT");break;case 19:i.setDirection("RL");break;case 20:i.setDirection("LR");break;case 21:i.addRequirement(s[o-3],s[o-4]);break;case 22:i.addRequirement(s[o-5],s[o-6]),i.setClass([s[o-5]],s[o-3]);break;case 23:i.setNewReqId(s[o-2]);break;case 24:i.setNewReqText(s[o-2]);break;case 25:i.setNewReqRisk(s[o-2]);break;case 26:i.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=i.RequirementType.REQUIREMENT;break;case 30:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=i.RiskLevel.LOW_RISK;break;case 36:this.$=i.RiskLevel.MED_RISK;break;case 37:this.$=i.RiskLevel.HIGH_RISK;break;case 38:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=i.VerifyType.VERIFY_TEST;break;case 42:i.addElement(s[o-3]);break;case 43:i.addElement(s[o-5]),i.setClass([s[o-5]],s[o-3]);break;case 44:i.setNewElementType(s[o-2]);break;case 45:i.setNewElementDocRef(s[o-2]);break;case 48:i.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:i.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=i.Relationships.CONTAINS;break;case 51:this.$=i.Relationships.COPIES;break;case 52:this.$=i.Relationships.DERIVES;break;case 53:this.$=i.Relationships.SATISFIES;break;case 54:this.$=i.Relationships.VERIFIES;break;case 55:this.$=i.Relationships.REFINES;break;case 56:this.$=i.Relationships.TRACES;break;case 57:this.$=s[o-2],i.defineClass(s[o-1],s[o]);break;case 58:i.setClass(s[o-1],s[o]);break;case 59:i.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],i.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:d,9:f,11:m,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:d,9:f,11:m,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:d,9:f,11:m,13:r},{1:[2,2]},{4:17,5:_,7:13,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:43,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:44,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:45,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:46,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:47,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:48,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:49,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:50,8:V,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:q,24:O,25:23,33:25,41:M,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(He,[2,81]),e(He,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ve,[2,79]),e(Ve,[2,80]),{27:[1,67],29:[1,68]},e(Ve,[2,85]),e(Ve,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},e(ve,[2,60]),e(ve,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e}),e(v,[2,67]),e(v,[2,69]),e(v,[2,70]),e(v,[2,71]),e(v,[2,72]),e(v,[2,73]),e(v,[2,74]),e(v,[2,75]),e(v,[2,76]),e(v,[2,77]),e(v,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:Se,40:Ne,56:113,57:qe,59:Ce},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e},e(ve,[2,61]),e(ve,[2,63]),e(v,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:Se,40:Ne,56:130,57:qe,59:Ce},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:ke,86:ge,87:ye,88:_e}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:Se,40:Ne,56:152,57:qe,59:Ce},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:Se,40:Ne,56:163,57:qe,59:Ce},{5:Se,40:Ne,56:164,57:qe,59:Ce},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(n,l){if(l.recoverable)this.trace(n);else{var c=Error(n);throw c.hash=l,c}},"parseError"),parse:t(function(n){var l=this,c=[0],i=[],p=[null],s=[],Ae=this.table,o="",xe=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Me in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Me))le.yy[Me]=this.yy[Me];if(y.setInput(n,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var $e=y.yylloc;s.push($e);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(w){c.length=c.length-2*w,p.length=p.length-w,s.length=s.length-w}t(mt,"popStack");function nt(){var w=i.pop()||y.lex()||rt;if(typeof w!=="number"){if(w instanceof Array)i=w,w=i.pop();w=l.symbols_[w]||w}return w}t(nt,"lex");var C,Pe,oe,x,kt,Ue,he={},we,z,at,De;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])x=this.defaultActions[oe];else{if(C===null||typeof C>"u")C=nt();x=Ae[oe]&&Ae[oe][C]}if(typeof x>"u"||!x.length||!x[0]){var Ye="";De=[];for(we in Ae[oe])if(this.terminals_[we]&&we>ct)De.push("'"+this.terminals_[we]+"'");if(y.showPosition)Ye="Parse error on line "+(xe+1)+`:
|
|
2
|
-
`+y.showPosition()+`
|
|
3
|
-
Expecting `+De.join(", ")+", got '"+(this.terminals_[C]||C)+"'";else Ye="Parse error on line "+(xe+1)+": Unexpected "+(C==rt?"end of input":"'"+(this.terminals_[C]||C)+"'");this.parseError(Ye,{text:y.match,token:this.terminals_[C]||C,line:y.yylineno,loc:$e,expected:De})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+C);switch(x[0]){case 1:if(c.push(C),p.push(y.yytext),s.push(y.yylloc),c.push(x[1]),C=null,!Pe){if(st=y.yyleng,o=y.yytext,xe=y.yylineno,$e=y.yylloc,it>0)it--}else C=Pe,Pe=null;break;case 2:if(z=this.productions_[x[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Ue=this.performAction.apply(he,[o,st,xe,le.yy,x[1],p,s].concat(ht)),typeof Ue<"u")return Ue;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[x[1]][0]),p.push(he.$),s.push(he._$),at=Ae[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(n,l){if(this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);if(l)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),n},"input"),unput:t(function(n){var l=n.length,c=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===i.length?this.yylloc.first_column:0)+i[i.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(n){this.unput(this.match.slice(n))},"less"),pastInput:t(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var n=this.pastInput(),l=Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
5
|
-
`+l+"^"},"showPosition"),test_match:t(function(n,l){var c,i,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(i=n[0].match(/(?:\r\n?|\n).*/g),i)this.yylineno+=i.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var n,l,c,i;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,i=s,this.options.backtrack_lexer)if(n=this.test_match(c,p[s]),n!==!1)return n;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(n=this.test_match(l,p[i]),n!==!1)return n;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>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(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,i,p){var s=p;switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?: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,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();Oe.lexer=ot;function Le(){this.yy={}}return t(Le,"Parser"),Le.prototype=Oe,Oe.Parser=Le,new Le}();Qe.parser=Qe;var ft=Qe,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=R,this.getAccTitle=I,this.setAccDescription=L,this.getAccDescription=D,this.setDiagramTitle=P,this.getDiagramTitle=N,this.getConfig=t(()=>u().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,d){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:d,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),a.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,d,f){this.relations.push({type:e,src:d,dst:f})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,A()}setCssStyle(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(!d||!m)return;for(let r of d)if(r.includes(","))m.cssStyles.push(...r.split(","));else m.cssStyles.push(r)}}setClass(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(m)for(let r of d){m.classes.push(r);let h=this.classes.get(r)?.styles;if(h)m.cssStyles.push(...h)}}}defineClass(e,d){for(let f of e){let m=this.classes.get(f);if(m===void 0)m={id:f,styles:[],textStyles:[]},this.classes.set(f,m);if(d)d.forEach(function(r){if(/color/.exec(r)){let h=r.replace("fill","bgFill");m.textStyles.push(h)}m.styles.push(r)});this.requirements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))}),this.elements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=u(),d=[],f=[];for(let r of this.requirements.values()){let h=r;h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=d.length,d.push(h)}for(let r of this.elements.values()){let h=r;h.shape="requirementBox",h.look=e.look,h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.colorIndex=d.length,d.push(h)}let m=0;for(let r of this.relations){let h=r.type===this.Relationships.CONTAINS,_={id:`${r.src}-${r.dst}-${m++}`,start:this.requirements.get(r.src)?.name??this.elements.get(r.src)?.name,end:this.requirements.get(r.dst)?.name??this.elements.get(r.dst)?.name,label:`<<${r.type}>>`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};f.push(_)}return{nodes:d,edges:f,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=S(),{theme:d,themeVariables:f}=e,{bkgColorArray:m,borderColorArray:r}=f;if(!Te(d,r))return"";let h=Ee(e.look),_="",V=Ie(m);for(let E=0;E<cn(r);E++){let T=r[E],q=V?`fill: ${m[E%m.length]};`:"";_+=`
|
|
7
|
-
|
|
8
|
-
[data-look="${h}"][data-color-id="color-${E}"].node path {
|
|
9
|
-
stroke: ${T};
|
|
10
|
-
${q}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
[data-look="${h}"][data-color-id="color-${E}"].node rect {
|
|
14
|
-
stroke: ${T};
|
|
15
|
-
${q}
|
|
16
|
-
}
|
|
17
|
-
`}return _},"genColor"),Et=t((e)=>{let d=S(),{look:f,themeVariables:m}=d,{requirementEdgeLabelBackground:r}=m;return`
|
|
18
|
-
${pt()}
|
|
19
|
-
marker {
|
|
20
|
-
fill: ${e.relationColor};
|
|
21
|
-
stroke: ${e.relationColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
marker.cross {
|
|
25
|
-
stroke: ${e.lineColor};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
svg {
|
|
29
|
-
font-family: ${e.fontFamily};
|
|
30
|
-
font-size: ${e.fontSize};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.reqBox {
|
|
34
|
-
fill: ${e.requirementBackground};
|
|
35
|
-
fill-opacity: 1.0;
|
|
36
|
-
stroke: ${e.requirementBorderColor};
|
|
37
|
-
stroke-width: ${e.requirementBorderSize};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.reqTitle, .reqLabel{
|
|
41
|
-
fill: ${e.requirementTextColor};
|
|
42
|
-
}
|
|
43
|
-
.reqLabelBox {
|
|
44
|
-
fill: ${e.relationLabelBackground};
|
|
45
|
-
fill-opacity: 1.0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.req-title-line {
|
|
49
|
-
stroke: ${e.requirementBorderColor};
|
|
50
|
-
stroke-width: ${e.requirementBorderSize};
|
|
51
|
-
}
|
|
52
|
-
.relationshipLine {
|
|
53
|
-
stroke: ${e.relationColor};
|
|
54
|
-
stroke-width: ${f==="neo"?e.strokeWidth:"1px"};
|
|
55
|
-
}
|
|
56
|
-
.relationshipLabel {
|
|
57
|
-
fill: ${e.relationLabelColor};
|
|
58
|
-
}
|
|
59
|
-
.edgeLabel {
|
|
60
|
-
background-color: ${e.edgeLabelBackground};
|
|
61
|
-
}
|
|
62
|
-
.edgeLabel .label rect {
|
|
63
|
-
fill: ${e.edgeLabelBackground};
|
|
64
|
-
}
|
|
65
|
-
.edgeLabel .label text {
|
|
66
|
-
fill: ${e.relationLabelColor};
|
|
67
|
-
}
|
|
68
|
-
.divider {
|
|
69
|
-
stroke: ${e.nodeBorder};
|
|
70
|
-
stroke-width: 1;
|
|
71
|
-
}
|
|
72
|
-
.label {
|
|
73
|
-
font-family: ${e.fontFamily};
|
|
74
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
75
|
-
}
|
|
76
|
-
.label text,span {
|
|
77
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
78
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
79
|
-
}
|
|
80
|
-
.labelBkg {
|
|
81
|
-
background-color: ${r??e.edgeLabelBackground};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
`},"getStyles"),bt=Et,lt={};Hn(lt,{draw:()=>Rt});var Rt=t(async function(e,d,f,m){a.info("REF0:"),a.info("Drawing requirement diagram (unified)",d);let{securityLevel:r,state:h,layout:_,look:V}=u(),E=m.db.getData(),T=Be(d,r);E.type=m.type,E.layoutAlgorithm=ze(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=V==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=d,await Fe(E,T);let q=8;F.insertTitle(T,"requirementDiagramTitleText",h?.titleTopMargin??25,m.db.getDiagramTitle()),Re(T,q,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
|
package/web/chunk-78akzkgs.js.br
DELETED
|
Binary file
|
package/web/chunk-78akzkgs.js.gz
DELETED
|
Binary file
|