@bkm016/basalt 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-3dtgkgam.js +4064 -0
- package/chunk-54qzhq9t.js +50 -0
- package/chunk-9vth0w8q.js +2 -0
- package/chunk-jqtdf0ym.js +63 -0
- package/chunk-n3hfhbe4.js +498 -0
- package/chunk-nzpzjbpp.js +51 -0
- package/chunk-p23eqet9.js +2 -0
- package/chunk-qqs9fqsy.js +4 -0
- package/chunk-scq1dz62.js +8 -0
- package/chunk-x83syrhw.js +44 -0
- package/compiled.js +1 -1
- package/package.json +1 -1
- package/ui-test-worker.js +1 -1
- package/web/chunk-02v1btpv.js +2 -0
- package/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js +1 -0
- package/web/chunk-02xgh26g.js.br +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js +140 -0
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js +16 -0
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +1 -0
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +2 -0
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js +332 -0
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js +2 -0
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js +2 -0
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +2 -0
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1r8npw1h.js +1 -0
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +1 -0
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +1 -0
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js +1 -0
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js +214 -0
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js +34 -0
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js +2 -0
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2z5tpzd0.js +2 -0
- package/web/chunk-2z5tpzd0.js.br +2 -0
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js +99 -0
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +1 -0
- package/web/chunk-3q8tjjp1.js.br +2 -0
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js +4 -0
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js +41 -0
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +1 -0
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js +1 -0
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +1 -0
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +1 -0
- package/web/chunk-4q1j0ehq.js.br +2 -0
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js +7 -0
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +1 -0
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js +291 -0
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +2 -0
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +1 -0
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js +324 -0
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js +169 -0
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +1 -0
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js +1 -0
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js +1 -0
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +1 -0
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js +24 -0
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js +39 -0
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +1 -0
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js +2 -0
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js +40 -0
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js +24 -0
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js +303 -0
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js +292 -0
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js +70 -0
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js +38 -0
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +1 -0
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js +2 -0
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js +2 -0
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js +2 -0
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cgbz97dr.js.gz +0 -0
- package/web/chunk-cjbqey5q.js +1 -0
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js +1 -0
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js +55 -0
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js +7 -0
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js +1 -0
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js +1 -0
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +1 -0
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-ece0ex2b.js +2 -0
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +1 -0
- package/web/chunk-ejrsh0nz.js.br +2 -0
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +1 -0
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-eq4skc30.js +1 -0
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js +1142 -0
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js +1 -0
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js +2 -0
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +1 -0
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js +89 -0
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js +2 -0
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +1 -0
- package/web/chunk-gcyhcbej.js.br +2 -0
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js +1 -0
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js +2 -0
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js +1 -0
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js +1 -0
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +8 -0
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +1 -0
- package/web/chunk-hrng3h6w.js.br +2 -0
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +1 -0
- package/web/chunk-hxyxfhhs.js.br +2 -0
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js +2 -0
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js +370 -0
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js +106 -0
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +1 -0
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +1 -0
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js +2 -0
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js +2 -0
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js +36 -0
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js +2 -0
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +1 -0
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +1 -0
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js +3 -0
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js +84 -0
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js +1 -0
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js +1 -0
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js +1 -0
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js +200 -0
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js +7 -0
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js +1 -0
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +1 -0
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js +1 -0
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +1 -0
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js +1 -0
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js +30 -0
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js +1 -0
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js +98 -0
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js +62 -0
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js +78 -0
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r827h2kc.js +1 -0
- package/web/chunk-r827h2kc.js.br +2 -0
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js +4 -0
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +1 -0
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js +12 -0
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-rxadtk6j.js.gz +0 -0
- package/web/chunk-sk3ssmwp.js +2 -0
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +2 -0
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js +217 -0
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +2 -0
- package/web/chunk-t9hnp1zd.js.br +3 -0
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js +120 -0
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tpps3mfw.js +139 -0
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +1 -0
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +1 -0
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js +1 -0
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vrakntde.js +21 -0
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +2 -0
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js +2 -0
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js +142 -0
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js +1 -0
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js +2 -0
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js +89 -0
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js +2 -0
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js +2 -0
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js +2 -0
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +1 -0
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js +2 -0
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js +2 -0
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js +1 -0
- package/web/chunk-zcetrm2j.js.br +3 -0
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +1 -0
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.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/chunk-0er07d2g.js +0 -51
- package/chunk-0ge4k9gq.js +0 -2
- package/chunk-1t0yzkg7.js +0 -4
- package/chunk-3gw871zb.js +0 -2
- package/chunk-6gzvp0f6.js +0 -50
- package/chunk-71pz02bd.js +0 -8
- package/chunk-khy3j5kp.js +0 -63
- package/chunk-vx4v71t4.js +0 -498
- package/chunk-wvn68m5f.js +0 -4058
- package/chunk-x2ry671h.js +0 -44
- package/web/chunk-01mrggts.js +0 -1
- package/web/chunk-01mrggts.js.br +0 -0
- package/web/chunk-01mrggts.js.gz +0 -0
- package/web/chunk-0b25tje3.js +0 -1
- package/web/chunk-0b25tje3.js.br +0 -0
- package/web/chunk-0b25tje3.js.gz +0 -0
- package/web/chunk-0g46ww9d.js +0 -1
- package/web/chunk-0g46ww9d.js.br +0 -0
- package/web/chunk-0g46ww9d.js.gz +0 -0
- package/web/chunk-0grg8w51.js +0 -200
- package/web/chunk-0grg8w51.js.br +0 -0
- package/web/chunk-0grg8w51.js.gz +0 -0
- package/web/chunk-0qf3m69c.js +0 -24
- package/web/chunk-0qf3m69c.js.br +0 -0
- package/web/chunk-0qf3m69c.js.gz +0 -0
- package/web/chunk-14yejkcn.js +0 -7
- package/web/chunk-14yejkcn.js.br +0 -0
- package/web/chunk-14yejkcn.js.gz +0 -0
- package/web/chunk-1ffzwm6m.js +0 -106
- package/web/chunk-1ffzwm6m.js.br +0 -0
- package/web/chunk-1ffzwm6m.js.gz +0 -0
- package/web/chunk-1ncaw3hk.js +0 -3
- package/web/chunk-1ncaw3hk.js.br +0 -0
- package/web/chunk-1ncaw3hk.js.gz +0 -0
- package/web/chunk-1pffd2va.js +0 -2
- package/web/chunk-1pffd2va.js.br +0 -0
- package/web/chunk-1pffd2va.js.gz +0 -0
- package/web/chunk-1x2kh4he.js +0 -1
- package/web/chunk-1x2kh4he.js.br +0 -0
- package/web/chunk-1x2kh4he.js.gz +0 -0
- package/web/chunk-23atmwvk.js +0 -2
- package/web/chunk-23atmwvk.js.br +0 -0
- package/web/chunk-23atmwvk.js.gz +0 -0
- package/web/chunk-2gfgrjy6.js +0 -142
- package/web/chunk-2gfgrjy6.js.br +0 -0
- package/web/chunk-2gfgrjy6.js.gz +0 -0
- package/web/chunk-2ttatv42.js +0 -2
- package/web/chunk-2ttatv42.js.br +0 -0
- package/web/chunk-2ttatv42.js.gz +0 -0
- package/web/chunk-2vqn82nw.js +0 -139
- package/web/chunk-2vqn82nw.js.br +0 -0
- package/web/chunk-2vqn82nw.js.gz +0 -0
- package/web/chunk-2wzvn2ne.js +0 -1
- package/web/chunk-2wzvn2ne.js.br +0 -0
- package/web/chunk-2wzvn2ne.js.gz +0 -0
- package/web/chunk-3at8qbcv.js +0 -89
- package/web/chunk-3at8qbcv.js.br +0 -0
- package/web/chunk-3at8qbcv.js.gz +0 -0
- package/web/chunk-3b97pd97.js +0 -120
- package/web/chunk-3b97pd97.js.br +0 -0
- package/web/chunk-3b97pd97.js.gz +0 -0
- package/web/chunk-3q5j14ah.js +0 -1
- package/web/chunk-3q5j14ah.js.br +0 -0
- package/web/chunk-3q5j14ah.js.gz +0 -0
- package/web/chunk-45xqp3dn.js +0 -1
- package/web/chunk-45xqp3dn.js.br +0 -0
- package/web/chunk-45xqp3dn.js.gz +0 -0
- package/web/chunk-4fdgpye3.js +0 -2
- package/web/chunk-4fdgpye3.js.br +0 -0
- package/web/chunk-4fdgpye3.js.gz +0 -0
- package/web/chunk-4wpvkw6b.js +0 -1141
- package/web/chunk-4wpvkw6b.js.br +0 -0
- package/web/chunk-4wpvkw6b.js.gz +0 -0
- package/web/chunk-51m79xhr.js +0 -2
- package/web/chunk-51m79xhr.js.br +0 -2
- package/web/chunk-51m79xhr.js.gz +0 -0
- package/web/chunk-5c6q7asc.js +0 -1
- package/web/chunk-5c6q7asc.js.br +0 -0
- package/web/chunk-5c6q7asc.js.gz +0 -0
- package/web/chunk-5vbnqhs0.js +0 -38
- package/web/chunk-5vbnqhs0.js.br +0 -0
- package/web/chunk-5vbnqhs0.js.gz +0 -0
- package/web/chunk-688a15p4.js +0 -2
- package/web/chunk-688a15p4.js.br +0 -0
- package/web/chunk-688a15p4.js.gz +0 -0
- package/web/chunk-6f9btq4p.js +0 -1
- package/web/chunk-6f9btq4p.js.br +0 -0
- package/web/chunk-6f9btq4p.js.gz +0 -0
- package/web/chunk-6geede02.js +0 -217
- package/web/chunk-6geede02.js.br +0 -0
- package/web/chunk-6geede02.js.gz +0 -0
- package/web/chunk-6j37ynfq.js +0 -1
- package/web/chunk-6j37ynfq.js.br +0 -0
- package/web/chunk-6j37ynfq.js.gz +0 -0
- package/web/chunk-7j7btfha.js +0 -292
- package/web/chunk-7j7btfha.js.br +0 -0
- package/web/chunk-7j7btfha.js.gz +0 -0
- package/web/chunk-8299qcyc.js +0 -1
- package/web/chunk-8299qcyc.js.br +0 -0
- package/web/chunk-8299qcyc.js.gz +0 -0
- package/web/chunk-8mncz9c6.js +0 -89
- package/web/chunk-8mncz9c6.js.br +0 -0
- package/web/chunk-8mncz9c6.js.gz +0 -0
- package/web/chunk-8pygn7wf.js +0 -1
- package/web/chunk-8pygn7wf.js.br +0 -0
- package/web/chunk-8pygn7wf.js.gz +0 -0
- package/web/chunk-8ye62j8m.js +0 -2
- package/web/chunk-8ye62j8m.js.br +0 -3
- package/web/chunk-8ye62j8m.js.gz +0 -0
- package/web/chunk-982457hh.js +0 -1
- package/web/chunk-982457hh.js.br +0 -2
- package/web/chunk-982457hh.js.gz +0 -0
- package/web/chunk-9f9pp12b.js +0 -1
- package/web/chunk-9f9pp12b.js.br +0 -0
- package/web/chunk-9f9pp12b.js.gz +0 -0
- package/web/chunk-9j7v0e4v.js +0 -2
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9k6d95ab.js +0 -1
- package/web/chunk-9k6d95ab.js.br +0 -0
- package/web/chunk-9k6d95ab.js.gz +0 -0
- package/web/chunk-9z4tf6fd.js +0 -1
- package/web/chunk-9z4tf6fd.js.br +0 -0
- package/web/chunk-9z4tf6fd.js.gz +0 -0
- package/web/chunk-a11ev6ff.js +0 -1
- package/web/chunk-a11ev6ff.js.br +0 -0
- package/web/chunk-a11ev6ff.js.gz +0 -0
- package/web/chunk-ayamka39.js +0 -1
- package/web/chunk-ayamka39.js.br +0 -0
- package/web/chunk-ayamka39.js.gz +0 -0
- package/web/chunk-b6k80wbw.js +0 -1
- package/web/chunk-b6k80wbw.js.br +0 -0
- package/web/chunk-b6k80wbw.js.gz +0 -0
- package/web/chunk-b6w2gmw0.js +0 -2
- package/web/chunk-b6w2gmw0.js.br +0 -0
- package/web/chunk-b6w2gmw0.js.gz +0 -0
- package/web/chunk-ba22js10.js +0 -84
- package/web/chunk-ba22js10.js.br +0 -0
- package/web/chunk-ba22js10.js.gz +0 -0
- package/web/chunk-bq7y294e.js +0 -34
- package/web/chunk-bq7y294e.js.br +0 -0
- package/web/chunk-bq7y294e.js.gz +0 -0
- package/web/chunk-bw9crrb4.js +0 -1
- package/web/chunk-bw9crrb4.js.br +0 -0
- package/web/chunk-bw9crrb4.js.gz +0 -0
- package/web/chunk-c0vc50pd.js +0 -4
- package/web/chunk-c0vc50pd.js.br +0 -0
- package/web/chunk-c0vc50pd.js.gz +0 -0
- package/web/chunk-c2vtzhbs.js +0 -1
- package/web/chunk-c2vtzhbs.js.br +0 -0
- package/web/chunk-c2vtzhbs.js.gz +0 -0
- package/web/chunk-cf9886tj.js +0 -2
- package/web/chunk-cf9886tj.js.br +0 -0
- package/web/chunk-cf9886tj.js.gz +0 -0
- package/web/chunk-cqf4fzk6.js +0 -16
- package/web/chunk-cqf4fzk6.js.br +0 -0
- package/web/chunk-cqf4fzk6.js.gz +0 -0
- package/web/chunk-ct9sq4ka.js +0 -1
- package/web/chunk-ct9sq4ka.js.br +0 -0
- package/web/chunk-ct9sq4ka.js.gz +0 -0
- package/web/chunk-cy60hc6q.js +0 -2
- package/web/chunk-cy60hc6q.js.br +0 -0
- package/web/chunk-cy60hc6q.js.gz +0 -0
- package/web/chunk-cygtgz2r.js +0 -2
- package/web/chunk-cygtgz2r.js.br +0 -0
- package/web/chunk-cygtgz2r.js.gz +0 -0
- package/web/chunk-dgf0f0er.js +0 -214
- package/web/chunk-dgf0f0er.js.br +0 -0
- package/web/chunk-dgf0f0er.js.gz +0 -0
- package/web/chunk-dscn4mpq.js +0 -4
- package/web/chunk-dscn4mpq.js.br +0 -0
- package/web/chunk-dscn4mpq.js.gz +0 -0
- package/web/chunk-e7683p83.js +0 -1
- package/web/chunk-e7683p83.js.br +0 -0
- package/web/chunk-e7683p83.js.gz +0 -0
- package/web/chunk-eanfvatc.js +0 -1
- package/web/chunk-eanfvatc.js.br +0 -0
- package/web/chunk-eanfvatc.js.gz +0 -0
- package/web/chunk-egfn5522.js +0 -1
- package/web/chunk-egfn5522.js.br +0 -3
- package/web/chunk-egfn5522.js.gz +0 -0
- package/web/chunk-ejk5ec5n.js +0 -1
- package/web/chunk-ejk5ec5n.js.br +0 -0
- package/web/chunk-ejk5ec5n.js.gz +0 -0
- package/web/chunk-fzffxer1.js +0 -41
- package/web/chunk-fzffxer1.js.br +0 -0
- package/web/chunk-fzffxer1.js.gz +0 -0
- package/web/chunk-g19dt2gr.js +0 -55
- package/web/chunk-g19dt2gr.js.br +0 -0
- package/web/chunk-g19dt2gr.js.gz +0 -0
- package/web/chunk-g6cj4czr.js +0 -2
- package/web/chunk-g6cj4czr.js.br +0 -0
- package/web/chunk-g6cj4czr.js.gz +0 -0
- package/web/chunk-gbv8v3z7.js +0 -78
- package/web/chunk-gbv8v3z7.js.br +0 -0
- package/web/chunk-gbv8v3z7.js.gz +0 -0
- package/web/chunk-h1w081tm.js +0 -12
- package/web/chunk-h1w081tm.js.br +0 -0
- package/web/chunk-h1w081tm.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +0 -1
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h87t8gsr.js +0 -1
- package/web/chunk-h87t8gsr.js.br +0 -0
- package/web/chunk-h87t8gsr.js.gz +0 -0
- package/web/chunk-haewrbm7.js +0 -1
- package/web/chunk-haewrbm7.js.br +0 -0
- package/web/chunk-haewrbm7.js.gz +0 -0
- package/web/chunk-hahz28y7.js +0 -2
- package/web/chunk-hahz28y7.js.br +0 -0
- package/web/chunk-hahz28y7.js.gz +0 -0
- package/web/chunk-hqz75fkz.js +0 -1
- package/web/chunk-hqz75fkz.js.br +0 -0
- package/web/chunk-hqz75fkz.js.gz +0 -0
- package/web/chunk-hr4fa514.js +0 -2
- package/web/chunk-hr4fa514.js.br +0 -0
- package/web/chunk-hr4fa514.js.gz +0 -0
- package/web/chunk-j7vtqbbc.js +0 -1
- package/web/chunk-j7vtqbbc.js.br +0 -0
- package/web/chunk-j7vtqbbc.js.gz +0 -0
- package/web/chunk-jt33d37t.js +0 -1
- package/web/chunk-jt33d37t.js.br +0 -0
- package/web/chunk-jt33d37t.js.gz +0 -0
- package/web/chunk-k3qt0rx5.js +0 -2
- package/web/chunk-k3qt0rx5.js.br +0 -0
- package/web/chunk-k3qt0rx5.js.gz +0 -0
- package/web/chunk-kgmw7sh4.js +0 -1
- package/web/chunk-kgmw7sh4.js.br +0 -0
- package/web/chunk-kgmw7sh4.js.gz +0 -0
- package/web/chunk-kjvk8prw.js +0 -1
- package/web/chunk-kjvk8prw.js.br +0 -0
- package/web/chunk-kjvk8prw.js.gz +0 -0
- package/web/chunk-kq7snx3t.js +0 -1
- package/web/chunk-kq7snx3t.js.br +0 -0
- package/web/chunk-kq7snx3t.js.gz +0 -0
- package/web/chunk-kvteqhz2.js +0 -1
- package/web/chunk-kvteqhz2.js.br +0 -2
- package/web/chunk-kvteqhz2.js.gz +0 -0
- package/web/chunk-kypct03a.js +0 -169
- package/web/chunk-kypct03a.js.br +0 -0
- package/web/chunk-kypct03a.js.gz +0 -0
- package/web/chunk-m4hz4v80.js +0 -370
- package/web/chunk-m4hz4v80.js.br +0 -0
- package/web/chunk-m4hz4v80.js.gz +0 -0
- package/web/chunk-m5k8jhya.js +0 -40
- package/web/chunk-m5k8jhya.js.br +0 -0
- package/web/chunk-m5k8jhya.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +0 -2
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mr38k717.js +0 -140
- package/web/chunk-mr38k717.js.br +0 -0
- package/web/chunk-mr38k717.js.gz +0 -0
- package/web/chunk-mtcet6gc.js +0 -2
- package/web/chunk-mtcet6gc.js.br +0 -0
- package/web/chunk-mtcet6gc.js.gz +0 -0
- package/web/chunk-mtfv8gjh.js +0 -291
- package/web/chunk-mtfv8gjh.js.br +0 -0
- package/web/chunk-mtfv8gjh.js.gz +0 -0
- package/web/chunk-nnyjx4ef.js +0 -1
- package/web/chunk-nnyjx4ef.js.br +0 -0
- package/web/chunk-nnyjx4ef.js.gz +0 -0
- package/web/chunk-npn3fk69.js +0 -1
- package/web/chunk-npn3fk69.js.br +0 -2
- package/web/chunk-npn3fk69.js.gz +0 -0
- package/web/chunk-p2gdfpjs.js +0 -2
- package/web/chunk-p2gdfpjs.js.br +0 -0
- package/web/chunk-p2gdfpjs.js.gz +0 -0
- package/web/chunk-q0by2m1w.js +0 -21
- package/web/chunk-q0by2m1w.js.br +0 -0
- package/web/chunk-q0by2m1w.js.gz +0 -0
- package/web/chunk-q5hj3y5k.js +0 -2
- package/web/chunk-q5hj3y5k.js.br +0 -0
- package/web/chunk-q5hj3y5k.js.gz +0 -0
- package/web/chunk-q6k872kv.js +0 -7
- package/web/chunk-q6k872kv.js.br +0 -0
- package/web/chunk-q6k872kv.js.gz +0 -0
- package/web/chunk-q7krdwy7.js +0 -332
- package/web/chunk-q7krdwy7.js.br +0 -0
- package/web/chunk-q7krdwy7.js.gz +0 -0
- package/web/chunk-q7wbksg4.js +0 -1
- package/web/chunk-q7wbksg4.js.br +0 -0
- package/web/chunk-q7wbksg4.js.gz +0 -0
- package/web/chunk-qdxa0c4c.js +0 -1
- package/web/chunk-qdxa0c4c.js.br +0 -0
- package/web/chunk-qdxa0c4c.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +0 -2
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rnhbck1h.js +0 -99
- package/web/chunk-rnhbck1h.js.br +0 -0
- package/web/chunk-rnhbck1h.js.gz +0 -0
- package/web/chunk-rxtzde6n.js +0 -62
- package/web/chunk-rxtzde6n.js.br +0 -0
- package/web/chunk-rxtzde6n.js.gz +0 -0
- package/web/chunk-ryds6qnb.js +0 -2
- package/web/chunk-ryds6qnb.js.br +0 -0
- package/web/chunk-ryds6qnb.js.gz +0 -0
- package/web/chunk-shc8bv2k.js +0 -2
- package/web/chunk-shc8bv2k.js.br +0 -0
- package/web/chunk-shc8bv2k.js.gz +0 -0
- package/web/chunk-stnwzrqv.js +0 -98
- package/web/chunk-stnwzrqv.js.br +0 -0
- package/web/chunk-stnwzrqv.js.gz +0 -0
- package/web/chunk-sy28z9pe.js +0 -2
- package/web/chunk-sy28z9pe.js.br +0 -2
- package/web/chunk-sy28z9pe.js.gz +0 -0
- package/web/chunk-t60hp0qs.js +0 -36
- package/web/chunk-t60hp0qs.js.br +0 -0
- package/web/chunk-t60hp0qs.js.gz +0 -0
- package/web/chunk-t9twwgfe.js +0 -1
- package/web/chunk-t9twwgfe.js.br +0 -0
- package/web/chunk-t9twwgfe.js.gz +0 -0
- package/web/chunk-tbgavq0t.js +0 -2
- package/web/chunk-tbgavq0t.js.br +0 -0
- package/web/chunk-tbgavq0t.js.gz +0 -0
- package/web/chunk-tjma3e4d.js +0 -7
- package/web/chunk-tjma3e4d.js.br +0 -0
- package/web/chunk-tjma3e4d.js.gz +0 -0
- package/web/chunk-tv9rz73h.js +0 -30
- package/web/chunk-tv9rz73h.js.br +0 -0
- package/web/chunk-tv9rz73h.js.gz +0 -0
- package/web/chunk-twgzayjk.js +0 -1
- package/web/chunk-twgzayjk.js.br +0 -0
- package/web/chunk-twgzayjk.js.gz +0 -0
- package/web/chunk-tz4w2nh2.js +0 -303
- package/web/chunk-tz4w2nh2.js.br +0 -0
- package/web/chunk-tz4w2nh2.js.gz +0 -0
- package/web/chunk-v0egh6d3.js +0 -1
- package/web/chunk-v0egh6d3.js.br +0 -0
- package/web/chunk-v0egh6d3.js.gz +0 -0
- package/web/chunk-vcawg8d2.js +0 -1
- package/web/chunk-vcawg8d2.js.br +0 -0
- package/web/chunk-vcawg8d2.js.gz +0 -0
- package/web/chunk-vh8s2rek.js +0 -1
- package/web/chunk-vh8s2rek.js.br +0 -2
- package/web/chunk-vh8s2rek.js.gz +0 -0
- package/web/chunk-vns6bpqm.js +0 -2
- package/web/chunk-vns6bpqm.js.br +0 -0
- package/web/chunk-vns6bpqm.js.gz +0 -0
- package/web/chunk-vvbte0a5.css +0 -1
- package/web/chunk-vvbte0a5.css.br +0 -0
- package/web/chunk-vvbte0a5.css.gz +0 -0
- package/web/chunk-vxzw2t1r.js +0 -1
- package/web/chunk-vxzw2t1r.js.br +0 -0
- package/web/chunk-vxzw2t1r.js.gz +0 -0
- package/web/chunk-w40atygt.js +0 -2
- package/web/chunk-w40atygt.js.br +0 -0
- package/web/chunk-w40atygt.js.gz +0 -0
- package/web/chunk-w4bxgcwm.js +0 -1
- package/web/chunk-w4bxgcwm.js.br +0 -0
- package/web/chunk-w4bxgcwm.js.gz +0 -0
- package/web/chunk-w5t00pns.js +0 -70
- package/web/chunk-w5t00pns.js.br +0 -0
- package/web/chunk-w5t00pns.js.gz +0 -0
- package/web/chunk-wpmzdqba.js +0 -324
- package/web/chunk-wpmzdqba.js.br +0 -0
- package/web/chunk-wpmzdqba.js.gz +0 -0
- package/web/chunk-x9mexzav.js +0 -2
- package/web/chunk-x9mexzav.js.br +0 -0
- package/web/chunk-x9mexzav.js.gz +0 -0
- package/web/chunk-xc74f1nj.js +0 -1
- package/web/chunk-xc74f1nj.js.br +0 -0
- package/web/chunk-xc74f1nj.js.gz +0 -0
- package/web/chunk-xk8637wb.js +0 -1
- package/web/chunk-xk8637wb.js.br +0 -0
- package/web/chunk-xk8637wb.js.gz +0 -0
- package/web/chunk-xs4cyb71.js +0 -1
- package/web/chunk-xs4cyb71.js.br +0 -0
- package/web/chunk-xs4cyb71.js.gz +0 -0
- package/web/chunk-xthg4efe.js +0 -1
- package/web/chunk-xthg4efe.js.br +0 -0
- package/web/chunk-xthg4efe.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +0 -1
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-yet0bbyh.js +0 -1
- package/web/chunk-yet0bbyh.js.br +0 -0
- package/web/chunk-yet0bbyh.js.gz +0 -0
- package/web/chunk-yzcxmqy3.js +0 -1
- package/web/chunk-yzcxmqy3.js.br +0 -0
- package/web/chunk-yzcxmqy3.js.gz +0 -0
- package/web/chunk-z2a9zwwx.js +0 -24
- package/web/chunk-z2a9zwwx.js.br +0 -0
- package/web/chunk-z2a9zwwx.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +0 -1
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/chunk-zeyw59b9.js +0 -2
- package/web/chunk-zeyw59b9.js.br +0 -0
- package/web/chunk-zeyw59b9.js.gz +0 -0
- package/web/chunk-zftk5ww7.js +0 -8
- package/web/chunk-zftk5ww7.js.br +0 -0
- package/web/chunk-zftk5ww7.js.gz +0 -0
- package/web/chunk-zmbp3phd.js +0 -2
- package/web/chunk-zmbp3phd.js.br +0 -0
- package/web/chunk-zmbp3phd.js.gz +0 -0
- package/web/chunk-zpxh70dj.js +0 -1
- package/web/chunk-zpxh70dj.js.br +0 -0
- package/web/chunk-zpxh70dj.js.gz +0 -0
- package/web/chunk-zqhdf12s.js +0 -39
- package/web/chunk-zqhdf12s.js.br +0 -0
- package/web/chunk-zqhdf12s.js.gz +0 -0
- package/web/chunk-zr2xst5w.js +0 -1
- package/web/chunk-zr2xst5w.js.br +0 -0
- package/web/chunk-zr2xst5w.js.gz +0 -0
package/web/chunk-0qf3m69c.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{ae}from"./chunk-zmbp3phd.js";import{t,i,Ke,F,A,W,N,M,P,R,I,O,D,g,J,$i,E,Z}from"./chunk-tz4w2nh2.js";import{In}from"./chunk-q7wbksg4.js";import{fe}from"./chunk-2gfgrjy6.js";import{jt}from"./chunk-shc8bv2k.js";import{Pe}from"./chunk-51m79xhr.js";function Xe(e){var r=0,n=e.children,l=n&&n.length;if(!l)r=1;else while(--l>=0)r+=n[l].value;e.value=r}function me(){return this.eachAfter(Xe)}function ge(e,r){let n=-1;for(let l of this)e.call(r,l,++n,this);return this}function ye(e,r){var n=this,l=[n],o,p,u=-1;while(n=l.pop())if(e.call(r,n,++u,this),o=n.children)for(p=o.length-1;p>=0;--p)l.push(o[p]);return this}function xe(e,r){var n=this,l=[n],o=[],p,u,f,S=-1;while(n=l.pop())if(o.push(n),p=n.children)for(u=0,f=p.length;u<f;++u)l.push(p[u]);while(n=o.pop())e.call(r,n,++S,this);return this}function Se(e,r){let n=-1;for(let l of this)if(e.call(r,l,++n,this))return l}function ve(e){return this.eachAfter(function(r){var n=+e(r.data)||0,l=r.children,o=l&&l.length;while(--o>=0)n+=l[o].value;r.value=n})}function be(e){return this.eachBefore(function(r){if(r.children)r.children.sort(e)})}function we(e){var r=this,n=Ye(r,e),l=[r];while(r!==n)r=r.parent,l.push(r);var o=l.length;while(e!==n)l.splice(o,0,e),e=e.parent;return l}function Ye(e,r){if(e===r)return e;var n=e.ancestors(),l=r.ancestors(),o=null;e=n.pop(),r=l.pop();while(e===r)o=e,e=n.pop(),r=l.pop();return o}function Ce(){var e=this,r=[e];while(e=e.parent)r.push(e);return r}function Te(){return Array.from(this)}function Le(){var e=[];return this.eachBefore(function(r){if(!r.children)e.push(r)}),e}function $e(){var e=this,r=[];return e.each(function(n){if(n!==e)r.push({source:n.parent,target:n})}),r}function*Ae(){var e=this,r,n=[e],l,o,p;do{r=n.reverse(),n=[];while(e=r.pop())if(yield e,l=e.children)for(o=0,p=l.length;o<p;++o)n.push(l[o])}while(n.length)}function te(e,r){if(e instanceof Map){if(e=[void 0,e],r===void 0)r=Ue}else if(r===void 0)r=Ze;var n=new se(e),l,o=[n],p,u,f,S;while(l=o.pop())if((u=r(l.data))&&(S=(u=Array.from(u)).length)){l.children=u;for(f=S-1;f>=0;--f)o.push(p=u[f]=new se(u[f])),p.parent=l,p.depth=l.depth+1}return n.eachBefore(Qe)}function je(){return te(this).eachBefore(Je)}function Ze(e){return e.children}function Ue(e){return Array.isArray(e)?e[1]:null}function Je(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function Qe(e){var r=0;do e.height=r;while((e=e.parent)&&e.height<++r)}function se(e){this.data=e,this.depth=this.height=0,this.parent=null}se.prototype=te.prototype={constructor:se,count:me,each:ge,eachAfter:xe,eachBefore:ye,find:Se,sum:ve,sort:be,path:we,ancestors:Ce,descendants:Te,leaves:Le,links:$e,copy:je,[Symbol.iterator]:Ae};function Ve(e){if(typeof e!=="function")throw Error();return e}function re(){return 0}function U(e){return function(){return e}}function Fe(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Ne(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(l-r)/e.value;while(++f<S)u=p[f],u.y0=n,u.y1=o,u.x0=r,u.x1=r+=u.value*d}function ke(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(o-n)/e.value;while(++f<S)u=p[f],u.x0=r,u.x1=l,u.y0=n,u.y1=n+=u.value*d}var et=(1+Math.sqrt(5))/2;function tt(e,r,n,l,o,p){var u=[],f=r.children,S,d,h=0,T=0,s=f.length,C,b,w=r.value,m,v,q,B,K,le,G;while(h<s){C=o-n,b=p-l;do m=f[T++].value;while(!m&&T<s);v=q=m,le=Math.max(b/C,C/b)/(w*e),G=m*m*le,K=Math.max(q/G,G/v);for(;T<s;++T){if(m+=d=f[T].value,d<v)v=d;if(d>q)q=d;if(G=m*m*le,B=Math.max(q/G,G/v),B>K){m-=d;break}K=B}if(u.push(S={value:m,dice:C<b,children:f.slice(h,T)}),S.dice)Ne(S,n,l,o,w?l+=b*m/w:p);else ke(S,n,l,w?n+=C*m/w:o,p);w-=m,h=T}return u}var Be=function e(r){function n(l,o,p,u,f){tt(r,l,o,p,u,f)}return n.ratio=function(l){return e((l=+l)>1?l:1)},n}(et);function de(){var e=Be,r=!1,n=1,l=1,o=[0],p=re,u=re,f=re,S=re,d=re;function h(s){if(s.x0=s.y0=0,s.x1=n,s.y1=l,s.eachBefore(T),o=[0],r)s.eachBefore(Fe);return s}function T(s){var C=o[s.depth],b=s.x0+C,w=s.y0+C,m=s.x1-C,v=s.y1-C;if(m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;if(s.x0=b,s.y0=w,s.x1=m,s.y1=v,s.children){if(C=o[s.depth+1]=p(s)/2,b+=d(s)-C,w+=u(s)-C,m-=f(s)-C,v-=S(s)-C,m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;e(s,b,w,m,v)}}return h.round=function(s){return arguments.length?(r=!!s,h):r},h.size=function(s){return arguments.length?(n=+s[0],l=+s[1],h):[n,l]},h.tile=function(s){return arguments.length?(e=Ve(s),h):e},h.padding=function(s){return arguments.length?h.paddingInner(s).paddingOuter(s):h.paddingInner()},h.paddingInner=function(s){return arguments.length?(p=typeof s==="function"?s:U(+s),h):p},h.paddingOuter=function(s){return arguments.length?h.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s):h.paddingTop()},h.paddingTop=function(s){return arguments.length?(u=typeof s==="function"?s:U(+s),h):u},h.paddingRight=function(s){return arguments.length?(f=typeof s==="function"?s:U(+s),h):f},h.paddingBottom=function(s){return arguments.length?(S=typeof s==="function"?s:U(+s),h):S},h.paddingLeft=function(s){return arguments.length?(d=typeof s==="function"?s:U(+s),h):d},h}var Ee=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=F,r=A();return Z({...e.treemap,...r.treemap??{}})}addNode(e,r){if(this.nodes.push(e),this.levels.set(e,r),r===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},l=r.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(l)l.forEach((o)=>{if($i(o))if(n?.textStyles)n.textStyles.push(o);else n.textStyles=[o];if(n?.styles)n.styles.push(o);else n.styles=[o]});this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){N(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function Re(e){if(!e.length)return[];let r=[],n=[];return e.forEach((l)=>{let o={name:l.name,children:l.type==="Leaf"?void 0:[]};if(o.classSelector=l?.classSelector,l?.cssCompiledStyles)o.cssCompiledStyles=l.cssCompiledStyles;if(l.type==="Leaf"&&l.value!==void 0)o.value=l.value;while(n.length>0&&n[n.length-1].level>=l.level)n.pop();if(n.length===0)r.push(o);else{let p=n[n.length-1].node;if(p.children)p.children.push(o);else p.children=[o]}if(l.type!=="Leaf")n.push({node:o,level:l.level})}),r}t(Re,"buildHierarchy");var at=t((e,r)=>{ae(e,r);let n=[];for(let p of e.TreemapRows??[])if(p.$type==="ClassDefStatement")r.addClass(p.className??"",p.styleText??"");for(let p of e.TreemapRows??[]){let u=p.item;if(!u)continue;let f=p.indent?parseInt(p.indent):0,S=rt(u),d=u.classSelector?r.getStylesForClass(u.classSelector):[],h=d.length>0?d:void 0,T={level:f,name:S,type:u.$type,value:u.value,classSelector:u.classSelector,cssCompiledStyles:h};n.push(T)}let l=Re(n),o=t((p,u)=>{for(let f of p)if(r.addNode(f,u),f.children&&f.children.length>0)o(f.children,u+1)},"addNodesRecursively");o(l,0)},"populate"),rt=t((e)=>e.name?String(e.name):"","getItemName"),We={parser:{yy:void 0},parse:t(async(e)=>{try{let n=await fe("treemap",e);i.debug("Treemap AST:",n);let l=We.parser?.yy;if(!(l instanceof Ee))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");at(n,l)}catch(r){throw i.error("Error parsing treemap:",r),r}},"parse")},nt=10,ne=10,ie=25,lt=t((e,r,n,l)=>{let o=l.db,p=o.getConfig(),u=p.padding??nt,f=o.getDiagramTitle(),S=o.getRoot(),{themeVariables:d}=A();if(!S)return;let h=f?30:0,T=J(r),s=p.nodeWidth?p.nodeWidth*ne:960,C=p.nodeHeight?p.nodeHeight*ne:500,b=s,w=C+h;T.attr("viewBox",`0 0 ${b} ${w}`),W(T,w,b,p.useMaxWidth);let m;try{let a=p.valueFormat||",";if(a==="$0,0")m=t((c)=>"$"+In(",")(c),"valueFormat");else if(a.startsWith("$")&&a.includes(",")){let c=/\.\d+/.exec(a),y=c?c[0]:"";m=t((L)=>"$"+In(","+y)(L),"valueFormat")}else if(a.startsWith("$")){let c=a.substring(1);m=t((y)=>"$"+In(c||"")(y),"valueFormat")}else m=In(a)}catch(a){i.error("Error creating format function:",a),m=In(",")}let v=jt().range(["transparent",d.cScale0,d.cScale1,d.cScale2,d.cScale3,d.cScale4,d.cScale5,d.cScale6,d.cScale7,d.cScale8,d.cScale9,d.cScale10,d.cScale11]),q=jt().range(["transparent",d.cScalePeer0,d.cScalePeer1,d.cScalePeer2,d.cScalePeer3,d.cScalePeer4,d.cScalePeer5,d.cScalePeer6,d.cScalePeer7,d.cScalePeer8,d.cScalePeer9,d.cScalePeer10,d.cScalePeer11]),B=jt().range([d.cScaleLabel0,d.cScaleLabel1,d.cScaleLabel2,d.cScaleLabel3,d.cScaleLabel4,d.cScaleLabel5,d.cScaleLabel6,d.cScaleLabel7,d.cScaleLabel8,d.cScaleLabel9,d.cScaleLabel10,d.cScaleLabel11]);if(f)T.append("text").attr("x",b/2).attr("y",h/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(f);let K=T.append("g").attr("transform",`translate(0, ${h})`).attr("class","treemapContainer"),le=te(S).sum((a)=>a.value??0).sort((a,c)=>(c.value??0)-(a.value??0)),Me=de().size([s,C]).paddingTop((a)=>a.children&&a.children.length>0?ie+ne:0).paddingInner(u).paddingLeft((a)=>a.children&&a.children.length>0?ne:0).paddingRight((a)=>a.children&&a.children.length>0?ne:0).paddingBottom((a)=>a.children&&a.children.length>0?ne:0).round(!0)(le),He=Me.descendants().filter((a)=>a.children&&a.children.length>0),oe=K.selectAll(".treemapSection").data(He).enter().append("g").attr("class","treemapSection").attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",ie).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(a)=>{if(a.depth===0)return"display: none;";return""}),oe.append("clipPath").attr("id",(a,c)=>`clip-section-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-12)).attr("height",ie),oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class",(a,c)=>`treemapSection section${c}`).attr("fill",(a)=>v(a.data.name)).attr("fill-opacity",0.6).attr("stroke",(a)=>q(a.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c=E({cssCompiledStyles:a.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),oe.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",ie/2).attr("dominant-baseline","middle").text((a)=>a.depth===0?"":a.data.name).attr("font-weight","bold").attr("clip-path",(a,c)=>`url(#clip-section-${r}-${c})`).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(a){if(a.depth===0)return;let c=g(this),y=a.data.name;c.text(y);let L=a.x1-a.x0,_=6,k;if(p.showValues!==!1&&a.value){let V=L-10,j=30,qe=10;k=V-30-10-_}else k=L-_-6;let x=Math.max(15,k),Y=c.node();if(Y.getComputedTextLength()>x){let j=y;while(j.length>0){if(j=y.substring(0,j.length-1),j.length===0){if(c.text("..."),Y.getComputedTextLength()>x)c.text("");break}if(c.text(j+"..."),Y.getComputedTextLength()<=x)break}}}),p.showValues!==!1)oe.append("text").attr("class","treemapSectionValue").attr("x",(a)=>a.x1-a.x0-10).attr("y",ie/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((a)=>a.value?m(a.value):"").attr("font-style","italic").attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let _e=Me.leaves(),H=_e.length>20,Ie=H?16:38,ce=H?14:28,Q=H?4:8,ee=H?4:6,ue=H?2:4,ze=H?8:10,he=H?1:2,pe=K.selectAll(".treemapLeafGroup").data(_e).enter().append("g").attr("class",(a,c)=>`treemapNode treemapLeafGroup leaf${c}${a.data.classSelector?` ${a.data.classSelector}`:""}x`).attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(pe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class","treemapLeaf").attr("fill",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("style",(a)=>E({cssCompiledStyles:a.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("stroke-width",3),pe.append("clipPath").attr("id",(a,c)=>`clip-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-4)).attr("height",(a)=>Math.max(0,a.y1-a.y0-4)),pe.append("text").attr("class","treemapLabel").attr("x",(a)=>(a.x1-a.x0)/2).attr("y",(a)=>(a.y1-a.y0)/2).attr("style",(a)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Ie}px;fill:`+B(a.data.name)+";",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(a,c)=>`url(#clip-${r}-${c})`).text((a)=>a.data.name).each(function(a){let c=g(this),y=a.x1-a.x0,L=a.y1-a.y0,_=c.node(),k=y-2*ue,X=L-2*ue;if(k<ze||X<ze){c.style("display","none");return}let x=parseInt(c.style("font-size"),10),Y=0.6;while(_.getComputedTextLength()>k&&x>Q)x--,c.style("font-size",`${x}px`);let z=Math.max(ee,Math.min(ce,Math.round(x*Y))),V=x+he+z;while(V>X&&x>Q){if(x--,z=Math.max(ee,Math.min(ce,Math.round(x*Y))),z<ee&&x===Q)break;if(c.style("font-size",`${x}px`),V=x+he+z,z<=ee&&V>X);}if(c.style("font-size",`${x}px`),H){if(x<Q||X<Q)c.style("display","none")}else if(_.getComputedTextLength()>k||x<Q||X<x)c.style("display","none")}),p.showValues!==!1)pe.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${ce}px;fill:`+B(c.data.name)+";",L=E({cssCompiledStyles:c.data.cssCompiledStyles});return y+L.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${r}-${y})`).text((c)=>c.value?m(c.value):"").each(function(c){let y=g(this),L=this.parentNode;if(!L){y.style("display","none");return}let _=g(L).select(".treemapLabel");if(_.empty()||_.style("display")==="none"){y.style("display","none");return}let k=parseFloat(_.style("font-size")),x=Math.max(ee,Math.min(ce,Math.round(k*0.6)));y.style("font-size",`${x}px`);let z=(c.y1-c.y0)/2+k/2+he;y.attr("y",z);let V=c.x1-c.x0,De=c.y1-c.y0-4,Ge=V-2*ue;if(y.node().getComputedTextLength()>Ge||z+x>De||x<ee)y.style("display","none");else y.style("display",null)});let Oe=p.diagramPadding??8;Pe(T,Oe,"flowchart",p?.useMaxWidth||!1)},"draw"),ot=t(function(e,r){return r.db.getClasses()},"getClasses"),st={draw:lt,getClasses:ot},it={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ct=t(({treemap:e}={})=>{let r=Ke(),n=A(),l=Z(r,n.themeVariables),o=Z(it,e),p=o.titleColor??l.titleColor,u=o.labelColor??l.textColor,f=o.valueColor??l.textColor;return`
|
|
2
|
-
.treemapNode.section {
|
|
3
|
-
stroke: ${o.sectionStrokeColor};
|
|
4
|
-
stroke-width: ${o.sectionStrokeWidth};
|
|
5
|
-
fill: ${o.sectionFillColor};
|
|
6
|
-
}
|
|
7
|
-
.treemapNode.leaf {
|
|
8
|
-
stroke: ${o.leafStrokeColor};
|
|
9
|
-
stroke-width: ${o.leafStrokeWidth};
|
|
10
|
-
fill: ${o.leafFillColor};
|
|
11
|
-
}
|
|
12
|
-
.treemapLabel {
|
|
13
|
-
fill: ${u};
|
|
14
|
-
font-size: ${o.labelFontSize};
|
|
15
|
-
}
|
|
16
|
-
.treemapValue {
|
|
17
|
-
fill: ${f};
|
|
18
|
-
font-size: ${o.valueFontSize};
|
|
19
|
-
}
|
|
20
|
-
.treemapTitle {
|
|
21
|
-
fill: ${p};
|
|
22
|
-
font-size: ${o.titleFontSize};
|
|
23
|
-
}
|
|
24
|
-
`},"getStyles"),pt=ct,ua={parser:We,get db(){return new Ee},renderer:st,styles:pt};export{ua as diagram};
|
package/web/chunk-0qf3m69c.js.br
DELETED
|
Binary file
|
package/web/chunk-0qf3m69c.js.gz
DELETED
|
Binary file
|
package/web/chunk-14yejkcn.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{v,s,w,o,a,f,e,n,b,Ft}from"./chunk-4wpvkw6b.js";import{xt,Xn,Et,fc,Kn,vr,Li,js,hc}from"./chunk-hr4fa514.js";var z="__chat__";function E(d){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:`${d.percent}%`}})})}function _(d){return e("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:d.children})}function B(d){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:d.children})}function V(d){return n(B,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:xt(d.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:xt(d.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:xt(d.stat.cacheReadTokens)}),d.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",Kn(d.cacheHitRate),")"]})]})]})}function Q(d){let{projects:h,selectedProjectID:D,onSelectProject:k}=d,{style:l}=b();if(h.length===0)return e("div",{className:l("surface.empty"),children:"暂无项目统计数据"});return e("div",{className:"divide-y divide-line",children:h.map((t)=>{let p=t.projectID??z,x=D===p,j=Math.max(t.tokenShare>0?1:0,t.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:t.name}),e("span",{className:l("control.badge","font-mono truncate max-w-[240px]"),title:t.directory||"未绑定项目目录",children:t.directory||"独立会话"}),e("button",{type:"button",onClick:()=>k(x?null:p),className:"rounded px-1.5 py-0.5 text-2xs text-accent hover:bg-accent/10 transition-colors cursor-pointer shrink-0",children:x?"取消筛选":"筛选"})]}),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:Xn(t.totalTokens),children:xt(t.totalTokens)}),n("span",{className:"text-2xs text-faint",children:["(",Kn(t.tokenShare),")"]})]})]}),e(E,{percent:j}),n(_,{children:[e(V,{stat:t,cacheHitRate:t.cacheHitRate}),n(B,{children:[n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.sessionCount.toLocaleString()})," 会话"]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:t.toolCalls.toLocaleString()})," 次"]})]})]})]},p)})})}function Z(d){let{models:h}=d,{ModelIcon:D,style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无模型调用数据"});return e("div",{className:"divide-y divide-line",children:h.map((l)=>{let t=Math.max(l.share>0?1:0,l.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(D,{modelID:l.model,className:"size-4 shrink-0"}),e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.shortName}),e("span",{className:k("control.badge","font-mono shrink-0"),children:l.provider})]}),n("div",{className:"flex items-baseline gap-2.5 font-mono tabular-nums shrink-0",children:[l.avgTps!==null&&n("span",{className:"text-2xs text-dim",children:[l.avgTps.toFixed(1)," tok/s"]}),n("span",{className:"text-xs font-medium text-ink",title:Xn(l.totalTokens),children:[xt(l.totalTokens)," ",n("span",{className:"text-2xs font-normal text-faint",children:["(",Kn(l.share),")"]})]})]})]}),e(E,{percent:t}),n(_,{children:[e(V,{stat:l,cacheHitRate:l.cacheHitRate}),n(B,{children:[n("span",{children:[e("span",{className:"text-ink",children:l.turns.toLocaleString()})," 轮",l.errors>0?n("span",{className:"text-danger",children:[" (",l.errors," 错)"]}):null]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:l.toolCalls.toLocaleString()})," 次"]}),l.generationMs>0&&n("span",{children:["推理 ",e("span",{className:"text-ink",children:fc(l.generationMs)})]})]})]})]},l.model)})})}function J(d){let{tools:h}=d,{StatusChip:D,style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无工具调用数据"});return e("div",{className:"divide-y divide-line",children:h.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100),p=l.successRate>=0.95?"success":l.successRate>=0.8?"warning":"danger",x=Math.max(0,l.calls-l.errors),j=l.calls>0?Math.round(l.outputBytes/l.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:l.name}),n(D,{tone:p,children:["成功率 ",Kn(l.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:[l.calls.toLocaleString()," 次"]}),n("span",{className:"text-2xs text-faint",children:["(",Kn(l.share),")"]})]})]}),e(E,{percent:t}),n(_,{children:[n(B,{children:[n("span",{children:["成功 ",e("span",{className:"text-ink",children:x.toLocaleString()})," 次"]}),n("span",{children:["失败 ",e("span",{className:l.errors>0?"text-danger":"text-ink",children:l.errors.toLocaleString()})," 次"]})]}),n(B,{children:[n("span",{children:["累计输出 ",e("span",{className:"text-ink",children:vr(l.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:vr(j)})]})]})]})]},l.name)})})}function X(d){let{sessions:h,onOpenSession:D}=d,{style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无高消耗会话记录"});let l=Math.max(1,...h.map((t)=>t.totalTokens));return e("div",{className:"divide-y divide-line",children:h.map((t)=>{let p=l>0?Math.max(1,t.totalTokens/l*100):0,x=t.model.split("/").pop()??t.model;return n("button",{type:"button",onClick:()=>D(t.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:t.title.trim()||"新会话"}),e("span",{className:k("control.badge","font-mono truncate max-w-[140px] shrink-0"),title:t.projectName,children:t.projectName}),t.kind==="sub"&&e("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 text-2xs text-accent shrink-0",children:"子代理"}),t.archivedAt!==null&&e("span",{className:k("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:Xn(t.totalTokens),children:xt(t.totalTokens)}),e(Ft,{className:"size-3.5 text-faint group-hover:text-ink group-hover:translate-x-0.5 transition-all"})]})]}),e(E,{percent:p}),n(_,{children:[e(V,{stat:t}),n(B,{children:[e("span",{className:"text-ink",children:x}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.assistantTurns})," 轮"]}),e("span",{className:"text-faint",children:hc(t.updated)})]})]})]},t.id)})})}var ee=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function te(d){let{cn:h,Segmented:D,SettingGroup:k,style:l}=b(),{daily:t}=d,[p,x]=a("tokens"),[j,P]=a(null),R=w(()=>t.some((r)=>r.totalTokens>0||r.activeDurationMs>0||r.runs>0),[t]),C=w(()=>{if(t.length===0)return{totalText:"0",avgText:"0",peakDate:"—",peakValueText:"0"};if(p==="tokens"){let N=t.reduce((M,H)=>M+H.totalTokens,0),S=t.filter((M)=>M.totalTokens>0).length,T=t[0];for(let M of t)if(!T||M.totalTokens>T.totalTokens)T=M;return{totalText:xt(N),totalFullText:Xn(N),avgText:S>0?xt(Math.round(N/S)):"0",peakDate:T&&T.totalTokens>0?Li(T.date):"—",peakValueText:T&&T.totalTokens>0?xt(T.totalTokens):"0"}}if(p==="duration"){let N=t.reduce((M,H)=>M+H.activeDurationMs,0),S=t.filter((M)=>M.activeDurationMs>0).length,T=t[0];for(let M of t)if(!T||M.activeDurationMs>T.activeDurationMs)T=M;return{totalText:Et(N),totalFullText:Et(N),avgText:S>0?Et(Math.round(N/S)):"0s",peakDate:T&&T.activeDurationMs>0?Li(T.date):"—",peakValueText:T&&T.activeDurationMs>0?Et(T.activeDurationMs):"0s"}}let r=t.reduce((N,S)=>N+S.assistantTurns,0),i=t.reduce((N,S)=>N+S.userMessages,0),u=r+i,g=t.filter((N)=>N.assistantTurns>0||N.userMessages>0).length,m=t[0];for(let N of t){let S=m?m.assistantTurns+m.userMessages:0;if(!m||N.assistantTurns+N.userMessages>S)m=N}let L=m?m.assistantTurns+m.userMessages:0;return{totalText:`${u.toLocaleString()} 轮`,totalFullText:`助手 ${r.toLocaleString()} 轮 · 用户 ${i.toLocaleString()} 问`,avgText:g>0?`${(u/g).toFixed(1)} 轮/天`:"0 轮/天",peakDate:m&&L>0?Li(m.date):"—",peakValueText:m&&L>0?`${L.toLocaleString()} 轮`:"0 轮"}},[t,p]),y=w(()=>{if(j){let r=t.find((i)=>i.date===j);if(r)return r}for(let r=t.length-1;r>=0;r--){let i=t[r];if(i&&(i.totalTokens>0||i.activeDurationMs>0||i.runs>0))return i}return t[t.length-1]},[t,j]),O=w(()=>{if(p==="tokens")return Math.max(1,...t.map((r)=>r.totalTokens));if(p==="duration")return Math.max(1000,...t.map((r)=>r.activeDurationMs));return Math.max(1,...t.map((r)=>r.assistantTurns+r.userMessages))},[t,p]),c=w(()=>{if(t.length<=7)return t.map((u)=>u.date);let r=6,i=[];for(let u=0;u<r;u++){let g=Math.round(u*(t.length-1)/(r-1)),m=t[g];if(m)i.push(m.date)}return i},[t]);if(!R)return e(k,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>x(r),options:ee}),children:e("div",{className:l("surface.empty"),children:"当前时间范围内暂无活跃数据"})});return e(k,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>x(r),options:ee}),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:C.totalText})]}),n("span",{children:["日均 ",e("span",{className:"text-ink",children:C.avgText})]}),n("span",{children:["峰值 ",e("span",{className:"text-ink",children:C.peakValueText}),C.peakDate!=="—"?n("span",{className:"text-faint",children:[" (",C.peakDate,")"]}):null]})]}),n("div",{className:"flex items-center gap-3 text-2xs text-dim",children:[p==="tokens"&&n(f,{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"}),"输出"]})]}),p==="duration"&&n(f,{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"}),"模型推理"]})]}),p==="activity"&&n(f,{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-3xs 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:()=>P(null),children:[e("div",{className:"flex-1 flex items-end gap-1 sm:gap-1.5 pb-2",children:t.map((r)=>{let i=r.totalTokens;if(p==="duration")i=r.activeDurationMs;else if(p==="activity")i=r.assistantTurns+r.userMessages;let u=i<=0,g=u?0:Math.max(3,Math.min(100,i/O*100)),m=y?.date===r.date;return n("button",{type:"button","aria-label":`${r.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:()=>P(r.date),onFocus:()=>P(r.date),onClick:()=>P(r.date),children:[e("div",{className:h("absolute inset-y-0 w-full rounded-xs transition-colors pointer-events-none",m?"bg-accent/10":"group-hover:bg-raised/60")}),u?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:`${g}%`},children:[p==="tokens"&&n(f,{children:[r.outputTokens>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.outputTokens/r.totalTokens*100}%`}}),r.inputTokens+r.cacheWriteTokens>0&&e("div",{className:"bg-accent transition-all duration-200",style:{height:`${(r.inputTokens+r.cacheWriteTokens)/r.totalTokens*100}%`}}),r.cacheReadTokens>0&&e("div",{className:"bg-accent/40 transition-all duration-200",style:{height:`${r.cacheReadTokens/r.totalTokens*100}%`}})]}),p==="duration"&&n(f,{children:[r.generationMs>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${Math.min(100,r.generationMs/Math.max(1,r.activeDurationMs)*100)}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]}),p==="activity"&&n(f,{children:[r.userMessages>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.userMessages/Math.max(1,r.assistantTurns+r.userMessages)*100}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]})]}),m&&e("div",{className:"absolute -bottom-1 size-1 rounded-full bg-accent"})]},r.date)})}),e("div",{className:h("flex items-center pt-1.5 text-3xs text-faint font-mono tabular-nums",t.length<=7?"gap-1 sm:gap-1.5":"justify-between"),children:c.map((r)=>e("div",{className:h("whitespace-nowrap",t.length<=7&&"flex-1 text-center"),children:Li(r)},r))})]})]}),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:y?n(f,{children:[e("span",{className:"text-ink",children:js(y.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:xt(y.totalTokens)})]}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(y.activeDurationMs)})]}),n("span",{children:["交互 ",n("span",{className:"text-ink",children:[y.assistantTurns+y.userMessages," 轮"]})]}),n("span",{children:["工具 ",n("span",{className:"text-ink",children:[y.toolCalls," 次"]})]})]})]}):e("span",{className:"font-sans text-faint",children:"悬停柱状图查看单日明细"})})]})})}function se(d){let{cn:h,SettingGroup:D}=b(),{daily:k,hourly:l}=d,[t,p]=a(null),x=w(()=>{let i=new Map;for(let g of l)i.set(g.hour,g);let u=[];for(let g=0;g<24;g++){let m=i.get(g);if(m)u.push(m);else u.push({hour:g,totalTokens:0,activeDurationMs:0,userMessages:0,assistantTurns:0,runs:0})}return u},[l]),j=w(()=>{let i=x[0];for(let u of x)if(!i||u.totalTokens>i.totalTokens)i=u;return i&&i.totalTokens>0?i:null},[x]),P=w(()=>x.reduce((i,u)=>i+u.totalTokens,0),[x]),R=w(()=>Math.max(1,...x.map((i)=>i.totalTokens)),[x]),C=w(()=>{if(P<=0)return 0;return x.filter((u)=>u.hour>=8&&u.hour<20).reduce((u,g)=>u+g.totalTokens,0)/P},[x,P]),y=w(()=>Math.max(1,...k.map((i)=>i.totalTokens)),[k]),O=w(()=>{let i=0,u=0;for(let g of k)if(g.totalTokens>0||g.activeDurationMs>0||g.runs>0){if(u++,u>i)i=u}else u=0;return i},[k]),c=w(()=>k.filter((i)=>i.totalTokens>0||i.activeDurationMs>0||i.runs>0).length,[k]),r=t!==null?x[t]:j;return n(D,{title:"活跃时段与热力",action:n("div",{className:"flex items-center gap-3 font-mono text-xs text-faint tabular-nums",children:[n("span",{children:["日间占比 ",Kn(C)]}),n("span",{children:["连续活跃 ",O," 天"]}),n("span",{children:["活跃 ",c,"/",k.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 小时分布"}),r?n("div",{className:"flex items-center gap-3 font-mono text-dim tabular-nums",children:[n("span",{className:"text-ink",children:[t!==null?"时段 ":"高峰 ",String(r.hour).padStart(2,"0"),":00 -"," ",String((r.hour+1)%24).padStart(2,"0"),":00"]}),e("span",{className:"text-ink",children:xt(r.totalTokens)}),r.activeDurationMs>0&&e("span",{children:Et(r.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:()=>p(null),children:[e("div",{className:"flex-1 flex items-end gap-1.5 pb-1.5",children:x.map((i)=>{let u=j?.hour===i.hour,g=t===i.hour,m=i.totalTokens>0?Math.max(6,i.totalTokens/R*100):0,L=`${String(i.hour).padStart(2,"0")}:00 - ${String((i.hour+1)%24).padStart(2,"0")}:00
|
|
2
|
-
消耗: ${Xn(i.totalTokens)} Token
|
|
3
|
-
耗时: ${Et(i.activeDurationMs)}
|
|
4
|
-
助手轮次: ${i.assistantTurns} 轮`;return e("button",{type:"button","aria-label":`${String(i.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:L,onMouseEnter:()=>p(i.hour),onFocus:()=>p(i.hour),onClick:()=>p(i.hour),children:m>0?e("div",{className:h("w-full max-w-[20px] rounded-t-xs transition-all duration-200",u||g?"bg-accent":"bg-accent/55 group-hover:bg-accent"),style:{height:`${m}%`}}):e("div",{className:"h-1 w-full max-w-[20px] rounded-full bg-raised group-hover:bg-dim/30"})},i.hour)})}),n("div",{className:"flex justify-between items-center text-3xs 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:["自然日热力 (",k.length," 天)"]}),e("div",{className:"flex flex-wrap items-center gap-1.5",children:k.map((i)=>{let u="bg-raised";if(i.totalTokens>0){let m=i.totalTokens/y;if(m<=0.33)u="bg-accent/30";else if(m<=0.66)u="bg-accent/60";else u="bg-accent"}let g=`${js(i.date)}
|
|
5
|
-
消耗: ${Xn(i.totalTokens)} Token
|
|
6
|
-
耗时: ${Et(i.activeDurationMs)}
|
|
7
|
-
助手轮次: ${i.assistantTurns} 轮`;return e("div",{className:h("size-3.5 rounded-xs transition-transform hover:scale-125 cursor-pointer",u),title:g},i.date)})})]})]})}var re=[{value:"7d",label:"近 7 天"},{value:"30d",label:"近 30 天"},{value:"90d",label:"近 90 天"},{value:"all",label:"全部"}],W=new Map,ae=[];function K(d,h){return`${d}:${h??"all"}`}function we(d){let{connection:h,onOpen:D}=d,{Button:k,PageLayout:l,Segmented:t,SettingGroup:p,style:x}=b(),[j,P]=a("30d"),[R,C]=a(null),[y,O]=a("projects"),[c,r]=a(()=>W.get(K("30d",null))??null),[i,u]=a(()=>!W.has(K("30d",null))),[g,m]=a(null),[L,N]=a(()=>ae),S=o(0),T=v(async()=>{let H=++S.current,I=K(j,R),U=W.get(I);if(U)r(U);u(!0);try{let F=new URLSearchParams({range:j,tzOffset:String(new Date().getTimezoneOffset())});if(R)F.set("projectID",R);let G=await h.request(`/api/stats?${F.toString()}`);if(H!==S.current)return;if(W.set(I,G),r(G),m(null),G.projects)N((ne)=>{let Y=new Map(ne.map((A)=>[A.id,A.name]));for(let A of G.projects)if(A.projectID)Y.set(A.projectID,A.name);let q=Array.from(Y.entries()).map(([A,oe])=>({id:A,name:oe}));return ae=q,q})}catch(F){if(H===S.current)m(F instanceof Error?F.message:"加载统计数据失败")}finally{if(H===S.current)u(!1)}},[h,j,R]);s(()=>(T(),()=>{S.current++}),[T]);let M=w(()=>{if(!R)return null;if(R===z)return"独立聊天";return(L.find((I)=>I.id===R)??c?.projects.find((I)=>I.projectID===R))?.name??"指定项目"},[R,L,c]);return n(l,{title:M?n(f,{children:["统计 ",n("span",{className:"text-dim",children:["· ",M]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(f,{children:[R&&e(k,{size:"sm",variant:"ghost",onClick:()=>C(null),children:"返回全部"}),e(t,{value:j,onChange:P,options:re})]}),children:[g&&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:g}),e(k,{size:"sm",variant:"ghost",onClick:()=>{T()},className:"text-danger hover:text-danger",children:"重试"})]}),i&&!c?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载统计…"}):!c?e("div",{className:x("surface.card","p-12 text-center text-sm text-dim"),children:"暂无统计数据"}):n("div",{className:"space-y-8",children:[e(p,{title:"核心总览",unboxed:!0,children:n("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[n("div",{className:x("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:["缓存命中 ",Kn(c.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${Xn(c.overview.totalTokens)} Token`,children:xt(c.overview.totalTokens)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["输入 ",xt(c.overview.inputTokens)]}),n("span",{children:["输出 ",xt(c.overview.outputTokens)]}),n("span",{children:["缓存读 ",xt(c.overview.cacheReadTokens)]})]})]}),n("div",{className:x("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:["日均"," ",c.overview.activeDays>0?Et(c.overview.activeDurationMs/c.overview.activeDays):"0s"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:Et(c.overview.activeDurationMs)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["模型推理 ",Et(c.overview.generationMs)]}),n("span",{children:["并发累计 ",Et(c.overview.cumulativeRunDurationMs)]})]})]}),n("div",{className:x("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:[c.overview.activeProjects,"/",c.overview.totalProjects," 活跃项目"]})]}),n("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:[c.overview.sessionCount.toLocaleString()," 个会话"]}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.mainSessionCount," 主会话 / ",c.overview.subSessionCount," 子代理"]}),n("span",{children:[c.overview.userMessages," 提问 / ",c.overview.assistantTurns," 回复"]})]})]}),n("div",{className:x("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:[c.overview.compactions," 次折叠"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:c.overview.avgTps!==null?`${c.overview.avgTps.toFixed(1)} tok/s`:`${c.overview.toolCalls.toLocaleString()} 次调用`}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.toolCalls.toLocaleString()," 次工具调用"]}),n("span",{children:[c.overview.runCount.toLocaleString()," 次运行"]})]})]})]})}),e(te,{daily:c.daily}),e(se,{daily:c.daily,hourly:c.hourly}),e(p,{title:"分类明细",action:e(t,{value:y,onChange:O,options:[{value:"projects",label:`项目消耗 (${c.projects.length})`},{value:"models",label:`模型分析 (${c.models.length})`},{value:"tools",label:`工具调用 (${c.tools.length})`},{value:"sessions",label:`高消耗会话 (${c.topSessions.length})`}]}),children:n("div",{className:"animate-fade",children:[y==="projects"&&e(Q,{projects:c.projects,selectedProjectID:R,onSelectProject:C,onOpenSession:D}),y==="models"&&e(Z,{models:c.models}),y==="tools"&&e(J,{tools:c.tools}),y==="sessions"&&e(X,{sessions:c.topSessions,onOpenSession:D})]},y)})]})]})}export{we as StatsPage};
|
package/web/chunk-14yejkcn.js.br
DELETED
|
Binary file
|
package/web/chunk-14yejkcn.js.gz
DELETED
|
Binary file
|
package/web/chunk-1ffzwm6m.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import{Mr}from"./chunk-zeyw59b9.js";import{ae}from"./chunk-zmbp3phd.js";import{t,i,F,A,C,N,M,P,R,I,O,D,d,Ka,g,nc,Z,H}from"./chunk-tz4w2nh2.js";import{fe}from"./chunk-2gfgrjy6.js";var B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=F.gitGraph,V=t(()=>Z({...Ce,...A().gitGraph}),"getConfig"),m=new Mr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function se(){return nc({length:7})}t(se,"getID");function pe(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let l=r(c);if(!a[l])a[l]=!0,n.push(c);return n},[])}t(pe,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){i.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let l=V();a=C.sanitizeText(a,l),r=C.sanitizeText(r,l),c=c?.map((o)=>C.sanitizeText(o,l));let s={id:a?a:m.records.seq+"-"+se(),message:r,seq:m.records.seq++,type:n??B.NORMAL,tags:c??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=s,i.info("main branch",l.mainBranchName),m.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);m.records.commits.set(s.id,s),m.records.branches.set(m.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.sanitizeText(r,V()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:a}),ye(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,l=V();if(r=C.sanitizeText(r,l),a)a=C.sanitizeText(a,l);let s=m.records.branches.get(m.records.currBranch),o=m.records.branches.get(r),f=s?m.records.commits.get(s):void 0,y=o?m.records.commits.get(o):void 0;if(f&&y&&f.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let h=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(f===void 0||!f){let h=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!m.records.branches.has(r)){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(y===void 0||!y){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(f===y){let h=Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(a&&m.records.commits.has(a)){let h=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw h.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},h}let x=o?o:"",p={id:a||`${m.records.seq}-${se()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,x],branch:m.records.currBranch,type:B.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};m.records.head=p,m.records.commits.set(p.id,p),m.records.branches.set(m.records.currBranch,p.id),i.debug(m.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let l=V();if(r=C.sanitizeText(r,l),a=C.sanitizeText(a,l),n=n?.map((f)=>C.sanitizeText(f,l)),c=C.sanitizeText(c,l),!r||!m.records.commits.has(r)){let f=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let s=m.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===B.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!m.records.commits.has(a)){if(o===m.records.currBranch){let p=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let f=m.records.branches.get(m.records.currBranch);if(f===void 0||!f){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let y=m.records.commits.get(f);if(y===void 0||!y){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let x={id:m.records.seq+"-"+se(),message:`cherry-picked ${s?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,s.id],branch:m.records.currBranch,type:B.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===B.MERGE?`|parent:${c}`:""}`]};m.records.head=x,m.records.commits.set(x.id,x),m.records.branches.set(m.records.currBranch,x.id),i.debug(m.records.branches),i.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=C.sanitizeText(e,V()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function de(e,r,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function le(e){let r=e.reduce((c,l)=>{if(c.seq>l.seq)return c;return l},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in m.records.branches)if(m.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=m.records.commits.get(r.parents[0]);if(de(e,r,c),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let c=m.records.commits.get(r.parents[0]);de(e,r,c)}e=pe(e,(c)=>c.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(m.records.commits);let e=xe()[0];le([e])},"prettyPrint"),Ie=t(function(){m.reset(),N()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:B,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D},He=t((e,r)=>{if(ae(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?B[e.type]:B.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?B[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await fe("gitGraph",e);i.debug(r),He(r,ue)},"parse")},Y=10,j=40,W=4,S=2,K=8,ne=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),he=12,me=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),L=new Map,_=new Map,re=30,Q=new Map,oe=[],z=0,b="LR",Ve=t(()=>{L.clear(),_.clear(),Q.clear(),z=0,oe=[],b="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),we=t((e)=>{let r,a,n;if(b==="BT")a=t((c,l)=>c<=l,"comparisonFunc"),n=1/0;else a=t((c,l)=>c>=l,"comparisonFunc"),n=0;return e.forEach((c)=>{let l=b==="TB"||b=="BT"?_.get(c)?.y:_.get(c)?.x;if(l!==void 0&&a(l,n))r=c,n=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=_.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,l=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else l.push(o);et(o,n)}),n=c,l.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let f=Ze(o.parents);if(n=_.get(f).y-j,n<=c)c=n;let y=L.get(o.branch).pos,x=n-Y;_.set(o.id,{x:y,y:x})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=_.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=L.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return _.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=L.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,l=n.pos;_.set(e.id,{x:l,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,l)=>{let{theme:s}=d(),o=ne.has(s??""),f=me.has(s??""),y=Ue.has(s??"");if(l===B.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,f)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,f)} ${n}-inner`);else if(l===B.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let x=e.append("circle");if(x.attr("cx",a.x),x.attr("cy",a.y),x.attr("r",o?7:10),x.attr("class",`commit ${r.id} commit${U(c,K,f)}`),l===B.MERGE){let p=e.append("circle");p.attr("cx",a.x),p.attr("cy",a.y),p.attr("r",o?5:6),p.attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}if(l===B.REVERSE){let p=e.append("path"),h=o?4:5;p.attr("d",`M ${a.x-h},${a.y-h}L${a.x+h},${a.y+h}M${a.x-h},${a.y+h}L${a.x+h},${a.y-h}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==B.CHERRY_PICK&&(r.customId&&r.type===B.MERGE||r.type!==B.MERGE)&&c.showCommitLabel){let l=e.append("g"),s=l.insert("rect").attr("class","commit-label-bkg"),o=l.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),f=o.node()?.getBBox();if(f){if(s.attr("x",a.posWithOffset-f.width/2-S).attr("y",a.y+13.5).attr("width",f.width+2*S).attr("height",f.height+2*S),b==="TB"||b==="BT")s.attr("x",a.x-(f.width+4*W+5)).attr("y",a.y-12),o.attr("x",a.x-(f.width+4*W)).attr("y",a.y+f.height-12);else o.attr("x",a.posWithOffset-f.width/2);if(c.rotateCommitLabel)if(b==="TB"||b==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let y=-7.5-(f.width+10)/25*9.5,x=10+f.width/25*8.5;l.attr("transform","translate("+y+", "+x+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,l=0,s=0,o=[];for(let f of r.tags.reverse()){let y=e.insert("polygon"),x=e.append("circle"),p=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(f),h=p.node()?.getBBox();if(!h)throw Error("Tag bbox not found");l=Math.max(l,h.width),s=Math.max(s,h.height),p.attr("x",a.posWithOffset-h.width/2),o.push({tag:p,hole:x,rect:y,yOffset:c}),c+=20}for(let{tag:f,hole:y,rect:x,yOffset:p}of o){let h=s/2,w=a.y-19.2-p;if(x.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
-
${n-l/2-W/2},${w+S}
|
|
3
|
-
${n-l/2-W/2},${w-S}
|
|
4
|
-
${a.posWithOffset-l/2-W},${w-h-S}
|
|
5
|
-
${a.posWithOffset+l/2+W},${w-h-S}
|
|
6
|
-
${a.posWithOffset+l/2+W},${w+h+S}
|
|
7
|
-
${a.posWithOffset-l/2-W},${w+h+S}`),y.attr("cy",w).attr("cx",n-l/2+W/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let u=n+p;x.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
-
${a.x},${u+2}
|
|
9
|
-
${a.x},${u-2}
|
|
10
|
-
${a.x+Y},${u-h-2}
|
|
11
|
-
${a.x+Y+l+4},${u-h-2}
|
|
12
|
-
${a.x+Y+l+4},${u+h+2}
|
|
13
|
-
${a.x+Y},${u+h+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),y.attr("cx",a.x+W/2).attr("cy",u).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),f.attr("x",a.x+5).attr("y",u+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case B.NORMAL:return"commit-normal";case B.REVERSE:return"commit-reverse";case B.HIGHLIGHT:return"commit-highlight";case B.MERGE:return"commit-merge";case B.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let l=we(e.parents);if(l){let s=n.get(l)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=b==="BT"&&a?r:r+Y,c=L.get(e.branch)?.pos,l=b==="TB"||b==="BT"?L.get(e.branch)?.pos:n;if(l===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=ne.has(d().theme??""),o=b==="TB"||b==="BT"?n:c+(s?he/2+1:-2);return{x:l,y:o,posWithOffset:n}},"getCommitPosition"),$e=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),s=b==="TB"||b==="BT"?re:0,o=[...r.keys()],f=n.parallelCommits??!1,y=t((p,h)=>{let w=r.get(p)?.seq,u=r.get(h)?.seq;return w!==void 0&&u!==void 0?w-u:0},"sortKeys"),x=o.sort(y);if(b==="BT"){if(f)Xe(x,r,s);x=x.reverse()}x.forEach((p)=>{let h=r.get(p);if(!h)throw Error(`Commit not found for key ${p}`);if(f)s=nt(h,b,s,_);let w=ct(h,s,f);if(a){let u=st(h),k=h.customType??h.type,v=L.get(h.branch)?.index??0;rt(c,h,w,u,v,k),at(l,h,w,s,n),ot(l,h,w,s)}if(b==="TB"||b==="BT")_.set(h.id,{x:w.x,y:w.posWithOffset});else _.set(h.id,{x:w.posWithOffset,y:w.y});if(s=b==="BT"&&f?s+j:s+j+Y,s>z)z=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(b==="TB"||b==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((y)=>y.branch===s,"isOnBranchToGetCurve"),f=t((y)=>y.seq>e.seq&&y.seq<r.seq,"isBetweenCommits");return[...c.values()].some((y)=>f(y)&&o(y))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(oe.every((s)=>Math.abs(s-n)>=10))return oe.push(n),n;let l=Math.abs(e-r);return ee(e,r-l/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=d(),l=me.has(c??""),s=_.get(r.id),o=_.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let f=it(r,a,s,o,n),y="",x="",p=0,h=0,w=L.get(a.branch)?.index;if(a.type===B.MERGE&&r.id!==a.parents[0])w=L.get(r.branch)?.index;let u;if(f){y="A 10 10, 0, 0, 0,",x="A 10 10, 0, 0, 1,",p=10,h=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),v=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(b==="TB")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${x} ${v} ${s.y+h} L ${v} ${o.y-p} ${y} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${y} ${v} ${s.y+h} L ${v} ${o.y-p} ${x} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(b==="BT")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${y} ${v} ${s.y-h} L ${v} ${o.y+p} ${x} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${x} ${v} ${s.y-h} L ${v} ${o.y+p} ${y} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)u=`M ${s.x} ${s.y} L ${s.x} ${k-p} ${y} ${s.x+h} ${k} L ${o.x-p} ${k} ${x} ${o.x} ${k+h} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${s.x} ${k+p} ${x} ${s.x+h} ${k} L ${o.x-p} ${k} ${y} ${o.x} ${k-h} L ${o.x} ${o.y}`}else if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,b==="TB"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${x} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${y} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(b==="BT"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${y} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${x} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(u===void 0)throw Error("Line definition not found");e.append("path").attr("d",u).attr("class","arrow arrow"+U(w,K,l))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((l)=>{dt(a,r.get(l),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:l,themeVariables:s}=d(),{dropShadow:o,THEME_COLOR_LIMIT:f}=s,y=ne.has(l??""),x=me.has(l??""),p=e.append("g");r.forEach((h,w)=>{let u=U(w,y?f:K,x),k=L.get(h.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${h.name}`);let v=b==="TB"||b==="BT"?k:y?k+he/2+1:k-2,E=p.append("line");if(E.attr("x1",0),E.attr("y1",v),E.attr("x2",z),E.attr("y2",v),E.attr("class","branch branch"+u),b==="TB")E.attr("y1",re),E.attr("x1",k),E.attr("y2",z),E.attr("x2",k);else if(b==="BT")E.attr("y1",z),E.attr("x1",k),E.attr("y2",re),E.attr("x2",k);oe.push(v);let ce=h.name,J=be(ce),G=p.insert("rect"),q=p.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+u);q.node().appendChild(J);let T=J.getBBox(),ge=y?0:4,te=y?16:0,X=y?he:0;if(c==="neo")G.attr("data-look","neo");if(G.attr("class","branchLabelBkg label"+u).attr("style",c==="neo"?`filter:${y?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",ge).attr("ry",ge).attr("x",-T.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-T.height/2+10).attr("width",T.width+18+te).attr("height",T.height+4+X),q.attr("transform","translate("+(-T.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(v-T.height/2-2)+")"),b==="TB"){if(G.attr("x",k-T.width/2-10).attr("y",0),q.attr("transform","translate("+(k-T.width/2-5)+", 0)"),y)G.attr("transform",`translate(${-te/2-3}, ${-X-10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(-X*2+7)+")")}else if(b==="BT"){if(G.attr("x",k-T.width/2-10).attr("y",z),q.attr("transform","translate("+(k-T.width/2-5)+", "+z+")"),y)G.attr("transform",`translate(${-te/2-3}, ${X+10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(z+X*2+4)+")")}else G.attr("transform","translate(-19, "+(v-12-X/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return L.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(b==="TB"||b==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
|
|
14
|
-
`,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let l=c.getConfig(),s=l.rotateCommitLabel??!1;Q=c.getCommits();let o=c.getBranchesAsObjArray();b=c.getDirection();let f=g(`[id="${r}"]`),{look:y,theme:x,themeVariables:p}=d(),{useGradient:h,gradientStart:w,gradientStop:u,filterColor:k}=p;if(h){let E=f.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}if(y==="neo"&&ne.has(x??""))f.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",k);let v=0;if(o.forEach((E,ce)=>{let J=be(E.name),G=f.append("g"),ie=G.insert("g").attr("class","branchLabel"),q=ie.insert("g").attr("class","label branch-label");q.node()?.appendChild(J);let T=J.getBBox();v=mt(E.name,v,ce,T,s),q.remove(),ie.remove(),G.remove()}),$e(f,Q,!1,l),l.showBranches)lt(f,o,l,r);ht(f,Q),$e(f,Q,!0,l),H.insertTitle(f,"gitTitleText",l.titleTopMargin??0,c.getDiagramTitle()),Ka(void 0,f,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
|
|
15
|
-
.label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
-
`;return a},"genGitGraphGradient"),bt=t((e)=>{let r=A(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,l=ke.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
17
|
-
.branch-label${o} { fill: ${e.nodeBorder};}
|
|
18
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
19
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
20
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
21
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
22
|
-
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
23
|
-
${ut(e)}`;else{let f=o%Be;s+=`
|
|
24
|
-
.branch-label${o} { fill: ${e["gitBranchLabel"+f]}; }
|
|
25
|
-
.commit${o} { stroke: ${e["git"+f]}; fill: ${e["git"+f]}; }
|
|
26
|
-
.commit-highlight${o} { stroke: ${e["gitInv"+f]}; fill: ${e["gitInv"+f]}; }
|
|
27
|
-
.arrow${o} { stroke: ${e["git"+f]}; }
|
|
28
|
-
`}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
|
|
29
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
30
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
31
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
32
|
-
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
|
|
33
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
34
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
35
|
-
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
36
|
-
`;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
37
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
38
|
-
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
39
|
-
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
40
|
-
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
41
|
-
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
42
|
-
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
43
|
-
`;else{let f=o%c.length;s+=`
|
|
44
|
-
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
45
|
-
.commit${o} { stroke: ${c[f]}; fill: ${c[f]}; }
|
|
46
|
-
.commit-highlight${o} { stroke: ${c[f]}; fill: ${c[f]}; }
|
|
47
|
-
.label${o} { fill: ${yt.has(a)?e.mainBkg:c[f]}; stroke: ${c[f]}; stroke-width: ${e.strokeWidth}; }
|
|
48
|
-
.arrow${o} { stroke: ${c[f]}; }
|
|
49
|
-
`}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%Be;return`
|
|
50
|
-
.branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
|
|
51
|
-
.commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
|
|
52
|
-
.commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
|
|
53
|
-
.label${r} { fill: ${e["git"+a]}; }
|
|
54
|
-
.arrow${r} { stroke: ${e["git"+a]}; }
|
|
55
|
-
`}).join(`
|
|
56
|
-
`)}`,"normalTheme"),Bt=t((e)=>{let r=A(),{theme:a}=r,n=xt.has(a);return`
|
|
57
|
-
.commit-id,
|
|
58
|
-
.commit-msg,
|
|
59
|
-
.branch-label {
|
|
60
|
-
fill: lightgrey;
|
|
61
|
-
color: lightgrey;
|
|
62
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
-
font-family: var(--mermaid-font-family);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
${n?bt(e):wt(e)}
|
|
67
|
-
|
|
68
|
-
.branch {
|
|
69
|
-
stroke-width: ${e.strokeWidth};
|
|
70
|
-
stroke: ${e.commitLineColor??e.lineColor};
|
|
71
|
-
stroke-dasharray: ${n?"4 2":"2"};
|
|
72
|
-
}
|
|
73
|
-
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
|
|
74
|
-
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
|
|
75
|
-
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
76
|
-
.tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
|
|
77
|
-
.tag-hole { fill: ${e.textColor}; }
|
|
78
|
-
|
|
79
|
-
.commit-merge {
|
|
80
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
81
|
-
fill: ${n?e.mainBkg:e.primaryColor};
|
|
82
|
-
}
|
|
83
|
-
.commit-reverse {
|
|
84
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
85
|
-
fill: ${n?e.mainBkg:e.primaryColor};
|
|
86
|
-
stroke-width: ${n?e.strokeWidth:3};
|
|
87
|
-
}
|
|
88
|
-
.commit-highlight-outer {
|
|
89
|
-
}
|
|
90
|
-
.commit-highlight-inner {
|
|
91
|
-
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
92
|
-
fill: ${n?e.mainBkg:e.primaryColor};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.arrow {
|
|
96
|
-
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
-
stroke-width: ${ke.has(a)?e.strokeWidth:8};
|
|
98
|
-
stroke-linecap: round;
|
|
99
|
-
fill: none
|
|
100
|
-
}
|
|
101
|
-
.gitTitleText {
|
|
102
|
-
text-anchor: middle;
|
|
103
|
-
font-size: 18px;
|
|
104
|
-
fill: ${e.textColor};
|
|
105
|
-
}
|
|
106
|
-
`},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
|
package/web/chunk-1ffzwm6m.js.br
DELETED
|
Binary file
|
package/web/chunk-1ffzwm6m.js.gz
DELETED
|
Binary file
|
package/web/chunk-1ncaw3hk.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ae}from"./chunk-zmbp3phd.js";import{t,i,F,A,q,N,M,P,R,I,O,D,d,Ka,g,Xr,zi,Z}from"./chunk-tz4w2nh2.js";import{Ti,fe}from"./chunk-2gfgrjy6.js";var U="position frame",_="frame positioned",B="position relation",G="relation positioned",pe=t(function(e){i.debug("options str",e)},"setOptions"),ve=t(function(){return{}},"getOptions"),be=t(function(){L(),N()},"clear");function L(){S={}}t(L,"reset");var we=F.eventmodeling,ye=t(()=>Z({...we,...A().eventmodeling}),"getConfig"),S={};function V(){let e=Pe,{ast:r}=S,n=C();if(!r)throw Error("No data for EventModel");return r.frames.forEach((a,o)=>{let s=Q(a,r.dataEntities,n);e=y(e,{$kind:U,index:o,frame:a,textProps:s});let c=void 0;if(oe(a))i.debug("source frame",a.sourceFrames),c=r.frames.filter((m)=>a.sourceFrames.some((u)=>u.$refText===m.name)),c.forEach((m)=>{e=y(e,{$kind:B,index:o,frame:a,sourceFrame:m})});else e=y(e,{$kind:B,index:o,frame:a})}),e={...e,sortedSwimlanesArray:W(e.swimlanes)},e}t(V,"getState");function X(e){S.ast=void 0;let r=new Set;for(let n of e.frames){if(r.has(n.name)){let a=n.$cstNode?.range.start.line,o=a===void 0?"":` on line ${a+1}`;throw Error(`Duplicate event modeling frame ID "${n.name}"${o}`)}r.add(n.name)}S.ast=e}t(X,"setAst");var l={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 l}t(C,"getDiagramProps");var Pe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function j(e){let r=e.split(".");if(r.length===2)return r[0];return}t(j,"extractNamespace");function Y(e){let r=e.split(".");if(r.length===2)return r[1];return e}t(Y,"extractName");function z(e,r){if(!r||r.length===0)return;return Object.values(e).find((n)=>n.namespace===r)}t(z,"findSwimlaneByNamespace");function w(e,r,n){return Math.max(r,...Object.keys(e).filter((a)=>{let o=Number.parseInt(a);return o>r&&o<n}).map((a)=>Number.parseInt(a)))+1}t(w,"findNextAvailableIndex");function K(e,r){let n=j(e.entityIdentifier),a=z(r,n);switch(e.modelEntityType){case"ui":case"pcr":case"processor":if(a)return{index:a.index,label:a.namespace||l.labelUiAutomation};else if(n)return{index:w(r,0,100),label:l.labelUiAutomationPrefix+n};return{index:0,label:l.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":if(a)return{index:a.index,label:a.namespace||l.labelCommandReadModel};else if(n)return{index:w(r,100,200),label:l.labelCommandReadModelPrefix+n};return{index:100,label:l.labelCommandReadModel};case"evt":case"event":default:if(a)return{index:a.index,label:a.namespace||l.labelEvents};else if(n)return{index:w(r,200,300),label:l.labelEventsPrefix+n};return{index:200,label:l.labelEvents}}}t(K,"calculateSwimlaneProps");function J(e){let{themeVariables:r}=A();switch(e.modelEntityType){case"ui":return{fill:r.emUiFill??"white",stroke:r.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:r.emProcessorFill??"#edb3f6",stroke:r.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:r.emReadModelFill??"#d3f1a2",stroke:r.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:r.emCommandFill??"#bcd6fe",stroke:r.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:r.emEventFill??"#ffb778",stroke:r.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}t(J,"calculateEntityVisualProps");function Q(e,r,n){let a=A(),o=q(Y(e.entityIdentifier)??"",a),s,c={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"},u=`<b>${Xr(o,n.textMaxWidth,c)}</b>`;if(e.dataInlineValue)s=e.dataInlineValue,s=s.substring(s.indexOf("{")+1),s=s.substring(0,s.lastIndexOf("}")-1),s=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" "," ");if(e.dataReference){let b=r.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=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" "," "),s+="<br/>"}let x=s!==void 0;if(x)u+=`<br/><br/><code style="text-align: left; display: block;max-width:${n.textMaxWidth}px">${s}</code>`;let h={fontSize:c.fontSize,fontWeight:c.fontWeight,fontFamily:c.fontFamily},f=zi(u,h),v=x?f.width/3:f.width,p={content:u,width:v,height:f.height};return i.debug(`[${e.name}] ${e.entityIdentifier} text`,p),p}t(Q,"calculateTextProps");function ee(e,r){let n=r,a=J(n.frame),o={width:n.textProps.width+2*l.boxTextPadding,height:n.textProps.height+2*l.boxTextPadding};return[{$kind:_,frame:n.frame,index:n.index,visual:a,dimension:o,textProps:n.textProps}]}t(ee,"decidePositionFrame");function te(e,r,n){if(r===void 0)return l.contentStartX;if(r.index===e.index&&e.r)return e.r+l.boxPadding;if(n===void 0)return l.contentStartX;return n.r-l.boxOverlap+l.boxPadding}t(te,"calculateX");function ne(e,r){let n=[...e.map((a)=>a.r),r];return Math.max(...n)}t(ne,"calculateMaxRight");function W(e){return Object.values(e).sort((r,n)=>r.index-n.index)}t(W,"sortedSwimlanesArray");function ie(e,r){let n=r,a=K(n.frame,e.swimlanes),o;if(a.index in e.swimlanes)o=e.swimlanes[a.index];else o={index:a.index,label:a.label,r:0,y:a.index*l.swimlaneMinHeight+l.swimlaneGap,height:l.swimlaneMinHeight,maxHeight:l.swimlaneMinHeight};let s=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,c=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,m={width:Math.max(l.boxMinWidth,Math.min(l.boxMaxWidth,n.dimension.width))+2*l.boxPadding,height:Math.max(l.boxMinHeight,Math.min(l.boxMaxHeight,n.dimension.height))+2*l.boxPadding},u=te(o,c,s),x=u+m.width+l.boxPadding,h=ne(Object.values(e.swimlanes),x);o.r=u+m.width,o.maxHeight=Math.max(o.maxHeight,m.height),o.height=Math.max(l.swimlaneMinHeight,o.maxHeight)+2*l.swimlanePadding;let f={x:u,y:l.swimlanePadding+o.y,r:x,dimension:m,leftSibling:!1,swimlane:o,visual:n.visual,text:n.textProps.content,frame:n.frame,index:n.index},v={...e,boxes:[...e.boxes,f],swimlanes:{...e.swimlanes,[`${o.index}`]:o},previousSwimlaneNumber:a.index,previousFrame:n.frame,maxR:h},p=W(v.swimlanes);if(p.length>0)p[0].y=0;for(let b=1;b<p.length;b++){let k=p[b],H=p[b-1];k.y=H.y+H.height+l.swimlaneGap}return v}t(ie,"evolveFramePositioned");function re(e,r){if(e===0&&r.sourceFrames.length===0)return!0;return!1}t(re,"isFirstFrame");function oe(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}t(oe,"hasSourceFrame");function E(e,r){if(r===void 0||r===null)return;return e.find((n)=>n.frame.name===r.name)}t(E,"findBoxByFrame");function se(e,r,n){if(n<0)return;for(let a=n;a>=0;a--){let o=e[a];if(o.swimlane.index!==r)return o}return}t(se,"findBoxByLineIndex");function de(e,r){let n=r;if(re(n.index,n.frame))return[];let a=E(e.boxes,n.frame);if(a===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(Ti(n.frame))return[];o=se(e.boxes,a.swimlane.index,n.index-1)}if(o===void 0)return[];return[{$kind:G,frame:n.frame,index:n.index,sourceBox:o,targetBox:a}]}t(de,"decidePositionRelation");function le(e,r){let n=r,a={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,a]}}t(le,"evolveRelationPositioned");var Se={[U]:ee,[B]:de},Me={[_]:ie,[G]:le};function ce(e,r){let n=Se[r.$kind];if(n===void 0||n===null)return[];let a=n(e,r);return i.debug("decided events",a),a}t(ce,"decide");function me(e,r){let n=r.reduce((a,o)=>{let s=Me[o.$kind];if(s===void 0||s===null)return a;return s(a,o)},e);return i.debug("evolve events",{state:e,newState:n,events:r}),n}t(me,"evolve");function y(e,r){let n=ce(e,r);return me(e,n)}t(y,"dispatch");var T={getConfig:ye,preserveCommentsWhenParsing:!0,setOptions:pe,getOptions:ve,clear:be,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D,setAst:X,getDiagramProps:C,getState:V},ke={parse:t(async(e)=>{let r=await fe("eventmodeling",e);i.debug(r),T.setAst(r),ae(r,T)},"parse")},Fe=d(),Be=Fe?.eventmodeling;function ue(e,r){return(n)=>{let a=n.swimlane.y+r.swimlanePadding,o=e.append("g").attr("class","em-box");o.append("rect").attr("x",n.x).attr("y",a).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+r.boxPadding).attr("y",a+10).attr("width",n.dimension.width-2*r.boxPadding).attr("height",n.dimension.height-2*r.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(ue,"renderD3Box");function xe(e,r){return e>r}t(xe,"dirUpwards");function ge(e,r,n,a){return(o)=>{let s=o.sourceBox.swimlane.y+r.swimlanePadding,c=o.targetBox.swimlane.y+r.swimlanePadding,m=xe(s,c),u=o.sourceBox.x+o.sourceBox.dimension.width*2/3,x=o.targetBox.x+o.targetBox.dimension.width/3,h,f;if(i.debug(`rendering relation up=${m} for `,{sourceBox:o.sourceBox,targetBox:o.targetBox}),m)h=s,f=c+o.targetBox.dimension.height;else h=s+o.sourceBox.dimension.height,f=c;let v=a.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${u} ${h} L${x} ${f}`)}}t(ge,"renderD3Relation");function he(e,r,n,a){return(o)=>{let s=e.append("g").attr("class","em-swimlane"),c=a.emSwimlaneBackgroundOdd??"rgb(250,250,250)",m=a.emSwimlaneBackgroundStroke??"rgb(240,240,240)";s.append("rect").attr("x",0).attr("y",o.y).attr("rx","3").attr("width",r+n.swimlanePadding).attr("height",o.height).attr("fill",c).attr("stroke",m),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,r,n,a){if(i.debug("in eventmodeling renderer",e+`
|
|
3
|
-
`,"id:",r,n),!Be)throw Error("EventModeling config not found");let o=a.db,{themeVariables:s,eventmodeling:c}=d(),m=g(`[id="${r}"]`),u=o.getDiagramProps(),x=o.getState(),h=`em-arrowhead-${r}`,f=s.emArrowhead??"#000000";x.sortedSwimlanesArray.forEach(he(m,x.maxR,u,s)),x.boxes.forEach(ue(m,u)),x.relations.forEach(ge(m,u,h,s)),m.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",f),Ka(void 0,m,c?.padding??30,c?.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-1ncaw3hk.js.br
DELETED
|
Binary file
|
package/web/chunk-1ncaw3hk.js.gz
DELETED
|
Binary file
|