@bkm016/basalt 0.1.23 → 0.1.24
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-0ecs4nme.js +18 -0
- package/chunk-0mrd775t.js +3 -0
- package/chunk-0nxcbf6d.js +472 -0
- package/chunk-0p12aad6.js +3 -0
- package/chunk-0vdz9j55.js +7 -0
- package/chunk-1v0dv855.js +3 -0
- package/chunk-2jeg8h8d.js +3 -0
- package/chunk-2q3tewbg.js +59 -0
- package/chunk-3hqka8zs.js +2 -0
- package/chunk-3ktcgaec.js +2 -0
- package/chunk-3v0ezmaw.js +39 -0
- package/chunk-3zv7ryz0.js +2 -0
- package/chunk-4x7xnfw1.js +2 -0
- package/chunk-5kd940f5.js +3 -0
- package/chunk-628vymvd.js +3 -0
- package/chunk-6h9dxrr4.js +2 -0
- package/chunk-6ka4m0ax.js +2 -0
- package/chunk-6q0ak8d1.js +12 -0
- package/chunk-768vwfc3.js +3 -0
- package/chunk-7k4xghss.js +5 -0
- package/chunk-8jv34hrx.js +7 -0
- package/chunk-8yv55y6g.js +3 -0
- package/chunk-95rqa8r8.js +2 -0
- package/chunk-979mxkzt.js +2 -0
- package/chunk-9y8v1vrt.js +15 -0
- package/chunk-akf8x16s.js +5 -0
- package/chunk-bdr1170y.js +3 -0
- package/chunk-bkmd5d8p.js +3 -0
- package/chunk-c4nxr37s.js +3566 -0
- package/chunk-cte9wd9x.js +4 -0
- package/chunk-df7ye0xb.js +9 -0
- package/chunk-dsd6pd2m.js +2 -0
- package/chunk-eejgn4ye.js +2 -0
- package/chunk-eek8fqvj.js +2 -0
- package/chunk-ewjrnvjb.js +10 -0
- package/chunk-f4tqhvff.js +3 -0
- package/chunk-gha8wd63.js +11 -0
- package/chunk-gwrpahes.js +2 -0
- package/chunk-hz92pdms.js +2 -0
- package/chunk-jepxf22f.js +7 -0
- package/chunk-kh4yq4rd.js +4 -0
- package/chunk-khdch9sx.js +25 -0
- package/chunk-m1w7f6d3.js +5 -0
- package/chunk-ma91f4qj.js +2 -0
- package/chunk-mah60ek9.js +3 -0
- package/chunk-mmm1jh57.js +20 -0
- package/chunk-mmt11y21.js +2 -0
- package/chunk-mny4xyb0.js +3 -0
- package/chunk-mq0p4ssz.js +3 -0
- package/chunk-mzta1jts.js +10 -0
- package/chunk-n0qwj5gm.js +12 -0
- package/chunk-n19ec95n.js +3 -0
- package/chunk-n5b822pn.js +3 -0
- package/chunk-nvxx397h.js +2 -0
- package/chunk-nwfhbcme.js +4 -0
- package/chunk-pcd14q8r.js +390 -0
- package/chunk-pr1hfw3a.js +2 -0
- package/chunk-q2re8mn9.js +31 -0
- package/chunk-qgg3wk8h.js +2 -0
- package/chunk-r9gkfk6f.js +16 -0
- package/chunk-rjfph4m5.js +3 -0
- package/chunk-rmy489b1.js +7 -0
- package/chunk-sf2cp0m6.js +8 -0
- package/chunk-sfwy8rqg.js +3 -0
- package/chunk-sj2q2amm.js +11 -0
- package/chunk-sqfs6z7c.js +3 -0
- package/chunk-sy980cjq.js +2 -0
- package/chunk-t64hda7b.js +2 -0
- package/chunk-tbhqhejq.js +2 -0
- package/chunk-trxaygjr.js +5 -0
- package/chunk-v7ehjbxx.js +2 -0
- package/chunk-vjegsy9q.js +2 -0
- package/chunk-vt4xyc4q.js +2 -0
- package/chunk-w430z452.js +25 -0
- package/chunk-xycq2q8m.js +2 -0
- package/chunk-y16fqzad.js +3 -0
- package/chunk-y6mng74k.js +2 -0
- package/chunk-y8aq7mb7.js +3 -0
- package/chunk-ynt6najh.js +3 -0
- package/chunk-z1y43t2s.js +3 -0
- package/chunk-z6v2pcc0.js +3 -0
- package/compiled.js +5 -5
- package/package.json +1 -1
- package/ui-test-worker.js +24 -24
- package/web/chunk-085ttz7c.js +84 -0
- package/web/chunk-085ttz7c.js.br +0 -0
- package/web/chunk-085ttz7c.js.gz +0 -0
- package/web/chunk-0g9ycv0h.js +2 -0
- package/web/chunk-0g9ycv0h.js.br +0 -0
- package/web/chunk-0g9ycv0h.js.gz +0 -0
- package/web/chunk-13x3xyyh.js +7 -0
- package/web/chunk-13x3xyyh.js.br +0 -0
- package/web/chunk-13x3xyyh.js.gz +0 -0
- package/web/chunk-172gywq4.js +214 -0
- package/web/chunk-172gywq4.js.br +0 -0
- package/web/chunk-172gywq4.js.gz +0 -0
- package/web/chunk-176tsg6e.js +2 -0
- package/web/chunk-176tsg6e.js.br +0 -0
- package/web/chunk-176tsg6e.js.gz +0 -0
- package/web/chunk-17d30546.js +38 -0
- package/web/chunk-17d30546.js.br +0 -0
- package/web/chunk-17d30546.js.gz +0 -0
- package/web/chunk-1k6jx4hs.js +1 -0
- package/web/chunk-1k6jx4hs.js.br +0 -0
- package/web/chunk-1k6jx4hs.js.gz +0 -0
- package/web/chunk-1kts05s6.css +1 -0
- package/web/chunk-1kts05s6.css.br +0 -0
- package/web/chunk-1kts05s6.css.gz +0 -0
- package/web/chunk-1z0x1j6q.js +1 -0
- package/web/chunk-1z0x1j6q.js.br +0 -0
- package/web/chunk-1z0x1j6q.js.gz +0 -0
- package/web/chunk-290wy4yk.js +1 -0
- package/web/chunk-290wy4yk.js.br +0 -0
- package/web/chunk-290wy4yk.js.gz +0 -0
- package/web/chunk-2cdw1299.js +1 -0
- package/web/chunk-2cdw1299.js.br +0 -0
- package/web/chunk-2cdw1299.js.gz +0 -0
- package/web/chunk-2fms67zg.js +332 -0
- package/web/chunk-2fms67zg.js.br +0 -0
- package/web/chunk-2fms67zg.js.gz +0 -0
- package/web/chunk-2psxv4dk.js +120 -0
- package/web/chunk-2psxv4dk.js.br +0 -0
- package/web/chunk-2psxv4dk.js.gz +0 -0
- package/web/chunk-2z4zhtw4.js +142 -0
- package/web/chunk-2z4zhtw4.js.br +0 -0
- package/web/chunk-2z4zhtw4.js.gz +0 -0
- package/web/chunk-33eqjx7d.js +2 -0
- package/web/chunk-33eqjx7d.js.br +0 -0
- package/web/chunk-33eqjx7d.js.gz +0 -0
- package/web/chunk-39rtp0f4.js +1 -0
- package/web/chunk-39rtp0f4.js.br +0 -0
- package/web/chunk-39rtp0f4.js.gz +0 -0
- package/web/chunk-3sszg3gr.js +24 -0
- package/web/chunk-3sszg3gr.js.br +0 -0
- package/web/chunk-3sszg3gr.js.gz +0 -0
- package/web/chunk-3vdw9nn7.js +62 -0
- package/web/chunk-3vdw9nn7.js.br +0 -0
- package/web/chunk-3vdw9nn7.js.gz +0 -0
- package/web/chunk-43shp7zx.js +2 -0
- package/web/chunk-43shp7zx.js.br +0 -0
- package/web/chunk-43shp7zx.js.gz +0 -0
- package/web/chunk-4cbcqcd2.js +1 -0
- package/web/chunk-4cbcqcd2.js.br +0 -0
- package/web/chunk-4cbcqcd2.js.gz +0 -0
- package/web/chunk-4v6n6b36.js +1 -0
- package/web/chunk-4v6n6b36.js.br +0 -0
- package/web/chunk-4v6n6b36.js.gz +0 -0
- package/web/chunk-54vdfmx0.js +2 -0
- package/web/chunk-54vdfmx0.js.br +0 -0
- package/web/chunk-54vdfmx0.js.gz +0 -0
- package/web/chunk-59ybhv47.js +1 -0
- package/web/chunk-59ybhv47.js.br +0 -0
- package/web/chunk-59ybhv47.js.gz +0 -0
- package/web/chunk-5a80hcah.js +1 -0
- package/web/chunk-5a80hcah.js.br +0 -0
- package/web/chunk-5a80hcah.js.gz +0 -0
- package/web/chunk-5zkw2kkb.js +140 -0
- package/web/chunk-5zkw2kkb.js.br +0 -0
- package/web/chunk-5zkw2kkb.js.gz +0 -0
- package/web/chunk-634vc92s.js +70 -0
- package/web/chunk-634vc92s.js.br +0 -0
- package/web/chunk-634vc92s.js.gz +0 -0
- package/web/chunk-6n3cwe1h.js +169 -0
- package/web/chunk-6n3cwe1h.js.br +0 -0
- package/web/chunk-6n3cwe1h.js.gz +0 -0
- package/web/chunk-6zr2j7xj.js +1 -0
- package/web/chunk-6zr2j7xj.js.br +0 -0
- package/web/chunk-6zr2j7xj.js.gz +0 -0
- package/web/chunk-713ygtrs.js +200 -0
- package/web/chunk-713ygtrs.js.br +0 -0
- package/web/chunk-713ygtrs.js.gz +0 -0
- package/web/chunk-7m4gmjvp.js +1 -0
- package/web/chunk-7m4gmjvp.js.br +0 -0
- package/web/chunk-7m4gmjvp.js.gz +0 -0
- package/web/chunk-7x90pq42.js +1 -0
- package/web/chunk-7x90pq42.js.br +0 -0
- package/web/chunk-7x90pq42.js.gz +0 -0
- package/web/chunk-7ycp549b.js +2 -0
- package/web/chunk-7ycp549b.js.br +0 -0
- package/web/chunk-7ycp549b.js.gz +0 -0
- package/web/chunk-811qc5bs.js +1 -0
- package/web/chunk-811qc5bs.js.br +0 -0
- package/web/chunk-811qc5bs.js.gz +0 -0
- package/web/chunk-82gjgy45.js +1 -0
- package/web/chunk-82gjgy45.js.br +0 -0
- package/web/chunk-82gjgy45.js.gz +0 -0
- package/web/chunk-8de69eyx.js +2 -0
- package/web/chunk-8de69eyx.js.br +0 -0
- package/web/chunk-8de69eyx.js.gz +0 -0
- package/web/chunk-91s1ns6b.js +55 -0
- package/web/chunk-91s1ns6b.js.br +0 -0
- package/web/chunk-91s1ns6b.js.gz +0 -0
- package/web/chunk-921qw2jf.js +1 -0
- package/web/chunk-921qw2jf.js.br +0 -0
- package/web/chunk-921qw2jf.js.gz +0 -0
- package/web/chunk-96n0nem7.js +2 -0
- package/web/chunk-96n0nem7.js.br +0 -0
- package/web/chunk-96n0nem7.js.gz +0 -0
- package/web/chunk-9k9p5dat.js +1 -0
- package/web/chunk-9k9p5dat.js.br +0 -0
- package/web/chunk-9k9p5dat.js.gz +0 -0
- package/web/chunk-a529550j.js +1 -0
- package/web/chunk-a529550j.js.br +0 -0
- package/web/chunk-a529550j.js.gz +0 -0
- package/web/chunk-abvtsz6z.js +2 -0
- package/web/chunk-abvtsz6z.js.br +0 -0
- package/web/chunk-abvtsz6z.js.gz +0 -0
- package/web/chunk-ac8vmj54.js +1 -0
- package/web/chunk-ac8vmj54.js.br +0 -0
- package/web/chunk-ac8vmj54.js.gz +0 -0
- package/web/chunk-amrt87c9.js +1 -0
- package/web/chunk-amrt87c9.js.br +0 -0
- package/web/chunk-amrt87c9.js.gz +0 -0
- package/web/chunk-b2t33c3t.js +2 -0
- package/web/chunk-b2t33c3t.js.br +0 -0
- package/web/chunk-b2t33c3t.js.gz +0 -0
- package/web/chunk-b9fqnzqd.js +217 -0
- package/web/chunk-b9fqnzqd.js.br +0 -0
- package/web/chunk-b9fqnzqd.js.gz +0 -0
- package/web/chunk-bbs6yq60.js +99 -0
- package/web/chunk-bbs6yq60.js.br +0 -0
- package/web/chunk-bbs6yq60.js.gz +0 -0
- package/web/chunk-bbyqcvdz.js +2 -0
- package/web/chunk-bbyqcvdz.js.br +0 -0
- package/web/chunk-bbyqcvdz.js.gz +0 -0
- package/web/chunk-bg2ps35t.js +2 -0
- package/web/chunk-bg2ps35t.js.br +0 -0
- package/web/chunk-bg2ps35t.js.gz +0 -0
- package/web/chunk-bh0a254y.js +30 -0
- package/web/chunk-bh0a254y.js.br +0 -0
- package/web/chunk-bh0a254y.js.gz +0 -0
- package/web/chunk-bvmvj35k.js +1 -0
- package/web/chunk-bvmvj35k.js.br +0 -0
- package/web/chunk-bvmvj35k.js.gz +0 -0
- package/web/chunk-c2eqwepm.js +2 -0
- package/web/chunk-c2eqwepm.js.br +0 -0
- package/web/chunk-c2eqwepm.js.gz +0 -0
- package/web/chunk-ca8hnmmv.js +34 -0
- package/web/chunk-ca8hnmmv.js.br +0 -0
- package/web/chunk-ca8hnmmv.js.gz +0 -0
- package/web/chunk-ced8pdbc.js +1 -0
- package/web/chunk-ced8pdbc.js.br +0 -0
- package/web/chunk-ced8pdbc.js.gz +0 -0
- package/web/chunk-cj0cmvbm.js +89 -0
- package/web/chunk-cj0cmvbm.js.br +0 -0
- package/web/chunk-cj0cmvbm.js.gz +0 -0
- package/web/chunk-cqr2kq2c.js +1 -0
- package/web/chunk-cqr2kq2c.js.br +0 -0
- package/web/chunk-cqr2kq2c.js.gz +0 -0
- package/web/chunk-crhbhsrh.js +2 -0
- package/web/chunk-crhbhsrh.js.br +0 -0
- package/web/chunk-crhbhsrh.js.gz +0 -0
- package/web/chunk-cxhcrhqc.js +1 -0
- package/web/chunk-cxhcrhqc.js.br +0 -0
- package/web/chunk-cxhcrhqc.js.gz +0 -0
- package/web/chunk-e3d6kvwm.js +1 -0
- package/web/chunk-e3d6kvwm.js.br +0 -0
- package/web/chunk-e3d6kvwm.js.gz +0 -0
- package/web/chunk-ee67ps6t.js +1 -0
- package/web/chunk-ee67ps6t.js.br +0 -0
- package/web/chunk-ee67ps6t.js.gz +0 -0
- package/web/chunk-ekwmp0s0.js +1 -0
- package/web/chunk-ekwmp0s0.js.br +0 -0
- package/web/chunk-ekwmp0s0.js.gz +0 -0
- package/web/chunk-eq28qb33.js +2 -0
- package/web/chunk-eq28qb33.js.br +3 -0
- package/web/chunk-eq28qb33.js.gz +0 -0
- package/web/chunk-f8ac76br.js +2 -0
- package/web/chunk-f8ac76br.js.br +3 -0
- package/web/chunk-f8ac76br.js.gz +0 -0
- package/web/chunk-fp7q643n.js +36 -0
- package/web/chunk-fp7q643n.js.br +0 -0
- package/web/chunk-fp7q643n.js.gz +0 -0
- package/web/chunk-g1penf6y.js +2 -0
- package/web/chunk-g1penf6y.js.br +0 -0
- package/web/chunk-g1penf6y.js.gz +0 -0
- package/web/chunk-g7t1bvvx.js +2 -0
- package/web/chunk-g7t1bvvx.js.br +0 -0
- package/web/chunk-g7t1bvvx.js.gz +0 -0
- package/web/chunk-gf4ky7tp.js +8 -0
- package/web/chunk-gf4ky7tp.js.br +0 -0
- package/web/chunk-gf4ky7tp.js.gz +0 -0
- package/web/chunk-gtcjwz0j.js +1 -0
- package/web/chunk-gtcjwz0j.js.br +2 -0
- package/web/chunk-gtcjwz0j.js.gz +0 -0
- package/web/chunk-gy2y4zfa.js +21 -0
- package/web/chunk-gy2y4zfa.js.br +0 -0
- package/web/chunk-gy2y4zfa.js.gz +0 -0
- package/web/chunk-h1cv1kke.js +16 -0
- package/web/chunk-h1cv1kke.js.br +0 -0
- package/web/chunk-h1cv1kke.js.gz +0 -0
- package/web/chunk-h6k80vqf.js +1 -0
- package/web/chunk-h6k80vqf.js.br +0 -0
- package/web/chunk-h6k80vqf.js.gz +0 -0
- package/web/chunk-hqtm67yw.js +24 -0
- package/web/chunk-hqtm67yw.js.br +0 -0
- package/web/chunk-hqtm67yw.js.gz +0 -0
- package/web/chunk-hsgtzrkh.js +1 -0
- package/web/chunk-hsgtzrkh.js.br +0 -0
- package/web/chunk-hsgtzrkh.js.gz +0 -0
- package/web/chunk-htn0dt64.js +2 -0
- package/web/chunk-htn0dt64.js.br +0 -0
- package/web/chunk-htn0dt64.js.gz +0 -0
- package/web/chunk-j7phw79h.js +1 -0
- package/web/chunk-j7phw79h.js.br +0 -0
- package/web/chunk-j7phw79h.js.gz +0 -0
- package/web/chunk-k69ysa0v.js +1 -0
- package/web/chunk-k69ysa0v.js.br +0 -0
- package/web/chunk-k69ysa0v.js.gz +0 -0
- package/web/chunk-k7h5g8qj.js +1 -0
- package/web/chunk-k7h5g8qj.js.br +2 -0
- package/web/chunk-k7h5g8qj.js.gz +0 -0
- package/web/chunk-k8x1xbf6.js +1 -0
- package/web/chunk-k8x1xbf6.js.br +0 -0
- package/web/chunk-k8x1xbf6.js.gz +0 -0
- package/web/chunk-k8yyb4wc.js +2 -0
- package/web/chunk-k8yyb4wc.js.br +0 -0
- package/web/chunk-k8yyb4wc.js.gz +0 -0
- package/web/chunk-kbvzxsz7.js +324 -0
- package/web/chunk-kbvzxsz7.js.br +0 -0
- package/web/chunk-kbvzxsz7.js.gz +0 -0
- package/web/chunk-kn9bc5z2.js +291 -0
- package/web/chunk-kn9bc5z2.js.br +0 -0
- package/web/chunk-kn9bc5z2.js.gz +0 -0
- package/web/chunk-ksr360js.js +4 -0
- package/web/chunk-ksr360js.js.br +0 -0
- package/web/chunk-ksr360js.js.gz +0 -0
- package/web/chunk-m5nt857c.js +1 -0
- package/web/chunk-m5nt857c.js.br +0 -0
- package/web/chunk-m5nt857c.js.gz +0 -0
- package/web/chunk-mbaw66b5.js +2 -0
- package/web/chunk-mbaw66b5.js.br +0 -0
- package/web/chunk-mbaw66b5.js.gz +0 -0
- package/web/chunk-ms7cscs9.js +1 -0
- package/web/chunk-ms7cscs9.js.br +0 -0
- package/web/chunk-ms7cscs9.js.gz +0 -0
- package/web/chunk-msn8bpe6.js +1 -0
- package/web/chunk-msn8bpe6.js.br +0 -0
- package/web/chunk-msn8bpe6.js.gz +0 -0
- package/web/chunk-n59nyqcr.js +303 -0
- package/web/chunk-n59nyqcr.js.br +0 -0
- package/web/chunk-n59nyqcr.js.gz +0 -0
- package/web/chunk-n9npqkxf.js +1 -0
- package/web/chunk-n9npqkxf.js.br +0 -0
- package/web/chunk-n9npqkxf.js.gz +0 -0
- package/web/chunk-nb3jk1wk.js +1 -0
- package/web/chunk-nb3jk1wk.js.br +0 -0
- package/web/chunk-nb3jk1wk.js.gz +0 -0
- package/web/chunk-ny87aq2j.js +1 -0
- package/web/chunk-ny87aq2j.js.br +0 -0
- package/web/chunk-ny87aq2j.js.gz +0 -0
- package/web/chunk-phr7yps3.js +3 -0
- package/web/chunk-phr7yps3.js.br +0 -0
- package/web/chunk-phr7yps3.js.gz +0 -0
- package/web/chunk-ppccb30x.js +78 -0
- package/web/chunk-ppccb30x.js.br +0 -0
- package/web/chunk-ppccb30x.js.gz +0 -0
- package/web/chunk-q0kx0wyj.js +2 -0
- package/web/chunk-q0kx0wyj.js.br +0 -0
- package/web/chunk-q0kx0wyj.js.gz +0 -0
- package/web/chunk-q17rem99.js +89 -0
- package/web/chunk-q17rem99.js.br +0 -0
- package/web/chunk-q17rem99.js.gz +0 -0
- package/web/chunk-qdq6wvgt.js +139 -0
- package/web/chunk-qdq6wvgt.js.br +0 -0
- package/web/chunk-qdq6wvgt.js.gz +0 -0
- package/web/chunk-qhr6hegh.js +1 -0
- package/web/chunk-qhr6hegh.js.br +0 -0
- package/web/chunk-qhr6hegh.js.gz +0 -0
- package/web/chunk-qjswcwvm.js +1 -0
- package/web/chunk-qjswcwvm.js.br +0 -0
- package/web/chunk-qjswcwvm.js.gz +0 -0
- package/web/chunk-qqtj88e0.js +2 -0
- package/web/chunk-qqtj88e0.js.br +0 -0
- package/web/chunk-qqtj88e0.js.gz +0 -0
- package/web/chunk-r165xpp5.js +1 -0
- package/web/chunk-r165xpp5.js.br +0 -0
- package/web/chunk-r165xpp5.js.gz +0 -0
- package/web/chunk-r4cr8rvt.js +1 -0
- package/web/chunk-r4cr8rvt.js.br +0 -0
- package/web/chunk-r4cr8rvt.js.gz +0 -0
- package/web/chunk-sapy54hm.js +106 -0
- package/web/chunk-sapy54hm.js.br +0 -0
- package/web/chunk-sapy54hm.js.gz +0 -0
- package/web/chunk-sarkb4p9.js +12 -0
- package/web/chunk-sarkb4p9.js.br +0 -0
- package/web/chunk-sarkb4p9.js.gz +0 -0
- package/web/chunk-t7vwsg9r.js +292 -0
- package/web/chunk-t7vwsg9r.js.br +0 -0
- package/web/chunk-t7vwsg9r.js.gz +0 -0
- package/web/chunk-ta913rgd.js +2 -0
- package/web/chunk-ta913rgd.js.br +0 -0
- package/web/chunk-ta913rgd.js.gz +0 -0
- package/web/chunk-tt7j0m6m.js +7 -0
- package/web/chunk-tt7j0m6m.js.br +0 -0
- package/web/chunk-tt7j0m6m.js.gz +0 -0
- package/web/chunk-v36p2ccs.js +2 -0
- package/web/chunk-v36p2ccs.js.br +0 -0
- package/web/chunk-v36p2ccs.js.gz +0 -0
- package/web/chunk-va1rkfan.js +1 -0
- package/web/chunk-va1rkfan.js.br +0 -0
- package/web/chunk-va1rkfan.js.gz +0 -0
- package/web/chunk-vb3sy3hv.js +39 -0
- package/web/chunk-vb3sy3hv.js.br +0 -0
- package/web/chunk-vb3sy3hv.js.gz +0 -0
- package/web/chunk-vgpyff03.js +41 -0
- package/web/chunk-vgpyff03.js.br +0 -0
- package/web/chunk-vgpyff03.js.gz +0 -0
- package/web/chunk-vmpry714.js +1 -0
- package/web/chunk-vmpry714.js.br +0 -0
- package/web/chunk-vmpry714.js.gz +0 -0
- package/web/chunk-vrtdjg91.js +1 -0
- package/web/chunk-vrtdjg91.js.br +0 -0
- package/web/chunk-vrtdjg91.js.gz +0 -0
- package/web/chunk-vx6qbmd7.js +2 -0
- package/web/chunk-vx6qbmd7.js.br +0 -0
- package/web/chunk-vx6qbmd7.js.gz +0 -0
- package/web/chunk-w563538j.js +370 -0
- package/web/chunk-w563538j.js.br +0 -0
- package/web/chunk-w563538j.js.gz +0 -0
- package/web/chunk-w71t7mes.js +1 -0
- package/web/chunk-w71t7mes.js.br +0 -0
- package/web/chunk-w71t7mes.js.gz +0 -0
- package/web/chunk-w96etr1w.js +1 -0
- package/web/chunk-w96etr1w.js.br +0 -0
- package/web/chunk-w96etr1w.js.gz +0 -0
- package/web/chunk-wrqazg2v.js +2 -0
- package/web/chunk-wrqazg2v.js.br +0 -0
- package/web/chunk-wrqazg2v.js.gz +0 -0
- package/web/chunk-xsyrxa45.js +2 -0
- package/web/chunk-xsyrxa45.js.br +0 -0
- package/web/chunk-xsyrxa45.js.gz +0 -0
- package/web/chunk-xv1d350x.js +1 -0
- package/web/chunk-xv1d350x.js.br +0 -0
- package/web/chunk-xv1d350x.js.gz +0 -0
- package/web/chunk-xw8tzrmm.js +1135 -0
- package/web/chunk-xw8tzrmm.js.br +0 -0
- package/web/chunk-xw8tzrmm.js.gz +0 -0
- package/web/chunk-xwsh4jx7.js +1 -0
- package/web/chunk-xwsh4jx7.js.br +2 -0
- package/web/chunk-xwsh4jx7.js.gz +0 -0
- package/web/chunk-xxk7xkrs.js +1 -0
- package/web/chunk-xxk7xkrs.js.br +0 -0
- package/web/chunk-xxk7xkrs.js.gz +0 -0
- package/web/chunk-y5zd05mz.js +40 -0
- package/web/chunk-y5zd05mz.js.br +0 -0
- package/web/chunk-y5zd05mz.js.gz +0 -0
- package/web/chunk-yg9a23mv.js +1 -0
- package/web/chunk-yg9a23mv.js.br +0 -0
- package/web/chunk-yg9a23mv.js.gz +0 -0
- package/web/chunk-ygzgrjj7.js +7 -0
- package/web/chunk-ygzgrjj7.js.br +0 -0
- package/web/chunk-ygzgrjj7.js.gz +0 -0
- package/web/chunk-yp75a6yh.js +4 -0
- package/web/chunk-yp75a6yh.js.br +0 -0
- package/web/chunk-yp75a6yh.js.gz +0 -0
- package/web/chunk-yygayy5a.js +1 -0
- package/web/chunk-yygayy5a.js.br +0 -0
- package/web/chunk-yygayy5a.js.gz +0 -0
- package/web/chunk-za5j3w7x.js +2 -0
- package/web/chunk-za5j3w7x.js.br +0 -0
- package/web/chunk-za5j3w7x.js.gz +0 -0
- package/web/chunk-zs7c2db4.js +1 -0
- package/web/chunk-zs7c2db4.js.br +0 -0
- package/web/chunk-zs7c2db4.js.gz +0 -0
- package/web/chunk-zsae1tn8.js +98 -0
- package/web/chunk-zsae1tn8.js.br +0 -0
- package/web/chunk-zsae1tn8.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-01g872ez.js +0 -3
- package/chunk-078td1r4.js +0 -7
- package/chunk-1mhv12a5.js +0 -3
- package/chunk-1zrht78t.js +0 -2
- package/chunk-2e4xds74.js +0 -18
- package/chunk-2hkpqjqj.js +0 -3
- package/chunk-2mhpgb4t.js +0 -2
- package/chunk-3nwqng5t.js +0 -59
- package/chunk-3zm1ejmh.js +0 -3
- package/chunk-4d9p68s9.js +0 -3
- package/chunk-5znfck4s.js +0 -5
- package/chunk-6048rq29.js +0 -8
- package/chunk-61zk13qr.js +0 -3
- package/chunk-62ty404c.js +0 -2
- package/chunk-6vp2nqbj.js +0 -2
- package/chunk-7a5derff.js +0 -25
- package/chunk-7qhbff72.js +0 -5
- package/chunk-7xw6fpx3.js +0 -3
- package/chunk-84rk4tew.js +0 -2
- package/chunk-8wb8yr7d.js +0 -12
- package/chunk-93b76hhg.js +0 -11
- package/chunk-9h05aqdd.js +0 -25
- package/chunk-a2jsx2ew.js +0 -3
- package/chunk-a2qwx6cr.js +0 -2
- package/chunk-a7h459z1.js +0 -2
- package/chunk-atjwde1c.js +0 -2
- package/chunk-bk20awc9.js +0 -10
- package/chunk-bm2jhkqt.js +0 -3
- package/chunk-bp4zk5ch.js +0 -3
- package/chunk-c5ess8kd.js +0 -3
- package/chunk-cj7yhgnd.js +0 -2
- package/chunk-cjq2bzkf.js +0 -3
- package/chunk-csrpxzn7.js +0 -3
- package/chunk-cwesdh51.js +0 -39
- package/chunk-dt594v3d.js +0 -9
- package/chunk-dwxp0gtf.js +0 -4
- package/chunk-ejdewe04.js +0 -3
- package/chunk-fkzk83xs.js +0 -2
- package/chunk-fsnc2sja.js +0 -3
- package/chunk-g18hxgdr.js +0 -12
- package/chunk-hfwy0rzt.js +0 -10
- package/chunk-hg5wmrfb.js +0 -3
- package/chunk-hvex6qjc.js +0 -5
- package/chunk-hw8xknv5.js +0 -2
- package/chunk-j91wgfzj.js +0 -2
- package/chunk-jyx4ynyp.js +0 -3
- package/chunk-jz1pavma.js +0 -20
- package/chunk-kjjrmfmt.js +0 -2
- package/chunk-kz1ja7t7.js +0 -31
- package/chunk-mh4s6m7e.js +0 -2
- package/chunk-n0g6w24y.js +0 -3
- package/chunk-nnp82zvz.js +0 -5
- package/chunk-p34keb5j.js +0 -3
- package/chunk-pcxaycc3.js +0 -3560
- package/chunk-pdwexj34.js +0 -16
- package/chunk-phpse938.js +0 -3
- package/chunk-pt14ba7d.js +0 -15
- package/chunk-q0hvv6bh.js +0 -390
- package/chunk-qd4xtknk.js +0 -2
- package/chunk-qfg0dr8f.js +0 -2
- package/chunk-qnrkh3ca.js +0 -7
- package/chunk-r1t5yhee.js +0 -7
- package/chunk-r5na5qx5.js +0 -2
- package/chunk-r7a6q57s.js +0 -2
- package/chunk-smsn4ebc.js +0 -4
- package/chunk-sqr8tx1m.js +0 -471
- package/chunk-t4twa09y.js +0 -2
- package/chunk-tjs6h6zk.js +0 -4
- package/chunk-tvbh69tm.js +0 -3
- package/chunk-tvv9yfqv.js +0 -11
- package/chunk-vbdf5psp.js +0 -2
- package/chunk-vr60qwyg.js +0 -2
- package/chunk-w509y6w6.js +0 -2
- package/chunk-w7n83ye7.js +0 -7
- package/chunk-wacjm9ww.js +0 -3
- package/chunk-xex050bc.js +0 -3
- package/chunk-y0fgbrkc.js +0 -2
- package/chunk-ysfpdxjy.js +0 -3
- package/chunk-ytsnns2n.js +0 -2
- package/chunk-zwgdbrbg.js +0 -2
- package/chunk-zz7qjanc.js +0 -2
- package/web/chunk-07q4pdkf.js +0 -1
- package/web/chunk-07q4pdkf.js.br +0 -0
- package/web/chunk-07q4pdkf.js.gz +0 -0
- package/web/chunk-0s237vb2.js +0 -2
- package/web/chunk-0s237vb2.js.br +0 -0
- package/web/chunk-0s237vb2.js.gz +0 -0
- package/web/chunk-0zbmaspt.js +0 -24
- package/web/chunk-0zbmaspt.js.br +0 -0
- package/web/chunk-0zbmaspt.js.gz +0 -0
- package/web/chunk-11p8z5sv.js +0 -8
- package/web/chunk-11p8z5sv.js.br +0 -0
- package/web/chunk-11p8z5sv.js.gz +0 -0
- package/web/chunk-1axadk7j.js +0 -2
- package/web/chunk-1axadk7j.js.br +0 -0
- package/web/chunk-1axadk7j.js.gz +0 -0
- package/web/chunk-1ebz6hbk.js +0 -1
- package/web/chunk-1ebz6hbk.js.br +0 -0
- package/web/chunk-1ebz6hbk.js.gz +0 -0
- package/web/chunk-1pg22vjr.js +0 -38
- package/web/chunk-1pg22vjr.js.br +0 -0
- package/web/chunk-1pg22vjr.js.gz +0 -0
- package/web/chunk-1ys90q5s.js +0 -1
- package/web/chunk-1ys90q5s.js.br +0 -0
- package/web/chunk-1ys90q5s.js.gz +0 -0
- package/web/chunk-1zd8azrg.js +0 -34
- package/web/chunk-1zd8azrg.js.br +0 -0
- package/web/chunk-1zd8azrg.js.gz +0 -0
- package/web/chunk-22rjbwxp.js +0 -303
- package/web/chunk-22rjbwxp.js.br +0 -0
- package/web/chunk-22rjbwxp.js.gz +0 -0
- package/web/chunk-2eg9t1mz.js +0 -2
- package/web/chunk-2eg9t1mz.js.br +0 -0
- package/web/chunk-2eg9t1mz.js.gz +0 -0
- package/web/chunk-2emc5sd7.js +0 -12
- package/web/chunk-2emc5sd7.js.br +0 -0
- package/web/chunk-2emc5sd7.js.gz +0 -0
- package/web/chunk-2gj9yydt.js +0 -2
- package/web/chunk-2gj9yydt.js.br +0 -0
- package/web/chunk-2gj9yydt.js.gz +0 -0
- package/web/chunk-2kwn5gsx.js +0 -1
- package/web/chunk-2kwn5gsx.js.br +0 -0
- package/web/chunk-2kwn5gsx.js.gz +0 -0
- package/web/chunk-2r84nrwk.js +0 -99
- package/web/chunk-2r84nrwk.js.br +0 -0
- package/web/chunk-2r84nrwk.js.gz +0 -0
- package/web/chunk-3abhxhtv.js +0 -2
- package/web/chunk-3abhxhtv.js.br +0 -0
- package/web/chunk-3abhxhtv.js.gz +0 -0
- package/web/chunk-3cgxntbk.js +0 -2
- package/web/chunk-3cgxntbk.js.br +0 -0
- package/web/chunk-3cgxntbk.js.gz +0 -0
- package/web/chunk-3g3n9pc5.js +0 -332
- package/web/chunk-3g3n9pc5.js.br +0 -0
- package/web/chunk-3g3n9pc5.js.gz +0 -0
- package/web/chunk-3qmpdzq2.js +0 -1
- package/web/chunk-3qmpdzq2.js.br +0 -0
- package/web/chunk-3qmpdzq2.js.gz +0 -0
- package/web/chunk-3rxjewe5.js +0 -2
- package/web/chunk-3rxjewe5.js.br +0 -0
- package/web/chunk-3rxjewe5.js.gz +0 -0
- package/web/chunk-3vh17h7n.js +0 -62
- package/web/chunk-3vh17h7n.js.br +0 -0
- package/web/chunk-3vh17h7n.js.gz +0 -0
- package/web/chunk-49ywdzda.js +0 -36
- package/web/chunk-49ywdzda.js.br +0 -0
- package/web/chunk-49ywdzda.js.gz +0 -0
- package/web/chunk-5ch8rwjz.js +0 -2
- package/web/chunk-5ch8rwjz.js.br +0 -0
- package/web/chunk-5ch8rwjz.js.gz +0 -0
- package/web/chunk-5k1xca5m.js +0 -324
- package/web/chunk-5k1xca5m.js.br +0 -0
- package/web/chunk-5k1xca5m.js.gz +0 -0
- package/web/chunk-5t1yv276.js +0 -1
- package/web/chunk-5t1yv276.js.br +0 -0
- package/web/chunk-5t1yv276.js.gz +0 -0
- package/web/chunk-612xftnp.js +0 -1
- package/web/chunk-612xftnp.js.br +0 -0
- package/web/chunk-612xftnp.js.gz +0 -0
- package/web/chunk-6183jmyq.js +0 -2
- package/web/chunk-6183jmyq.js.br +0 -0
- package/web/chunk-6183jmyq.js.gz +0 -0
- package/web/chunk-66zp24sf.js +0 -2
- package/web/chunk-66zp24sf.js.br +0 -0
- package/web/chunk-66zp24sf.js.gz +0 -0
- package/web/chunk-67wywbgr.js +0 -2
- package/web/chunk-67wywbgr.js.br +0 -0
- package/web/chunk-67wywbgr.js.gz +0 -0
- package/web/chunk-6j0d6131.js +0 -1
- package/web/chunk-6j0d6131.js.br +0 -0
- package/web/chunk-6j0d6131.js.gz +0 -0
- package/web/chunk-79tbvvqj.js +0 -1
- package/web/chunk-79tbvvqj.js.br +0 -0
- package/web/chunk-79tbvvqj.js.gz +0 -0
- package/web/chunk-7bcksmqx.js +0 -2
- package/web/chunk-7bcksmqx.js.br +0 -0
- package/web/chunk-7bcksmqx.js.gz +0 -0
- package/web/chunk-7c2zkqgd.js +0 -89
- package/web/chunk-7c2zkqgd.js.br +0 -0
- package/web/chunk-7c2zkqgd.js.gz +0 -0
- package/web/chunk-7ed42dqv.js +0 -1
- package/web/chunk-7ed42dqv.js.br +0 -0
- package/web/chunk-7ed42dqv.js.gz +0 -0
- package/web/chunk-7mzdjjha.js +0 -1
- package/web/chunk-7mzdjjha.js.br +0 -0
- package/web/chunk-7mzdjjha.js.gz +0 -0
- package/web/chunk-7t1sb86g.js +0 -2
- package/web/chunk-7t1sb86g.js.br +0 -0
- package/web/chunk-7t1sb86g.js.gz +0 -0
- package/web/chunk-7t5kzbp1.js +0 -1
- package/web/chunk-7t5kzbp1.js.br +0 -0
- package/web/chunk-7t5kzbp1.js.gz +0 -0
- package/web/chunk-7tmzvm05.js +0 -2
- package/web/chunk-7tmzvm05.js.br +0 -0
- package/web/chunk-7tmzvm05.js.gz +0 -0
- package/web/chunk-80k4k6aw.js +0 -7
- package/web/chunk-80k4k6aw.js.br +0 -0
- package/web/chunk-80k4k6aw.js.gz +0 -0
- package/web/chunk-8tvy5xbr.js +0 -217
- package/web/chunk-8tvy5xbr.js.br +0 -0
- package/web/chunk-8tvy5xbr.js.gz +0 -0
- package/web/chunk-95jr0f0q.js +0 -139
- package/web/chunk-95jr0f0q.js.br +0 -0
- package/web/chunk-95jr0f0q.js.gz +0 -0
- package/web/chunk-9h6ayn54.js +0 -16
- package/web/chunk-9h6ayn54.js.br +0 -0
- package/web/chunk-9h6ayn54.js.gz +0 -0
- package/web/chunk-9jzpxvwa.js +0 -106
- package/web/chunk-9jzpxvwa.js.br +0 -0
- package/web/chunk-9jzpxvwa.js.gz +0 -0
- package/web/chunk-9mdbahpr.js +0 -2
- package/web/chunk-9mdbahpr.js.br +0 -0
- package/web/chunk-9mdbahpr.js.gz +0 -0
- package/web/chunk-9w6mjqgp.js +0 -1
- package/web/chunk-9w6mjqgp.js.br +0 -0
- package/web/chunk-9w6mjqgp.js.gz +0 -0
- package/web/chunk-9xb3j03w.js +0 -142
- package/web/chunk-9xb3j03w.js.br +0 -0
- package/web/chunk-9xb3j03w.js.gz +0 -0
- package/web/chunk-abzt3tzj.js +0 -1
- package/web/chunk-abzt3tzj.js.br +0 -0
- package/web/chunk-abzt3tzj.js.gz +0 -0
- package/web/chunk-ahebswgf.js +0 -1
- package/web/chunk-ahebswgf.js.br +0 -0
- package/web/chunk-ahebswgf.js.gz +0 -0
- package/web/chunk-ahsw5yz2.js +0 -2
- package/web/chunk-ahsw5yz2.js.br +0 -0
- package/web/chunk-ahsw5yz2.js.gz +0 -0
- package/web/chunk-b21jhnc3.js +0 -1
- package/web/chunk-b21jhnc3.js.br +0 -2
- package/web/chunk-b21jhnc3.js.gz +0 -0
- package/web/chunk-b3cn4qmw.js +0 -1
- package/web/chunk-b3cn4qmw.js.br +0 -0
- package/web/chunk-b3cn4qmw.js.gz +0 -0
- package/web/chunk-b4qxx7jx.js +0 -2
- package/web/chunk-b4qxx7jx.js.br +0 -0
- package/web/chunk-b4qxx7jx.js.gz +0 -0
- package/web/chunk-b79d9r5v.js +0 -98
- package/web/chunk-b79d9r5v.js.br +0 -0
- package/web/chunk-b79d9r5v.js.gz +0 -0
- package/web/chunk-b9x115jw.css +0 -1
- package/web/chunk-b9x115jw.css.br +0 -0
- package/web/chunk-b9x115jw.css.gz +0 -0
- package/web/chunk-bbnamv1j.js +0 -1
- package/web/chunk-bbnamv1j.js.br +0 -2
- package/web/chunk-bbnamv1j.js.gz +0 -0
- package/web/chunk-bgqfryh2.js +0 -1
- package/web/chunk-bgqfryh2.js.br +0 -0
- package/web/chunk-bgqfryh2.js.gz +0 -0
- package/web/chunk-bjrnqvf4.js +0 -1
- package/web/chunk-bjrnqvf4.js.br +0 -0
- package/web/chunk-bjrnqvf4.js.gz +0 -0
- package/web/chunk-d0bt1ypq.js +0 -140
- package/web/chunk-d0bt1ypq.js.br +0 -0
- package/web/chunk-d0bt1ypq.js.gz +0 -0
- package/web/chunk-dk3dpdnc.js +0 -4
- package/web/chunk-dk3dpdnc.js.br +0 -0
- package/web/chunk-dk3dpdnc.js.gz +0 -0
- package/web/chunk-dr35dsw5.js +0 -1
- package/web/chunk-dr35dsw5.js.br +0 -0
- package/web/chunk-dr35dsw5.js.gz +0 -0
- package/web/chunk-dy9amqbz.js +0 -1
- package/web/chunk-dy9amqbz.js.br +0 -0
- package/web/chunk-dy9amqbz.js.gz +0 -0
- package/web/chunk-e039ekp7.js +0 -89
- package/web/chunk-e039ekp7.js.br +0 -0
- package/web/chunk-e039ekp7.js.gz +0 -0
- package/web/chunk-e2e2fdwq.js +0 -30
- package/web/chunk-e2e2fdwq.js.br +0 -0
- package/web/chunk-e2e2fdwq.js.gz +0 -0
- package/web/chunk-e5j1v42p.js +0 -7
- package/web/chunk-e5j1v42p.js.br +0 -0
- package/web/chunk-e5j1v42p.js.gz +0 -0
- package/web/chunk-emsyqa1e.js +0 -1
- package/web/chunk-emsyqa1e.js.br +0 -0
- package/web/chunk-emsyqa1e.js.gz +0 -0
- package/web/chunk-en7n9d1p.js +0 -41
- package/web/chunk-en7n9d1p.js.br +0 -0
- package/web/chunk-en7n9d1p.js.gz +0 -0
- package/web/chunk-ez4yt1s1.js +0 -1
- package/web/chunk-ez4yt1s1.js.br +0 -0
- package/web/chunk-ez4yt1s1.js.gz +0 -0
- package/web/chunk-fe2hpamc.js +0 -200
- package/web/chunk-fe2hpamc.js.br +0 -0
- package/web/chunk-fe2hpamc.js.gz +0 -0
- package/web/chunk-fm7saxzr.js +0 -1
- package/web/chunk-fm7saxzr.js.br +0 -0
- package/web/chunk-fm7saxzr.js.gz +0 -0
- package/web/chunk-fz5d3ayq.js +0 -2
- package/web/chunk-fz5d3ayq.js.br +0 -0
- package/web/chunk-fz5d3ayq.js.gz +0 -0
- package/web/chunk-gc1ypgy4.js +0 -1
- package/web/chunk-gc1ypgy4.js.br +0 -0
- package/web/chunk-gc1ypgy4.js.gz +0 -0
- package/web/chunk-h23pczjh.js +0 -40
- package/web/chunk-h23pczjh.js.br +0 -0
- package/web/chunk-h23pczjh.js.gz +0 -0
- package/web/chunk-h2sttxfn.js +0 -1
- package/web/chunk-h2sttxfn.js.br +0 -2
- package/web/chunk-h2sttxfn.js.gz +0 -0
- package/web/chunk-h5m9ggsm.js +0 -2
- package/web/chunk-h5m9ggsm.js.br +0 -0
- package/web/chunk-h5m9ggsm.js.gz +0 -0
- package/web/chunk-h5zc1hw5.js +0 -1
- package/web/chunk-h5zc1hw5.js.br +0 -0
- package/web/chunk-h5zc1hw5.js.gz +0 -0
- package/web/chunk-hkg6bts9.js +0 -1
- package/web/chunk-hkg6bts9.js.br +0 -0
- package/web/chunk-hkg6bts9.js.gz +0 -0
- package/web/chunk-hncdpeer.js +0 -120
- package/web/chunk-hncdpeer.js.br +0 -0
- package/web/chunk-hncdpeer.js.gz +0 -0
- package/web/chunk-j40wechd.js +0 -2
- package/web/chunk-j40wechd.js.br +0 -0
- package/web/chunk-j40wechd.js.gz +0 -0
- package/web/chunk-jddmse74.js +0 -169
- package/web/chunk-jddmse74.js.br +0 -0
- package/web/chunk-jddmse74.js.gz +0 -0
- package/web/chunk-jdvdg38q.js +0 -3
- package/web/chunk-jdvdg38q.js.br +0 -0
- package/web/chunk-jdvdg38q.js.gz +0 -0
- package/web/chunk-jf6q93m9.js +0 -1
- package/web/chunk-jf6q93m9.js.br +0 -0
- package/web/chunk-jf6q93m9.js.gz +0 -0
- package/web/chunk-jfd1gybx.js +0 -39
- package/web/chunk-jfd1gybx.js.br +0 -0
- package/web/chunk-jfd1gybx.js.gz +0 -0
- package/web/chunk-jkgkt722.js +0 -1
- package/web/chunk-jkgkt722.js.br +0 -0
- package/web/chunk-jkgkt722.js.gz +0 -0
- package/web/chunk-k427fwgp.js +0 -1
- package/web/chunk-k427fwgp.js.br +0 -0
- package/web/chunk-k427fwgp.js.gz +0 -0
- package/web/chunk-k8pezbya.js +0 -2
- package/web/chunk-k8pezbya.js.br +0 -3
- package/web/chunk-k8pezbya.js.gz +0 -0
- package/web/chunk-k9t941fj.js +0 -1
- package/web/chunk-k9t941fj.js.br +0 -0
- package/web/chunk-k9t941fj.js.gz +0 -0
- package/web/chunk-kkzwvnft.js +0 -1
- package/web/chunk-kkzwvnft.js.br +0 -0
- package/web/chunk-kkzwvnft.js.gz +0 -0
- package/web/chunk-kpm8gp4z.js +0 -292
- package/web/chunk-kpm8gp4z.js.br +0 -0
- package/web/chunk-kpm8gp4z.js.gz +0 -0
- package/web/chunk-kqyk2an3.js +0 -214
- package/web/chunk-kqyk2an3.js.br +0 -0
- package/web/chunk-kqyk2an3.js.gz +0 -0
- package/web/chunk-m3gryxba.js +0 -2
- package/web/chunk-m3gryxba.js.br +0 -0
- package/web/chunk-m3gryxba.js.gz +0 -0
- package/web/chunk-m8h3c5x3.js +0 -1
- package/web/chunk-m8h3c5x3.js.br +0 -0
- package/web/chunk-m8h3c5x3.js.gz +0 -0
- package/web/chunk-mb7sr4tf.js +0 -55
- package/web/chunk-mb7sr4tf.js.br +0 -0
- package/web/chunk-mb7sr4tf.js.gz +0 -0
- package/web/chunk-meqcd10n.js +0 -1
- package/web/chunk-meqcd10n.js.br +0 -0
- package/web/chunk-meqcd10n.js.gz +0 -0
- package/web/chunk-msrq7vsz.js +0 -7
- package/web/chunk-msrq7vsz.js.br +0 -0
- package/web/chunk-msrq7vsz.js.gz +0 -0
- package/web/chunk-n1n55yt8.js +0 -84
- package/web/chunk-n1n55yt8.js.br +0 -0
- package/web/chunk-n1n55yt8.js.gz +0 -0
- package/web/chunk-nmnyaawa.js +0 -24
- package/web/chunk-nmnyaawa.js.br +0 -0
- package/web/chunk-nmnyaawa.js.gz +0 -0
- package/web/chunk-nwepnbvn.js +0 -70
- package/web/chunk-nwepnbvn.js.br +0 -0
- package/web/chunk-nwepnbvn.js.gz +0 -0
- package/web/chunk-p2cmfhpz.js +0 -2
- package/web/chunk-p2cmfhpz.js.br +0 -0
- package/web/chunk-p2cmfhpz.js.gz +0 -0
- package/web/chunk-pac9nyhp.js +0 -2
- package/web/chunk-pac9nyhp.js.br +0 -0
- package/web/chunk-pac9nyhp.js.gz +0 -0
- package/web/chunk-pdt40dj7.js +0 -1
- package/web/chunk-pdt40dj7.js.br +0 -2
- package/web/chunk-pdt40dj7.js.gz +0 -0
- package/web/chunk-phs38wt7.js +0 -2
- package/web/chunk-phs38wt7.js.br +0 -0
- package/web/chunk-phs38wt7.js.gz +0 -0
- package/web/chunk-prc7b9xh.js +0 -1
- package/web/chunk-prc7b9xh.js.br +0 -0
- package/web/chunk-prc7b9xh.js.gz +0 -0
- package/web/chunk-q1e80chw.js +0 -1
- package/web/chunk-q1e80chw.js.br +0 -2
- package/web/chunk-q1e80chw.js.gz +0 -0
- package/web/chunk-q6sv3fhe.js +0 -2
- package/web/chunk-q6sv3fhe.js.br +0 -0
- package/web/chunk-q6sv3fhe.js.gz +0 -0
- package/web/chunk-rdarpbhd.js +0 -2
- package/web/chunk-rdarpbhd.js.br +0 -0
- package/web/chunk-rdarpbhd.js.gz +0 -0
- package/web/chunk-rf93p28v.js +0 -1
- package/web/chunk-rf93p28v.js.br +0 -0
- package/web/chunk-rf93p28v.js.gz +0 -0
- package/web/chunk-rvmk483c.js +0 -1
- package/web/chunk-rvmk483c.js.br +0 -0
- package/web/chunk-rvmk483c.js.gz +0 -0
- package/web/chunk-s99vfrrz.js +0 -1
- package/web/chunk-s99vfrrz.js.br +0 -0
- package/web/chunk-s99vfrrz.js.gz +0 -0
- package/web/chunk-saem11tv.js +0 -2
- package/web/chunk-saem11tv.js.br +0 -0
- package/web/chunk-saem11tv.js.gz +0 -0
- package/web/chunk-scv8t4m6.js +0 -1
- package/web/chunk-scv8t4m6.js.br +0 -0
- package/web/chunk-scv8t4m6.js.gz +0 -0
- package/web/chunk-stsmcqxe.js +0 -1
- package/web/chunk-stsmcqxe.js.br +0 -0
- package/web/chunk-stsmcqxe.js.gz +0 -0
- package/web/chunk-svaq7f3c.js +0 -1134
- package/web/chunk-svaq7f3c.js.br +0 -0
- package/web/chunk-svaq7f3c.js.gz +0 -0
- package/web/chunk-sy099zt8.js +0 -1
- package/web/chunk-sy099zt8.js.br +0 -0
- package/web/chunk-sy099zt8.js.gz +0 -0
- package/web/chunk-thqrbjwn.js +0 -1
- package/web/chunk-thqrbjwn.js.br +0 -2
- package/web/chunk-thqrbjwn.js.gz +0 -0
- package/web/chunk-ty1m1k6b.js +0 -1
- package/web/chunk-ty1m1k6b.js.br +0 -0
- package/web/chunk-ty1m1k6b.js.gz +0 -0
- package/web/chunk-w54qcqk3.js +0 -1
- package/web/chunk-w54qcqk3.js.br +0 -0
- package/web/chunk-w54qcqk3.js.gz +0 -0
- package/web/chunk-wgf4paqc.js +0 -1
- package/web/chunk-wgf4paqc.js.br +0 -0
- package/web/chunk-wgf4paqc.js.gz +0 -0
- package/web/chunk-x5m7phbb.js +0 -1
- package/web/chunk-x5m7phbb.js.br +0 -0
- package/web/chunk-x5m7phbb.js.gz +0 -0
- package/web/chunk-x9wzj52f.js +0 -2
- package/web/chunk-x9wzj52f.js.br +0 -0
- package/web/chunk-x9wzj52f.js.gz +0 -0
- package/web/chunk-xgfam7bx.js +0 -1
- package/web/chunk-xgfam7bx.js.br +0 -0
- package/web/chunk-xgfam7bx.js.gz +0 -0
- package/web/chunk-xnn07hr4.js +0 -21
- package/web/chunk-xnn07hr4.js.br +0 -0
- package/web/chunk-xnn07hr4.js.gz +0 -0
- package/web/chunk-xreg1e03.js +0 -78
- package/web/chunk-xreg1e03.js.br +0 -0
- package/web/chunk-xreg1e03.js.gz +0 -0
- package/web/chunk-xsxd3wsv.js +0 -4
- package/web/chunk-xsxd3wsv.js.br +0 -0
- package/web/chunk-xsxd3wsv.js.gz +0 -0
- package/web/chunk-y7jebh1j.js +0 -1
- package/web/chunk-y7jebh1j.js.br +0 -0
- package/web/chunk-y7jebh1j.js.gz +0 -0
- package/web/chunk-yhn2mwnb.js +0 -291
- package/web/chunk-yhn2mwnb.js.br +0 -0
- package/web/chunk-yhn2mwnb.js.gz +0 -0
- package/web/chunk-yqwvedf5.js +0 -370
- package/web/chunk-yqwvedf5.js.br +0 -0
- package/web/chunk-yqwvedf5.js.gz +0 -0
- package/web/chunk-z3tr221x.js +0 -1
- package/web/chunk-z3tr221x.js.br +0 -0
- package/web/chunk-z3tr221x.js.gz +0 -0
- package/web/chunk-z4n3tx0q.js +0 -1
- package/web/chunk-z4n3tx0q.js.br +0 -0
- package/web/chunk-z4n3tx0q.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import{t,i,st,C,L,N,R,P,I,O,D,d,g,Zs,H,Re,Te,Ee,un,He,Ue}from"./chunk-n59nyqcr.js";import{In}from"./chunk-c2eqwepm.js";import{ze}from"./chunk-b2t33c3t.js";import{Me}from"./chunk-eq28qb33.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],u=[2,4],f=[1,9],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],G=[1,33],Y=[1,20],W=[1,21],x=[1,22],S=[1,23],V=[1,24],w=[1,26],z=[1,27],M=[1,28],K=[1,29],A=[1,30],rt=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],it=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,p,n,k,_,a,at){var h=a.length-1;switch(_){case 3:return k.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var ct=a[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:k.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],u,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:G,57:it},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:G,57:it},e(b,[2,17]),e(Vt,u,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,u,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],k=[],_=[null],a=[],at=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var F,Nt,et,j,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(F===null||typeof F>"u")F=Mt();j=at[et]&&at[et][F]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in at[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
|
|
2
|
+
`+v.showPosition()+`
|
|
3
|
+
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[F]||F)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(F==_t?"end of input":"'"+(this.terminals_[F]||F)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[F]||F,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+F);switch(j[0]){case 1:if(n.push(F),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),F=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,ct>0)ct--}else F=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],nt.$=_[_.length-q],nt._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)nt._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(nt,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(nt.$),a.push(nt._$),Wt=at[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var p=c.match(/(?:\r\n?|\n).*/g);if(p)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),c},"input"),unput:t(function(c){var p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var k=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),n.length-1)this.yylineno-=n.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-p];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(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
5
|
+
`+p+"^"},"showPosition"),test_match:t(function(c,p){var n,k,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(k=c[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,_[k]),c!==!1)return c;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 p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>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(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,k,_){function a(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var at=_;switch(k){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!a())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!a())return;return this.popState(),"ID";break;case 66:if(!a())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!a())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",De="state",Ce=`${pt}-${De}`,re="transition",Ae="note",xe="note-edge",Le=`${re} ${xe}`,we=`${pt}-${Ae}`,Ie="cluster",Ne=`${pt}-${Ie}`,Oe="cluster-alt",$e=`${pt}-${Oe}`,ie="parent",ae="note",Fe="state",Yt="----",Pe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let u=ne++,f=r?void 0:u;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let u=l!==null&&l.length>0?`${r}${l}`:"";return`${Fe}-${e}${u}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,u,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,u,f,y,m);break;case ft:ut(e,o,l,r,u,f,y,m);break;case Bt:{ut(e,o.state1,l,r,u,f,y,m),ut(e,o.state2,l,r,u,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",d()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};u.push(E),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((u)=>{let f=l.get(u);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.styles]})}let r=e.find((u)=>u.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,u,f,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),G=le(T),Y=d(),W=E.trim()!==""||G.length>0;if(i.info("dataFetcher parsedItem",s,T,G),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,Y),cssClasses:`${E} ${Ce}`,cssStyles:G});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,Y)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ne} ${f?$e:""}`;let V={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(V.shape===Gt)V.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),V.parentId=e.id;if(V.centerLabel=!0,s.note){let w={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:we,cssStyles:[],cssCompiledStyles:[],id:o+Pe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:Y.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,M={labelStyle:"",shape:ve,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,M.id=z,w.parentId=z,dt(r,M,m),dt(r,w,m),dt(r,V,m);let K=o,A=w.id;if(s.note.position==="left of")K=w.id,A=o;u.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Le,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,V,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,u,!f,y,m)},"dataFetcher"),Ye=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:u,state:f,layout:y}=d();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,u);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,d().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((Y,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=m.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let V=o.node()?.querySelectorAll("g.node, g.rough-node"),w;if(V?.forEach((A)=>{let rt=A.textContent?.trim();if(A.id===S?.domId||rt===x)w=A}),!w){i.warn("⚠️ Could not find node matching text:",x);return}let z=w.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let M=document.createElementNS("http://www.w3.org/2000/svg","a"),K=Y.url.replace(/^"+|"+$/g,"");if(M.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),M.setAttribute("target","_blank"),Y.tooltip){let A=Y.tooltip.replace(/^"+|"+$/g,"");M.setAttribute("title",A),w.setAttribute("title",A)}z.replaceChild(M,w),M.appendChild(w),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,Y.url)})}catch(G){i.error("❌ Error injecting clickable links:",G)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Me(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},B={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=R,this.setAccTitle=N,this.getAccDescription=I,this.setAccDescription=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=d();Ye(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let u=this.getState(r);if(!u){let f=r.trim();this.addState(f),u=this.getState(f)}if(u)u.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===B.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],u=[];for(let f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(u),r.push(y),u=[]}else u.push(f);if(r.length>0&&u.length>0){let f={stmt:lt,id:Zs(),type:"divider",doc:Ct(u)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,u=void 0,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:u,classes:[],styles:[],textStyles:[]});else{let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(u){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=u,T.note.text=C.sanitizeText(T.note.text,d())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,L()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===B.START_NODE)return this.startEndCount++,`${B.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===B.START_NODE?B.START_TYPE:s}endIdIfNeeded(e=""){if(e===B.END_NODE)return this.startEndCount++,`${B.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===B.END_NODE?B.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),u=this.startTypeIfNeeded(e.id.trim(),e.type),f=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,u,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(f,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.sanitizeText(l,d())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),u=this.startTypeIfNeeded(e),f=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,u),this.addState(f,y),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.sanitizeText(l,d()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(C.sanitizeText(r,d()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(B.STYLECLASS_SEP).forEach((r)=>{let u=r.replace(/([^;]*);/,"$1").trim();if(RegExp(B.COLOR_KEYWORD).exec(r)){let y=u.replace(B.FILL_KEYWORD,B.BG_FILL).replace(B.COLOR_KEYWORD,B.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(u)})}getClasses(){return this.classes}setupToolTips(e){let s=In();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(u)=>{let f=g(u.currentTarget),y=f.attr("title");if(y===null)return;let m=u.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(st.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(u)=>{s.transition().duration(500).style("opacity",0),g(u.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let u=l.trim();this.addState(u),r=this.getState(u)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=d();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return d().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let u=Ee(e.look),f=Re(l),y="";for(let m=0;m<un(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[data-look="${u}"][data-color-id="color-${m}"]`;y+=`
|
|
7
|
+
|
|
8
|
+
/* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
|
|
9
|
+
the body, so what stays visible of \`outer\` is the band behind the label. */
|
|
10
|
+
${E}.statediagram-cluster rect.outer {
|
|
11
|
+
stroke: ${o};
|
|
12
|
+
${T}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
${E}.statediagram-cluster rect.inner {
|
|
16
|
+
stroke: ${o};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Concurrency regions. Siblings of one composite share a slot, so a divided composite
|
|
20
|
+
reads as one thing split into parts rather than as several composites. */
|
|
21
|
+
${E}.statediagram-cluster rect.divider {
|
|
22
|
+
stroke: ${o};
|
|
23
|
+
${T}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
|
|
27
|
+
needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
|
|
28
|
+
\`inner\` and \`divider\` to match the classic branch, which is what lets these
|
|
29
|
+
discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
|
|
30
|
+
tinted the whole composite, losing \`compositeBackground\` and diverging from what
|
|
31
|
+
classic and neo do.
|
|
32
|
+
|
|
33
|
+
roughjs emits two paths per shape and marks them: the filled shape carries
|
|
34
|
+
\`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
|
|
35
|
+
what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
|
|
36
|
+
region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
|
|
37
|
+
would otherwise gain an edge it was drawn without. */
|
|
38
|
+
${E}.statediagram-cluster .outer path[stroke='none'] {
|
|
39
|
+
${T}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
${E}.statediagram-cluster .outer path[fill='none'] {
|
|
43
|
+
stroke: ${o};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
|
|
47
|
+
where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
|
|
48
|
+
hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
|
|
49
|
+
the outline and no selector separates them. An \`.inner\` stroke rule therefore
|
|
50
|
+
repainted the hatching of every alt composite in the palette colour instead of
|
|
51
|
+
leaving it on \`altBackground\`. The container still reads as palette-coloured: the
|
|
52
|
+
\`outer\` shape spans the whole composite, so its outline already frames the body. */
|
|
53
|
+
|
|
54
|
+
/* Regions split the same way, which is why \`divider\` fills solid rather than taking
|
|
55
|
+
roughjs's default hachure -- see the note on that call. Hatched, both of its paths
|
|
56
|
+
carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
|
|
57
|
+
the border rule repainted the hatching. */
|
|
58
|
+
${E}.statediagram-cluster .divider path[stroke='none'] {
|
|
59
|
+
${T}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
${E}.statediagram-cluster .divider path[fill='none'] {
|
|
63
|
+
stroke: ${o};
|
|
64
|
+
}
|
|
65
|
+
`}return y},"genColor"),Je=t((e)=>`
|
|
66
|
+
${Xe(e)}
|
|
67
|
+
defs [id$="-barbEnd"] {
|
|
68
|
+
fill: ${e.transitionColor};
|
|
69
|
+
stroke: ${e.transitionColor};
|
|
70
|
+
}
|
|
71
|
+
g.stateGroup text {
|
|
72
|
+
fill: ${e.nodeBorder};
|
|
73
|
+
stroke: none;
|
|
74
|
+
font-size: 10px;
|
|
75
|
+
}
|
|
76
|
+
g.stateGroup text {
|
|
77
|
+
fill: ${e.textColor};
|
|
78
|
+
stroke: none;
|
|
79
|
+
font-size: 10px;
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
g.stateGroup .state-title {
|
|
83
|
+
font-weight: bolder;
|
|
84
|
+
fill: ${e.stateLabelColor};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
g.stateGroup rect {
|
|
88
|
+
fill: ${e.mainBkg};
|
|
89
|
+
stroke: ${e.nodeBorder};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
g.stateGroup line {
|
|
93
|
+
stroke: ${e.lineColor};
|
|
94
|
+
stroke-width: ${e.strokeWidth||1};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.transition {
|
|
98
|
+
stroke: ${e.transitionColor};
|
|
99
|
+
stroke-width: ${e.strokeWidth||1};
|
|
100
|
+
fill: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.stateGroup .composit {
|
|
104
|
+
fill: ${e.background};
|
|
105
|
+
border-bottom: 1px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.stateGroup .alt-composit {
|
|
109
|
+
fill: #e0e0e0;
|
|
110
|
+
border-bottom: 1px
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.state-note {
|
|
114
|
+
stroke: ${e.noteBorderColor};
|
|
115
|
+
fill: ${e.noteBkgColor};
|
|
116
|
+
|
|
117
|
+
text {
|
|
118
|
+
fill: ${e.noteTextColor};
|
|
119
|
+
stroke: none;
|
|
120
|
+
font-size: 10px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.stateLabel .box {
|
|
125
|
+
stroke: none;
|
|
126
|
+
stroke-width: 0;
|
|
127
|
+
fill: ${e.mainBkg};
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.edgeLabel .label rect {
|
|
132
|
+
fill: ${e.labelBackgroundColor};
|
|
133
|
+
opacity: 0.5;
|
|
134
|
+
}
|
|
135
|
+
.edgeLabel {
|
|
136
|
+
background-color: ${e.edgeLabelBackground};
|
|
137
|
+
p {
|
|
138
|
+
background-color: ${e.edgeLabelBackground};
|
|
139
|
+
}
|
|
140
|
+
rect {
|
|
141
|
+
opacity: 0.5;
|
|
142
|
+
background-color: ${e.edgeLabelBackground};
|
|
143
|
+
fill: ${e.edgeLabelBackground};
|
|
144
|
+
}
|
|
145
|
+
text-align: center;
|
|
146
|
+
}
|
|
147
|
+
.edgeLabel .label text {
|
|
148
|
+
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
149
|
+
}
|
|
150
|
+
.label div .edgeLabel {
|
|
151
|
+
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.stateLabel text {
|
|
155
|
+
fill: ${e.stateLabelColor};
|
|
156
|
+
font-size: 10px;
|
|
157
|
+
font-weight: bold;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.node circle.state-start {
|
|
161
|
+
fill: ${e.specialStateColor};
|
|
162
|
+
stroke: ${e.specialStateColor};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.node .fork-join {
|
|
166
|
+
fill: ${e.specialStateColor};
|
|
167
|
+
stroke: ${e.specialStateColor};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.node circle.state-end {
|
|
171
|
+
fill: ${e.innerEndBackground};
|
|
172
|
+
stroke: ${e.background};
|
|
173
|
+
stroke-width: 1.5
|
|
174
|
+
}
|
|
175
|
+
.end-state-inner {
|
|
176
|
+
fill: ${e.compositeBackground||e.background};
|
|
177
|
+
// stroke: ${e.background};
|
|
178
|
+
stroke-width: 1.5
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.node rect {
|
|
182
|
+
fill: ${e.stateBkg||e.mainBkg};
|
|
183
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
184
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
185
|
+
}
|
|
186
|
+
.node polygon {
|
|
187
|
+
fill: ${e.mainBkg};
|
|
188
|
+
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
189
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
190
|
+
}
|
|
191
|
+
[id$="-barbEnd"] {
|
|
192
|
+
fill: ${e.lineColor};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.statediagram-cluster rect {
|
|
196
|
+
fill: ${e.compositeTitleBackground};
|
|
197
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
198
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.cluster-label, .nodeLabel {
|
|
202
|
+
color: ${e.stateLabelColor};
|
|
203
|
+
// line-height: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.statediagram-cluster rect.outer {
|
|
207
|
+
rx: 5px;
|
|
208
|
+
ry: 5px;
|
|
209
|
+
}
|
|
210
|
+
.statediagram-state .divider {
|
|
211
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.statediagram-state .title-state {
|
|
215
|
+
rx: 5px;
|
|
216
|
+
ry: 5px;
|
|
217
|
+
}
|
|
218
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
219
|
+
fill: ${e.compositeBackground||e.background};
|
|
220
|
+
}
|
|
221
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
222
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.statediagram-cluster .inner {
|
|
226
|
+
rx:0;
|
|
227
|
+
ry:0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.statediagram-state rect.basic {
|
|
231
|
+
rx: 5px;
|
|
232
|
+
ry: 5px;
|
|
233
|
+
}
|
|
234
|
+
.statediagram-state rect.divider {
|
|
235
|
+
stroke-dasharray: 10,10;
|
|
236
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.note-edge {
|
|
240
|
+
stroke-dasharray: 5;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.statediagram-note rect {
|
|
244
|
+
fill: ${e.noteBkgColor};
|
|
245
|
+
stroke: ${e.noteBorderColor};
|
|
246
|
+
stroke-width: 1px;
|
|
247
|
+
rx: 0;
|
|
248
|
+
ry: 0;
|
|
249
|
+
}
|
|
250
|
+
.statediagram-note rect {
|
|
251
|
+
fill: ${e.noteBkgColor};
|
|
252
|
+
stroke: ${e.noteBorderColor};
|
|
253
|
+
stroke-width: 1px;
|
|
254
|
+
rx: 0;
|
|
255
|
+
ry: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.statediagram-note text {
|
|
259
|
+
fill: ${e.noteTextColor};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.statediagram-note .nodeLabel {
|
|
263
|
+
color: ${e.noteTextColor};
|
|
264
|
+
}
|
|
265
|
+
.statediagram .edgeLabel {
|
|
266
|
+
color: red; // ${e.noteTextColor};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
270
|
+
fill: ${e.lineColor};
|
|
271
|
+
stroke: ${e.lineColor};
|
|
272
|
+
stroke-width: ${e.strokeWidth||1};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.statediagramTitleText {
|
|
276
|
+
text-anchor: middle;
|
|
277
|
+
font-size: 18px;
|
|
278
|
+
fill: ${e.textColor};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
282
|
+
fill: ${e.mainBkg};
|
|
283
|
+
stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
|
|
284
|
+
stroke-width: ${e.strokeWidth??1};
|
|
285
|
+
}
|
|
286
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
287
|
+
rx: ${e.radius}px;
|
|
288
|
+
ry: ${e.radius}px;
|
|
289
|
+
filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
|
|
290
|
+
}
|
|
291
|
+
`,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:je,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{q,Sn,s,w,o,a,m,e,n,y,K,ts,zc,ic,ci,zi,Hc,oc,Uc,Hi,Ui,kr,ns,rs}from"./chunk-xw8tzrmm.js";import{Pa}from"./chunk-0g9ycv0h.js";var P={sealed:"已封存",folded:"已折叠",archived:"已移出"},B=["bg-accent","bg-accent-strong","bg-warning","bg-success"];function W(t,l){if(t.startsWith("recent-"))return"json";let d=l.trimStart();if(!d)return"markdown";if(d.startsWith("{")||d.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(d))return"xml";return"markdown"}function L(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let d=[],r=0,i=(p)=>" ".repeat(p),u=/(<([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(u)){let[,f,,,g,c,v,x]=p;if(f)d.push(`${i(r)}${f.trim()}`);else if(g)r=Math.max(0,r-1),d.push(`${i(r)}${g.trim()}`);else if(v)d.push(`${i(r)}${v.trim()}`),r++;else if(c)d.push(`${i(r)}${c.trim()}`);else if(x){let h=x.trim();if(h)for(let C of h.split(/\r?\n/)){let N=C.trim();if(N)d.push(`${i(r)}${N}`)}}}return d.length>0?d.join(`
|
|
2
|
+
`):t}function z(){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 T(t){let{style:l}=y();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:d,CollapsibleContent:r,CollapsibleTrigger:i,style:u}=y(),[p,f]=a(!1),[g,c]=a(!1);return n(d,{open:p,onOpenChange:(v)=>Sn(()=>{if(f(v),v)c(!0)}),className:u("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}=y();return e(l,{code:t.code,lang:t.lang,className:"text-[11px]! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function O(t){let{cn:l}=y();if(!t.items.length)return e(T,{children:"新会话还没有上下文。发送第一条消息后,这里会显示构成。"});let d=t.items.reduce((r,i)=>r+i.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:t.items.map((r,i)=>e("span",{className:l(B[i%B.length],"transition-[width] duration-300 ease-out-quint"),title:`${r.label}:${r.tokens.toLocaleString()} token`,style:{width:`${r.tokens/d*100}%`}},r.id))}),e("div",{className:"space-y-1.5",children:t.items.map((r,i)=>e(Y,{item:r,total:d,index:i,color:B[i%B.length]??"bg-accent"},r.id))})]})}function Y(t){let{cn:l,style:d,useTheme:r}=y();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:d("control.badge","text-[10px]"),children:P[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-[11px] tabular-nums text-faint",children:[i,"%"]})]}),children:e(ee,{item:t.item,percent:i,color:t.color})})}function ee(t){let{cn:l,CopyButton:d,style:r,useTheme:i}=y();i();let u=t.item.detail,p=w(()=>u?W(t.item.id,u):"markdown",[u,t.item.id]),f=w(()=>{if(!u)return"";return p==="xml"?L(u):u},[u,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(d,{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,te={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 j(t){let{Button:l,CopyButton:d,style:r,useTheme:i}=y();i();let[u,p]=a(M),f=o(null),g=w(()=>t.entries.filter((x)=>!(x.type==="extension"&&x.namespace==="session"&&x.kind==="request_budget")),[t.entries]),c=u<g.length;s(()=>{let x=f.current;if(!x||!c||typeof IntersectionObserver>"u")return;let h=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+M))},{rootMargin:"480px"});return h.observe(x),()=>h.disconnect()},[c,g.length]);let v=w(()=>g.slice(-u).reverse(),[g,u]);if(!g.length)return e(T,{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(d,{text:()=>t.entries.map((x)=>JSON.stringify(x,null,2)).join(`
|
|
3
|
+
|
|
4
|
+
`),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),v.map((x)=>e(ae,{entry:x},x.seq)),c&&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:["已显示 ",v.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((x)=>Math.min(g.length,x+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var ae=q(function(l){let{CopyButton:d,style:r,useTheme:i}=y();i();let u=Hc(l.entry),p=w(()=>zc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-[10px]",te[u.tone]),children:u.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:u.title}),u.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-[10px] text-faint"),children:u.meta}),e("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-[11px] text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(d,{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(se,{entry:l.entry})]})})});function se(t){let{style:l,useTheme:d}=y();d();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:ci(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,u)=>{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-[11px]"),children:[e("span",{className:l("control.badge","text-[10px] 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-[10px] text-faint",children:[i.mimeType," · ",ic(p)]})]},`${i.name}-${u}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] 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-[11px]"),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-[11px] 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,u)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] 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:ci(i.text)})]},`thinking-${u}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] 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:ci(i.text)})]},`text-${u}`);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-[11px]",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-[10px] text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:zi(JSON.stringify(i.input,oc,2)),lang:"json"})})]},i.id||`tool-${u}`)})]});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-[11px] 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-[10px]",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,u)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-[10.5px] text-faint"),children:["图片 #",u+1," · ",i.mimeType," · ",ic(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${u}`))}),ts(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:ci(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-[11px] leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:Uc(r)})}function A(t){let{cn:l,style:d,useTheme:r}=y();if(r(),!t.todos.length)return e(T,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:d("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(K,{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 F(t){let{cn:l,style:d,useTheme:r}=y();r();let[i,u]=a("all"),p=w(()=>t.tools.filter((c)=>c.deferred).length,[t.tools]),f=t.tools.length-p,g=w(()=>{if(i==="deferred")return t.tools.filter((c)=>c.deferred);if(i==="active")return t.tools.filter((c)=>!c.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(T,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-[11px]",children:[n("button",{type:"button",onClick:()=>u("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:()=>u("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:()=>u("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((c)=>e(ne,{tool:c},`${c.group}-${c.name}`))})]})}function ne(t){let{style:l,useTheme:d}=y();return d(),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-[10px]"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:"延迟加载"})]}),children:e(oe,{tool:t.tool})})}function oe(t){let{CopyButton:l,style:d,useTheme:r}=y();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:d("surface.subtle","mb-2 px-2.5 py-1.5 text-[11px] 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:zi(t.tool.description)}),n("div",{className:d("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:zi(i),lang:"json"})})]})]})}function ie(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function re(t){let{style:l,useTheme:d}=y();return d(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-[10px] 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 He(t){let{Button:l,StatusChip:d,Segmented:r,cn:i,style:u,useTheme:p}=y();p();let[f,g]=a(ie),[c,v]=a(()=>kr.get(t.session.id)),[x,h]=a(!1),[C,N]=a(0),[H,U]=a(!1);s(()=>{let b=setTimeout(()=>Sn(()=>U(!0)),140);return()=>clearTimeout(b)},[]),s(()=>{let b=kr.get(t.session.id);if(b)v(b);return ns((I,Q)=>{if(I===t.session.id)Sn(()=>v(Q))})},[t.session.id]),s(()=>{let b=!0;return h(!1),rs(t.connection,t.session.id,`${t.session.updated}:${t.entries.length}`,C>0).then((I)=>{if(b)Sn(()=>v(I))},()=>{if(b)h(!0)}),()=>{b=!1}},[t.connection,t.session.id,t.session.updated,t.entries.length,C]);let k=Hi(c?.items??[],c?.usableWindow,c?.calibratedTokens,c?.lastInputTokens,c?.hasPendingOutput),S=Ui(k.percent),_=c?.lastCacheHitRate,D=c?.usage?.cacheHitRate,J=_===void 0?"—":`${(_*100).toFixed(1)}%`,Z=D===void 0?"—":`${(D*100).toFixed(1)}%`,V=(b)=>{g(b);try{localStorage.setItem("basalt.contextSidebar.tab",b)}catch{}},X=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",c&&e("span",{className:"text-[10px] text-faint tabular-nums",children:c.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-[10px] text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],G=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-[10.5px] font-medium uppercase tracking-wider text-faint",children:"预计下次输入"}),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:c?k.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",c?.usableWindow.toLocaleString()??"—"]})]})]}),e(d,{tone:S==="overflow"||S==="near_limit"?"danger":S==="sealing"?"warning":"success",children:S==="overflow"?"预计超限":S==="near_limit"?"接近上限":S==="sealing"?"接近封存":"正常"})]}),k.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,k.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!c&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,k.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-[11px]",children:[e("span",{className:"text-dim",children:k.percent===null?"暂无窗口数据":`${k.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",c?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-[11px]",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:c?.lastRequestBodyBytes===void 0?"—":Pa(c.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-[11px]",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[c?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),c?.usage&&(c.usage.input>0||c.usage.output>0||c.usage.cacheRead>0||c.usage.cacheWrite>0||c.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",c.usage.input.toLocaleString()],["Output",c.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${J} / ${Z}`],["平均 TPS",c.usage.tps!==void 0?`${c.usage.tps.toFixed(1)} tok/s`:"—"]].map(([b,I])=>e(re,{label:b,value:I},b))})]});return n(m,{children:[G,e("div",{className:"px-3 py-2",children:e(r,{value:f,onChange:V,options:X,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[x&&!c&&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:()=>N((b)=>b+1),children:"重试"})]}),e("div",{children:!H?e(z,{}):n(m,{children:[f==="raw"&&e(j,{entries:t.entries}),f==="todos"&&e(A,{todos:t.session.todos}),f==="breakdown"&&(c?e(O,{items:k.items}):!x?e(z,{}):null),f==="tools"&&(c?e(F,{tools:c.tools??[]}):!x?e(z,{}):null)]})},f)]})]})}export{He as ContextSidebar};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,i}from"./chunk-n59nyqcr.js";import{ge,Ln,Nn}from"./chunk-cj0cmvbm.js";import{ae}from"./chunk-wrqazg2v.js";import{Ea,yn}from"./chunk-2z4zhtw4.js";var o=Ea().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,ge),e.title)ge.setTitle(e.title);e.rules.map((r)=>ge.addRule(l(r)))},"populateDb"),m={parse:t((e)=>{ge.clear(),i.debug("[Railroad Parser] Starting Langium parse");let r=o.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new yn(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:ge}},R={parser:m,db:ge,renderer:Nn,styles:Ln};export{R as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mn,Lr,Pn,Qi}from"./chunk-5a80hcah.js";import{Rn}from"./chunk-drr7mqg2.js";import{$n,Xa,ra,bt,Ka}from"./chunk-n59nyqcr.js";function s(r,n){return r==null||n==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function x(r,n){return r==null||n==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function Ta(r){let n,e,t;if(r.length!==2)n=s,e=(f,c)=>s(r(f),c),t=(f,c)=>r(f)-c;else n=r===s||r===x?r:O,e=r,t=r;function o(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<0)i=l+1;else p=l}while(i<p)}return i}function a(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<=0)i=l+1;else p=l}while(i<p)}return i}function u(f,c,i=0,p=f.length){let l=o(f,c,i,p-1);return l>i&&t(f[l-1],c)>-t(f[l],c)?l-1:l}return{left:o,center:u,right:a}}function O(){return 0}function y(r){return r===null?NaN:+r}var V=Ta(s),{right:T,left:ir}=V,or=Ta(y).center,z=T;var E=Math.sqrt(50),G=Math.sqrt(10),H=Math.sqrt(2);function g(r,n,e){let t=(n-r)/Math.max(0,e),o=Math.floor(Math.log10(t)),a=t/Math.pow(10,o),u=a>=E?10:a>=G?5:a>=H?2:1,f,c,i;if(o<0){if(i=Math.pow(10,-o)/u,f=Math.round(r*i),c=Math.round(n*i),f/i<r)++f;if(c/i>n)--c;i=-i}else{if(i=Math.pow(10,o)*u,f=Math.round(r/i),c=Math.round(n/i),f*i<r)++f;if(c*i>n)--c}if(c<f&&0.5<=e&&e<2)return g(r,n,e*2);return[f,c,i]}function v(r,n,e){if(n=+n,r=+r,e=+e,!(e>0))return[];if(r===n)return[r];let t=n<r,[o,a,u]=t?g(n,r,e):g(r,n,e);if(!(a>=o))return[];let f=a-o+1,c=Array(f);if(t)if(u<0)for(let i=0;i<f;++i)c[i]=(a-i)/-u;else for(let i=0;i<f;++i)c[i]=(a-i)*u;else if(u<0)for(let i=0;i<f;++i)c[i]=(o+i)/-u;else for(let i=0;i<f;++i)c[i]=(o+i)*u;return c}function M(r,n,e){return n=+n,r=+r,e=+e,g(r,n,e)[2]}function xi(r,n,e){n=+n,r=+r,e=+e;let t=n<r,o=t?M(n,r,e):M(r,n,e);return(t?-1:1)*(o<0?1/-o:o)}function N(r,n){if(!n)n=[];var e=r?Math.min(n.length,r.length):0,t=n.slice(),o;return function(a){for(o=0;o<e;++o)t[o]=r[o]*(1-a)+n[o]*a;return t}}function B(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function P(r,n){var e=n?n.length:0,t=r?Math.min(e,r.length):0,o=Array(t),a=Array(e),u;for(u=0;u<t;++u)o[u]=h(r[u],n[u]);for(;u<e;++u)a[u]=n[u];return function(f){for(u=0;u<t;++u)a[u]=o[u](f);return a}}function w(r,n){var e=new Date;return r=+r,n=+n,function(t){return e.setTime(r*(1-t)+n*t),e}}function k(r,n){var e={},t={},o;if(r===null||typeof r!=="object")r={};if(n===null||typeof n!=="object")n={};for(o in n)if(o in r)e[o]=h(r[o],n[o]);else t[o]=n[o];return function(a){for(o in e)t[o]=e[o](a);return t}}function h(r,n){var e=typeof n,t;return n==null||e==="boolean"?Xa(n):(e==="number"?bt:e==="string"?(t=$n(n))?(n=t,ra):Ka:n instanceof $n?ra:n instanceof Date?w:B(n)?N:Array.isArray(n)?P:typeof n.valueOf!=="function"&&typeof n.toString!=="function"||isNaN(n)?k:bt)(r,n)}function A(r,n){return r=+r,n=+n,function(e){return Math.round(r*(1-e)+n*e)}}function R(r){return Math.max(0,-Mn(Math.abs(r)))}function S(r,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Mn(n)/3)))*3-Mn(Math.abs(r)))}function j(r,n){return r=Math.abs(r),n=Math.abs(n)-r,Math.max(0,Mn(n)-Mn(r))+1}function F(r){return function(){return r}}function q(r){return+r}var C=[0,1];function d(r){return r}function D(r,n){return(n-=r=+r)?function(e){return(e-r)/n}:F(isNaN(n)?NaN:0.5)}function J(r,n){var e;if(r>n)e=r,r=n,n=e;return function(t){return Math.max(r,Math.min(n,t))}}function K(r,n,e){var t=r[0],o=r[1],a=n[0],u=n[1];if(o<t)t=D(o,t),a=e(u,a);else t=D(t,o),a=e(a,u);return function(f){return a(t(f))}}function Q(r,n,e){var t=Math.min(r.length,n.length)-1,o=Array(t),a=Array(t),u=-1;if(r[t]<r[0])r=r.slice().reverse(),n=n.slice().reverse();while(++u<t)o[u]=D(r[u],r[u+1]),a[u]=e(n[u],n[u+1]);return function(f){var c=z(r,f,1,t)-1;return a[c](o[c](f))}}function Zi(r,n){return n.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())}function U(){var r=C,n=C,e=h,t,o,a,u=d,f,c,i;function p(){var m=Math.min(r.length,n.length);if(u!==d)u=J(r[0],r[m-1]);return f=m>2?Q:K,c=i=null,l}function l(m){return m==null||isNaN(m=+m)?a:(c||(c=f(r.map(t),n,e)))(t(u(m)))}return l.invert=function(m){return u(o((i||(i=f(n,r.map(t),bt)))(m)))},l.domain=function(m){return arguments.length?(r=Array.from(m,q),p()):r.slice()},l.range=function(m){return arguments.length?(n=Array.from(m),p()):n.slice()},l.rangeRound=function(m){return n=Array.from(m),e=A,p()},l.clamp=function(m){return arguments.length?(u=m?!0:d,p()):u!==d},l.interpolate=function(m){return arguments.length?(e=m,p()):e},l.unknown=function(m){return arguments.length?(a=m,l):a},function(m,L){return t=m,o=L,p()}}function _i(){return U()(d,d)}function I(r,n,e,t){var o=xi(r,n,e),a;switch(t=Lr(t==null?",f":t),t.type){case"s":{var u=Math.max(Math.abs(r),Math.abs(n));if(t.precision==null&&!isNaN(a=S(o,u)))t.precision=a;return Qi(t,u)}case"":case"e":case"g":case"p":case"r":{if(t.precision==null&&!isNaN(a=j(o,Math.max(Math.abs(r),Math.abs(n)))))t.precision=a-(t.type==="e");break}case"f":case"%":{if(t.precision==null&&!isNaN(a=R(o)))t.precision=a-(t.type==="%")*2;break}}return Pn(t)}function W(r){var n=r.domain;return r.ticks=function(e){var t=n();return v(t[0],t[t.length-1],e==null?10:e)},r.tickFormat=function(e,t){var o=n();return I(o[0],o[o.length-1],e==null?10:e,t)},r.nice=function(e){if(e==null)e=10;var t=n(),o=0,a=t.length-1,u=t[o],f=t[a],c,i,p=10;if(f<u)i=u,u=f,f=i,i=o,o=a,a=i;while(p-- >0){if(i=M(u,f,e),i===c)return t[o]=u,t[a]=f,n(t);else if(i>0)u=Math.floor(u/i)*i,f=Math.ceil(f/i)*i;else if(i<0)u=Math.ceil(u*i)/i,f=Math.floor(f*i)/i;else break;c=i}return r},r}function gn(){var r=_i();return r.copy=function(){return Zi(r,gn())},Rn.apply(r,arguments),W(r)}
|
|
2
|
+
export{Ta,xi,Zi,_i,gn};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,i}from"./chunk-n59nyqcr.js";import{ge,Ln,Nn}from"./chunk-cj0cmvbm.js";import{ae}from"./chunk-wrqazg2v.js";import{Na,yn}from"./chunk-2z4zhtw4.js";var l=Na().RailroadAbnf.parser.LangiumParser,o=t((e)=>{let r=e.alternatives.map(p);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformAlternation"),p=t((e)=>{let r=e.elements.map(f);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformConcatenation"),u=t((e)=>{if(e.includes("*")){let[n,a]=e.split("*"),s=n?parseInt(n,10):0,m=a?parseInt(a,10):1/0;return{min:s,max:m}}let r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),f=t((e)=>{let r=c(e.primary);if(!e.repeat)return r;let{min:n,max:a}=u(e.repeat);if(n===0&&a===1)return{type:"optional",element:r};return{type:"repetition",element:r,min:n,max:a}},"transformElement"),c=t((e)=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return o(e.element);case"AbnfOptionalGroup":return{type:"optional",element:o(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),d=t((e)=>({name:e.name,definition:o(e.definition)}),"transformRule"),v=t((e)=>{if(ae(e,ge),e.title)ge.setTitle(e.title);e.rules.map((r)=>ge.addRule(d(r)))},"populateDb"),g={parse:t((e)=>{ge.clear(),i.debug("[ABNF Parser] Starting Langium parse");let r=l.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new yn(r);let n=r.value;i.debug("[ABNF Parser] Parsed rules:",n.rules.length),v(n),i.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:ge}},E={parser:g,db:ge,renderer:Nn,styles:Ln};export{E as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Aa}from"./chunk-za5j3w7x.js";import"./chunk-6ycpdpfj.js";export{Aa as default};
|
|
Binary file
|
|
Binary file
|