@bkm016/basalt 0.1.19 → 0.1.21
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-03b5jh31.js +5 -0
- package/chunk-0x0459qp.js +2 -0
- package/chunk-16yz5ebn.js +2 -0
- package/chunk-1kdd7xry.js +2 -0
- package/chunk-225dyk1y.js +8 -0
- package/chunk-2fymxwe7.js +7 -0
- package/chunk-2m2sa0bp.js +2 -0
- package/chunk-35y6nf6k.js +12 -0
- package/chunk-3phf8eg6.js +3 -0
- package/chunk-3qxq264t.js +2 -0
- package/chunk-3r38vbt5.js +2 -0
- package/chunk-3s8rpc1w.js +3 -0
- package/chunk-3t8wz9w8.js +3 -0
- package/chunk-43qf44t8.js +3 -0
- package/chunk-49hsqsht.js +2 -0
- package/chunk-4fbj3k59.js +3 -0
- package/chunk-4fj91gt1.js +4 -0
- package/chunk-51a0843g.js +3 -0
- package/chunk-5h59tby8.js +470 -0
- package/chunk-5m51j40e.js +7 -0
- package/chunk-5mt8xxex.js +3 -0
- package/chunk-85sjfyjd.js +2 -0
- package/chunk-97ntcrm7.js +2 -0
- package/chunk-9qzyn98b.js +3 -0
- package/chunk-9t3v8c3m.js +2 -0
- package/chunk-9w1m9av8.js +11 -0
- package/chunk-9x28stv0.js +2 -0
- package/chunk-a3fpx924.js +3 -0
- package/chunk-ak95r8mq.js +3556 -0
- package/chunk-ak9rkrf3.js +5 -0
- package/chunk-bn1aaewd.js +59 -0
- package/chunk-c5ydt3vq.js +3 -0
- package/chunk-cjh5h31t.js +11 -0
- package/chunk-cr0tqn6j.js +3 -0
- package/chunk-e0ytnnwt.js +3 -0
- package/chunk-e8xywvv4.js +3 -0
- package/chunk-enmrpjpt.js +3 -0
- package/chunk-ewaskman.js +2 -0
- package/chunk-feyt85gg.js +2 -0
- package/chunk-ftg4b5pa.js +3 -0
- package/chunk-g6cc7ac1.js +3 -0
- package/chunk-gdx1j9c5.js +10 -0
- package/chunk-gs5aebwh.js +2 -0
- package/chunk-h00wjps7.js +4 -0
- package/chunk-h1fwdz4h.js +2 -0
- package/chunk-hhxtc9jn.js +2 -0
- package/chunk-hrn2ss1a.js +2 -0
- package/chunk-jhwb962k.js +15 -0
- package/chunk-jpwr1sd2.js +3 -0
- package/chunk-jy07y4pv.js +7 -0
- package/chunk-k9x1r69s.js +18 -0
- package/chunk-kb5h9rmb.js +2 -0
- package/chunk-kgnd32hn.js +4 -0
- package/chunk-kka12j10.js +3 -0
- package/chunk-kypdthjg.js +2 -0
- package/chunk-m9386732.js +16 -0
- package/chunk-np123myw.js +12 -0
- package/chunk-ntntwtxn.js +5 -0
- package/chunk-qn70tm91.js +20 -0
- package/chunk-qtgc74er.js +5 -0
- package/chunk-qz6ybxjg.js +39 -0
- package/chunk-r36b12zb.js +2 -0
- package/chunk-re8n2te5.js +2 -0
- package/chunk-rpbxbb92.js +10 -0
- package/chunk-rqrjzz73.js +2 -0
- package/chunk-scy1p7x2.js +9 -0
- package/chunk-sq5ppnr3.js +25 -0
- package/chunk-syhhzr1j.js +3 -0
- package/chunk-tmq8ktys.js +3 -0
- package/chunk-ttv805sb.js +390 -0
- package/chunk-v878x8zr.js +7 -0
- package/chunk-ve1b6vg6.js +2 -0
- package/chunk-vzrmdaba.js +2 -0
- package/chunk-w3n8wm44.js +2 -0
- package/chunk-w3skxmvx.js +3 -0
- package/chunk-wxzk086k.js +2 -0
- package/chunk-x1y4s01x.js +31 -0
- package/chunk-y8mf9tcj.js +25 -0
- package/chunk-z4g2q36h.js +3 -0
- package/chunk-zkjnt298.js +3 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +37 -37
- package/web/chunk-07dd0jed.js +78 -0
- package/web/chunk-07dd0jed.js.br +0 -0
- package/web/chunk-07dd0jed.js.gz +0 -0
- package/web/chunk-0hvyq55w.js +1 -0
- package/web/chunk-0hvyq55w.js.br +0 -0
- package/web/chunk-0hvyq55w.js.gz +0 -0
- package/web/chunk-0q5drhbk.js +1 -0
- package/web/chunk-0q5drhbk.js.br +0 -0
- package/web/chunk-0q5drhbk.js.gz +0 -0
- package/web/chunk-0rvx1z2b.js +1 -0
- package/web/chunk-0rvx1z2b.js.br +0 -0
- package/web/chunk-0rvx1z2b.js.gz +0 -0
- package/web/chunk-0w6ta3ps.js +1 -0
- package/web/chunk-0w6ta3ps.js.br +0 -0
- package/web/chunk-0w6ta3ps.js.gz +0 -0
- package/web/chunk-0wqmwnd8.js +2 -0
- package/web/chunk-0wqmwnd8.js.br +0 -0
- package/web/chunk-0wqmwnd8.js.gz +0 -0
- package/web/chunk-0z10aqp1.js +2 -0
- package/web/chunk-0z10aqp1.js.br +0 -0
- package/web/chunk-0z10aqp1.js.gz +0 -0
- package/web/chunk-12vcrj7y.js +1 -0
- package/web/chunk-12vcrj7y.js.br +0 -0
- package/web/chunk-12vcrj7y.js.gz +0 -0
- package/web/chunk-16b5anw4.js +3 -0
- package/web/chunk-16b5anw4.js.br +0 -0
- package/web/chunk-16b5anw4.js.gz +0 -0
- package/web/chunk-21d8pzcm.js +142 -0
- package/web/chunk-21d8pzcm.js.br +0 -0
- package/web/chunk-21d8pzcm.js.gz +0 -0
- package/web/chunk-2c4affp1.js +70 -0
- package/web/chunk-2c4affp1.js.br +0 -0
- package/web/chunk-2c4affp1.js.gz +0 -0
- package/web/chunk-2dykyq1n.js +2 -0
- package/web/chunk-2dykyq1n.js.br +0 -0
- package/web/chunk-2dykyq1n.js.gz +0 -0
- package/web/chunk-2h2w244w.js +370 -0
- package/web/chunk-2h2w244w.js.br +0 -0
- package/web/chunk-2h2w244w.js.gz +0 -0
- package/web/chunk-2hd51wb6.js +169 -0
- package/web/chunk-2hd51wb6.js.br +0 -0
- package/web/chunk-2hd51wb6.js.gz +0 -0
- package/web/chunk-2tc6krye.js +291 -0
- package/web/chunk-2tc6krye.js.br +0 -0
- package/web/chunk-2tc6krye.js.gz +0 -0
- package/web/chunk-2w27acew.js +38 -0
- package/web/chunk-2w27acew.js.br +0 -0
- package/web/chunk-2w27acew.js.gz +0 -0
- package/web/chunk-2w4rdnhj.js +1 -0
- package/web/chunk-2w4rdnhj.js.br +0 -0
- package/web/chunk-2w4rdnhj.js.gz +0 -0
- package/web/chunk-31vxes2p.js +200 -0
- package/web/chunk-31vxes2p.js.br +0 -0
- package/web/chunk-31vxes2p.js.gz +0 -0
- package/web/chunk-32qd2y5h.js +1 -0
- package/web/chunk-32qd2y5h.js.br +0 -0
- package/web/chunk-32qd2y5h.js.gz +0 -0
- package/web/chunk-366a11ec.js +1 -0
- package/web/chunk-366a11ec.js.br +0 -0
- package/web/chunk-366a11ec.js.gz +0 -0
- package/web/chunk-39kaz6fa.js +4 -0
- package/web/chunk-39kaz6fa.js.br +0 -0
- package/web/chunk-39kaz6fa.js.gz +0 -0
- package/web/chunk-3d3y4tep.js +214 -0
- package/web/chunk-3d3y4tep.js.br +0 -0
- package/web/chunk-3d3y4tep.js.gz +0 -0
- package/web/chunk-4makcmpw.js +1 -0
- package/web/chunk-4makcmpw.js.br +0 -0
- package/web/chunk-4makcmpw.js.gz +0 -0
- package/web/chunk-4mypk63p.js +2 -0
- package/web/chunk-4mypk63p.js.br +0 -0
- package/web/chunk-4mypk63p.js.gz +0 -0
- package/web/chunk-4zftsyq2.js +2 -0
- package/web/chunk-4zftsyq2.js.br +0 -0
- package/web/chunk-4zftsyq2.js.gz +0 -0
- package/web/chunk-50wrjr22.js +2 -0
- package/web/chunk-50wrjr22.js.br +0 -0
- package/web/chunk-50wrjr22.js.gz +0 -0
- package/web/chunk-52tt9qt4.js +2 -0
- package/web/chunk-52tt9qt4.js.br +0 -0
- package/web/chunk-52tt9qt4.js.gz +0 -0
- package/web/chunk-55kw8p9r.js +89 -0
- package/web/chunk-55kw8p9r.js.br +0 -0
- package/web/chunk-55kw8p9r.js.gz +0 -0
- package/web/chunk-56tqa12m.js +2 -0
- package/web/chunk-56tqa12m.js.br +0 -0
- package/web/chunk-56tqa12m.js.gz +0 -0
- package/web/chunk-595tqsv5.js +1 -0
- package/web/chunk-595tqsv5.js.br +0 -0
- package/web/chunk-595tqsv5.js.gz +0 -0
- package/web/chunk-5cp4n5ck.js +2 -0
- package/web/chunk-5cp4n5ck.js.br +0 -0
- package/web/chunk-5cp4n5ck.js.gz +0 -0
- package/web/chunk-5h193k2c.js +1 -0
- package/web/chunk-5h193k2c.js.br +0 -0
- package/web/chunk-5h193k2c.js.gz +0 -0
- package/web/chunk-5nbmnchg.js +16 -0
- package/web/chunk-5nbmnchg.js.br +0 -0
- package/web/chunk-5nbmnchg.js.gz +0 -0
- package/web/chunk-5vc1wkwb.js +2 -0
- package/web/chunk-5vc1wkwb.js.br +0 -0
- package/web/chunk-5vc1wkwb.js.gz +0 -0
- package/web/chunk-5wgdprjp.js +1 -0
- package/web/chunk-5wgdprjp.js.br +0 -0
- package/web/chunk-5wgdprjp.js.gz +0 -0
- package/web/chunk-60fbfw70.js +1 -0
- package/web/chunk-60fbfw70.js.br +0 -0
- package/web/chunk-60fbfw70.js.gz +0 -0
- package/web/chunk-62z94rt2.js +36 -0
- package/web/chunk-62z94rt2.js.br +0 -0
- package/web/chunk-62z94rt2.js.gz +0 -0
- package/web/chunk-67khfy00.css +1 -0
- package/web/chunk-67khfy00.css.br +0 -0
- package/web/chunk-67khfy00.css.gz +0 -0
- package/web/chunk-6bt2t0xt.js +8 -0
- package/web/chunk-6bt2t0xt.js.br +0 -0
- package/web/chunk-6bt2t0xt.js.gz +0 -0
- package/web/chunk-780qvh05.js +99 -0
- package/web/chunk-780qvh05.js.br +0 -0
- package/web/chunk-780qvh05.js.gz +0 -0
- package/web/chunk-78t5dqea.js +324 -0
- package/web/chunk-78t5dqea.js.br +0 -0
- package/web/chunk-78t5dqea.js.gz +0 -0
- package/web/chunk-7cf1kk45.js +1 -0
- package/web/chunk-7cf1kk45.js.br +2 -0
- package/web/chunk-7cf1kk45.js.gz +0 -0
- package/web/chunk-7edmyret.js +1 -0
- package/web/chunk-7edmyret.js.br +0 -0
- package/web/chunk-7edmyret.js.gz +0 -0
- package/web/chunk-7remkcff.js +2 -0
- package/web/chunk-7remkcff.js.br +0 -0
- package/web/chunk-7remkcff.js.gz +0 -0
- package/web/chunk-7s062q01.js +1 -0
- package/web/chunk-7s062q01.js.br +0 -0
- package/web/chunk-7s062q01.js.gz +0 -0
- package/web/chunk-82zwwy0b.js +1 -0
- package/web/chunk-82zwwy0b.js.br +0 -0
- package/web/chunk-82zwwy0b.js.gz +0 -0
- package/web/chunk-89crtpnw.js +1 -0
- package/web/chunk-89crtpnw.js.br +0 -0
- package/web/chunk-89crtpnw.js.gz +0 -0
- package/web/chunk-8c6h952g.js +106 -0
- package/web/chunk-8c6h952g.js.br +0 -0
- package/web/chunk-8c6h952g.js.gz +0 -0
- package/web/chunk-8wgev3hd.js +1 -0
- package/web/chunk-8wgev3hd.js.br +0 -0
- package/web/chunk-8wgev3hd.js.gz +0 -0
- package/web/chunk-9r7nbre7.js +2 -0
- package/web/chunk-9r7nbre7.js.br +0 -0
- package/web/chunk-9r7nbre7.js.gz +0 -0
- package/web/chunk-9vcbnf1m.js +1 -0
- package/web/chunk-9vcbnf1m.js.br +0 -0
- package/web/chunk-9vcbnf1m.js.gz +0 -0
- package/web/chunk-9y9nwaqj.js +1 -0
- package/web/chunk-9y9nwaqj.js.br +0 -0
- package/web/chunk-9y9nwaqj.js.gz +0 -0
- package/web/chunk-abahqsws.js +2 -0
- package/web/chunk-abahqsws.js.br +0 -0
- package/web/chunk-abahqsws.js.gz +0 -0
- package/web/chunk-acv6gk2b.js +2 -0
- package/web/chunk-acv6gk2b.js.br +0 -0
- package/web/chunk-acv6gk2b.js.gz +0 -0
- package/web/chunk-ajpzsx51.js +1 -0
- package/web/chunk-ajpzsx51.js.br +0 -0
- package/web/chunk-ajpzsx51.js.gz +0 -0
- package/web/chunk-b1b9txvk.js +1 -0
- package/web/chunk-b1b9txvk.js.br +0 -0
- package/web/chunk-b1b9txvk.js.gz +0 -0
- package/web/chunk-b83bzjcx.js +1134 -0
- package/web/chunk-b83bzjcx.js.br +0 -0
- package/web/chunk-b83bzjcx.js.gz +0 -0
- package/web/chunk-c1zhat04.js +1 -0
- package/web/chunk-c1zhat04.js.br +0 -0
- package/web/chunk-c1zhat04.js.gz +0 -0
- package/web/chunk-c37hhmtd.js +62 -0
- package/web/chunk-c37hhmtd.js.br +0 -0
- package/web/chunk-c37hhmtd.js.gz +0 -0
- package/web/chunk-c69t0ysj.js +1 -0
- package/web/chunk-c69t0ysj.js.br +0 -0
- package/web/chunk-c69t0ysj.js.gz +0 -0
- package/web/chunk-caz85hz4.js +1 -0
- package/web/chunk-caz85hz4.js.br +0 -0
- package/web/chunk-caz85hz4.js.gz +0 -0
- package/web/chunk-cbtpaf3e.js +7 -0
- package/web/chunk-cbtpaf3e.js.br +0 -0
- package/web/chunk-cbtpaf3e.js.gz +0 -0
- package/web/chunk-d1gga18f.js +217 -0
- package/web/chunk-d1gga18f.js.br +0 -0
- package/web/chunk-d1gga18f.js.gz +0 -0
- package/web/chunk-d4kjy2qn.js +1 -0
- package/web/chunk-d4kjy2qn.js.br +0 -0
- package/web/chunk-d4kjy2qn.js.gz +0 -0
- package/web/chunk-dbv8qpen.js +303 -0
- package/web/chunk-dbv8qpen.js.br +0 -0
- package/web/chunk-dbv8qpen.js.gz +0 -0
- package/web/chunk-e65y60v1.js +2 -0
- package/web/chunk-e65y60v1.js.br +0 -0
- package/web/chunk-e65y60v1.js.gz +0 -0
- package/web/chunk-e6r1sb5r.js +7 -0
- package/web/chunk-e6r1sb5r.js.br +0 -0
- package/web/chunk-e6r1sb5r.js.gz +0 -0
- package/web/chunk-ed8qqn45.js +2 -0
- package/web/chunk-ed8qqn45.js.br +0 -0
- package/web/chunk-ed8qqn45.js.gz +0 -0
- package/web/chunk-ef1h0tt7.js +2 -0
- package/web/chunk-ef1h0tt7.js.br +0 -0
- package/web/chunk-ef1h0tt7.js.gz +0 -0
- package/web/chunk-ep5qff8m.js +1 -0
- package/web/chunk-ep5qff8m.js.br +0 -0
- package/web/chunk-ep5qff8m.js.gz +0 -0
- package/web/chunk-ex66t805.js +120 -0
- package/web/chunk-ex66t805.js.br +0 -0
- package/web/chunk-ex66t805.js.gz +0 -0
- package/web/chunk-fb8qtyqg.js +1 -0
- package/web/chunk-fb8qtyqg.js.br +0 -0
- package/web/chunk-fb8qtyqg.js.gz +0 -0
- package/web/chunk-fbzhgaak.js +98 -0
- package/web/chunk-fbzhgaak.js.br +0 -0
- package/web/chunk-fbzhgaak.js.gz +0 -0
- package/web/chunk-ffwyfdg4.js +1 -0
- package/web/chunk-ffwyfdg4.js.br +0 -0
- package/web/chunk-ffwyfdg4.js.gz +0 -0
- package/web/chunk-fsz1msjr.js +2 -0
- package/web/chunk-fsz1msjr.js.br +0 -0
- package/web/chunk-fsz1msjr.js.gz +0 -0
- package/web/chunk-fztzcy7c.js +89 -0
- package/web/chunk-fztzcy7c.js.br +0 -0
- package/web/chunk-fztzcy7c.js.gz +0 -0
- package/web/chunk-g3vbtxgy.js +2 -0
- package/web/chunk-g3vbtxgy.js.br +0 -0
- package/web/chunk-g3vbtxgy.js.gz +0 -0
- package/web/chunk-g4st8a4e.js +1 -0
- package/web/chunk-g4st8a4e.js.br +0 -0
- package/web/chunk-g4st8a4e.js.gz +0 -0
- package/web/chunk-gs41j1vb.js +1 -0
- package/web/chunk-gs41j1vb.js.br +0 -0
- package/web/chunk-gs41j1vb.js.gz +0 -0
- package/web/chunk-gt4dzb4b.js +292 -0
- package/web/chunk-gt4dzb4b.js.br +0 -0
- package/web/chunk-gt4dzb4b.js.gz +0 -0
- package/web/chunk-h4g8j133.js +7 -0
- package/web/chunk-h4g8j133.js.br +0 -0
- package/web/chunk-h4g8j133.js.gz +0 -0
- package/web/chunk-hj067dfg.js +1 -0
- package/web/chunk-hj067dfg.js.br +2 -0
- package/web/chunk-hj067dfg.js.gz +0 -0
- package/web/chunk-ht3cek8b.js +1 -0
- package/web/chunk-ht3cek8b.js.br +2 -0
- package/web/chunk-ht3cek8b.js.gz +0 -0
- package/web/chunk-hw4f79k8.js +1 -0
- package/web/chunk-hw4f79k8.js.br +0 -0
- package/web/chunk-hw4f79k8.js.gz +0 -0
- package/web/chunk-j2y3wkxc.js +40 -0
- package/web/chunk-j2y3wkxc.js.br +0 -0
- package/web/chunk-j2y3wkxc.js.gz +0 -0
- package/web/chunk-j4942vkb.js +1 -0
- package/web/chunk-j4942vkb.js.br +0 -0
- package/web/chunk-j4942vkb.js.gz +0 -0
- package/web/chunk-j7sfcfxr.js +1 -0
- package/web/chunk-j7sfcfxr.js.br +0 -0
- package/web/chunk-j7sfcfxr.js.gz +0 -0
- package/web/chunk-jge5e8c4.js +1 -0
- package/web/chunk-jge5e8c4.js.br +0 -0
- package/web/chunk-jge5e8c4.js.gz +0 -0
- package/web/chunk-jyjgvcac.js +2 -0
- package/web/chunk-jyjgvcac.js.br +0 -0
- package/web/chunk-jyjgvcac.js.gz +0 -0
- package/web/chunk-k1d0y72z.js +2 -0
- package/web/chunk-k1d0y72z.js.br +0 -0
- package/web/chunk-k1d0y72z.js.gz +0 -0
- package/web/chunk-k9bzz441.js +1 -0
- package/web/chunk-k9bzz441.js.br +0 -0
- package/web/chunk-k9bzz441.js.gz +0 -0
- package/web/chunk-keway722.js +39 -0
- package/web/chunk-keway722.js.br +0 -0
- package/web/chunk-keway722.js.gz +0 -0
- package/web/chunk-kh0xyffx.js +1 -0
- package/web/chunk-kh0xyffx.js.br +0 -0
- package/web/chunk-kh0xyffx.js.gz +0 -0
- package/web/chunk-kr7shpnb.js +4 -0
- package/web/chunk-kr7shpnb.js.br +0 -0
- package/web/chunk-kr7shpnb.js.gz +0 -0
- package/web/chunk-ktvxgxsd.js +2 -0
- package/web/chunk-ktvxgxsd.js.br +0 -0
- package/web/chunk-ktvxgxsd.js.gz +0 -0
- package/web/chunk-kv5swske.js +1 -0
- package/web/chunk-kv5swske.js.br +0 -0
- package/web/chunk-kv5swske.js.gz +0 -0
- package/web/chunk-kx2k462h.js +1 -0
- package/web/chunk-kx2k462h.js.br +0 -0
- package/web/chunk-kx2k462h.js.gz +0 -0
- package/web/chunk-m5b7hny2.js +2 -0
- package/web/chunk-m5b7hny2.js.br +0 -0
- package/web/chunk-m5b7hny2.js.gz +0 -0
- package/web/chunk-m7kypzvp.js +2 -0
- package/web/chunk-m7kypzvp.js.br +0 -0
- package/web/chunk-m7kypzvp.js.gz +0 -0
- package/web/chunk-n00se8nk.js +2 -0
- package/web/chunk-n00se8nk.js.br +0 -0
- package/web/chunk-n00se8nk.js.gz +0 -0
- package/web/chunk-n419cees.js +1 -0
- package/web/chunk-n419cees.js.br +0 -0
- package/web/chunk-n419cees.js.gz +0 -0
- package/web/chunk-n45fgfyt.js +1 -0
- package/web/chunk-n45fgfyt.js.br +2 -0
- package/web/chunk-n45fgfyt.js.gz +0 -0
- package/web/chunk-n5v71fas.js +2 -0
- package/web/chunk-n5v71fas.js.br +0 -0
- package/web/chunk-n5v71fas.js.gz +0 -0
- package/web/chunk-ngdj0r7w.js +24 -0
- package/web/chunk-ngdj0r7w.js.br +0 -0
- package/web/chunk-ngdj0r7w.js.gz +0 -0
- package/web/chunk-p6ma361e.js +2 -0
- package/web/chunk-p6ma361e.js.br +0 -0
- package/web/chunk-p6ma361e.js.gz +0 -0
- package/web/chunk-p76f6cf4.js +2 -0
- package/web/chunk-p76f6cf4.js.br +0 -0
- package/web/chunk-p76f6cf4.js.gz +0 -0
- package/web/chunk-pvhz0gqy.js +332 -0
- package/web/chunk-pvhz0gqy.js.br +0 -0
- package/web/chunk-pvhz0gqy.js.gz +0 -0
- package/web/chunk-q96eky9v.js +1 -0
- package/web/chunk-q96eky9v.js.br +0 -0
- package/web/chunk-q96eky9v.js.gz +0 -0
- package/web/chunk-qcgs1mft.js +2 -0
- package/web/chunk-qcgs1mft.js.br +0 -0
- package/web/chunk-qcgs1mft.js.gz +0 -0
- package/web/chunk-qgtqwmkb.js +1 -0
- package/web/chunk-qgtqwmkb.js.br +2 -0
- package/web/chunk-qgtqwmkb.js.gz +0 -0
- package/web/chunk-qh24q7c0.js +2 -0
- package/web/chunk-qh24q7c0.js.br +0 -0
- package/web/chunk-qh24q7c0.js.gz +0 -0
- package/web/chunk-qygjhm63.js +1 -0
- package/web/chunk-qygjhm63.js.br +0 -0
- package/web/chunk-qygjhm63.js.gz +0 -0
- package/web/chunk-r1xksxab.js +1 -0
- package/web/chunk-r1xksxab.js.br +0 -0
- package/web/chunk-r1xksxab.js.gz +0 -0
- package/web/chunk-rfsg5rke.js +1 -0
- package/web/chunk-rfsg5rke.js.br +2 -0
- package/web/chunk-rfsg5rke.js.gz +0 -0
- package/web/chunk-rsc5k5he.js +139 -0
- package/web/chunk-rsc5k5he.js.br +0 -0
- package/web/chunk-rsc5k5he.js.gz +0 -0
- package/web/chunk-s7a2f62f.js +140 -0
- package/web/chunk-s7a2f62f.js.br +0 -0
- package/web/chunk-s7a2f62f.js.gz +0 -0
- package/web/chunk-s7h50avx.js +2 -0
- package/web/chunk-s7h50avx.js.br +0 -0
- package/web/chunk-s7h50avx.js.gz +0 -0
- package/web/chunk-sac6fn9n.js +24 -0
- package/web/chunk-sac6fn9n.js.br +0 -0
- package/web/chunk-sac6fn9n.js.gz +0 -0
- package/web/chunk-sk47kk5j.js +1 -0
- package/web/chunk-sk47kk5j.js.br +0 -0
- package/web/chunk-sk47kk5j.js.gz +0 -0
- package/web/chunk-t0xjx21h.js +30 -0
- package/web/chunk-t0xjx21h.js.br +0 -0
- package/web/chunk-t0xjx21h.js.gz +0 -0
- package/web/chunk-t9heac9a.js +2 -0
- package/web/chunk-t9heac9a.js.br +0 -0
- package/web/chunk-t9heac9a.js.gz +0 -0
- package/web/chunk-v7ck87jf.js +1 -0
- package/web/chunk-v7ck87jf.js.br +0 -0
- package/web/chunk-v7ck87jf.js.gz +0 -0
- package/web/chunk-vvk9nche.js +21 -0
- package/web/chunk-vvk9nche.js.br +0 -0
- package/web/chunk-vvk9nche.js.gz +0 -0
- package/web/chunk-vxtfen72.js +1 -0
- package/web/chunk-vxtfen72.js.br +0 -0
- package/web/chunk-vxtfen72.js.gz +0 -0
- package/web/chunk-w5c2r59n.js +41 -0
- package/web/chunk-w5c2r59n.js.br +0 -0
- package/web/chunk-w5c2r59n.js.gz +0 -0
- package/web/chunk-wh0vt2vd.js +34 -0
- package/web/chunk-wh0vt2vd.js.br +0 -0
- package/web/chunk-wh0vt2vd.js.gz +0 -0
- package/web/chunk-wvvrdqgb.js +1 -0
- package/web/chunk-wvvrdqgb.js.br +2 -0
- package/web/chunk-wvvrdqgb.js.gz +0 -0
- package/web/chunk-xe7fj72r.js +1 -0
- package/web/chunk-xe7fj72r.js.br +0 -0
- package/web/chunk-xe7fj72r.js.gz +0 -0
- package/web/chunk-xp9tdb5t.js +1 -0
- package/web/chunk-xp9tdb5t.js.br +2 -0
- package/web/chunk-xp9tdb5t.js.gz +0 -0
- package/web/chunk-y10hsdq4.js +1 -0
- package/web/chunk-y10hsdq4.js.br +0 -0
- package/web/chunk-y10hsdq4.js.gz +0 -0
- package/web/chunk-yarsp7h7.js +12 -0
- package/web/chunk-yarsp7h7.js.br +0 -0
- package/web/chunk-yarsp7h7.js.gz +0 -0
- package/web/chunk-yw5wyz1q.js +55 -0
- package/web/chunk-yw5wyz1q.js.br +0 -0
- package/web/chunk-yw5wyz1q.js.gz +0 -0
- package/web/chunk-z3ea4vhk.js +1 -0
- package/web/chunk-z3ea4vhk.js.br +0 -0
- package/web/chunk-z3ea4vhk.js.gz +0 -0
- package/web/chunk-z7adzvfz.js +1 -0
- package/web/chunk-z7adzvfz.js.br +0 -0
- package/web/chunk-z7adzvfz.js.gz +0 -0
- package/web/chunk-zb01zmms.js +84 -0
- package/web/chunk-zb01zmms.js.br +0 -0
- package/web/chunk-zb01zmms.js.gz +0 -0
- package/web/index.html +3 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-13pbt8mn.js +0 -2
- package/chunk-14085qqt.js +0 -8
- package/chunk-2dph65ye.js +0 -3
- package/chunk-2v8anxgd.js +0 -9
- package/chunk-37f4ks5f.js +0 -3
- package/chunk-3q1hxwxb.js +0 -5
- package/chunk-3qs33s9g.js +0 -2
- package/chunk-53m94h0b.js +0 -7
- package/chunk-5jy2cnyr.js +0 -18
- package/chunk-5wfyn3k0.js +0 -3
- package/chunk-69v706tc.js +0 -5
- package/chunk-79h4rzza.js +0 -2
- package/chunk-7xfde6se.js +0 -3
- package/chunk-8bf4g2d7.js +0 -3
- package/chunk-adq8c7vt.js +0 -25
- package/chunk-ahpg469e.js +0 -3
- package/chunk-ary9gky8.js +0 -7
- package/chunk-becsymjn.js +0 -2
- package/chunk-beqps81c.js +0 -4
- package/chunk-bnvynyww.js +0 -3
- package/chunk-c785tr0e.js +0 -4078
- package/chunk-cc19pbgm.js +0 -12
- package/chunk-d6g5m56z.js +0 -2
- package/chunk-etkktxdc.js +0 -2
- package/chunk-etxsj2ey.js +0 -10
- package/chunk-f2ajxymw.js +0 -2
- package/chunk-f2bcfa6z.js +0 -7
- package/chunk-f47qdrkp.js +0 -2
- package/chunk-f5yg6yd0.js +0 -3
- package/chunk-fjk9ztjc.js +0 -11
- package/chunk-g99n5ywc.js +0 -3
- package/chunk-grwavjp7.js +0 -2
- package/chunk-gsek3gpd.js +0 -3
- package/chunk-gv9hbv9j.js +0 -2
- package/chunk-h045t6f1.js +0 -2
- package/chunk-h4g1tzk6.js +0 -11
- package/chunk-had2k7b9.js +0 -20
- package/chunk-hbm45044.js +0 -25
- package/chunk-hd2hars5.js +0 -3
- package/chunk-hfh230tm.js +0 -2
- package/chunk-hkx7d1j9.js +0 -7
- package/chunk-jbk2tmza.js +0 -5
- package/chunk-jv9sy0np.js +0 -2
- package/chunk-kdc8tq70.js +0 -2
- package/chunk-m1nevdw6.js +0 -3
- package/chunk-m6yrpt1f.js +0 -5
- package/chunk-mrchbvsy.js +0 -4
- package/chunk-n9x6akk3.js +0 -2
- package/chunk-ne94brn4.js +0 -3
- package/chunk-nv1jg79d.js +0 -2
- package/chunk-pvdt969t.js +0 -59
- package/chunk-q22dnah8.js +0 -3
- package/chunk-q2zayphb.js +0 -10
- package/chunk-q4h6djtp.js +0 -2
- package/chunk-qa8mne61.js +0 -2
- package/chunk-r9z9m75h.js +0 -16
- package/chunk-rmyzxqkd.js +0 -467
- package/chunk-rq647zmf.js +0 -2
- package/chunk-sj4jvm9p.js +0 -2
- package/chunk-sq0ra5m8.js +0 -4
- package/chunk-sxg03n4v.js +0 -2
- package/chunk-t0m1wjrn.js +0 -3
- package/chunk-td52edcm.js +0 -31
- package/chunk-tdnwaaw4.js +0 -12
- package/chunk-teky87xx.js +0 -3
- package/chunk-v1avwm7q.js +0 -3
- package/chunk-wcmk8ee3.js +0 -3
- package/chunk-wf9r0frb.js +0 -3
- package/chunk-wx697mre.js +0 -2
- package/chunk-wzz64ygm.js +0 -2
- package/chunk-xb9mwt5a.js +0 -2
- package/chunk-xbkbaa84.js +0 -2
- package/chunk-xjy31n64.js +0 -3
- package/chunk-xzn34n38.js +0 -389
- package/chunk-yprp5s5v.js +0 -3
- package/chunk-yyhdabhq.js +0 -15
- package/chunk-z2jp61ze.js +0 -39
- package/chunk-zt5szcek.js +0 -3
- package/chunk-zxb6cg3m.js +0 -2
- package/web/chunk-0ays2hhj.js +0 -41
- package/web/chunk-0ays2hhj.js.br +0 -0
- package/web/chunk-0ays2hhj.js.gz +0 -0
- package/web/chunk-0na4c1bp.js +0 -139
- package/web/chunk-0na4c1bp.js.br +0 -0
- package/web/chunk-0na4c1bp.js.gz +0 -0
- package/web/chunk-0y0p0ct0.js +0 -1
- package/web/chunk-0y0p0ct0.js.br +0 -0
- package/web/chunk-0y0p0ct0.js.gz +0 -0
- package/web/chunk-191v8amv.js +0 -1
- package/web/chunk-191v8amv.js.br +0 -0
- package/web/chunk-191v8amv.js.gz +0 -0
- package/web/chunk-1c6rhsft.js +0 -200
- package/web/chunk-1c6rhsft.js.br +0 -0
- package/web/chunk-1c6rhsft.js.gz +0 -0
- package/web/chunk-1mwkrh5f.js +0 -370
- package/web/chunk-1mwkrh5f.js.br +0 -0
- package/web/chunk-1mwkrh5f.js.gz +0 -0
- package/web/chunk-1q4r17he.js +0 -2
- package/web/chunk-1q4r17he.js.br +0 -0
- package/web/chunk-1q4r17he.js.gz +0 -0
- package/web/chunk-1sm3c8an.js +0 -8
- package/web/chunk-1sm3c8an.js.br +0 -0
- package/web/chunk-1sm3c8an.js.gz +0 -0
- package/web/chunk-1vmjpvy5.js +0 -1
- package/web/chunk-1vmjpvy5.js.br +0 -0
- package/web/chunk-1vmjpvy5.js.gz +0 -0
- package/web/chunk-1x4z5w5e.js +0 -1
- package/web/chunk-1x4z5w5e.js.br +0 -2
- package/web/chunk-1x4z5w5e.js.gz +0 -0
- package/web/chunk-22ncha3b.js +0 -142
- package/web/chunk-22ncha3b.js.br +0 -0
- package/web/chunk-22ncha3b.js.gz +0 -0
- package/web/chunk-239rqgmj.js +0 -24
- package/web/chunk-239rqgmj.js.br +0 -0
- package/web/chunk-239rqgmj.js.gz +0 -0
- package/web/chunk-2c6zessc.js +0 -2
- package/web/chunk-2c6zessc.js.br +0 -0
- package/web/chunk-2c6zessc.js.gz +0 -0
- package/web/chunk-2m7b1wmp.js +0 -1
- package/web/chunk-2m7b1wmp.js.br +0 -0
- package/web/chunk-2m7b1wmp.js.gz +0 -0
- package/web/chunk-2qncw4c0.js +0 -2
- package/web/chunk-2qncw4c0.js.br +0 -0
- package/web/chunk-2qncw4c0.js.gz +0 -0
- package/web/chunk-2r497559.js +0 -2
- package/web/chunk-2r497559.js.br +0 -0
- package/web/chunk-2r497559.js.gz +0 -0
- package/web/chunk-2t43cra8.js +0 -1
- package/web/chunk-2t43cra8.js.br +0 -0
- package/web/chunk-2t43cra8.js.gz +0 -0
- package/web/chunk-2v379e1v.js +0 -1
- package/web/chunk-2v379e1v.js.br +0 -2
- package/web/chunk-2v379e1v.js.gz +0 -0
- package/web/chunk-2ywd0vz2.js +0 -1
- package/web/chunk-2ywd0vz2.js.br +0 -0
- package/web/chunk-2ywd0vz2.js.gz +0 -0
- package/web/chunk-3626tdgf.js +0 -1
- package/web/chunk-3626tdgf.js.br +0 -0
- package/web/chunk-3626tdgf.js.gz +0 -0
- package/web/chunk-3fq54zbf.js +0 -2
- package/web/chunk-3fq54zbf.js.br +0 -0
- package/web/chunk-3fq54zbf.js.gz +0 -0
- package/web/chunk-3jptvn0z.js +0 -1
- package/web/chunk-3jptvn0z.js.br +0 -0
- package/web/chunk-3jptvn0z.js.gz +0 -0
- package/web/chunk-3k31m9yk.js +0 -7
- package/web/chunk-3k31m9yk.js.br +0 -0
- package/web/chunk-3k31m9yk.js.gz +0 -0
- package/web/chunk-3wrebqcz.js +0 -1
- package/web/chunk-3wrebqcz.js.br +0 -0
- package/web/chunk-3wrebqcz.js.gz +0 -0
- package/web/chunk-42z866aa.js +0 -1
- package/web/chunk-42z866aa.js.br +0 -0
- package/web/chunk-42z866aa.js.gz +0 -0
- package/web/chunk-46r5s1ag.js +0 -1
- package/web/chunk-46r5s1ag.js.br +0 -2
- package/web/chunk-46r5s1ag.js.gz +0 -0
- package/web/chunk-4h8kxmac.js +0 -1
- package/web/chunk-4h8kxmac.js.br +0 -2
- package/web/chunk-4h8kxmac.js.gz +0 -0
- package/web/chunk-4hmp8qcv.js +0 -1
- package/web/chunk-4hmp8qcv.js.br +0 -0
- package/web/chunk-4hmp8qcv.js.gz +0 -0
- package/web/chunk-4ryyn6k5.js +0 -1
- package/web/chunk-4ryyn6k5.js.br +0 -0
- package/web/chunk-4ryyn6k5.js.gz +0 -0
- package/web/chunk-4zp7b44y.js +0 -78
- package/web/chunk-4zp7b44y.js.br +0 -0
- package/web/chunk-4zp7b44y.js.gz +0 -0
- package/web/chunk-52n1enqe.js +0 -1
- package/web/chunk-52n1enqe.js.br +0 -0
- package/web/chunk-52n1enqe.js.gz +0 -0
- package/web/chunk-5m5jve5q.js +0 -2
- package/web/chunk-5m5jve5q.js.br +0 -0
- package/web/chunk-5m5jve5q.js.gz +0 -0
- package/web/chunk-62ssrwet.js +0 -1
- package/web/chunk-62ssrwet.js.br +0 -0
- package/web/chunk-62ssrwet.js.gz +0 -0
- package/web/chunk-6e14fdx8.js +0 -1
- package/web/chunk-6e14fdx8.js.br +0 -0
- package/web/chunk-6e14fdx8.js.gz +0 -0
- package/web/chunk-6kckk3j9.js +0 -1
- package/web/chunk-6kckk3j9.js.br +0 -2
- package/web/chunk-6kckk3j9.js.gz +0 -0
- package/web/chunk-6vdh5wx5.js +0 -1
- package/web/chunk-6vdh5wx5.js.br +0 -0
- package/web/chunk-6vdh5wx5.js.gz +0 -0
- package/web/chunk-6wyrfrh1.js +0 -1
- package/web/chunk-6wyrfrh1.js.br +0 -0
- package/web/chunk-6wyrfrh1.js.gz +0 -0
- package/web/chunk-77pcpdb5.js +0 -303
- package/web/chunk-77pcpdb5.js.br +0 -0
- package/web/chunk-77pcpdb5.js.gz +0 -0
- package/web/chunk-7dq3x88k.js +0 -120
- package/web/chunk-7dq3x88k.js.br +0 -0
- package/web/chunk-7dq3x88k.js.gz +0 -0
- package/web/chunk-7ebwmmjn.js +0 -34
- package/web/chunk-7ebwmmjn.js.br +0 -0
- package/web/chunk-7ebwmmjn.js.gz +0 -0
- package/web/chunk-7jra5kj0.js +0 -1
- package/web/chunk-7jra5kj0.js.br +0 -0
- package/web/chunk-7jra5kj0.js.gz +0 -0
- package/web/chunk-8dgtprxa.js +0 -2
- package/web/chunk-8dgtprxa.js.br +0 -0
- package/web/chunk-8dgtprxa.js.gz +0 -0
- package/web/chunk-8mrw5mgn.js +0 -1
- package/web/chunk-8mrw5mgn.js.br +0 -0
- package/web/chunk-8mrw5mgn.js.gz +0 -0
- package/web/chunk-8n1cyb8k.js +0 -99
- package/web/chunk-8n1cyb8k.js.br +0 -0
- package/web/chunk-8n1cyb8k.js.gz +0 -0
- package/web/chunk-8nxjthxc.js +0 -1
- package/web/chunk-8nxjthxc.js.br +0 -0
- package/web/chunk-8nxjthxc.js.gz +0 -0
- package/web/chunk-8ssjqdky.js +0 -1
- package/web/chunk-8ssjqdky.js.br +0 -2
- package/web/chunk-8ssjqdky.js.gz +0 -0
- package/web/chunk-90k6xrsa.js +0 -2
- package/web/chunk-90k6xrsa.js.br +0 -0
- package/web/chunk-90k6xrsa.js.gz +0 -0
- package/web/chunk-926v5sg8.js +0 -24
- package/web/chunk-926v5sg8.js.br +0 -0
- package/web/chunk-926v5sg8.js.gz +0 -0
- package/web/chunk-9kvr6dkh.js +0 -106
- package/web/chunk-9kvr6dkh.js.br +0 -0
- package/web/chunk-9kvr6dkh.js.gz +0 -0
- package/web/chunk-9s6zj1sh.js +0 -217
- package/web/chunk-9s6zj1sh.js.br +0 -0
- package/web/chunk-9s6zj1sh.js.gz +0 -0
- package/web/chunk-9vf3zy3d.js +0 -2
- package/web/chunk-9vf3zy3d.js.br +0 -0
- package/web/chunk-9vf3zy3d.js.gz +0 -0
- package/web/chunk-acpyx69f.js +0 -1
- package/web/chunk-acpyx69f.js.br +0 -0
- package/web/chunk-acpyx69f.js.gz +0 -0
- package/web/chunk-amch1hp8.js +0 -1
- package/web/chunk-amch1hp8.js.br +0 -0
- package/web/chunk-amch1hp8.js.gz +0 -0
- package/web/chunk-azjpkz26.js +0 -38
- package/web/chunk-azjpkz26.js.br +0 -0
- package/web/chunk-azjpkz26.js.gz +0 -0
- package/web/chunk-b2zmxzm0.js +0 -2
- package/web/chunk-b2zmxzm0.js.br +0 -0
- package/web/chunk-b2zmxzm0.js.gz +0 -0
- package/web/chunk-bgn0bkad.js +0 -98
- package/web/chunk-bgn0bkad.js.br +0 -0
- package/web/chunk-bgn0bkad.js.gz +0 -0
- package/web/chunk-bka3pbzn.js +0 -4
- package/web/chunk-bka3pbzn.js.br +0 -0
- package/web/chunk-bka3pbzn.js.gz +0 -0
- package/web/chunk-ck23t8as.js +0 -2
- package/web/chunk-ck23t8as.js.br +0 -0
- package/web/chunk-ck23t8as.js.gz +0 -0
- package/web/chunk-cp5ec63g.js +0 -30
- package/web/chunk-cp5ec63g.js.br +0 -0
- package/web/chunk-cp5ec63g.js.gz +0 -0
- package/web/chunk-cw21gjwg.js +0 -39
- package/web/chunk-cw21gjwg.js.br +0 -0
- package/web/chunk-cw21gjwg.js.gz +0 -0
- package/web/chunk-cxcpk0qt.js +0 -2
- package/web/chunk-cxcpk0qt.js.br +0 -0
- package/web/chunk-cxcpk0qt.js.gz +0 -0
- package/web/chunk-d3s30py8.js +0 -1
- package/web/chunk-d3s30py8.js.br +0 -0
- package/web/chunk-d3s30py8.js.gz +0 -0
- package/web/chunk-dj4jc1ec.js +0 -1
- package/web/chunk-dj4jc1ec.js.br +0 -0
- package/web/chunk-dj4jc1ec.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-ef2xw0kb.js +0 -1
- package/web/chunk-ef2xw0kb.js.br +0 -0
- package/web/chunk-ef2xw0kb.js.gz +0 -0
- package/web/chunk-emxa4wv3.js +0 -2
- package/web/chunk-emxa4wv3.js.br +0 -0
- package/web/chunk-emxa4wv3.js.gz +0 -0
- package/web/chunk-fek0yrg5.js +0 -2
- package/web/chunk-fek0yrg5.js.br +0 -0
- package/web/chunk-fek0yrg5.js.gz +0 -0
- package/web/chunk-fgm2r34b.js +0 -36
- package/web/chunk-fgm2r34b.js.br +0 -0
- package/web/chunk-fgm2r34b.js.gz +0 -0
- package/web/chunk-fpqs301q.js +0 -2
- package/web/chunk-fpqs301q.js.br +0 -0
- package/web/chunk-fpqs301q.js.gz +0 -0
- package/web/chunk-fv6se8xf.js +0 -1
- package/web/chunk-fv6se8xf.js.br +0 -2
- package/web/chunk-fv6se8xf.js.gz +0 -0
- package/web/chunk-g0nagyx2.js +0 -1
- package/web/chunk-g0nagyx2.js.br +0 -0
- package/web/chunk-g0nagyx2.js.gz +0 -0
- package/web/chunk-g5fp9ep9.js +0 -1
- package/web/chunk-g5fp9ep9.js.br +0 -0
- package/web/chunk-g5fp9ep9.js.gz +0 -0
- package/web/chunk-gh1fmd3j.js +0 -3
- package/web/chunk-gh1fmd3j.js.br +0 -0
- package/web/chunk-gh1fmd3j.js.gz +0 -0
- package/web/chunk-gq5825re.js +0 -70
- package/web/chunk-gq5825re.js.br +0 -0
- package/web/chunk-gq5825re.js.gz +0 -0
- package/web/chunk-gy57dyny.js +0 -1
- package/web/chunk-gy57dyny.js.br +0 -0
- package/web/chunk-gy57dyny.js.gz +0 -0
- package/web/chunk-j6jjk46a.js +0 -2
- package/web/chunk-j6jjk46a.js.br +0 -0
- package/web/chunk-j6jjk46a.js.gz +0 -0
- package/web/chunk-j7p6xhe2.js +0 -1
- package/web/chunk-j7p6xhe2.js.br +0 -0
- package/web/chunk-j7p6xhe2.js.gz +0 -0
- package/web/chunk-jb8xfsc6.js +0 -2
- package/web/chunk-jb8xfsc6.js.br +0 -0
- package/web/chunk-jb8xfsc6.js.gz +0 -0
- package/web/chunk-jqyxnnn0.js +0 -1
- package/web/chunk-jqyxnnn0.js.br +0 -0
- package/web/chunk-jqyxnnn0.js.gz +0 -0
- package/web/chunk-jtwct1bx.js +0 -1133
- package/web/chunk-jtwct1bx.js.br +0 -0
- package/web/chunk-jtwct1bx.js.gz +0 -0
- package/web/chunk-k22kq2t7.js +0 -12
- package/web/chunk-k22kq2t7.js.br +0 -0
- package/web/chunk-k22kq2t7.js.gz +0 -0
- package/web/chunk-k2ry7k7s.js +0 -1
- package/web/chunk-k2ry7k7s.js.br +0 -0
- package/web/chunk-k2ry7k7s.js.gz +0 -0
- package/web/chunk-k3aa37pw.js +0 -2
- package/web/chunk-k3aa37pw.js.br +0 -0
- package/web/chunk-k3aa37pw.js.gz +0 -0
- package/web/chunk-kdbrrecz.js +0 -332
- package/web/chunk-kdbrrecz.js.br +0 -0
- package/web/chunk-kdbrrecz.js.gz +0 -0
- package/web/chunk-kes2tf1q.js +0 -2
- package/web/chunk-kes2tf1q.js.br +0 -3
- package/web/chunk-kes2tf1q.js.gz +0 -0
- package/web/chunk-ksrzt6c5.js +0 -1
- package/web/chunk-ksrzt6c5.js.br +0 -0
- package/web/chunk-ksrzt6c5.js.gz +0 -0
- package/web/chunk-m2ethr1n.js +0 -84
- package/web/chunk-m2ethr1n.js.br +0 -0
- package/web/chunk-m2ethr1n.js.gz +0 -0
- package/web/chunk-m7tcm69z.js +0 -292
- package/web/chunk-m7tcm69z.js.br +0 -0
- package/web/chunk-m7tcm69z.js.gz +0 -0
- package/web/chunk-m8bz4e6n.js +0 -2
- package/web/chunk-m8bz4e6n.js.br +0 -0
- package/web/chunk-m8bz4e6n.js.gz +0 -0
- package/web/chunk-mva687p4.js +0 -1
- package/web/chunk-mva687p4.js.br +0 -0
- package/web/chunk-mva687p4.js.gz +0 -0
- package/web/chunk-n8fe9j5b.js +0 -214
- package/web/chunk-n8fe9j5b.js.br +0 -0
- package/web/chunk-n8fe9j5b.js.gz +0 -0
- package/web/chunk-nckx4yfd.js +0 -62
- package/web/chunk-nckx4yfd.js.br +0 -0
- package/web/chunk-nckx4yfd.js.gz +0 -0
- package/web/chunk-ncynjha5.js +0 -2
- package/web/chunk-ncynjha5.js.br +0 -0
- package/web/chunk-ncynjha5.js.gz +0 -0
- package/web/chunk-nq7dp0wj.js +0 -291
- package/web/chunk-nq7dp0wj.js.br +0 -0
- package/web/chunk-nq7dp0wj.js.gz +0 -0
- package/web/chunk-pagep4k3.js +0 -1
- package/web/chunk-pagep4k3.js.br +0 -0
- package/web/chunk-pagep4k3.js.gz +0 -0
- package/web/chunk-pbrk7zdw.js +0 -1
- package/web/chunk-pbrk7zdw.js.br +0 -0
- package/web/chunk-pbrk7zdw.js.gz +0 -0
- package/web/chunk-q0cs1bhg.js +0 -2
- package/web/chunk-q0cs1bhg.js.br +0 -0
- package/web/chunk-q0cs1bhg.js.gz +0 -0
- package/web/chunk-q749pgke.js +0 -1
- package/web/chunk-q749pgke.js.br +0 -0
- package/web/chunk-q749pgke.js.gz +0 -0
- package/web/chunk-q7yry602.js +0 -1
- package/web/chunk-q7yry602.js.br +0 -0
- package/web/chunk-q7yry602.js.gz +0 -0
- package/web/chunk-qkeaa97s.js +0 -1
- package/web/chunk-qkeaa97s.js.br +0 -0
- package/web/chunk-qkeaa97s.js.gz +0 -0
- package/web/chunk-qx7afyba.js +0 -1
- package/web/chunk-qx7afyba.js.br +0 -0
- package/web/chunk-qx7afyba.js.gz +0 -0
- package/web/chunk-qxvqkkmw.js +0 -1
- package/web/chunk-qxvqkkmw.js.br +0 -0
- package/web/chunk-qxvqkkmw.js.gz +0 -0
- package/web/chunk-qych3sbs.js +0 -1
- package/web/chunk-qych3sbs.js.br +0 -0
- package/web/chunk-qych3sbs.js.gz +0 -0
- package/web/chunk-rcaqmcm4.js +0 -40
- package/web/chunk-rcaqmcm4.js.br +0 -0
- package/web/chunk-rcaqmcm4.js.gz +0 -0
- package/web/chunk-s5kbbker.js +0 -89
- package/web/chunk-s5kbbker.js.br +0 -0
- package/web/chunk-s5kbbker.js.gz +0 -0
- package/web/chunk-sdq69ysp.js +0 -2
- package/web/chunk-sdq69ysp.js.br +0 -0
- package/web/chunk-sdq69ysp.js.gz +0 -0
- package/web/chunk-sgbc835w.js +0 -2
- package/web/chunk-sgbc835w.js.br +0 -0
- package/web/chunk-sgbc835w.js.gz +0 -0
- package/web/chunk-sk0cmsbx.js +0 -7
- package/web/chunk-sk0cmsbx.js.br +0 -0
- package/web/chunk-sk0cmsbx.js.gz +0 -0
- package/web/chunk-smmcx1z4.js +0 -324
- package/web/chunk-smmcx1z4.js.br +0 -0
- package/web/chunk-smmcx1z4.js.gz +0 -0
- package/web/chunk-sq7ntjp0.js +0 -16
- package/web/chunk-sq7ntjp0.js.br +0 -0
- package/web/chunk-sq7ntjp0.js.gz +0 -0
- package/web/chunk-st27df9w.js +0 -2
- package/web/chunk-st27df9w.js.br +0 -0
- package/web/chunk-st27df9w.js.gz +0 -0
- package/web/chunk-svxkg8n3.js +0 -2
- package/web/chunk-svxkg8n3.js.br +0 -0
- package/web/chunk-svxkg8n3.js.gz +0 -0
- package/web/chunk-t9nzrp2p.js +0 -1
- package/web/chunk-t9nzrp2p.js.br +0 -0
- package/web/chunk-t9nzrp2p.js.gz +0 -0
- package/web/chunk-t9t9v1r8.js +0 -55
- package/web/chunk-t9t9v1r8.js.br +0 -0
- package/web/chunk-t9t9v1r8.js.gz +0 -0
- package/web/chunk-tzpv48j3.js +0 -2
- package/web/chunk-tzpv48j3.js.br +0 -0
- package/web/chunk-tzpv48j3.js.gz +0 -0
- package/web/chunk-vgsk4ppw.js +0 -7
- package/web/chunk-vgsk4ppw.js.br +0 -0
- package/web/chunk-vgsk4ppw.js.gz +0 -0
- package/web/chunk-vq41ta7n.js +0 -4
- package/web/chunk-vq41ta7n.js.br +0 -0
- package/web/chunk-vq41ta7n.js.gz +0 -0
- package/web/chunk-vszya05r.js +0 -2
- package/web/chunk-vszya05r.js.br +0 -0
- package/web/chunk-vszya05r.js.gz +0 -0
- package/web/chunk-w08egbqf.js +0 -1
- package/web/chunk-w08egbqf.js.br +0 -0
- package/web/chunk-w08egbqf.js.gz +0 -0
- package/web/chunk-wcmq0qgh.js +0 -1
- package/web/chunk-wcmq0qgh.js.br +0 -0
- package/web/chunk-wcmq0qgh.js.gz +0 -0
- package/web/chunk-wctq02yb.js +0 -2
- package/web/chunk-wctq02yb.js.br +0 -0
- package/web/chunk-wctq02yb.js.gz +0 -0
- package/web/chunk-wfa1c8dn.js +0 -1
- package/web/chunk-wfa1c8dn.js.br +0 -0
- package/web/chunk-wfa1c8dn.js.gz +0 -0
- package/web/chunk-wfwadf3r.js +0 -2
- package/web/chunk-wfwadf3r.js.br +0 -0
- package/web/chunk-wfwadf3r.js.gz +0 -0
- package/web/chunk-wgas5t5y.js +0 -1
- package/web/chunk-wgas5t5y.js.br +0 -0
- package/web/chunk-wgas5t5y.js.gz +0 -0
- package/web/chunk-x7k4eyee.js +0 -21
- package/web/chunk-x7k4eyee.js.br +0 -0
- package/web/chunk-x7k4eyee.js.gz +0 -0
- package/web/chunk-xpv38q1f.js +0 -140
- package/web/chunk-xpv38q1f.js.br +0 -0
- package/web/chunk-xpv38q1f.js.gz +0 -0
- package/web/chunk-xt671z8e.js +0 -1
- package/web/chunk-xt671z8e.js.br +0 -0
- package/web/chunk-xt671z8e.js.gz +0 -0
- package/web/chunk-xwrrkwwx.css +0 -1
- package/web/chunk-xwrrkwwx.css.br +0 -0
- package/web/chunk-xwrrkwwx.css.gz +0 -0
- package/web/chunk-xwy3gth5.js +0 -89
- package/web/chunk-xwy3gth5.js.br +0 -0
- package/web/chunk-xwy3gth5.js.gz +0 -0
- package/web/chunk-xwyadj9p.js +0 -2
- package/web/chunk-xwyadj9p.js.br +0 -0
- package/web/chunk-xwyadj9p.js.gz +0 -0
- package/web/chunk-xzgvnd23.js +0 -1
- package/web/chunk-xzgvnd23.js.br +0 -0
- package/web/chunk-xzgvnd23.js.gz +0 -0
- package/web/chunk-y05m6rvz.js +0 -1
- package/web/chunk-y05m6rvz.js.br +0 -2
- package/web/chunk-y05m6rvz.js.gz +0 -0
- package/web/chunk-z51mtwh3.js +0 -169
- package/web/chunk-z51mtwh3.js.br +0 -0
- package/web/chunk-z51mtwh3.js.gz +0 -0
- package/web/chunk-z77xrqc1.js +0 -1
- package/web/chunk-z77xrqc1.js.br +0 -0
- package/web/chunk-z77xrqc1.js.gz +0 -0
- package/web/chunk-z946nbmn.js +0 -2
- package/web/chunk-z946nbmn.js.br +0 -0
- package/web/chunk-z946nbmn.js.gz +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v,o,i,r,p,e,n,y,s,be,Nt,$e,we,ye,mt,Pt,pe,oe,Dl,rs,ni,ri,as}from"./chunk-b83bzjcx.js";import{ui,di,pi}from"./chunk-m7kypzvp.js";var xe=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],ue=s("rotate-cw",xe);function fe(a){let{ApprovalPanel:P,Button:S,CopyButton:H,DetailChip:R,DetailList:g,DetailRow:u,DetailTitle:M,Dialog:D,Switch:Z,Tooltip:m,cn:te,confirm:w,useTheme:ne}=y();ne();let{info:l,connection:j}=a,N=a.projectID?`?projectID=${encodeURIComponent(a.projectID)}`:"",[G,ie]=r(),[J,z]=r(),[h,T]=r(!1),[b,E]=r(),[B,O]=r(),Y=l.status.status==="connected",ee=l.status.status==="needs_auth",A=l.status.status==="failed",t=l.config.type==="remote"&&Boolean(l.config.oauth),I=l.projectID!==(a.projectID??null);o(()=>{function d(k){if(k&&k!==l.name)return;j.request(`/api/mcp/${encodeURIComponent(l.name)}/connect${N}`,{method:"POST"}).then((C)=>a.onChanged(C)).catch((C)=>{z(C instanceof Error?C.message:"授权后重新连接失败")})}function c(k){if(k.origin!==window.location.origin)return;if(k.data?.type==="mcp-oauth-success")d(k.data.name)}function f(k){if(k.key==="basalt-mcp-oauth-event"&&k.newValue)try{let C=JSON.parse(k.newValue);d(C.name)}catch(C){}}window.addEventListener("message",c),window.addEventListener("storage",f);let K;if("BroadcastChannel"in window)K=new BroadcastChannel("basalt-mcp-oauth"),K.onmessage=(k)=>{if(k.data?.type==="mcp-oauth-success")d(k.data.name)};return()=>{window.removeEventListener("message",c),window.removeEventListener("storage",f),K?.close()}},[j,l.name,N,a]),o(()=>{if(l.status.status!=="connected")return;j.request(`/api/mcp/${encodeURIComponent(l.name)}/tools${N}`).then((d)=>{if(Array.isArray(d))ie(d),z(void 0)}).catch((d)=>{z(d instanceof Error?d.message:"获取工具失败")})},[j,l.name,N,l.status.status]);async function x(d){T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(l.name)}/${d}${N}`,{method:"POST"});a.onChanged(c)}catch{}finally{T(!1)}}async function F(){if(!b||h)return;let d=b.fingerprint;O(void 0),T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(l.name)}/trust${N}`,{method:"POST",body:JSON.stringify({fingerprint:d})});a.onChanged(c),E(void 0)}catch(c){O(c instanceof Error?c.message:"确认失败,请刷新配置")}finally{T(!1)}}async function U(){let d=window.open("about:blank","_blank","width=600,height=700");if(!d){z("授权窗口被浏览器拦截,请允许弹出窗口后重试");return}T(!0),z(void 0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(l.name)}/oauth/authorize${N}`,{method:"POST"}),f=new URL(c.authorizationUrl);if(f.protocol!=="https:"&&f.protocol!=="http:")throw Error("授权服务返回了不支持的链接协议");d.location.href=f.href}catch(c){d.close(),z(c instanceof Error?c.message:"获取授权链接失败")}finally{T(!1)}}async function re(){T(!0);try{let d=await j.request(`/api/mcp/${encodeURIComponent(l.name)}/oauth/clear${N}`,{method:"POST"});a.onChanged(d)}finally{T(!1)}}async function _(){if(!await w({title:`删除 ${l.name}?`,description:"删除后将断开连接并不再向会话提供其工具。",action:"删除",danger:!0}))return;T(!0);try{await j.request(`/api/mcp/${encodeURIComponent(l.name)}${N}`,{method:"DELETE"}),a.onChanged(),a.onClose()}finally{T(!1)}}let ae=l.config,le=ri(ae),V="error"in l.status?l.status.error:void 0,se=ae.enabled===!1,ce=!se&&!ee&&l.status.status!=="needs_trust";if(b)return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)E(void 0)},title:`信任 ${l.name}?`,size:"lg",children:n(P,{hideTitle:!0,title:"信任项目本地命令",command:b.command,approveLabel:"信任并连接",busy:h?"approve":void 0,error:B,onDecision:(d)=>{if(d)F();else E(void 0)},description:"项目命令将以你的权限运行,请确认来源可信。",children:[n("div",{className:"flex min-w-0 items-start gap-2 text-xs text-dim",children:[e("span",{className:"shrink-0 leading-5",children:"目录"}),e("code",{className:"min-w-0 flex-1 leading-5 [overflow-wrap:anywhere]",children:b.cwd}),e(H,{text:b.cwd,label:"复制工作目录",size:"icon-xs"})]}),n("section",{className:"min-w-0 space-y-2",children:[e("h3",{className:"text-xs font-medium text-dim",children:"环境变量"}),b.variables.length?e("div",{className:"flex min-w-0 flex-wrap gap-2",children:b.variables.map((d)=>e("span",{className:"max-w-full rounded-md bg-raised px-2 py-1 font-mono text-xs text-dim [overflow-wrap:anywhere]",children:d},d))}):e("p",{className:"text-xs text-faint",children:"无"})]}),e("p",{className:"text-xs leading-5 text-faint",children:"配置变更后需重新确认。"})]})});return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)a.onClose()},title:e(M,{icon:ae.type==="local"?e(Pt,{}):e($e,{}),name:l.name,meta:[ae.type==="local"?"本地命令":"远程服务",ni(l.scope),t&&"OAuth 2.0"]}),size:"lg",footer:n("div",{className:"flex w-full items-center justify-between gap-2 max-sm:[&>*]:flex-none",children:[n("div",{className:"inline-flex items-center gap-2.5 text-[13px] text-dim",children:[!I&&e(Z,{label:`启用 ${l.name}`,checked:!se,disabled:h||a.toggling,onCheckedChange:a.onToggle}),e(as,{info:l,tools:!0})]}),n("div",{className:"flex items-center gap-1.5",children:[l.status.status==="needs_trust"&&e(S,{type:"button",size:"sm",onClick:()=>{if(l.status.status!=="needs_trust"||l.config.type!=="local")return;O(void 0),E({fingerprint:l.status.fingerprint,cwd:l.status.cwd,command:ri(l.config),variables:Object.keys(l.config.environment??{})})},disabled:h,children:"信任并连接"}),t&&e(S,{type:"button",variant:"ghost",size:"sm",onClick:re,disabled:h,children:"清除凭据"}),!I&&e(m,{label:"删除服务器",children:e(S,{type:"button",variant:"danger-ghost",size:"icon","aria-label":"删除服务器",onClick:_,disabled:h,children:e(pe,{className:"size-4"})})}),ce&&e(m,{label:"终止服务进程并重新启动,让更新后的代码生效",children:e(S,{type:"button",variant:"ghost",size:"icon","aria-label":"重启",onClick:()=>x("restart"),disabled:h,children:e(ue,{className:te("size-4",h&&"animate-spin")})})}),ce&&e(S,{type:"button",size:"sm",onClick:()=>x(Y?"disconnect":"connect"),disabled:h,children:Y?"断开连接":"连接"}),!I&&n(S,{type:"button",size:"sm",onClick:a.onEdit,disabled:h,children:[e(mt,{className:"size-3.5"}),e("span",{children:"编辑配置"})]})]})]}),children:n(g,{children:[n(u,{label:ae.type==="local"?"命令":"地址",children:[e("span",{className:"min-w-0 font-mono text-[12px] text-dim leading-5.5 [overflow-wrap:anywhere]",children:le}),e(H,{text:le,label:"复制",size:"icon-xs",className:"shrink-0 text-faint hover:text-ink"})]}),ee&&n("div",{className:"flex items-center justify-between gap-4 py-3.5 max-sm:flex-col max-sm:items-start max-sm:gap-2.5",children:[n("div",{className:"min-w-0 space-y-1",children:[e("p",{className:"text-[13px] text-ink leading-5",children:"需要授权"}),e("p",{className:"text-xs text-faint leading-5",children:"完成授权后即可使用,凭据自动保存。"})]}),e(S,{type:"button",size:"sm",className:"shrink-0",onClick:U,disabled:h,children:h?"正在连接…":"连接账户"})]}),A&&e(u,{label:"错误",children:e("p",{className:"min-w-0 font-mono text-[11.5px] text-danger leading-5 [overflow-wrap:anywhere]",children:V})}),e(u,{label:"工具",children:J?e("span",{className:"text-danger",children:J}):!Y?e("span",{className:"text-faint",children:"连接后列出工具"}):!G?e("span",{role:"status",className:"text-faint",children:"正在获取"}):G.length===0?e("span",{className:"text-faint",children:"服务器没有声明任何工具"}):G.map((d)=>e(R,{mono:!0,title:d.description,children:d.name},d.name))})]})})}var Ce=/^[A-Za-z0-9_-]{1,64}$/;function Q(a){return e("span",{className:"truncate text-xs text-faint",children:a.children})}function ge(a){let{pairs:P,onChange:S,InputComponent:H}=a,R=(g,u)=>S(P.map((M,D)=>D===g?{...M,...u}:M));return n("div",{className:"space-y-2",children:[n("div",{className:"flex min-h-7 items-center gap-2",children:[e("span",{className:"shrink-0 text-[13px] font-medium text-dim",children:a.label}),e(Q,{children:a.tip}),n("button",{type:"button",className:"ml-auto inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-lg px-2 text-xs font-medium text-dim transition-colors hover:bg-raised hover:text-ink",onClick:()=>S([...P,{key:"",value:"",saved:!1}]),children:[e(we,{className:"size-3.5"}),"添加"]})]}),P.map((g,u)=>n("div",{className:"flex min-w-0 items-center gap-1.5",children:[e(H,{"aria-label":`${a.keyLabel} ${u+1}`,placeholder:a.keyLabel,value:g.key,readOnly:g.saved,onChange:(M)=>R(u,{key:M.target.value}),className:"min-w-0 flex-[2] font-mono text-xs"}),e(H,{"aria-label":`${a.keyLabel} ${g.key||u+1} 的值`,type:"password",autoComplete:"off",placeholder:g.saved?"已保存,留空保持不变":"值",value:g.value,onChange:(M)=>R(u,{value:M.target.value}),className:"min-w-0 flex-[3] font-mono text-xs"}),e("button",{type:"button","aria-label":`删除 ${g.key||"该项"}`,className:"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-faint transition-colors hover:bg-danger/10 hover:text-danger",onClick:()=>S(P.filter((M,D)=>D!==u)),children:e(oe,{className:"size-4"})})]},u))]})}function he(a){return Object.keys(a??{}).map((P)=>({key:P,value:"",saved:!0}))}function ve(a){let{Button:P,Segmented:S,Dialog:H,Form:R,Field:g,Input:u,Switch:M,style:D,useTheme:Z}=y();Z();let{existing:m}=a,[te,w]=r(m?.config.type??"local"),[ne,l]=r(m?.name??""),[j,N]=r(m?.config.type==="local"?rs(m.config.command):""),[G,ie]=r(m?.config.type==="remote"?m.config.url:""),[J,z]=r(he(m?.config.type==="local"?m.config.environment:void 0)),[h,T]=r(he(m?.config.type==="remote"?m.config.headers:void 0)),b=m?.config.type==="remote"?m.config.oauth:void 0,[E,B]=r(Boolean(b)),[O,Y]=r(typeof b==="object"&&b.clientId?b.clientId:""),[ee,A]=r(""),[t,I]=r(typeof b==="object"&&b.scope?b.scope:""),[x,F]=r(m?.config.defer??"default"),[U,re]=r(m?.config.timeout!==void 0?String(m.config.timeout):""),[_,ae]=r(m?.config.defer!==void 0||m?.config.timeout!==void 0),[le,V]=r(),[se,ce]=r(!1);async function d(c){c.preventDefault(),V(void 0);let f=ne.trim();if(!m&&!Ce.test(f)){V("名称只能包含英文字母、数字、下划线与中划线,长度 1-64");return}if(!m&&a.taken.includes(f)){V("同名服务器已存在");return}let K=U.trim()?Number.parseInt(U.trim(),10):void 0;if(K!==void 0&&(!Number.isFinite(K)||K<=0)){V("超时时间须为大于 0 的毫秒数");return}let k;if(te==="local"){let C=Dl(j.trim());if(!C.length){V("请输入启动命令");return}let W={};for(let q of J){let L=q.key.trim();if(!L)continue;if(!q.saved||q.value)W[L]=q.value}k={type:"local",command:C,environment:Object.keys(W).length?W:void 0,enabled:m?m.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}else{let C=G.trim();try{let L=new URL(C);if(L.protocol!=="http:"&&L.protocol!=="https:")throw Error("bad protocol")}catch{V("请输入合法的 HTTP 或 HTTPS 地址");return}let W={};for(let L of h){let de=L.key.trim();if(!de)continue;if(!L.saved||L.value)W[de]=L.value}let q;if(E){let L=O.trim(),de=ee.trim(),me=t.trim();if(L||de||me)q={clientId:L||void 0,clientSecret:de||void 0,scope:me||void 0};else q=!0}else q=!1;k={type:"remote",url:C,headers:Object.keys(W).length?W:void 0,oauth:q,enabled:m?m.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}ce(!0);try{let C=m?.name??f,W=m?m.projectID:a.projectID,q=W?`?projectID=${encodeURIComponent(W)}`:"";await a.connection.request(`/api/mcp/${encodeURIComponent(C)}${q}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(k)}),a.onSaved()}catch(C){V(C instanceof Error?C.message:"保存失败")}finally{ce(!1)}}return e(H,{open:!0,onOpenChange:(c)=>{if(!c&&!se)a.onClose()},title:m?`编辑 ${m.name}`:"添加 MCP 服务器",size:"lg",footer:n("div",{className:"flex w-full justify-end gap-2.5",children:[e(P,{type:"button",variant:"ghost",onClick:a.onClose,disabled:se,className:"min-w-20",children:"取消"}),e(P,{type:"submit",form:"mcp-server-form",variant:"primary",disabled:se,className:"min-w-24",children:se?"保存中...":"保存"})]}),children:n(R,{id:"mcp-server-form",onSubmit:d,children:[e(S,{value:te,onChange:(c)=>w(c),className:"w-full [&>button]:flex-1",options:[{value:"local",label:"本地(标准输入输出)"},{value:"remote",label:"远程(HTTP / SSE)"}]}),!m&&e(g,{label:"名称",aside:e(Q,{children:"唯一标识,如 postgres"}),children:(c)=>e(u,{id:c,value:ne,onChange:(f)=>l(f.target.value),placeholder:"postgres",className:"font-mono text-xs"})}),te==="local"?n(p,{children:[e(g,{label:"启动命令",aside:e(Q,{children:"完整命令及参数"}),children:(c)=>e(u,{id:c,value:j,onChange:(f)=>N(f.target.value),placeholder:"npx -y @modelcontextprotocol/server-postgres ...",className:"font-mono text-xs"})}),e(ge,{label:"环境变量",tip:"启动进程时注入",keyLabel:"变量名",pairs:J,onChange:z,InputComponent:u})]}):n(p,{children:[e(g,{label:"服务地址",aside:e(Q,{children:"HTTP / HTTPS 端点"}),children:(c)=>e(u,{id:c,value:G,onChange:(f)=>ie(f.target.value),placeholder:"https://example.com/mcp",className:"font-mono text-xs"})}),e(ge,{label:"请求头",tip:"随每次请求发送",keyLabel:"头字段",pairs:h,onChange:T,InputComponent:u}),n("div",{className:"flex items-center justify-between gap-4",children:[n("div",{className:"min-w-0",children:[e("span",{className:"block text-[13px] font-medium text-dim",children:"OAuth 2.0 认证"}),e("span",{className:"block truncate text-xs text-faint",children:"自动发现授权端点,使用 PKCE 并刷新令牌"})]}),e(M,{checked:E,onCheckedChange:B,label:"启用 OAuth 2.0"})]}),E&&n(p,{children:[e(g,{label:"Client ID",aside:e(Q,{children:"留空自动动态注册(DCR)"}),children:(c)=>e(u,{id:c,value:O,onChange:(f)=>Y(f.target.value),placeholder:"留空自动动态注册",className:"font-mono text-xs"})}),e(g,{label:"Client Secret",aside:e(Q,{children:"留空保持不变"}),children:(c)=>e(u,{id:c,type:"password",autoComplete:"off",value:ee,onChange:(f)=>A(f.target.value),placeholder:"••••••••",className:"font-mono text-xs"})}),e(g,{label:"Scope",aside:e(Q,{children:"选填授权范围"}),children:(c)=>e(u,{id:c,value:t,onChange:(f)=>I(f.target.value),placeholder:"repo read:org",className:"font-mono text-xs"})})]})]}),n("div",{className:"space-y-3 border-t border-line/60 pt-3",children:[n("button",{type:"button","aria-expanded":_,className:"flex w-full cursor-pointer items-center gap-1.5 text-[13px] font-medium text-dim transition-colors hover:text-ink",onClick:()=>ae(!_),children:[e(Nt,{className:`size-3.5 transition-transform ${_?"rotate-90":""}`}),"高级设置",e("span",{className:"truncate text-xs font-normal text-faint",children:"加载时机、超时"})]}),_&&n("div",{className:"grid grid-cols-2 gap-3 max-sm:grid-cols-1",children:[e(g,{label:"加载时机",aside:e(Q,{children:"延迟 = 按需加载"}),children:()=>e(S,{value:x,onChange:(c)=>F(c),className:"w-full [&>button]:flex-1",options:[{value:"default",label:"默认"},{value:"defer",label:"延迟"},{value:"always",label:"常驻"}]})}),e(g,{label:"超时(毫秒)",aside:e(Q,{children:"留空用默认"}),children:(c)=>e(u,{id:c,value:U,onChange:(f)=>re(f.target.value),placeholder:"默认",className:"font-mono text-xs"})})]})]}),le&&n("div",{role:"alert",className:D("callout.base",D("callout.danger"),"px-3 py-2.5 text-xs"),children:[e(be,{className:"mt-0.5 size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:le})]})]})})}var X="global";function He({connection:a}){let{Button:P,Select:S,CatalogRow:H,style:R,useTheme:g}=y();g();let[u,M]=r(""),[D,Z]=r(),[m,te]=r([]),[w,ne]=r(X),[l,j]=r(),[N,G]=r(!1),[ie,J]=r(),[z,h]=r(!1),T=i(!1),[b,E]=r(),B=i(0),O=v(async()=>{let t=++B.current;G(!0);try{let I=w===X?"":`?projectID=${encodeURIComponent(w)}`,[x,F]=await Promise.all([a.request(`/api/mcp${I}`),a.request("/api/mcp/projects")]);if(t!==B.current)return;if(Z(x),te(F),w!==X&&!F.some((U)=>U.id===w))ne(X);j(void 0)}catch(I){if(t===B.current)j(I instanceof Error?I.message:"读取失败")}finally{if(t===B.current)G(!1)}},[a,w]);o(()=>(O(),()=>{B.current++}),[O]);async function Y(t,I){if(T.current)return;T.current=!0,h(!0);let x=B.current;try{let F=t.projectID?`?projectID=${encodeURIComponent(t.projectID)}`:"",U=await a.request(`/api/mcp/${encodeURIComponent(t.name)}${F}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({...t.config,enabled:I})});if(x===B.current)Z((re)=>re?.map((_)=>_.name===U.name&&_.projectID===U.projectID?U:_))}finally{T.current=!1,h(!1)}}let ee=D?.filter((t)=>`${t.name} ${ri(t.config)}`.toLowerCase().includes(u.trim().toLowerCase())),A=D?.find((t)=>t.name===ie);return n("div",{className:"min-w-0 space-y-6",children:[n("section",{className:"min-w-0",children:[n("div",{className:"mb-2.5 flex flex-wrap items-end justify-between gap-3 px-0.5",children:[n("div",{className:"min-w-0 flex-1 basis-48",children:[e("h2",{className:R("settings.groupTitle"),children:"MCP 服务器"}),e("p",{className:R("settings.groupDesc"),children:"外部工具与数据源管理"})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(S,{value:w,disabled:N,onValueChange:(t)=>{J(void 0),E(void 0),Z(void 0),ne(t)},groups:[{options:[{value:X,label:"全局"}]},...ui(m)],className:"w-44"}),e(P,{variant:"ghost",disabled:N,onClick:O,className:"h-9 px-2.5 text-xs",children:e(ye,{className:`size-3.5 ${N?"animate-spin":""}`})}),n(P,{variant:"secondary",onClick:()=>E({}),className:"h-9 px-2.5 text-xs",children:[e(we,{className:"size-3.5 mr-1"}),"添加服务器"]})]})]}),l&&n("div",{role:"alert",className:R("callout.base",R("callout.danger"),"mb-3 flex-wrap items-center justify-between"),children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法读取 MCP 服务器:",l]}),e(P,{disabled:N,onClick:O,children:"重试"})]}),e(di,{label:"搜索 MCP 服务器",placeholder:"搜索服务器",value:u,onChange:M}),e("div",{className:R("settings.groupBox"),children:!D?e(pi,{}):ee?.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有匹配的 MCP 服务器"}):e("ul",{className:"divide-y divide-line",children:ee?.map((t)=>{let I=t.config.enabled===!1,x=t.projectID!==(w===X?null:w);return e("li",{children:e(H,{name:t.name,selectLabel:`查看 ${t.name}`,onSelect:()=>J(t.name),title:x?"继承的全局配置,请切换到全局范围编辑":void 0,description:e("span",{className:"font-mono text-[11px]",children:ri(t.config)}),icon:t.config.type==="local"?e(Pt,{}):e($e,{}),inactive:I,aside:n(p,{children:[e("span",{className:R("control.badge"),children:ni(t.scope)}),e(as,{info:t})]}),toggle:x?void 0:{checked:!I,label:`启用服务器 ${t.name}`,disabled:z||N,onCheckedChange:(F)=>Y(t,F)}})},t.name)})})})]}),A&&!b&&e(fe,{connection:a,info:A,toggling:z,onToggle:(t)=>Y(A,t),projectID:w===X?void 0:w,onClose:()=>J(void 0),onEdit:()=>E({info:A}),onChanged:(t)=>t?Z((I)=>I?.map((x)=>x.name===t.name?t:x)):O()},`${A.projectID}:${A.name}`),b&&e(ve,{connection:a,projectID:w===X?void 0:w,existing:b.info,taken:(D??[]).filter((t)=>t.scope===(w===X?"global":"project")).map((t)=>t.name),onClose:()=>E(void 0),onSaved:()=>{E(void 0),O()}})]})}export{He as McpSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import{t,vo,a,k,G,A,R,I,L,D,P,N,u,h,Pr,Ua,Or,$s,St,pl,dr,oa,F}from"./chunk-dbv8qpen.js";import"./chunk-89crtpnw.js";import{Kr,kr}from"./chunk-5cp4n5ck.js";import{_a,mi,Xi,fi,fn}from"./chunk-qh24q7c0.js";import{Ln}from"./chunk-9y9nwaqj.js";import{Ze,Xe}from"./chunk-b83bzjcx.js";var pn=Xe(function(tr,er){(function(e,r){typeof tr=="object"&&typeof er<"u"?er.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_isoWeek=r()})(tr,function(){var e="day";return function(r,n,i){var s=function(w){return w.add(4-w.isoWeekday(),e)},o=n.prototype;o.isoWeekYear=function(){return s(this).year()},o.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),e);var M,z,U,X,W=s(this),V=(M=this.isoWeekYear(),z=this.$u,U=(z?i.utc:i)().year(M).startOf("year"),X=4-U.isoWeekday(),U.isoWeekday()>4&&(X+=7),U.add(X,e));return W.diff(V,"week")+1},o.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var l=o.startOf;o.startOf=function(w,M){var z=this.$utils(),U=!!z.u(M)||M;return z.p(w)==="isoweek"?U?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):l.bind(this)(w,M)}}})});var Tn=Xe(function(rr,nr){(function(e,r){typeof rr=="object"&&typeof nr<"u"?nr.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_customParseFormat=r()})(rr,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,l={},w=function(Y){return(Y=+Y)+(Y>68?1900:2000)},M=function(Y){return function(B){this[Y]=+B}},z=[/[+-]\d\d:?(\d\d)?|Z/,function(Y){(this.zone||(this.zone={})).offset=function(B){if(!B)return 0;if(B==="Z")return 0;var E=B.match(/([+-]|\d\d)/g),tt=60*E[1]+(+E[2]||0);return tt===0?0:E[0]==="+"?-tt:tt}(Y)}],U=function(Y){var B=l[Y];return B&&(B.indexOf?B:B.s.concat(B.f))},X=function(Y,B){var E,tt=l.meridiem;if(tt){for(var ft=1;ft<=24;ft+=1)if(Y.indexOf(tt(ft,0,B))>-1){E=ft>12;break}}else E=Y===(B?"pm":"PM");return E},W={A:[o,function(Y){this.afternoon=X(Y,!1)}],a:[o,function(Y){this.afternoon=X(Y,!0)}],Q:[n,function(Y){this.month=3*(Y-1)+1}],S:[n,function(Y){this.milliseconds=100*+Y}],SS:[i,function(Y){this.milliseconds=10*+Y}],SSS:[/\d{3}/,function(Y){this.milliseconds=+Y}],s:[s,M("seconds")],ss:[s,M("seconds")],m:[s,M("minutes")],mm:[s,M("minutes")],H:[s,M("hours")],h:[s,M("hours")],HH:[s,M("hours")],hh:[s,M("hours")],D:[s,M("day")],DD:[i,M("day")],Do:[o,function(Y){var B=l.ordinal,E=Y.match(/\d+/);if(this.day=E[0],B)for(var tt=1;tt<=31;tt+=1)B(tt).replace(/\[|\]/g,"")===Y&&(this.day=tt)}],w:[s,M("week")],ww:[i,M("week")],M:[s,M("month")],MM:[i,M("month")],MMM:[o,function(Y){var B=U("months"),E=(U("monthsShort")||B.map(function(tt){return tt.slice(0,3)})).indexOf(Y)+1;if(E<1)throw Error();this.month=E%12||E}],MMMM:[o,function(Y){var B=U("months").indexOf(Y)+1;if(B<1)throw Error();this.month=B%12||B}],Y:[/[+-]?\d+/,M("year")],YY:[i,function(Y){this.year=w(Y)}],YYYY:[/\d{4}/,M("year")],Z:z,ZZ:z};function V(Y){var B,E;B=Y,E=l&&l.formats;for(var tt=(Y=B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(rt,nt,x){var _=x&&x.toUpperCase();return nt||E[x]||e[x]||E[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,H,d){return H||d.slice(1)})})).match(r),ft=tt.length,at=0;at<ft;at+=1){var Z=tt[at],C=W[Z],f=C&&C[0],O=C&&C[1];tt[at]=O?{regex:f,parser:O}:Z.replace(/^\[|\]$/g,"")}return function(rt){for(var nt={},x=0,_=0;x<ft;x+=1){var S=tt[x];if(typeof S=="string")_+=S.length;else{var{regex:H,parser:d}=S,b=rt.slice(_),v=H.exec(b)[0];d.call(nt,v),rt=rt.replace(v,"")}}return function(T){var Q=T.afternoon;if(Q!==void 0){var c=T.hours;Q?c<12&&(T.hours+=12):c===12&&(T.hours=0),delete T.afternoon}}(nt),nt}}return function(Y,B,E){E.p.customParseFormat=!0,Y&&Y.parseTwoDigitYear&&(w=Y.parseTwoDigitYear);var tt=B.prototype,ft=tt.parse;tt.parse=function(at){var{date:Z,utc:C,args:f}=at;this.$u=C;var O=f[1];if(typeof O=="string"){var rt=f[2]===!0,nt=f[3]===!0,x=rt||nt,_=f[2];nt&&(_=f[2]),l=this.$locale(),!rt&&_&&(l=E.Ls[_]),this.$d=function(b,v,T,Q){try{if(["x","X"].indexOf(v)>-1)return new Date((v==="X"?1000:1)*b);var c=V(v)(b),{year:J,month:y,day:mt,hours:m,minutes:q,seconds:K,milliseconds:ut,zone:lt,week:it}=c,p=new Date,j=mt||(J||y?1:p.getDate()),et=J||p.getFullYear(),g=0;J&&!y||(g=y>0?y-1:p.getMonth());var ht,st=m||0,ot=q||0,yt=K||0,gt=ut||0;return lt?new Date(Date.UTC(et,g,j,st,ot,yt,gt+60*lt.offset*1000)):T?new Date(Date.UTC(et,g,j,st,ot,yt,gt)):(ht=new Date(et,g,j,st,ot,yt,gt),it&&(ht=Q(ht).week(it).toDate()),ht)}catch(Tt){return new Date("")}}(Z,O,C,E),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),x&&Z!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var S=O.length,H=1;H<=S;H+=1){f[1]=O[H-1];var d=E.apply(this,f);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}H===S&&(this.$d=new Date(""))}else ft.call(this,at)}}})});var vn=Xe(function(ir,ar){(function(e,r){typeof ir=="object"&&typeof ar<"u"?ar.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_advancedFormat=r()})(ir,function(){return function(e,r){var n=r.prototype,i=n.format;n.format=function(s){var o=this,l=this.$locale();if(!this.isValid())return i.bind(this)(s);var w=this.$utils(),M=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(z){switch(z){case"Q":return Math.ceil((o.$M+1)/3);case"Do":return l.ordinal(o.$D);case"gggg":return o.weekYear();case"GGGG":return o.isoWeekYear();case"wo":return l.ordinal(o.week(),"W");case"w":case"ww":return w.s(o.week(),z==="w"?1:2,"0");case"W":case"WW":return w.s(o.isoWeek(),z==="W"?1:2,"0");case"k":case"kk":return w.s(String(o.$H===0?24:o.$H),z==="k"?1:2,"0");case"X":return Math.floor(o.$d.getTime()/1000);case"x":return o.$d.getTime();case"z":return"["+o.offsetName()+"]";case"zzz":return"["+o.offsetName("long")+"]";default:return z}});return i.bind(this)(M)}}})});var xn=Xe(function(sr,or){(function(e,r){typeof sr=="object"&&typeof or<"u"?or.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_duration=r()})(sr,function(){var e,r,n=1000,i=60000,s=3600000,o=86400000,l=31536000000,w=2628000000,M=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,z=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,U={years:l,months:w,days:o,hours:s,minutes:i,seconds:n,milliseconds:1,weeks:604800000},X=function(Z){return Z instanceof ft},W=function(Z,C,f){return new ft(Z,f,C.$l)},V=function(Z){return r.p(Z)+"s"},Y=function(Z){return Z<0},B=function(Z){return Y(Z)?Math.ceil(Z):Math.floor(Z)},E=function(Z){return Math.abs(Z)},tt=function(Z,C){return Z?Y(Z)?{negative:!0,format:""+E(Z)+C}:{negative:!1,format:""+Z+C}:{negative:!1,format:""}},ft=function(){function Z(f,O,rt){var nt=this;if(this.$d={},this.$l=rt,f===void 0&&(this.$ms=0,this.parseFromMilliseconds()),O)return W(f*U[V(O)],this);if(typeof f=="number")return this.$ms=f,this.parseFromMilliseconds(),this;if(typeof f=="object")return Object.keys(f).forEach(function(S){nt.$d[V(S)]=f[S]}),this.calMilliseconds(),this;if(typeof f=="string"){var x=f.match(M);if(x){var _=x.slice(2).map(function(S){return S!=null?Number(S):0});return this.$d.years=_[0],this.$d.months=_[1],this.$d.weeks=_[2],this.$d.days=_[3],this.$d.hours=_[4],this.$d.minutes=_[5],this.$d.seconds=_[6],this.calMilliseconds(),this}}return this}var C=Z.prototype;return C.calMilliseconds=function(){var f=this;this.$ms=Object.keys(this.$d).reduce(function(O,rt){return O+(f.$d[rt]||0)*U[rt]},0)},C.parseFromMilliseconds=function(){var f=this.$ms;this.$d.years=B(f/l),f%=l,this.$d.months=B(f/w),f%=w,this.$d.days=B(f/o),f%=o,this.$d.hours=B(f/s),f%=s,this.$d.minutes=B(f/i),f%=i,this.$d.seconds=B(f/n),f%=n,this.$d.milliseconds=f},C.toISOString=function(){var f=tt(this.$d.years,"Y"),O=tt(this.$d.months,"M"),rt=+this.$d.days||0;this.$d.weeks&&(rt+=7*this.$d.weeks);var nt=tt(rt,"D"),x=tt(this.$d.hours,"H"),_=tt(this.$d.minutes,"M"),S=this.$d.seconds||0;this.$d.milliseconds&&(S+=this.$d.milliseconds/1000,S=Math.round(1000*S)/1000);var H=tt(S,"S"),d=f.negative||O.negative||nt.negative||x.negative||_.negative||H.negative,b=x.format||_.format||H.format?"T":"",v=(d?"-":"")+"P"+f.format+O.format+nt.format+b+x.format+_.format+H.format;return v==="P"||v==="-P"?"P0D":v},C.toJSON=function(){return this.toISOString()},C.format=function(f){var O=f||"YYYY-MM-DDTHH:mm:ss",rt={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return O.replace(z,function(nt,x){return x||String(rt[nt])})},C.as=function(f){return this.$ms/U[V(f)]},C.get=function(f){var O=this.$ms,rt=V(f);return rt==="milliseconds"?O%=1000:O=rt==="weeks"?B(O/U[rt]):this.$d[rt],O||0},C.add=function(f,O,rt){var nt;return nt=O?f*U[V(O)]:X(f)?f.$ms:W(f,this).$ms,W(this.$ms+nt*(rt?-1:1),this)},C.subtract=function(f,O){return this.add(f,O,!0)},C.locale=function(f){var O=this.clone();return O.$l=f,O},C.clone=function(){return W(this.$ms,this)},C.humanize=function(f){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!f)},C.valueOf=function(){return this.asMilliseconds()},C.milliseconds=function(){return this.get("milliseconds")},C.asMilliseconds=function(){return this.as("milliseconds")},C.seconds=function(){return this.get("seconds")},C.asSeconds=function(){return this.as("seconds")},C.minutes=function(){return this.get("minutes")},C.asMinutes=function(){return this.as("minutes")},C.hours=function(){return this.get("hours")},C.asHours=function(){return this.as("hours")},C.days=function(){return this.get("days")},C.asDays=function(){return this.as("days")},C.weeks=function(){return this.get("weeks")},C.asWeeks=function(){return this.as("weeks")},C.months=function(){return this.get("months")},C.asMonths=function(){return this.as("months")},C.years=function(){return this.get("years")},C.asYears=function(){return this.as("years")},Z}(),at=function(Z,C,f){return Z.add(C.years()*f,"y").add(C.months()*f,"M").add(C.days()*f,"d").add(C.hours()*f,"h").add(C.minutes()*f,"m").add(C.seconds()*f,"s").add(C.milliseconds()*f,"ms")};return function(Z,C,f){e=f,r=f().$utils(),f.duration=function(nt,x){var _=f.locale();return W(nt,{$l:_},x)},f.isDuration=X;var O=C.prototype.add,rt=C.prototype.subtract;C.prototype.add=function(nt,x){return X(nt)?at(this,nt,1):O.bind(this)(nt,x)},C.prototype.subtract=function(nt,x){return X(nt)?at(this,nt,-1):rt.bind(this)(nt,x)}}})});function Ue(e){return e}var he=1,Le=2,We=3,me=4,Cr=0.000001;function Pn(e){return"translate("+e+",0)"}function Vn(e){return"translate(0,"+e+")"}function zn(e){return(r)=>+e(r)}function Rn(e,r){if(r=Math.max(0,e.bandwidth()-r*2)/2,e.round())r=Math.round(r);return(n)=>+e(n)+r}function Bn(){return!this.__axis}function Sr(e,r){var n=[],i=null,s=null,o=6,l=6,w=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:0.5,z=e===he||e===me?-1:1,U=e===me||e===Le?"x":"y",X=e===he||e===We?Pn:Vn;function W(V){var Y=i==null?r.ticks?r.ticks.apply(r,n):r.domain():i,B=s==null?r.tickFormat?r.tickFormat.apply(r,n):Ue:s,E=Math.max(o,0)+w,tt=r.range(),ft=+tt[0]+M,at=+tt[tt.length-1]+M,Z=(r.bandwidth?Rn:zn)(r.copy(),M),C=V.selection?V.selection():V,f=C.selectAll(".domain").data([null]),O=C.selectAll(".tick").data(Y,r).order(),rt=O.exit(),nt=O.enter().append("g").attr("class","tick"),x=O.select("line"),_=O.select("text");if(f=f.merge(f.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),O=O.merge(nt),x=x.merge(nt.append("line").attr("stroke","currentColor").attr(U+"2",z*o)),_=_.merge(nt.append("text").attr("fill","currentColor").attr(U,z*E).attr("dy",e===he?"0em":e===We?"0.71em":"0.32em")),V!==C)f=f.transition(V),O=O.transition(V),x=x.transition(V),_=_.transition(V),rt=rt.transition(V).attr("opacity",Cr).attr("transform",function(S){return isFinite(S=Z(S))?X(S+M):this.getAttribute("transform")}),nt.attr("opacity",Cr).attr("transform",function(S){var H=this.parentNode.__axis;return X((H&&isFinite(H=H(S))?H:Z(S))+M)});rt.remove(),f.attr("d",e===me||e===Le?l?"M"+z*l+","+ft+"H"+M+"V"+at+"H"+z*l:"M"+M+","+ft+"V"+at:l?"M"+ft+","+z*l+"V"+M+"H"+at+"V"+z*l:"M"+ft+","+M+"H"+at),O.attr("opacity",1).attr("transform",function(S){return X(Z(S)+M)}),x.attr(U+"2",z*o),_.attr(U,z*E).text(B),C.filter(Bn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Le?"start":e===me?"end":"middle"),C.each(function(){this.__axis=Z})}return W.scale=function(V){return arguments.length?(r=V,W):r},W.ticks=function(){return n=Array.from(arguments),W},W.tickArguments=function(V){return arguments.length?(n=V==null?[]:Array.from(V),W):n.slice()},W.tickValues=function(V){return arguments.length?(i=V==null?null:Array.from(V),W):i&&i.slice()},W.tickFormat=function(V){return arguments.length?(s=V,W):s},W.tickSize=function(V){return arguments.length?(o=l=+V,W):o},W.tickSizeInner=function(V){return arguments.length?(o=+V,W):o},W.tickSizeOuter=function(V){return arguments.length?(l=+V,W):l},W.tickPadding=function(V){return arguments.length?(w=+V,W):w},W.offset=function(V){return arguments.length?(M=+V,W):M},W}function Ee(e){return Sr(he,e)}function Ae(e){return Sr(We,e)}var _r=Math.PI/180,Yr=180/Math.PI;var ye=18,Fr=0.96422,Ir=1,Ur=0.82521,Lr=0.13793103448275862,qt=0.20689655172413793,Wr=3*qt*qt,Zn=qt*qt*qt;function Er(e){if(e instanceof Ft)return new Ft(e.l,e.a,e.b,e.opacity);if(e instanceof At)return $r(e);if(!(e instanceof St))e=$s(e);var r=Ne(e.r),n=Ne(e.g),i=Ne(e.b),s=Oe((0.2225045*r+0.7168786*n+0.0606169*i)/Ir),o,l;if(r===n&&n===i)o=l=s;else o=Oe((0.4360747*r+0.3850649*n+0.1430804*i)/Fr),l=Oe((0.0139322*r+0.0971045*n+0.7141733*i)/Ur);return new Ft(116*s-16,500*(o-s),200*(s-l),e.opacity)}function Ar(e,r,n,i){return arguments.length===1?Er(e):new Ft(e,r,n,i==null?1:i)}function Ft(e,r,n,i){this.l=+e,this.a=+r,this.b=+n,this.opacity=+i}Pr(Ft,Ar,Ua(Or,{brighter(e){return new Ft(this.l+ye*(e==null?1:e),this.a,this.b,this.opacity)},darker(e){return new Ft(this.l-ye*(e==null?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,r=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return r=Fr*$e(r),e=Ir*$e(e),n=Ur*$e(n),new St(He(3.1338561*r-1.6168667*e-0.4906146*n),He(-0.9787684*r+1.9161415*e+0.033454*n),He(0.0719453*r-0.2289914*e+1.4052427*n),this.opacity)}}));function Oe(e){return e>Zn?Math.pow(e,0.3333333333333333):e/Wr+Lr}function $e(e){return e>qt?e*e*e:Wr*(e-Lr)}function He(e){return 255*(e<=0.0031308?12.92*e:1.055*Math.pow(e,0.4166666666666667)-0.055)}function Ne(e){return(e/=255)<=0.04045?e/12.92:Math.pow((e+0.055)/1.055,2.4)}function jn(e){if(e instanceof At)return new At(e.h,e.c,e.l,e.opacity);if(!(e instanceof Ft))e=Er(e);if(e.a===0&&e.b===0)return new At(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var r=Math.atan2(e.b,e.a)*Yr;return new At(r<0?r+360:r,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function ge(e,r,n,i){return arguments.length===1?jn(e):new At(e,r,n,i==null?1:i)}function At(e,r,n,i){this.h=+e,this.c=+r,this.l=+n,this.opacity=+i}function $r(e){if(isNaN(e.h))return new Ft(e.l,0,0,e.opacity);var r=e.h*_r;return new Ft(e.l,Math.cos(r)*e.c,Math.sin(r)*e.c,e.opacity)}Pr(At,ge,Ua(Or,{brighter(e){return new At(this.h,this.c,this.l+ye*(e==null?1:e),this.opacity)},darker(e){return new At(this.h,this.c,this.l-ye*(e==null?1:e),this.opacity)},rgb(){return $r(this).rgb()}}));function Hr(e){return function(r,n){var i=e((r=ge(r)).h,(n=ge(n)).h),s=dr(r.c,n.c),o=dr(r.l,n.l),l=dr(r.opacity,n.opacity);return function(w){return r.h=i(w),r.c=s(w),r.l=o(w),r.opacity=l(w),r+""}}}var Nr=Hr(pl),Is=Hr(dr);function Pe(e,r){e=e.slice();var n=0,i=e.length-1,s=e[n],o=e[i],l;if(o<s)l=n,n=i,i=l,l=s,s=o,o=l;return e[n]=r.floor(s),e[i]=r.ceil(o),e}var Ve=new Date,ze=new Date;function dt(e,r,n,i){function s(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}if(s.floor=(o)=>(e(o=new Date(+o)),o),s.ceil=(o)=>(e(o=new Date(o-1)),r(o,1),e(o),o),s.round=(o)=>{let l=s(o),w=s.ceil(o);return o-l<w-o?l:w},s.offset=(o,l)=>(r(o=new Date(+o),l==null?1:Math.floor(l)),o),s.range=(o,l,w)=>{let M=[];if(o=s.ceil(o),w=w==null?1:Math.floor(w),!(o<l)||!(w>0))return M;let z;do M.push(z=new Date(+o)),r(o,w),e(o);while(z<o&&o<l);return M},s.filter=(o)=>dt((l)=>{if(l>=l)while(e(l),!o(l))l.setTime(l-1)},(l,w)=>{if(l>=l)if(w<0)while(++w<=0)while(r(l,-1),!o(l));else while(--w>=0)while(r(l,1),!o(l));}),n)s.count=(o,l)=>(Ve.setTime(+o),ze.setTime(+l),e(Ve),e(ze),Math.floor(n(Ve,ze))),s.every=(o)=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:!(o>1)?s:s.filter(i?(l)=>i(l)%o===0:(l)=>s.count(0,l)%o===0));return s}var It=dt(()=>{},(e,r)=>{e.setTime(+e+r)},(e,r)=>r-e);It.every=(e)=>{if(e=Math.floor(e),!isFinite(e)||!(e>0))return null;if(!(e>1))return It;return dt((r)=>{r.setTime(Math.floor(r/e)*e)},(r,n)=>{r.setTime(+r+n*e)},(r,n)=>(n-r)/e)};var Vr=It.range;var Dt=1000,vt=60000,Ut=3600000,Pt=86400000,ae=604800000,Re=2592000000,ke=31536000000;var xt=dt((e)=>{e.setTime(e-e.getMilliseconds())},(e,r)=>{e.setTime(+e+r*Dt)},(e,r)=>(r-e)/Dt,(e)=>e.getUTCSeconds()),zr=xt.range;var Ot=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getMinutes()),Xn=Ot.range,pe=dt((e)=>{e.setUTCSeconds(0,0)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getUTCMinutes()),Gn=pe.range;var $t=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt-e.getMinutes()*vt)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getHours()),qn=$t.range,Te=dt((e)=>{e.setUTCMinutes(0,0,0)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getUTCHours()),Qn=Te.range;var Ct=dt((e)=>e.setHours(0,0,0,0),(e,r)=>e.setDate(e.getDate()+r),(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*vt)/Pt,(e)=>e.getDate()-1),Jn=Ct.range,se=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>e.getUTCDate()-1),Kn=se.range,ve=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>Math.floor(e/Pt)),ti=ve.range;function Rt(e){return dt((r)=>{r.setDate(r.getDate()-(r.getDay()+7-e)%7),r.setHours(0,0,0,0)},(r,n)=>{r.setDate(r.getDate()+n*7)},(r,n)=>(n-r-(n.getTimezoneOffset()-r.getTimezoneOffset())*vt)/ae)}var _t=Rt(0),Vt=Rt(1),xe=Rt(2),be=Rt(3),Lt=Rt(4),we=Rt(5),Me=Rt(6),Rr=_t.range,ei=Vt.range,ri=xe.range,ni=be.range,ii=Lt.range,ai=we.range,si=Me.range;function Bt(e){return dt((r)=>{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-e)%7),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCDate(r.getUTCDate()+n*7)},(r,n)=>(n-r)/ae)}var Zt=Bt(0),Qt=Bt(1),Br=Bt(2),Zr=Bt(3),zt=Bt(4),jr=Bt(5),Xr=Bt(6),Gr=Zt.range,oi=Qt.range,ci=Br.range,ui=Zr.range,li=zt.range,di=jr.range,hi=Xr.range;var Ht=dt((e)=>{e.setDate(1),e.setHours(0,0,0,0)},(e,r)=>{e.setMonth(e.getMonth()+r)},(e,r)=>r.getMonth()-e.getMonth()+(r.getFullYear()-e.getFullYear())*12,(e)=>e.getMonth()),yi=Ht.range,De=dt((e)=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCMonth(e.getUTCMonth()+r)},(e,r)=>r.getUTCMonth()-e.getUTCMonth()+(r.getUTCFullYear()-e.getUTCFullYear())*12,(e)=>e.getUTCMonth()),gi=De.range;var bt=dt((e)=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r)},(e,r)=>r.getFullYear()-e.getFullYear(),(e)=>e.getFullYear());bt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setFullYear(Math.floor(r.getFullYear()/e)*e),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,n)=>{r.setFullYear(r.getFullYear()+n*e)});var ki=bt.range,Yt=dt((e)=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r)},(e,r)=>r.getUTCFullYear()-e.getUTCFullYear(),(e)=>e.getUTCFullYear());Yt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/e)*e),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCFullYear(r.getUTCFullYear()+n*e)});var pi=Yt.range;function qr(e,r,n,i,s,o){let l=[[xt,1,Dt],[xt,5,5*Dt],[xt,15,15*Dt],[xt,30,30*Dt],[o,1,vt],[o,5,5*vt],[o,15,15*vt],[o,30,30*vt],[s,1,Ut],[s,3,3*Ut],[s,6,6*Ut],[s,12,12*Ut],[i,1,Pt],[i,2,2*Pt],[n,1,ae],[r,1,Re],[r,3,3*Re],[e,1,ke]];function w(z,U,X){let W=U<z;if(W)[z,U]=[U,z];let V=X&&typeof X.range==="function"?X:M(z,U,X),Y=V?V.range(z,+U+1):[];return W?Y.reverse():Y}function M(z,U,X){let W=Math.abs(U-z)/X,V=_a(([,,E])=>E).right(l,W);if(V===l.length)return e.every(mi(z/ke,U/ke,X));if(V===0)return It.every(Math.max(mi(z,U,X),1));let[Y,B]=l[W/l[V-1][2]<l[V][2]/W?V-1:V];return Y.every(B)}return[w,M]}var[Ti,vi]=qr(Yt,De,Zt,ve,Te,pe),[Be,je]=qr(bt,Ht,_t,Ct,$t,Ot);function Ge(e){if(0<=e.y&&e.y<100){var r=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return r.setFullYear(e.y),r}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function qe(e){if(0<=e.y&&e.y<100){var r=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return r.setUTCFullYear(e.y),r}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function oe(e,r,n){return{y:e,m:r,d:n,H:0,M:0,S:0,L:0}}function Qe(e){var{dateTime:r,date:n,time:i,periods:s,days:o,shortDays:l,months:w,shortMonths:M}=e,z=ce(s),U=ue(s),X=ce(o),W=ue(o),V=ce(l),Y=ue(l),B=ce(w),E=ue(w),tt=ce(M),ft=ue(M),at={a:T,A:Q,b:c,B:J,c:null,d:nn,e:nn,f:zi,g:ta,G:ra,H:Ni,I:Pi,j:Vi,L:un,m:Ri,M:Bi,p:y,q:mt,Q:on,s:cn,S:Zi,u:ji,U:Gi,V:qi,w:Qi,W:Ji,x:null,X:null,y:Ki,Y:ea,Z:na,"%":sn},Z={a:m,A:q,b:K,B:ut,c:null,d:an,e:an,f:ca,g:pa,G:va,H:ia,I:aa,j:sa,L:dn,m:ua,M:la,p:lt,q:it,Q:on,s:cn,S:fa,u:da,U:ma,V:ha,w:ya,W:ga,x:null,X:null,y:ka,Y:Ta,Z:xa,"%":sn},C={a:x,A:_,b:S,B:H,c:d,d:en,e:en,f:Ai,g:tn,G:Jr,H:rn,I:rn,j:Ui,L:Ei,m:Ii,M:Li,p:nt,q:Fi,Q:$i,s:Hi,S:Wi,u:Di,U:Ci,V:Si,w:Mi,W:_i,x:b,X:v,y:tn,Y:Jr,Z:Yi,"%":Oi};at.x=f(n,at),at.X=f(i,at),at.c=f(r,at),Z.x=f(n,Z),Z.X=f(i,Z),Z.c=f(r,Z);function f(p,j){return function(et){var g=[],ht=-1,st=0,ot=p.length,yt,gt,Tt;if(!(et instanceof Date))et=new Date(+et);while(++ht<ot)if(p.charCodeAt(ht)===37){if(g.push(p.slice(st,ht)),(gt=Qr[yt=p.charAt(++ht)])!=null)yt=p.charAt(++ht);else gt=yt==="e"?" ":"0";if(Tt=j[yt])yt=Tt(et,gt);g.push(yt),st=ht+1}return g.push(p.slice(st,ht)),g.join("")}}function O(p,j){return function(et){var g=oe(1900,void 0,1),ht=rt(g,p,et+="",0),st,ot;if(ht!=et.length)return null;if("Q"in g)return new Date(g.Q);if("s"in g)return new Date(g.s*1000+("L"in g?g.L:0));if(j&&!("Z"in g))g.Z=0;if("p"in g)g.H=g.H%12+g.p*12;if(g.m===void 0)g.m="q"in g?g.q:0;if("V"in g){if(g.V<1||g.V>53)return null;if(!("w"in g))g.w=1;if("Z"in g)st=qe(oe(g.y,0,1)),ot=st.getUTCDay(),st=ot>4||ot===0?Qt.ceil(st):Qt(st),st=se.offset(st,(g.V-1)*7),g.y=st.getUTCFullYear(),g.m=st.getUTCMonth(),g.d=st.getUTCDate()+(g.w+6)%7;else st=Ge(oe(g.y,0,1)),ot=st.getDay(),st=ot>4||ot===0?Vt.ceil(st):Vt(st),st=Ct.offset(st,(g.V-1)*7),g.y=st.getFullYear(),g.m=st.getMonth(),g.d=st.getDate()+(g.w+6)%7}else if("W"in g||"U"in g){if(!("w"in g))g.w="u"in g?g.u%7:("W"in g)?1:0;ot="Z"in g?qe(oe(g.y,0,1)).getUTCDay():Ge(oe(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(ot+5)%7:g.w+g.U*7-(ot+6)%7}if("Z"in g)return g.H+=g.Z/100|0,g.M+=g.Z%100,qe(g);return Ge(g)}}function rt(p,j,et,g){var ht=0,st=j.length,ot=et.length,yt,gt;while(ht<st){if(g>=ot)return-1;if(yt=j.charCodeAt(ht++),yt===37){if(yt=j.charAt(ht++),gt=C[yt in Qr?j.charAt(ht++):yt],!gt||(g=gt(p,et,g))<0)return-1}else if(yt!=et.charCodeAt(g++))return-1}return g}function nt(p,j,et){var g=z.exec(j.slice(et));return g?(p.p=U.get(g[0].toLowerCase()),et+g[0].length):-1}function x(p,j,et){var g=V.exec(j.slice(et));return g?(p.w=Y.get(g[0].toLowerCase()),et+g[0].length):-1}function _(p,j,et){var g=X.exec(j.slice(et));return g?(p.w=W.get(g[0].toLowerCase()),et+g[0].length):-1}function S(p,j,et){var g=tt.exec(j.slice(et));return g?(p.m=ft.get(g[0].toLowerCase()),et+g[0].length):-1}function H(p,j,et){var g=B.exec(j.slice(et));return g?(p.m=E.get(g[0].toLowerCase()),et+g[0].length):-1}function d(p,j,et){return rt(p,r,j,et)}function b(p,j,et){return rt(p,n,j,et)}function v(p,j,et){return rt(p,i,j,et)}function T(p){return l[p.getDay()]}function Q(p){return o[p.getDay()]}function c(p){return M[p.getMonth()]}function J(p){return w[p.getMonth()]}function y(p){return s[+(p.getHours()>=12)]}function mt(p){return 1+~~(p.getMonth()/3)}function m(p){return l[p.getUTCDay()]}function q(p){return o[p.getUTCDay()]}function K(p){return M[p.getUTCMonth()]}function ut(p){return w[p.getUTCMonth()]}function lt(p){return s[+(p.getUTCHours()>=12)]}function it(p){return 1+~~(p.getUTCMonth()/3)}return{format:function(p){var j=f(p+="",at);return j.toString=function(){return p},j},parse:function(p){var j=O(p+="",!1);return j.toString=function(){return p},j},utcFormat:function(p){var j=f(p+="",Z);return j.toString=function(){return p},j},utcParse:function(p){var j=O(p+="",!0);return j.toString=function(){return p},j}}}var Qr={"-":"",_:" ","0":"0"},pt=/^\s*\d+/,xi=/^%/,bi=/[\\^$*+?|[\]().{}]/g;function ct(e,r,n){var i=e<0?"-":"",s=(i?-e:e)+"",o=s.length;return i+(o<n?Array(n-o+1).join(r)+s:s)}function wi(e){return e.replace(bi,"\\$&")}function ce(e){return new RegExp("^(?:"+e.map(wi).join("|")+")","i")}function ue(e){return new Map(e.map((r,n)=>[r.toLowerCase(),n]))}function Mi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function Di(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function Ci(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function Si(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function _i(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Jr(e,r,n){var i=pt.exec(r.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function tn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2000),n+i[0].length):-1}function Yi(e,r,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Fi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function Ii(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function en(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function Ui(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function rn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function Li(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function Wi(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function Ei(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function Ai(e,r,n){var i=pt.exec(r.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1000),n+i[0].length):-1}function Oi(e,r,n){var i=xi.exec(r.slice(n,n+1));return i?n+i[0].length:-1}function $i(e,r,n){var i=pt.exec(r.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function Hi(e,r,n){var i=pt.exec(r.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function nn(e,r){return ct(e.getDate(),r,2)}function Ni(e,r){return ct(e.getHours(),r,2)}function Pi(e,r){return ct(e.getHours()%12||12,r,2)}function Vi(e,r){return ct(1+Ct.count(bt(e),e),r,3)}function un(e,r){return ct(e.getMilliseconds(),r,3)}function zi(e,r){return un(e,r)+"000"}function Ri(e,r){return ct(e.getMonth()+1,r,2)}function Bi(e,r){return ct(e.getMinutes(),r,2)}function Zi(e,r){return ct(e.getSeconds(),r,2)}function ji(e){var r=e.getDay();return r===0?7:r}function Gi(e,r){return ct(_t.count(bt(e)-1,e),r,2)}function ln(e){var r=e.getDay();return r>=4||r===0?Lt(e):Lt.ceil(e)}function qi(e,r){return e=ln(e),ct(Lt.count(bt(e),e)+(bt(e).getDay()===4),r,2)}function Qi(e){return e.getDay()}function Ji(e,r){return ct(Vt.count(bt(e)-1,e),r,2)}function Ki(e,r){return ct(e.getFullYear()%100,r,2)}function ta(e,r){return e=ln(e),ct(e.getFullYear()%100,r,2)}function ea(e,r){return ct(e.getFullYear()%1e4,r,4)}function ra(e,r){var n=e.getDay();return e=n>=4||n===0?Lt(e):Lt.ceil(e),ct(e.getFullYear()%1e4,r,4)}function na(e){var r=e.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+ct(r/60|0,"0",2)+ct(r%60,"0",2)}function an(e,r){return ct(e.getUTCDate(),r,2)}function ia(e,r){return ct(e.getUTCHours(),r,2)}function aa(e,r){return ct(e.getUTCHours()%12||12,r,2)}function sa(e,r){return ct(1+se.count(Yt(e),e),r,3)}function dn(e,r){return ct(e.getUTCMilliseconds(),r,3)}function ca(e,r){return dn(e,r)+"000"}function ua(e,r){return ct(e.getUTCMonth()+1,r,2)}function la(e,r){return ct(e.getUTCMinutes(),r,2)}function fa(e,r){return ct(e.getUTCSeconds(),r,2)}function da(e){var r=e.getUTCDay();return r===0?7:r}function ma(e,r){return ct(Zt.count(Yt(e)-1,e),r,2)}function mn(e){var r=e.getUTCDay();return r>=4||r===0?zt(e):zt.ceil(e)}function ha(e,r){return e=mn(e),ct(zt.count(Yt(e),e)+(Yt(e).getUTCDay()===4),r,2)}function ya(e){return e.getUTCDay()}function ga(e,r){return ct(Qt.count(Yt(e)-1,e),r,2)}function ka(e,r){return ct(e.getUTCFullYear()%100,r,2)}function pa(e,r){return e=mn(e),ct(e.getUTCFullYear()%100,r,2)}function Ta(e,r){return ct(e.getUTCFullYear()%1e4,r,4)}function va(e,r){var n=e.getUTCDay();return e=n>=4||n===0?zt(e):zt.ceil(e),ct(e.getUTCFullYear()%1e4,r,4)}function xa(){return"+0000"}function sn(){return"%"}function on(e){return+e}function cn(e){return Math.floor(+e/1000)}var Jt,jt,hn,yn,gn;Je({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Je(e){return Jt=Qe(e),jt=Jt.format,hn=Jt.parse,yn=Jt.utcFormat,gn=Jt.utcParse,Jt}function ba(e){return new Date(e)}function wa(e){return e instanceof Date?+e:+new Date(+e)}function kn(e,r,n,i,s,o,l,w,M,z){var U=fi(),{invert:X,domain:W}=U,V=z(".%L"),Y=z(":%S"),B=z("%I:%M"),E=z("%I %p"),tt=z("%a %d"),ft=z("%b %d"),at=z("%B"),Z=z("%Y");function C(f){return(M(f)<f?V:w(f)<f?Y:l(f)<f?B:o(f)<f?E:i(f)<f?s(f)<f?tt:ft:n(f)<f?at:Z)(f)}return U.invert=function(f){return new Date(X(f))},U.domain=function(f){return arguments.length?W(Array.from(f,wa)):W().map(ba)},U.ticks=function(f){var O=W();return e(O[0],O[O.length-1],f==null?10:f)},U.tickFormat=function(f,O){return O==null?C:z(O)},U.nice=function(f){var O=W();if(!f||typeof f.range!=="function")f=r(O[0],O[O.length-1],f==null?10:f);return f?W(Pe(O,f)):U},U.copy=function(){return Xi(U,kn(e,r,n,i,s,o,l,w,M,z))},U}function Ke(){return Ln.apply(kn(Be,je,bt,Ht,_t,Ct,$t,Ot,xt,jt).domain([new Date(2000,0,1),new Date(2000,0,2)]),arguments)}var Dn=Ze(oa(),1),wt=Ze(vo(),1),Cn=Ze(pn(),1),Sn=Ze(Tn(),1),_n=Ze(vn(),1),te=Ze(vo(),1),Nn=Ze(xn(),1);var ur=function(){var e=t(function(H,d,b,v){for(b=b||{},v=H.length;v--;b[H[v]]=d);return b},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],i=[1,27],s=[1,28],o=[1,29],l=[1,30],w=[1,31],M=[1,32],z=[1,33],U=[1,34],X=[1,9],W=[1,10],V=[1,11],Y=[1,12],B=[1,13],E=[1,14],tt=[1,15],ft=[1,16],at=[1,19],Z=[1,20],C=[1,21],f=[1,22],O=[1,23],rt=[1,25],nt=[1,35],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:t(function(d,b,v,T,Q,c,J){var y=c.length-1;switch(Q){case 1:return c[y-1];case 2:this.$=[];break;case 3:c[y-1].push(c[y]),this.$=c[y-1];break;case 4:case 5:this.$=c[y];break;case 6:case 7:this.$=[];break;case 8:T.setWeekday("monday");break;case 9:T.setWeekday("tuesday");break;case 10:T.setWeekday("wednesday");break;case 11:T.setWeekday("thursday");break;case 12:T.setWeekday("friday");break;case 13:T.setWeekday("saturday");break;case 14:T.setWeekday("sunday");break;case 15:T.setWeekend("friday");break;case 16:T.setWeekend("saturday");break;case 17:T.setDateFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 18:T.enableInclusiveEndDates(),this.$=c[y].substr(18);break;case 19:T.TopAxis(),this.$=c[y].substr(8);break;case 20:T.setAxisFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 21:T.setTickInterval(c[y].substr(13)),this.$=c[y].substr(13);break;case 22:T.setExcludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 23:T.setIncludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 24:T.setTodayMarker(c[y].substr(12)),this.$=c[y].substr(12);break;case 27:T.setDiagramTitle(c[y].substr(6)),this.$=c[y].substr(6);break;case 28:this.$=c[y].trim(),T.setAccTitle(this.$);break;case 29:case 30:this.$=c[y].trim(),T.setAccDescription(this.$);break;case 31:T.addSection(c[y].substr(8)),this.$=c[y].substr(8);break;case 33:T.addTask(c[y-1],c[y]),this.$="task";break;case 34:this.$=c[y-1],T.setClickEvent(c[y-1],c[y],null);break;case 35:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],c[y]);break;case 36:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],null),T.setLink(c[y-2],c[y]);break;case 37:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-2],c[y-1]),T.setLink(c[y-3],c[y]);break;case 38:this.$=c[y-2],T.setClickEvent(c[y-2],c[y],null),T.setLink(c[y-2],c[y-1]);break;case 39:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-1],c[y]),T.setLink(c[y-3],c[y-2]);break;case 40:this.$=c[y-1],T.setLink(c[y-1],c[y]);break;case 41:case 47:this.$=c[y-1]+" "+c[y];break;case 42:case 43:case 45:this.$=c[y-2]+" "+c[y-1]+" "+c[y];break;case 44:case 46:this.$=c[y-3]+" "+c[y-2]+" "+c[y-1]+" "+c[y];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:M,19:18,20:z,21:U,22:X,23:W,24:V,25:Y,26:B,27:E,28:tt,29:ft,30:at,31:Z,33:C,35:f,36:O,37:24,38:rt,40:nt},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:36,11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:M,19:18,20:z,21:U,22:X,23:W,24:V,25:Y,26:B,27:E,28:tt,29:ft,30:at,31:Z,33:C,35:f,36:O,37:24,38:rt,40:nt},e(r,[2,5]),e(r,[2,6]),e(r,[2,17]),e(r,[2,18]),e(r,[2,19]),e(r,[2,20]),e(r,[2,21]),e(r,[2,22]),e(r,[2,23]),e(r,[2,24]),e(r,[2,25]),e(r,[2,26]),e(r,[2,27]),{32:[1,37]},{34:[1,38]},e(r,[2,30]),e(r,[2,31]),e(r,[2,32]),{39:[1,39]},e(r,[2,8]),e(r,[2,9]),e(r,[2,10]),e(r,[2,11]),e(r,[2,12]),e(r,[2,13]),e(r,[2,14]),e(r,[2,15]),e(r,[2,16]),{41:[1,40],43:[1,41]},e(r,[2,4]),e(r,[2,28]),e(r,[2,29]),e(r,[2,33]),e(r,[2,34],{42:[1,42],43:[1,43]}),e(r,[2,40],{41:[1,44]}),e(r,[2,35],{43:[1,45]}),e(r,[2,36]),e(r,[2,38],{42:[1,46]}),e(r,[2,37]),e(r,[2,39])],defaultActions:{},parseError:t(function(d,b){if(b.recoverable)this.trace(d);else{var v=Error(d);throw v.hash=b,v}},"parseError"),parse:t(function(d){var b=this,v=[0],T=[],Q=[null],c=[],J=this.table,y="",mt=0,m=0,q=0,K=2,ut=1,lt=c.slice.call(arguments,1),it=Object.create(this.lexer),p={yy:{}};for(var j in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,j))p.yy[j]=this.yy[j];if(it.setInput(d,p.yy),p.yy.lexer=it,p.yy.parser=this,typeof it.yylloc>"u")it.yylloc={};var et=it.yylloc;c.push(et);var g=it.options&&it.options.ranges;if(typeof p.yy.parseError==="function")this.parseError=p.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ht(Mt){v.length=v.length-2*Mt,Q.length=Q.length-Mt,c.length=c.length-Mt}t(ht,"popStack");function st(){var Mt=T.pop()||it.lex()||ut;if(typeof Mt!=="number"){if(Mt instanceof Array)T=Mt,Mt=T.pop();Mt=b.symbols_[Mt]||Mt}return Mt}t(st,"lex");var ot,yt,gt,Tt,gs,Fe,Gt={},fe,Et,Dr,de;while(!0){if(gt=v[v.length-1],this.defaultActions[gt])Tt=this.defaultActions[gt];else{if(ot===null||typeof ot>"u")ot=st();Tt=J[gt]&&J[gt][ot]}if(typeof Tt>"u"||!Tt.length||!Tt[0]){var Ie="";de=[];for(fe in J[gt])if(this.terminals_[fe]&&fe>K)de.push("'"+this.terminals_[fe]+"'");if(it.showPosition)Ie="Parse error on line "+(mt+1)+`:
|
|
2
|
+
`+it.showPosition()+`
|
|
3
|
+
Expecting `+de.join(", ")+", got '"+(this.terminals_[ot]||ot)+"'";else Ie="Parse error on line "+(mt+1)+": Unexpected "+(ot==ut?"end of input":"'"+(this.terminals_[ot]||ot)+"'");this.parseError(Ie,{text:it.match,token:this.terminals_[ot]||ot,line:it.yylineno,loc:et,expected:de})}if(Tt[0]instanceof Array&&Tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+gt+", token: "+ot);switch(Tt[0]){case 1:if(v.push(ot),Q.push(it.yytext),c.push(it.yylloc),v.push(Tt[1]),ot=null,!yt){if(m=it.yyleng,y=it.yytext,mt=it.yylineno,et=it.yylloc,q>0)q--}else ot=yt,yt=null;break;case 2:if(Et=this.productions_[Tt[1]][1],Gt.$=Q[Q.length-Et],Gt._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},g)Gt._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]];if(Fe=this.performAction.apply(Gt,[y,m,mt,p.yy,Tt[1],Q,c].concat(lt)),typeof Fe<"u")return Fe;if(Et)v=v.slice(0,-1*Et*2),Q=Q.slice(0,-1*Et),c=c.slice(0,-1*Et);v.push(this.productions_[Tt[1]][0]),Q.push(Gt.$),c.push(Gt._$),Dr=J[v[v.length-2]][v[v.length-1]],v.push(Dr);break;case 3:return!0}}return!0},"parse")},_=function(){var H={EOF:1,parseError:t(function(b,v){if(this.yy.parser)this.yy.parser.parseError(b,v);else throw Error(b)},"parseError"),setInput:t(function(d,b){if(this.yy=b||this.yy||{},this._input=d,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 d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var b=d.match(/(?:\r\n?|\n).*/g);if(b)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),d},"input"),unput:t(function(d){var b=d.length,v=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var T=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),v.length-1)this.yylineno-=v.length-1;var Q=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:v?(v.length===T.length?this.yylloc.first_column:0)+T[T.length-v.length].length-v[0].length:this.yylloc.first_column-b},this.options.ranges)this.yylloc.range=[Q[0],Q[0]+this.yyleng-b];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(d){this.unput(this.match.slice(d))},"less"),pastInput:t(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var d=this.match;if(d.length<20)d+=this._input.substr(0,20-d.length);return(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var d=this.pastInput(),b=Array(d.length+1).join("-");return d+this.upcomingInput()+`
|
|
5
|
+
`+b+"^"},"showPosition"),test_match:t(function(d,b){var v,T,Q;if(this.options.backtrack_lexer){if(Q={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)Q.yylloc.range=this.yylloc.range.slice(0)}if(T=d[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,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(d[0].length),this.matched+=d[0],v=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(v)return v;else if(this._backtrack){for(var c in Q)this[c]=Q[c];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var d,b,v,T;if(!this._more)this.yytext="",this.match="";var Q=this._currentRules();for(var c=0;c<Q.length;c++)if(v=this._input.match(this.rules[Q[c]]),v&&(!b||v[0].length>b[0].length)){if(b=v,T=c,this.options.backtrack_lexer)if(d=this.test_match(v,Q[c]),d!==!1)return d;else if(this._backtrack){b=!1;continue}else return!1;else if(!this.options.flex)break}if(b){if(d=this.test_match(b,Q[T]),d!==!1)return d;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 b=this.next();if(b)return b;else return this.lex()},"lex"),begin:t(function(b){this.conditionStack.push(b)},"begin"),popState:t(function(){var b=this.conditionStack.length-1;if(b>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(b){if(b=this.conditionStack.length-1-Math.abs(b||0),b>=0)return this.conditionStack[b];else return"INITIAL"},"topState"),pushState:t(function(b){this.begin(b)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(b,v,T,Q){var c=Q;switch(T){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return H}();x.lexer=_;function S(){this.yy={}}return t(S,"Parser"),S.prototype=x,x.Parser=S,new S}();ur.parser=ur;var Ma=ur;wt.default.extend(Cn.default);wt.default.extend(Sn.default);wt.default.extend(_n.default);var bn={friday:5,saturday:6},Wt="",hr="",yr=void 0,gr="",re=[],ne=[],pr=new Map,Tr=[],_e=[],ie="",vr="",Yn=["active","done","crit","milestone","vert"],xr=[],Kt="",le=!1,br=!1,wr="sunday",Ye="saturday",lr=0,Da=t(function(){Tr=[],_e=[],ie="",xr=[],Ce=0,mr=void 0,Se=void 0,kt=[],Wt="",hr="",vr="",yr=void 0,gr="",re=[],ne=[],le=!1,br=!1,lr=0,pr=new Map,Kt="",A(),wr="sunday",Ye="saturday"},"clear"),Ca=t(function(e){Kt=e},"setDiagramId"),Sa=t(function(e){hr=e},"setAxisFormat"),Ya=t(function(){return hr},"getAxisFormat"),Fa=t(function(e){yr=e},"setTickInterval"),Ia=t(function(){return yr},"getTickInterval"),La=t(function(e){gr=e},"setTodayMarker"),Wa=t(function(){return gr},"getTodayMarker"),Ea=t(function(e){Wt=e},"setDateFormat"),Aa=t(function(){le=!0},"enableInclusiveEndDates"),Oa=t(function(){return le},"endDatesAreInclusive"),$a=t(function(){br=!0},"enableTopAxis"),Ha=t(function(){return br},"topAxisEnabled"),Na=t(function(e){vr=e},"setDisplayMode"),Pa=t(function(){return vr},"getDisplayMode"),Va=t(function(){return Wt},"getDateFormat"),Fn=t((e,r)=>{let n=r.toLowerCase().split(/[\s,]+/).filter((i)=>i!=="");return[...new Set([...e,...n])]},"mergeTokens"),za=t(function(e){re=Fn(re,e)},"setIncludes"),Ra=t(function(){return re},"getIncludes"),Ba=t(function(e){ne=Fn(ne,e)},"setExcludes"),Za=t(function(){return ne},"getExcludes"),ja=t(function(){return pr},"getLinks"),Xa=t(function(e){ie=e,Tr.push(e)},"addSection"),Ga=t(function(){return Tr},"getSections"),qa=t(function(){let e=wn(),r=10,n=0;while(!e&&n<r)e=wn(),n++;return _e=kt,_e},"getTasks"),In=t(function(e,r,n,i){let s=e.format(r.trim()),o=e.format("YYYY-MM-DD");if(i.includes(s)||i.includes(o))return!1;if(n.includes("weekends")&&(e.isoWeekday()===bn[Ye]||e.isoWeekday()===bn[Ye]+1))return!0;if(n.includes(e.format("dddd").toLowerCase()))return!0;return n.includes(s)||n.includes(o)},"isInvalidDate"),Qa=t(function(e){wr=e},"setWeekday"),Ja=t(function(){return wr},"getWeekday"),Ka=t(function(e){Ye=e},"setWeekend"),Un=t(function(e,r,n,i){if(!n.length||e.manualEndTime)return;let s;if(e.startTime instanceof Date)s=wt.default(e.startTime);else s=wt.default(e.startTime,r,!0);s=s.add(1,"d");let o;if(e.endTime instanceof Date)o=wt.default(e.endTime);else o=wt.default(e.endTime,r,!0);let[l,w]=ts(s,o,r,n,i);e.endTime=l.toDate(),e.renderEndTime=w},"checkTaskDates"),ts=t(function(e,r,n,i,s){let o=!1,l=null,w=r.add(1e4,"d");while(e<=r){if(!o)l=r.toDate();if(o=In(e,n,i,s),o){if(r=r.add(1,"d"),r>w)throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.")}e=e.add(1,"d")}return[r,l]},"fixTaskDates"),Wn=t(function(e,r){a.warn(`Gantt: the "${e}" statement references unknown task id(s): ${r.join(", ")}. Make sure the referenced tasks exist and declare an id. Milestones need both an id and a duration, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`)},"warnAboutUnknownTaskIds"),fr=t(function(e,r,n){if(n=n.trim(),t((w)=>{let M=w.trim();return M==="x"||M==="X"},"isTimestampFormat")(r)&&/^\d+$/.test(n))return new Date(Number(n));let o=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let w=null,M=[],z=o.groups.ids.split(" ").filter((X)=>X!=="");for(let X of z){let W=Xt(X);if(W===void 0){M.push(X);continue}if(!w||W.endTime>w.endTime)w=W}if(M.length>0)Wn("after",M);if(w)return w.endTime;let U=new Date;return U.setHours(0,0,0,0),U}let l=wt.default(n,r.trim(),!0);if(l.isValid())return l.toDate();else{a.debug("Invalid date:"+n),a.debug("With date format:"+r.trim());let w=new Date(n);if(w===void 0||isNaN(w.getTime())||w.getFullYear()<-1e4||w.getFullYear()>1e4)throw Error("Invalid date:"+n);return w}},"getStartDate"),En=t(function(e){let r=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());if(r!==null)return[Number.parseFloat(r[1]),r[2]];return[NaN,"ms"]},"parseDuration"),An=t(function(e,r,n,i=!1){n=n.trim();let o=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let U=null,X=[],W=o.groups.ids.split(" ").filter((Y)=>Y!=="");for(let Y of W){let B=Xt(Y);if(B===void 0){X.push(Y);continue}if(!U||B.startTime<U.startTime)U=B}if(X.length>0)Wn("until",X);if(U)return U.startTime;let V=new Date;return V.setHours(0,0,0,0),V}let l=wt.default(n,r.trim(),!0);if(l.isValid()){if(i)l=l.add(1,"d");return l.toDate()}let w=wt.default(e),[M,z]=En(n);if(Number.isNaN(M))a.warn(`Gantt: "${n}" is neither a valid date for the "${r.trim()}" date format nor a valid duration (e.g. "3d"), so it is ignored and the task gets a zero duration. Milestones need a duration too, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`);else{let U=w.add(M,z);if(U.isValid())w=U}return w.toDate()},"getEndDate"),Ce=0,ee=t(function(e){if(e===void 0)return Ce=Ce+1,"task"+Ce;return e},"parseId"),es=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let l=0;l<i.length;l++)i[l]=i[l].trim();let o="";switch(i.length){case 1:s.id=ee(),s.startTime=e.endTime,o=i[0];break;case 2:s.id=ee(),s.startTime=fr(void 0,Wt,i[0]),o=i[1];break;case 3:s.id=ee(i[0]),s.startTime=fr(void 0,Wt,i[1]),o=i[2];break;default:}if(o)s.endTime=An(s.startTime,Wt,o,le),s.manualEndTime=wt.default(o,"YYYY-MM-DD",!0).isValid(),Un(s,Wt,ne,re);return s},"compileData"),rs=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let o=0;o<i.length;o++)i[o]=i[o].trim();switch(i.length){case 1:s.id=ee(),s.startTime={type:"prevTaskEnd",id:e},s.endTime={data:i[0]};break;case 2:s.id=ee(),s.startTime={type:"getStartDate",startData:i[0]},s.endTime={data:i[1]};break;case 3:s.id=ee(i[0]),s.startTime={type:"getStartDate",startData:i[1]},s.endTime={data:i[2]};break;default:}return s},"parseData"),mr,Se,kt=[],On={},ns=t(function(e,r){let n={section:ie,type:ie,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:r},task:e,classes:[]},i=rs(Se,r);if(n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=Se,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,n.vert)n.order=-1;else n.order=lr,lr++;let s=kt.push(n);Se=n.id,On[n.id]=s-1},"addTask"),Xt=t(function(e){let r=On[e];return kt[r]},"findTaskById"),is=t(function(e,r){let n={section:ie,type:ie,description:e,task:e,classes:[]},i=es(mr,r);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,mr=n,_e.push(n)},"addTaskOrg"),wn=t(function(){let e=t(function(n){let i=kt[n],s="";switch(kt[n].raw.startTime.type){case"prevTaskEnd":{let o=Xt(i.prevTaskId);i.startTime=o.endTime;break}case"getStartDate":if(s=fr(void 0,Wt,kt[n].raw.startTime.startData),s)kt[n].startTime=s;break}if(kt[n].startTime){if(kt[n].endTime=An(kt[n].startTime,Wt,kt[n].raw.endTime.data,le),kt[n].endTime)kt[n].processed=!0,kt[n].manualEndTime=wt.default(kt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Un(kt[n],Wt,ne,re)}return kt[n].processed},"compileTask"),r=!0;for(let[n,i]of kt.entries())e(n),r=r&&i.processed;return r},"compileTasks"),as=t(function(e,r){let n=r;if(u().securityLevel!=="loose")n=Dn.sanitizeUrl(r);e.split(",").forEach(function(i){if(Xt(i)!==void 0)Hn(i,()=>{window.open(n,"_self")}),pr.set(i,n)}),$n(e,"clickable")},"setLink"),$n=t(function(e,r){e.split(",").forEach(function(n){let i=Xt(n);if(i!==void 0)i.classes.push(r)})},"setClass"),ss=t(function(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let i=[];if(typeof n==="string"){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let o=0;o<i.length;o++){let l=i[o].trim();if(l.startsWith('"')&&l.endsWith('"'))l=l.substr(1,l.length-2);i[o]=l}}if(i.length===0)i.push(e);if(Xt(e)!==void 0)Hn(e,()=>{F.runFunc(r,...i)})},"setClickFun"),Hn=t(function(e,r){xr.push(function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}"]`);if(i!==null)i.addEventListener("click",function(){r()})},function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}-text"]`);if(i!==null)i.addEventListener("click",function(){r()})})},"pushFun"),os=t(function(e,r,n){e.split(",").forEach(function(i){ss(i,r,n)}),$n(e,"clickable")},"setClickEvent"),cs=t(function(e){xr.forEach(function(r){r(e)})},"bindFunctions"),us={getConfig:t(()=>u().gantt,"getConfig"),clear:Da,setDateFormat:Ea,getDateFormat:Va,enableInclusiveEndDates:Aa,endDatesAreInclusive:Oa,enableTopAxis:$a,topAxisEnabled:Ha,setAxisFormat:Sa,getAxisFormat:Ya,setTickInterval:Fa,getTickInterval:Ia,setTodayMarker:La,getTodayMarker:Wa,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:N,setDiagramId:Ca,setDisplayMode:Na,getDisplayMode:Pa,setAccDescription:L,getAccDescription:D,addSection:Xa,getSections:Ga,getTasks:qa,addTask:ns,findTaskById:Xt,addTaskOrg:is,setIncludes:za,getIncludes:Ra,setExcludes:Ba,getExcludes:Za,setClickEvent:os,setLink:as,getLinks:ja,bindFunctions:cs,parseDuration:En,isInvalidDate:In,setWeekday:Qa,getWeekday:Ja,setWeekend:Ka};function Mr(e,r,n){let i=!0;while(i)i=!1,n.forEach(function(s){let o="^\\s*"+s+"\\s*$",l=new RegExp(o);if(e[0].match(l))r[s]=!0,e.shift(1),i=!0})}t(Mr,"getTaskTags");te.default.extend(Nn.default);var ls=t(function(){a.debug("Something is calling, setConf, remove the call")},"setConf"),Mn={monday:Vt,tuesday:xe,wednesday:be,thursday:Lt,friday:we,saturday:Me,sunday:_t},fs=t((e,r)=>{let n=[...e].map(()=>-1/0),i=[...e].sort((o,l)=>o.startTime-l.startTime||o.order-l.order),s=0;for(let o of i)for(let l=0;l<n.length;l++)if(o.startTime>=n[l]){if(n[l]=o.endTime,o.order=l+r,l>s)s=l;break}return s},"getMaxIntersections"),Nt,cr=1e4,ds=t(function(e,r,n,i){let s=u().gantt;i.db.setDiagramId(r);let o=u().securityLevel,l;if(o==="sandbox")l=h("#i"+r);let w=o==="sandbox"?h(l.nodes()[0].contentDocument.body):h("body"),M=o==="sandbox"?l.nodes()[0].contentDocument:document,z=M.getElementById(r);if(Nt=z.parentElement.offsetWidth,Nt===void 0)Nt=1200;if(s.useWidth!==void 0)Nt=s.useWidth;let U=i.db.getTasks(),X=U.filter((x)=>!x.vert),W=[];for(let x of X)W.push(x.type);W=nt(W);let V={},Y=2*s.topPadding;if(i.db.getDisplayMode()==="compact"||s.displayMode==="compact"){let x={};for(let S of X)if(x[S.section]===void 0)x[S.section]=[S];else x[S.section].push(S);let _=0;for(let S of Object.keys(x)){let H=fs(x[S],_)+1;_+=H,Y+=H*(s.barHeight+s.barGap),V[S]=H}}else{Y+=X.length*(s.barHeight+s.barGap);for(let x of W)V[x]=X.filter((_)=>_.type===x).length}z.setAttribute("viewBox","0 0 "+Nt+" "+Y);let B=w.select(`[id="${r}"]`),E=Ke().domain([kr(U,function(x){return x.startTime}),Kr(U,function(x){return x.endTime})]).rangeRound([0,Nt-s.leftPadding-s.rightPadding]);function tt(x,_){let S=x.startTime,H=_.startTime,d=0;if(S>H)d=1;else if(S<H)d=-1;return d}t(tt,"taskCompare"),U.sort(tt),ft(U,Nt,Y),G(B,Y,Nt,s.useMaxWidth),B.append("text").text(i.db.getDiagramTitle()).attr("x",Nt/2).attr("y",s.titleTopMargin).attr("class","titleText");function ft(x,_,S){let H=s.barHeight,d=H+s.barGap,{topPadding:b,leftPadding:v}=s,T=fn().domain([0,W.length]).range(["#00B9FA","#F95002"]).interpolate(Nr);Z(d,b,v,_,S,x,i.db.getExcludes(),i.db.getIncludes()),f(v,b,_,S),at(x,d,b,v,H,T,_,S),O(d,b,v,H,T),rt(v,b,_,S)}t(ft,"makeGantt");function at(x,_,S,H,d,b,v){x.sort((m,q)=>m.vert===q.vert?0:m.vert?1:-1);let T=x.filter((m)=>!m.vert),c=[...new Set(T.map((m)=>m.order))].map((m)=>T.find((q)=>q.order===m));B.append("g").selectAll("rect").data(c).enter().append("rect").attr("x",0).attr("y",function(m,q){return q=m.order,q*_+S-2}).attr("width",function(){return v-s.rightPadding/2}).attr("height",_).attr("class",function(m){for(let[q,K]of W.entries())if(m.type===K)return"section section"+q%s.numberSectionStyles;return"section section0"}).enter();let J=B.append("g").selectAll("rect").data(x).enter(),y=i.db.getLinks();if(J.append("rect").attr("id",function(m){return r+"-"+m.id}).attr("rx",3).attr("ry",3).attr("x",function(m){if(m.milestone)return E(m.startTime)+H+0.5*(E(m.endTime)-E(m.startTime))-0.5*d;return E(m.startTime)+H}).attr("y",function(m,q){if(q=m.order,m.vert)return s.gridLineStartPadding;return q*_+S}).attr("width",function(m){if(m.milestone)return d;if(m.vert)return 0.08*d;return E(m.renderEndTime||m.endTime)-E(m.startTime)}).attr("height",function(m){if(m.vert)return T.length*(s.barHeight+s.barGap)+s.barHeight*2;return d}).attr("transform-origin",function(m,q){return q=m.order,(E(m.startTime)+H+0.5*(E(m.endTime)-E(m.startTime))).toString()+"px "+(q*_+S+0.5*d).toString()+"px"}).attr("class",function(m){let K="";if(m.classes.length>0)K=m.classes.join(" ");let ut=0;for(let[it,p]of W.entries())if(m.type===p)ut=it%s.numberSectionStyles;let lt="";if(m.active)if(m.crit)lt+=" activeCrit";else lt=" active";else if(m.done)if(m.crit)lt=" doneCrit";else lt=" done";else if(m.crit)lt+=" crit";if(lt.length===0)lt=" task";if(m.milestone)lt=" milestone "+lt;if(m.vert)lt=" vert "+lt;return lt+=ut,lt+=" "+K,"task"+lt}),J.append("text").attr("id",function(m){return r+"-"+m.id+"-text"}).text(function(m){return m.task}).attr("font-size",s.fontSize).attr("x",function(m){let q=E(m.startTime),K=E(m.renderEndTime||m.endTime);if(m.milestone)q+=0.5*(E(m.endTime)-E(m.startTime))-0.5*d,K=q+d;if(m.vert)return E(m.startTime)+H;let ut=this.getBBox().width;if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return q+H-5;else return K+H+5;else return(K-q)/2+q+H}).attr("y",function(m,q){if(m.vert)return s.gridLineStartPadding+T.length*(s.barHeight+s.barGap)+60;return q=m.order,q*_+s.barHeight/2+(s.fontSize/2-2)+S}).attr("text-height",d).attr("class",function(m){let q=E(m.startTime),K=E(m.endTime);if(m.milestone)K=q+d;let ut=this.getBBox().width,lt="";if(m.classes.length>0)lt=m.classes.join(" ");let it=0;for(let[j,et]of W.entries())if(m.type===et)it=j%s.numberSectionStyles;let p="";if(m.active)if(m.crit)p="activeCritText"+it;else p="activeText"+it;if(m.done)if(m.crit)p=p+" doneCritText"+it;else p=p+" doneText"+it;else if(m.crit)p=p+" critText"+it;if(m.milestone)p+=" milestoneText";if(m.vert)p+=" vertText";if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return lt+" taskTextOutsideLeft taskTextOutside"+it+" "+p;else return lt+" taskTextOutsideRight taskTextOutside"+it+" "+p+" width-"+ut;else return lt+" taskText taskText"+it+" "+p+" width-"+ut}),u().securityLevel==="sandbox"){let m;m=h("#i"+r);let q=m.nodes()[0].contentDocument;J.filter(function(K){return y.has(K.id)}).each(function(K){var ut=q.querySelector("#"+CSS.escape(r+"-"+K.id)),lt=q.querySelector("#"+CSS.escape(r+"-"+K.id+"-text"));let it=ut.parentNode;var p=q.createElement("a");p.setAttribute("xlink:href",y.get(K.id)),p.setAttribute("target","_top"),it.appendChild(p),p.appendChild(ut),p.appendChild(lt)})}}t(at,"drawRects");function Z(x,_,S,H,d,b,v,T){if(v.length===0&&T.length===0)return;let Q,c;for(let{startTime:K,endTime:ut}of b){if(Q===void 0||K<Q)Q=K;if(c===void 0||ut>c)c=ut}if(!Q||!c)return;if(te.default(c).diff(te.default(Q),"year")>5){a.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let J=i.db.getDateFormat(),y=[],mt=null,m=te.default(Q);while(m.valueOf()<=c){if(i.db.isInvalidDate(m,J,v,T))if(!mt)mt={start:m,end:m};else mt.end=m;else if(mt)y.push(mt),mt=null;m=m.add(1,"d")}B.append("g").selectAll("rect").data(y).enter().append("rect").attr("id",(K)=>r+"-exclude-"+K.start.format("YYYY-MM-DD")).attr("x",(K)=>E(K.start.startOf("day"))+S).attr("y",s.gridLineStartPadding).attr("width",(K)=>E(K.end.endOf("day"))-E(K.start.startOf("day"))).attr("height",d-_-s.gridLineStartPadding).attr("transform-origin",function(K,ut){return(E(K.start)+S+0.5*(E(K.end)-E(K.start))).toString()+"px "+(ut*x+0.5*d).toString()+"px"}).attr("class","exclude-range")}t(Z,"drawExcludeDays");function C(x,_,S,H){if(S<=0||x>_)return 1/0;let d=_-x,b=te.default.duration({[H??"day"]:S}).asMilliseconds();if(b<=0)return 1/0;return Math.ceil(d/b)}t(C,"getEstimatedTickCount");function f(x,_,S,H){let d=i.db.getDateFormat(),b=i.db.getAxisFormat(),v;if(b)v=b;else if(d==="D")v="%d";else v=s.axisFormat??"%Y-%m-%d";let T=Ae(E).tickSize(-H+_+s.gridLineStartPadding).tickFormat(jt(v)),c=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||s.tickInterval);if(c!==null){let J=parseInt(c[1],10);if(isNaN(J)||J<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let y=c[2],mt=i.db.getWeekday()||s.weekday,m=E.domain(),q=m[0],K=m[1],ut=C(q,K,J,y);if(ut>cr)a.warn(`The tick interval "${J}${y}" would generate ${ut} ticks, which exceeds the maximum allowed (${cr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(y){case"millisecond":T.ticks(It.every(J));break;case"second":T.ticks(xt.every(J));break;case"minute":T.ticks(Ot.every(J));break;case"hour":T.ticks($t.every(J));break;case"day":T.ticks(Ct.every(J));break;case"week":T.ticks(Mn[mt].every(J));break;case"month":T.ticks(Ht.every(J));break}}}if(B.append("g").attr("class","grid").attr("transform","translate("+x+", "+(H-50)+")").call(T).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||s.topAxis){let J=Ee(E).tickSize(-H+_+s.gridLineStartPadding).tickFormat(jt(v));if(c!==null){let y=parseInt(c[1],10);if(isNaN(y)||y<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let mt=c[2],m=i.db.getWeekday()||s.weekday,q=E.domain(),K=q[0],ut=q[1];if(C(K,ut,y,mt)<=cr)switch(mt){case"millisecond":J.ticks(It.every(y));break;case"second":J.ticks(xt.every(y));break;case"minute":J.ticks(Ot.every(y));break;case"hour":J.ticks($t.every(y));break;case"day":J.ticks(Ct.every(y));break;case"week":J.ticks(Mn[m].every(y));break;case"month":J.ticks(Ht.every(y));break}}}B.append("g").attr("class","grid").attr("transform","translate("+x+", "+_+")").call(J).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}t(f,"makeGrid");function O(x,_){let S=0,H=Object.keys(V).map((d)=>[d,V[d]]);B.append("g").selectAll("text").data(H).enter().append(function(d){let b=d[0].split(k.lineBreakRegex),v=-(b.length-1)/2,T=M.createElementNS("http://www.w3.org/2000/svg","text");T.setAttribute("dy",v+"em");for(let[Q,c]of b.entries()){let J=M.createElementNS("http://www.w3.org/2000/svg","tspan");if(J.setAttribute("alignment-baseline","central"),J.setAttribute("x","10"),Q>0)J.setAttribute("dy","1em");J.textContent=c,T.appendChild(J)}return T}).attr("x",10).attr("y",function(d,b){if(b>0)for(let v=0;v<b;v++)return S+=H[b-1][1],d[1]*x/2+S*x+_;else return d[1]*x/2+_}).attr("font-size",s.sectionFontSize).attr("class",function(d){for(let[b,v]of W.entries())if(d[0]===v)return"sectionTitle sectionTitle"+b%s.numberSectionStyles;return"sectionTitle"})}t(O,"vertLabels");function rt(x,_,S,H){let d=i.db.getTodayMarker();if(d==="off")return;let b=B.append("g").attr("class","today"),v=new Date,T=b.append("line");if(T.attr("x1",E(v)+x).attr("x2",E(v)+x).attr("y1",s.titleTopMargin).attr("y2",H-s.titleTopMargin).attr("class","today"),d!=="")T.attr("style",d.replace(/,/g,";"))}t(rt,"drawToday");function nt(x){let _={},S=[];for(let H=0,d=x.length;H<d;++H)if(!Object.prototype.hasOwnProperty.call(_,x[H]))_[x[H]]=!0,S.push(x[H]);return S}t(nt,"checkUnique")},"draw"),ms={setConf:ls,draw:ds},hs=t((e)=>`
|
|
7
|
+
.mermaid-main-font {
|
|
8
|
+
font-family: ${e.fontFamily};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.exclude-range {
|
|
12
|
+
fill: ${e.excludeBkgColor};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.section {
|
|
16
|
+
stroke: none;
|
|
17
|
+
opacity: 0.2;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.section0 {
|
|
21
|
+
fill: ${e.sectionBkgColor};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.section2 {
|
|
25
|
+
fill: ${e.sectionBkgColor2};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.section1,
|
|
29
|
+
.section3 {
|
|
30
|
+
fill: ${e.altSectionBkgColor};
|
|
31
|
+
opacity: 0.2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sectionTitle0 {
|
|
35
|
+
fill: ${e.titleColor};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sectionTitle1 {
|
|
39
|
+
fill: ${e.titleColor};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sectionTitle2 {
|
|
43
|
+
fill: ${e.titleColor};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.sectionTitle3 {
|
|
47
|
+
fill: ${e.titleColor};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sectionTitle {
|
|
51
|
+
text-anchor: start;
|
|
52
|
+
font-family: ${e.fontFamily};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/* Grid and axis */
|
|
57
|
+
|
|
58
|
+
.grid .tick {
|
|
59
|
+
stroke: ${e.gridColor};
|
|
60
|
+
opacity: 0.8;
|
|
61
|
+
shape-rendering: crispEdges;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.grid .tick text {
|
|
65
|
+
font-family: ${e.fontFamily};
|
|
66
|
+
fill: ${e.textColor};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.grid path {
|
|
70
|
+
stroke-width: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/* Today line */
|
|
75
|
+
|
|
76
|
+
.today {
|
|
77
|
+
fill: none;
|
|
78
|
+
stroke: ${e.todayLineColor};
|
|
79
|
+
stroke-width: 2px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
/* Task styling */
|
|
84
|
+
|
|
85
|
+
/* Default task */
|
|
86
|
+
|
|
87
|
+
.task {
|
|
88
|
+
stroke-width: 2;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.taskText {
|
|
92
|
+
text-anchor: middle;
|
|
93
|
+
font-family: ${e.fontFamily};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.taskTextOutsideRight {
|
|
97
|
+
fill: ${e.taskTextDarkColor};
|
|
98
|
+
text-anchor: start;
|
|
99
|
+
font-family: ${e.fontFamily};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.taskTextOutsideLeft {
|
|
103
|
+
fill: ${e.taskTextDarkColor};
|
|
104
|
+
text-anchor: end;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/* Special case clickable */
|
|
109
|
+
|
|
110
|
+
.task.clickable {
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.taskText.clickable {
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
117
|
+
font-weight: bold;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.taskTextOutsideLeft.clickable {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
123
|
+
font-weight: bold;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.taskTextOutsideRight.clickable {
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/* Specific task settings for the sections*/
|
|
134
|
+
|
|
135
|
+
.taskText0,
|
|
136
|
+
.taskText1,
|
|
137
|
+
.taskText2,
|
|
138
|
+
.taskText3 {
|
|
139
|
+
fill: ${e.taskTextColor};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.task0,
|
|
143
|
+
.task1,
|
|
144
|
+
.task2,
|
|
145
|
+
.task3 {
|
|
146
|
+
fill: ${e.taskBkgColor};
|
|
147
|
+
stroke: ${e.taskBorderColor};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.taskTextOutside0,
|
|
151
|
+
.taskTextOutside2
|
|
152
|
+
{
|
|
153
|
+
fill: ${e.taskTextOutsideColor};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.taskTextOutside1,
|
|
157
|
+
.taskTextOutside3 {
|
|
158
|
+
fill: ${e.taskTextOutsideColor};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/* Active task */
|
|
163
|
+
|
|
164
|
+
.active0,
|
|
165
|
+
.active1,
|
|
166
|
+
.active2,
|
|
167
|
+
.active3 {
|
|
168
|
+
fill: ${e.activeTaskBkgColor};
|
|
169
|
+
stroke: ${e.activeTaskBorderColor};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.activeText0,
|
|
173
|
+
.activeText1,
|
|
174
|
+
.activeText2,
|
|
175
|
+
.activeText3 {
|
|
176
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/* Completed task */
|
|
181
|
+
|
|
182
|
+
.done0,
|
|
183
|
+
.done1,
|
|
184
|
+
.done2,
|
|
185
|
+
.done3 {
|
|
186
|
+
stroke: ${e.doneTaskBorderColor};
|
|
187
|
+
fill: ${e.doneTaskBkgColor};
|
|
188
|
+
stroke-width: 2;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.doneText0,
|
|
192
|
+
.doneText1,
|
|
193
|
+
.doneText2,
|
|
194
|
+
.doneText3 {
|
|
195
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Done task text displayed outside the bar sits against the diagram background,
|
|
199
|
+
not against the done-task bar, so it must use the outside/contrast color. */
|
|
200
|
+
.doneText0.taskTextOutsideLeft,
|
|
201
|
+
.doneText0.taskTextOutsideRight,
|
|
202
|
+
.doneText1.taskTextOutsideLeft,
|
|
203
|
+
.doneText1.taskTextOutsideRight,
|
|
204
|
+
.doneText2.taskTextOutsideLeft,
|
|
205
|
+
.doneText2.taskTextOutsideRight,
|
|
206
|
+
.doneText3.taskTextOutsideLeft,
|
|
207
|
+
.doneText3.taskTextOutsideRight {
|
|
208
|
+
fill: ${e.taskTextOutsideColor} !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/* Tasks on the critical line */
|
|
213
|
+
|
|
214
|
+
.crit0,
|
|
215
|
+
.crit1,
|
|
216
|
+
.crit2,
|
|
217
|
+
.crit3 {
|
|
218
|
+
stroke: ${e.critBorderColor};
|
|
219
|
+
fill: ${e.critBkgColor};
|
|
220
|
+
stroke-width: 2;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.activeCrit0,
|
|
224
|
+
.activeCrit1,
|
|
225
|
+
.activeCrit2,
|
|
226
|
+
.activeCrit3 {
|
|
227
|
+
stroke: ${e.critBorderColor};
|
|
228
|
+
fill: ${e.activeTaskBkgColor};
|
|
229
|
+
stroke-width: 2;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.doneCrit0,
|
|
233
|
+
.doneCrit1,
|
|
234
|
+
.doneCrit2,
|
|
235
|
+
.doneCrit3 {
|
|
236
|
+
stroke: ${e.critBorderColor};
|
|
237
|
+
fill: ${e.doneTaskBkgColor};
|
|
238
|
+
stroke-width: 2;
|
|
239
|
+
cursor: pointer;
|
|
240
|
+
shape-rendering: crispEdges;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.milestone {
|
|
244
|
+
transform: rotate(45deg) scale(0.8,0.8);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.milestoneText {
|
|
248
|
+
font-style: italic;
|
|
249
|
+
}
|
|
250
|
+
.doneCritText0,
|
|
251
|
+
.doneCritText1,
|
|
252
|
+
.doneCritText2,
|
|
253
|
+
.doneCritText3 {
|
|
254
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* Done-crit task text outside the bar — same reasoning as doneText above. */
|
|
258
|
+
.doneCritText0.taskTextOutsideLeft,
|
|
259
|
+
.doneCritText0.taskTextOutsideRight,
|
|
260
|
+
.doneCritText1.taskTextOutsideLeft,
|
|
261
|
+
.doneCritText1.taskTextOutsideRight,
|
|
262
|
+
.doneCritText2.taskTextOutsideLeft,
|
|
263
|
+
.doneCritText2.taskTextOutsideRight,
|
|
264
|
+
.doneCritText3.taskTextOutsideLeft,
|
|
265
|
+
.doneCritText3.taskTextOutsideRight {
|
|
266
|
+
fill: ${e.taskTextOutsideColor} !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.vert {
|
|
270
|
+
stroke: ${e.vertLineColor};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.vertText {
|
|
274
|
+
font-size: 15px;
|
|
275
|
+
text-anchor: middle;
|
|
276
|
+
fill: ${e.vertLineColor} !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.activeCritText0,
|
|
280
|
+
.activeCritText1,
|
|
281
|
+
.activeCritText2,
|
|
282
|
+
.activeCritText3 {
|
|
283
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.titleText {
|
|
287
|
+
text-anchor: middle;
|
|
288
|
+
font-size: 18px;
|
|
289
|
+
fill: ${e.titleColor||e.textColor};
|
|
290
|
+
font-family: ${e.fontFamily};
|
|
291
|
+
}
|
|
292
|
+
`,"getStyles"),ys=hs,Ro={parser:Ma,db:us,renderer:ms,styles:ys};export{Ro as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{t,a,He,B,j,G,A,R,I,L,D,P,N,u,h}from"./chunk-dbv8qpen.js";import"./chunk-89crtpnw.js";import{fn}from"./chunk-qh24q7c0.js";var Ut=function(){var e=t(function(st,o,c,g){for(c=c||{},g=st.length;g--;c[st[g]]=o);return c},"o"),r=[1,3],T=[1,4],y=[1,5],l=[1,6],p=[1,7],C=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],d=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],x=[55,56,57],F=[2,36],S=[1,37],_=[1,36],m=[1,38],q=[1,35],k=[1,43],b=[1,41],E=[1,45],St=[1,14],_t=[1,23],At=[1,18],Ft=[1,19],mt=[1,20],zt=[1,21],qt=[1,22],n=[1,24],Ot=[1,25],Ht=[1,26],Xt=[1,27],Mt=[1,28],Yt=[1,29],tt=[1,32],et=[1,33],z=[1,34],V=[1,39],w=[1,40],W=[1,42],U=[1,44],at=[1,63],nt=[1,62],Q=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],jt=[1,66],Gt=[1,67],Kt=[1,68],Zt=[1,69],Jt=[1,70],$t=[1,71],te=[1,72],ee=[1,73],ie=[1,74],ae=[1,75],ne=[1,76],re=[1,77],Y=[4,5,6,7,8,9,10,11,12,13,14,15,18],ht=[1,91],ct=[1,92],dt=[1,93],ut=[1,100],xt=[1,94],ft=[1,97],gt=[1,95],pt=[1,96],yt=[1,98],bt=[1,99],Vt=[1,103],se=[10,55,56,57],K=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],It={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:t(function(o,c,g,f,v,i,kt){var s=i.length-1;switch(v){case 23:this.$=i[s];break;case 24:this.$=i[s-1]+""+i[s];break;case 26:this.$=i[s-1]+i[s];break;case 27:this.$=[i[s].trim()];break;case 28:i[s-2].push(i[s].trim()),this.$=i[s-2];break;case 29:this.$=i[s-4],f.addClass(i[s-2],i[s]);break;case 37:this.$=[];break;case 42:this.$=i[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=i[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=i[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(i[s].substr(8)),this.$=i[s].substr(8);break;case 47:f.addPoint(i[s-3],"",i[s-1],i[s],[]);break;case 48:f.addPoint(i[s-4],i[s-3],i[s-1],i[s],[]);break;case 49:f.addPoint(i[s-4],"",i[s-2],i[s-1],i[s]);break;case 50:f.addPoint(i[s-5],i[s-4],i[s-2],i[s-1],i[s]);break;case 51:f.setXAxisLeftText(i[s-2]),f.setXAxisRightText(i[s]);break;case 52:i[s-1].text+=" ⟶ ",f.setXAxisLeftText(i[s-1]);break;case 53:f.setXAxisLeftText(i[s]);break;case 54:f.setYAxisBottomText(i[s-2]),f.setYAxisTopText(i[s]);break;case 55:i[s-1].text+=" ⟶ ",f.setYAxisBottomText(i[s-1]);break;case 56:f.setYAxisBottomText(i[s]);break;case 57:f.setQuadrant1Text(i[s]);break;case 58:f.setQuadrant2Text(i[s]);break;case 59:f.setQuadrant3Text(i[s]);break;case 60:f.setQuadrant4Text(i[s]);break;case 64:this.$={text:i[s],type:"text"};break;case 65:this.$={text:i[s-1].text+""+i[s],type:i[s-1].type};break;case 66:this.$={text:i[s],type:"text"};break;case 67:this.$={text:i[s],type:"markdown"};break;case 68:this.$=i[s];break;case 69:this.$=i[s-1]+""+i[s];break}},"anonymous"),table:[{18:r,26:1,27:2,28:T,55:y,56:l,57:p},{1:[3]},{18:r,26:8,27:2,28:T,55:y,56:l,57:p},{18:r,26:9,27:2,28:T,55:y,56:l,57:p},e(C,[2,33],{29:10}),e(d,[2,61]),e(d,[2,62]),e(d,[2,63]),{1:[2,30]},{1:[2,31]},e(x,F,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:S,5:_,10:m,12:q,13:k,14:b,15:E,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:z,64:V,65:w,66:W,67:U}),e(C,[2,34]),{27:46,55:y,56:l,57:p},e(x,[2,37]),e(x,F,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:S,5:_,10:m,12:q,13:k,14:b,15:E,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:z,64:V,65:w,66:W,67:U}),e(x,[2,39]),e(x,[2,40]),e(x,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(x,[2,45]),e(x,[2,46]),{18:[1,51]},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:52,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:53,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:54,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:55,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:56,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,10:m,12:q,13:k,14:b,15:E,43:57,58:31,60:tt,61:et,63:z,64:V,65:w,66:W,67:U},{4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,44:[1,58],47:[1,59],58:61,59:60,63:z,64:V,65:w,66:W,67:U},e(Q,[2,64]),e(Q,[2,66]),e(Q,[2,67]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(Q,[2,74]),e(Q,[2,75]),e(Q,[2,76]),e(Q,[2,77]),e(Q,[2,78]),e(Q,[2,79]),e(Q,[2,80]),e(Q,[2,81]),e(C,[2,35]),e(x,[2,38]),e(x,[2,42]),e(x,[2,43]),e(x,[2,44]),{3:65,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,21:64},e(x,[2,53],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,49:[1,78],63:z,64:V,65:w,66:W,67:U}),e(x,[2,56],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,49:[1,79],63:z,64:V,65:w,66:W,67:U}),e(x,[2,57],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),e(x,[2,58],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),e(x,[2,59],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),e(x,[2,60],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),{45:[1,80]},{44:[1,81]},e(Q,[2,65]),e(Q,[2,82]),e(Q,[2,83]),e(Q,[2,84]),{3:83,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,18:[1,82]},e(Y,[2,23]),e(Y,[2,1]),e(Y,[2,2]),e(Y,[2,3]),e(Y,[2,4]),e(Y,[2,5]),e(Y,[2,6]),e(Y,[2,7]),e(Y,[2,8]),e(Y,[2,9]),e(Y,[2,10]),e(Y,[2,11]),e(Y,[2,12]),e(x,[2,52],{58:31,43:84,4:S,5:_,10:m,12:q,13:k,14:b,15:E,60:tt,61:et,63:z,64:V,65:w,66:W,67:U}),e(x,[2,55],{58:31,43:85,4:S,5:_,10:m,12:q,13:k,14:b,15:E,60:tt,61:et,63:z,64:V,65:w,66:W,67:U}),{46:[1,86]},{45:[1,87]},{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:89,23:88},e(Y,[2,24]),e(x,[2,51],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),e(x,[2,54],{59:60,58:61,4:S,5:_,8:at,10:m,12:q,13:k,14:b,15:E,18:nt,63:z,64:V,65:w,66:W,67:U}),e(x,[2,47],{22:89,16:90,23:101,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{46:[1,102]},e(x,[2,29],{10:Vt}),e(se,[2,27],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),e(K,[2,25]),e(K,[2,13]),e(K,[2,14]),e(K,[2,15]),e(K,[2,16]),e(K,[2,17]),e(K,[2,18]),e(K,[2,19]),e(K,[2,20]),e(K,[2,21]),e(K,[2,22]),e(x,[2,49],{10:Vt}),e(x,[2,48],{22:89,16:90,23:105,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:106},e(K,[2,26]),e(x,[2,50],{10:Vt}),e(se,[2,28],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt})],defaultActions:{8:[2,30],9:[2,31]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var g=Error(o);throw g.hash=c,g}},"parseError"),parse:t(function(o){var c=this,g=[0],f=[],v=[null],i=[],kt=this.table,s="",vt=0,oe=0,le=0,ve=2,he=1,Ce=i.slice.call(arguments,1),O=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))ot.yy[wt]=this.yy[wt];if(O.setInput(o,ot.yy),ot.yy.lexer=O,ot.yy.parser=this,typeof O.yylloc>"u")O.yylloc={};var Bt=O.yylloc;i.push(Bt);var Le=O.options&&O.options.ranges;if(typeof ot.yy.parseError==="function")this.parseError=ot.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ee(J){g.length=g.length-2*J,v.length=v.length-J,i.length=i.length-J}t(Ee,"popStack");function ce(){var J=f.pop()||O.lex()||he;if(typeof J!=="number"){if(J instanceof Array)f=J,J=f.pop();J=c.symbols_[J]||J}return J}t(ce,"lex");var X,Rt,lt,Z,Re,Nt,Tt={},Ct,rt,de,Lt;while(!0){if(lt=g[g.length-1],this.defaultActions[lt])Z=this.defaultActions[lt];else{if(X===null||typeof X>"u")X=ce();Z=kt[lt]&&kt[lt][X]}if(typeof Z>"u"||!Z.length||!Z[0]){var Wt="";Lt=[];for(Ct in kt[lt])if(this.terminals_[Ct]&&Ct>ve)Lt.push("'"+this.terminals_[Ct]+"'");if(O.showPosition)Wt="Parse error on line "+(vt+1)+`:
|
|
2
|
+
`+O.showPosition()+`
|
|
3
|
+
Expecting `+Lt.join(", ")+", got '"+(this.terminals_[X]||X)+"'";else Wt="Parse error on line "+(vt+1)+": Unexpected "+(X==he?"end of input":"'"+(this.terminals_[X]||X)+"'");this.parseError(Wt,{text:O.match,token:this.terminals_[X]||X,line:O.yylineno,loc:Bt,expected:Lt})}if(Z[0]instanceof Array&&Z.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+X);switch(Z[0]){case 1:if(g.push(X),v.push(O.yytext),i.push(O.yylloc),g.push(Z[1]),X=null,!Rt){if(oe=O.yyleng,s=O.yytext,vt=O.yylineno,Bt=O.yylloc,le>0)le--}else X=Rt,Rt=null;break;case 2:if(rt=this.productions_[Z[1]][1],Tt.$=v[v.length-rt],Tt._$={first_line:i[i.length-(rt||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(rt||1)].first_column,last_column:i[i.length-1].last_column},Le)Tt._$.range=[i[i.length-(rt||1)].range[0],i[i.length-1].range[1]];if(Nt=this.performAction.apply(Tt,[s,oe,vt,ot.yy,Z[1],v,i].concat(Ce)),typeof Nt<"u")return Nt;if(rt)g=g.slice(0,-1*rt*2),v=v.slice(0,-1*rt),i=i.slice(0,-1*rt);g.push(this.productions_[Z[1]][0]),v.push(Tt.$),i.push(Tt._$),de=kt[g[g.length-2]][g[g.length-1]],g.push(de);break;case 3:return!0}}return!0},"parse")},Pe=function(){var st={EOF:1,parseError:t(function(c,g){if(this.yy.parser)this.yy.parser.parseError(c,g);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var c=o.length,g=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var f=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),g.length-1)this.yylineno-=g.length-1;var v=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:g?(g.length===f.length?this.yylloc.first_column:0)+f[f.length-g.length].length-g[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[v[0],v[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+c+"^"},"showPosition"),test_match:t(function(o,c){var g,f,v;if(this.options.backtrack_lexer){if(v={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)v.yylloc.range=this.yylloc.range.slice(0)}if(f=o[0].match(/(?:\r\n?|\n).*/g),f)this.yylineno+=f.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],g=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(g)return g;else if(this._backtrack){for(var i in v)this[i]=v[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,g,f;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var i=0;i<v.length;i++)if(g=this._input.match(this.rules[v[i]]),g&&(!c||g[0].length>c[0].length)){if(c=g,f=i,this.options.backtrack_lexer)if(o=this.test_match(g,v[i]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,v[f]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,g,f,v){var i=v;switch(f){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return st}();It.lexer=Pe;function Pt(){this.yy={}}return t(Pt,"Parser"),Pt.prototype=It,It.Parser=Pt,new Pt}();Ut.parser=Ut;var De=Ut,M=He(),ze=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{t(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:B.quadrantChart?.chartWidth||500,chartWidth:B.quadrantChart?.chartHeight||500,titlePadding:B.quadrantChart?.titlePadding||10,titleFontSize:B.quadrantChart?.titleFontSize||20,quadrantPadding:B.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:B.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:B.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:B.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:B.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:B.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:B.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:B.quadrantChart?.pointTextPadding||5,pointLabelFontSize:B.quadrantChart?.pointLabelFontSize||12,pointRadius:B.quadrantChart?.pointRadius||5,xAxisPosition:B.quadrantChart?.xAxisPosition||"top",yAxisPosition:B.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:B.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:B.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:M.quadrant1Fill,quadrant2Fill:M.quadrant2Fill,quadrant3Fill:M.quadrant3Fill,quadrant4Fill:M.quadrant4Fill,quadrant1TextFill:M.quadrant1TextFill,quadrant2TextFill:M.quadrant2TextFill,quadrant3TextFill:M.quadrant3TextFill,quadrant4TextFill:M.quadrant4TextFill,quadrantPointFill:M.quadrantPointFill,quadrantPointTextFill:M.quadrantPointTextFill,quadrantXAxisTextFill:M.quadrantXAxisTextFill,quadrantYAxisTextFill:M.quadrantYAxisTextFill,quadrantTitleFill:M.quadrantTitleFill,quadrantInternalBorderStrokeFill:M.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:M.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,a.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){a.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){a.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,T,y){let l=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,p={top:e==="top"&&r?l:0,bottom:e==="bottom"&&r?l:0},C=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,d={left:this.config.yAxisPosition==="left"&&T?C:0,right:this.config.yAxisPosition==="right"&&T?C:0},x=this.config.titleFontSize+this.config.titlePadding*2,F={top:y?x:0},S=this.config.quadrantPadding+d.left,_=this.config.quadrantPadding+p.top+F.top,m=this.config.chartWidth-this.config.quadrantPadding*2-d.left-d.right,q=this.config.chartHeight-this.config.quadrantPadding*2-p.top-p.bottom-F.top,k=m/2,b=q/2;return{xAxisSpace:p,yAxisSpace:d,titleSpace:F,quadrantSpace:{quadrantLeft:S,quadrantTop:_,quadrantWidth:m,quadrantHalfWidth:k,quadrantHeight:q,quadrantHalfHeight:b}}}getAxisLabels(e,r,T,y){let{quadrantSpace:l,titleSpace:p}=y,{quadrantHalfHeight:C,quadrantHeight:d,quadrantLeft:x,quadrantHalfWidth:F,quadrantTop:S,quadrantWidth:_}=l,m=Boolean(this.data.xAxisRightText),q=Boolean(this.data.yAxisTopText),k=[];if(this.data.xAxisLeftText&&r)k.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:x+(m?F/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+S+d+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.xAxisRightText&&r)k.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:x+F+(m?F/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+S+d+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.yAxisBottomText&&T)k.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+x+_+this.config.quadrantPadding,y:S+d-(q?C/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:q?"center":"left",horizontalPos:"top",rotation:-90});if(this.data.yAxisTopText&&T)k.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+x+_+this.config.quadrantPadding,y:S+C-(q?C/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:q?"center":"left",horizontalPos:"top",rotation:-90});return k}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:T,quadrantLeft:y,quadrantHalfWidth:l,quadrantTop:p}=r,C=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p,width:l,height:T,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p,width:l,height:T,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant4Fill}];for(let d of C)if(d.text.x=d.x+d.width/2,this.data.points.length===0)d.text.y=d.y+d.height/2,d.text.horizontalPos="middle";else d.text.y=d.y+this.config.quadrantTextTopPadding,d.text.horizontalPos="top";return C}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:T,quadrantLeft:y,quadrantTop:l,quadrantWidth:p}=r,C=fn().domain([0,1]).range([y,p+y]),d=fn().domain([0,1]).range([T+l,l]);return this.data.points.map((F)=>{let S=this.classes.get(F.className);if(S)F={...S,...F};return{x:C(F.x),y:d(F.y),fill:F.color??this.themeConfig.quadrantPointFill,radius:F.radius??this.config.pointRadius,text:{text:F.text,fill:this.themeConfig.quadrantPointTextFill,x:C(F.x),y:d(F.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:F.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:F.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:T}=e,{quadrantHalfHeight:y,quadrantHeight:l,quadrantLeft:p,quadrantHalfWidth:C,quadrantTop:d,quadrantWidth:x}=T;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:d,x2:p+x+r,y2:d},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p+x,y1:d+r,x2:p+x,y2:d+l-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:d+l,x2:p+x+r,y2:d+l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p,y1:d+r,x2:p,y2:d+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+C,y1:d+r,x2:p+C,y2:d+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+r,y1:d+y,x2:p+x-r,y2:d+y}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2};return}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),T=this.config.showTitle&&!!this.data.titleText,y=this.data.points.length>0?"bottom":this.config.xAxisPosition,l=this.calculateSpace(y,e,r,T);return{points:this.getQuadrantPoints(l),quadrants:this.getQuadrants(l),axisLabels:this.getAxisLabels(y,e,r,l),borderLines:this.getBorders(l),title:this.getTitle(T)}}},Et=class extends Error{static{t(this,"InvalidStyleError")}constructor(e,r,T){super(`value for ${e} ${r} is invalid, please use a valid ${T}`);this.name="InvalidStyleError"}};function Qt(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}t(Qt,"validateHexCode");function ue(e){return!/^\d+$/.test(e)}t(ue,"validateNumber");function xe(e){return!/^\d+px$/.test(e)}t(xe,"validateSizeInPixels");function it(e){return j(e.trim(),u())}t(it,"textSanitizer");var H=new ze;function fe(e){H.setData({quadrant1Text:it(e.text)})}t(fe,"setQuadrant1Text");function ge(e){H.setData({quadrant2Text:it(e.text)})}t(ge,"setQuadrant2Text");function pe(e){H.setData({quadrant3Text:it(e.text)})}t(pe,"setQuadrant3Text");function ye(e){H.setData({quadrant4Text:it(e.text)})}t(ye,"setQuadrant4Text");function be(e){H.setData({xAxisLeftText:it(e.text)})}t(be,"setXAxisLeftText");function Te(e){H.setData({xAxisRightText:it(e.text)})}t(Te,"setXAxisRightText");function me(e){H.setData({yAxisTopText:it(e.text)})}t(me,"setYAxisTopText");function qe(e){H.setData({yAxisBottomText:it(e.text)})}t(qe,"setYAxisBottomText");function Dt(e){let r={};for(let T of e){let[y,l]=T.trim().split(/\s*:\s*/);if(y==="radius"){if(ue(l))throw new Et(y,l,"number");r.radius=parseInt(l)}else if(y==="color"){if(Qt(l))throw new Et(y,l,"hex code");r.color=l}else if(y==="stroke-color"){if(Qt(l))throw new Et(y,l,"hex code");r.strokeColor=l}else if(y==="stroke-width"){if(xe(l))throw new Et(y,l,"number of pixels (eg. 10px)");r.strokeWidth=l}else throw Error(`style named ${y} is not supported.`)}return r}t(Dt,"parseStyles");function ke(e,r,T,y,l){let p=Dt(l);H.addPoints([{x:T,y,text:it(e.text),className:r,...p}])}t(ke,"addPoint");function Se(e,r){H.addClass(e,Dt(r))}t(Se,"addClass");function _e(e){H.setConfig({chartWidth:e})}t(_e,"setWidth");function Ae(e){H.setConfig({chartHeight:e})}t(Ae,"setHeight");function Fe(){let e=u(),{themeVariables:r,quadrantChart:T}=e;if(T)H.setConfig(T);return H.setThemeConfig({quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantTitleFill:r.quadrantTitleFill}),H.setData({titleText:N()}),H.build()}t(Fe,"getQuadrantData");var Ve=t(function(){H.clear(),A()},"clear"),Ie={setWidth:_e,setHeight:Ae,setQuadrant1Text:fe,setQuadrant2Text:ge,setQuadrant3Text:pe,setQuadrant4Text:ye,setXAxisLeftText:be,setXAxisRightText:Te,setYAxisTopText:me,setYAxisBottomText:qe,parseStyles:Dt,addPoint:ke,addClass:Se,getQuadrantData:Fe,clear:Ve,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:N,getAccDescription:D,setAccDescription:L},we=t((e,r,T,y)=>{function l(n){return n==="top"?"hanging":"middle"}t(l,"getDominantBaseLine");function p(n){return n==="left"?"start":"middle"}t(p,"getTextAnchor");function C(n){return`translate(${n.x}, ${n.y}) rotate(${n.rotation||0})`}t(C,"getTransformation");let d=u();a.debug(`Rendering quadrant chart
|
|
7
|
+
`+e);let x=d.securityLevel,F;if(x==="sandbox")F=h("#i"+r);let _=(x==="sandbox"?h(F.nodes()[0].contentDocument.body):h("body")).select(`[id="${r}"]`),m=_.append("g").attr("class","main"),q=d.quadrantChart?.chartWidth??500,k=d.quadrantChart?.chartHeight??500;G(_,k,q,d.quadrantChart?.useMaxWidth??!0),_.attr("viewBox","0 0 "+q+" "+k),y.db.setHeight(k),y.db.setWidth(q);let b=y.db.getQuadrantData(),E=m.append("g").attr("class","quadrants"),St=m.append("g").attr("class","border"),_t=m.append("g").attr("class","data-points"),At=m.append("g").attr("class","labels"),Ft=m.append("g").attr("class","title");if(b.title)Ft.append("text").attr("x",0).attr("y",0).attr("fill",b.title.fill).attr("font-size",b.title.fontSize).attr("dominant-baseline",l(b.title.horizontalPos)).attr("text-anchor",p(b.title.verticalPos)).attr("transform",C(b.title)).text(b.title.text);if(b.borderLines)St.selectAll("line").data(b.borderLines).enter().append("line").attr("x1",(n)=>n.x1).attr("y1",(n)=>n.y1).attr("x2",(n)=>n.x2).attr("y2",(n)=>n.y2).style("stroke",(n)=>n.strokeFill).style("stroke-width",(n)=>n.strokeWidth);let mt=E.selectAll("g.quadrant").data(b.quadrants).enter().append("g").attr("class","quadrant");mt.append("rect").attr("x",(n)=>n.x).attr("y",(n)=>n.y).attr("width",(n)=>n.width).attr("height",(n)=>n.height).attr("fill",(n)=>n.fill),mt.append("text").attr("x",0).attr("y",0).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>C(n.text)).text((n)=>n.text.text),At.selectAll("g.label").data(b.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((n)=>n.text).attr("fill",(n)=>n.fill).attr("font-size",(n)=>n.fontSize).attr("dominant-baseline",(n)=>l(n.horizontalPos)).attr("text-anchor",(n)=>p(n.verticalPos)).attr("transform",(n)=>C(n));let qt=_t.selectAll("g.data-point").data(b.points).enter().append("g").attr("class","data-point");qt.append("circle").attr("cx",(n)=>n.x).attr("cy",(n)=>n.y).attr("r",(n)=>n.radius).attr("fill",(n)=>n.fill).attr("stroke",(n)=>n.strokeColor).attr("stroke-width",(n)=>n.strokeWidth),qt.append("text").attr("x",0).attr("y",0).text((n)=>n.text.text).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>C(n.text))},"draw"),Be={draw:we},Xe={parser:De,db:Ie,renderer:Be,styles:t(()=>"","styles")};export{Xe as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Yr}from"./chunk-0z10aqp1.js";export{Yr as default};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Nl}from"./chunk-b83bzjcx.js";export{Nl as QuestionDock};
|