@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import{t,ar,i,Ie,C,N,M,P,R,I,O,D,d,g,H,St,zi,De,Ne,Me,fn,He,Ue}from"./chunk-9hkz2jgq.js";import{Bn}from"./chunk-t9hnp1zd.js";import{ze}from"./chunk-gp3356tf.js";import{Pe}from"./chunk-2z5tpzd0.js";var Ge=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],S=[1,11],y=[1,12],T=[1,30],f=[1,23],_=[1,24],w=[1,25],q=[1,26],X=[1,27],x=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Oe=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],Ye=[69,70,71,72,73],Ke=[1,91],Ze=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],je=[1,110],qe=[1,109],We=[20,43,51,53,54,55],Ae=[18,61,64,66],Re={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,m,e,he){var r=e.length-1;switch(m){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Oe,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:x,51:V,53:F,54:Y,55:z},{10:51,43:x,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:x,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Oe,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Oe,73:xe},s(Ye,[2,82]),s(Ye,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ke,50:pe},{43:[1,92],44:[1,93]},s(Ze,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ke,50:pe},s(u,[2,32]),{10:97,36:96,43:x,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:x,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:je,66:qe}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:V,53:F,54:Y,55:z},s(We,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:qe}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ze,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(We,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:je},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],m=[null],e=[],he=this.table,r="",_e=0,Qe=0,Xe=0,rt=2,Je=1,at=e.slice.call(arguments,1),E=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(E.setInput(o,W.yy),W.yy.lexer=E,W.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var Le=E.yylloc;e.push(Le);var nt=E.options&&E.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(L){p.length=p.length-2*L,m.length=m.length-L,e.length=e.length-L}t(ot,"popStack");function $e(){var L=a.pop()||E.lex()||Je;if(typeof L!=="number"){if(L instanceof Array)a=L,L=a.pop();L=c.symbols_[L]||L}return L}t($e,"lex");var A,we,Q,v,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])v=this.defaultActions[Q];else{if(A===null||typeof A>"u")A=$e();v=he[Q]&&he[Q][A]}if(typeof v>"u"||!v.length||!v[0]){var Be="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(E.showPosition)Be="Parse error on line "+(_e+1)+`:
|
|
2
|
+
`+E.showPosition()+`
|
|
3
|
+
Expecting `+Ee.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else Be="Parse error on line "+(_e+1)+": Unexpected "+(A==Je?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(Be,{text:E.match,token:this.terminals_[A]||A,line:E.yylineno,loc:Le,expected:Ee})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+A);switch(v[0]){case 1:if(p.push(A),m.push(E.yytext),e.push(E.yylloc),p.push(v[1]),A=null,!we){if(Qe=E.yyleng,r=E.yytext,_e=E.yylineno,Le=E.yylloc,Xe>0)Xe--}else A=we,we=null;break;case 2:if(B=this.productions_[v[1]][1],ee.$=m[m.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,Qe,_e,W.yy,v[1],m,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),m=m.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[v[1]][0]),m.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1)this.yylineno-=p.length-1;var m=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,m;if(this.options.backtrack_lexer){if(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)m.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in m)this[e]=m[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var e=0;e<m.length;e++)if(p=this._input.match(this.rules[m[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,m[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,m[a]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,m){var e=m;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Re.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Re,Re.Parser=ye,new ye}();Ge.parser=Ge;var lt=Ge,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let y=this.addEntity(s);if(!y)return;h=y.id}let k;if(this.subGraphLookup.has(b))k=b;else{let y=this.addEntity(b);if(!y)return;k=y.id}let S={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(S),i.debug("Added new relationship :",S)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,S=t((_)=>{let w=new Set,q;return{nodeList:_.filter((x)=>{if(x?.stmt){if(x.stmt==="dir")q=x.value;return!1}if(typeof x!=="string")return!1;let G=x.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:y,dir:T}=S;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:y,title:h.trim(),classes:[],cssStyles:[],dir:T,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,N()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let _=n[f];if(_.nodes.length>0)k.set(_.id,!0);for(let w of _.nodes)h.set(w,_.id)}for(let f=n.length-1;f>=0;f--){let _=n[f];s.push({id:_.id,label:_.title,labelStyle:"",labelType:_.labelType,parentId:h.get(_.id),padding:8,cssCompiledStyles:this.getCompiledStyles(_.classes),cssStyles:_.cssStyles,cssClasses:_.classes.join(" "),shape:"rect",dir:_.dir,isGroup:!0,look:b.look})}let S=new Set(n.map((f)=>f.id)),y=0;for(let f of this.entities.keys()){if(S.has(f))continue;let _=this.entities.get(f);if(_)_.cssCompiledStyles=this.getCompiledStyles(_.cssClasses.split(" ")),_.colorIndex=y++,s.push({..._,parentId:h.get(f),isGroup:!1})}let T=0;for(let f of this.relationships){let _={id:St(f.entityA,f.entityB,{prefix:"id",counter:T++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(_)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};ar(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:S}=d(),y=n.db.getData(),T=ze(l,h);y.type=n.type,y.layoutAlgorithm=Ue(S),y.config.flowchart.nodeSpacing=k?.nodeSpacing||140,y.config.flowchart.rankSpacing=k?.rankSpacing||80,y.direction=n.db.getDirection();let{config:f}=y,{look:_}=f;if(_==="neo")y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];y.diagramId=l,await He(y,T);let w=T.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=g(this),G=X.attr("id").replace("-background",""),te=T.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(T,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),Pe(T,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=Bn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Ie(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Ne(l,n))return"";let h=Me(s.look),k=De(b),S="";for(let y=0;y<fn(n);y++){let T=n[y],f=k?`fill: ${b[y%b.length]};`:"";S+=`
|
|
7
|
+
|
|
8
|
+
[data-look="${h}"][data-color-id="color-${y}"].node path {
|
|
9
|
+
stroke: ${T};
|
|
10
|
+
${f}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-look="${h}"][data-color-id="color-${y}"].node rect {
|
|
14
|
+
stroke: ${T};
|
|
15
|
+
${f}
|
|
16
|
+
}
|
|
17
|
+
`}return S},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
|
|
18
|
+
${ut(s)}
|
|
19
|
+
.entityBox {
|
|
20
|
+
fill: ${s.mainBkg};
|
|
21
|
+
stroke: ${s.nodeBorder};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.relationshipLabelBox {
|
|
25
|
+
fill: ${s.tertiaryColor};
|
|
26
|
+
opacity: 0.7;
|
|
27
|
+
background-color: ${s.tertiaryColor};
|
|
28
|
+
rect {
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.labelBkg {
|
|
34
|
+
background-color: ${zi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.edgeLabel {
|
|
38
|
+
background-color: ${zi.has(b)&&n?n:s.edgeLabelBackground};
|
|
39
|
+
}
|
|
40
|
+
.edgeLabel .label rect {
|
|
41
|
+
fill: ${zi.has(b)&&n?n:s.edgeLabelBackground};
|
|
42
|
+
}
|
|
43
|
+
.edgeLabel .label text {
|
|
44
|
+
fill: ${s.textColor};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.edgeLabel .label {
|
|
48
|
+
fill: ${s.nodeBorder};
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.label {
|
|
53
|
+
font-family: ${s.fontFamily};
|
|
54
|
+
color: ${s.nodeTextColor||s.textColor};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.edge-pattern-dashed {
|
|
58
|
+
stroke-dasharray: 8,8;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.node rect,
|
|
62
|
+
.node circle,
|
|
63
|
+
.node ellipse,
|
|
64
|
+
.node polygon
|
|
65
|
+
{
|
|
66
|
+
fill: ${s.mainBkg};
|
|
67
|
+
stroke: ${s.nodeBorder};
|
|
68
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.relationshipLine {
|
|
72
|
+
stroke: ${s.lineColor};
|
|
73
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
74
|
+
fill: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.marker {
|
|
78
|
+
fill: none !important;
|
|
79
|
+
stroke: ${s.lineColor} !important;
|
|
80
|
+
stroke-width: 1;
|
|
81
|
+
}
|
|
82
|
+
[data-look=neo].labelBkg {
|
|
83
|
+
background-color: ${tt(s.tertiaryColor,0.5)};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cluster rect {
|
|
87
|
+
fill: ${s.clusterBkg??s.mainBkg};
|
|
88
|
+
stroke: ${s.clusterBorder??s.nodeBorder};
|
|
89
|
+
stroke-width: 1px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cluster text {
|
|
93
|
+
fill: ${s.titleColor??s.textColor};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cluster-label text {
|
|
97
|
+
fill: ${s.titleColor??s.textColor};
|
|
98
|
+
}
|
|
99
|
+
`},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ds}from"./chunk-wh028xj6.js";export{Ds as createPacketServices};
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{V,jn,s,w,o,a,m,e,n,b,Q,rs,as,is,Uc,cc,pi,qi,jc,lc,qc,ui,Vi,os,ss}from"./chunk-ev6xj0qs.js";import{yr}from"./chunk-1fp0r6da.js";var L={sealed:"已封存",folded:"已折叠",archived:"已移出"};function O(t,l){if(t.startsWith("recent-"))return"json";let c=l.trimStart();if(!c)return"markdown";if(c.startsWith("{")||c.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(c))return"xml";return"markdown"}function U(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let c=[],r=0,i=(p)=>" ".repeat(p),d=/(<([a-zA-Z_][\w.-]*)(?:\s+[^>]*)?>([^\r\n<]*)<\/\2>)|(<\/[a-zA-Z_][\w.-]*>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?\/>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>)|([^<]+)/g;for(let p of t.matchAll(d)){let[,f,,,g,x,y,v]=p;if(f)c.push(`${i(r)}${f.trim()}`);else if(g)r=Math.max(0,r-1),c.push(`${i(r)}${g.trim()}`);else if(y)c.push(`${i(r)}${y.trim()}`),r++;else if(x)c.push(`${i(r)}${x.trim()}`);else if(v){let u=v.trim();if(u)for(let C of u.split(/\r?\n/)){let N=C.trim();if(N)c.push(`${i(r)}${N}`)}}}return c.length>0?c.join(`
|
|
2
|
+
`):t}function I(){return n("div",{role:"status","aria-busy":"true","aria-label":"正在加载上下文",className:"space-y-2 animate-pulse",children:[e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"})]})}function k(t){let{style:l}=b();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:c,CollapsibleContent:r,CollapsibleTrigger:i,style:d}=b(),[p,f]=a(!1),[g,x]=a(!1);return n(c,{open:p,onOpenChange:(y)=>jn(()=>{if(f(y),y)x(!0)}),className:d("surface.interactive","group/collapsible"),children:[n(i,{className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs",children:[t.header,e(l,{className:"-rotate-90 text-faint group-data-[state=open]/collapsible:rotate-90"})]}),e(r,{children:g&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function R(t){let{Code:l}=b();return e(l,{code:t.code,lang:t.lang,className:"text-2xs! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function A(t){let{cn:l}=b(),c=t.items.filter((i)=>i.state!=="archived");if(!c.length)return e(k,{children:"当前没有上下文内容。"});let r=c.reduce((i,d)=>i+d.tokens,0)||1;return n("div",{className:"space-y-2.5",children:[e("div",{className:"flex h-2 overflow-hidden rounded-full bg-raised",children:c.map((i)=>e("span",{className:l(rs[as(i)].color,"transition-[width] duration-300 ease-out-quint"),title:`${i.label}:${i.tokens.toLocaleString()} token`,style:{width:`${i.tokens/r*100}%`}},i.id))}),e("div",{className:"flex flex-wrap gap-x-3 gap-y-1 text-2xs text-dim",children:Object.entries(rs).filter(([i])=>c.some((d)=>as(d)===i)).map(([i,d])=>n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:l("size-2 rounded-full",d.color),"aria-hidden":!0}),d.label]},i))}),e("div",{className:"space-y-1.5",children:c.map((i)=>e(te,{item:i,total:r,color:rs[as(i)].color},i.id))})]})}function te(t){let{cn:l,style:c,useTheme:r}=b();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(E,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:c("control.badge","text-3xs"),children:L[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-2xs tabular-nums text-faint",children:[i,"%"]})]}),children:e(ae,{item:t.item,percent:i,color:t.color})})}function ae(t){let{cn:l,CopyButton:c,style:r,useTheme:i}=b();i();let d=t.item.detail,p=w(()=>d?O(t.item.id,d):"markdown",[d,t.item.id]),f=w(()=>{if(!d)return"";return p==="xml"?U(d):d},[d,p]);return n(m,{children:[e("div",{className:"mb-2 h-1 overflow-hidden rounded-full bg-raised",children:e("div",{className:l("h-full",t.color),style:{width:`${t.percent}%`}})}),f?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(c,{text:t.item.detail,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-80 overflow-y-auto pr-6 text-dim",children:e(R,{code:f,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var M=40,se={accent:"bg-accent/15 text-accent",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning",danger:"bg-danger/15 text-danger",neutral:"bg-raised text-dim"};function q(t){let{Button:l,CopyButton:c,style:r,useTheme:i}=b();i();let[d,p]=a(M),f=o(null),g=w(()=>t.entries.filter((v)=>!(v.type==="extension"&&v.namespace==="session"&&v.kind==="request_budget")),[t.entries]),x=d<g.length;s(()=>{let v=f.current;if(!v||!x||typeof IntersectionObserver>"u")return;let u=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+M))},{rootMargin:"480px"});return u.observe(v),()=>u.disconnect()},[x,g.length]);let y=w(()=>g.slice(-d).reverse(),[g,d]);if(!g.length)return e(k,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",g.length," 条记录"]}),e(c,{text:()=>t.entries.map((v)=>JSON.stringify(v,null,2)).join(`
|
|
3
|
+
|
|
4
|
+
`),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),y.map((v)=>e(ne,{entry:v},v.seq)),x&&n("div",{ref:f,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",y.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((v)=>Math.min(g.length,v+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var ne=V(function(l){let{CopyButton:c,style:r,useTheme:i}=b();i();let d=jc(l.entry),p=w(()=>Uc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-3xs",se[d.tone]),children:d.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:d.title}),d.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-3xs text-faint"),children:d.meta}),e("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-2xs text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(c,{text:()=>JSON.stringify(l.entry,null,2),size:"icon-xs",label:"复制此条 JSON",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink"})]}),e(oe,{entry:l.entry})]})})});function oe(t){let{style:l,useTheme:c}=b();c();let r=t.entry;if(r.type==="user")return n("div",{className:"space-y-2",children:[r.text&&e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:pi(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,d)=>{let p=i.kind==="image"?Math.floor(i.data.length*0.75):i.data.length;return n("div",{className:l("surface.subtle","inline-flex items-center gap-1.5 px-2 py-1 text-2xs"),children:[e("span",{className:l("control.badge","text-3xs text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-3xs text-faint",children:[i.mimeType," · ",cc(p)]})]},`${i.name}-${d}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-2xs"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-2xs text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,d)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:pi(i.text)})]},`thinking-${d}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:pi(i.text)})]},`text-${d}`);return n("div",{className:l("surface.subtle","p-2.5 space-y-1.5"),children:[n("div",{className:"flex items-center justify-between gap-2 text-2xs",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-3xs text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:qi(JSON.stringify(i.input,lc,2)),lang:"json"})})]},i.id||`tool-${d}`)})]});if(r.type==="tool_result")return n("div",{className:"space-y-2",children:[n("div",{className:"flex flex-wrap items-center gap-2 font-mono text-2xs text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-3xs",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,d)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-2xs text-faint"),children:["图片 #",d+1," · ",i.mimeType," · ",cc(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${d}`))}),is(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:pi(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:qc(r)})}function F(t){let{cn:l,style:c,useTheme:r}=b();if(r(),!t.todos.length)return e(k,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:c("surface.interactive","flex items-start gap-2.5 px-3 py-2 text-xs"),children:[n("span",{className:l("mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border transition-colors duration-300",i.status==="completed"&&"border-success bg-success text-panel",i.status==="in_progress"&&"border-accent",i.status==="pending"&&"border-line-strong"),children:[i.status==="completed"&&e(Q,{className:"size-2.5 animate-pop",strokeWidth:3.5}),i.status==="in_progress"&&e("span",{className:"size-1.5 animate-pulse rounded-full bg-accent"})]}),e("span",{className:l("min-w-0 flex-1 break-words leading-relaxed [overflow-wrap:anywhere]",i.status==="completed"&&"text-faint line-through decoration-faint/60",i.status==="in_progress"&&"font-medium text-ink",i.status==="pending"&&"text-dim"),children:i.content})]},`${i.status}-${i.content}`))})}function H(t){let{cn:l,style:c,useTheme:r}=b();r();let[i,d]=a("all"),p=w(()=>t.tools.filter((x)=>x.deferred).length,[t.tools]),f=t.tools.length-p,g=w(()=>{if(i==="deferred")return t.tools.filter((x)=>x.deferred);if(i==="active")return t.tools.filter((x)=>!x.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(k,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-2xs",children:[n("button",{type:"button",onClick:()=>d("all"),className:l("rounded-lg px-2 py-1 transition-colors",i==="all"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["全部 (",t.tools.length,")"]}),n("button",{type:"button",onClick:()=>d("active"),className:l("rounded-lg px-2 py-1 transition-colors",i==="active"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["常驻 (",f,")"]}),n("button",{type:"button",onClick:()=>d("deferred"),className:l("rounded-lg px-2 py-1 transition-colors",i==="deferred"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["延迟加载 (",p,")"]})]}),e("div",{className:"space-y-1.5",children:g.map((x)=>e(ie,{tool:x},`${x.group}-${x.name}`))})]})}function ie(t){let{style:l,useTheme:c}=b();return c(),e(E,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-3xs"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-3xs"),children:"延迟加载"})]}),children:e(re,{tool:t.tool})})}function re(t){let{CopyButton:l,style:c,useTheme:r}=b();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:c("surface.subtle","mb-2 px-2.5 py-1.5 text-2xs text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:qi(t.tool.description)}),n("div",{className:c("surface.subtle","group/schema relative overflow-hidden rounded-lg p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(l,{text:i,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-72 overflow-y-auto pr-6 text-dim",children:e(R,{code:qi(i),lang:"json"})})]})]})}function le(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function ce(t){let{style:l,useTheme:c}=b();return c(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-3xs font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function Ze(t){let{Button:l,StatusChip:c,Segmented:r,cn:i,style:d,useTheme:p}=b();p();let[f,g]=a(le),x=ss({connection:t.connection,sessionID:t.session.id}),[y,v]=a(),u=x.snapshot??y,[C,N]=a(!1),[z,B]=a(!1),[_,P]=a(()=>crypto.randomUUID()),[J,Z]=a(!1);s(()=>{let h=setTimeout(()=>jn(()=>Z(!0)),140);return()=>clearTimeout(h)},[]),s(()=>{if(t.session.id)v(void 0)},[t.session.id]),s(()=>{let h=!0;return N(!1),B(!0),os(t.connection,t.session.id,`inspect:${_}`).then((D)=>{if(h)B(!1),jn(()=>v(D))},()=>{if(h)B(!1),N(!0)}),()=>{h=!1}},[t.connection,t.session.id,_]);let S=ui(u?.items??[],u?.usableWindow,u?.calibratedTokens,u?.lastInputTokens,u?.hasPendingOutput),T=Vi(S.percent),W=u?.lastCacheHitRate,j=u?.usage?.cacheHitRate,K=W===void 0?"—":`${(W*100).toFixed(1)}%`,X=j===void 0?"—":`${(j*100).toFixed(1)}%`,G=(h)=>{g(h);try{localStorage.setItem("basalt.contextSidebar.tab",h)}catch{}},Y=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",u&&e("span",{className:"text-3xs text-faint tabular-nums",children:u.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-3xs text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],ee=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-2xs font-medium uppercase tracking-wider text-faint",role:"status",children:z?"正在计算上下文":"预计下次输入"}),n("div",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e("span",{className:"font-mono text-xl font-semibold tabular-nums text-ink",children:u?S.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",u?.usableWindow.toLocaleString()??"—"]})]})]}),e(c,{tone:T==="overflow"||T==="near_limit"?"danger":T==="sealing"?"warning":"success",children:T==="overflow"?"预计超限":T==="near_limit"?"接近上限":T==="sealing"?"接近封存":"正常"})]}),S.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,S.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!u&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,S.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-2xs",children:[e("span",{className:"text-dim",children:S.percent===null?"暂无窗口数据":`${S.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",u?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-2xs",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:u?.lastRequestBodyBytes===void 0?"—":yr(u.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-2xs",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[u?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),u?.usage&&(u.usage.input>0||u.usage.output>0||u.usage.cacheRead>0||u.usage.cacheWrite>0||u.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",u.usage.input.toLocaleString()],["Output",u.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${K} / ${X}`],["平均 TPS",u.usage.tps!==void 0?`${u.usage.tps.toFixed(1)} tok/s`:"—"]].map(([h,D])=>e(ce,{label:h,value:D},h))})]});return n(m,{children:[ee,e("div",{className:"flex justify-end px-3",children:e(l,{size:"sm",variant:"ghost",disabled:z,onClick:()=>P(crypto.randomUUID()),children:z?"加载明细…":"刷新明细"})}),e("div",{className:"px-3 py-2",children:e(r,{value:f,onChange:G,options:Y,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[C&&!u&&n("div",{role:"alert",className:"flex items-center justify-between rounded-xl border border-danger/30 bg-danger/8 px-3 py-2 text-xs text-danger",children:[e("span",{children:"上下文加载失败。"}),e(l,{size:"sm",variant:"ghost",onClick:()=>P(crypto.randomUUID()),children:"重试"})]}),e("div",{children:!J?e(I,{}):n(m,{children:[f==="raw"&&e(q,{entries:t.entries}),f==="todos"&&e(F,{todos:t.session.todos}),f==="breakdown"&&(y?e(A,{items:ui(y.items,y.usableWindow).items}):!C?e(I,{}):null),f==="tools"&&(y?e(H,{tools:y.tools}):!C?e(I,{}):null)]})},f)]})]})}export{Ze as ContextSidebar};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{ae}from"./chunk-5v7dyp6t.js";import{t,i,Qe,F,A,W,N,M,P,R,I,O,D,J,Z}from"./chunk-9hkz2jgq.js";import{fe}from"./chunk-wh028xj6.js";var h={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},C=32,b={axes:[],curves:[],options:h},x=structuredClone(b),G=F.radar,B=t(()=>Z({...G,...A().radar}),"getConfig"),L=t(()=>x.axes,"getAxes"),V=t(()=>x.curves,"getCurves"),H=t(()=>x.options,"getOptions"),j=t((r)=>{x.axes=r.map((e)=>({name:e.name,label:e.label??e.name}))},"setAxes"),U=t((r)=>{x.curves=r.map((e)=>({name:e.name,label:e.label??e.name,entries:X(e.entries)}))},"setCurves"),X=t((r)=>{if(r[0].axis==null)return r.map((a)=>a.value);let e=L();if(e.length===0)throw Error("Axes must be populated before curves for reference entries");return e.map((a)=>{let n=r.find((s)=>s.axis?.$refText===a.name);if(n===void 0)throw Error("Missing entry for axis "+a.label);return n.value})},"computeCurveEntries"),K=t((r)=>{let e=r.reduce((a,n)=>(a[n.name]=n,a),{});if(x.options={showLegend:e.showLegend?.value??h.showLegend,ticks:e.ticks?.value??h.ticks,max:e.max?.value??h.max,min:e.min?.value??h.min,graticule:e.graticule?.value??h.graticule},x.options.ticks>C)i.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${C}). Using ${C} instead.`),x.options.ticks=C},"setOptions"),Y=t(()=>{N(),x=structuredClone(b)},"clear"),y={getAxes:L,getCurves:V,getOptions:H,setAxes:j,setCurves:U,setOptions:K,getConfig:B,clear:Y,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},q=t((r)=>{ae(r,y);let{axes:e,curves:a,options:n}=r;y.setAxes(e),y.setCurves(a),y.setOptions(n)},"populate"),Q={parse:t(async(r)=>{let e=await fe("radar",r);i.debug(e),q(e)},"parse")},tt=t((r,e,a,n)=>{let s=n.db,c=s.getAxes(),d=s.getCurves(),o=s.getOptions(),l=s.getConfig(),u=s.getDiagramTitle(),m=J(e),p=et(m,l),g=o.max??Math.max(...d.map((w)=>Math.max(...w.entries))),v=o.min,f=Math.min(l.width,l.height)/2;at(p,c,f,o.ticks,o.graticule),rt(p,c,f,l),T(p,c,d,v,g,o.graticule,l),_(p,d,o.showLegend,l),p.append("text").attr("class","radarTitle").text(u).attr("x",0).attr("y",-l.height/2-l.marginTop)},"draw"),et=t((r,e)=>{let a=e.width+e.marginLeft+e.marginRight,n=e.height+e.marginTop+e.marginBottom,s={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return W(r,n,a,e.useMaxWidth??!0),r.attr("viewBox",`0 0 ${a} ${n}`).attr("overflow","visible"),r.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),at=t((r,e,a,n,s)=>{if(s==="circle")for(let c=0;c<n;c++){let d=a*(c+1)/n;r.append("circle").attr("r",d).attr("class","radarGraticule")}else if(s==="polygon"){let c=e.length;for(let d=0;d<n;d++){let o=a*(d+1)/n,l=e.map((u,m)=>{let p=2*m*Math.PI/c-Math.PI/2,g=o*Math.cos(p),v=o*Math.sin(p);return`${g},${v}`}).join(" ");r.append("polygon").attr("points",l).attr("class","radarGraticule")}}},"drawGraticule"),rt=t((r,e,a,n)=>{let s=e.length;for(let c=0;c<s;c++){let d=e[c].label,o=2*c*Math.PI/s-Math.PI/2,l=Math.cos(o),u=Math.sin(o);r.append("line").attr("x1",0).attr("y1",0).attr("x2",a*n.axisScaleFactor*l).attr("y2",a*n.axisScaleFactor*u).attr("class","radarAxisLine");let m=l>0.01?"start":l<-0.01?"end":"middle",p=u>0.01?"hanging":u<-0.01?"auto":"central",g=4;r.append("text").text(d).attr("x",a*n.axisLabelFactor*l+g*l).attr("y",a*n.axisLabelFactor*u+g*u).attr("text-anchor",m).attr("dominant-baseline",p).attr("class","radarAxisLabel")}},"drawAxes");function T(r,e,a,n,s,c,d){let o=e.length,l=Math.min(d.width,d.height)/2;a.forEach((u,m)=>{if(u.entries.length!==o)return;let p=u.entries.map((g,v)=>{let f=2*Math.PI*v/o-Math.PI/2,w=S(g,n,s,l),E=w*Math.cos(f),z=w*Math.sin(f);return{x:E,y:z}});if(c==="circle")r.append("path").attr("d",k(p,d.curveTension)).attr("class",`radarCurve-${m}`);else if(c==="polygon")r.append("polygon").attr("points",p.map((g)=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${m}`)})}t(T,"drawCurves");function S(r,e,a,n){let s=Math.min(Math.max(r,e),a);return n*(s-e)/(a-e)}t(S,"relativeRadius");function k(r,e){let a=r.length,n=`M${r[0].x},${r[0].y}`;for(let s=0;s<a;s++){let c=r[(s-1+a)%a],d=r[s],o=r[(s+1)%a],l=r[(s+2)%a],u={x:d.x+(o.x-c.x)*e,y:d.y+(o.y-c.y)*e},m={x:o.x-(l.x-d.x)*e,y:o.y-(l.y-d.y)*e};n+=` C${u.x},${u.y} ${m.x},${m.y} ${o.x},${o.y}`}return`${n} Z`}t(k,"closedRoundCurve");function _(r,e,a,n){if(!a)return;let s=(n.width/2+n.marginRight)*3/4,c=-(n.height/2+n.marginTop)*3/4,d=20;e.forEach((o,l)=>{let u=r.append("g").attr("transform",`translate(${s}, ${c+l*d})`);u.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${l}`),u.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(o.label)})}t(_,"drawLegend");var nt={draw:tt},st=t((r,e)=>{let a="";for(let n=0;n<r.THEME_COLOR_LIMIT;n++){let s=r[`cScale${n}`];a+=`
|
|
2
|
+
.radarCurve-${n} {
|
|
3
|
+
color: ${s};
|
|
4
|
+
fill: ${s};
|
|
5
|
+
fill-opacity: ${e.curveOpacity};
|
|
6
|
+
stroke: ${s};
|
|
7
|
+
stroke-width: ${e.curveStrokeWidth};
|
|
8
|
+
}
|
|
9
|
+
.radarLegendBox-${n} {
|
|
10
|
+
fill: ${s};
|
|
11
|
+
fill-opacity: ${e.curveOpacity};
|
|
12
|
+
stroke: ${s};
|
|
13
|
+
}
|
|
14
|
+
`}return a},"genIndexStyles"),ot=t((r)=>{let e=Qe(),a=A(),n=Z(e,a.themeVariables),s=Z(n.radar,r);return{themeVariables:n,radarOptions:s}},"buildRadarStyleOptions"),it=t(({radar:r}={})=>{let{themeVariables:e,radarOptions:a}=ot(r);return`
|
|
15
|
+
.radarTitle {
|
|
16
|
+
font-size: ${e.fontSize};
|
|
17
|
+
color: ${e.titleColor};
|
|
18
|
+
dominant-baseline: hanging;
|
|
19
|
+
text-anchor: middle;
|
|
20
|
+
}
|
|
21
|
+
.radarAxisLine {
|
|
22
|
+
stroke: ${a.axisColor};
|
|
23
|
+
stroke-width: ${a.axisStrokeWidth};
|
|
24
|
+
}
|
|
25
|
+
.radarAxisLabel {
|
|
26
|
+
font-size: ${a.axisLabelFontSize}px;
|
|
27
|
+
color: ${a.axisColor};
|
|
28
|
+
}
|
|
29
|
+
.radarGraticule {
|
|
30
|
+
fill: ${a.graticuleColor};
|
|
31
|
+
fill-opacity: ${a.graticuleOpacity};
|
|
32
|
+
stroke: ${a.graticuleColor};
|
|
33
|
+
stroke-width: ${a.graticuleStrokeWidth};
|
|
34
|
+
}
|
|
35
|
+
.radarLegendText {
|
|
36
|
+
text-anchor: start;
|
|
37
|
+
font-size: ${a.legendFontSize}px;
|
|
38
|
+
dominant-baseline: hanging;
|
|
39
|
+
}
|
|
40
|
+
${st(e,a)}
|
|
41
|
+
`},"styles"),xt={parser:Q,db:y,renderer:nt,styles:it};export{xt as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fs}from"./chunk-wh028xj6.js";export{Fs as createEventModelingServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,i}from"./chunk-9hkz2jgq.js";import{he,Rn,Pn}from"./chunk-wydnkdtp.js";import{ae}from"./chunk-5v7dyp6t.js";import{Ra,wn}from"./chunk-wh028xj6.js";var o=Ra().Railroad.parser.LangiumParser,a=t((e)=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{let r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{let r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),l=t((e)=>({name:e.name,definition:a(e.definition)}),"transformRule"),s=t((e)=>{if(ae(e,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(l(r)))},"populateDb"),m={parse:t((e)=>{he.clear(),i.debug("[Railroad Parser] Starting Langium parse");let r=o.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new wn(r);let n=r.value;i.debug("[Railroad Parser] Parsed rules:",n.rules.length),s(n),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:he}},R={parser:m,db:he,renderer:Pn,styles:Rn};export{R as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{As}from"./chunk-yjan9xfw.js";export{As as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Is}from"./chunk-wh028xj6.js";export{Is as createInfoServices};
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{v,s,w,o,a,m,e,n,b,zt}from"./chunk-ev6xj0qs.js";import{xt,Kn,Et,mc,Zn,yr,Ei,Us,fc}from"./chunk-1fp0r6da.js";var z="__chat__";function E(f){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:`${f.percent}%`}})})}function _(f){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:f.children})}function B(f){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:f.children})}function V(f){return n(B,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:xt(f.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:xt(f.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:xt(f.stat.cacheReadTokens)}),f.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",Zn(f.cacheHitRate),")"]})]})]})}function Q(f){let{projects:h,selectedProjectID:D,onSelectProject:k}=f,{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:Kn(t.totalTokens),children:xt(t.totalTokens)}),n("span",{className:"text-2xs text-faint",children:["(",Zn(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(f){let{models:h}=f,{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:Kn(l.totalTokens),children:[xt(l.totalTokens)," ",n("span",{className:"text-2xs font-normal text-faint",children:["(",Zn(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:mc(l.generationMs)})]})]})]})]},l.model)})})}function J(f){let{tools:h}=f,{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:["成功率 ",Zn(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:["(",Zn(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:yr(l.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:yr(j)})]})]})]})]},l.name)})})}function X(f){let{sessions:h,onOpenSession:D}=f,{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:Kn(t.totalTokens),children:xt(t.totalTokens)}),e(zt,{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:fc(t.updated)})]})]})]},t.id)})})}var ee=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function te(f){let{cn:h,Segmented:D,SettingGroup:k,style:l}=b(),{daily:t}=f,[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:Kn(N),avgText:S>0?xt(Math.round(N/S)):"0",peakDate:T&&T.totalTokens>0?Ei(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?Ei(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,d=t[0];for(let N of t){let S=d?d.assistantTurns+d.userMessages:0;if(!d||N.assistantTurns+N.userMessages>S)d=N}let L=d?d.assistantTurns+d.userMessages:0;return{totalText:`${u.toLocaleString()} 轮`,totalFullText:`助手 ${r.toLocaleString()} 轮 · 用户 ${i.toLocaleString()} 问`,avgText:g>0?`${(u/g).toFixed(1)} 轮/天`:"0 轮/天",peakDate:d&&L>0?Ei(d.date):"—",peakValueText:d&&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)),d=t[g];if(d)i.push(d.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(m,{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(m,{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(m,{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)),d=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",d?"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(m,{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(m,{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(m,{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"})]})]}),d&&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:Ei(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(m,{children:[e("span",{className:"text-ink",children:Us(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(f){let{cn:h,SettingGroup:D}=b(),{daily:k,hourly:l}=f,[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 d=i.get(g);if(d)u.push(d);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:["日间占比 ",Zn(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,d=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
|
+
消耗: ${Kn(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:d>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:`${d}%`}}):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 d=i.totalTokens/y;if(d<=0.33)u="bg-accent/30";else if(d<=0.66)u="bg-accent/60";else u="bg-accent"}let g=`${Us(i.date)}
|
|
5
|
+
消耗: ${Kn(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(f,h){return`${f}:${h??"all"}`}function we(f){let{connection:h,onOpen:D}=f,{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,d]=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),d(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)d(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(m,{children:["统计 ",n("span",{className:"text-dim",children:["· ",M]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(m,{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:["缓存命中 ",Zn(c.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${Kn(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};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Da}from"./chunk-wh028xj6.js";export{Da as createRailroadPegServices};
|
|
Binary file
|
|
Binary file
|