@bkm016/basalt 0.1.25 → 0.1.27
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-00jhevnt.js +3 -0
- package/chunk-04tx0etc.js +2 -0
- package/chunk-0r86p29p.js +7 -0
- package/chunk-10x1zefx.js +25 -0
- package/chunk-1amcz1cz.js +10 -0
- package/chunk-1pfdps04.js +2 -0
- package/chunk-206g40v9.js +59 -0
- package/chunk-2364s958.js +7 -0
- package/chunk-3fv2qcpg.js +12 -0
- package/chunk-3zz4a5tn.js +31 -0
- package/chunk-45wfmdts.js +44 -0
- package/chunk-4hkwjw05.js +2 -0
- package/chunk-4pq7ycp2.js +5 -0
- package/chunk-51f8zbj5.js +3 -0
- package/chunk-5e0qfdgx.js +5 -0
- package/chunk-7hpf9qq2.js +3 -0
- package/chunk-82dkdvs9.js +2 -0
- package/chunk-8913dkey.js +3 -0
- package/chunk-8g1sbmwf.js +3 -0
- package/chunk-8hfch7d0.js +2 -0
- package/chunk-90arpvgz.js +2 -0
- package/chunk-912knnfg.js +11 -0
- package/chunk-97bazdk3.js +20 -0
- package/chunk-9akexjfn.js +2 -0
- package/chunk-9dgmbwcc.js +2 -0
- package/chunk-acd2cwza.js +3 -0
- package/chunk-ach16jbw.js +2 -0
- package/chunk-ax823t5v.js +3 -0
- package/chunk-b03hg30w.js +2 -0
- package/chunk-bh29df86.js +5 -0
- package/chunk-bhpg72c4.js +2 -0
- package/chunk-bwww6j2q.js +2 -0
- package/chunk-c126k8wc.js +2 -0
- package/chunk-cb3jgak9.js +3 -0
- package/chunk-cjeyy6da.js +3 -0
- package/chunk-cs4gb2hb.js +2 -0
- package/chunk-en5t6hwd.js +3 -0
- package/chunk-f4n1csz0.js +3 -0
- package/chunk-fqfjjhkj.js +3 -0
- package/chunk-h4bvkm6p.js +3 -0
- package/chunk-j01t6mnq.js +3 -0
- package/chunk-j16smb6d.js +2 -0
- package/chunk-j7eqp97m.js +2 -0
- package/chunk-jdrqn8m1.js +2 -0
- package/chunk-jp1gqkbp.js +4 -0
- package/chunk-jrcvxscb.js +9 -0
- package/chunk-jxcghx26.js +50 -0
- package/chunk-k8zq95wr.js +2 -0
- package/chunk-ken7ras9.js +8 -0
- package/chunk-kqgpjmcf.js +2 -0
- package/chunk-krbdx24j.js +3 -0
- package/chunk-ky2ym708.js +8 -0
- package/chunk-kzfy666j.js +16 -0
- package/chunk-n0stnnxv.js +2 -0
- package/chunk-n9m2pagh.js +2 -0
- package/chunk-nedvy6yk.js +10 -0
- package/chunk-ng5g0fy3.js +3 -0
- package/chunk-nqeqasyt.js +7 -0
- package/chunk-nt30x5a7.js +3 -0
- package/chunk-pa7yh2q3.js +3 -0
- package/chunk-q1s5r204.js +3 -0
- package/chunk-qj0vfk01.js +2 -0
- package/chunk-qqfdg01g.js +3 -0
- package/chunk-rj6qknjx.js +12 -0
- package/chunk-rvrj0nrs.js +3 -0
- package/chunk-sbhj5h2q.js +2 -0
- package/chunk-t71zzafh.js +3 -0
- package/chunk-t7fwvzmh.js +3 -0
- package/chunk-tpv5hz99.js +5 -0
- package/chunk-tx2rrrtq.js +2 -0
- package/chunk-tyzzbhr5.js +3 -0
- package/chunk-tzbefwf0.js +286 -0
- package/chunk-v4p8807b.js +18 -0
- package/chunk-vnxjcym9.js +17 -0
- package/chunk-w35r8v6x.js +39 -0
- package/chunk-wbygknv2.js +3 -0
- package/chunk-wk63htqy.js +2 -0
- package/chunk-wwazj6mz.js +3 -0
- package/chunk-x3g1bzq6.js +51 -0
- package/chunk-xpc75mkw.js +25 -0
- package/chunk-ydhdewcv.js +4014 -0
- package/chunk-ypxn8bec.js +3 -0
- package/chunk-yztc2q9q.js +490 -0
- package/compiled.js +11 -11
- package/package.json +1 -1
- package/ui-test-worker.js +53 -53
- package/web/chunk-00a6amwf.js +1 -0
- package/web/chunk-00a6amwf.js.br +0 -0
- package/web/chunk-00a6amwf.js.gz +0 -0
- package/web/chunk-023b3kdx.js +214 -0
- package/web/chunk-023b3kdx.js.br +0 -0
- package/web/chunk-023b3kdx.js.gz +0 -0
- package/web/chunk-1bzdt1n8.js +1 -0
- package/web/chunk-1bzdt1n8.js.br +2 -0
- package/web/chunk-1bzdt1n8.js.gz +0 -0
- package/web/chunk-1fnxbfkf.js +139 -0
- package/web/chunk-1fnxbfkf.js.br +0 -0
- package/web/chunk-1fnxbfkf.js.gz +0 -0
- package/web/chunk-1hmw1eaw.js +1 -0
- package/web/chunk-1hmw1eaw.js.br +0 -0
- package/web/chunk-1hmw1eaw.js.gz +0 -0
- package/web/chunk-1qd75yjn.js +2 -0
- package/web/chunk-1qd75yjn.js.br +0 -0
- package/web/chunk-1qd75yjn.js.gz +0 -0
- package/web/chunk-20gcnbgn.js +2 -0
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.js.gz +0 -0
- package/web/chunk-20v068s6.js +1 -0
- package/web/chunk-20v068s6.js.br +0 -0
- package/web/chunk-20v068s6.js.gz +0 -0
- package/web/chunk-22jfhjk3.js +2 -0
- package/web/chunk-22jfhjk3.js.br +0 -0
- package/web/chunk-22jfhjk3.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +1 -0
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-2wvgy7f4.js +1 -0
- package/web/chunk-2wvgy7f4.js.br +0 -0
- package/web/chunk-2wvgy7f4.js.gz +0 -0
- package/web/chunk-37hn49td.js +2 -0
- package/web/chunk-37hn49td.js.br +0 -0
- package/web/chunk-37hn49td.js.gz +0 -0
- package/web/chunk-3crfxxst.js +21 -0
- package/web/chunk-3crfxxst.js.br +0 -0
- package/web/chunk-3crfxxst.js.gz +0 -0
- package/web/chunk-3hg9a6xa.js +1 -0
- package/web/chunk-3hg9a6xa.js.br +0 -0
- package/web/chunk-3hg9a6xa.js.gz +0 -0
- package/web/chunk-3m2nnnk5.js +1 -0
- package/web/chunk-3m2nnnk5.js.br +0 -0
- package/web/chunk-3m2nnnk5.js.gz +0 -0
- package/web/chunk-3ry5cjnp.js +169 -0
- package/web/chunk-3ry5cjnp.js.br +0 -0
- package/web/chunk-3ry5cjnp.js.gz +0 -0
- package/web/chunk-407zrkgx.js +40 -0
- package/web/chunk-407zrkgx.js.br +0 -0
- package/web/chunk-407zrkgx.js.gz +0 -0
- package/web/chunk-414npx47.js +1 -0
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.js.gz +0 -0
- package/web/chunk-43e1ste5.js +1 -0
- package/web/chunk-43e1ste5.js.br +0 -0
- package/web/chunk-43e1ste5.js.gz +0 -0
- package/web/chunk-45ex0e3e.js +2 -0
- package/web/chunk-45ex0e3e.js.br +0 -0
- package/web/chunk-45ex0e3e.js.gz +0 -0
- package/web/chunk-508cpafz.js +142 -0
- package/web/chunk-508cpafz.js.br +0 -0
- package/web/chunk-508cpafz.js.gz +0 -0
- package/web/chunk-538r4sey.js +1 -0
- package/web/chunk-538r4sey.js.br +0 -0
- package/web/chunk-538r4sey.js.gz +0 -0
- package/web/chunk-55zs0yq1.js +1 -0
- package/web/chunk-55zs0yq1.js.br +0 -0
- package/web/chunk-55zs0yq1.js.gz +0 -0
- package/web/chunk-58gh3tbh.js +34 -0
- package/web/chunk-58gh3tbh.js.br +0 -0
- package/web/chunk-58gh3tbh.js.gz +0 -0
- package/web/chunk-5h3r1hpg.js +89 -0
- package/web/chunk-5h3r1hpg.js.br +0 -0
- package/web/chunk-5h3r1hpg.js.gz +0 -0
- package/web/chunk-68q4nnmc.js +2 -0
- package/web/chunk-68q4nnmc.js.br +3 -0
- package/web/chunk-68q4nnmc.js.gz +0 -0
- package/web/chunk-6ktmzq32.js +16 -0
- package/web/chunk-6ktmzq32.js.br +0 -0
- package/web/chunk-6ktmzq32.js.gz +0 -0
- package/web/chunk-6ry6x1ez.js +1 -0
- package/web/chunk-6ry6x1ez.js.br +0 -0
- package/web/chunk-6ry6x1ez.js.gz +0 -0
- package/web/chunk-6wxxypbv.js +7 -0
- package/web/chunk-6wxxypbv.js.br +0 -0
- package/web/chunk-6wxxypbv.js.gz +0 -0
- package/web/chunk-6x9r1z9z.js +291 -0
- package/web/chunk-6x9r1z9z.js.br +0 -0
- package/web/chunk-6x9r1z9z.js.gz +0 -0
- package/web/chunk-719tz8xw.js +1 -0
- package/web/chunk-719tz8xw.js.br +0 -0
- package/web/chunk-719tz8xw.js.gz +0 -0
- package/web/chunk-7devrtv4.js +2 -0
- package/web/chunk-7devrtv4.js.br +3 -0
- package/web/chunk-7devrtv4.js.gz +0 -0
- package/web/chunk-7rs26q98.js +2 -0
- package/web/chunk-7rs26q98.js.br +0 -0
- package/web/chunk-7rs26q98.js.gz +0 -0
- package/web/chunk-82aqq58f.js +24 -0
- package/web/chunk-82aqq58f.js.br +0 -0
- package/web/chunk-82aqq58f.js.gz +0 -0
- package/web/chunk-96n00vam.js +1 -0
- package/web/chunk-96n00vam.js.br +0 -0
- package/web/chunk-96n00vam.js.gz +0 -0
- package/web/chunk-99c0h3v7.js +1 -0
- package/web/chunk-99c0h3v7.js.br +0 -0
- package/web/chunk-99c0h3v7.js.gz +0 -0
- package/web/chunk-a11ev6ff.js +1 -0
- package/web/chunk-a11ev6ff.js.br +0 -0
- package/web/chunk-a11ev6ff.js.gz +0 -0
- package/web/chunk-a1cpkzwh.js +2 -0
- package/web/chunk-a1cpkzwh.js.br +0 -0
- package/web/chunk-a1cpkzwh.js.gz +0 -0
- package/web/chunk-a31z4c14.js +4 -0
- package/web/chunk-a31z4c14.js.br +0 -0
- package/web/chunk-a31z4c14.js.gz +0 -0
- package/web/chunk-aan5qk6x.js +1 -0
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.js.gz +0 -0
- package/web/chunk-b07y0tzq.js +1 -0
- package/web/chunk-b07y0tzq.js.br +0 -0
- package/web/chunk-b07y0tzq.js.gz +0 -0
- package/web/chunk-b4d1948q.js +62 -0
- package/web/chunk-b4d1948q.js.br +0 -0
- package/web/chunk-b4d1948q.js.gz +0 -0
- package/web/chunk-btk2h3vh.js +36 -0
- package/web/chunk-btk2h3vh.js.br +0 -0
- package/web/chunk-btk2h3vh.js.gz +0 -0
- package/web/chunk-bw9crrb4.js +1 -0
- package/web/chunk-bw9crrb4.js.br +0 -0
- package/web/chunk-bw9crrb4.js.gz +0 -0
- package/web/chunk-c1s7faqj.js +2 -0
- package/web/chunk-c1s7faqj.js.br +0 -0
- package/web/chunk-c1s7faqj.js.gz +0 -0
- package/web/chunk-c3d08dw1.js +1 -0
- package/web/chunk-c3d08dw1.js.br +0 -0
- package/web/chunk-c3d08dw1.js.gz +0 -0
- package/web/chunk-cgt871p9.js +1 -0
- package/web/chunk-cgt871p9.js.br +0 -0
- package/web/chunk-cgt871p9.js.gz +0 -0
- package/web/chunk-crfbqd4d.js +2 -0
- package/web/chunk-crfbqd4d.js.br +0 -0
- package/web/chunk-crfbqd4d.js.gz +0 -0
- package/web/chunk-ctr4kt7p.js +332 -0
- package/web/chunk-ctr4kt7p.js.br +0 -0
- package/web/chunk-ctr4kt7p.js.gz +0 -0
- package/web/chunk-cys4n4sv.js +1 -0
- package/web/chunk-cys4n4sv.js.br +0 -0
- package/web/chunk-cys4n4sv.js.gz +0 -0
- package/web/chunk-d5n2yz4e.js +2 -0
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.js.gz +0 -0
- package/web/chunk-d6wcabaa.css +1 -0
- package/web/chunk-d6wcabaa.css.br +0 -0
- package/web/chunk-d6wcabaa.css.gz +0 -0
- package/web/chunk-d7nrrcwp.js +38 -0
- package/web/chunk-d7nrrcwp.js.br +0 -0
- package/web/chunk-d7nrrcwp.js.gz +0 -0
- package/web/chunk-df9ja645.js +1 -0
- package/web/chunk-df9ja645.js.br +0 -0
- package/web/chunk-df9ja645.js.gz +0 -0
- package/web/chunk-dhxc6xe9.js +1 -0
- package/web/chunk-dhxc6xe9.js.br +2 -0
- package/web/chunk-dhxc6xe9.js.gz +0 -0
- package/web/chunk-dy2egpw5.js +12 -0
- package/web/chunk-dy2egpw5.js.br +0 -0
- package/web/chunk-dy2egpw5.js.gz +0 -0
- package/web/chunk-e4cwyn1g.js +2 -0
- package/web/chunk-e4cwyn1g.js.br +0 -0
- package/web/chunk-e4cwyn1g.js.gz +0 -0
- package/web/chunk-efjc9mga.js +2 -0
- package/web/chunk-efjc9mga.js.br +0 -0
- package/web/chunk-efjc9mga.js.gz +0 -0
- package/web/chunk-eq59kad4.js +303 -0
- package/web/chunk-eq59kad4.js.br +0 -0
- package/web/chunk-eq59kad4.js.gz +0 -0
- package/web/chunk-f05s9gsw.js +7 -0
- package/web/chunk-f05s9gsw.js.br +0 -0
- package/web/chunk-f05s9gsw.js.gz +0 -0
- package/web/chunk-f2bb976c.js +1 -0
- package/web/chunk-f2bb976c.js.br +0 -0
- package/web/chunk-f2bb976c.js.gz +0 -0
- package/web/chunk-f4aabnnv.js +1 -0
- package/web/chunk-f4aabnnv.js.br +0 -0
- package/web/chunk-f4aabnnv.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +2 -0
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-fmbc7t17.js +7 -0
- package/web/chunk-fmbc7t17.js.br +0 -0
- package/web/chunk-fmbc7t17.js.gz +0 -0
- package/web/chunk-ftdzs90e.js +1 -0
- package/web/chunk-ftdzs90e.js.br +0 -0
- package/web/chunk-ftdzs90e.js.gz +0 -0
- package/web/chunk-g0s2xxfd.js +324 -0
- package/web/chunk-g0s2xxfd.js.br +0 -0
- package/web/chunk-g0s2xxfd.js.gz +0 -0
- package/web/chunk-g1k9nggh.js +39 -0
- package/web/chunk-g1k9nggh.js.br +0 -0
- package/web/chunk-g1k9nggh.js.gz +0 -0
- package/web/chunk-g26mzwzc.js +1 -0
- package/web/chunk-g26mzwzc.js.br +0 -0
- package/web/chunk-g26mzwzc.js.gz +0 -0
- package/web/chunk-g7b4p9k9.js +1 -0
- package/web/chunk-g7b4p9k9.js.br +0 -0
- package/web/chunk-g7b4p9k9.js.gz +0 -0
- package/web/chunk-ghr3jf15.js +140 -0
- package/web/chunk-ghr3jf15.js.br +0 -0
- package/web/chunk-ghr3jf15.js.gz +0 -0
- package/web/chunk-gv4zh4er.js +1 -0
- package/web/chunk-gv4zh4er.js.br +0 -0
- package/web/chunk-gv4zh4er.js.gz +0 -0
- package/web/chunk-gvndjaan.js +2 -0
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/chunk-gvndjaan.js.gz +0 -0
- package/web/chunk-gw0e69yj.js +1 -0
- package/web/chunk-gw0e69yj.js.br +0 -0
- package/web/chunk-gw0e69yj.js.gz +0 -0
- package/web/chunk-gxwsf4t1.js +2 -0
- package/web/chunk-gxwsf4t1.js.br +0 -0
- package/web/chunk-gxwsf4t1.js.gz +0 -0
- package/web/chunk-hh6vpvar.js +84 -0
- package/web/chunk-hh6vpvar.js.br +0 -0
- package/web/chunk-hh6vpvar.js.gz +0 -0
- package/web/chunk-hxqqy585.js +1 -0
- package/web/chunk-hxqqy585.js.br +0 -0
- package/web/chunk-hxqqy585.js.gz +0 -0
- package/web/chunk-hxsrph02.js +1139 -0
- package/web/chunk-hxsrph02.js.br +0 -0
- package/web/chunk-hxsrph02.js.gz +0 -0
- package/web/chunk-hxx6ad4x.js +1 -0
- package/web/chunk-hxx6ad4x.js.br +0 -0
- package/web/chunk-hxx6ad4x.js.gz +0 -0
- package/web/chunk-hzvff525.js +2 -0
- package/web/chunk-hzvff525.js.br +0 -0
- package/web/chunk-hzvff525.js.gz +0 -0
- package/web/chunk-j2gkg76r.js +2 -0
- package/web/chunk-j2gkg76r.js.br +0 -0
- package/web/chunk-j2gkg76r.js.gz +0 -0
- package/web/chunk-jcbheqv1.js +1 -0
- package/web/chunk-jcbheqv1.js.br +0 -0
- package/web/chunk-jcbheqv1.js.gz +0 -0
- package/web/chunk-jhx6v9es.js +1 -0
- package/web/chunk-jhx6v9es.js.br +0 -0
- package/web/chunk-jhx6v9es.js.gz +0 -0
- package/web/chunk-jnhem746.js +292 -0
- package/web/chunk-jnhem746.js.br +0 -0
- package/web/chunk-jnhem746.js.gz +0 -0
- package/web/chunk-jr796qsk.js +1 -0
- package/web/chunk-jr796qsk.js.br +0 -0
- package/web/chunk-jr796qsk.js.gz +0 -0
- package/web/chunk-jw92texh.js +1 -0
- package/web/chunk-jw92texh.js.br +0 -0
- package/web/chunk-jw92texh.js.gz +0 -0
- package/web/chunk-k89686qj.js +2 -0
- package/web/chunk-k89686qj.js.br +0 -0
- package/web/chunk-k89686qj.js.gz +0 -0
- package/web/chunk-mqdvg55y.js +2 -0
- package/web/chunk-mqdvg55y.js.br +0 -0
- package/web/chunk-mqdvg55y.js.gz +0 -0
- package/web/chunk-mvm0gvwj.js +24 -0
- package/web/chunk-mvm0gvwj.js.br +0 -0
- package/web/chunk-mvm0gvwj.js.gz +0 -0
- package/web/chunk-n033azqs.js +30 -0
- package/web/chunk-n033azqs.js.br +0 -0
- package/web/chunk-n033azqs.js.gz +0 -0
- package/web/chunk-n0fqhrqv.js +89 -0
- package/web/chunk-n0fqhrqv.js.br +0 -0
- package/web/chunk-n0fqhrqv.js.gz +0 -0
- package/web/chunk-n1p03ng0.js +1 -0
- package/web/chunk-n1p03ng0.js.br +0 -0
- package/web/chunk-n1p03ng0.js.gz +0 -0
- package/web/chunk-nb73fq72.js +1 -0
- package/web/chunk-nb73fq72.js.br +0 -0
- package/web/chunk-nb73fq72.js.gz +0 -0
- package/web/chunk-ngsv0xfb.js +1 -0
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.js.gz +0 -0
- package/web/chunk-nxnkb0w4.js +55 -0
- package/web/chunk-nxnkb0w4.js.br +0 -0
- package/web/chunk-nxnkb0w4.js.gz +0 -0
- package/web/chunk-nymsmy8d.js +78 -0
- package/web/chunk-nymsmy8d.js.br +0 -0
- package/web/chunk-nymsmy8d.js.gz +0 -0
- package/web/chunk-nzqxb0ea.js +1 -0
- package/web/chunk-nzqxb0ea.js.br +0 -0
- package/web/chunk-nzqxb0ea.js.gz +0 -0
- package/web/chunk-p26b4zdm.js +1 -0
- package/web/chunk-p26b4zdm.js.br +0 -0
- package/web/chunk-p26b4zdm.js.gz +0 -0
- package/web/chunk-qa0wwff0.js +1 -0
- package/web/chunk-qa0wwff0.js.br +0 -0
- package/web/chunk-qa0wwff0.js.gz +0 -0
- package/web/chunk-qgv81n98.js +1 -0
- package/web/chunk-qgv81n98.js.br +0 -0
- package/web/chunk-qgv81n98.js.gz +0 -0
- package/web/chunk-qtwjt5mm.js +3 -0
- package/web/chunk-qtwjt5mm.js.br +0 -0
- package/web/chunk-qtwjt5mm.js.gz +0 -0
- package/web/chunk-r49dy5vx.js +1 -0
- package/web/chunk-r49dy5vx.js.br +0 -0
- package/web/chunk-r49dy5vx.js.gz +0 -0
- package/web/chunk-r97hd8wk.js +98 -0
- package/web/chunk-r97hd8wk.js.br +0 -0
- package/web/chunk-r97hd8wk.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +1 -0
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.js.gz +0 -0
- package/web/chunk-s00gxcxn.js +2 -0
- package/web/chunk-s00gxcxn.js.br +0 -0
- package/web/chunk-s00gxcxn.js.gz +0 -0
- package/web/chunk-s6a13wxe.js +2 -0
- package/web/chunk-s6a13wxe.js.br +0 -0
- package/web/chunk-s6a13wxe.js.gz +0 -0
- package/web/chunk-sb61aqg8.js +4 -0
- package/web/chunk-sb61aqg8.js.br +0 -0
- package/web/chunk-sb61aqg8.js.gz +0 -0
- package/web/chunk-scwrkcdw.js +1 -0
- package/web/chunk-scwrkcdw.js.br +0 -0
- package/web/chunk-scwrkcdw.js.gz +0 -0
- package/web/chunk-shtvhd61.js +200 -0
- package/web/chunk-shtvhd61.js.br +0 -0
- package/web/chunk-shtvhd61.js.gz +0 -0
- package/web/chunk-szwh742y.js +2 -0
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t5e9vh89.js +1 -0
- package/web/chunk-t5e9vh89.js.br +0 -0
- package/web/chunk-t5e9vh89.js.gz +0 -0
- package/web/chunk-tbgavq0t.js +2 -0
- package/web/chunk-tbgavq0t.js.br +0 -0
- package/web/chunk-tbgavq0t.js.gz +0 -0
- package/web/chunk-tefm9md2.js +2 -0
- package/web/chunk-tefm9md2.js.br +0 -0
- package/web/chunk-tefm9md2.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +2 -0
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tp3fpa0t.js +1 -0
- package/web/chunk-tp3fpa0t.js.br +0 -0
- package/web/chunk-tp3fpa0t.js.gz +0 -0
- package/web/chunk-tr7fg3tv.js +8 -0
- package/web/chunk-tr7fg3tv.js.br +0 -0
- package/web/chunk-tr7fg3tv.js.gz +0 -0
- package/web/chunk-v5xf47q0.js +1 -0
- package/web/chunk-v5xf47q0.js.br +0 -0
- package/web/chunk-v5xf47q0.js.gz +0 -0
- package/web/chunk-vayamfxv.js +1 -0
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vndrjeyr.js +2 -0
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.js.gz +0 -0
- package/web/chunk-vwms8c7b.js +1 -0
- package/web/chunk-vwms8c7b.js.br +0 -0
- package/web/chunk-vwms8c7b.js.gz +0 -0
- package/web/chunk-w2gy2tmp.js +99 -0
- package/web/chunk-w2gy2tmp.js.br +0 -0
- package/web/chunk-w2gy2tmp.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +1 -0
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-whfh2wev.js +41 -0
- package/web/chunk-whfh2wev.js.br +0 -0
- package/web/chunk-whfh2wev.js.gz +0 -0
- package/web/chunk-wjecy48x.js +1 -0
- package/web/chunk-wjecy48x.js.br +0 -0
- package/web/chunk-wjecy48x.js.gz +0 -0
- package/web/chunk-wqmyjj6w.js +370 -0
- package/web/chunk-wqmyjj6w.js.br +0 -0
- package/web/chunk-wqmyjj6w.js.gz +0 -0
- package/web/chunk-wv83gygp.js +1 -0
- package/web/chunk-wv83gygp.js.br +0 -0
- package/web/chunk-wv83gygp.js.gz +0 -0
- package/web/chunk-x1gr0017.js +70 -0
- package/web/chunk-x1gr0017.js.br +0 -0
- package/web/chunk-x1gr0017.js.gz +0 -0
- package/web/chunk-xa9m0mh2.js +106 -0
- package/web/chunk-xa9m0mh2.js.br +0 -0
- package/web/chunk-xa9m0mh2.js.gz +0 -0
- package/web/chunk-xjbxndxz.js +2 -0
- package/web/chunk-xjbxndxz.js.br +0 -0
- package/web/chunk-xjbxndxz.js.gz +0 -0
- package/web/chunk-xsfmh8rr.js +217 -0
- package/web/chunk-xsfmh8rr.js.br +0 -0
- package/web/chunk-xsfmh8rr.js.gz +0 -0
- package/web/chunk-xvsb3w1f.js +1 -0
- package/web/chunk-xvsb3w1f.js.br +0 -0
- package/web/chunk-xvsb3w1f.js.gz +0 -0
- package/web/chunk-y2jkaf1e.js +2 -0
- package/web/chunk-y2jkaf1e.js.br +0 -0
- package/web/chunk-y2jkaf1e.js.gz +0 -0
- package/web/chunk-ynpx7j96.js +1 -0
- package/web/chunk-ynpx7j96.js.br +0 -0
- package/web/chunk-ynpx7j96.js.gz +0 -0
- package/web/chunk-z04ncfs3.js +2 -0
- package/web/chunk-z04ncfs3.js.br +0 -0
- package/web/chunk-z04ncfs3.js.gz +0 -0
- package/web/chunk-zapwrc5k.js +2 -0
- package/web/chunk-zapwrc5k.js.br +0 -0
- package/web/chunk-zapwrc5k.js.gz +0 -0
- package/web/chunk-zq1qbaxb.js +2 -0
- package/web/chunk-zq1qbaxb.js.br +0 -0
- package/web/chunk-zq1qbaxb.js.gz +0 -0
- package/web/chunk-zs7physk.js +120 -0
- package/web/chunk-zs7physk.js.br +0 -0
- package/web/chunk-zs7physk.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-0ecs4nme.js +0 -18
- package/chunk-0mrd775t.js +0 -3
- package/chunk-0p12aad6.js +0 -3
- package/chunk-0vdz9j55.js +0 -7
- package/chunk-1v0dv855.js +0 -3
- package/chunk-2c6seev1.js +0 -3
- package/chunk-2jeg8h8d.js +0 -3
- package/chunk-2q3tewbg.js +0 -59
- package/chunk-3hqka8zs.js +0 -2
- package/chunk-3ktcgaec.js +0 -2
- package/chunk-3v0ezmaw.js +0 -39
- package/chunk-3zv7ryz0.js +0 -2
- package/chunk-4mwx4pet.js +0 -15
- package/chunk-5h96jz3p.js +0 -3
- package/chunk-5kd940f5.js +0 -3
- package/chunk-61e7nvw9.js +0 -2
- package/chunk-628vymvd.js +0 -3
- package/chunk-6h9dxrr4.js +0 -2
- package/chunk-6ka4m0ax.js +0 -2
- package/chunk-6q0ak8d1.js +0 -12
- package/chunk-768vwfc3.js +0 -3
- package/chunk-7k4xghss.js +0 -5
- package/chunk-8jv34hrx.js +0 -7
- package/chunk-8np9b2y8.js +0 -3
- package/chunk-8yv55y6g.js +0 -3
- package/chunk-93bcazsp.js +0 -2
- package/chunk-95rqa8r8.js +0 -2
- package/chunk-9fccgczj.js +0 -3
- package/chunk-akf8x16s.js +0 -5
- package/chunk-bkmd5d8p.js +0 -3
- package/chunk-df7ye0xb.js +0 -9
- package/chunk-drbd6485.js +0 -3
- package/chunk-dsd6pd2m.js +0 -2
- package/chunk-eejgn4ye.js +0 -2
- package/chunk-eek8fqvj.js +0 -2
- package/chunk-ewjrnvjb.js +0 -10
- package/chunk-f4tqhvff.js +0 -3
- package/chunk-ff293dj0.js +0 -4
- package/chunk-g23dnf4y.js +0 -4
- package/chunk-gha8wd63.js +0 -11
- package/chunk-gwcstcqs.js +0 -3566
- package/chunk-gwrpahes.js +0 -2
- package/chunk-hz92pdms.js +0 -2
- package/chunk-jepxf22f.js +0 -7
- package/chunk-keq5kv9b.js +0 -3
- package/chunk-khdch9sx.js +0 -25
- package/chunk-m1w7f6d3.js +0 -5
- package/chunk-m839588n.js +0 -2
- package/chunk-mah60ek9.js +0 -3
- package/chunk-mmm1jh57.js +0 -20
- package/chunk-mmt11y21.js +0 -2
- package/chunk-mny4xyb0.js +0 -3
- package/chunk-mq0p4ssz.js +0 -3
- package/chunk-mzta1jts.js +0 -10
- package/chunk-n0qwj5gm.js +0 -12
- package/chunk-n19ec95n.js +0 -3
- package/chunk-n5b822pn.js +0 -3
- package/chunk-nvxx397h.js +0 -2
- package/chunk-nwfhbcme.js +0 -4
- package/chunk-pjv9mppd.js +0 -473
- package/chunk-pr1hfw3a.js +0 -2
- package/chunk-q2re8mn9.js +0 -31
- package/chunk-qgg3wk8h.js +0 -2
- package/chunk-r9gkfk6f.js +0 -16
- package/chunk-rjfph4m5.js +0 -3
- package/chunk-rkn6bven.js +0 -390
- package/chunk-rmy489b1.js +0 -7
- package/chunk-sf2cp0m6.js +0 -8
- package/chunk-sfwy8rqg.js +0 -3
- package/chunk-sj2q2amm.js +0 -11
- package/chunk-sqfs6z7c.js +0 -3
- package/chunk-sy980cjq.js +0 -2
- package/chunk-t64hda7b.js +0 -2
- package/chunk-tbhqhejq.js +0 -2
- package/chunk-trxaygjr.js +0 -5
- package/chunk-v7ehjbxx.js +0 -2
- package/chunk-vjegsy9q.js +0 -2
- package/chunk-vt4xyc4q.js +0 -2
- package/chunk-w430z452.js +0 -25
- package/chunk-xycq2q8m.js +0 -2
- package/chunk-y6mng74k.js +0 -2
- package/chunk-y8aq7mb7.js +0 -3
- package/chunk-ynt6najh.js +0 -3
- package/chunk-z1y43t2s.js +0 -3
- package/chunk-z6v2pcc0.js +0 -3
- package/web/chunk-00wh99xz.js +0 -78
- package/web/chunk-00wh99xz.js.br +0 -0
- package/web/chunk-00wh99xz.js.gz +0 -0
- package/web/chunk-0a1t2j8h.js +0 -2
- package/web/chunk-0a1t2j8h.js.br +0 -0
- package/web/chunk-0a1t2j8h.js.gz +0 -0
- package/web/chunk-0g9ycv0h.js +0 -2
- package/web/chunk-0g9ycv0h.js.br +0 -0
- package/web/chunk-0g9ycv0h.js.gz +0 -0
- package/web/chunk-1ar2phwa.js +0 -1
- package/web/chunk-1ar2phwa.js.br +0 -0
- package/web/chunk-1ar2phwa.js.gz +0 -0
- package/web/chunk-1jfydncj.js +0 -24
- package/web/chunk-1jfydncj.js.br +0 -0
- package/web/chunk-1jfydncj.js.gz +0 -0
- package/web/chunk-1p1jtvrt.js +0 -2
- package/web/chunk-1p1jtvrt.js.br +0 -0
- package/web/chunk-1p1jtvrt.js.gz +0 -0
- package/web/chunk-1x38r11w.js +0 -1
- package/web/chunk-1x38r11w.js.br +0 -2
- package/web/chunk-1x38r11w.js.gz +0 -0
- package/web/chunk-25rf3svt.js +0 -2
- package/web/chunk-25rf3svt.js.br +0 -0
- package/web/chunk-25rf3svt.js.gz +0 -0
- package/web/chunk-2cfv55j2.js +0 -1
- package/web/chunk-2cfv55j2.js.br +0 -0
- package/web/chunk-2cfv55j2.js.gz +0 -0
- package/web/chunk-2q37qdq2.js +0 -2
- package/web/chunk-2q37qdq2.js.br +0 -0
- package/web/chunk-2q37qdq2.js.gz +0 -0
- package/web/chunk-2yhmab75.js +0 -7
- package/web/chunk-2yhmab75.js.br +0 -0
- package/web/chunk-2yhmab75.js.gz +0 -0
- package/web/chunk-33eqjx7d.js +0 -2
- package/web/chunk-33eqjx7d.js.br +0 -0
- package/web/chunk-33eqjx7d.js.gz +0 -0
- package/web/chunk-39rtp0f4.js +0 -1
- package/web/chunk-39rtp0f4.js.br +0 -0
- package/web/chunk-39rtp0f4.js.gz +0 -0
- package/web/chunk-3at57qna.js +0 -1
- package/web/chunk-3at57qna.js.br +0 -0
- package/web/chunk-3at57qna.js.gz +0 -0
- package/web/chunk-3z9kpkec.js +0 -1
- package/web/chunk-3z9kpkec.js.br +0 -0
- package/web/chunk-3z9kpkec.js.gz +0 -0
- package/web/chunk-43shp7zx.js +0 -2
- package/web/chunk-43shp7zx.js.br +0 -0
- package/web/chunk-43shp7zx.js.gz +0 -0
- package/web/chunk-4ncnt1c2.js +0 -2
- package/web/chunk-4ncnt1c2.js.br +0 -0
- package/web/chunk-4ncnt1c2.js.gz +0 -0
- package/web/chunk-4vc07x6t.js +0 -1
- package/web/chunk-4vc07x6t.js.br +0 -0
- package/web/chunk-4vc07x6t.js.gz +0 -0
- package/web/chunk-4ytc5sth.js +0 -1
- package/web/chunk-4ytc5sth.js.br +0 -0
- package/web/chunk-4ytc5sth.js.gz +0 -0
- package/web/chunk-54vdfmx0.js +0 -2
- package/web/chunk-54vdfmx0.js.br +0 -0
- package/web/chunk-54vdfmx0.js.gz +0 -0
- package/web/chunk-5a80hcah.js +0 -1
- package/web/chunk-5a80hcah.js.br +0 -0
- package/web/chunk-5a80hcah.js.gz +0 -0
- package/web/chunk-5c5h90k0.js +0 -1
- package/web/chunk-5c5h90k0.js.br +0 -0
- package/web/chunk-5c5h90k0.js.gz +0 -0
- package/web/chunk-5kcmtrrk.js +0 -2
- package/web/chunk-5kcmtrrk.js.br +0 -0
- package/web/chunk-5kcmtrrk.js.gz +0 -0
- package/web/chunk-5zpn3n5a.js +0 -1
- package/web/chunk-5zpn3n5a.js.br +0 -0
- package/web/chunk-5zpn3n5a.js.gz +0 -0
- package/web/chunk-64k06g43.js +0 -1
- package/web/chunk-64k06g43.js.br +0 -0
- package/web/chunk-64k06g43.js.gz +0 -0
- package/web/chunk-6pbrtp4e.js +0 -30
- package/web/chunk-6pbrtp4e.js.br +0 -0
- package/web/chunk-6pbrtp4e.js.gz +0 -0
- package/web/chunk-6sehssym.js +0 -1
- package/web/chunk-6sehssym.js.br +0 -2
- package/web/chunk-6sehssym.js.gz +0 -0
- package/web/chunk-7hxj251q.js +0 -1
- package/web/chunk-7hxj251q.js.br +0 -0
- package/web/chunk-7hxj251q.js.gz +0 -0
- package/web/chunk-7qcmg5ns.js +0 -2
- package/web/chunk-7qcmg5ns.js.br +0 -0
- package/web/chunk-7qcmg5ns.js.gz +0 -0
- package/web/chunk-7ycp549b.js +0 -2
- package/web/chunk-7ycp549b.js.br +0 -0
- package/web/chunk-7ycp549b.js.gz +0 -0
- package/web/chunk-811qc5bs.js +0 -1
- package/web/chunk-811qc5bs.js.br +0 -0
- package/web/chunk-811qc5bs.js.gz +0 -0
- package/web/chunk-82gjgy45.js +0 -1
- package/web/chunk-82gjgy45.js.br +0 -0
- package/web/chunk-82gjgy45.js.gz +0 -0
- package/web/chunk-82j6713x.js +0 -214
- package/web/chunk-82j6713x.js.br +0 -0
- package/web/chunk-82j6713x.js.gz +0 -0
- package/web/chunk-9kx2s040.js +0 -1
- package/web/chunk-9kx2s040.js.br +0 -0
- package/web/chunk-9kx2s040.js.gz +0 -0
- package/web/chunk-9v1f6yc8.js +0 -1
- package/web/chunk-9v1f6yc8.js.br +0 -0
- package/web/chunk-9v1f6yc8.js.gz +0 -0
- package/web/chunk-9vexd52p.js +0 -324
- package/web/chunk-9vexd52p.js.br +0 -0
- package/web/chunk-9vexd52p.js.gz +0 -0
- package/web/chunk-ajj3nc80.js +0 -2
- package/web/chunk-ajj3nc80.js.br +0 -0
- package/web/chunk-ajj3nc80.js.gz +0 -0
- package/web/chunk-amrkb4dd.js +0 -1
- package/web/chunk-amrkb4dd.js.br +0 -0
- package/web/chunk-amrkb4dd.js.gz +0 -0
- package/web/chunk-amrt87c9.js +0 -1
- package/web/chunk-amrt87c9.js.br +0 -0
- package/web/chunk-amrt87c9.js.gz +0 -0
- package/web/chunk-b7d5k9sp.js +0 -370
- package/web/chunk-b7d5k9sp.js.br +0 -0
- package/web/chunk-b7d5k9sp.js.gz +0 -0
- package/web/chunk-bavn0z5d.js +0 -1
- package/web/chunk-bavn0z5d.js.br +0 -0
- package/web/chunk-bavn0z5d.js.gz +0 -0
- package/web/chunk-bjw74xvy.js +0 -4
- package/web/chunk-bjw74xvy.js.br +0 -0
- package/web/chunk-bjw74xvy.js.gz +0 -0
- package/web/chunk-bn68ks4x.js +0 -1
- package/web/chunk-bn68ks4x.js.br +0 -0
- package/web/chunk-bn68ks4x.js.gz +0 -0
- package/web/chunk-c59d2j14.js +0 -8
- package/web/chunk-c59d2j14.js.br +0 -0
- package/web/chunk-c59d2j14.js.gz +0 -0
- package/web/chunk-cfz9ftze.js +0 -70
- package/web/chunk-cfz9ftze.js.br +0 -0
- package/web/chunk-cfz9ftze.js.gz +0 -0
- package/web/chunk-chq476ch.js +0 -98
- package/web/chunk-chq476ch.js.br +0 -0
- package/web/chunk-chq476ch.js.gz +0 -0
- package/web/chunk-cqr2kq2c.js +0 -1
- package/web/chunk-cqr2kq2c.js.br +0 -0
- package/web/chunk-cqr2kq2c.js.gz +0 -0
- package/web/chunk-cxhcrhqc.js +0 -1
- package/web/chunk-cxhcrhqc.js.br +0 -0
- package/web/chunk-cxhcrhqc.js.gz +0 -0
- package/web/chunk-d0ey112q.js +0 -140
- package/web/chunk-d0ey112q.js.br +0 -0
- package/web/chunk-d0ey112q.js.gz +0 -0
- package/web/chunk-d71z7s5r.js +0 -16
- package/web/chunk-d71z7s5r.js.br +0 -0
- package/web/chunk-d71z7s5r.js.gz +0 -0
- package/web/chunk-dembnhph.js +0 -2
- package/web/chunk-dembnhph.js.br +0 -0
- package/web/chunk-dembnhph.js.gz +0 -0
- package/web/chunk-dfq4w8mf.js +0 -1
- package/web/chunk-dfq4w8mf.js.br +0 -0
- package/web/chunk-dfq4w8mf.js.gz +0 -0
- package/web/chunk-drr7mqg2.js +0 -1
- package/web/chunk-drr7mqg2.js.br +0 -0
- package/web/chunk-drr7mqg2.js.gz +0 -0
- package/web/chunk-dwdxczxc.js +0 -99
- package/web/chunk-dwdxczxc.js.br +0 -0
- package/web/chunk-dwdxczxc.js.gz +0 -0
- package/web/chunk-e3b2krd7.js +0 -1
- package/web/chunk-e3b2krd7.js.br +0 -0
- package/web/chunk-e3b2krd7.js.gz +0 -0
- package/web/chunk-e4wbkc1x.js +0 -55
- package/web/chunk-e4wbkc1x.js.br +0 -0
- package/web/chunk-e4wbkc1x.js.gz +0 -0
- package/web/chunk-ee67ps6t.js +0 -1
- package/web/chunk-ee67ps6t.js.br +0 -0
- package/web/chunk-ee67ps6t.js.gz +0 -0
- package/web/chunk-ef0wf92p.js +0 -2
- package/web/chunk-ef0wf92p.js.br +0 -0
- package/web/chunk-ef0wf92p.js.gz +0 -0
- package/web/chunk-ekwmp0s0.js +0 -1
- package/web/chunk-ekwmp0s0.js.br +0 -0
- package/web/chunk-ekwmp0s0.js.gz +0 -0
- package/web/chunk-f2qrf0he.js +0 -7
- package/web/chunk-f2qrf0he.js.br +0 -0
- package/web/chunk-f2qrf0he.js.gz +0 -0
- package/web/chunk-f88vhwan.js +0 -34
- package/web/chunk-f88vhwan.js.br +0 -0
- package/web/chunk-f88vhwan.js.gz +0 -0
- package/web/chunk-fpp6jtb4.js +0 -1
- package/web/chunk-fpp6jtb4.js.br +0 -0
- package/web/chunk-fpp6jtb4.js.gz +0 -0
- package/web/chunk-ft62hfnt.js +0 -1
- package/web/chunk-ft62hfnt.js.br +0 -0
- package/web/chunk-ft62hfnt.js.gz +0 -0
- package/web/chunk-g3fahpjw.js +0 -2
- package/web/chunk-g3fahpjw.js.br +0 -0
- package/web/chunk-g3fahpjw.js.gz +0 -0
- package/web/chunk-g5b4wjwp.js +0 -1135
- package/web/chunk-g5b4wjwp.js.br +0 -0
- package/web/chunk-g5b4wjwp.js.gz +0 -0
- package/web/chunk-ga3tn73a.js +0 -1
- package/web/chunk-ga3tn73a.js.br +0 -0
- package/web/chunk-ga3tn73a.js.gz +0 -0
- package/web/chunk-gf4vtpw2.js +0 -1
- package/web/chunk-gf4vtpw2.js.br +0 -0
- package/web/chunk-gf4vtpw2.js.gz +0 -0
- package/web/chunk-ghxfjwhq.js +0 -1
- package/web/chunk-ghxfjwhq.js.br +0 -0
- package/web/chunk-ghxfjwhq.js.gz +0 -0
- package/web/chunk-gxqs7zmy.js +0 -1
- package/web/chunk-gxqs7zmy.js.br +0 -0
- package/web/chunk-gxqs7zmy.js.gz +0 -0
- package/web/chunk-htn0dt64.js +0 -2
- package/web/chunk-htn0dt64.js.br +0 -0
- package/web/chunk-htn0dt64.js.gz +0 -0
- package/web/chunk-jpdp0xkd.js +0 -1
- package/web/chunk-jpdp0xkd.js.br +0 -0
- package/web/chunk-jpdp0xkd.js.gz +0 -0
- package/web/chunk-jtzbk251.js +0 -291
- package/web/chunk-jtzbk251.js.br +0 -0
- package/web/chunk-jtzbk251.js.gz +0 -0
- package/web/chunk-k8yyb4wc.js +0 -2
- package/web/chunk-k8yyb4wc.js.br +0 -0
- package/web/chunk-k8yyb4wc.js.gz +0 -0
- package/web/chunk-kc6k0ect.js +0 -1
- package/web/chunk-kc6k0ect.js.br +0 -0
- package/web/chunk-kc6k0ect.js.gz +0 -0
- package/web/chunk-kk7k8xc8.js +0 -21
- package/web/chunk-kk7k8xc8.js.br +0 -0
- package/web/chunk-kk7k8xc8.js.gz +0 -0
- package/web/chunk-kmpyntam.js +0 -169
- package/web/chunk-kmpyntam.js.br +0 -0
- package/web/chunk-kmpyntam.js.gz +0 -0
- package/web/chunk-mejpj22t.js +0 -89
- package/web/chunk-mejpj22t.js.br +0 -0
- package/web/chunk-mejpj22t.js.gz +0 -0
- package/web/chunk-mm10pm0x.js +0 -106
- package/web/chunk-mm10pm0x.js.br +0 -0
- package/web/chunk-mm10pm0x.js.gz +0 -0
- package/web/chunk-mpve4748.js +0 -1
- package/web/chunk-mpve4748.js.br +0 -0
- package/web/chunk-mpve4748.js.gz +0 -0
- package/web/chunk-ms022qq9.js +0 -1
- package/web/chunk-ms022qq9.js.br +0 -2
- package/web/chunk-ms022qq9.js.gz +0 -0
- package/web/chunk-msn8bpe6.js +0 -1
- package/web/chunk-msn8bpe6.js.br +0 -0
- package/web/chunk-msn8bpe6.js.gz +0 -0
- package/web/chunk-mxf122px.js +0 -1
- package/web/chunk-mxf122px.js.br +0 -0
- package/web/chunk-mxf122px.js.gz +0 -0
- package/web/chunk-myhtb5ps.js +0 -2
- package/web/chunk-myhtb5ps.js.br +0 -0
- package/web/chunk-myhtb5ps.js.gz +0 -0
- package/web/chunk-mzv41kv9.js +0 -1
- package/web/chunk-mzv41kv9.js.br +0 -2
- package/web/chunk-mzv41kv9.js.gz +0 -0
- package/web/chunk-mzyg8zga.js +0 -332
- package/web/chunk-mzyg8zga.js.br +0 -0
- package/web/chunk-mzyg8zga.js.gz +0 -0
- package/web/chunk-n8j9jdsh.js +0 -2
- package/web/chunk-n8j9jdsh.js.br +0 -0
- package/web/chunk-n8j9jdsh.js.gz +0 -0
- package/web/chunk-n8ts6ra2.js +0 -36
- package/web/chunk-n8ts6ra2.js.br +0 -0
- package/web/chunk-n8ts6ra2.js.gz +0 -0
- package/web/chunk-nefchfa1.js +0 -1
- package/web/chunk-nefchfa1.js.br +0 -0
- package/web/chunk-nefchfa1.js.gz +0 -0
- package/web/chunk-ng0bsm6n.js +0 -1
- package/web/chunk-ng0bsm6n.js.br +0 -0
- package/web/chunk-ng0bsm6n.js.gz +0 -0
- package/web/chunk-nz1mm18x.js +0 -1
- package/web/chunk-nz1mm18x.js.br +0 -0
- package/web/chunk-nz1mm18x.js.gz +0 -0
- package/web/chunk-pdxqp4rh.js +0 -2
- package/web/chunk-pdxqp4rh.js.br +0 -0
- package/web/chunk-pdxqp4rh.js.gz +0 -0
- package/web/chunk-pe2zvyjt.js +0 -2
- package/web/chunk-pe2zvyjt.js.br +0 -0
- package/web/chunk-pe2zvyjt.js.gz +0 -0
- package/web/chunk-q0kx0wyj.js +0 -2
- package/web/chunk-q0kx0wyj.js.br +0 -0
- package/web/chunk-q0kx0wyj.js.gz +0 -0
- package/web/chunk-q6aqg79d.js +0 -2
- package/web/chunk-q6aqg79d.js.br +0 -0
- package/web/chunk-q6aqg79d.js.gz +0 -0
- package/web/chunk-q8ve5wqt.js +0 -292
- package/web/chunk-q8ve5wqt.js.br +0 -0
- package/web/chunk-q8ve5wqt.js.gz +0 -0
- package/web/chunk-qh93t9tv.js +0 -1
- package/web/chunk-qh93t9tv.js.br +0 -0
- package/web/chunk-qh93t9tv.js.gz +0 -0
- package/web/chunk-qjswcwvm.js +0 -1
- package/web/chunk-qjswcwvm.js.br +0 -0
- package/web/chunk-qjswcwvm.js.gz +0 -0
- package/web/chunk-qqewmk3y.js +0 -62
- package/web/chunk-qqewmk3y.js.br +0 -0
- package/web/chunk-qqewmk3y.js.gz +0 -0
- package/web/chunk-qzb06me8.js +0 -303
- package/web/chunk-qzb06me8.js.br +0 -0
- package/web/chunk-qzb06me8.js.gz +0 -0
- package/web/chunk-r2zernvz.js +0 -7
- package/web/chunk-r2zernvz.js.br +0 -0
- package/web/chunk-r2zernvz.js.gz +0 -0
- package/web/chunk-r8ykja8v.js +0 -139
- package/web/chunk-r8ykja8v.js.br +0 -0
- package/web/chunk-r8ykja8v.js.gz +0 -0
- package/web/chunk-r9b7eh2j.js +0 -1
- package/web/chunk-r9b7eh2j.js.br +0 -0
- package/web/chunk-r9b7eh2j.js.gz +0 -0
- package/web/chunk-rjvdk0s6.js +0 -1
- package/web/chunk-rjvdk0s6.js.br +0 -0
- package/web/chunk-rjvdk0s6.js.gz +0 -0
- package/web/chunk-ry1wp3v8.js +0 -2
- package/web/chunk-ry1wp3v8.js.br +0 -0
- package/web/chunk-ry1wp3v8.js.gz +0 -0
- package/web/chunk-s2bfc2vk.js +0 -1
- package/web/chunk-s2bfc2vk.js.br +0 -0
- package/web/chunk-s2bfc2vk.js.gz +0 -0
- package/web/chunk-s4c6nzj9.js +0 -120
- package/web/chunk-s4c6nzj9.js.br +0 -0
- package/web/chunk-s4c6nzj9.js.gz +0 -0
- package/web/chunk-ss23nnmc.js +0 -217
- package/web/chunk-ss23nnmc.js.br +0 -0
- package/web/chunk-ss23nnmc.js.gz +0 -0
- package/web/chunk-sxmv80th.js +0 -2
- package/web/chunk-sxmv80th.js.br +0 -0
- package/web/chunk-sxmv80th.js.gz +0 -0
- package/web/chunk-sy2cdka3.js +0 -24
- package/web/chunk-sy2cdka3.js.br +0 -0
- package/web/chunk-sy2cdka3.js.gz +0 -0
- package/web/chunk-sysebfkg.js +0 -41
- package/web/chunk-sysebfkg.js.br +0 -0
- package/web/chunk-sysebfkg.js.gz +0 -0
- package/web/chunk-t3620hrb.js +0 -39
- package/web/chunk-t3620hrb.js.br +0 -0
- package/web/chunk-t3620hrb.js.gz +0 -0
- package/web/chunk-t5srz1hs.js +0 -3
- package/web/chunk-t5srz1hs.js.br +0 -0
- package/web/chunk-t5srz1hs.js.gz +0 -0
- package/web/chunk-ta913rgd.js +0 -2
- package/web/chunk-ta913rgd.js.br +0 -0
- package/web/chunk-ta913rgd.js.gz +0 -0
- package/web/chunk-v25k7n3r.js +0 -12
- package/web/chunk-v25k7n3r.js.br +0 -0
- package/web/chunk-v25k7n3r.js.gz +0 -0
- package/web/chunk-v36p2ccs.js +0 -2
- package/web/chunk-v36p2ccs.js.br +0 -0
- package/web/chunk-v36p2ccs.js.gz +0 -0
- package/web/chunk-vf0p4ayw.js +0 -1
- package/web/chunk-vf0p4ayw.js.br +0 -0
- package/web/chunk-vf0p4ayw.js.gz +0 -0
- package/web/chunk-vmpry714.js +0 -1
- package/web/chunk-vmpry714.js.br +0 -0
- package/web/chunk-vmpry714.js.gz +0 -0
- package/web/chunk-vr6n4pvt.js +0 -1
- package/web/chunk-vr6n4pvt.js.br +0 -0
- package/web/chunk-vr6n4pvt.js.gz +0 -0
- package/web/chunk-vrtdjg91.js +0 -1
- package/web/chunk-vrtdjg91.js.br +0 -0
- package/web/chunk-vrtdjg91.js.gz +0 -0
- package/web/chunk-vx6qbmd7.js +0 -2
- package/web/chunk-vx6qbmd7.js.br +0 -0
- package/web/chunk-vx6qbmd7.js.gz +0 -0
- package/web/chunk-vx9g94x2.js +0 -200
- package/web/chunk-vx9g94x2.js.br +0 -0
- package/web/chunk-vx9g94x2.js.gz +0 -0
- package/web/chunk-w5v80bmk.js +0 -89
- package/web/chunk-w5v80bmk.js.br +0 -0
- package/web/chunk-w5v80bmk.js.gz +0 -0
- package/web/chunk-wj0ck0pa.js +0 -40
- package/web/chunk-wj0ck0pa.js.br +0 -0
- package/web/chunk-wj0ck0pa.js.gz +0 -0
- package/web/chunk-wjzdpyhs.css +0 -1
- package/web/chunk-wjzdpyhs.css.br +0 -0
- package/web/chunk-wjzdpyhs.css.gz +0 -0
- package/web/chunk-wmt8d7zv.js +0 -38
- package/web/chunk-wmt8d7zv.js.br +0 -0
- package/web/chunk-wmt8d7zv.js.gz +0 -0
- package/web/chunk-wqf0qjbv.js +0 -4
- package/web/chunk-wqf0qjbv.js.br +0 -0
- package/web/chunk-wqf0qjbv.js.gz +0 -0
- package/web/chunk-ww5c1dmz.js +0 -1
- package/web/chunk-ww5c1dmz.js.br +0 -0
- package/web/chunk-ww5c1dmz.js.gz +0 -0
- package/web/chunk-xsyrxa45.js +0 -2
- package/web/chunk-xsyrxa45.js.br +0 -0
- package/web/chunk-xsyrxa45.js.gz +0 -0
- package/web/chunk-y5f7gy03.js +0 -142
- package/web/chunk-y5f7gy03.js.br +0 -0
- package/web/chunk-y5f7gy03.js.gz +0 -0
- package/web/chunk-yg78fas7.js +0 -2
- package/web/chunk-yg78fas7.js.br +0 -0
- package/web/chunk-yg78fas7.js.gz +0 -0
- package/web/chunk-yvkbc3s5.js +0 -1
- package/web/chunk-yvkbc3s5.js.br +0 -0
- package/web/chunk-yvkbc3s5.js.gz +0 -0
- package/web/chunk-yygayy5a.js +0 -1
- package/web/chunk-yygayy5a.js.br +0 -0
- package/web/chunk-yygayy5a.js.gz +0 -0
- package/web/chunk-z9nj64n7.js +0 -2
- package/web/chunk-z9nj64n7.js.br +0 -0
- package/web/chunk-z9nj64n7.js.gz +0 -0
- package/web/chunk-za5j3w7x.js +0 -2
- package/web/chunk-za5j3w7x.js.br +0 -0
- package/web/chunk-za5j3w7x.js.gz +0 -0
- package/web/chunk-zc0e01j4.js +0 -1
- package/web/chunk-zc0e01j4.js.br +0 -0
- package/web/chunk-zc0e01j4.js.gz +0 -0
- package/web/chunk-zj9s9w76.js +0 -1
- package/web/chunk-zj9s9w76.js.br +0 -0
- package/web/chunk-zj9s9w76.js.gz +0 -0
- package/web/chunk-znwpavn5.js +0 -84
- package/web/chunk-znwpavn5.js.br +0 -0
- package/web/chunk-znwpavn5.js.gz +0 -0
package/web/chunk-00wh99xz.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import{ae}from"./chunk-z9nj64n7.js";import{t,i,Ye,A,Y,L,N,R,P,I,O,D,d,J,Q}from"./chunk-qzb06me8.js";import{he}from"./chunk-y5f7gy03.js";var at=t((a,s)=>{let o=a<=1?a*100:a;if(o<0||o>100)throw Error(`${s} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${a}`);return o},"toPercent"),G=t((a,s,o)=>({x:at(s,`${o} evolution`),y:at(a,`${o} visibility`)}),"toCoordinates"),lt=t((a)=>{if(!a)return;if(a==="+<>")return"bidirectional";if(a==="+<")return"backward";if(a==="+>")return"forward";return},"getFlowFromPort"),Yt=t((a)=>{if(!a?.startsWith("+"))return{};let o=/^\+'([^']*)'/.exec(a)?.[1];if(a.includes("<>"))return{flow:"bidirectional",label:o};if(a.includes("<"))return{flow:"backward",label:o};if(a.includes(">"))return{flow:"forward",label:o};return{label:o}},"extractFlowFromArrow"),It=t((a,s)=>{if(ae(a,s),a.size)s.setSize(a.size.width,a.size.height);if(a.evolution){let o=a.evolution.stages.map((r)=>{if(r.secondName)return`${r.name.trim()} / ${r.secondName.trim()}`;return r.name.trim()}),y=a.evolution.stages.filter((r)=>r.boundary!==void 0).map((r)=>r.boundary);s.updateAxes({stages:o,stageBoundaries:y})}if(a.anchors.forEach((o)=>{let y=G(o.visibility,o.evolution,`Anchor "${o.name}"`);s.addNode(o.name,o.name,y.x,y.y,"anchor")}),a.components.forEach((o)=>{let y=G(o.visibility,o.evolution,`Component "${o.name}"`),r=o.label?(o.label.negX?-1:1)*o.label.offsetX:void 0,p=o.label?(o.label.negY?-1:1)*o.label.offsetY:void 0,k=o.decorator?.strategy;s.addNode(o.name,o.name,y.x,y.y,"component",r,p,o.inertia,k)}),a.notes.forEach((o)=>{let y=G(o.visibility,o.evolution,`Note "${o.text}"`);s.addNote(o.text,y.x,y.y)}),a.pipelines.forEach((o)=>{let y=s.getNode(o.parent);if(!y||typeof y.y!=="number")throw Error(`Pipeline "${o.parent}" must reference an existing component with coordinates.`);let r=y.y;s.startPipeline(o.parent),o.components.forEach((p)=>{let k=`${o.parent}_${p.name}`,T=p.label?(p.label.negX?-1:1)*p.label.offsetX:void 0,w=p.label?(p.label.negY?-1:1)*p.label.offsetY:void 0,U=at(p.evolution,`Pipeline component "${p.name}" evolution`);s.addNode(k,p.name,U,r,"pipeline-component",T,w),s.addPipelineComponent(o.parent,k)})}),a.links.forEach((o)=>{let y=!!o.arrow&&(o.arrow.includes("-.->")||o.arrow.includes(".-.")),r=lt(o.fromPort)??lt(o.toPort),{flow:p,label:k}=Yt(o.arrow);if(!r&&p)r=p;let T=o.linkLabel,w=k??T;s.addLink(s.resolveNodeId(o.from),s.resolveNodeId(o.to),y,w,r)}),a.evolves.forEach((o)=>{let y=s.getNode(o.component);if(y?.y!==void 0){let r=at(o.target,`Evolve target for "${o.component}"`);s.addTrend(o.component,r,y.y)}}),a.annotations.length>0){let o=a.annotations[0],y=G(o.x,o.y,"Annotations box");s.setAnnotationsBox(y.x,y.y)}a.annotation.forEach((o)=>{let y=G(o.x,o.y,`Annotation ${o.number}`);s.addAnnotation(o.number,[{x:y.x,y:y.y}],o.text)}),a.accelerators.forEach((o)=>{let y=G(o.x,o.y,`Accelerator "${o.name}"`);s.addAccelerator(o.name,y.x,y.y)}),a.deaccelerators.forEach((o)=>{let y=G(o.x,o.y,`Deaccelerator "${o.name}"`);s.addDeaccelerator(o.name,y.x,y.y)})},"populateDb"),ct={parser:{yy:void 0},parse:t(async(a)=>{let s=await he("wardley",a);i.debug(s);let o=ct.parser?.yy;if(!o||typeof o.addNode!=="function")throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");It(s,o)},"parse")},Bt=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,"WardleyBuilder")}addNode(a){let s=this.nodes.get(a.id)??{id:a.id,label:a.label},o={...s,...a,className:a.className??s.className,labelOffsetX:a.labelOffsetX??s.labelOffsetX,labelOffsetY:a.labelOffsetY??s.labelOffsetY};this.nodes.set(a.id,o)}addLink(a){this.links.push(a)}addTrend(a){this.trends.set(a.nodeId,a)}startPipeline(a){this.pipelines.set(a,{nodeId:a,componentIds:[]});let s=this.nodes.get(a);if(s)s.isPipelineParent=!0}addPipelineComponent(a,s){let o=this.pipelines.get(a);if(o)o.componentIds.push(s);let y=this.nodes.get(s);if(y)y.inPipeline=!0}addAnnotation(a){this.annotations.push(a)}addNote(a){this.notes.push(a)}addAccelerator(a){this.accelerators.push(a)}addDeaccelerator(a){this.deaccelerators.push(a)}setAnnotationsBox(a,s){this.annotationsBox={x:a,y:s}}setAxes(a){this.axes={...this.axes,...a}}setSize(a,s){this.size={width:a,height:s}}getNode(a){return this.nodes.get(a)}resolveNodeId(a){if(this.nodes.has(a))return a;for(let[s,o]of this.nodes)if(o.label===a)return s;return a}build(){let a=[];for(let s of this.nodes.values()){if(typeof s.x!=="number"||typeof s.y!=="number")throw Error(`Node "${s.label}" is missing coordinates`);a.push(s)}return{nodes:a,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},v=new Bt;function pt(){return d()["wardley-beta"]}t(pt,"getConfig");function ht(a,s,o,y,r,p,k,T,w){v.addNode({id:a,label:s,x:o,y,className:r,labelOffsetX:p,labelOffsetY:k,inertia:T,sourceStrategy:w})}t(ht,"addNode");function ft(a,s,o=!1,y,r){v.addLink({source:a,target:s,dashed:o,label:y,flow:r})}t(ft,"addLink");function xt(a,s,o){v.addTrend({nodeId:a,targetX:s,targetY:o})}t(xt,"addTrend");function gt(a,s,o){v.addAnnotation({number:a,coordinates:s,text:o})}t(gt,"addAnnotation");function yt(a,s,o){v.addNote({text:a,x:s,y:o})}t(yt,"addNote");function ut(a,s,o){v.addAccelerator({name:a,x:s,y:o})}t(ut,"addAccelerator");function wt(a,s,o){v.addDeaccelerator({name:a,x:s,y:o})}t(wt,"addDeaccelerator");function mt(a,s){v.setAnnotationsBox(a,s)}t(mt,"setAnnotationsBox");function kt(a,s){v.setSize(a,s)}t(kt,"setSize");function bt(a){v.startPipeline(a)}t(bt,"startPipeline");function $t(a,s){v.addPipelineComponent(a,s)}t($t,"addPipelineComponent");function vt(a){v.setAxes(a)}t(vt,"updateAxes");function Pt(a){return v.getNode(a)}t(Pt,"getNode");function Ct(a){return v.resolveNodeId(a)}t(Ct,"resolveNodeId");function St(){return v.build()}t(St,"getWardleyData");function Mt(){v.clear(),L()}t(Mt,"clear");var Ft={getConfig:pt,addNode:ht,addLink:ft,addTrend:xt,addAnnotation:gt,addNote:yt,addAccelerator:ut,addDeaccelerator:wt,setAnnotationsBox:mt,setSize:kt,startPipeline:bt,addPipelineComponent:$t,updateAxes:vt,getNode:Pt,resolveNodeId:Ct,getWardleyData:St,clear:Mt,setAccTitle:N,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P},Rt=["Genesis","Custom Built","Product","Commodity"],Ot=t(()=>{let{themeVariables:a}=d();return{backgroundColor:a.wardley?.backgroundColor??a.background??"#fff",axisColor:a.wardley?.axisColor??"#000",axisTextColor:a.wardley?.axisTextColor??a.primaryTextColor??"#222",gridColor:a.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:a.wardley?.componentFill??"#fff",componentStroke:a.wardley?.componentStroke??"#000",componentLabelColor:a.wardley?.componentLabelColor??a.primaryTextColor??"#222",linkStroke:a.wardley?.linkStroke??"#000",evolutionStroke:a.wardley?.evolutionStroke??"#dc3545",annotationStroke:a.wardley?.annotationStroke??"#000",annotationTextColor:a.wardley?.annotationTextColor??a.primaryTextColor??"#222",annotationFill:a.wardley?.annotationFill??a.background??"#fff"}},"getTheme"),Dt=t(()=>{let a=d()["wardley-beta"];return{width:a?.width??900,height:a?.height??600,padding:a?.padding??48,nodeRadius:a?.nodeRadius??6,nodeLabelOffset:a?.nodeLabelOffset??8,axisFontSize:a?.axisFontSize??12,labelFontSize:a?.labelFontSize??10,showGrid:a?.showGrid??!1,useMaxWidth:a?.useMaxWidth??!0}},"getConfigValues"),Gt=t((a,s,o,y)=>{i.debug(`Rendering Wardley map
|
|
2
|
-
`+a);let r=Dt(),p=Ot(),k=r.nodeRadius*1.6,T=y.db,w=T.getWardleyData(),U=T.getDiagramTitle(),W=w.size?.width??r.width,C=w.size?.height??r.height,j=J(s);j.selectAll("*").remove(),Y(j,C,W,r.useMaxWidth),j.attr("viewBox",`0 0 ${W} ${C}`);let M=j.append("g").attr("class","wardley-map"),rt=j.append("defs");rt.append("marker").attr("id",`arrow-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.evolutionStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-end-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.linkStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-start-${s}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",p.linkStroke).attr("stroke","none"),M.append("rect").attr("class","wardley-background").attr("width",W).attr("height",C).attr("fill",p.backgroundColor);let V=W-r.padding*2,_=C-r.padding*2;if(U)M.append("text").attr("class","wardley-title").attr("x",W/2).attr("y",r.padding/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(U);let H=t((e)=>r.padding+e/100*V,"projectX"),B=t((e)=>C-r.padding-e/100*_,"projectY"),K=M.append("g").attr("class","wardley-axes");K.append("line").attr("x1",r.padding).attr("x2",W-r.padding).attr("y1",C-r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1),K.append("line").attr("x1",r.padding).attr("x2",r.padding).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1);let Nt=w.axes.xLabel??"Evolution",zt=w.axes.yLabel??"Visibility";K.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",r.padding+V/2).attr("y",C-r.padding/4).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(Nt),K.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",r.padding/3).attr("y",r.padding+_/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${r.padding/3} ${r.padding+_/2})`).text(zt);let Z=w.axes.stages&&w.axes.stages.length>0?w.axes.stages:Rt;if(Z.length>0){let e=M.append("g").attr("class","wardley-stages"),l=w.axes.stageBoundaries,n=[];if(l&&l.length===Z.length){let c=0;l.forEach((f)=>{n.push({start:c,end:f}),c=f})}else{let c=1/Z.length;Z.forEach((f,x)=>{n.push({start:x*c,end:(x+1)*c})})}Z.forEach((c,f)=>{let x=n[f],u=r.padding+x.start*V,g=r.padding+x.end*V,m=(u+g)/2;if(f>0)e.append("line").attr("x1",u).attr("x2",u).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",0.8);e.append("text").attr("class","wardley-stage-label").attr("x",m).attr("y",C-r.padding/1.5).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize-2).attr("text-anchor","middle").text(c)})}if(r.showGrid){let e=M.append("g").attr("class","wardley-grid");for(let l=1;l<4;l++){let n=l/4,c=r.padding+V*n;e.append("line").attr("x1",c).attr("x2",c).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6"),e.append("line").attr("x1",r.padding).attr("x2",W-r.padding).attr("y1",C-r.padding-_*n).attr("y2",C-r.padding-_*n).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6")}}let h=new Map;if(w.nodes.forEach((e)=>{h.set(e.id,{x:H(e.x),y:B(e.y),node:e})}),w.pipelines.length>0){let e=M.append("g").attr("class","wardley-pipelines"),l=M.append("g").attr("class","wardley-pipeline-links");w.pipelines.forEach((n)=>{if(n.componentIds.length===0)return;let c=n.componentIds.map((g)=>({id:g,pos:h.get(g),node:w.nodes.find((m)=>m.id===g)})).filter((g)=>g.pos&&g.node).sort((g,m)=>g.node.x-m.node.x);for(let g=0;g<c.length-1;g++){let m=c[g],b=c[g+1];l.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",m.pos.x).attr("y1",m.pos.y).attr("x2",b.pos.x).attr("y2",b.pos.y).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let f=1/0,x=-1/0,u=0;if(n.componentIds.forEach((g)=>{let m=h.get(g);if(m)f=Math.min(f,m.x),x=Math.max(x,m.x),u=m.y}),f!==1/0&&x!==-1/0){let m=r.nodeRadius*4,b=u-m/2,z=h.get(n.nodeId);if(z){let E=(f+x)/2;z.x=E,z.y=b-k/6}e.append("rect").attr("class","wardley-pipeline-box").attr("x",f-15).attr("y",b).attr("width",x-f+30).attr("height",m).attr("fill","none").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let st=M.append("g").attr("class","wardley-links"),it=new Map;w.pipelines.forEach((e)=>{it.set(e.nodeId,new Set(e.componentIds))});let dt=w.links.filter((e)=>{if(!h.has(e.source)||!h.has(e.target))return!1;if(it.get(e.target)?.has(e.source))return!1;return!0});st.selectAll("line").data(dt).enter().append("line").attr("class",(e)=>`wardley-link${e.dashed?" wardley-link--dashed":""}`).attr("x1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.x+x/g*f}).attr("y1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.y+u/g*f}).attr("x2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.x+x/g*f}).attr("y2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.y+u/g*f}).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",(e)=>e.dashed?"6 6":null).attr("marker-end",(e)=>{if(e.flow==="forward"||e.flow==="bidirectional")return`url(#link-arrow-end-${s})`;return null}).attr("marker-start",(e)=>{if(e.flow==="backward"||e.flow==="bidirectional")return`url(#link-arrow-start-${s})`;return null}),st.selectAll("text").data(dt.filter((e)=>e.label)).enter().append("text").attr("class","wardley-link-label").attr("x",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=n.y-l.y,x=n.x-l.x,u=Math.sqrt(x*x+f*f),g=8,m=f/u;return c+m*8}).attr("y",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.y+n.y)/2,f=n.x-l.x,x=n.y-l.y,u=Math.sqrt(f*f+x*x),g=8,m=-f/u;return c+m*8}).attr("fill",p.axisTextColor).attr("font-size",r.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=(l.y+n.y)/2,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u),m=8,b=u/g,z=-x/g,E=c+b*8,tt=f+z*8,q=Math.atan2(u,x)*180/Math.PI;if(q>90||q<-90)q+=180;return`rotate(${q} ${E} ${tt})`}).text((e)=>e.label);let Lt=M.append("g").attr("class","wardley-trends"),Tt=w.trends.map((e)=>{let l=h.get(e.nodeId);if(!l)return null;let n=H(e.targetX),c=B(e.targetY),f=n-l.x,x=c-l.y,u=Math.sqrt(f*f+x*x),g=r.nodeRadius+2,m=u>g?n-f/u*g:n,b=u>g?c-x/u*g:c;return{origin:l,targetX:n,targetY:c,adjustedX2:m,adjustedY2:b}}).filter((e)=>e!==null);Lt.selectAll("line").data(Tt).enter().append("line").attr("class","wardley-trend").attr("x1",(e)=>e.origin.x).attr("y1",(e)=>e.origin.y).attr("x2",(e)=>e.adjustedX2).attr("y2",(e)=>e.adjustedY2).attr("stroke",p.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${s})`);let X=M.append("g").attr("class","wardley-nodes").selectAll("g").data(w.nodes).enter().append("g").attr("class",(e)=>["wardley-node",e.className?`wardley-node--${e.className}`:""].filter(Boolean).join(" "));X.filter((e)=>e.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#666").attr("stroke",p.componentStroke).attr("stroke-width",1),X.filter((e)=>e.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#ccc").attr("stroke",p.componentStroke).attr("stroke-width",1),X.filter((e)=>e.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let F=X.filter((e)=>e.sourceStrategy==="market");F.append("circle").attr("class","wardley-market-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),X.filter((e)=>!e.isPipelineParent&&e.sourceStrategy!=="market"&&e.className!=="anchor").append("circle").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1);let ot=r.nodeRadius*0.7,S=r.nodeRadius*1.2;if(F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x).attr("y1",(e)=>h.get(e.id).y-S).attr("x2",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x).attr("y2",(e)=>h.get(e.id).y-S).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y-S).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),X.filter((e)=>e.isPipelineParent===!0).append("rect").attr("x",(e)=>h.get(e.id).x-k/2).attr("y",(e)=>h.get(e.id).y-k/2).attr("width",k).attr("height",k).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1),X.filter((e)=>e.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y-n/2}).attr("x2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y+n/2}).attr("stroke",p.componentStroke).attr("stroke-width",6),X.append("text").attr("x",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetX!==void 0?l.x+e.labelOffsetX:l.x;let n=r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetX===void 0)n+=10;let c=e.labelOffsetX??n;return l.x+c}).attr("y",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetY!==void 0?l.y+e.labelOffsetY:l.y-3;let n=-r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetY===void 0)n-=10;let c=e.labelOffsetY??n;return l.y+c}).attr("class","wardley-node-label").attr("fill",(e)=>{if(e.className==="evolved")return p.evolutionStroke;if(e.className==="anchor")return"#000";return p.componentLabelColor}).attr("font-size",r.labelFontSize).attr("font-weight",(e)=>e.className==="anchor"?"bold":"normal").attr("text-anchor",(e)=>e.className==="anchor"?"middle":"start").attr("dominant-baseline",(e)=>e.className==="anchor"?"middle":"auto").text((e)=>e.label),w.annotations.length>0){let e=M.append("g").attr("class","wardley-annotations");if(w.annotations.forEach((l)=>{let n=l.coordinates.map((c)=>({x:H(c.x),y:B(c.y)}));if(n.length>1)for(let c=0;c<n.length-1;c++)e.append("line").attr("class","wardley-annotation-line").attr("x1",n[c].x).attr("y1",n[c].y).attr("x2",n[c+1].x).attr("y2",n[c+1].y).attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach((c)=>{let f=e.append("g").attr("class","wardley-annotation");f.append("circle").attr("cx",c.x).attr("cy",c.y).attr("r",10).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5),f.append("text").attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.number)})}),w.annotationsBox){let l=H(w.annotationsBox.x),n=B(w.annotationsBox.y),c=10,f=16,x=11,u=e.append("g").attr("class","wardley-annotations-box"),g=[...w.annotations].filter((b)=>b.text).sort((b,z)=>b.number-z.number),m=[];if(g.forEach((b,z)=>{let E=u.append("text").attr("x",l+c).attr("y",n+c+(z+1)*f).attr("font-size",x).attr("fill",p.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${b.number}. ${b.text}`);m.push(E)}),m.length>0){let b=0,z=0;m.forEach((nt)=>{let et=nt.node(),Et=et.getComputedTextLength();b=Math.max(b,Et);let Ht=et.getBBox();z=Math.max(z,Ht.height)});let E=b+c*2+105,tt=g.length*f+c*2+z/2,q=r.padding,Wt=W-r.padding-E,At=r.padding,Xt=C-r.padding-tt;l=Math.max(q,Math.min(l,Wt)),n=Math.max(At,Math.min(n,Xt)),m.forEach((nt,et)=>{nt.attr("x",l+c).attr("y",n+c+(et+1)*f)}),u.insert("rect","text").attr("x",l).attr("y",n).attr("width",E).attr("height",tt).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(w.notes.length>0){let e=M.append("g").attr("class","wardley-notes");w.notes.forEach((l)=>{let n=H(l.x),c=B(l.y);e.append("text").attr("x",n).attr("y",c).attr("text-anchor","start").attr("font-size",11).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.text)})}if(w.accelerators.length>0){let e=M.append("g").attr("class","wardley-accelerators");w.accelerators.forEach((l)=>{let n=H(l.x),c=B(l.y),f=60,x=30,u=20,g=`
|
|
3
|
-
M ${n} ${c-15}
|
|
4
|
-
L ${n+60-20} ${c-15}
|
|
5
|
-
L ${n+60-20} ${c-15-8}
|
|
6
|
-
L ${n+60} ${c}
|
|
7
|
-
L ${n+60-20} ${c+15+8}
|
|
8
|
-
L ${n+60-20} ${c+15}
|
|
9
|
-
L ${n} ${c+15}
|
|
10
|
-
Z
|
|
11
|
-
`;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}if(w.deaccelerators.length>0){let e=M.append("g").attr("class","wardley-deaccelerators");w.deaccelerators.forEach((l)=>{let n=H(l.x),c=B(l.y),f=60,x=30,u=20,g=`
|
|
12
|
-
M ${n+60} ${c-15}
|
|
13
|
-
L ${n+20} ${c-15}
|
|
14
|
-
L ${n+20} ${c-15-8}
|
|
15
|
-
L ${n} ${c}
|
|
16
|
-
L ${n+20} ${c+15+8}
|
|
17
|
-
L ${n+20} ${c+15}
|
|
18
|
-
L ${n+60} ${c+15}
|
|
19
|
-
Z
|
|
20
|
-
`;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}},"draw"),qt={draw:Gt},jt=t(({wardley:a}={})=>{let s=Ye(),o=A(),y=Q(s,o.themeVariables),r=Q(y.wardley,a);return`
|
|
21
|
-
.wardley-background {
|
|
22
|
-
fill: ${r.backgroundColor};
|
|
23
|
-
}
|
|
24
|
-
.wardley-axes line, .wardley-axes path {
|
|
25
|
-
stroke: ${r.axisColor};
|
|
26
|
-
}
|
|
27
|
-
.wardley-axis-label {
|
|
28
|
-
fill: ${r.axisTextColor};
|
|
29
|
-
}
|
|
30
|
-
.wardley-stage-label {
|
|
31
|
-
fill: ${r.axisTextColor};
|
|
32
|
-
}
|
|
33
|
-
.wardley-grid line {
|
|
34
|
-
stroke: ${r.gridColor};
|
|
35
|
-
}
|
|
36
|
-
.wardley-node circle {
|
|
37
|
-
fill: ${r.componentFill};
|
|
38
|
-
stroke: ${r.componentStroke};
|
|
39
|
-
}
|
|
40
|
-
.wardley-node-label {
|
|
41
|
-
fill: ${r.componentLabelColor};
|
|
42
|
-
}
|
|
43
|
-
.wardley-link {
|
|
44
|
-
stroke: ${r.linkStroke};
|
|
45
|
-
}
|
|
46
|
-
.wardley-link--dashed {
|
|
47
|
-
stroke-dasharray: 4 4;
|
|
48
|
-
}
|
|
49
|
-
.wardley-link-label {
|
|
50
|
-
fill: ${r.axisTextColor};
|
|
51
|
-
}
|
|
52
|
-
.wardley-trend line {
|
|
53
|
-
stroke: ${r.evolutionStroke};
|
|
54
|
-
}
|
|
55
|
-
.wardley-annotation-line {
|
|
56
|
-
stroke: ${r.annotationStroke};
|
|
57
|
-
}
|
|
58
|
-
.wardley-annotation circle {
|
|
59
|
-
fill: ${r.annotationFill};
|
|
60
|
-
stroke: ${r.annotationStroke};
|
|
61
|
-
}
|
|
62
|
-
.wardley-annotation text {
|
|
63
|
-
fill: ${r.annotationTextColor};
|
|
64
|
-
}
|
|
65
|
-
.wardley-annotations-box rect {
|
|
66
|
-
fill: ${r.annotationFill};
|
|
67
|
-
stroke: ${r.annotationStroke};
|
|
68
|
-
}
|
|
69
|
-
.wardley-annotations-box text {
|
|
70
|
-
fill: ${r.annotationTextColor};
|
|
71
|
-
}
|
|
72
|
-
.wardley-pipeline-box {
|
|
73
|
-
stroke: ${r.componentStroke};
|
|
74
|
-
}
|
|
75
|
-
.wardley-notes text {
|
|
76
|
-
fill: ${r.axisTextColor};
|
|
77
|
-
}
|
|
78
|
-
`},"styles"),ee={parser:ct,db:Ft,renderer:qt,styles:jt};export{ee as diagram};
|
package/web/chunk-00wh99xz.js.br
DELETED
|
Binary file
|
package/web/chunk-00wh99xz.js.gz
DELETED
|
Binary file
|
package/web/chunk-0a1t2j8h.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,m,e,n,y,l,xe,or,ie}from"./chunk-g5b4wjwp.js";var g=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]],s=l("chart-spline",g);function Si(t){let o=y();o.useTheme();let[u,d]=a("preview"),r=t.streaming&&!t.rendered,c=!t.streaming&&!t.rendered&&Boolean(t.error),i=u==="code"||r;return n(o.Panel,{"aria-label":t.title,"data-render-pending":t.pending&&!c?"true":void 0,className:"group/graph relative my-4 font-sans not-italic first:mt-0 last:mb-0",children:[e("div",{role:"toolbar","aria-label":`${t.title}操作`,className:r?"absolute top-2 right-2 z-10 flex items-center":o.style("surface.toolbarFloating","absolute top-2 right-2 z-10 opacity-0 transition-opacity duration-150 group-hover/graph:opacity-100 focus-within:opacity-100 [@media(hover:none)]:opacity-70"),children:r?n("span",{className:o.style("control.badge","gap-1.5 rounded-full px-2 py-0.5 text-[11px]"),children:[e(ie,{className:"size-3 animate-spin"}),"生成",t.title]}):n(m,{children:[e("button",{type:"button","aria-label":i?"查看图表":"查看代码",title:i?"查看图表":"查看代码",onClick:()=>d(i?"preview":"code"),className:"flex size-6 items-center justify-center rounded-md text-dim hover:bg-raised hover:text-ink [&_svg]:size-3.5",children:i?e(s,{}):e(or,{})}),e(o.CopyButton,{text:t.code,size:"icon-sm",label:"复制代码"})]})}),i&&e(o.Code,{code:t.code,lang:t.codeLang,className:"px-4 py-3"}),c&&!i&&n("div",{role:"alert",className:"flex flex-col items-center gap-2 px-4 py-8 text-center",children:[e(xe,{className:"size-5 text-warning"}),e("p",{className:"max-w-full text-xs break-words text-dim",children:t.error}),e("button",{type:"button",onClick:()=>d("code"),className:"text-xs text-accent-strong underline underline-offset-2",children:"查看代码"})]}),e("div",{hidden:i||c,children:t.children})]})}
|
|
2
|
-
export{Si};
|
package/web/chunk-0a1t2j8h.js.br
DELETED
|
Binary file
|
package/web/chunk-0a1t2j8h.js.gz
DELETED
|
Binary file
|
package/web/chunk-0g9ycv0h.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function gt(t){if(!Number.isFinite(t)||t<=0)return"0";if(t<1000)return Math.round(t).toString();if(t<1e6)return`${(t/1000).toFixed(1)}K`;if(t<1e9)return`${(t/1e6).toFixed(2)}M`;return`${(t/1e9).toFixed(2)}B`}function Gn(t){let r=Number.isFinite(t)?Math.max(0,t):0;return Math.round(r).toLocaleString("en-US")}function Tt(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.floor(t/1000)}s`;if(t<3600000){let e=Math.floor(t/1000),i=Math.floor(e/60),u=e%60;return u>0?`${i}m ${u}s`:`${i}m`}if(t<259200000){let e=Math.floor(t/60000),i=Math.floor(e/60),u=e%60;return u>0?`${i}h ${u}m`:`${i}h`}let r=Math.floor(t/3600000),n=Math.floor(r/24),o=r%24;return o>0?`${n}d ${o}h`:`${n}d`}function pc(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.round(t/1000)}s`;if(t<3600000)return`${Math.round(t/60000)}m`;if(t<86400000){let o=t/3600000;return`${o>=10?Math.round(o).toString():o.toFixed(1).replace(/\.0$/,"")}h`}let r=t/86400000;return`${r>=10?Math.round(r).toString():r.toFixed(1).replace(/\.0$/,"")}d`}function Wn(t,r=1){if(!Number.isFinite(t)||t<=0)return"0%";let n=10**-r/100;if(t<n)return`<${(n*100).toFixed(r)}%`;return`${(t*100).toFixed(r)}%`}function Pa(t){if(!Number.isFinite(t)||t<=0)return"0 B";if(t<1024)return`${Math.round(t)} B`;if(t<1048576)return`${(t/1024).toFixed(1)} KB`;if(t<1073741824)return`${(t/1048576).toFixed(2)} MB`;return`${(t/1073741824).toFixed(2)} GB`}function Ci(t){let r=t.split("-"),n=r[1],o=r[2];if(n!==void 0&&o!==void 0)return`${n}/${o}`;return t}function Fs(t){let r=t.split("-"),n=r[0],o=r[1],e=r[2];if(n===void 0||o===void 0||e===void 0)return t;let i=Number(n),u=Number(o)-1,a=Number(e),f=new Date(Date.UTC(i,u,a)),c=["周日","周一","周二","周三","周四","周五","周六"],d=f.getUTCDay(),_=c[d]??"";return`${t} ${_}`}function uc(t,r=Date.now()){if(t===null||t===void 0||!Number.isFinite(t)||t<=0)return"从未";let n=Math.max(0,r-t);if(n<60000)return"刚刚";if(n<3600000)return`${Math.max(1,Math.floor(n/60000))} 分钟前`;if(n<86400000)return`${Math.max(1,Math.floor(n/3600000))} 小时前`;if(n<2592000000)return`${Math.max(1,Math.floor(n/86400000))} 天前`;let o=new Date(t),e=o.getFullYear(),i=String(o.getMonth()+1).padStart(2,"0"),u=String(o.getDate()).padStart(2,"0");return`${e}-${i}-${u}`}
|
|
2
|
-
export{gt,Gn,Tt,pc,Wn,Pa,Ci,Fs,uc};
|
package/web/chunk-0g9ycv0h.js.br
DELETED
|
Binary file
|
package/web/chunk-0g9ycv0h.js.gz
DELETED
|
Binary file
|
package/web/chunk-1ar2phwa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ee,e,n,y}from"./chunk-g5b4wjwp.js";import{Vn,Jr}from"./chunk-pe2zvyjt.js";import"./chunk-7qcmg5ns.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=y(),r=ee(),t=Jr({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(Vn,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
|
package/web/chunk-1ar2phwa.js.br
DELETED
|
Binary file
|
package/web/chunk-1ar2phwa.js.gz
DELETED
|
Binary file
|
package/web/chunk-1jfydncj.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{ae}from"./chunk-z9nj64n7.js";import{t,i,Ye,F,A,Y,L,N,R,P,I,O,D,g,J,Pi,E,Q}from"./chunk-qzb06me8.js";import{Pn}from"./chunk-5a80hcah.js";import{he}from"./chunk-y5f7gy03.js";import{zt}from"./chunk-ef0wf92p.js";import{Re}from"./chunk-ry1wp3v8.js";function Xe(e){var r=0,n=e.children,l=n&&n.length;if(!l)r=1;else while(--l>=0)r+=n[l].value;e.value=r}function me(){return this.eachAfter(Xe)}function ge(e,r){let n=-1;for(let l of this)e.call(r,l,++n,this);return this}function ye(e,r){var n=this,l=[n],o,p,u=-1;while(n=l.pop())if(e.call(r,n,++u,this),o=n.children)for(p=o.length-1;p>=0;--p)l.push(o[p]);return this}function xe(e,r){var n=this,l=[n],o=[],p,u,f,S=-1;while(n=l.pop())if(o.push(n),p=n.children)for(u=0,f=p.length;u<f;++u)l.push(p[u]);while(n=o.pop())e.call(r,n,++S,this);return this}function Se(e,r){let n=-1;for(let l of this)if(e.call(r,l,++n,this))return l}function ve(e){return this.eachAfter(function(r){var n=+e(r.data)||0,l=r.children,o=l&&l.length;while(--o>=0)n+=l[o].value;r.value=n})}function be(e){return this.eachBefore(function(r){if(r.children)r.children.sort(e)})}function we(e){var r=this,n=je(r,e),l=[r];while(r!==n)r=r.parent,l.push(r);var o=l.length;while(e!==n)l.splice(o,0,e),e=e.parent;return l}function je(e,r){if(e===r)return e;var n=e.ancestors(),l=r.ancestors(),o=null;e=n.pop(),r=l.pop();while(e===r)o=e,e=n.pop(),r=l.pop();return o}function Ce(){var e=this,r=[e];while(e=e.parent)r.push(e);return r}function Te(){return Array.from(this)}function Le(){var e=[];return this.eachBefore(function(r){if(!r.children)e.push(r)}),e}function $e(){var e=this,r=[];return e.each(function(n){if(n!==e)r.push({source:n.parent,target:n})}),r}function*Ae(){var e=this,r,n=[e],l,o,p;do{r=n.reverse(),n=[];while(e=r.pop())if(yield e,l=e.children)for(o=0,p=l.length;o<p;++o)n.push(l[o])}while(n.length)}function te(e,r){if(e instanceof Map){if(e=[void 0,e],r===void 0)r=Je}else if(r===void 0)r=Ue;var n=new se(e),l,o=[n],p,u,f,S;while(l=o.pop())if((u=r(l.data))&&(S=(u=Array.from(u)).length)){l.children=u;for(f=S-1;f>=0;--f)o.push(p=u[f]=new se(u[f])),p.parent=l,p.depth=l.depth+1}return n.eachBefore(Qe)}function Ze(){return te(this).eachBefore(Ke)}function Ue(e){return e.children}function Je(e){return Array.isArray(e)?e[1]:null}function Ke(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function Qe(e){var r=0;do e.height=r;while((e=e.parent)&&e.height<++r)}function se(e){this.data=e,this.depth=this.height=0,this.parent=null}se.prototype=te.prototype={constructor:se,count:me,each:ge,eachAfter:xe,eachBefore:ye,find:Se,sum:ve,sort:be,path:we,ancestors:Ce,descendants:Te,leaves:Le,links:$e,copy:Ze,[Symbol.iterator]:Ae};function Ve(e){if(typeof e!=="function")throw Error();return e}function re(){return 0}function Z(e){return function(){return e}}function Fe(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Ne(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(l-r)/e.value;while(++f<S)u=p[f],u.y0=n,u.y1=o,u.x0=r,u.x1=r+=u.value*d}function ke(e,r,n,l,o){var p=e.children,u,f=-1,S=p.length,d=e.value&&(o-n)/e.value;while(++f<S)u=p[f],u.x0=r,u.x1=l,u.y0=n,u.y1=n+=u.value*d}var et=(1+Math.sqrt(5))/2;function tt(e,r,n,l,o,p){var u=[],f=r.children,S,d,h=0,T=0,s=f.length,C,b,w=r.value,m,v,H,B,U,le,q;while(h<s){C=o-n,b=p-l;do m=f[T++].value;while(!m&&T<s);v=H=m,le=Math.max(b/C,C/b)/(w*e),q=m*m*le,U=Math.max(H/q,q/v);for(;T<s;++T){if(m+=d=f[T].value,d<v)v=d;if(d>H)H=d;if(q=m*m*le,B=Math.max(H/q,q/v),B>U){m-=d;break}U=B}if(u.push(S={value:m,dice:C<b,children:f.slice(h,T)}),S.dice)Ne(S,n,l,o,w?l+=b*m/w:p);else ke(S,n,l,w?n+=C*m/w:o,p);w-=m,h=T}return u}var Pe=function e(r){function n(l,o,p,u,f){tt(r,l,o,p,u,f)}return n.ratio=function(l){return e((l=+l)>1?l:1)},n}(et);function de(){var e=Pe,r=!1,n=1,l=1,o=[0],p=re,u=re,f=re,S=re,d=re;function h(s){if(s.x0=s.y0=0,s.x1=n,s.y1=l,s.eachBefore(T),o=[0],r)s.eachBefore(Fe);return s}function T(s){var C=o[s.depth],b=s.x0+C,w=s.y0+C,m=s.x1-C,v=s.y1-C;if(m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;if(s.x0=b,s.y0=w,s.x1=m,s.y1=v,s.children){if(C=o[s.depth+1]=p(s)/2,b+=d(s)-C,w+=u(s)-C,m-=f(s)-C,v-=S(s)-C,m<b)b=m=(b+m)/2;if(v<w)w=v=(w+v)/2;e(s,b,w,m,v)}}return h.round=function(s){return arguments.length?(r=!!s,h):r},h.size=function(s){return arguments.length?(n=+s[0],l=+s[1],h):[n,l]},h.tile=function(s){return arguments.length?(e=Ve(s),h):e},h.padding=function(s){return arguments.length?h.paddingInner(s).paddingOuter(s):h.paddingInner()},h.paddingInner=function(s){return arguments.length?(p=typeof s==="function"?s:Z(+s),h):p},h.paddingOuter=function(s){return arguments.length?h.paddingTop(s).paddingRight(s).paddingBottom(s).paddingLeft(s):h.paddingTop()},h.paddingTop=function(s){return arguments.length?(u=typeof s==="function"?s:Z(+s),h):u},h.paddingRight=function(s){return arguments.length?(f=typeof s==="function"?s:Z(+s),h):f},h.paddingBottom=function(s){return arguments.length?(S=typeof s==="function"?s:Z(+s),h):S},h.paddingLeft=function(s){return arguments.length?(d=typeof s==="function"?s:Z(+s),h):d},h}var Be=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=N,this.getAccTitle=R,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=P}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=F,r=A();return Q({...e.treemap,...r.treemap??{}})}addNode(e,r){if(this.nodes.push(e),this.levels.set(e,r),r===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},l=r.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(l)l.forEach((o)=>{if(Pi(o))if(n?.textStyles)n.textStyles.push(o);else n.textStyles=[o];if(n?.styles)n.styles.push(o);else n.styles=[o]});this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){L(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function Ee(e){if(!e.length)return[];let r=[],n=[];return e.forEach((l)=>{let o={name:l.name,children:l.type==="Leaf"?void 0:[]};if(o.classSelector=l?.classSelector,l?.cssCompiledStyles)o.cssCompiledStyles=l.cssCompiledStyles;if(l.type==="Leaf"&&l.value!==void 0)o.value=l.value;while(n.length>0&&n[n.length-1].level>=l.level)n.pop();if(n.length===0)r.push(o);else{let p=n[n.length-1].node;if(p.children)p.children.push(o);else p.children=[o]}if(l.type!=="Leaf")n.push({node:o,level:l.level})}),r}t(Ee,"buildHierarchy");var at=t((e,r)=>{ae(e,r);let n=[];for(let p of e.TreemapRows??[])if(p.$type==="ClassDefStatement")r.addClass(p.className??"",p.styleText??"");for(let p of e.TreemapRows??[]){let u=p.item;if(!u)continue;let f=p.indent?parseInt(p.indent):0,S=rt(u),d=u.classSelector?r.getStylesForClass(u.classSelector):[],h=d.length>0?d:void 0,T={level:f,name:S,type:u.$type,value:u.value,classSelector:u.classSelector,cssCompiledStyles:h};n.push(T)}let l=Ee(n),o=t((p,u)=>{for(let f of p)if(r.addNode(f,u),f.children&&f.children.length>0)o(f.children,u+1)},"addNodesRecursively");o(l,0)},"populate"),rt=t((e)=>e.name?String(e.name):"","getItemName"),We={parser:{yy:void 0},parse:t(async(e)=>{try{let n=await he("treemap",e);i.debug("Treemap AST:",n);let l=We.parser?.yy;if(!(l instanceof Be))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");at(n,l)}catch(r){throw i.error("Error parsing treemap:",r),r}},"parse")},nt=10,ne=10,ie=25,lt=t((e,r,n,l)=>{let o=l.db,p=o.getConfig(),u=p.padding??nt,f=o.getDiagramTitle(),S=o.getRoot(),{themeVariables:d}=A();if(!S)return;let h=f?30:0,T=J(r),s=p.nodeWidth?p.nodeWidth*ne:960,C=p.nodeHeight?p.nodeHeight*ne:500,b=s,w=C+h;T.attr("viewBox",`0 0 ${b} ${w}`),Y(T,w,b,p.useMaxWidth);let m;try{let a=p.valueFormat||",";if(a==="$0,0")m=t((c)=>"$"+Pn(",")(c),"valueFormat");else if(a.startsWith("$")&&a.includes(",")){let c=/\.\d+/.exec(a),y=c?c[0]:"";m=t((k)=>"$"+Pn(","+y)(k),"valueFormat")}else if(a.startsWith("$")){let c=a.substring(1);m=t((y)=>"$"+Pn(c||"")(y),"valueFormat")}else m=Pn(a)}catch(a){i.error("Error creating format function:",a),m=Pn(",")}let v=zt().range(["transparent",d.cScale0,d.cScale1,d.cScale2,d.cScale3,d.cScale4,d.cScale5,d.cScale6,d.cScale7,d.cScale8,d.cScale9,d.cScale10,d.cScale11]),H=zt().range(["transparent",d.cScalePeer0,d.cScalePeer1,d.cScalePeer2,d.cScalePeer3,d.cScalePeer4,d.cScalePeer5,d.cScalePeer6,d.cScalePeer7,d.cScalePeer8,d.cScalePeer9,d.cScalePeer10,d.cScalePeer11]),B=zt().range([d.cScaleLabel0,d.cScaleLabel1,d.cScaleLabel2,d.cScaleLabel3,d.cScaleLabel4,d.cScaleLabel5,d.cScaleLabel6,d.cScaleLabel7,d.cScaleLabel8,d.cScaleLabel9,d.cScaleLabel10,d.cScaleLabel11]);if(f)T.append("text").attr("x",b/2).attr("y",h/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(f);let U=T.append("g").attr("transform",`translate(0, ${h})`).attr("class","treemapContainer"),le=te(S).sum((a)=>a.value??0).sort((a,c)=>(c.value??0)-(a.value??0)),Me=de().size([s,C]).paddingTop((a)=>a.children&&a.children.length>0?ie+ne:0).paddingInner(u).paddingLeft((a)=>a.children&&a.children.length>0?ne:0).paddingRight((a)=>a.children&&a.children.length>0?ne:0).paddingBottom((a)=>a.children&&a.children.length>0?ne:0).round(!0)(le),He=Me.descendants().filter((a)=>a.children&&a.children.length>0),oe=U.selectAll(".treemapSection").data(He).enter().append("g").attr("class","treemapSection").attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",ie).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(a)=>{if(a.depth===0)return"display: none;";return""}),oe.append("clipPath").attr("id",(a,c)=>`clip-section-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-12)).attr("height",ie),oe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class",(a,c)=>`treemapSection section${c}`).attr("fill",(a)=>v(a.data.name)).attr("fill-opacity",0.6).attr("stroke",(a)=>H(a.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c=E({cssCompiledStyles:a.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),oe.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",ie/2).attr("dominant-baseline","middle").text((a)=>a.depth===0?"":a.data.name).attr("font-weight","bold").attr("clip-path",(a,c)=>`url(#clip-section-${r}-${c})`).attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(a){if(a.depth===0)return;let c=g(this),y=a.data.name;c.text(y);let k=a.x1-a.x0,_=6,M;if(p.showValues!==!1&&a.value){let V=k-10,j=30,qe=10;M=V-30-10-_}else M=k-_-6;let x=Math.max(15,M),X=c.node();if(X.getComputedTextLength()>x){let j=y;while(j.length>0){if(j=y.substring(0,j.length-1),j.length===0){if(c.text("..."),X.getComputedTextLength()>x)c.text("");break}if(c.text(j+"..."),X.getComputedTextLength()<=x)break}}}),p.showValues!==!1)oe.append("text").attr("class","treemapSectionValue").attr("x",(a)=>a.x1-a.x0-10).attr("y",ie/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((a)=>a.value?m(a.value):"").attr("font-style","italic").attr("style",(a)=>{if(a.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+B(a.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let _e=Me.leaves(),W=_e.length>20,Ie=W?16:38,ce=W?14:28,K=W?4:8,ee=W?4:6,ue=W?2:4,ze=W?8:10,fe=W?1:2,pe=U.selectAll(".treemapLeafGroup").data(_e).enter().append("g").attr("class",(a,c)=>`treemapNode treemapLeafGroup leaf${c}${a.data.classSelector?` ${a.data.classSelector}`:""}x`).attr("transform",(a)=>`translate(${a.x0},${a.y0})`);if(pe.append("rect").attr("width",(a)=>a.x1-a.x0).attr("height",(a)=>a.y1-a.y0).attr("class","treemapLeaf").attr("fill",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("style",(a)=>E({cssCompiledStyles:a.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(a)=>a.parent?v(a.parent.data.name):v(a.data.name)).attr("stroke-width",3),pe.append("clipPath").attr("id",(a,c)=>`clip-${r}-${c}`).append("rect").attr("width",(a)=>Math.max(0,a.x1-a.x0-4)).attr("height",(a)=>Math.max(0,a.y1-a.y0-4)),pe.append("text").attr("class","treemapLabel").attr("x",(a)=>(a.x1-a.x0)/2).attr("y",(a)=>(a.y1-a.y0)/2).attr("style",(a)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Ie}px;fill:`+B(a.data.name)+";",y=E({cssCompiledStyles:a.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(a,c)=>`url(#clip-${r}-${c})`).text((a)=>a.data.name).each(function(a){let c=g(this),y=a.x1-a.x0,k=a.y1-a.y0,_=c.node(),M=y-2*ue,G=k-2*ue;if(M<ze||G<ze){c.style("display","none");return}let x=parseInt(c.style("font-size"),10),X=0.6;while(_.getComputedTextLength()>M&&x>K)x--,c.style("font-size",`${x}px`);let z=Math.max(ee,Math.min(ce,Math.round(x*X))),V=x+fe+z;while(V>G&&x>K){if(x--,z=Math.max(ee,Math.min(ce,Math.round(x*X))),z<ee&&x===K)break;if(c.style("font-size",`${x}px`),V=x+fe+z,z<=ee&&V>G);}if(c.style("font-size",`${x}px`),W){if(x<K||G<K)c.style("display","none")}else if(_.getComputedTextLength()>M||x<K||G<x)c.style("display","none")}),p.showValues!==!1)pe.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${ce}px;fill:`+B(c.data.name)+";",k=E({cssCompiledStyles:c.data.cssCompiledStyles});return y+k.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${r}-${y})`).text((c)=>c.value?m(c.value):"").each(function(c){let y=g(this),k=this.parentNode;if(!k){y.style("display","none");return}let _=g(k).select(".treemapLabel");if(_.empty()||_.style("display")==="none"){y.style("display","none");return}let M=parseFloat(_.style("font-size")),x=Math.max(ee,Math.min(ce,Math.round(M*0.6)));y.style("font-size",`${x}px`);let z=(c.y1-c.y0)/2+M/2+fe;y.attr("y",z);let V=c.x1-c.x0,De=c.y1-c.y0-4,Ge=V-2*ue;if(y.node().getComputedTextLength()>Ge||z+x>De||x<ee)y.style("display","none");else y.style("display",null)});let Oe=p.diagramPadding??8;Re(T,Oe,"flowchart",p?.useMaxWidth||!1)},"draw"),ot=t(function(e,r){return r.db.getClasses()},"getClasses"),st={draw:lt,getClasses:ot},it={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ct=t(({treemap:e}={})=>{let r=Ye(),n=A(),l=Q(r,n.themeVariables),o=Q(it,e),p=o.titleColor??l.titleColor,u=o.labelColor??l.textColor,f=o.valueColor??l.textColor;return`
|
|
2
|
-
.treemapNode.section {
|
|
3
|
-
stroke: ${o.sectionStrokeColor};
|
|
4
|
-
stroke-width: ${o.sectionStrokeWidth};
|
|
5
|
-
fill: ${o.sectionFillColor};
|
|
6
|
-
}
|
|
7
|
-
.treemapNode.leaf {
|
|
8
|
-
stroke: ${o.leafStrokeColor};
|
|
9
|
-
stroke-width: ${o.leafStrokeWidth};
|
|
10
|
-
fill: ${o.leafFillColor};
|
|
11
|
-
}
|
|
12
|
-
.treemapLabel {
|
|
13
|
-
fill: ${u};
|
|
14
|
-
font-size: ${o.labelFontSize};
|
|
15
|
-
}
|
|
16
|
-
.treemapValue {
|
|
17
|
-
fill: ${f};
|
|
18
|
-
font-size: ${o.valueFontSize};
|
|
19
|
-
}
|
|
20
|
-
.treemapTitle {
|
|
21
|
-
fill: ${p};
|
|
22
|
-
font-size: ${o.titleFontSize};
|
|
23
|
-
}
|
|
24
|
-
`},"getStyles"),pt=ct,ua={parser:We,get db(){return new Be},renderer:st,styles:pt};export{ua as diagram};
|
package/web/chunk-1jfydncj.js.br
DELETED
|
Binary file
|
package/web/chunk-1jfydncj.js.gz
DELETED
|
Binary file
|
package/web/chunk-1p1jtvrt.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t,i,A,d,H,j,_n,wn,Nc,dn,rr,Mc,pa,dt,Pc,tc,kn,nc,ar,da}from"./chunk-qzb06me8.js";import{_e}from"./chunk-25rf3svt.js";import{S}from"./chunk-g5b4wjwp.js";function no(e,{edgePathsClass:r="edges edgePaths"}={}){let n=e.insert("g").attr("class","root"),o=n.insert("g").attr("class","clusters"),s=n.insert("g").attr("class",r),a=n.insert("g").attr("class","edgeLabels"),l=n.insert("g").attr("class","nodes");return{clusters:o,edgePaths:s,edgeLabels:a,nodes:l,rootGroups:n}}t(no,"createLayoutElementGroups");async function L(e,r,n){if(r.label){let{shapeSvg:o,bbox:s}=await j(e,n===void 0?r:{...r,width:n});r.labelBBox={width:s.width,height:s.height},o.remove()}else r.labelBBox={width:0,height:0}}t(L,"measureGroupLabel");async function ro(e,r,n){let o=await wn(e,r,n),s=o.node()?.getBBox()??{width:0,height:0};return r.width=s.width,r.height=s.height,o}t(ro,"insertMeasuredNode");function x(e,r,n){let o=e,s=new Set;while(o){if(o.dir)return o.dir;if(!o.parentId||s.has(o.parentId))break;s.add(o.parentId),o=r.get(o.parentId)}return n}t(x,"resolveNodeDir");async function D(e,r,n={}){let o=new _e({multigraph:!0,compound:!0}),s=[...r.edges],a=d(),l=no(e),{edgeLabels:f,nodes:c}=l,g=new Map,b=new Map(r.nodes.map((u)=>[u.id,u])),E=r.direction,h=e.node()!=null;await Promise.all(r.nodes.map(async(u)=>{if(u.isGroup){if(h){let w=n.unwrapGroupLabels&&u.labelType!=="markdown";await L(c,u,w?Number.POSITIVE_INFINITY:void 0)}o.setNode(u.id,{...u})}else{if(h){let w=await ro(c,u,{config:a,dir:x(u,b,E)});g.set(u.id,w)}o.setNode(u.id,{...u})}}));for(let u of s){if(h&&tc(u))await kn(f,u);if(o.setEdge(u.start,u.end,{...u},u.id),!r.edges.some((v)=>v.id===u.id))r.edges.push(u)}if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:u}=await (S("gxqs7zmy"),import("./chunk-gxqs7zmy.js"));u(e,r)}return{graph:o,groups:l,nodeElements:g}}t(D,"createGraphWithElements");var ne=new Map,m=new Map,k=new Map,Q=t(()=>{m.clear(),k.clear(),ne.clear()},"clear"),p=t((e,r)=>{let n=m.get(r)||[];return i.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),U=t((e,r)=>{let n=m.get(r)||[];if(i.info("Descendants of ",r," is ",n),i.info("Edge is ",e),e.v===r||e.w===r)return!1;if(!n)return i.debug("Tilt, ",r,",not in descendants"),!1;return n.includes(e.v)||p(e.v,r)||p(e.w,r)||n.includes(e.w)},"edgeInCluster"),R=t((e,r,n,o)=>{i.debug("Copying children of ",e,"root",o,"data",r.node(e),o);let s=r.children(e)||[];if(e!==o)s.push(e);i.debug("Copying (nodes) clusterId",e,"nodes",s),s.forEach((a)=>{if(r.children(a).length>0)R(a,r,n,o);else{let l=r.node(a);if(i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,l),o!==r.parent(a))i.debug("Setting parent",a,r.parent(a)),n.setParent(a,r.parent(a));if(e!==o&&a!==e)i.debug("Setting parent",a,e),n.setParent(a,e);else i.info("In copy ",e,"root",o,"data",r.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e);let f=r.edges(a);i.debug("Copying Edges",f),f.forEach((c)=>{i.info("Edge",c);let g=r.edge(c.v,c.w,c.name);i.info("Edge data",g,o);try{if(U(c,o))i.info("Copying as ",c.v,c.w,g,c.name),n.setEdge(c.v,c.w,g,c.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else i.info("Skipping copy of edge ",c.v,"-->",c.w," rootId: ",o," clusterId:",e)}catch(b){i.error(b)}})}i.debug("Removing node",a),r.removeNode(a)})},"copy"),T=t((e,r)=>{let n=r.children(e),o=[...n];for(let s of n)k.set(s,e),o=[...o,...T(s,r)];return o},"extractDescendants"),Z=t((e,r,n)=>{let o=e.edges().filter((c)=>c.v===r||c.w===r),s=e.edges().filter((c)=>c.v===n||c.w===n),a=o.map((c)=>({v:c.v===r?n:c.v,w:c.w===r?r:c.w})),l=s.map((c)=>({v:c.v,w:c.w}));return a.filter((c)=>l.some((g)=>c.v===g.v&&c.w===g.w))},"findCommonEdges"),ta=t((e,r,n)=>{let o=r.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let s;for(let a of o){let l=ta(a,r,n),f=Z(r,n,l);if(l)if(f.length>0)s=l;else return l}return s},"findNonClusterChild"),y=t((e)=>{if(!ne.has(e))return e;if(!ne.get(e).externalConnections)return e;if(ne.has(e))return ne.get(e).id;return e},"getAnchorId"),hc=t((e,r)=>{if(!e||r>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){if(e.children(n).length>0)i.debug("Cluster identified",n," Replacement id in edges: ",ta(n,e,n)),m.set(n,T(n,e)),ne.set(n,{id:ta(n,e,n),clusterData:e.node(n)})}),e.nodes().forEach(function(n){let o=e.children(n),s=e.edges();if(o.length>0)i.debug("Cluster identified",n,m),s.forEach((a)=>{let l=p(a.v,n),f=p(a.w,n);if(l^f)i.debug("Edge: ",a," leaves cluster ",n),i.debug("Descendants of XXX ",n,": ",m.get(n)),ne.get(n).externalConnections=!0});else i.debug("Not a cluster ",n,m)});for(let n of ne.keys()){let o=ne.get(n).id,s=e.parent(o);if(s!==n&&ne.has(s)&&!ne.get(s).externalConnections)ne.get(n).id=s;let a=e.edges().some((l)=>l.v===n);if(o&&ne.get(n)?.externalConnections&&a&&M(e,o,n)){let l=I(e,n,e.parent(o));if(l)ne.get(n).id=l}}e.edges().forEach(function(n){let o=e.edge(n);i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let{v:s,w:a}=n;if(i.debug("Fix XXX",ne,"ids:",n.v,n.w,"Translating: ",ne.get(n.v)," --- ",ne.get(n.w)),ne.get(n.v)||ne.get(n.w)){if(i.debug("Fixing and trying - removing XXX",n.v,n.w,n.name),s=y(n.v),a=y(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){let l=e.parent(s);ne.get(l).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let l=e.parent(a);ne.get(l).externalConnections=!0,o.toCluster=n.w}i.debug("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,o,n.name)}}),P(e,0),i.trace(ne)},"adjustClustersAndEdges"),P=t((e,r)=>{if(r>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(let s of n){let a=e.children(s);o=o||a.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,r);for(let s of n)if(i.debug("Extracting node",s,ne,ne.has(s)&&!ne.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",r),!ne.has(s))i.debug("Not a cluster",s,r);else if(!ne.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){i.debug("Cluster without external connections, without a parent and with children",s,r);let l=e.graph().rankdir==="TB"?"LR":"TB";if(ne.get(s)?.clusterData?.dir)l=ne.get(s).clusterData.dir,i.debug("Fixing dir",ne.get(s).clusterData.dir,l);let f=new _e({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});R(s,e,f,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:ne.get(s).clusterData,label:ne.get(s).label,graph:f})}else i.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!ne.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),r),i.debug(ne);n=e.nodes(),i.debug("New list of nodes",n);for(let s of n){let a=e.node(s);if(i.debug(" Now next level",s,a),a?.clusterNode)P(a.graph,r+1)}},"extractor"),B=t((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach((o)=>{let s=e.children(o),a=B(e,s);n=[...n,...a]}),n},"sorter"),ao=t((e)=>B(e,e.children()),"sortNodesByHierarchy"),M=t((e,r,n)=>{let o=e.parent(r);while(o&&o!==n){let s=ne.get(o);if(s&&!s.externalConnections)return!0;o=e.parent(o)}return!1},"isNodeInExtractableCluster"),I=t((e,r,n)=>{let o=e.children(r)??[];for(let s of o){if(s===n||p(s,n))continue;let a=ta(s,e,r);if(!a)continue;if(!M(e,a,r))return a}return null},"findSafeAnchorNode");function Ra({prepareLayout:e,measureLayout:r,runLayoutCore:n,paintLayout:o,afterPaint:s,paintOptions:a}){let l=r??_;return t(async function(c,g,b,E){let h=g.select("g");(b?.insertMarkers??da)(h,c.markers,c.type,c.diagramId),X();let u={element:h,helpers:b,options:E};u.preparedLayout=await e?.(c,u);let w=await l(c,u),v=await n(c,u),C={...u,measure:w};if(o)await o(c,C,v);else await G(c,C,a);await s?.(c,C,v)},"render")}t(Ra,"createCommonLayoutRenderer");function X(){Nc(),Pc(),Mc(),Q()}t(X,"clearLayoutRenderState");async function _(e,{element:r},n){return await D(r,e,n)}t(_,"defaultMeasureLayout");async function G(e,r,n={}){let{measure:o}=r,{groups:s}=o;for(let l of n.getNodes?.(e,r)??e.nodes){if(n.skipNode?.(l,r))continue;await O(s,l,r,n)}let a=z(e.nodes);for(let l of e.edges){if(J(l,n))continue;await W(s,l,a,e,n,r)}}t(G,"paintLayoutData");async function O(e,r,n,o){if(r.clusterNode)dn(r);else if(F(r,n,o))await rr(e.clusters,r);else dn(r)}t(O,"paintLayoutNode");function F(e,r,n){return e.isGroup===!0&&(n.isCluster?.(e,r)??!0)}t(F,"shouldPaintAsCluster");function z(e){let r=new Map;for(let n of e)if(n?.id)r.set(n.id,n);return r}t(z,"buildNodeLookup");function J(e,r){return e.isLayoutOnly||Boolean(r.skipEdge?.(e))}t(J,"shouldSkipPaintEdge");async function W(e,r,n,o,s,a){let l=ar(e.edgePaths,{...r},s.clusterDb??new Map,o.type,N(r.start,r,n,a,s),N(r.end,r,n,a,s),o.diagramId,V(r,s),o.layoutAlgorithm);if(tc(r)){if(!pa.has(r.id))await kn(e.edgeLabels,r);Y(r,l)}}t(W,"paintLayoutEdge");function N(e,r,n,o,s){return s.getEdgeNode?.(e,r,o)??(e?n.get(e)??{}:{})}t(N,"getRenderedNode");function V(e,r){return typeof r.skipIntersect==="function"?r.skipIntersect(e):r.skipIntersect??!1}t(V,"shouldSkipIntersect");function Y(e,r){let n=r?.updatedPath??r?.originalPath,o=A(),{subGraphTitleTotalMargin:s}=_n({flowchart:o.flowchart??{}});if(e.label){let a=pa.get(e.id),{x:l,y:f}=nc(e,r);a.attr("transform",`translate(${l}, ${f+s/2})`)}for(let[a,l]of[["startLeft",e.startLabelLeft],["startRight",e.startLabelRight],["endLeft",e.endLabelLeft],["endRight",e.endLabelRight]])if(l){let{x:f,y:c}=q(e,a,n);dt.get(e.id)[a].attr("transform",`translate(${f}, ${c})`)}}t(Y,"positionRenderedEdgeLabel");var ee={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};function q(e,r,n){let o=e.terminalLabelCenters?.[r];if(o)return{...o};if(!n)return{x:e.x,y:e.y};let s=r.startsWith("start")?e.arrowTypeStart:e.arrowTypeEnd;return H.calcTerminalLabelPosition(s?10:0,ee[r],n)}t(q,"terminalLabelTranslate");
|
|
2
|
-
export{no,ro,ne,ta,hc,ao,Ra};
|
package/web/chunk-1p1jtvrt.js.br
DELETED
|
Binary file
|
package/web/chunk-1p1jtvrt.js.gz
DELETED
|
Binary file
|
package/web/chunk-1x38r11w.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rs}from"./chunk-y5f7gy03.js";export{Rs as createPieServices};
|
package/web/chunk-1x38r11w.js.br
DELETED
package/web/chunk-1x38r11w.js.gz
DELETED
|
Binary file
|
package/web/chunk-25rf3svt.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Cn}from"./chunk-g5b4wjwp.js";var X={};Cn(X,{default:()=>xn});var J={};Cn(J,{default:()=>Kn});var yr=typeof global=="object"&&global&&global.Object===Object&&global,H=yr;var _r=typeof self=="object"&&self&&self.Object===Object&&self,br=H||_r||Function("return this")(),Ve=br;var vr=Ve.Symbol,vt=vr;var bt=Object.prototype,{hasOwnProperty:Ar,toString:Tr}=bt,G=vt?vt.toStringTag:void 0;function wr(t){var e=Ar.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Tr.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var Ot=wr;var Sr=Object.prototype,Cr=Sr.toString;function Er(t){return Cr.call(t)}var At=Er;var Lr="[object Null]",jr="[object Undefined]",Tt=vt?vt.toStringTag:void 0;function Fr(t){if(t==null)return t===void 0?jr:Lr;return Tt&&Tt in Object(t)?Ot(t):At(t)}var Ut=Fr;function Br(t){return t!=null&&typeof t=="object"}var et=Br;var Gr="[object Symbol]";function Ur(t){return typeof t=="symbol"||et(t)&&Ut(t)==Gr}var on=Ur;function zr(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var Yn=zr;var Wr=Array.isArray,oe=Wr;var Kr=1/0,wt=vt?vt.prototype:void 0,St=wt?wt.toString:void 0;function Pt(t){if(typeof t=="string")return t;if(oe(t))return Yn(t,Pt)+"";if(on(t))return St?St.call(t):"";var e=t+"";return e=="0"&&1/t==-Kr?"-0":e}var Ct=Pt;function Hr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Oe=Hr;function qr(t){return t}var en=qr;var kr="[object AsyncFunction]",Yr="[object Function]",Xr="[object GeneratorFunction]",Zr="[object Proxy]";function Jr(t){if(!Oe(t))return!1;var e=Ut(t);return e==Yr||e==Xr||e==kr||e==Zr}var Xn=Jr;var Qr=Ve["__core-js_shared__"],q=Qr;var Et=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Vr(t){return!!Et&&Et in t}var It=Vr;var to=Function.prototype,eo=to.toString;function ro(t){if(t!=null){try{return eo.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var _=ro;var ao=/[\\^$.*+?()[\]{}|]/g,no=/^\[object .+?Constructor\]$/,xo=Function.prototype,_o=Object.prototype,bo=xo.toString,Oo=_o.hasOwnProperty,Ao=RegExp("^"+bo.call(Oo).replace(ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function To(t){if(!Oe(t)||It(t))return!1;var e=Xn(t)?Ao:no;return e.test(_(t))}var Lt=To;function wo(t,e){return t==null?void 0:t[e]}var Nt=wo;function So(t,e){var r=Nt(t,e);return Lt(r)?r:void 0}var h=So;var Po=h(Ve,"WeakMap"),k=Po;function Co(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Dt=Co;function Eo(){}var Rt=Eo;var Io=800,Lo=16,jo=Date.now;function Mo(t){var e=0,r=0;return function(){var o=jo(),a=Lo-(o-r);if(r=o,a>0){if(++e>=Io)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Ft=Mo;function No(t){return function(){return t}}var tn=No;var Do=function(){try{var t=h(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ia=Do;var Ro=!Ia?en:function(t,e){return Ia(t,"toString",{configurable:!0,enumerable:!1,value:tn(e),writable:!0})},Bt=Ro;var Fo=Ft(Bt),io=Fo;function Bo(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var oo=Bo;function Go(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var so=Go;function Uo(t){return t!==t}var Gt=Uo;function zo(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var zt=zo;function Wo(t,e,r){return e===e?zt(t,e,r):so(t,Gt,r)}var Wt=Wo;function Ko(t,e){var r=t==null?0:t.length;return!!r&&Wt(t,e,0)>-1}var Kt=Ko;var Ho=9007199254740991,qo=/^(?:0|[1-9]\d*)$/;function $o(t,e){var r=typeof t;return e=e==null?Ho:e,!!e&&(r=="number"||r!="symbol"&&qo.test(t))&&(t>-1&&t%1==0&&t<e)}var Nr=$o;function ko(t,e){return t===e||t!==t&&e!==e}var bn=ko;var Ht=Math.max;function Yo(t,e,r){return e=Ht(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Ht(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Dt(t,this,n)}}var co=Yo;function Xo(t,e){return io(co(t,e,en),t+"")}var Mr=Xo;var Zo=9007199254740991;function Jo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Zo}var j=Jo;function Qo(t){return t!=null&&j(t.length)&&!Xn(t)}var yt=Qo;var Vo=Object.prototype;function ta(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Vo;return t===r}var Pr=ta;function ea(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var qt=ea;var ra="[object Arguments]";function oa(t){return et(t)&&Ut(t)==ra}var mt=oa;var $t=Object.prototype,{hasOwnProperty:aa,propertyIsEnumerable:fa}=$t,ia=mt(function(){return arguments}())?mt:function(t){return et(t)&&aa.call(t,"callee")&&!fa.call(t,"callee")},On=ia;function na(){return!1}var kt=na;var Zt=typeof X=="object"&&X&&!X.nodeType&&X,Yt=Zt&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,sa=Yt&&Yt.exports===Zt,Xt=sa?Ve.Buffer:void 0,pa=Xt?Xt.isBuffer:void 0,ua=pa||kt,xn=ua;var ma="[object Arguments]",la="[object Array]",da="[object Boolean]",xa="[object Date]",ha="[object Error]",ca="[object Function]",ga="[object Map]",ya="[object Number]",_a="[object Object]",ba="[object RegExp]",va="[object Set]",Aa="[object String]",Ta="[object WeakMap]",wa="[object ArrayBuffer]",Sa="[object DataView]",Pa="[object Float32Array]",Ca="[object Float64Array]",Ea="[object Int8Array]",La="[object Int16Array]",ja="[object Int32Array]",Ma="[object Uint8Array]",Na="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Ga="[object Uint32Array]",u={};u[Pa]=u[Ca]=u[Ea]=u[La]=u[ja]=u[Ma]=u[Na]=u[Ra]=u[Ga]=!0;u[ma]=u[la]=u[wa]=u[da]=u[Sa]=u[xa]=u[ha]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Aa]=u[Ta]=!1;function Wa(t){return et(t)&&j(t.length)&&!!u[Ut(t)]}var Jt=Wa;function Ka(t){return function(e){return t(e)}}var Rr=Ka;var Qt=typeof J=="object"&&J&&!J.nodeType&&J,U=Qt&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,qa=U&&U.exports===Qt,lt=qa&&H.process,ka=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return lt&<.binding&<.binding("util")}catch(e){}}(),Kn=ka;var Vt=Kn&&Kn.isTypedArray,Ya=Vt?Rr(Vt):Jt,Ir=Ya;var Xa=Object.prototype,Za=Xa.hasOwnProperty;function Ja(t,e){var r=oe(t),o=!r&&On(t),a=!r&&!o&&xn(t),f=!r&&!o&&!a&&Ir(t),i=r||o||a||f,n=i?qt(t.length,String):[],s=n.length;for(var p in t)if((e||Za.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Nr(p,s))))n.push(p);return n}var lo=Ja;function Qa(t,e){return function(r){return t(e(r))}}var po=Qa;var Va=po(Object.keys,Object),te=Va;var tf=Object.prototype,ef=tf.hasOwnProperty;function rf(t){if(!Pr(t))return te(t);var e=[];for(var r in Object(t))if(ef.call(t,r)&&r!="constructor")e.push(r);return e}var Da=rf;function of(t){return yt(t)?lo(t):Da(t)}var Ge=of;var af=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ff=/^\w*$/;function nf(t,e){if(oe(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||on(t))return!0;return ff.test(t)||!af.test(t)||e!=null&&t in Object(e)}var M=nf;var sf=h(Object,"create"),b=sf;function pf(){this.__data__=b?b(null):{},this.size=0}var ee=pf;function uf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var re=uf;var mf="__lodash_hash_undefined__",lf=Object.prototype,df=lf.hasOwnProperty;function xf(t){var e=this.__data__;if(b){var r=e[t];return r===mf?void 0:r}return df.call(e,t)?e[t]:void 0}var ae=xf;var hf=Object.prototype,cf=hf.hasOwnProperty;function gf(t){var e=this.__data__;return b?e[t]!==void 0:cf.call(e,t)}var fe=gf;var yf="__lodash_hash_undefined__";function _f(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=b&&e===void 0?yf:e,this}var ie=_f;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=ee;N.prototype.delete=re;N.prototype.get=ae;N.prototype.has=fe;N.prototype.set=ie;var dt=N;function bf(){this.__data__=[],this.size=0}var ne=bf;function vf(t,e){var r=t.length;while(r--)if(bn(t[r][0],e))return r;return-1}var O=vf;var Of=Array.prototype,Af=Of.splice;function Tf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else Af.call(e,r,1);return--this.size,!0}var se=Tf;function wf(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var pe=wf;function Sf(t){return O(this.__data__,t)>-1}var ue=Sf;function Pf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var me=Pf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=ne;D.prototype.delete=se;D.prototype.get=pe;D.prototype.has=ue;D.prototype.set=me;var A=D;var Cf=h(Ve,"Map"),T=Cf;function Ef(){this.size=0,this.__data__={hash:new dt,map:new(T||A),string:new dt}}var le=Ef;function If(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var de=If;function Lf(t,e){var r=t.__data__;return de(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=Lf;function jf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var xe=jf;function Mf(t){return w(this,t).get(t)}var he=Mf;function Nf(t){return w(this,t).has(t)}var ce=Nf;function Df(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var ge=Df;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=le;R.prototype.delete=xe;R.prototype.get=he;R.prototype.has=ce;R.prototype.set=ge;var E=R;var Rf="Expected a function";function xt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(Rf);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(xt.Cache||E),r}xt.Cache=E;var ye=xt;var Ff=500;function Bf(t){var e=ye(t,function(o){if(r.size===Ff)r.clear();return o}),r=e.cache;return e}var be=Bf;var Gf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Uf=/\\(\\)?/g,zf=be(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Gf,function(r,o,a,f){e.push(a?f.replace(Uf,"$1"):o||r)}),e}),ve=zf;function Wf(t){return t==null?"":Ct(t)}var uo=Wf;function Kf(t,e){if(oe(t))return t;return M(t,e)?[t]:ve(uo(t))}var Dr=Kf;var Hf=1/0;function qf(t){if(typeof t=="string"||on(t))return t;var e=t+"";return e=="0"&&1/t==-Hf?"-0":e}var Zn=qf;function $f(t,e){e=Dr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[Zn(e[r++])];return r&&r==o?t:void 0}var Or=$f;function kf(t,e,r){var o=t==null?void 0:Or(t,e);return o===void 0?r:o}var Ae=kf;function Yf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var Oa=Yf;var Te=vt?vt.isConcatSpreadable:void 0;function Xf(t){return oe(t)||On(t)||!!(Te&&t&&t[Te])}var we=Xf;function Se(t,e,r,o,a){var f=-1,i=t.length;r||(r=we),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Se(n,e-1,r,o,a);else Oa(a,n);else if(!o)a[a.length]=n}return a}var $a=Se;function Zf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Pe=Zf;function Jf(){this.__data__=new A,this.size=0}var Ce=Jf;function Qf(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ee=Qf;function Vf(t){return this.__data__.get(t)}var Ie=Vf;function ti(t){return this.__data__.has(t)}var Le=ti;var ei=200;function ri(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<ei-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var je=ri;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Ce;F.prototype.delete=Ee;F.prototype.get=Ie;F.prototype.has=Le;F.prototype.set=je;var Qn=F;function oi(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=oi;function ai(){return[]}var mo=ai;var fi=Object.prototype,ii=fi.propertyIsEnumerable,Me=Object.getOwnPropertySymbols,ni=!Me?mo:function(t){if(t==null)return[];return t=Object(t),Q(Me(t),function(e){return ii.call(t,e)})},Ba=ni;function si(t,e,r){var o=e(t);return oe(t)?o:Oa(o,r(t))}var fo=si;function pi(t){return fo(t,Ge,Ba)}var Ai=pi;var ui=h(Ve,"DataView"),V=ui;var mi=h(Ve,"Promise"),tt=mi;var li=h(Ve,"Set"),S=li;var Ne="[object Map]",di="[object Object]",De="[object Promise]",Re="[object Set]",Fe="[object WeakMap]",Be="[object DataView]",xi=_(V),hi=_(T),ci=_(tt),gi=_(S),yi=_(k),I=Ut;if(V&&I(new V(new ArrayBuffer(1)))!=Be||T&&I(new T)!=Ne||tt&&I(tt.resolve())!=De||S&&I(new S)!=Re||k&&I(new k)!=Fe)I=function(t){var e=Ut(t),r=e==di?t.constructor:void 0,o=r?_(r):"";if(o)switch(o){case xi:return Be;case hi:return Ne;case ci:return De;case gi:return Re;case yi:return Fe}return e};var sn=I;var _i=Ve.Uint8Array,Fa=_i;var bi="__lodash_hash_undefined__";function vi(t){return this.__data__.set(t,bi),this}var Ue=vi;function Oi(t){return this.__data__.has(t)}var ze=Oi;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Ue;rt.prototype.has=ze;var ot=rt;function Ti(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Ke=Ti;function wi(t,e){return t.has(e)}var at=wi;var Si=1,Pi=2;function Ci(t,e,r,o,a,f){var i=r&Si,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,y=r&Pi?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var c=t[l],g=e[l];if(o)var v=i?o(g,c,l,e,t,f):o(c,g,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(y){if(!Ke(e,function(P,C){if(!at(y,C)&&(c===P||a(c,P,r,o,f)))return y.push(C)})){m=!1;break}}else if(!(c===g||a(c,g,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=Ci;function Ei(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var He=Ei;function Ii(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ii;var Li=1,ji=2,Mi="[object Boolean]",Ni="[object Date]",Di="[object Error]",Ri="[object Map]",Fi="[object Number]",Bi="[object RegExp]",Gi="[object Set]",Ui="[object String]",zi="[object Symbol]",Wi="[object ArrayBuffer]",Ki="[object DataView]",qe=vt?vt.prototype:void 0,ht=qe?qe.valueOf:void 0;function Hi(t,e,r,o,a,f,i){switch(r){case Ki:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Wi:if(t.byteLength!=e.byteLength||!f(new Fa(t),new Fa(e)))return!1;return!0;case Mi:case Ni:case Fi:return bn(+t,+e);case Di:return t.name==e.name&&t.message==e.message;case Bi:case Ui:return t==e+"";case Ri:var n=He;case Gi:var s=o&Li;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=ji,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case zi:if(ht)return ht.call(t)==ht.call(e)}return!1}var $e=Hi;var qi=1,$i=Object.prototype,ki=$i.hasOwnProperty;function Yi(t,e,r,o,a,f){var i=r&qi,n=Ai(t),s=n.length,p=Ai(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:ki.call(e,m)))return!1}var y=f.get(t),c=f.get(e);if(y&&c)return y==e&&c==t;var g=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var _t=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(_t===void 0?P===C||a(P,C,r,o,f):_t)){g=!1;break}v||(v=m=="constructor")}if(g&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))g=!1}return f.delete(t),f.delete(e),g}var ke=Yi;var Xi=1,Ye="[object Arguments]",Xe="[object Array]",it="[object Object]",Zi=Object.prototype,Ze=Zi.hasOwnProperty;function Ji(t,e,r,o,a,f){var i=oe(t),n=oe(e),s=i?Xe:sn(t),p=n?Xe:sn(e);s=s==Ye?it:s,p=p==Ye?it:p;var d=s==it,l=p==it,m=s==p;if(m&&xn(t)){if(!xn(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new Qn),i||Ir(t)?ft(t,e,r,o,a,f):$e(t,e,s,r,o,a,f);if(!(r&Xi)){var y=d&&Ze.call(t,"__wrapped__"),c=l&&Ze.call(e,"__wrapped__");if(y||c){var g=y?t.value():t,v=c?e.value():e;return f||(f=new Qn),a(g,v,r,o,f)}}if(!m)return!1;return f||(f=new Qn),ke(t,e,r,o,a,f)}var Je=Ji;function Qe(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!et(t)&&!et(e))return t!==t&&e!==e;return Je(t,e,r,o,Qe,a)}var nt=Qe;var Qi=1,Vi=2;function rn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new Qn;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,Qi|Vi,o,l):m))return!1}}return!0}var tr=rn;function an(t){return t===t&&!Oe(t)}var st=an;function fn(t){var e=Ge(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,st(a)]}return e}var er=fn;function nn(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var pt=nn;function pn(t){var e=er(t);if(e.length==1&&e[0][2])return pt(e[0][0],e[0][1]);return function(r){return r===t||tr(r,t,e)}}var rr=pn;function un(t,e){return t!=null&&e in Object(t)}var or=un;function mn(t,e,r){e=Dr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=Zn(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&Nr(i,a)&&(oe(t)||On(t))}var ho=mn;function ln(t,e){return t!=null&&ho(t,e,or)}var go=ln;var dn=1,hn=2;function gn(t,e){if(M(t)&&st(e))return pt(Zn(t),e);return function(r){var o=Ae(r,t);return o===void 0&&o===e?go(r,t):nt(e,o,dn|hn)}}var ar=gn;function yn(t){return function(e){return e==null?void 0:e[t]}}var vo=yn;function _n(t){return function(e){return Or(e,t)}}var fr=_n;function vn(t){return M(t)?vo(Zn(t)):fr(t)}var ir=vn;function An(t){if(typeof t=="function")return t;if(t==null)return en;if(typeof t=="object")return oe(t)?ar(t[0],t[1]):rr(t);return ir(t)}var Mt=An;function Tn(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var nr=Tn;var wn=nr(),za=wn;function Sn(t,e){return t&&za(t,e,Ge)}var Ha=Sn;function Pn(t,e){return function(r,o){if(r==null)return r;if(!yt(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var sr=Pn;var En=sr(Ha),$r=En;function In(t){return et(t)&&yt(t)}var yo=In;function Ln(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var pr=Ln;function jn(t){return typeof t=="function"?t:en}var Ua=jn;function Mn(t,e){var r=oe(t)?oo:$r;return r(t,Ua(e))}var x=Mn;function Nn(t,e){var r=[];return $r(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var ur=Nn;function Dn(t,e){var r=oe(t)?Q:ur;return r(t,Mt(e,3))}var jt=Dn;function Rn(t,e){return Yn(e,function(r){return t[r]})}var mr=Rn;function Fn(t){return t==null?[]:mr(t,Ge(t))}var cn=Fn;var Bn="[object Map]",Gn="[object Set]",Un=Object.prototype,zn=Un.hasOwnProperty;function Wn(t){if(t==null)return!0;if(yt(t)&&(oe(t)||typeof t=="string"||typeof t.splice=="function"||xn(t)||Ir(t)||On(t)))return!t.length;var e=sn(t);if(e==Bn||e==Gn)return!t.size;if(Pr(t))return!Da(t).length;for(var r in t)if(zn.call(t,r))return!1;return!0}var ut=Wn;function Hn(t){return t===void 0}var We=Hn;function qn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var lr=qn;function $n(t,e,r){var o=oe(t)?Pe:lr,a=arguments.length<3;return o(t,Mt(e,4),r,a,$r)}var Jn=$n;var kn=1/0,Vn=!(S&&1/B(new S([,-0]))[1]==kn)?Rt:function(t){return new S(t)},dr=Vn;var ts=200;function es(t,e,r){var o=-1,a=Kt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=pr;else if(f>=ts){var p=e?null:dr(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var xr=es;var rs=Mr(function(t){return xr($a(t,1,yo,!0))}),ct=rs;var as="\x00",L="\x00",hr="\x01";class _e{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=tn(void 0),this._defaultEdgeLabelFn=tn(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!Xn(t))t=tn(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Ge(this._nodes)}sources(){var t=this;return jt(this.nodes(),function(e){return ut(t._in[e])})}sinks(){var t=this;return jt(this.nodes(),function(e){return ut(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return x(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],x(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];x(Ge(this._in[t]),e),delete this._in[t],delete this._preds[t],x(Ge(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(We(e))e=L;else{e+="";for(var r=e;!We(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(We(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Ge(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Ge(e)}successors(t){var e=this._sucs[t];if(e)return Ge(e)}neighbors(t){var e=this.predecessors(t);if(e)return ct(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;x(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),x(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)x(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!Xn(t))t=tn(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return cn(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return Jn(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!We(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!We(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,cr(this._preds[e],t),cr(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?gt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?gt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?gt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],gr(this._preds[e],t),gr(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=cn(r);if(!e)return o;return jt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=cn(r);if(!e)return o;return jt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}_e.prototype._nodeCount=0;_e.prototype._edgeCount=0;function cr(t,e){if(t[e])t[e]++;else t[e]=1}function gr(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+hr+f+hr+(We(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function gt(t,e){return z(t,e.v,e.w,e.name)}
|
|
2
|
-
export{Ve,vt,Ut,et,on,Yn,oe,Oe,en,Xn,tn,Ia,io,oo,so,Nr,bn,co,Mr,yt,Pr,On,xn,Rr,Kn,Ir,lo,po,Da,Ge,uo,Dr,Zn,Or,Oa,$a,Qn,mo,Ba,fo,Ai,sn,Fa,ho,go,vo,Mt,za,Ha,$r,yo,Ua,x,jt,cn,We,Jn,_e};
|
package/web/chunk-25rf3svt.js.br
DELETED
|
Binary file
|
package/web/chunk-25rf3svt.js.gz
DELETED
|
Binary file
|
package/web/chunk-2cfv55j2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Os}from"./chunk-y5f7gy03.js";export{Os as createEventModelingServices};
|
package/web/chunk-2cfv55j2.js.br
DELETED
|
Binary file
|
package/web/chunk-2cfv55j2.js.gz
DELETED
|
Binary file
|
package/web/chunk-2q37qdq2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{e,n,y,Fe}from"./chunk-g5b4wjwp.js";function gi(a){let t=a.filter((l)=>l.closedAt===null);if(!t.length)return[];return[{label:"项目",options:t.map((l)=>({value:l.id,label:l.name,description:l.directory}))}]}function yi(a){let{Input:t}=y();return n("div",{className:"relative mb-3 min-w-0",children:[e(Fe,{"aria-hidden":!0,className:"pointer-events-none absolute top-3 left-3 size-4 text-faint"}),e(t,{type:"search","aria-label":a.label,placeholder:a.placeholder,value:a.value,onChange:(l)=>a.onChange(l.target.value),className:"h-10 min-w-0 pl-9"})]})}function bi(){return e("div",{role:"status","aria-label":"正在加载",className:"divide-y divide-line",children:[0,1,2].map((a)=>n("div",{className:"h-16 space-y-2 px-4 py-3",children:[e("div",{className:"h-3 w-24 animate-pulse rounded bg-raised"}),e("div",{className:"h-3 w-2/3 animate-pulse rounded bg-raised"})]},a))})}
|
|
2
|
-
export{gi,yi,bi};
|
package/web/chunk-2q37qdq2.js.br
DELETED
|
Binary file
|
package/web/chunk-2q37qdq2.js.gz
DELETED
|
Binary file
|
package/web/chunk-2yhmab75.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{t,i,Ye,F,A,q,Y,L,N,R,P,I,O,D,sa,J,Q,ec}from"./chunk-qzb06me8.js";import"./chunk-5a80hcah.js";import{gn}from"./chunk-pdxqp4rh.js";import{zt}from"./chunk-ef0wf92p.js";import{Rn}from"./chunk-drr7mqg2.js";function vt(e,s,n){e=+e,s=+s,n=(o=arguments.length)<2?(s=e,e=0,1):o<3?1:+n;var a=-1,o=Math.max(0,Math.ceil((s-e)/n))|0,c=Array(o);while(++a<o)c[a]=e+a*n;return c}function xt(){var e=zt().unknown(void 0),{domain:s,range:n}=e,a=0,o=1,c,l,f=!1,g=0,b=0,v=0.5;delete e.unknown;function _(){var w=s().length,H=o<a,z=H?o:a,V=H?a:o;if(c=(V-z)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(z+=(V-z-c*(w-g))*v,l=c*(1-g),f)z=Math.round(z),l=Math.round(l);var U=vt(w).map(function(it){return z+c*it});return n(H?U.reverse():U)}return e.domain=function(w){return arguments.length?(s(w),_()):s()},e.range=function(w){return arguments.length?([a,o]=w,a=+a,o=+o,_()):[a,o]},e.rangeRound=function(w){return[a,o]=w,a=+a,o=+o,f=!0,_()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,_()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),_()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),_()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,_()):b},e.align=function(w){return arguments.length?(v=Math.max(0,Math.min(1,w)),_()):v},e.copy=function(){return xt(s(),[a,o]).round(f).paddingInner(g).paddingOuter(b).align(v)},Rn.apply(_(),arguments)}var Pt=function(){var e=t(function(Z,h,u,x){for(u=u||{},x=Z.length;x--;u[Z[x]]=h);return u},"o"),s=[1,10,12,14,16,18,19,21,23],n=[2,6],a=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],v=[1,28],_=[1,29],w=[1,30],H=[1,31],z=[1,32],V=[1,33],U=[1,34],it=[1,35],nt=[1,36],k=[1,37],j=[1,43],d=[1,42],G=[1,47],K=[1,50],S=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],W=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],M=[26,28],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,T,r,rt){var m=r.length-1;switch(T){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(s,n,{3:1,4:2,7:4,5:a,36:o,37:c,38:l}),{1:[3]},e(s,n,{4:2,7:4,3:8,5:a,36:o,37:c,38:l}),e(s,n,{4:2,7:4,6:9,3:10,5:a,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(s,n,{4:2,7:4,3:21,5:a,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(s,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:39,13:38,24:j,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:45,15:44,29:G,30:g,35:46,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:49,17:48,24:K,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:52,17:51,24:K,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(S,[2,18]),{1:[2,2]},e(S,[2,8]),e(S,[2,9]),e(ot,[2,39],{41:55,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(W,[2,42]),e(W,[2,44]),e(W,[2,45]),e(W,[2,46]),e(W,[2,47]),e(W,[2,48]),e(W,[2,49]),e(W,[2,50]),e(W,[2,51]),e(W,[2,52]),e(W,[2,53]),e(S,[2,10]),e(S,[2,24],{32:41,31:56,24:j,29:d}),e(S,[2,26]),e(S,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,11]),e(S,[2,32],{35:60,29:G}),e(S,[2,34]),{33:[1,61]},e(S,[2,12]),{17:62,24:K},{25:63,27:64,29:gt},e(S,[2,14]),{17:66,24:K},e(S,[2,16]),e(S,[2,17]),e(W,[2,43]),e(S,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(S,[2,33]),{29:[1,70]},e(S,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(S,[2,15]),e(S,[2,28]),e(S,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,35]),e(S,[2,19]),{25:75,27:64,29:gt},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],T=[null],r=[],rt=this.table,m="",bt=0,Nt=0,Ht=0,xe=2,$t=1,fe=r.slice.call(arguments,1),B=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(B.setInput(h,ht.yy),ht.yy.lexer=B,ht.yy.parser=this,typeof B.yylloc>"u")B.yylloc={};var Rt=B.yylloc;r.push(Rt);var pe=B.options&&B.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(et){x.length=x.length-2*et,T.length=T.length-et,r.length=r.length-et}t(me,"popStack");function Ut(){var et=p.pop()||B.lex()||$t;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t(Ut,"lex");var X,_t,lt,tt,Be,Tt,ut={},yt,at,qt,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])tt=this.defaultActions[lt];else{if(X===null||typeof X>"u")X=Ut();tt=rt[lt]&&rt[lt][X]}if(typeof tt>"u"||!tt.length||!tt[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>xe)wt.push("'"+this.terminals_[yt]+"'");if(B.showPosition)Dt="Parse error on line "+(bt+1)+`:
|
|
2
|
-
`+B.showPosition()+`
|
|
3
|
-
Expecting `+wt.join(", ")+", got '"+(this.terminals_[X]||X)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(X==$t?"end of input":"'"+(this.terminals_[X]||X)+"'");this.parseError(Dt,{text:B.match,token:this.terminals_[X]||X,line:B.yylineno,loc:Rt,expected:wt})}if(tt[0]instanceof Array&&tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+X);switch(tt[0]){case 1:if(x.push(X),T.push(B.yytext),r.push(B.yylloc),x.push(tt[1]),X=null,!_t){if(Nt=B.yyleng,m=B.yytext,bt=B.yylineno,Rt=B.yylloc,Ht>0)Ht--}else X=_t,_t=null;break;case 2:if(at=this.productions_[tt[1]][1],ut.$=T[T.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},pe)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Nt,bt,ht.yy,tt[1],T,r].concat(fe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),T=T.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[tt[1]][0]),T.push(ut.$),r.push(ut._$),qt=rt[x[x.length-2]][x[x.length-1]],x.push(qt);break;case 3:return!0}}return!0},"parse")},st=function(){var Z={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)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),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=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),x.length-1)this.yylineno-=x.length-1;var T=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:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-u];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(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
5
|
-
`+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,T;if(this.options.backtrack_lexer){if(T={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)T.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in T)this[r]=T[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var r=0;r<T.length;r++)if(x=this._input.match(this.rules[T[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,T[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,T[p]),h!==!1)return h;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 u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>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(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,T){var r=T;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return Z}();C.lexer=st;function E(){this.yy={}}return t(E,"Parser"),E.prototype=C,C.Parser=E,new E}();Pt.parser=Pt;var be=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,s){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*s,height:s};let n={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",s),o=a.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=ec(a,1,g),v=b?b.width/l:g.length*s,_=b?b.height/f:s;n.width=Math.max(n.width,v),n.height=Math.max(n.height,_)}return a.remove(),n}},Gt=0.7,jt=0.2,Qt=class{constructor(e,s,n,a){this.axisConfig=e,this.title=s,this.textDimensionCalculator=n,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(Gt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(Gt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let s=e.height;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.width;this.outerPadding=Math.min(n.width/2,a);let o=n.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-s}calculateSpaceIfDrawnVertical(e){let s=e.width;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.height;this.outerPadding=Math.min(n.height/2,a);let o=n.width+this.axisConfig.labelPadding*2;if(o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width-s,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let s=this.normalizedLabelRotationInRad;if(s===0)return 0;return Math.sin(s)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${s},${this.boundingRect.y} L ${s},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(s),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let s=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${s},${this.getScaleValue(n)} L ${s-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s} L ${this.getScaleValue(n)},${s+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${s+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},ye=class extends Qt{static{t(this,"BandAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.categories=n,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),i.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends Qt{static{t(this,"LinearAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.domain=n,this.scale=gn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=gn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,s,n,a){let o=new It(a);if(At(e))return new ye(s,n,e.categories,e.title,o);return new we(s,n,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var ke=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let s=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(s.width,e.width),a=s.height+2*this.chartConfig.titlePadding;if(a<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=n,this.boundingRect.height=a,this.titleWidth=s.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,s){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,a=Math.min(Math.max((e+s)/2,n),this.chartConfig.width-n);this.boundingRect.x=a-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,s,n,a){let o=new It(a);return new ke(o,e,s,n)}t(Kt,"getChartTitleComponent");var Ae=0.75,Ce=0.5,Se=0.35;function Et(e){return{fontSize:e,markerSize:e*Ae,markerSpacing:e*Se,itemSpacing:e*Ce}}t(Et,"getLegendLayout");var Re=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:s,markerSize:n,markerSpacing:a,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),s),l=this.chartConfig.legendPadding*2+n+a+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*s+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:s,markerSpacing:n,itemSpacing:a}=Et(this.chartConfig.legendFontSize),o=e+a,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,v]of this.visiblePlots.entries())if(kt(v))f.push({x:c,y:l+b*o,width:s,height:s,fill:v.fill,strokeFill:v.fill,strokeWidth:0});else{let _=l+b*o+s/2;g.push({path:`M ${c},${_} L ${c+s},${_}`,strokeFill:v.strokeFill,strokeWidth:v.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,v)=>({text:b.title,x:c+s+n,y:l+v*o+s/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,s,n,a){let o=new It(a);return new Re(o,e,s,n)}t(Zt,"getChartLegendComponent");var _e=class{constructor(e,s,n,a,o){this.plotData=e,this.xAxis=s,this.yAxis=n,this.orientation=a,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((a)=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),s;if(this.orientation==="horizontal")s=sa().y((a)=>a[0]).x((a)=>a[1])(e);else s=sa().x((a)=>a[0]).y((a)=>a[1])(e);if(!s)return[];let n=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:s,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)n.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return n}},Te=class{constructor(e,s,n,a,o,c){this.barData=e,this.boundingRect=s,this.xAxis=n,this.yAxis=a,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=0.05,n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,a=n/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-a,height:n,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-a,y:o[1],width:n,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},De=class{constructor(e,s,n){this.chartConfig=e,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,s){this.xAxis=e,this.yAxis=s}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[s,n]of this.chartData.plots.entries())switch(n.type){case"line":{let a=new _e(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break;case"bar":{let a=new Te(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break}return e}};function Jt(e,s,n){return new De(e,s,n)}t(Jt,"getPlotComponent");var ve=class{constructor(e,s,n,a){this.chartConfig=e,this.chartData=s,this.componentStore={title:Kt(e,s,n,a),plot:Jt(e,s,n),legend:Zt(e,s,n,a),xAxis:Lt(s.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},a),yAxis:Lt(s.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},a)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,s-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),a=f.height,s-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:s}),s-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:s}),n=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(s>0)l+=s,s=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:n,y:a}),this.componentStore.title.alignTo(n,n+c),this.componentStore.legend.setBoundingBoxXY({x:n+c,y:a+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+c]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:a+l}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,s-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),n=g.height,s-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:s}),e-=g.width,a=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:s}),s-=g.height,o=n+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(s>0)f+=s,s=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:o}),this.componentStore.title.alignTo(a,a+l),this.componentStore.legend.setBoundingBoxXY({x:a+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:n}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let s of Object.values(this.componentStore))e.push(...s.getDrawableElements());return e}},Pe=class{static{t(this,"XYChartBuilder")}static build(e,s,n,a){return new ve(e,s,n,a).getDrawableElement()}},ft=0,te,pt=Vt(),mt=Ot(),y=Wt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function Ot(){let e=Ye(),s=A();return Q(e.xyChart,s.themeVariables.xyChart)}t(Ot,"getChartDefaultThemeConfig");function Vt(){let e=A();return Q(F.xyChart,e.xyChart)}t(Vt,"getChartDefaultConfig");function Wt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Wt,"getChartDefaultData");function ct(e){let s=A();return q(e.trim(),s)}t(ct,"textSanitizer");function ee(e){te=e}t(ee,"setTmpSVGG");function ie(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(ie,"setOrientation");function se(e){y.xAxis.title=ct(e.text)}t(se,"setXAxisTitle");function Ft(e,s){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:s},Ct=!0}t(Ft,"setXAxisRangeData");function ne(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((s)=>ct(s.text))},Ct=!0}t(ne,"setXAxisBand");function ae(e){y.yAxis.title=ct(e.text)}t(ae,"setYAxisTitle");function oe(e,s){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:s},Bt=!0}t(oe,"setYAxisRangeData");function re(e){let s=Math.min(...e),n=Math.max(...e),a=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(a,s),max:Math.max(o,n)}}t(re,"setYAxisRangeFromPlotData");function Xt(e){let s=[];if(e.length===0)return s;if(!Ct){let n=dt(y.xAxis)?y.xAxis.min:1/0,a=dt(y.xAxis)?y.xAxis.max:-1/0;Ft(Math.min(n,1),Math.max(a,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)re(e);if(At(y.xAxis))s=y.xAxis.categories.map((n,a)=>[n,e[a]]);if(dt(y.xAxis)){let n=y.xAxis.min,a=y.xAxis.max;if(e.length===1)s=[[`${n}`,e[0]]];else{let o=(a-n)/(e.length-1);s=e.map((c,l)=>[`${n+l*o}`,c])}}return s}t(Xt,"transformDataWithoutCategory");function Yt(e){return Mt[e===0?0:e%Mt.length]}t(Yt,"getPlotColorFromPalette");function he(e,s){let n=s.map((l)=>l.value),a=s.map((l)=>l.label?ct(l.label):""),o=Xt(n),c=a.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Yt(ft),strokeWidth:2,data:o,...c?{pointLabels:a}:{}}),ft++}t(he,"setLineData");function le(e,s){let n=s.map((o)=>o.value),a=Xt(n);y.plots.push({type:"bar",title:ct(e.text),fill:Yt(ft),data:a}),ft++}t(le,"setBarData");function ce(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=D(),Pe.build(pt,y,mt,te)}t(ce,"getDrawableElem");function ge(){return mt}t(ge,"getChartThemeConfig");function ue(){return pt}t(ue,"getChartConfig");function de(){return y}t(de,"getXYChartData");var Le=t(function(){L(),ft=0,pt=Vt(),y=Wt(),mt=Ot(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Ee={getDrawableElem:ce,clear:Le,setAccTitle:N,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P,setOrientation:ie,setXAxisTitle:se,setXAxisRangeData:Ft,setXAxisBand:ne,setYAxisTitle:ae,setYAxisRangeData:oe,setLineData:he,setBarData:le,setTmpSVGG:ee,getChartThemeConfig:ge,getChartConfig:ue,getXYChartData:de},Me=t((e,s,n,a)=>{let o=a.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function v(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(v,"getTextTransformation"),i.debug(`Rendering xychart chart
|
|
7
|
-
`+e);let _=J(s),w=_.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");Y(_,l.height,l.width,!0),_.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));let z=o.getDrawableElem(),V={};function U(k){let j=w,d="";for(let[G]of k.entries()){let K=w;if(G>0&&V[d])K=V[d];if(d+=k[G],j=V[d],!j)j=V[d]=K.append("g").attr("class",k[G])}return j}t(U,"getGroup");for(let k of z){if(k.data.length===0)continue;let j=U(k.groupTexts);switch(k.type){case"rect":if(j.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let G=function(C,st){let{data:E,label:Z}=C;return st*Z.length*K<=E.width-S};var it=G;t(G,"fitsHorizontally");let K=0.7,S=10,ot=k.data.map((C,st)=>({data:C,label:f[st].toString()})).filter((C)=>C.data.width>0&&C.data.height>0),W=ot.map((C)=>{let{data:st}=C,E=st.height*0.7;while(!G(C,E)&&E>0)E-=1;return E}),gt=Math.floor(Math.min(...W)),M=t((C)=>{if(d)return C.data.x+C.data.width+S;else return C.data.x+C.data.width-S},"determineLabelXPosition");j.selectAll("text").data(ot).enter().append("text").attr("x",M).attr("y",(C)=>C.data.y+C.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((C)=>C.label)}else{let G=function(M,C,st){let{data:E,label:Z}=M,h=0.7,u=C*Z.length*0.7,x=E.x+E.width/2,p=x-u/2,T=x+u/2,r=p>=E.x&&T<=E.x+E.width,rt=E.y+st+C<=E.y+E.height;return r&&rt};var nt=G;t(G,"fitsInBar");let K=10,S=k.data.map((M,C)=>({data:M,label:f[C].toString()})).filter((M)=>M.data.width>0&&M.data.height>0),ot=S.map((M)=>{let{data:C,label:st}=M,E=C.width/(st.length*0.7);while(!G(M,E,K)&&E>0)E-=1;return E}),W=Math.floor(Math.min(...ot)),gt=t((M)=>{if(d)return M.data.y-K;else return M.data.y+K},"determineLabelYPosition");j.selectAll("text").data(S).enter().append("text").attr("x",(M)=>M.data.x+M.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${W}px`).text((M)=>M.label)}}break;case"text":j.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>v(d)).text((d)=>d.text);break;case"path":j.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Ie={draw:Me},Ze={parser:be,db:Ee,renderer:Ie};export{Ze as diagram};
|
package/web/chunk-2yhmab75.js.br
DELETED
|
Binary file
|
package/web/chunk-2yhmab75.js.gz
DELETED
|
Binary file
|