@bkm016/basalt 0.1.28 → 0.1.29
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-01fz0kzx.js +2 -0
- package/chunk-06k5mcmy.js +4018 -0
- package/chunk-14pg1g7b.js +2 -0
- package/chunk-1cvzbvsq.js +2 -0
- package/chunk-1pgj58dw.js +20 -0
- package/chunk-200cn72d.js +16 -0
- package/chunk-2nd8hvf3.js +31 -0
- package/chunk-39wsmkd7.js +4 -0
- package/chunk-54qc1d5t.js +2 -0
- package/chunk-59enxka6.js +50 -0
- package/chunk-5fs3331q.js +3 -0
- package/chunk-674kjaqz.js +2 -0
- package/chunk-6pqsx156.js +12 -0
- package/chunk-6rw1ex78.js +2 -0
- package/chunk-6vz0znf6.js +8 -0
- package/chunk-73z1fv3d.js +9 -0
- package/chunk-7dnq7g8f.js +3 -0
- package/chunk-7emc0sy7.js +11 -0
- package/chunk-7nsrfrmx.js +2 -0
- package/chunk-8hxsap9d.js +5 -0
- package/chunk-8kmtns4v.js +5 -0
- package/chunk-9dy56agy.js +51 -0
- package/chunk-9mt2k1a7.js +5 -0
- package/chunk-9sq7yxh7.js +12 -0
- package/chunk-9x1yprjh.js +2 -0
- package/chunk-a5k24aj6.js +3 -0
- package/chunk-ades3qy7.js +10 -0
- package/chunk-ag642nqs.js +8 -0
- package/chunk-av3zmcd8.js +3 -0
- package/chunk-b1hdfsj4.js +25 -0
- package/chunk-b5448t3j.js +2 -0
- package/chunk-b6rvzkxg.js +3 -0
- package/chunk-b8acka7e.js +2 -0
- package/chunk-bh680te4.js +2 -0
- package/chunk-cb4rvanv.js +2 -0
- package/chunk-d6hcvbkh.js +3 -0
- package/chunk-dqxks09b.js +3 -0
- package/chunk-eg161ep9.js +3 -0
- package/chunk-exjytvzn.js +2 -0
- package/chunk-f6kg68bj.js +3 -0
- package/chunk-fcxdq1dy.js +7 -0
- package/chunk-fkjjadt4.js +3 -0
- package/chunk-fr1zvytp.js +7 -0
- package/chunk-fx3cc8nr.js +3 -0
- package/chunk-hvxc1wyv.js +3 -0
- package/chunk-j24fq8ss.js +2 -0
- package/chunk-j55tyjct.js +2 -0
- package/chunk-jn0dhvkp.js +2 -0
- package/chunk-k9dw37w2.js +3 -0
- package/chunk-m6bm0739.js +2 -0
- package/chunk-mkfdzt82.js +2 -0
- package/chunk-nbm1tqvg.js +3 -0
- package/chunk-p5ga5as0.js +25 -0
- package/chunk-pmefr1ak.js +490 -0
- package/chunk-r49sxmnc.js +3 -0
- package/chunk-rf6t7zeb.js +286 -0
- package/chunk-s0ne3yb9.js +2 -0
- package/chunk-s8ybq82n.js +5 -0
- package/chunk-spv39wem.js +7 -0
- package/chunk-stgqqm7m.js +59 -0
- package/chunk-sykaz5bf.js +18 -0
- package/chunk-sz0jywpb.js +39 -0
- package/chunk-vcngwaee.js +3 -0
- package/chunk-vpvznxf4.js +3 -0
- package/chunk-vzh6e5f2.js +2 -0
- package/chunk-wkvrtjtc.js +2 -0
- package/chunk-wzd9b2qk.js +2 -0
- package/chunk-x1cva1gc.js +2 -0
- package/chunk-x83jcg3x.js +3 -0
- package/chunk-xdyee71m.js +10 -0
- package/chunk-xdygdssk.js +3 -0
- package/chunk-xjcg6cxc.js +3 -0
- package/chunk-xran6f0c.js +2 -0
- package/chunk-ymn1s2xs.js +3 -0
- package/chunk-ysqx0ye8.js +2 -0
- package/chunk-z58jafcm.js +3 -0
- package/chunk-zf1c6rj7.js +63 -0
- package/chunk-zgtahh10.js +44 -0
- package/compiled.js +11 -11
- package/package.json +1 -1
- package/ui-test-worker.js +79 -77
- package/web/chunk-0nt1mz09.js +1 -0
- package/web/chunk-0nt1mz09.js.br +0 -0
- package/web/chunk-0nt1mz09.js.gz +0 -0
- package/web/chunk-0yye7ex1.js +1 -0
- package/web/chunk-0yye7ex1.js.br +0 -0
- package/web/chunk-0yye7ex1.js.gz +0 -0
- package/web/chunk-1pffd2va.js +2 -0
- package/web/chunk-1pffd2va.js.br +0 -0
- package/web/chunk-1pffd2va.js.gz +0 -0
- package/web/chunk-368znnfs.js +1 -0
- package/web/chunk-368znnfs.js.br +0 -0
- package/web/chunk-368znnfs.js.gz +0 -0
- package/web/chunk-3tx9tqfb.js +291 -0
- package/web/chunk-3tx9tqfb.js.br +0 -0
- package/web/chunk-3tx9tqfb.js.gz +0 -0
- package/web/chunk-46ht4dh6.js +24 -0
- package/web/chunk-46ht4dh6.js.br +0 -0
- package/web/chunk-46ht4dh6.js.gz +0 -0
- package/web/chunk-4c418rk9.js +1 -0
- package/web/chunk-4c418rk9.js.br +2 -0
- package/web/chunk-4c418rk9.js.gz +0 -0
- package/web/chunk-4p0sm8e7.js +7 -0
- package/web/chunk-4p0sm8e7.js.br +0 -0
- package/web/chunk-4p0sm8e7.js.gz +0 -0
- package/web/chunk-4zam960g.js +1 -0
- package/web/chunk-4zam960g.js.br +0 -0
- package/web/chunk-4zam960g.js.gz +0 -0
- package/web/chunk-5h63t21g.js +1 -0
- package/web/chunk-5h63t21g.js.br +0 -0
- package/web/chunk-5h63t21g.js.gz +0 -0
- package/web/chunk-5h7xm5mn.js +1 -0
- package/web/chunk-5h7xm5mn.js.br +0 -0
- package/web/chunk-5h7xm5mn.js.gz +0 -0
- package/web/chunk-6crex674.js +89 -0
- package/web/chunk-6crex674.js.br +0 -0
- package/web/chunk-6crex674.js.gz +0 -0
- package/web/chunk-6v031vc6.js +21 -0
- package/web/chunk-6v031vc6.js.br +0 -0
- package/web/chunk-6v031vc6.js.gz +0 -0
- package/web/chunk-782gfmtk.js +38 -0
- package/web/chunk-782gfmtk.js.br +0 -0
- package/web/chunk-782gfmtk.js.gz +0 -0
- package/web/chunk-7a6szg06.js +2 -0
- package/web/chunk-7a6szg06.js.br +0 -0
- package/web/chunk-7a6szg06.js.gz +0 -0
- package/web/chunk-7dvbxn34.js +4 -0
- package/web/chunk-7dvbxn34.js.br +0 -0
- package/web/chunk-7dvbxn34.js.gz +0 -0
- package/web/chunk-7g795nba.js +1 -0
- package/web/chunk-7g795nba.js.br +2 -0
- package/web/chunk-7g795nba.js.gz +0 -0
- package/web/chunk-8fymhvne.js +1 -0
- package/web/chunk-8fymhvne.js.br +0 -0
- package/web/chunk-8fymhvne.js.gz +0 -0
- package/web/chunk-8kcp1h63.js +1 -0
- package/web/chunk-8kcp1h63.js.br +0 -0
- package/web/chunk-8kcp1h63.js.gz +0 -0
- package/web/chunk-8vtr60yn.js +2 -0
- package/web/chunk-8vtr60yn.js.br +0 -0
- package/web/chunk-8vtr60yn.js.gz +0 -0
- package/web/chunk-8y14zggg.js +2 -0
- package/web/chunk-8y14zggg.js.br +0 -0
- package/web/chunk-8y14zggg.js.gz +0 -0
- package/web/chunk-8zg840m3.js +1 -0
- package/web/chunk-8zg840m3.js.br +0 -0
- package/web/chunk-8zg840m3.js.gz +0 -0
- package/web/chunk-940sc4ny.js +7 -0
- package/web/chunk-940sc4ny.js.br +0 -0
- package/web/chunk-940sc4ny.js.gz +0 -0
- package/web/chunk-94f4sz0m.js +1 -0
- package/web/chunk-94f4sz0m.js.br +0 -0
- package/web/chunk-94f4sz0m.js.gz +0 -0
- package/web/chunk-94jy9s3n.js +55 -0
- package/web/chunk-94jy9s3n.js.br +0 -0
- package/web/chunk-94jy9s3n.js.gz +0 -0
- package/web/chunk-97qfkg6n.js +30 -0
- package/web/chunk-97qfkg6n.js.br +0 -0
- package/web/chunk-97qfkg6n.js.gz +0 -0
- package/web/chunk-99mgkmjb.js +62 -0
- package/web/chunk-99mgkmjb.js.br +0 -0
- package/web/chunk-99mgkmjb.js.gz +0 -0
- package/web/chunk-9afn27bs.js +1 -0
- package/web/chunk-9afn27bs.js.br +2 -0
- package/web/chunk-9afn27bs.js.gz +0 -0
- package/web/chunk-aw4h94zp.js +1 -0
- package/web/chunk-aw4h94zp.js.br +0 -0
- package/web/chunk-aw4h94zp.js.gz +0 -0
- package/web/chunk-azdhgj11.js +40 -0
- package/web/chunk-azdhgj11.js.br +0 -0
- package/web/chunk-azdhgj11.js.gz +0 -0
- package/web/chunk-batey85v.js +2 -0
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-brbxfap5.js +99 -0
- package/web/chunk-brbxfap5.js.br +0 -0
- package/web/chunk-brbxfap5.js.gz +0 -0
- package/web/chunk-bxc8a663.js +2 -0
- package/web/chunk-bxc8a663.js.br +0 -0
- package/web/chunk-bxc8a663.js.gz +0 -0
- package/web/chunk-c2t7zyge.js +169 -0
- package/web/chunk-c2t7zyge.js.br +0 -0
- package/web/chunk-c2t7zyge.js.gz +0 -0
- package/web/chunk-c5bfa3rp.js +1 -0
- package/web/chunk-c5bfa3rp.js.br +0 -0
- package/web/chunk-c5bfa3rp.js.gz +0 -0
- package/web/chunk-c86a6am5.js +2 -0
- package/web/chunk-c86a6am5.js.br +3 -0
- package/web/chunk-c86a6am5.js.gz +0 -0
- package/web/chunk-dgtp38mj.js +1 -0
- package/web/chunk-dgtp38mj.js.br +0 -0
- package/web/chunk-dgtp38mj.js.gz +0 -0
- package/web/chunk-e4h4dg4y.js +303 -0
- package/web/chunk-e4h4dg4y.js.br +0 -0
- package/web/chunk-e4h4dg4y.js.gz +0 -0
- package/web/chunk-e5f8e2ta.js +1 -0
- package/web/chunk-e5f8e2ta.js.br +0 -0
- package/web/chunk-e5f8e2ta.js.gz +0 -0
- package/web/chunk-e7rwnv7e.js +1 -0
- package/web/chunk-e7rwnv7e.js.br +0 -0
- package/web/chunk-e7rwnv7e.js.gz +0 -0
- package/web/chunk-ef9tqrz4.js +324 -0
- package/web/chunk-ef9tqrz4.js.br +0 -0
- package/web/chunk-ef9tqrz4.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +1 -0
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-ekkdhece.js +41 -0
- package/web/chunk-ekkdhece.js.br +0 -0
- package/web/chunk-ekkdhece.js.gz +0 -0
- package/web/chunk-enbqe508.js +36 -0
- package/web/chunk-enbqe508.js.br +0 -0
- package/web/chunk-enbqe508.js.gz +0 -0
- package/web/chunk-ev517x0c.js +1 -0
- package/web/chunk-ev517x0c.js.br +0 -0
- package/web/chunk-ev517x0c.js.gz +0 -0
- package/web/chunk-ex47jeev.js +1 -0
- package/web/chunk-ex47jeev.js.br +0 -0
- package/web/chunk-ex47jeev.js.gz +0 -0
- package/web/chunk-ft9p7cr8.js +8 -0
- package/web/chunk-ft9p7cr8.js.br +0 -0
- package/web/chunk-ft9p7cr8.js.gz +0 -0
- package/web/chunk-fybmc8p1.js +1 -0
- package/web/chunk-fybmc8p1.js.br +0 -0
- package/web/chunk-fybmc8p1.js.gz +0 -0
- package/web/chunk-g6e50kx0.js +3 -0
- package/web/chunk-g6e50kx0.js.br +0 -0
- package/web/chunk-g6e50kx0.js.gz +0 -0
- package/web/chunk-g6grehr5.css +1 -0
- package/web/chunk-g6grehr5.css.br +0 -0
- package/web/chunk-g6grehr5.css.gz +0 -0
- package/web/chunk-gbzfq3rg.js +332 -0
- package/web/chunk-gbzfq3rg.js.br +0 -0
- package/web/chunk-gbzfq3rg.js.gz +0 -0
- package/web/chunk-gsg8yq3m.js +1 -0
- package/web/chunk-gsg8yq3m.js.br +0 -0
- package/web/chunk-gsg8yq3m.js.gz +0 -0
- package/web/chunk-hgcgbxns.js +1 -0
- package/web/chunk-hgcgbxns.js.br +0 -0
- package/web/chunk-hgcgbxns.js.gz +0 -0
- package/web/chunk-hh8ck7sy.js +2 -0
- package/web/chunk-hh8ck7sy.js.br +0 -0
- package/web/chunk-hh8ck7sy.js.gz +0 -0
- package/web/chunk-hj18pw9f.js +2 -0
- package/web/chunk-hj18pw9f.js.br +0 -0
- package/web/chunk-hj18pw9f.js.gz +0 -0
- package/web/chunk-hk4jd2qq.js +24 -0
- package/web/chunk-hk4jd2qq.js.br +0 -0
- package/web/chunk-hk4jd2qq.js.gz +0 -0
- package/web/chunk-hrnx1576.js +4 -0
- package/web/chunk-hrnx1576.js.br +0 -0
- package/web/chunk-hrnx1576.js.gz +0 -0
- package/web/chunk-j0ns5dyq.js +120 -0
- package/web/chunk-j0ns5dyq.js.br +0 -0
- package/web/chunk-j0ns5dyq.js.gz +0 -0
- package/web/chunk-j21a7pd1.js +1 -0
- package/web/chunk-j21a7pd1.js.br +0 -0
- package/web/chunk-j21a7pd1.js.gz +0 -0
- package/web/chunk-jbejy8k3.js +1139 -0
- package/web/chunk-jbejy8k3.js.br +0 -0
- package/web/chunk-jbejy8k3.js.gz +0 -0
- package/web/chunk-jeq99z4t.js +70 -0
- package/web/chunk-jeq99z4t.js.br +0 -0
- package/web/chunk-jeq99z4t.js.gz +0 -0
- package/web/chunk-jqq07zta.js +1 -0
- package/web/chunk-jqq07zta.js.br +0 -0
- package/web/chunk-jqq07zta.js.gz +0 -0
- package/web/chunk-k6m37v6k.js +1 -0
- package/web/chunk-k6m37v6k.js.br +0 -0
- package/web/chunk-k6m37v6k.js.gz +0 -0
- package/web/chunk-kajk2w5j.js +217 -0
- package/web/chunk-kajk2w5j.js.br +0 -0
- package/web/chunk-kajk2w5j.js.gz +0 -0
- package/web/chunk-kcrypnnf.js +1 -0
- package/web/chunk-kcrypnnf.js.br +0 -0
- package/web/chunk-kcrypnnf.js.gz +0 -0
- package/web/chunk-kyksv8an.js +1 -0
- package/web/chunk-kyksv8an.js.br +2 -0
- package/web/chunk-kyksv8an.js.gz +0 -0
- package/web/chunk-mkhcq6z6.js +1 -0
- package/web/chunk-mkhcq6z6.js.br +0 -0
- package/web/chunk-mkhcq6z6.js.gz +0 -0
- package/web/chunk-mytypet0.js +2 -0
- package/web/chunk-mytypet0.js.br +0 -0
- package/web/chunk-mytypet0.js.gz +0 -0
- package/web/chunk-mzb086jr.js +1 -0
- package/web/chunk-mzb086jr.js.br +0 -0
- package/web/chunk-mzb086jr.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +1 -0
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n7c5sndg.js +1 -0
- package/web/chunk-n7c5sndg.js.br +0 -0
- package/web/chunk-n7c5sndg.js.gz +0 -0
- package/web/chunk-ned200k0.js +84 -0
- package/web/chunk-ned200k0.js.br +0 -0
- package/web/chunk-ned200k0.js.gz +0 -0
- package/web/chunk-ngcd5a3c.js +1 -0
- package/web/chunk-ngcd5a3c.js.br +0 -0
- package/web/chunk-ngcd5a3c.js.gz +0 -0
- package/web/chunk-nx14h1a6.js +1 -0
- package/web/chunk-nx14h1a6.js.br +0 -0
- package/web/chunk-nx14h1a6.js.gz +0 -0
- package/web/chunk-p3fv7nbz.js +1 -0
- package/web/chunk-p3fv7nbz.js.br +0 -0
- package/web/chunk-p3fv7nbz.js.gz +0 -0
- package/web/chunk-pktgtyf6.js +1 -0
- package/web/chunk-pktgtyf6.js.br +0 -0
- package/web/chunk-pktgtyf6.js.gz +0 -0
- package/web/chunk-pm504vps.js +89 -0
- package/web/chunk-pm504vps.js.br +0 -0
- package/web/chunk-pm504vps.js.gz +0 -0
- package/web/chunk-pnvkphs0.js +12 -0
- package/web/chunk-pnvkphs0.js.br +0 -0
- package/web/chunk-pnvkphs0.js.gz +0 -0
- package/web/chunk-ptvshaa0.js +2 -0
- package/web/chunk-ptvshaa0.js.br +0 -0
- package/web/chunk-ptvshaa0.js.gz +0 -0
- package/web/chunk-py4737sc.js +39 -0
- package/web/chunk-py4737sc.js.br +0 -0
- package/web/chunk-py4737sc.js.gz +0 -0
- package/web/chunk-pz5wcbdv.js +139 -0
- package/web/chunk-pz5wcbdv.js.br +0 -0
- package/web/chunk-pz5wcbdv.js.gz +0 -0
- package/web/chunk-q467b529.js +1 -0
- package/web/chunk-q467b529.js.br +0 -0
- package/web/chunk-q467b529.js.gz +0 -0
- package/web/chunk-qbvbfpx8.js +1 -0
- package/web/chunk-qbvbfpx8.js.br +0 -0
- package/web/chunk-qbvbfpx8.js.gz +0 -0
- package/web/chunk-qgfc4ptt.js +7 -0
- package/web/chunk-qgfc4ptt.js.br +0 -0
- package/web/chunk-qgfc4ptt.js.gz +0 -0
- package/web/chunk-qmmss130.js +2 -0
- package/web/chunk-qmmss130.js.br +0 -0
- package/web/chunk-qmmss130.js.gz +0 -0
- package/web/chunk-qqrzr444.js +2 -0
- package/web/chunk-qqrzr444.js.br +0 -0
- package/web/chunk-qqrzr444.js.gz +0 -0
- package/web/chunk-r2fjprkk.js +1 -0
- package/web/chunk-r2fjprkk.js.br +0 -0
- package/web/chunk-r2fjprkk.js.gz +0 -0
- package/web/chunk-rcn21n5e.js +214 -0
- package/web/chunk-rcn21n5e.js.br +0 -0
- package/web/chunk-rcn21n5e.js.gz +0 -0
- package/web/chunk-rpnw9xwe.js +1 -0
- package/web/chunk-rpnw9xwe.js.br +0 -0
- package/web/chunk-rpnw9xwe.js.gz +0 -0
- package/web/chunk-rv5h4d8w.js +1 -0
- package/web/chunk-rv5h4d8w.js.br +0 -0
- package/web/chunk-rv5h4d8w.js.gz +0 -0
- package/web/chunk-s8e8gzvn.js +16 -0
- package/web/chunk-s8e8gzvn.js.br +0 -0
- package/web/chunk-s8e8gzvn.js.gz +0 -0
- package/web/chunk-sa57mndb.js +1 -0
- package/web/chunk-sa57mndb.js.br +0 -0
- package/web/chunk-sa57mndb.js.gz +0 -0
- package/web/chunk-sc90h9bd.js +2 -0
- package/web/chunk-sc90h9bd.js.br +0 -0
- package/web/chunk-sc90h9bd.js.gz +0 -0
- package/web/chunk-t44qa4yt.js +200 -0
- package/web/chunk-t44qa4yt.js.br +0 -0
- package/web/chunk-t44qa4yt.js.gz +0 -0
- package/web/chunk-t8b8cdak.js +2 -0
- package/web/chunk-t8b8cdak.js.br +0 -0
- package/web/chunk-t8b8cdak.js.gz +0 -0
- package/web/chunk-t9cgbcf2.js +1 -0
- package/web/chunk-t9cgbcf2.js.br +0 -0
- package/web/chunk-t9cgbcf2.js.gz +0 -0
- package/web/chunk-tk8kf0bf.js +2 -0
- package/web/chunk-tk8kf0bf.js.br +0 -0
- package/web/chunk-tk8kf0bf.js.gz +0 -0
- package/web/chunk-tt3v857c.js +106 -0
- package/web/chunk-tt3v857c.js.br +0 -0
- package/web/chunk-tt3v857c.js.gz +0 -0
- package/web/chunk-vjnmqaam.js +2 -0
- package/web/chunk-vjnmqaam.js.br +0 -0
- package/web/chunk-vjnmqaam.js.gz +0 -0
- package/web/chunk-vp5qf59s.js +1 -0
- package/web/chunk-vp5qf59s.js.br +0 -0
- package/web/chunk-vp5qf59s.js.gz +0 -0
- package/web/chunk-wrax5wt5.js +292 -0
- package/web/chunk-wrax5wt5.js.br +0 -0
- package/web/chunk-wrax5wt5.js.gz +0 -0
- package/web/chunk-xk8637wb.js +1 -0
- package/web/chunk-xk8637wb.js.br +0 -0
- package/web/chunk-xk8637wb.js.gz +0 -0
- package/web/chunk-yarejzzs.js +142 -0
- package/web/chunk-yarejzzs.js.br +0 -0
- package/web/chunk-yarejzzs.js.gz +0 -0
- package/web/chunk-yg6ys554.js +1 -0
- package/web/chunk-yg6ys554.js.br +0 -0
- package/web/chunk-yg6ys554.js.gz +0 -0
- package/web/chunk-yq6xkb5w.js +370 -0
- package/web/chunk-yq6xkb5w.js.br +0 -0
- package/web/chunk-yq6xkb5w.js.gz +0 -0
- package/web/chunk-yw98mr7e.js +2 -0
- package/web/chunk-yw98mr7e.js.br +0 -0
- package/web/chunk-yw98mr7e.js.gz +0 -0
- package/web/chunk-z07kf12w.js +78 -0
- package/web/chunk-z07kf12w.js.br +0 -0
- package/web/chunk-z07kf12w.js.gz +0 -0
- package/web/chunk-z5sk390b.js +2 -0
- package/web/chunk-z5sk390b.js.br +0 -0
- package/web/chunk-z5sk390b.js.gz +0 -0
- package/web/chunk-zh2szkjy.js +140 -0
- package/web/chunk-zh2szkjy.js.br +0 -0
- package/web/chunk-zh2szkjy.js.gz +0 -0
- package/web/chunk-zrmm67mx.js +34 -0
- package/web/chunk-zrmm67mx.js.br +0 -0
- package/web/chunk-zrmm67mx.js.gz +0 -0
- package/web/chunk-zyfr25n1.js +98 -0
- package/web/chunk-zyfr25n1.js.br +0 -0
- package/web/chunk-zyfr25n1.js.gz +0 -0
- package/web/chunk-zykkmwba.js +2 -0
- package/web/chunk-zykkmwba.js.br +0 -0
- package/web/chunk-zykkmwba.js.gz +0 -0
- package/web/chunk-zzs4h31m.js +2 -0
- package/web/chunk-zzs4h31m.js.br +0 -0
- package/web/chunk-zzs4h31m.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-00jhevnt.js +0 -3
- package/chunk-04tx0etc.js +0 -2
- package/chunk-0r86p29p.js +0 -7
- package/chunk-10x1zefx.js +0 -25
- package/chunk-1amcz1cz.js +0 -10
- package/chunk-1pfdps04.js +0 -2
- package/chunk-206g40v9.js +0 -59
- package/chunk-2364s958.js +0 -7
- package/chunk-3fv2qcpg.js +0 -12
- package/chunk-3zz4a5tn.js +0 -31
- package/chunk-45wfmdts.js +0 -44
- package/chunk-4hkwjw05.js +0 -2
- package/chunk-4n4wn5cj.js +0 -4014
- package/chunk-4pq7ycp2.js +0 -5
- package/chunk-5e0qfdgx.js +0 -5
- package/chunk-78yngmvf.js +0 -51
- package/chunk-7hpf9qq2.js +0 -3
- package/chunk-82dkdvs9.js +0 -2
- package/chunk-8913dkey.js +0 -3
- package/chunk-8g1sbmwf.js +0 -3
- package/chunk-8hfch7d0.js +0 -2
- package/chunk-90arpvgz.js +0 -2
- package/chunk-912knnfg.js +0 -11
- package/chunk-97bazdk3.js +0 -20
- package/chunk-9akexjfn.js +0 -2
- package/chunk-9dgmbwcc.js +0 -2
- package/chunk-a454ntda.js +0 -50
- package/chunk-acd2cwza.js +0 -3
- package/chunk-ach16jbw.js +0 -2
- package/chunk-ax823t5v.js +0 -3
- package/chunk-b03hg30w.js +0 -2
- package/chunk-bh29df86.js +0 -5
- package/chunk-bhpg72c4.js +0 -2
- package/chunk-bwww6j2q.js +0 -2
- package/chunk-c126k8wc.js +0 -2
- package/chunk-cb3jgak9.js +0 -3
- package/chunk-cjeyy6da.js +0 -3
- package/chunk-cs4gb2hb.js +0 -2
- package/chunk-en5t6hwd.js +0 -3
- package/chunk-f4n1csz0.js +0 -3
- package/chunk-j16smb6d.js +0 -2
- package/chunk-j7eqp97m.js +0 -2
- package/chunk-jdrqn8m1.js +0 -2
- package/chunk-jp1gqkbp.js +0 -4
- package/chunk-jrcvxscb.js +0 -9
- package/chunk-k8zq95wr.js +0 -2
- package/chunk-ken7ras9.js +0 -8
- package/chunk-kqgpjmcf.js +0 -2
- package/chunk-krbdx24j.js +0 -3
- package/chunk-ky2ym708.js +0 -8
- package/chunk-kzfy666j.js +0 -16
- package/chunk-n0stnnxv.js +0 -2
- package/chunk-n9m2pagh.js +0 -2
- package/chunk-nedvy6yk.js +0 -10
- package/chunk-ng5g0fy3.js +0 -3
- package/chunk-nqeqasyt.js +0 -7
- package/chunk-nt30x5a7.js +0 -3
- package/chunk-q1s5r204.js +0 -3
- package/chunk-qj0vfk01.js +0 -2
- package/chunk-qqfdg01g.js +0 -3
- package/chunk-rj6qknjx.js +0 -12
- package/chunk-rvrj0nrs.js +0 -3
- package/chunk-sbhj5h2q.js +0 -2
- package/chunk-t71zzafh.js +0 -3
- package/chunk-t7fwvzmh.js +0 -3
- package/chunk-tpv5hz99.js +0 -5
- package/chunk-tx2rrrtq.js +0 -2
- package/chunk-tyzzbhr5.js +0 -3
- package/chunk-tzbefwf0.js +0 -286
- package/chunk-v4p8807b.js +0 -18
- package/chunk-vnxjcym9.js +0 -17
- package/chunk-w35r8v6x.js +0 -39
- package/chunk-wbygknv2.js +0 -3
- package/chunk-wk63htqy.js +0 -2
- package/chunk-wwazj6mz.js +0 -3
- package/chunk-xpc75mkw.js +0 -25
- package/chunk-ypxn8bec.js +0 -3
- package/chunk-yztc2q9q.js +0 -490
- package/web/chunk-02z7yrhn.js +0 -2
- package/web/chunk-02z7yrhn.js.br +0 -0
- package/web/chunk-02z7yrhn.js.gz +0 -0
- package/web/chunk-0an1eqtf.js +0 -1
- package/web/chunk-0an1eqtf.js.br +0 -0
- package/web/chunk-0an1eqtf.js.gz +0 -0
- package/web/chunk-128zy60g.js +0 -99
- package/web/chunk-128zy60g.js.br +0 -0
- package/web/chunk-128zy60g.js.gz +0 -0
- package/web/chunk-1e2jy7m2.js +0 -139
- package/web/chunk-1e2jy7m2.js.br +0 -0
- package/web/chunk-1e2jy7m2.js.gz +0 -0
- package/web/chunk-1v3e001f.js +0 -1
- package/web/chunk-1v3e001f.js.br +0 -0
- package/web/chunk-1v3e001f.js.gz +0 -0
- package/web/chunk-214p3rj6.js +0 -41
- package/web/chunk-214p3rj6.js.br +0 -0
- package/web/chunk-214p3rj6.js.gz +0 -0
- package/web/chunk-29byd5kf.js +0 -89
- package/web/chunk-29byd5kf.js.br +0 -0
- package/web/chunk-29byd5kf.js.gz +0 -0
- package/web/chunk-3fbh1wxk.js +0 -62
- package/web/chunk-3fbh1wxk.js.br +0 -0
- package/web/chunk-3fbh1wxk.js.gz +0 -0
- package/web/chunk-3fnrzj1h.js +0 -98
- package/web/chunk-3fnrzj1h.js.br +0 -0
- package/web/chunk-3fnrzj1h.js.gz +0 -0
- package/web/chunk-3g1095m7.js +0 -78
- package/web/chunk-3g1095m7.js.br +0 -0
- package/web/chunk-3g1095m7.js.gz +0 -0
- package/web/chunk-3nn7w4hw.js +0 -2
- package/web/chunk-3nn7w4hw.js.br +0 -0
- package/web/chunk-3nn7w4hw.js.gz +0 -0
- package/web/chunk-3qa8xcdr.js +0 -1
- package/web/chunk-3qa8xcdr.js.br +0 -0
- package/web/chunk-3qa8xcdr.js.gz +0 -0
- package/web/chunk-3x69jfmh.js +0 -332
- package/web/chunk-3x69jfmh.js.br +0 -0
- package/web/chunk-3x69jfmh.js.gz +0 -0
- package/web/chunk-4v6m77sv.css +0 -1
- package/web/chunk-4v6m77sv.css.br +0 -0
- package/web/chunk-4v6m77sv.css.gz +0 -0
- package/web/chunk-4vk6xma5.js +0 -1
- package/web/chunk-4vk6xma5.js.br +0 -0
- package/web/chunk-4vk6xma5.js.gz +0 -0
- package/web/chunk-50pdas2t.js +0 -1
- package/web/chunk-50pdas2t.js.br +0 -0
- package/web/chunk-50pdas2t.js.gz +0 -0
- package/web/chunk-56a6zytc.js +0 -1139
- package/web/chunk-56a6zytc.js.br +0 -0
- package/web/chunk-56a6zytc.js.gz +0 -0
- package/web/chunk-5ckj4zez.js +0 -1
- package/web/chunk-5ckj4zez.js.br +0 -2
- package/web/chunk-5ckj4zez.js.gz +0 -0
- package/web/chunk-5mr8z024.js +0 -2
- package/web/chunk-5mr8z024.js.br +0 -0
- package/web/chunk-5mr8z024.js.gz +0 -0
- package/web/chunk-5q4pemdh.js +0 -1
- package/web/chunk-5q4pemdh.js.br +0 -0
- package/web/chunk-5q4pemdh.js.gz +0 -0
- package/web/chunk-63ft76vs.js +0 -1
- package/web/chunk-63ft76vs.js.br +0 -0
- package/web/chunk-63ft76vs.js.gz +0 -0
- package/web/chunk-67ynxnvq.js +0 -8
- package/web/chunk-67ynxnvq.js.br +0 -0
- package/web/chunk-67ynxnvq.js.gz +0 -0
- package/web/chunk-6c2pv79h.js +0 -1
- package/web/chunk-6c2pv79h.js.br +0 -0
- package/web/chunk-6c2pv79h.js.gz +0 -0
- package/web/chunk-719tz8xw.js +0 -1
- package/web/chunk-719tz8xw.js.br +0 -0
- package/web/chunk-719tz8xw.js.gz +0 -0
- package/web/chunk-77nxgqqb.js +0 -4
- package/web/chunk-77nxgqqb.js.br +0 -0
- package/web/chunk-77nxgqqb.js.gz +0 -0
- package/web/chunk-7c59jb8d.js +0 -2
- package/web/chunk-7c59jb8d.js.br +0 -0
- package/web/chunk-7c59jb8d.js.gz +0 -0
- package/web/chunk-7ed5jf6e.js +0 -36
- package/web/chunk-7ed5jf6e.js.br +0 -0
- package/web/chunk-7ed5jf6e.js.gz +0 -0
- package/web/chunk-891bpx3c.js +0 -70
- package/web/chunk-891bpx3c.js.br +0 -0
- package/web/chunk-891bpx3c.js.gz +0 -0
- package/web/chunk-8h4dc48v.js +0 -292
- package/web/chunk-8h4dc48v.js.br +0 -0
- package/web/chunk-8h4dc48v.js.gz +0 -0
- package/web/chunk-96n00vam.js +0 -1
- package/web/chunk-96n00vam.js.br +0 -0
- package/web/chunk-96n00vam.js.gz +0 -0
- package/web/chunk-9bs7khrr.js +0 -24
- package/web/chunk-9bs7khrr.js.br +0 -0
- package/web/chunk-9bs7khrr.js.gz +0 -0
- package/web/chunk-9ctyqr3n.js +0 -169
- package/web/chunk-9ctyqr3n.js.br +0 -0
- package/web/chunk-9ctyqr3n.js.gz +0 -0
- package/web/chunk-9qdx0ekk.js +0 -142
- package/web/chunk-9qdx0ekk.js.br +0 -0
- package/web/chunk-9qdx0ekk.js.gz +0 -0
- package/web/chunk-9r0rnt6d.js +0 -214
- package/web/chunk-9r0rnt6d.js.br +0 -0
- package/web/chunk-9r0rnt6d.js.gz +0 -0
- package/web/chunk-a11ev6ff.js +0 -1
- package/web/chunk-a11ev6ff.js.br +0 -0
- package/web/chunk-a11ev6ff.js.gz +0 -0
- package/web/chunk-ac9g3w7v.js +0 -1
- package/web/chunk-ac9g3w7v.js.br +0 -0
- package/web/chunk-ac9g3w7v.js.gz +0 -0
- package/web/chunk-ackts7ph.js +0 -24
- package/web/chunk-ackts7ph.js.br +0 -0
- package/web/chunk-ackts7ph.js.gz +0 -0
- package/web/chunk-asyqrf38.js +0 -1
- package/web/chunk-asyqrf38.js.br +0 -0
- package/web/chunk-asyqrf38.js.gz +0 -0
- package/web/chunk-b13crsv9.js +0 -1
- package/web/chunk-b13crsv9.js.br +0 -0
- package/web/chunk-b13crsv9.js.gz +0 -0
- package/web/chunk-brg2zcv5.js +0 -55
- package/web/chunk-brg2zcv5.js.br +0 -0
- package/web/chunk-brg2zcv5.js.gz +0 -0
- package/web/chunk-bw9crrb4.js +0 -1
- package/web/chunk-bw9crrb4.js.br +0 -0
- package/web/chunk-bw9crrb4.js.gz +0 -0
- package/web/chunk-c3d08dw1.js +0 -1
- package/web/chunk-c3d08dw1.js.br +0 -0
- package/web/chunk-c3d08dw1.js.gz +0 -0
- package/web/chunk-cgwnzse1.js +0 -16
- package/web/chunk-cgwnzse1.js.br +0 -0
- package/web/chunk-cgwnzse1.js.gz +0 -0
- package/web/chunk-cm4fjb6j.js +0 -2
- package/web/chunk-cm4fjb6j.js.br +0 -0
- package/web/chunk-cm4fjb6j.js.gz +0 -0
- package/web/chunk-cys4n4sv.js +0 -1
- package/web/chunk-cys4n4sv.js.br +0 -0
- package/web/chunk-cys4n4sv.js.gz +0 -0
- package/web/chunk-djrvdzsb.js +0 -89
- package/web/chunk-djrvdzsb.js.br +0 -0
- package/web/chunk-djrvdzsb.js.gz +0 -0
- package/web/chunk-dsffzc1e.js +0 -2
- package/web/chunk-dsffzc1e.js.br +0 -0
- package/web/chunk-dsffzc1e.js.gz +0 -0
- package/web/chunk-e1wy8050.js +0 -370
- package/web/chunk-e1wy8050.js.br +0 -0
- package/web/chunk-e1wy8050.js.gz +0 -0
- package/web/chunk-ebknmxdp.js +0 -2
- package/web/chunk-ebknmxdp.js.br +0 -0
- package/web/chunk-ebknmxdp.js.gz +0 -0
- package/web/chunk-egjv760p.js +0 -2
- package/web/chunk-egjv760p.js.br +0 -0
- package/web/chunk-egjv760p.js.gz +0 -0
- package/web/chunk-etpd8y98.js +0 -1
- package/web/chunk-etpd8y98.js.br +0 -0
- package/web/chunk-etpd8y98.js.gz +0 -0
- package/web/chunk-f5kr9p2k.js +0 -1
- package/web/chunk-f5kr9p2k.js.br +0 -2
- package/web/chunk-f5kr9p2k.js.gz +0 -0
- package/web/chunk-fjhqg9ag.js +0 -2
- package/web/chunk-fjhqg9ag.js.br +0 -0
- package/web/chunk-fjhqg9ag.js.gz +0 -0
- package/web/chunk-fyr6rm2p.js +0 -2
- package/web/chunk-fyr6rm2p.js.br +0 -0
- package/web/chunk-fyr6rm2p.js.gz +0 -0
- package/web/chunk-grjq1g15.js +0 -1
- package/web/chunk-grjq1g15.js.br +0 -0
- package/web/chunk-grjq1g15.js.gz +0 -0
- package/web/chunk-h4bzgvbg.js +0 -303
- package/web/chunk-h4bzgvbg.js.br +0 -0
- package/web/chunk-h4bzgvbg.js.gz +0 -0
- package/web/chunk-heen0v5d.js +0 -12
- package/web/chunk-heen0v5d.js.br +0 -0
- package/web/chunk-heen0v5d.js.gz +0 -0
- package/web/chunk-henez15c.js +0 -4
- package/web/chunk-henez15c.js.br +0 -0
- package/web/chunk-henez15c.js.gz +0 -0
- package/web/chunk-hpcvwdkg.js +0 -1
- package/web/chunk-hpcvwdkg.js.br +0 -0
- package/web/chunk-hpcvwdkg.js.gz +0 -0
- package/web/chunk-hpvyk6rz.js +0 -324
- package/web/chunk-hpvyk6rz.js.br +0 -0
- package/web/chunk-hpvyk6rz.js.gz +0 -0
- package/web/chunk-j0dyf1g8.js +0 -2
- package/web/chunk-j0dyf1g8.js.br +0 -3
- package/web/chunk-j0dyf1g8.js.gz +0 -0
- package/web/chunk-jb89v31q.js +0 -1
- package/web/chunk-jb89v31q.js.br +0 -0
- package/web/chunk-jb89v31q.js.gz +0 -0
- package/web/chunk-jb949ewp.js +0 -217
- package/web/chunk-jb949ewp.js.br +0 -0
- package/web/chunk-jb949ewp.js.gz +0 -0
- package/web/chunk-je4bf95v.js +0 -1
- package/web/chunk-je4bf95v.js.br +0 -0
- package/web/chunk-je4bf95v.js.gz +0 -0
- package/web/chunk-js6c1973.js +0 -1
- package/web/chunk-js6c1973.js.br +0 -0
- package/web/chunk-js6c1973.js.gz +0 -0
- package/web/chunk-k140nr54.js +0 -1
- package/web/chunk-k140nr54.js.br +0 -0
- package/web/chunk-k140nr54.js.gz +0 -0
- package/web/chunk-k89686qj.js +0 -2
- package/web/chunk-k89686qj.js.br +0 -0
- package/web/chunk-k89686qj.js.gz +0 -0
- package/web/chunk-kknrn2wb.js +0 -84
- package/web/chunk-kknrn2wb.js.br +0 -0
- package/web/chunk-kknrn2wb.js.gz +0 -0
- package/web/chunk-mhtzdq9d.js +0 -140
- package/web/chunk-mhtzdq9d.js.br +0 -0
- package/web/chunk-mhtzdq9d.js.gz +0 -0
- package/web/chunk-mrnj2k3v.js +0 -2
- package/web/chunk-mrnj2k3v.js.br +0 -0
- package/web/chunk-mrnj2k3v.js.gz +0 -0
- package/web/chunk-my0k5w7f.js +0 -39
- package/web/chunk-my0k5w7f.js.br +0 -0
- package/web/chunk-my0k5w7f.js.gz +0 -0
- package/web/chunk-n08727ym.js +0 -34
- package/web/chunk-n08727ym.js.br +0 -0
- package/web/chunk-n08727ym.js.gz +0 -0
- package/web/chunk-n5ghyxwk.js +0 -38
- package/web/chunk-n5ghyxwk.js.br +0 -0
- package/web/chunk-n5ghyxwk.js.gz +0 -0
- package/web/chunk-nt21rjrm.js +0 -21
- package/web/chunk-nt21rjrm.js.br +0 -0
- package/web/chunk-nt21rjrm.js.gz +0 -0
- package/web/chunk-nzgj9qx5.js +0 -2
- package/web/chunk-nzgj9qx5.js.br +0 -0
- package/web/chunk-nzgj9qx5.js.gz +0 -0
- package/web/chunk-p9wm0dv3.js +0 -1
- package/web/chunk-p9wm0dv3.js.br +0 -0
- package/web/chunk-p9wm0dv3.js.gz +0 -0
- package/web/chunk-pqh9yszs.js +0 -106
- package/web/chunk-pqh9yszs.js.br +0 -0
- package/web/chunk-pqh9yszs.js.gz +0 -0
- package/web/chunk-q0vsqq43.js +0 -1
- package/web/chunk-q0vsqq43.js.br +0 -0
- package/web/chunk-q0vsqq43.js.gz +0 -0
- package/web/chunk-qv5d69fn.js +0 -2
- package/web/chunk-qv5d69fn.js.br +0 -0
- package/web/chunk-qv5d69fn.js.gz +0 -0
- package/web/chunk-r7afv22v.js +0 -2
- package/web/chunk-r7afv22v.js.br +0 -0
- package/web/chunk-r7afv22v.js.gz +0 -0
- package/web/chunk-rc6at4k5.js +0 -291
- package/web/chunk-rc6at4k5.js.br +0 -0
- package/web/chunk-rc6at4k5.js.gz +0 -0
- package/web/chunk-rnsvrehz.js +0 -30
- package/web/chunk-rnsvrehz.js.br +0 -0
- package/web/chunk-rnsvrehz.js.gz +0 -0
- package/web/chunk-rsmhn1fq.js +0 -1
- package/web/chunk-rsmhn1fq.js.br +0 -0
- package/web/chunk-rsmhn1fq.js.gz +0 -0
- package/web/chunk-s1p271av.js +0 -1
- package/web/chunk-s1p271av.js.br +0 -0
- package/web/chunk-s1p271av.js.gz +0 -0
- package/web/chunk-s6a13wxe.js +0 -2
- package/web/chunk-s6a13wxe.js.br +0 -0
- package/web/chunk-s6a13wxe.js.gz +0 -0
- package/web/chunk-sc4kwbnh.js +0 -1
- package/web/chunk-sc4kwbnh.js.br +0 -2
- package/web/chunk-sc4kwbnh.js.gz +0 -0
- package/web/chunk-scebh2ee.js +0 -1
- package/web/chunk-scebh2ee.js.br +0 -0
- package/web/chunk-scebh2ee.js.gz +0 -0
- package/web/chunk-shtkgxz6.js +0 -2
- package/web/chunk-shtkgxz6.js.br +0 -0
- package/web/chunk-shtkgxz6.js.gz +0 -0
- package/web/chunk-spmfwbhd.js +0 -1
- package/web/chunk-spmfwbhd.js.br +0 -0
- package/web/chunk-spmfwbhd.js.gz +0 -0
- package/web/chunk-svtenejf.js +0 -1
- package/web/chunk-svtenejf.js.br +0 -0
- package/web/chunk-svtenejf.js.gz +0 -0
- package/web/chunk-t9z1bp8j.js +0 -3
- package/web/chunk-t9z1bp8j.js.br +0 -0
- package/web/chunk-t9z1bp8j.js.gz +0 -0
- package/web/chunk-tbgavq0t.js +0 -2
- package/web/chunk-tbgavq0t.js.br +0 -0
- package/web/chunk-tbgavq0t.js.gz +0 -0
- package/web/chunk-tnttdgsc.js +0 -1
- package/web/chunk-tnttdgsc.js.br +0 -0
- package/web/chunk-tnttdgsc.js.gz +0 -0
- package/web/chunk-tp3fpa0t.js +0 -1
- package/web/chunk-tp3fpa0t.js.br +0 -0
- package/web/chunk-tp3fpa0t.js.gz +0 -0
- package/web/chunk-txdkp6yc.js +0 -7
- package/web/chunk-txdkp6yc.js.br +0 -0
- package/web/chunk-txdkp6yc.js.gz +0 -0
- package/web/chunk-v34mwgx8.js +0 -1
- package/web/chunk-v34mwgx8.js.br +0 -0
- package/web/chunk-v34mwgx8.js.gz +0 -0
- package/web/chunk-vtp01n96.js +0 -1
- package/web/chunk-vtp01n96.js.br +0 -0
- package/web/chunk-vtp01n96.js.gz +0 -0
- package/web/chunk-vx1qmkbm.js +0 -120
- package/web/chunk-vx1qmkbm.js.br +0 -0
- package/web/chunk-vx1qmkbm.js.gz +0 -0
- package/web/chunk-vxx451tt.js +0 -1
- package/web/chunk-vxx451tt.js.br +0 -0
- package/web/chunk-vxx451tt.js.gz +0 -0
- package/web/chunk-w8epfc0c.js +0 -1
- package/web/chunk-w8epfc0c.js.br +0 -0
- package/web/chunk-w8epfc0c.js.gz +0 -0
- package/web/chunk-whgh2r7d.js +0 -200
- package/web/chunk-whgh2r7d.js.br +0 -0
- package/web/chunk-whgh2r7d.js.gz +0 -0
- package/web/chunk-x0p1n5ws.js +0 -1
- package/web/chunk-x0p1n5ws.js.br +0 -2
- package/web/chunk-x0p1n5ws.js.gz +0 -0
- package/web/chunk-x2tk9zeq.js +0 -1
- package/web/chunk-x2tk9zeq.js.br +0 -0
- package/web/chunk-x2tk9zeq.js.gz +0 -0
- package/web/chunk-xbt045kt.js +0 -1
- package/web/chunk-xbt045kt.js.br +0 -2
- package/web/chunk-xbt045kt.js.gz +0 -0
- package/web/chunk-xh3agbvb.js +0 -7
- package/web/chunk-xh3agbvb.js.br +0 -0
- package/web/chunk-xh3agbvb.js.gz +0 -0
- package/web/chunk-xpw1spgj.js +0 -40
- package/web/chunk-xpw1spgj.js.br +0 -0
- package/web/chunk-xpw1spgj.js.gz +0 -0
- package/web/chunk-y2jkaf1e.js +0 -2
- package/web/chunk-y2jkaf1e.js.br +0 -0
- package/web/chunk-y2jkaf1e.js.gz +0 -0
- package/web/chunk-yp2jydfj.js +0 -1
- package/web/chunk-yp2jydfj.js.br +0 -0
- package/web/chunk-yp2jydfj.js.gz +0 -0
- package/web/chunk-yxp1es3b.js +0 -1
- package/web/chunk-yxp1es3b.js.br +0 -0
- package/web/chunk-yxp1es3b.js.gz +0 -0
- package/web/chunk-yzrww95m.js +0 -7
- package/web/chunk-yzrww95m.js.br +0 -0
- package/web/chunk-yzrww95m.js.gz +0 -0
- package/web/chunk-z502b5p0.js +0 -1
- package/web/chunk-z502b5p0.js.br +0 -0
- package/web/chunk-z502b5p0.js.gz +0 -0
- package/web/chunk-zny7cya7.js +0 -1
- package/web/chunk-zny7cya7.js.br +0 -2
- package/web/chunk-zny7cya7.js.gz +0 -0
- package/web/chunk-zq1qbaxb.js +0 -2
- package/web/chunk-zq1qbaxb.js.br +0 -0
- package/web/chunk-zq1qbaxb.js.gz +0 -0
- /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
- /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
- /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
- /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
- /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
package/web/chunk-kknrn2wb.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import{t,nr,i,A,L,M,R,P,I,O,D,d,H,De,Ne,Me,dn,He,Ue}from"./chunk-h4bzgvbg.js";import{ze}from"./chunk-r7afv22v.js";import{Re}from"./chunk-qv5d69fn.js";var Be=function(){var e=t(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),f=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],q=[2,7],E=[1,26],S=[1,27],T=[1,28],x=[1,29],w=[1,33],F=[1,34],U=[1,35],Y=[1,36],B=[1,37],Q=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ce=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],Ee=[1,88],be=[1,89],ke=[1,90],ge=[1,91],ye=[1,92],Ae=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],C=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],_e=[1,116],Se=[1,117],Ie=[1,114],Te=[1,115],we={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(a,l,c,r,p,s,qe){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:r.setDirection("TB");break;case 18:r.setDirection("BT");break;case 19:r.setDirection("RL");break;case 20:r.setDirection("LR");break;case 21:r.addRequirement(s[o-3],s[o-4]);break;case 22:r.addRequirement(s[o-5],s[o-6]),r.setClass([s[o-5]],s[o-3]);break;case 23:r.setNewReqId(s[o-2]);break;case 24:r.setNewReqText(s[o-2]);break;case 25:r.setNewReqRisk(s[o-2]);break;case 26:r.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=r.RequirementType.REQUIREMENT;break;case 30:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=r.RiskLevel.LOW_RISK;break;case 36:this.$=r.RiskLevel.MED_RISK;break;case 37:this.$=r.RiskLevel.HIGH_RISK;break;case 38:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=r.VerifyType.VERIFY_TEST;break;case 42:r.addElement(s[o-3]);break;case 43:r.addElement(s[o-5]),r.setClass([s[o-5]],s[o-3]);break;case 44:r.setNewElementType(s[o-2]);break;case 45:r.setNewElementDocRef(s[o-2]);break;case 48:r.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:r.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=r.Relationships.CONTAINS;break;case 51:this.$=r.Relationships.COPIES;break;case 52:this.$=r.Relationships.DERIVES;break;case 53:this.$=r.Relationships.SATISFIES;break;case 54:this.$=r.Relationships.VERIFIES;break;case 55:this.$=r.Relationships.REFINES;break;case 56:this.$=r.Relationships.TRACES;break;case 57:this.$=s[o-2],r.defineClass(s[o-1],s[o]);break;case 58:r.setClass(s[o-1],s[o]);break;case 59:r.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],r.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:f,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:f,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:f,9:m,11:u,13:n},{1:[2,2]},{4:17,5:_,7:13,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:43,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:44,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:45,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:46,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:47,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:48,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:49,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:50,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(Qe,[2,81]),e(Qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ce,[2,79]),e(Ce,[2,80]),{27:[1,67],29:[1,68]},e(Ce,[2,85]),e(Ce,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,60]),e(Ae,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),e(C,[2,67]),e(C,[2,69]),e(C,[2,70]),e(C,[2,71]),e(C,[2,72]),e(C,[2,73]),e(C,[2,74]),e(C,[2,75]),e(C,[2,76]),e(C,[2,77]),e(C,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:_e,40:Se,56:113,57:Ie,59:Te},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,61]),e(Ae,[2,63]),e(C,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:_e,40:Se,56:130,57:Ie,59:Te},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:_e,40:Se,56:152,57:Ie,59:Te},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:_e,40:Se,56:163,57:Ie,59:Te},{5:_e,40:Se,56:164,57:Ie,59:Te},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:t(function(a){var l=this,c=[0],r=[],p=[null],s=[],qe=this.table,o="",ve=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Oe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Oe))le.yy[Oe]=this.yy[Oe];if(y.setInput(a,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var Fe=y.yylloc;s.push(Fe);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(v){c.length=c.length-2*v,p.length=p.length-v,s.length=s.length-v}t(mt,"popStack");function nt(){var v=r.pop()||y.lex()||rt;if(typeof v!=="number"){if(v instanceof Array)r=v,v=r.pop();v=l.symbols_[v]||v}return v}t(nt,"lex");var N,$e,oe,V,kt,Pe,he={},Le,z,at,xe;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])V=this.defaultActions[oe];else{if(N===null||typeof N>"u")N=nt();V=qe[oe]&&qe[oe][N]}if(typeof V>"u"||!V.length||!V[0]){var Ye="";xe=[];for(Le in qe[oe])if(this.terminals_[Le]&&Le>ct)xe.push("'"+this.terminals_[Le]+"'");if(y.showPosition)Ye="Parse error on line "+(ve+1)+`:
|
|
2
|
-
`+y.showPosition()+`
|
|
3
|
-
Expecting `+xe.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Ye="Parse error on line "+(ve+1)+": Unexpected "+(N==rt?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Ye,{text:y.match,token:this.terminals_[N]||N,line:y.yylineno,loc:Fe,expected:xe})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+N);switch(V[0]){case 1:if(c.push(N),p.push(y.yytext),s.push(y.yylloc),c.push(V[1]),N=null,!$e){if(st=y.yyleng,o=y.yytext,ve=y.yylineno,Fe=y.yylloc,it>0)it--}else N=$e,$e=null;break;case 2:if(z=this.productions_[V[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Pe=this.performAction.apply(he,[o,st,ve,le.yy,V[1],p,s].concat(ht)),typeof Pe<"u")return Pe;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[V[1]][0]),p.push(he.$),s.push(he._$),at=qe[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(a,l){if(this.yy=l||this.yy||{},this._input=a,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 a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);if(l)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),a},"input"),unput:t(function(a){var l=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var r=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),c.length-1)this.yylineno-=c.length-1;var p=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:c?(c.length===r.length?this.yylloc.first_column:0)+r[r.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];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(a){this.unput(this.match.slice(a))},"less"),pastInput:t(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var a=this.pastInput(),l=Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
5
|
-
`+l+"^"},"showPosition"),test_match:t(function(a,l){var c,r,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(r=a[0].match(/(?:\r\n?|\n).*/g),r)this.yylineno+=r.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,l,c,r;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,r=s,this.options.backtrack_lexer)if(a=this.test_match(c,p[s]),a!==!1)return a;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(a=this.test_match(l,p[r]),a!==!1)return a;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 l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>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(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,r,p){var s=p;switch(r){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;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:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();we.lexer=ot;function Ve(){this.yy={}}return t(Ve,"Parser"),Ve.prototype=we,we.Parser=Ve,new Ve}();Be.parser=Be;var ft=Be,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=M,this.getAccTitle=R,this.setAccDescription=P,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,f){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:f,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),i.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,f,m){this.relations.push({type:e,src:f,dst:m})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,L()}setCssStyle(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(!f||!u)return;for(let n of f)if(n.includes(","))u.cssStyles.push(...n.split(","));else u.cssStyles.push(n)}}setClass(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(u)for(let n of f){u.classes.push(n);let h=this.classes.get(n)?.styles;if(h)u.cssStyles.push(...h)}}}defineClass(e,f){for(let m of e){let u=this.classes.get(m);if(u===void 0)u={id:m,styles:[],textStyles:[]},this.classes.set(m,u);if(f)f.forEach(function(n){if(/color/.exec(n)){let h=n.replace("fill","bgFill");u.textStyles.push(h)}u.styles.push(n)});this.requirements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))}),this.elements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=d(),f=[],m=[];for(let n of this.requirements.values()){let h=n;h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=f.length,f.push(h)}for(let n of this.elements.values()){let h=n;h.shape="requirementBox",h.look=e.look,h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.colorIndex=f.length,f.push(h)}let u=0;for(let n of this.relations){let h=n.type===this.Relationships.CONTAINS,_={id:`${n.src}-${n.dst}-${u++}`,start:this.requirements.get(n.src)?.name??this.elements.get(n.src)?.name,end:this.requirements.get(n.dst)?.name??this.elements.get(n.dst)?.name,label:`<<${n.type}>>`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};m.push(_)}return{nodes:f,edges:m,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=A(),{theme:f,themeVariables:m}=e,{bkgColorArray:u,borderColorArray:n}=m;if(!Ne(f,n))return"";let h=Me(e.look),_="",q=De(u);for(let E=0;E<dn(n);E++){let S=n[E],T=q?`fill: ${u[E%u.length]};`:"";_+=`
|
|
7
|
-
|
|
8
|
-
[data-look="${h}"][data-color-id="color-${E}"].node path {
|
|
9
|
-
stroke: ${S};
|
|
10
|
-
${T}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
[data-look="${h}"][data-color-id="color-${E}"].node rect {
|
|
14
|
-
stroke: ${S};
|
|
15
|
-
${T}
|
|
16
|
-
}
|
|
17
|
-
`}return _},"genColor"),Et=t((e)=>{let f=A(),{look:m,themeVariables:u}=f,{requirementEdgeLabelBackground:n}=u;return`
|
|
18
|
-
${pt()}
|
|
19
|
-
marker {
|
|
20
|
-
fill: ${e.relationColor};
|
|
21
|
-
stroke: ${e.relationColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
marker.cross {
|
|
25
|
-
stroke: ${e.lineColor};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
svg {
|
|
29
|
-
font-family: ${e.fontFamily};
|
|
30
|
-
font-size: ${e.fontSize};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.reqBox {
|
|
34
|
-
fill: ${e.requirementBackground};
|
|
35
|
-
fill-opacity: 1.0;
|
|
36
|
-
stroke: ${e.requirementBorderColor};
|
|
37
|
-
stroke-width: ${e.requirementBorderSize};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.reqTitle, .reqLabel{
|
|
41
|
-
fill: ${e.requirementTextColor};
|
|
42
|
-
}
|
|
43
|
-
.reqLabelBox {
|
|
44
|
-
fill: ${e.relationLabelBackground};
|
|
45
|
-
fill-opacity: 1.0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.req-title-line {
|
|
49
|
-
stroke: ${e.requirementBorderColor};
|
|
50
|
-
stroke-width: ${e.requirementBorderSize};
|
|
51
|
-
}
|
|
52
|
-
.relationshipLine {
|
|
53
|
-
stroke: ${e.relationColor};
|
|
54
|
-
stroke-width: ${m==="neo"?e.strokeWidth:"1px"};
|
|
55
|
-
}
|
|
56
|
-
.relationshipLabel {
|
|
57
|
-
fill: ${e.relationLabelColor};
|
|
58
|
-
}
|
|
59
|
-
.edgeLabel {
|
|
60
|
-
background-color: ${e.edgeLabelBackground};
|
|
61
|
-
}
|
|
62
|
-
.edgeLabel .label rect {
|
|
63
|
-
fill: ${e.edgeLabelBackground};
|
|
64
|
-
}
|
|
65
|
-
.edgeLabel .label text {
|
|
66
|
-
fill: ${e.relationLabelColor};
|
|
67
|
-
}
|
|
68
|
-
.divider {
|
|
69
|
-
stroke: ${e.nodeBorder};
|
|
70
|
-
stroke-width: 1;
|
|
71
|
-
}
|
|
72
|
-
.label {
|
|
73
|
-
font-family: ${e.fontFamily};
|
|
74
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
75
|
-
}
|
|
76
|
-
.label text,span {
|
|
77
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
78
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
79
|
-
}
|
|
80
|
-
.labelBkg {
|
|
81
|
-
background-color: ${n??e.edgeLabelBackground};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
`},"getStyles"),bt=Et,lt={};nr(lt,{draw:()=>Rt});var Rt=t(async function(e,f,m,u){i.info("REF0:"),i.info("Drawing requirement diagram (unified)",f);let{securityLevel:n,state:h,layout:_,look:q}=d(),E=u.db.getData(),S=ze(f,n);E.type=u.type,E.layoutAlgorithm=Ue(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=q==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=f,await He(E,S);let T=8;H.insertTitle(S,"requirementDiagramTitleText",h?.titleTopMargin??25,u.db.getDiagramTitle()),Re(S,T,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
|
package/web/chunk-kknrn2wb.js.br
DELETED
|
Binary file
|
package/web/chunk-kknrn2wb.js.gz
DELETED
|
Binary file
|
package/web/chunk-mhtzdq9d.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{t,i,Ie,A,C,Y,L,d,g,Po,Wr,br,Ro,ni,ri,ai,ii,Io,Do,Oo,$o,Bo,Fo,zo,Ho,Uo,jo,qo,Vo,Go,Wo,Yo,Xo,Ko,xr,Qo,De,Ne,Me,Ot,$t,kn,mn,Cn,fa,or,ha}from"./chunk-h4bzgvbg.js";import{_e}from"./chunk-fyr6rm2p.js";import{Et}from"./chunk-cgwnzse1.js";import{$n}from"./chunk-j0dyf1g8.js";function ye(e){return Array.isArray(e)}function we(e){if(Wr(e))return e;let o=br(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(xr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:h,byteOffset:f,byteLength:r}=a,p=new ArrayBuffer(r),y=new Uint8Array(h,f,r);return new Uint8Array(p).set(y),new DataView(p)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let h=new e.constructor(e.valueOf());if(o==="[object String]")Ze(h,e);else ce(h,e);return h}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,h=new RegExp(a.source,a.flags);return h.lastIndex=a.lastIndex,h}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,h=new Map;return a.forEach((f,r)=>{h.set(r,f)}),h}if(o==="[object Set]"){let a=e,h=new Set;return a.forEach((f)=>{h.add(f)}),h}if(o==="[object Arguments]"){let a=e,h={};return ce(h,a),h.length=a.length,h[Symbol.iterator]=a[Symbol.iterator],h}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(br(e)){case ii:case Bo:case Fo:case Ho:case ai:case Do:case Xo:case Ko:case Go:case Wo:case Yo:case Oo:case ri:case zo:case Ro:case $o:case ni:case Io:case Uo:case jo:case qo:case Vo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let h=c[a];if(Object.prototype.propertyIsEnumerable.call(o,h))e[h]=o[h]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,u){for(n=n||{},u=B.length;u--;n[B[u]]=b);return n},"o"),o=[1,15],c=[1,7],a=[1,13],h=[1,14],f=[1,19],r=[1,16],p=[1,17],y=[1,18],w=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],k=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,u,S,_,s,H){var l=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[l-1]),S.setHierarchy(s[l-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:S.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=S.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=S.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=S.edgeStrToThickness(s[l-1].edgeTypeStr),se=S.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:S.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=S.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{8:[1,20]},e(w,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:h,31:f,39:r,43:p,46:y}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(k,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(w,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:o,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(k,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(k,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(k,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var u=Error(b);throw u.hash=n,u}},"parseError"),parse:t(function(b){var n=this,u=[0],S=[],_=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){u.length=u.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=S.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,W,R,Nt,oe,U={},J,K,ke,Z;while(!0){if(W=u[u.length-1],this.defaultActions[W])R=this.defaultActions[W];else{if(v===null||typeof v>"u")v=Le();R=H[W]&&H[W][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[W])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
|
|
2
|
-
`+I.showPosition()+`
|
|
3
|
-
Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+v);switch(R[0]){case 1:if(u.push(v),_.push(I.yytext),s.push(I.yylloc),u.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=_[_.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)u=u.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);u.push(this.productions_[R[1]][0]),_.push(U.$),s.push(U._$),ke=H[u[u.length-2]][u[u.length-1]],u.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,u){if(this.yy.parser)this.yy.parser.parseError(n,u);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,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 b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)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),b},"input"),unput:t(function(b){var n=b.length,u=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var S=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),u.length-1)this.yylineno-=u.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===S.length?this.yylloc.first_column:0)+S[S.length-u.length].length-u[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-n];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(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
|
5
|
-
`+n+"^"},"showPosition"),test_match:t(function(b,n){var u,S,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],u=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,u,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(u=this._input.match(this.rules[_[s]]),u&&(!n||u[0].length>n[0].length)){if(n=u,S=s,this.options.backtrack_lexer)if(b=this.test_match(u,_[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,_[S]),b!==!1)return b;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 n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,u,S,_){var s=_;switch(S){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",u.yytext);break;case 4:n.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",n.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();T.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=T,T.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,Ee="color",Te="fill",et="bgFill",Ce=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,d()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Ce).forEach((a)=>{let h=a.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(a)){let r=h.replace(Te,et).replace(Ee,Te);c.textStyles.push(r)}c.styles.push(h)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Ce)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let h=c.trim();a={id:h,type:"na",children:[]},F.set(h,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),ve=0,Ae=t((e,o)=>{let c=e.flat(),a=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let p=(ge.get(r.id)??0)+1;ge.set(r.id,p),r.id=p+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let p=F.get(r.id);if(p===void 0){if(r.type==="composite")r.colorIndex=ve++;F.set(r.id,r)}else{if(r.type!=="na")p.type=r.type;if(r.label!==r.id)p.label=r.label}if(r.children)Ae(r.children,r);if(r.type==="space"){let y=r.width??1;for(let w=0;w<y;w++){let m=we(r);m.id=m.id+"-"+w,F.set(m.id,m),a.push(m)}}else if(p===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),L(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",ve=0},"clear");function ze(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(ze,"typeStr2Type");function Be(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Be,"edgeTypeStr2Type");function Re(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Re,"edgeStrToEdgeData");function Pe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Pe,"edgeStrToEdgeStartData");function Fe(e){return e.includes("==")?"thick":"normal"}t(Fe,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Oe=0,nt=t(()=>(Oe++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Oe),"generateId"),ot=t((e)=>{X.children=e,Ae(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:ze,edgeTypeStr2Type:Be,edgeStrToEdgeData:Re,edgeStrToEdgeStartData:Pe,edgeStrToThickness:Fe,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,Lt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Ne(o,a))return"";let h=Me(e.look),f=De(c),r="";for(let p=0;p<Ot(e.THEME_COLOR_LIMIT,a);p++){let y=a[p%a.length],w=f?`fill: ${c[p%c.length]};`:"",m=`[data-look="${h}"][data-color-id="color-${p}"]`;r+=`
|
|
7
|
-
|
|
8
|
-
${m}.node rect.composite {
|
|
9
|
-
stroke: ${y};
|
|
10
|
-
${w}
|
|
11
|
-
}
|
|
12
|
-
`}return r},"genColor"),ue=t((e,o)=>{let c=$n,a=c(e,"r"),h=c(e,"g"),f=c(e,"b");return Ie(a,h,f,o)},"fade"),kt=t((e)=>`${Lt(e)}
|
|
13
|
-
.label {
|
|
14
|
-
font-family: ${e.fontFamily};
|
|
15
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
16
|
-
}
|
|
17
|
-
.cluster-label text {
|
|
18
|
-
fill: ${e.titleColor};
|
|
19
|
-
}
|
|
20
|
-
.cluster-label span {
|
|
21
|
-
color: ${e.titleColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.label text,span {
|
|
27
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
28
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.node rect,
|
|
32
|
-
.node circle,
|
|
33
|
-
.node ellipse,
|
|
34
|
-
.node polygon,
|
|
35
|
-
.node path {
|
|
36
|
-
fill: ${e.mainBkg};
|
|
37
|
-
stroke: ${e.nodeBorder};
|
|
38
|
-
/* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
|
|
39
|
-
thinner border than an identical flowchart node under any theme asking for more --
|
|
40
|
-
the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
|
|
41
|
-
and filter, never stroke-width. */
|
|
42
|
-
stroke-width: ${e.strokeWidth??1}px;
|
|
43
|
-
}
|
|
44
|
-
.flowchart-label text {
|
|
45
|
-
text-anchor: middle;
|
|
46
|
-
}
|
|
47
|
-
// .flowchart-label .text-outer-tspan {
|
|
48
|
-
// text-anchor: middle;
|
|
49
|
-
// }
|
|
50
|
-
// .flowchart-label .text-inner-tspan {
|
|
51
|
-
// text-anchor: start;
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
.node .label {
|
|
55
|
-
text-align: center;
|
|
56
|
-
}
|
|
57
|
-
.node.clickable {
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.arrowheadPath {
|
|
62
|
-
fill: ${e.arrowheadColor};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.edgePaths .path {
|
|
66
|
-
stroke: ${e.lineColor};
|
|
67
|
-
stroke-width: 2.0px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.flowchart-link {
|
|
71
|
-
stroke: ${e.lineColor};
|
|
72
|
-
fill: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.edgeLabel {
|
|
76
|
-
background-color: ${e.edgeLabelBackground};
|
|
77
|
-
/*
|
|
78
|
-
* This is for backward compatibility with existing code that didn't
|
|
79
|
-
* add a \`<p>\` around edge labels.
|
|
80
|
-
*
|
|
81
|
-
* TODO: We should probably remove this in a future release.
|
|
82
|
-
*/
|
|
83
|
-
p {
|
|
84
|
-
margin: 0;
|
|
85
|
-
padding: 0;
|
|
86
|
-
display: inline;
|
|
87
|
-
}
|
|
88
|
-
rect {
|
|
89
|
-
opacity: 0.5;
|
|
90
|
-
background-color: ${e.edgeLabelBackground};
|
|
91
|
-
fill: ${e.edgeLabelBackground};
|
|
92
|
-
}
|
|
93
|
-
text-align: center;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* For html labels only */
|
|
97
|
-
.labelBkg {
|
|
98
|
-
background-color: ${e.edgeLabelBackground};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.node .cluster {
|
|
102
|
-
// fill: ${ue(e.mainBkg,0.5)};
|
|
103
|
-
fill: ${ue(e.clusterBkg,0.5)};
|
|
104
|
-
stroke: ${ue(e.clusterBorder,0.2)};
|
|
105
|
-
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
|
106
|
-
stroke-width: 1px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.cluster text {
|
|
110
|
-
fill: ${e.titleColor};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.cluster span {
|
|
114
|
-
color: ${e.titleColor};
|
|
115
|
-
}
|
|
116
|
-
/* .cluster div {
|
|
117
|
-
color: ${e.titleColor};
|
|
118
|
-
} */
|
|
119
|
-
|
|
120
|
-
div.mermaidTooltip {
|
|
121
|
-
position: absolute;
|
|
122
|
-
text-align: center;
|
|
123
|
-
max-width: 200px;
|
|
124
|
-
padding: 2px;
|
|
125
|
-
font-family: ${e.fontFamily};
|
|
126
|
-
font-size: 12px;
|
|
127
|
-
background: ${e.tertiaryColor};
|
|
128
|
-
border: 1px solid ${e.border2};
|
|
129
|
-
border-radius: 2px;
|
|
130
|
-
pointer-events: none;
|
|
131
|
-
z-index: 100;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.flowchartTitleText {
|
|
135
|
-
text-anchor: middle;
|
|
136
|
-
font-size: 18px;
|
|
137
|
-
fill: ${e.textColor};
|
|
138
|
-
}
|
|
139
|
-
${Et()}
|
|
140
|
-
`,"getStyles"),yt=kt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var wt=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:h,height:f,x:r,y:p}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",h,"height:",f,"x:",r,"y:",p,a.type),a.type==="space")continue;let y=h/(a.widthInColumns??1);if(y>o)o=y;if(f>c)c=f}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,h=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let k of e.children)ee(k,o,0,0,h);let p=wt(e);f=p.width,r=p.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let k of e.children)if(k.size)i.debug(`abc95 Setting size of children of ${e.id} id=${k.id} ${f} ${r} ${JSON.stringify(k.size)}`),k.size.width=f*(k.widthInColumns??1)+h*((k.widthInColumns??1)-1),k.size.height=r,k.size.x=0,k.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${k.id} maxWidth:${f} maxHeight:${r}`);for(let k of e.children)ee(k,o,f,r,h);let y=e.columns??-1,w=0;for(let k of e.children)w+=k.widthInColumns??1;let m=e.children.length;if(y>0&&y<w)m=y;let x=Math.ceil(w/m),E=m*(f+h)+h,D=x*(r+h)+h;if(E<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${E}`),E=c,D=a;let k=(c-m*h-h)/m,N=(a-x*h-h)/x;i.debug("Size indata abc88",e.id,"childWidth",k,"maxWidth",f),i.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),i.debug("Size indata abc88 xSize",m,"padding",h);for(let T of e.children)if(T.size)T.size.width=k,T.size.height=N,T.size.x=0,T.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${y}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let k=y>0?Math.min(e.children.length,y):e.children.length;if(k>0){let N=(E-k*h-h)/k;i.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let h=e?.children[0]?.size?.width??0,f=e.children.length*h+(e.children.length-1)*c;i.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(a,x),k=r.get(D)??0;if(E.size.height>k)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(a>0)N=Math.min(N,a-x%a);x+=N}}let p=new Map;{let x=0,E=[...r.keys()].sort((D,k)=>D-k);for(let D of E)p.set(D,x),x+=(r.get(D)??0)+c}let y=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:k}=x.size,{px:N,py:T}=de(a,y);if(T!=m)m=T,w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",x.id,m);if(i.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${y} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let z=D/2;x.size.x=w+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${w} new startingPosX${x.size.x} ${z} padding=${c} width=${D} halfWidth=${z} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),w=x.size.x+z;let B=p.get(T)??0,b=r.get(T)??k;x.size.y=E.size.y-E.size.height/2+B+b/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${w}${c}${z}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,o,c);let O=x?.widthInColumns??1;if(a>0)O=Math.min(O,a-y%a);y+=O,i.debug("abc88 columnsPos",x,y)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:h}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:p,height:y}=e.size;if(f-p/2<o)o=f-p/2;if(r-y/2<c)c=r-y/2;if(f+p/2>a)a=f+p/2;if(r+y/2>h)h=r+y/2}if(e.children)for(let f of e.children)({minX:o,minY:c,maxX:a,maxY:h}=xe(f,{minX:o,minY:c,maxX:a,maxY:h}));return{minX:o,minY:c,maxX:a,maxY:h}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=d()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:h,maxX:f,maxY:r}=xe(o),p=r-h,y=f-a;return{x:a,y:h,width:y,height:p}}t(Ye,"layout");function me(e,o,c=!1){let a=e,h="default";if((a?.classes?.length||0)>0)h=(a?.classes??[]).join(" ");h=h+" flowchart-label";let f=(a?.classes??[]).flatMap((k)=>o.getClasses().get(k)?.styles??[]),r=0,p="rect",y;switch(a.type){case"round":r=5,p="rect";break;case"composite":r=0,p="composite",y=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let w=Qo(a?.styles??[]),m=a.label,x=a.size??{width:0,height:0,x:0,y:0},E=o.getDiagramId();return{labelStyle:w.labelStyle,shape:p,label:m,labelText:m,rx:r,ry:r,class:h,cssClasses:h,cssStyles:a?.styles??[],cssCompiledStyles:f,style:w.style,id:a.id,domId:E?`${E}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:y??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let h=A(),f=await kn(e,a,{config:h}),r=f.node()?.getBBox()??{width:0,height:0},p=c.getBlock(a.id);p.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(p),f.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let f=A(),r=await kn(e,a,{config:f});if(a.colorIndex!==void 0)$t(r,a.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=a?.intersect,mn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let h of o)if(await a(e,h,c),h.children)await te(e,h.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,h){let f=new _e({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let p=a.getBlock(r.start),y=a.getBlock(r.end);if(p?.size&&y?.size){let w=p.size,m=y.size,x=[{x:w.x,y:w.y},{x:w.x+(m.x-w.x)/2,y:w.y+(m.y-w.y)/2},{x:m.x,y:m.y}],E=h?`${h}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",k=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${k} flowchart-link LS-a1 LE-b1`;if(or(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),h),r.label)await Cn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),fa({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(Xe,"insertEdges");var _t=t(function(e,o){return o.db.getClasses()},"getClasses"),Dt=t(async function(e,o,c,a){let{securityLevel:h,block:f}=A(),r=a.db;r.setDiagramId(o);let p;if(h==="sandbox")p=g("#i"+o);let y=h==="sandbox"?g(p.nodes()[0].contentDocument.body):g("body"),w=h==="sandbox"?y.select(`[id="${o}"]`):g(`[id="${o}"]`);Po(w,A()),ha(w,["point","circle","cross"],a.type,o);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),k=w.insert("g").attr("class","block");await Ue(k,x,r);let N=Ye(r);await He(k,x,r),await Xe(k,D,E,r,o);let T=k.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,b=O.width+10,{useMaxWidth:n}=f;Y(w,B,b,!!n),i.debug("Here Bounds",N,O),w.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Tt={draw:Dt,getClasses:_t},tr={parser:$e,db:mt,renderer:Tt,styles:yt};export{tr as diagram};
|
package/web/chunk-mhtzdq9d.js.br
DELETED
|
Binary file
|
package/web/chunk-mhtzdq9d.js.gz
DELETED
|
Binary file
|
package/web/chunk-mrnj2k3v.js
DELETED
package/web/chunk-mrnj2k3v.js.br
DELETED
|
Binary file
|
package/web/chunk-mrnj2k3v.js.gz
DELETED
|
Binary file
|
package/web/chunk-my0k5w7f.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{ie}from"./chunk-nzgj9qx5.js";import{t,i,F,Y,L,M,R,P,I,O,D,d,we,ca,Oi,J,Pt,Q}from"./chunk-h4bzgvbg.js";import{ge}from"./chunk-9qdx0ekk.js";import{Ut}from"./chunk-k89686qj.js";import{yn}from"./chunk-dsffzc1e.js";function tt(e,o){return o<e?-1:o>e?1:o>=e?0:NaN}function et(e){return e}function rt(){var e=et,o=tt,A=null,E=we(0),u=we(ca),h=we(0);function l(r){var n,c=(r=Oi(r)).length,m,C,k=0,v=Array(c),s=Array(c),z=+E.apply(this,arguments),N=Math.min(ca,Math.max(-ca,u.apply(this,arguments)-z)),W,B=Math.min(Math.abs(N)/c,h.apply(this,arguments)),p=B*(N<0?-1:1),T;for(n=0;n<c;++n)if((T=s[v[n]=n]=+e(r[n],n,r))>0)k+=T;if(o!=null)v.sort(function(_,x){return o(s[_],s[x])});else if(A!=null)v.sort(function(_,x){return A(r[_],r[x])});for(n=0,C=k?(N-c*p)/k:0;n<c;++n,z=W)m=v[n],T=s[m],W=z+(T>0?T*C:0)+p,s[m]={data:r[m],index:n,value:T,startAngle:z,endAngle:W,padAngle:B};return s}return l.value=function(r){return arguments.length?(e=typeof r==="function"?r:we(+r),l):e},l.sortValues=function(r){return arguments.length?(o=r,A=null,l):o},l.sort=function(r){return arguments.length?(A=r,o=null,l):A},l.startAngle=function(r){return arguments.length?(E=typeof r==="function"?r:we(+r),l):E},l.endAngle=function(r){return arguments.length?(u=typeof r==="function"?r:we(+r),l):u},l.padAngle=function(r){return arguments.length?(h=typeof r==="function"?r:we(+r),l):h},l}var ct=F.pie,at={sections:new Map,showData:!1,config:ct},{sections:j,showData:nt}=at,mt=structuredClone(ct),vt=t(()=>structuredClone(mt),"getConfig"),xt=t(()=>{j=new Map,nt=at.showData,L()},"clear"),St=t(({label:e,value:o})=>{if(o<0)throw Error(`"${e}" has invalid value: ${o}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);if(!j.has(e))j.set(e,o),i.debug(`added new section: ${e}, with value: ${o}`)},"addSection"),yt=t(()=>j,"getSections"),wt=t((e)=>{nt=e},"setShowData"),At=t(()=>nt,"getShowData"),ut={getConfig:vt,clear:xt,setDiagramTitle:O,getDiagramTitle:D,setAccTitle:M,getAccTitle:R,setAccDescription:P,getAccDescription:I,addSection:St,getSections:yt,setShowData:wt,getShowData:At},Ct=t((e,o)=>{ie(e,o),o.setShowData(e.showData),e.sections.map(o.addSection)},"populateDb"),$t={parse:t(async(e)=>{let o=await ge("pie",e);i.debug(o),Ct(o,ut)},"parse")},Dt=t((e)=>`
|
|
2
|
-
.pieCircle{
|
|
3
|
-
stroke: ${e.pieStrokeColor};
|
|
4
|
-
stroke-width : ${e.pieStrokeWidth};
|
|
5
|
-
opacity : ${e.pieOpacity};
|
|
6
|
-
}
|
|
7
|
-
.pieCircle.highlighted{
|
|
8
|
-
scale: 1.05;
|
|
9
|
-
opacity: 1;
|
|
10
|
-
}
|
|
11
|
-
.pieCircle.highlightedOnHover:hover{
|
|
12
|
-
transition-duration: 250ms;
|
|
13
|
-
scale: 1.05;
|
|
14
|
-
opacity: 1;
|
|
15
|
-
}
|
|
16
|
-
.pieOuterCircle{
|
|
17
|
-
stroke: ${e.pieOuterStrokeColor};
|
|
18
|
-
stroke-width: ${e.pieOuterStrokeWidth};
|
|
19
|
-
fill: none;
|
|
20
|
-
}
|
|
21
|
-
.pieTitleText {
|
|
22
|
-
text-anchor: middle;
|
|
23
|
-
font-size: ${e.pieTitleTextSize};
|
|
24
|
-
fill: ${e.pieTitleTextColor};
|
|
25
|
-
font-family: ${e.fontFamily};
|
|
26
|
-
}
|
|
27
|
-
.slice {
|
|
28
|
-
font-family: ${e.fontFamily};
|
|
29
|
-
fill: ${e.pieSectionTextColor};
|
|
30
|
-
font-size:${e.pieSectionTextSize};
|
|
31
|
-
// fill: white;
|
|
32
|
-
}
|
|
33
|
-
.legend text {
|
|
34
|
-
fill: ${e.pieLegendTextColor};
|
|
35
|
-
font-family: ${e.fontFamily};
|
|
36
|
-
font-size: ${e.pieLegendTextSize};
|
|
37
|
-
}
|
|
38
|
-
`,"getStyles"),Tt=Dt,bt=t((e)=>{let o=[...e.values()].reduce((u,h)=>u+h,0),A=[...e.entries()].map(([u,h])=>({label:u,value:h})).filter((u)=>u.value/o*100>=1);return rt().value((u)=>u.value).sort(null)(A)},"createPieArcs"),kt=t((e,o,A,E)=>{i.debug(`rendering pie chart
|
|
39
|
-
`+e);let u=E.db,h=d(),l=Q(u.getConfig(),h.pie),r=40,n=18,c=4,m=450,C=m,k=J(o),v=k.append("g");v.attr("transform","translate("+C/2+","+m/2+")");let{themeVariables:s}=h,[z]=Pt(s.pieOuterStrokeWidth);z??=2;let{legendPosition:N,textPosition:W}=l,B=l.donutHole>0&&l.donutHole<=0.9?l.donutHole:0,p=Math.min(C,m)/2-r,T=yn().innerRadius(B*p).outerRadius(p),_=yn().innerRadius(p*W).outerRadius(p*W),x=v.append("g");x.append("circle").attr("cx",0).attr("cy",0).attr("r",p+z/2).attr("class","pieOuterCircle");let V=u.getSections(),gt=bt(V),dt=[s.pie1,s.pie2,s.pie3,s.pie4,s.pie5,s.pie6,s.pie7,s.pie8,s.pie9,s.pie10,s.pie11,s.pie12],X=0;V.forEach((a)=>{X+=a});let it=gt.filter((a)=>(a.data.value/X*100).toFixed(0)!=="0"),Z=Ut(dt).domain([...V.keys()]);x.selectAll("mySlices").data(it).enter().append("path").attr("d",T).attr("fill",(a)=>Z(a.data.label)).attr("class",(a)=>{let g="pieCircle";if(l.highlightSlice==="hover")g+=" highlightedOnHover";else if(l.highlightSlice===a.data.label)g+=" highlighted";return g}),x.selectAll("mySlices").data(it).enter().append("text").text((a)=>(a.data.value/X*100).toFixed(0)+"%").attr("transform",(a)=>"translate("+_.centroid(a)+")").style("text-anchor","middle").attr("class","slice");let pt=v.append("text").text(u.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText"),G=[...V.entries()].map(([a,g])=>({label:a,value:g})),b=v.selectAll(".legend").data(G).enter().append("g").attr("class","legend");b.append("rect").attr("width",n).attr("height",n).style("fill",(a)=>Z(a.label)).style("stroke",(a)=>Z(a.label)),b.append("text").attr("x",n+c).attr("y",n-c).text((a)=>{if(u.getShowData())return`${a.label} [${a.value}]`;return a.label});let H=Math.max(...b.selectAll("text").nodes().map((a)=>a?.getBoundingClientRect().width??0)),U=m,q=C+r,f=n+c,K=G.length*f;switch(N){case"center":b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"top":U+=K,b.attr("transform",(a,g)=>{let S=p,y=-H/2-(n+c),w=g*f-S;return`translate(${y}, ${w})`}),x.attr("transform",()=>`translate(0, ${K+f})`);break;case"bottom":U+=K,b.attr("transform",(a,g)=>{let S=-p-f,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"left":q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-p-(n+c),w=g*f-S;return"translate("+y+","+w+")"}),x.attr("transform",()=>`translate(${H+n+c}, 0)`);break;case"right":default:q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=12*n,w=g*f-S;return"translate("+y+","+w+")"});break}let ot=pt.node()?.getBoundingClientRect().width??0,ft=C/2-ot/2,ht=C/2+ot/2,lt=Math.min(0,ft),st=Math.max(q,ht)-lt;k.attr("viewBox",`${lt} 0 ${st} ${U}`),Y(k,U,st,l.useMaxWidth)},"draw"),zt={draw:kt},qt={parser:$t,db:ut,renderer:zt,styles:Tt};export{qt as diagram};
|
package/web/chunk-my0k5w7f.js.br
DELETED
|
Binary file
|
package/web/chunk-my0k5w7f.js.gz
DELETED
|
Binary file
|
package/web/chunk-n08727ym.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{t,de,Wa,f,h,F,A,Y,L,M,R,P,I,O,D,g,J,Q,v}from"./chunk-h4bzgvbg.js";var ue=(e,s)=>Wa(e,"a",-s),St=ue;function kt(e,s){let i=he(e),n=i.filter((c)=>fe(c,e)),r=0,o=0,a=[];if(n.length>1){let c=Wt(n);for(let d=0;d<n.length;++d){let l=n[d];l.angle=Math.atan2(l.x-c.x,l.y-c.y)}n.sort((d,l)=>l.angle-d.angle);let x=n[n.length-1];for(let d=0;d<n.length;++d){let l=n[d];o+=(x.x+l.x)*(l.y-x.y);let k={x:(l.x+x.x)/2,y:(l.y+x.y)/2},p=null;for(let _=0;_<l.parentIndex.length;++_)if(x.parentIndex.includes(l.parentIndex[_])){let S=e[l.parentIndex[_]],C=Math.atan2(l.x-S.x,l.y-S.y),B=Math.atan2(x.x-S.x,x.y-S.y),j=B-C;if(j<0)j+=2*Math.PI;let N=B-j/2,m=ot(k,{x:S.x+S.radius*Math.sin(N),y:S.y+S.radius*Math.cos(N)});if(m>S.radius*2)m=S.radius*2;if(p==null||p.width>m)p={circle:S,width:m,p1:l,p2:x,large:m>S.radius,sweep:!0}}if(p!=null)a.push(p),r+=Et(p.circle.radius,p.width),x=l}}else{let c=e[0];for(let d=1;d<e.length;++d)if(e[d].radius<c.radius)c=e[d];let x=!1;for(let d=0;d<e.length;++d)if(ot(e[d],c)>Math.abs(c.radius-e[d].radius)){x=!0;break}if(x)r=o=0;else r=c.radius*c.radius*Math.PI,a.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-0.0000000001,y:c.y+c.radius},width:c.radius*2,large:!0,sweep:!0})}if(o/=2,s)s.area=r+o,s.arcArea=r,s.polygonArea=o,s.arcs=a,s.innerPoints=n,s.intersectionPoints=i;return r+o}function fe(e,s){return s.every((i)=>ot(e,i)<i.radius+0.0000000001)}function he(e){let s=[];for(let i=0;i<e.length;++i)for(let n=i+1;n<e.length;++n){let r=Gt(e[i],e[n]);for(let o of r)o.parentIndex=[i,n],s.push(o)}return s}function Et(e,s){return e*e*Math.acos(1-s/e)-(e-s)*Math.sqrt(s*(2*e-s))}function ot(e,s){return Math.sqrt((e.x-s.x)*(e.x-s.x)+(e.y-s.y)*(e.y-s.y))}function Rt(e,s,i){if(i>=e+s)return 0;if(i<=Math.abs(e-s))return Math.PI*Math.min(e,s)*Math.min(e,s);let n=e-(i*i-s*s+e*e)/(2*i),r=s-(i*i-e*e+s*s)/(2*i);return Et(e,n)+Et(s,r)}function Gt(e,s){let i=ot(e,s),n=e.radius,r=s.radius;if(i>=n+r||i<=Math.abs(n-r))return[];let o=(n*n-r*r+i*i)/(2*i),a=Math.sqrt(n*n-o*o),c=e.x+o*(s.x-e.x)/i,x=e.y+o*(s.y-e.y)/i,d=-(s.y-e.y)*(a/i),l=-(s.x-e.x)*(a/i);return[{x:c+d,y:x-l},{x:c-d,y:x+l}]}function Wt(e){let s={x:0,y:0};for(let i of e)s.x+=i.x,s.y+=i.y;return s.x/=e.length,s.y/=e.length,s}function ge(e,s,i,n){n=n||{};let r=n.maxIterations||100,o=n.tolerance||0.0000000001,a=e(s),c=e(i),x=i-s;if(a*c>0)throw"Initial bisect points must have opposite signs";if(a===0)return s;if(c===0)return i;for(let d=0;d<r;++d){x/=2;let l=s+x,k=e(l);if(k*a>=0)s=l;if(Math.abs(x)<o||k===0)return l}return s+x}function Tt(e){let s=Array(e);for(let i=0;i<e;++i)s[i]=0;return s}function qt(e,s){return Tt(e).map(()=>Tt(s))}function pt(e,s){let i=0;for(let n=0;n<e.length;++n)i+=e[n]*s[n];return i}function zt(e){return Math.sqrt(pt(e,e))}function At(e,s,i){for(let n=0;n<s.length;++n)e[n]=s[n]*i}function gt(e,s,i,n,r){for(let o=0;o<e.length;++o)e[o]=s*i[o]+n*r[o]}function Kt(e,s,i){i=i||{};let n=i.maxIterations||s.length*200,r=i.nonZeroDelta||1.05,o=i.zeroDelta||0.001,a=i.minErrorDelta||0.000001,c=i.minErrorDelta||0.00001,x=i.rho!==void 0?i.rho:1,d=i.chi!==void 0?i.chi:2,l=i.psi!==void 0?i.psi:-0.5,k=i.sigma!==void 0?i.sigma:0.5,p,_=s.length,S=Array(_+1);S[0]=s,S[0].fx=e(s),S[0].id=0;for(let E=0;E<_;++E){let u=s.slice();u[E]=u[E]?u[E]*r:o,S[E+1]=u,S[E+1].fx=e(u),S[E+1].id=E+1}function C(E){for(let u=0;u<E.length;u++)S[_][u]=E[u];S[_].fx=E.fx}let B=(E,u)=>E.fx-u.fx,j=s.slice(),N=s.slice(),m=s.slice(),w=s.slice();for(let E=0;E<n;++E){if(S.sort(B),i.history){let b=S.map((y)=>{let G=y.slice();return G.fx=y.fx,G.id=y.id,G});b.sort((y,G)=>y.id-G.id),i.history.push({x:S[0].slice(),fx:S[0].fx,simplex:b})}p=0;for(let b=0;b<_;++b)p=Math.max(p,Math.abs(S[0][b]-S[1][b]));if(Math.abs(S[0].fx-S[_].fx)<a&&p<c)break;for(let b=0;b<_;++b){j[b]=0;for(let y=0;y<_;++y)j[b]+=S[y][b];j[b]/=_}let u=S[_];if(gt(N,1+x,j,-x,u),N.fx=e(N),N.fx<S[0].fx)if(gt(w,1+d,j,-d,u),w.fx=e(w),w.fx<N.fx)C(w);else C(N);else if(N.fx>=S[_-1].fx){let b=!1;if(N.fx>u.fx)if(gt(m,1+l,j,-l,u),m.fx=e(m),m.fx<u.fx)C(m);else b=!0;else if(gt(m,1-l*x,j,l*x,u),m.fx=e(m),m.fx<N.fx)C(m);else b=!0;if(b){if(k>=1)break;for(let y=1;y<S.length;++y)gt(S[y],1-k,S[0],k,S[y]),S[y].fx=e(S[y])}}else C(N)}return S.sort(B),{fx:S[0].fx,x:S[0]}}function xe(e,s,i,n,r,o,a){let c=i.fx,x=pt(i.fxprime,s),d=c,l=c,k=x,p=0;r=r||1,o=o||0.000001,a=a||0.1;function _(S,C,B){for(let j=0;j<16;++j)if(r=(S+C)/2,gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||d>=B)C=r;else{if(Math.abs(k)<=-a*x)return r;if(k*(C-S)>=0)C=S;S=r,B=d}return 0}for(let S=0;S<10;++S){if(gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||S&&d>=l)return _(p,r,l);if(Math.abs(k)<=-a*x)return r;if(k>=0)return _(r,p,d);l=d,p=r,r*=2}return r}function ye(e,s,i){let n={x:s.slice(),fx:0,fxprime:s.slice()},r={x:s.slice(),fx:0,fxprime:s.slice()},o=s.slice(),a,c,x=1,d;i=i||{},d=i.maxIterations||s.length*20,n.fx=e(n.x,n.fxprime),a=n.fxprime.slice(),At(a,n.fxprime,-1);for(let l=0;l<d;++l){if(x=xe(e,a,n,r,x),i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});if(!x)At(a,n.fxprime,-1);else{gt(o,1,r.fxprime,-1,n.fxprime);let k=pt(n.fxprime,n.fxprime),p=Math.max(0,pt(o,r.fxprime)/k);gt(a,p,a,-1,r.fxprime),c=n,n=r,r=c}if(zt(n.fxprime)<=0.00001)break}if(i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});return n}function Ht(e,s={}){s.maxIterations=s.maxIterations||500;let i=s.initialLayout||ve,n=s.lossFunction||mt,r=pe(e,s),o=i(r,s),a=Object.keys(o),c=[];for(let l of a)c.push(o[l].x),c.push(o[l].y);let d=Kt((l)=>{let k={};for(let p=0;p<a.length;++p){let _=a[p];k[_]={x:l[2*p],y:l[2*p+1],radius:o[_].radius}}return n(k,r)},c,s).x;for(let l=0;l<a.length;++l){let k=a[l];o[k].x=d[2*l],o[k].y=d[2*l+1]}return o}var Yt=0.0000000001;function Ct(e,s,i){if(Math.min(e,s)*Math.min(e,s)*Math.PI<=i+Yt)return Math.abs(e-s);return ge((n)=>Rt(e,s,n)-i,0,e+s)}function pe(e,s={}){let i=s.distinct,n=e.map((c)=>Object.assign({},c));function r(c){return c.join(";")}if(i){let c=new Map;for(let x of n)for(let d=0;d<x.sets.length;d++){let l=String(x.sets[d]);c.set(l,x.size+(c.get(l)||0));for(let k=d+1;k<x.sets.length;k++){let p=String(x.sets[k]),_=`${l};${p}`,S=`${p};${l}`;c.set(_,x.size+(c.get(_)||0)),c.set(S,x.size+(c.get(S)||0))}}for(let x of n)if(x.sets.length<3)x.size=c.get(r(x.sets))}let o=[],a=new Set;for(let c of n)if(c.sets.length===1)o.push(c.sets[0]);else if(c.sets.length===2){let x=c.sets[0],d=c.sets[1];a.add(r(c.sets)),a.add(r([d,x]))}o.sort((c,x)=>c===x?0:c<x?-1:1);for(let c=0;c<o.length;++c){let x=o[c];for(let d=c+1;d<o.length;++d){let l=o[d];if(!a.has(r([x,l])))n.push({sets:[x,l],size:0})}}return n}function me(e,s,i){let n=qt(s.length,s.length),r=qt(s.length,s.length);return e.filter((o)=>o.sets.length===2).forEach((o)=>{let a=i[o.sets[0]],c=i[o.sets[1]],x=Math.sqrt(s[a].size/Math.PI),d=Math.sqrt(s[c].size/Math.PI),l=Ct(x,d,o.size);n[a][c]=n[c][a]=l;let k=0;if(o.size+0.0000000001>=Math.min(s[a].size,s[c].size))k=1;else if(o.size<=0.0000000001)k=-1;r[a][c]=r[c][a]=k}),{distances:n,constraints:r}}function be(e,s,i,n){for(let o=0;o<s.length;++o)s[o]=0;let r=0;for(let o=0;o<i.length;++o){let a=e[2*o],c=e[2*o+1];for(let x=o+1;x<i.length;++x){let d=e[2*x],l=e[2*x+1],k=i[o][x],p=n[o][x],_=(d-a)*(d-a)+(l-c)*(l-c),S=Math.sqrt(_),C=_-k*k;if(p>0&&S<=k||p<0&&S>=k)continue;r+=2*C*C,s[2*o]+=4*C*(a-d),s[2*o+1]+=4*C*(c-l),s[2*x]+=4*C*(d-a),s[2*x+1]+=4*C*(l-c)}}return r}function ve(e,s={}){let i=Ie(e,s),n=s.lossFunction||mt;if(e.length>=8){let r=ke(e,s),o=n(r,e),a=n(i,e);if(o+0.00000001<a)i=r}return i}function ke(e,s={}){let i=s.restarts||10,n=[],r={};for(let p of e)if(p.sets.length===1)r[p.sets[0]]=n.length,n.push(p);let{distances:o,constraints:a}=me(e,n,r),c=zt(o.map(zt))/o.length;o=o.map((p)=>p.map((_)=>_/c));let x=(p,_)=>be(p,_,o,a),d=null;for(let p=0;p<i;++p){let _=Tt(o.length*2).map(Math.random),S=ye(x,_,s);if(!d||S.fx<d.fx)d=S}let l=d.x,k={};for(let p=0;p<n.length;++p){let _=n[p];k[_.sets[0]]={x:l[2*p]*c,y:l[2*p+1]*c,radius:Math.sqrt(_.size/Math.PI)}}if(s.history)for(let p of s.history)At(p.x,c);return k}function Ie(e,s){let i=s&&s.lossFunction?s.lossFunction:mt,n={},r={};for(let k of e)if(k.sets.length===1){let p=k.sets[0];n[p]={x:10000000000,y:10000000000,rowid:n.length,size:k.size,radius:Math.sqrt(k.size/Math.PI)},r[p]=[]}e=e.filter((k)=>k.sets.length===2);for(let k of e){let p=k.weight!=null?k.weight:1,_=k.sets[0],S=k.sets[1];if(k.size+Yt>=Math.min(n[_].size,n[S].size))p=0;r[_].push({set:S,size:k.size,weight:p}),r[S].push({set:_,size:k.size,weight:p})}let o=[];Object.keys(r).forEach((k)=>{let p=0;for(let _=0;_<r[k].length;++_)p+=r[k][_].size*r[k][_].weight;o.push({set:k,size:p})});function a(k,p){return p.size-k.size}o.sort(a);let c={};function x(k){return k.set in c}function d(k,p){n[p].x=k.x,n[p].y=k.y,c[p]=!0}d({x:0,y:0},o[0].set);for(let k=1;k<o.length;++k){let p=o[k].set,_=r[p].filter(x),S=n[p];if(_.sort(a),_.length===0)throw"ERROR: missing pairwise overlap information";let C=[];for(var l=0;l<_.length;++l){let N=n[_[l].set],m=Ct(S.radius,N.radius,_[l].size);C.push({x:N.x+m,y:N.y}),C.push({x:N.x-m,y:N.y}),C.push({y:N.y+m,x:N.x}),C.push({y:N.y-m,x:N.x});for(let w=l+1;w<_.length;++w){let E=n[_[w].set],u=Ct(S.radius,E.radius,_[w].size),b=Gt({x:N.x,y:N.y,radius:m},{x:E.x,y:E.y,radius:u});C.push(...b)}}let B=100000000000000000000000000000000000000000000000000,j=C[0];for(let N of C){n[p].x=N.x,n[p].y=N.y;let m=i(n,e);if(m<B)B=m,j=N}d(j,p)}return n}function mt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let a=e[n.sets[0]],c=e[n.sets[1]];r=Rt(a.radius,c.radius,ot(a,c))}else r=kt(n.sets.map((a)=>e[a]));let o=n.weight!=null?n.weight:1;i+=o*(r-n.size)*(r-n.size)}return i}function Xt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let c=e[n.sets[0]],x=e[n.sets[1]];r=Rt(c.radius,x.radius,ot(c,x))}else r=kt(n.sets.map((c)=>e[c]));let o=n.weight!=null?n.weight:1,a=Math.log((r+1)/(n.size+1));i+=o*a*a}return i}function Me(e,s,i){if(i==null)e.sort((r,o)=>o.radius-r.radius);else e.sort(i);if(e.length>0){let r=e[0].x,o=e[0].y;for(let a of e)a.x-=r,a.y-=o}if(e.length===2){if(ot(e[0],e[1])<Math.abs(e[1].radius-e[0].radius))e[1].x=e[0].x+e[0].radius-e[1].radius-0.0000000001,e[1].y=e[0].y}if(e.length>1){let r=Math.atan2(e[1].x,e[1].y)-s,o=Math.cos(r),a=Math.sin(r);for(let c of e){let{x,y:d}=c;c.x=o*x-a*d,c.y=a*x+o*d}}if(e.length>2){let r=Math.atan2(e[2].x,e[2].y)-s;while(r<0)r+=2*Math.PI;while(r>2*Math.PI)r-=2*Math.PI;if(r>Math.PI){let o=e[1].y/(0.0000000001+e[1].x);for(let a of e){var n=(a.x+o*a.y)/(1+o*o);a.x=2*n-a.x,a.y=2*n*o-a.y}}}}function Se(e){e.forEach((r)=>{r.parent=r});function s(r){if(r.parent!==r)r.parent=s(r.parent);return r.parent}function i(r,o){let a=s(r),c=s(o);a.parent=c}for(let r=0;r<e.length;++r)for(let o=r+1;o<e.length;++o){let a=e[r].radius+e[o].radius;if(ot(e[r],e[o])+0.0000000001<a)i(e[o],e[r])}let n=new Map;for(let r=0;r<e.length;++r){let o=s(e[r]).parent.setid;if(!n.has(o))n.set(o,[]);n.get(o).push(e[r])}return e.forEach((r)=>{delete r.parent}),Array.from(n.values())}function Dt(e){let s=(i)=>{let n=e.reduce((o,a)=>Math.max(o,a[i]+a.radius),Number.NEGATIVE_INFINITY),r=e.reduce((o,a)=>Math.min(o,a[i]-a.radius),Number.POSITIVE_INFINITY);return{max:n,min:r}};return{xRange:s("x"),yRange:s("y")}}function Zt(e,s,i){if(s==null)s=Math.PI/2;let n=$t(e).map((d)=>Object.assign({},d)),r=Se(n);for(let d of r){Me(d,s,i);let l=Dt(d);d.size=(l.xRange.max-l.xRange.min)*(l.yRange.max-l.yRange.min),d.bounds=l}r.sort((d,l)=>l.size-d.size),n=r[0];let o=n.bounds,a=(o.xRange.max-o.xRange.min)/50;function c(d,l,k){if(!d)return;let p=d.bounds,_,S;if(l)_=o.xRange.max-p.xRange.min+a;else{_=o.xRange.max-p.xRange.max;let C=(p.xRange.max-p.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;if(C<0)_+=C}if(k)S=o.yRange.max-p.yRange.min+a;else{S=o.yRange.max-p.yRange.max;let C=(p.yRange.max-p.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;if(C<0)S+=C}for(let C of d)C.x+=_,C.y+=S,n.push(C)}let x=1;while(x<r.length)c(r[x],!0,!1),c(r[x+1],!1,!0),c(r[x+2],!0,!0),x+=3,o=Dt(n);return Qt(n)}function Jt(e,s,i,n,r){let o=$t(e);s-=2*n,i-=2*n;let{xRange:a,yRange:c}=Dt(o);if(a.max===a.min||c.max===c.min)return console.log("not scaling solution: zero size detected"),e;let x,d;if(r){let _=Math.sqrt(r/Math.PI)*2;x=s/_,d=i/_}else x=s/(a.max-a.min),d=i/(c.max-c.min);let l=Math.min(d,x),k=(s-(a.max-a.min)*l)/2,p=(i-(c.max-c.min)*l)/2;return Qt(o.map((_)=>({radius:l*_.radius,x:n+k+(_.x-a.min)*l,y:n+p+(_.y-c.min)*l,setid:_.setid})))}function Qt(e){let s={};for(let i of e)s[i.setid]=i;return s}function $t(e){return Object.keys(e).map((i)=>Object.assign(e[i],{setid:i}))}function te(e={}){let s=!1,i=600,n=350,r=15,o=1000,a=Math.PI/2,c=!0,x=null,d=!0,l=!0,k=null,p=null,_=!1,S=null,C=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,B={},j=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],N=0,m=function(b){if(b in B)return B[b];var y=B[b]=j[N];if(N+=1,N>=j.length)N=0;return y},w=Ht,E=mt;function u(b){let y=b.datum(),G=new Set;y.forEach((T)=>{if(T.size==0&&T.sets.length==1)G.add(T.sets[0])}),y=y.filter((T)=>!T.sets.some((X)=>G.has(X)));let z={},W={};if(y.length>0){let T=w(y,{lossFunction:E,distinct:_});if(c)T=Zt(T,a,p);z=Jt(T,i,n,r,x),W=ne(z,y,C)}let at={};y.forEach((T)=>{if(T.label)at[T.sets]=T.label});function nt(T){if(T.sets in at)return at[T.sets];if(T.sets.length==1)return""+T.sets[0]}b.selectAll("svg").data([z]).enter().append("svg");let H=b.select("svg");if(s)H.attr("viewBox",`0 0 ${i} ${n}`);else H.attr("width",i).attr("height",n);let U={},K=!1;H.selectAll(".venn-area path").each(function(T){let X=this.getAttribute("d");if(T.sets.length==1&&X&&!_)K=!0,U[T.sets[0]]=Ee(X)});function V(T){return(X)=>{let yt=T.sets.map((dt)=>{let ht=U[dt],rt=z[dt];if(!ht)ht={x:i/2,y:n/2,radius:1};if(!rt)rt={x:i/2,y:n/2,radius:1};return{x:ht.x*(1-X)+rt.x*X,y:ht.y*(1-X)+rt.y*X,radius:ht.radius*(1-X)+rt.radius*X}});return Ut(yt,S)}}let Z=H.selectAll(".venn-area").data(y,(T)=>T.sets),st=Z.enter().append("g").attr("class",(T)=>`venn-area venn-${T.sets.length==1?"circle":"intersection"}${T.colour||T.color?" venn-coloured":""}`).attr("data-venn-sets",(T)=>T.sets.join("_")),tt=st.append("path"),lt=st.append("text").attr("class","label").text((T)=>nt(T)).attr("text-anchor","middle").attr("dy",".35em").attr("x",i/2).attr("y",n/2);if(l)tt.style("fill-opacity","0").filter((T)=>T.sets.length==1).style("fill",(T)=>T.colour?T.colour:T.color?T.color:m(T.sets)).style("fill-opacity",".25"),lt.style("fill",(T)=>{if(T.colour||T.color)return"#FFF";if(e.textFill)return e.textFill;return T.sets.length==1?m(T.sets):"#444"});function it(T){if(typeof T.transition==="function")return T.transition("venn").duration(o);return T}let et=b;if(K&&typeof et.transition==="function")et=it(b),et.selectAll("path").attrTween("d",V);else et.selectAll("path").attr("d",(T)=>Ut(T.sets.map((X)=>z[X])),S);let q=et.selectAll("text").filter((T)=>(T.sets in W)).text((T)=>nt(T)).attr("x",(T)=>Math.floor(W[T.sets].x)).attr("y",(T)=>Math.floor(W[T.sets].y));if(d)if(K)if("on"in q)q.on("end",wt(z,nt));else q.each("end",wt(z,nt));else q.each(wt(z,nt));let ft=it(Z.exit()).remove();if(typeof Z.transition==="function")ft.selectAll("path").attrTween("d",V);let ut=ft.selectAll("text").attr("x",i/2).attr("y",n/2);if(k!==null)lt.style("font-size","0px"),q.style("font-size",k),ut.style("font-size","0px");return{circles:z,textCentres:W,nodes:Z,enter:st,update:et,exit:ft}}return u.wrap=function(b){if(!arguments.length)return d;return d=b,u},u.useViewBox=function(){return s=!0,u},u.width=function(b){if(!arguments.length)return i;return i=b,u},u.height=function(b){if(!arguments.length)return n;return n=b,u},u.padding=function(b){if(!arguments.length)return r;return r=b,u},u.distinct=function(b){if(!arguments.length)return _;return _=b,u},u.colours=function(b){if(!arguments.length)return m;return m=b,u},u.colors=function(b){if(!arguments.length)return m;return m=b,u},u.fontSize=function(b){if(!arguments.length)return k;return k=b,u},u.round=function(b){if(!arguments.length)return S;return S=b,u},u.duration=function(b){if(!arguments.length)return o;return o=b,u},u.layoutFunction=function(b){if(!arguments.length)return w;return w=b,u},u.normalize=function(b){if(!arguments.length)return c;return c=b,u},u.scaleToFit=function(b){if(!arguments.length)return x;return x=b,u},u.styled=function(b){if(!arguments.length)return l;return l=b,u},u.orientation=function(b){if(!arguments.length)return a;return a=b,u},u.orientationOrder=function(b){if(!arguments.length)return p;return p=b,u},u.lossFunction=function(b){if(!arguments.length)return E;return E=b==="default"?mt:b==="logRatio"?Xt:b,u},u}function wt(e,s){return function(i){let n=this,r=e[i.sets[0]].radius||50,o=s(i)||"",a=o.split(/\s+/).reverse(),c=3,x=(o.length+a.length)/3,d=a.pop(),l=[d],k=0,p=1.1;n.textContent=null;let _=[];function S(m){let w=n.ownerDocument.createElementNS(n.namespaceURI,"tspan");return w.textContent=m,_.push(w),n.append(w),w}let C=S(d);while(!0){if(d=a.pop(),!d)break;l.push(d);let m=l.join(" ");if(C.textContent=m,m.length>x&&C.getComputedTextLength()>r)l.pop(),C.textContent=l.join(" "),l=[d],C=S(d),k++}let B=0.35-k*p/2,j=n.getAttribute("x"),N=n.getAttribute("y");_.forEach((m,w)=>{m.setAttribute("x",j),m.setAttribute("y",N),m.setAttribute("dy",`${B+w*p}em`)})}}function _t(e,s,i){let n=s[0].radius-ot(s[0],e);for(let r=1;r<s.length;++r){let o=s[r].radius-ot(s[r],e);if(o<=n)n=o}for(let r=0;r<i.length;++r){let o=ot(i[r],e)-i[r].radius;if(o<=n)n=o}return n}function ee(e,s,i){let n=[];for(let l of e)n.push({x:l.x,y:l.y}),n.push({x:l.x+l.radius/2,y:l.y}),n.push({x:l.x-l.radius/2,y:l.y}),n.push({x:l.x,y:l.y+l.radius/2}),n.push({x:l.x,y:l.y-l.radius/2});let r=n[0],o=_t(n[0],e,s);for(let l=1;l<n.length;++l){let k=_t(n[l],e,s);if(k>=o)r=n[l],o=k}let a=Kt((l)=>-1*_t({x:l[0],y:l[1]},e,s),[r.x,r.y],{maxIterations:500,minErrorDelta:0.0000000001}).x,c={x:i?0:a[0],y:a[1]},x=!0;for(let l of e)if(ot(c,l)>l.radius){x=!1;break}for(let l of s)if(ot(c,l)<l.radius){x=!1;break}if(x)return c;if(e.length==1)return{x:e[0].x,y:e[0].y};let d={};if(kt(e,d),d.arcs.length===0)return{x:0,y:-1000,disjoint:!0};if(d.arcs.length==1)return{x:d.arcs[0].circle.x,y:d.arcs[0].circle.y};if(s.length)return ee(e,[]);return Wt(d.arcs.map((l)=>l.p1))}function we(e){let s={},i=Object.keys(e);for(let n of i)s[n]=[];for(let n=0;n<i.length;n++){let r=i[n],o=e[r];for(let a=n+1;a<i.length;++a){let c=i[a],x=e[c],d=ot(o,x);if(d+x.radius<=o.radius+0.0000000001)s[c].push(r);else if(d+o.radius<=x.radius+0.0000000001)s[r].push(c)}}return s}function ne(e,s,i){let n={},r=we(e);for(let o=0;o<s.length;++o){let a=s[o].sets,c={},x={};for(let p=0;p<a.length;++p){c[a[p]]=!0;let _=r[a[p]];for(let S=0;S<_.length;++S)x[_[S]]=!0}let d=[],l=[];for(let p in e)if(p in c)d.push(e[p]);else if(!(p in x))l.push(e[p]);let k=ee(d,l,i);if(n[a]=k,k.disjoint&&s[o].size>0)console.log("WARNING: area "+a+" not represented on screen")}return n}function _e(e,s,i){let n=[];return n.push(`
|
|
2
|
-
M`,e,s),n.push(`
|
|
3
|
-
m`,-i,0),n.push(`
|
|
4
|
-
a`,i,i,0,1,0,i*2,0),n.push(`
|
|
5
|
-
a`,i,i,0,1,0,-i*2,0),n.join(" ")}function Ee(e){let s=e.split(" ");return{x:Number.parseFloat(s[1]),y:Number.parseFloat(s[2]),radius:-Number.parseFloat(s[4])}}function se(e){if(e.length===0)return[];let s={};return kt(e,s),s.arcs}function ie(e,s){if(e.length===0)return"M 0 0";let i=Math.pow(10,s||0),n=s!=null?(o)=>Math.round(o*i)/i:(o)=>o;if(e.length==1){let o=e[0].circle;return _e(n(o.x),n(o.y),n(o.radius))}let r=[`
|
|
6
|
-
M`,n(e[0].p2.x),n(e[0].p2.y)];for(let o of e){let a=n(o.circle.radius);r.push(`
|
|
7
|
-
A`,a,a,0,o.large?1:0,o.sweep?1:0,n(o.p1.x),n(o.p1.y))}return r.join(" ")}function Ut(e,s){return ie(se(e),s)}function re(e,s={}){let{lossFunction:i,layoutFunction:n=Ht,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:a,width:c=600,height:x=350,padding:d=15,scaleToFit:l=!1,symmetricalTextCentre:k=!1,distinct:p,round:_=2}=s,S=n(e,{lossFunction:i==="default"||!i?mt:i==="logRatio"?Xt:i,distinct:p});if(r)S=Zt(S,o,a);let C=Jt(S,c,x,d,l),B=ne(C,e,k),j=new Map(Object.keys(C).map((w)=>[w,{set:w,x:C[w].x,y:C[w].y,radius:C[w].radius}])),N=e.map((w)=>{let E=w.sets.map((y)=>j.get(y)),u=se(E),b=ie(u,_);return{circles:E,arcs:u,path:b,area:w,has:new Set(w.sets)}});function m(w){let E="";for(let u of N)if(u.has.size>w.length&&w.every((b)=>u.has.has(b)))E+=" "+u.path;return E}return N.map(({circles:w,arcs:E,path:u,area:b})=>({data:b,text:B[b.sets],circles:w,arcs:E,path:u,distinctPath:u+m(b.sets)}))}var Nt=function(){var e=t(function(N,m,w,E){for(w=w||{},E=N.length;E--;w[N[E]]=m);return w},"o"),s=[5,8],i=[7,8,11,12,17,19,22,24],n=[1,17],r=[1,18],o=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],a=[1,31],c=[1,39],x=[7,8,11,12,17,19,22,24,27],d=[1,57],l=[1,56],k=[1,58],p=[1,59],_=[1,60],S=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:t(function(m,w,E,u,b,y,G){var z=y.length-1;switch(b){case 1:return y[z-1];case 2:case 3:case 4:this.$=[];break;case 5:y[z-1].push(y[z]),this.$=y[z-1];break;case 6:this.$=[];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:this.$=y[z];break;case 8:u.setDiagramTitle(y[z].substr(6)),this.$=y[z].substr(6);break;case 9:if(u.addSubsetData([y[z]],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 10:if(u.addSubsetData([y[z-1]],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 11:if(u.addSubsetData([y[z-2]],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 12:if(u.addSubsetData([y[z-3]],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 13:if(y[z].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z]);if(u.addSubsetData(y[z],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 14:if(y[z-1].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-1]);if(u.addSubsetData(y[z-1],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 15:if(y[z-2].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-2]);if(u.addSubsetData(y[z-2],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 16:if(y[z-3].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-3]);if(u.addSubsetData(y[z-3],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 17:case 18:case 19:u.addTextData(y[z-1],y[z],void 0);break;case 20:case 21:u.addTextData(y[z-2],y[z-1],y[z]);break;case 23:u.addStyleData(y[z-1],y[z]);break;case 24:case 25:case 26:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z],void 0);break;case 27:case 28:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z-1],y[z]);break;case 29:case 41:this.$=[y[z]];break;case 30:case 42:this.$=[...y[z-2],y[z]];break;case 31:this.$=[y[z-2],y[z]];break;case 33:this.$=y[z].join(" ");break;case 34:this.$=[y[z]];break;case 35:y[z-1].push(y[z]),this.$=y[z-1];break;case 43:case 44:this.$=y[z];break}},"anonymous"),table:[e(s,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},e(i,[2,4],{6:5}),e(s,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},e(i,[2,5]),e(i,[2,6]),e(i,[2,7]),e(i,[2,8]),{13:16,20:n,21:r},{13:20,18:19,20:n,21:r},{13:20,18:21,20:n,21:r},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:n,21:r},e(i,[2,9],{14:[1,27],15:[1,28]}),e(o,[2,43]),e(o,[2,44]),e(i,[2,13],{14:[1,29],15:[1,30],27:a}),e(o,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:a},e(i,[2,22]),e(i,[2,24],{14:[1,35]}),e(i,[2,25],{14:[1,36]}),e(i,[2,26]),{20:c,25:37,26:38,27:a},e(i,[2,10],{15:[1,40]}),{16:[1,41]},e(i,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:n,21:r},e(i,[2,17],{14:[1,45]}),e(i,[2,18],{14:[1,46]}),e(i,[2,19]),e(i,[2,27]),e(i,[2,28]),e(i,[2,23],{27:[1,47]}),e(x,[2,29]),{15:[1,48]},{16:[1,49]},e(i,[2,11]),{16:[1,50]},e(i,[2,15]),e(o,[2,42]),e(i,[2,20]),e(i,[2,21]),{20:c,26:51},{16:d,20:l,21:[1,53],28:52,29:54,30:55,31:k,32:p,33:_},e(i,[2,12]),e(i,[2,16]),e(x,[2,30]),e(x,[2,31]),e(x,[2,32]),e(x,[2,33],{30:61,16:d,20:l,31:k,32:p,33:_}),e(S,[2,34]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),e(S,[2,40]),e(S,[2,35])],defaultActions:{6:[2,1]},parseError:t(function(m,w){if(w.recoverable)this.trace(m);else{var E=Error(m);throw E.hash=w,E}},"parseError"),parse:t(function(m){var w=this,E=[0],u=[],b=[null],y=[],G=this.table,z="",W=0,at=0,nt=0,H=2,U=1,K=y.slice.call(arguments,1),V=Object.create(this.lexer),Z={yy:{}};for(var st in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,st))Z.yy[st]=this.yy[st];if(V.setInput(m,Z.yy),Z.yy.lexer=V,Z.yy.parser=this,typeof V.yylloc>"u")V.yylloc={};var tt=V.yylloc;y.push(tt);var lt=V.options&&V.options.ranges;if(typeof Z.yy.parseError==="function")this.parseError=Z.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function it(ct){E.length=E.length-2*ct,b.length=b.length-ct,y.length=y.length-ct}t(it,"popStack");function et(){var ct=u.pop()||V.lex()||U;if(typeof ct!=="number"){if(ct instanceof Array)u=ct,ct=u.pop();ct=w.symbols_[ct]||ct}return ct}t(et,"lex");var q,ft,ut,T,X,yt,dt={},ht,rt,Bt,vt;while(!0){if(ut=E[E.length-1],this.defaultActions[ut])T=this.defaultActions[ut];else{if(q===null||typeof q>"u")q=et();T=G[ut]&&G[ut][q]}if(typeof T>"u"||!T.length||!T[0]){var Mt="";vt=[];for(ht in G[ut])if(this.terminals_[ht]&&ht>H)vt.push("'"+this.terminals_[ht]+"'");if(V.showPosition)Mt="Parse error on line "+(W+1)+`:
|
|
8
|
-
`+V.showPosition()+`
|
|
9
|
-
Expecting `+vt.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Mt="Parse error on line "+(W+1)+": Unexpected "+(q==U?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Mt,{text:V.match,token:this.terminals_[q]||q,line:V.yylineno,loc:tt,expected:vt})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+ut+", token: "+q);switch(T[0]){case 1:if(E.push(q),b.push(V.yytext),y.push(V.yylloc),E.push(T[1]),q=null,!ft){if(at=V.yyleng,z=V.yytext,W=V.yylineno,tt=V.yylloc,nt>0)nt--}else q=ft,ft=null;break;case 2:if(rt=this.productions_[T[1]][1],dt.$=b[b.length-rt],dt._$={first_line:y[y.length-(rt||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(rt||1)].first_column,last_column:y[y.length-1].last_column},lt)dt._$.range=[y[y.length-(rt||1)].range[0],y[y.length-1].range[1]];if(yt=this.performAction.apply(dt,[z,at,W,Z.yy,T[1],b,y].concat(K)),typeof yt<"u")return yt;if(rt)E=E.slice(0,-1*rt*2),b=b.slice(0,-1*rt),y=y.slice(0,-1*rt);E.push(this.productions_[T[1]][0]),b.push(dt.$),y.push(dt._$),Bt=G[E[E.length-2]][E[E.length-1]],E.push(Bt);break;case 3:return!0}}return!0},"parse")},B=function(){var N={EOF:1,parseError:t(function(w,E){if(this.yy.parser)this.yy.parser.parseError(w,E);else throw Error(w)},"parseError"),setInput:t(function(m,w){if(this.yy=w||this.yy||{},this._input=m,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 m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var w=m.match(/(?:\r\n?|\n).*/g);if(w)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),m},"input"),unput:t(function(m){var w=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var u=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),E.length-1)this.yylineno-=E.length-1;var b=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:E?(E.length===u.length?this.yylloc.first_column:0)+u[u.length-E.length].length-E[0].length:this.yylloc.first_column-w},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-w];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).
|
|
10
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(m){this.unput(this.match.slice(m))},"less"),pastInput:t(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var m=this.match;if(m.length<20)m+=this._input.substr(0,20-m.length);return(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var m=this.pastInput(),w=Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
11
|
-
`+w+"^"},"showPosition"),test_match:t(function(m,w){var E,u,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(u=m[0].match(/(?:\r\n?|\n).*/g),u)this.yylineno+=u.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,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(m[0].length),this.matched+=m[0],E=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(E)return E;else if(this._backtrack){for(var y in b)this[y]=b[y];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var m,w,E,u;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var y=0;y<b.length;y++)if(E=this._input.match(this.rules[b[y]]),E&&(!w||E[0].length>w[0].length)){if(w=E,u=y,this.options.backtrack_lexer)if(m=this.test_match(E,b[y]),m!==!1)return m;else if(this._backtrack){w=!1;continue}else return!1;else if(!this.options.flex)break}if(w){if(m=this.test_match(w,b[u]),m!==!1)return m;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
12
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var w=this.next();if(w)return w;else return this.lex()},"lex"),begin:t(function(w){this.conditionStack.push(w)},"begin"),popState:t(function(){var w=this.conditionStack.length-1;if(w>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(w){if(w=this.conditionStack.length-1-Math.abs(w||0),w>=0)return this.conditionStack[w];else return"INITIAL"},"topState"),pushState:t(function(w){this.begin(w)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(w,E,u,b){var y=b;switch(u){case 0:break;case 1:break;case 2:break;case 3:if(w.getIndentMode&&w.getIndentMode())return w.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 4:break;case 5:if(w.setIndentMode)w.setIndentMode(!1);this.begin("INITIAL"),this.unput(E.yytext);break;case 6:return this.begin("bol"),8;break;case 7:break;case 8:break;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(w.consumeIndentText)w.consumeIndentText=!1;else return 19;break;case 15:return 24;case 16:return E.yytext=E.yytext.slice(2,-2),14;break;case 17:return E.yytext=E.yytext.slice(1,-1).trim(),14;break;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}};return N}();C.lexer=B;function j(){this.yy={}}return t(j,"Parser"),j.prototype=C,C.Parser=j,new j}();Nt.parser=Nt;var ze=Nt,Ot=[],Lt=[],jt=[],Ft=new Set,Pt,Vt=!1,Ae=t((e,s,i)=>{let n=It(e).sort(),r=i??10/Math.pow(e.length,2);if(Pt=n,n.length===1)Ft.add(n[0]);Ot.push({sets:n,size:r,label:s?bt(s):void 0})},"addSubsetData"),Ce=t(()=>Ot,"getSubsetData"),bt=t((e)=>{let s=e.trim();if(s.length>=2&&s.startsWith('"')&&s.endsWith('"'))return s.slice(1,-1);return s},"normalizeText"),De=t((e)=>e?bt(e):e,"normalizeStyleValue"),Re=t((e,s,i)=>{let n=bt(s);Lt.push({sets:It(e).sort(),id:n,label:i?bt(i):void 0})},"addTextData"),Ne=t((e,s)=>{let i=It(e).sort(),n={};for(let[r,o]of s)n[r]=De(o)??o;jt.push({targets:i,styles:n})},"addStyleData"),Oe=t(()=>jt,"getStyleData"),It=t((e)=>e.map((s)=>bt(s)),"normalizeIdentifierList"),Le=t((e)=>{let i=It(e).filter((n)=>!Ft.has(n));if(i.length>0)throw Error(`unknown set identifier: ${i.join(", ")}`)},"validateUnionIdentifiers"),je=t(()=>Lt,"getTextData"),Fe=t(()=>Pt,"getCurrentSets"),Pe=t(()=>Vt,"getIndentMode"),Ve=t((e)=>{Vt=e},"setIndentMode"),Be=F.venn;function oe(){return Q(Be,A().venn)}t(oe,"getConfig");var qe=t(()=>{L(),Ot.length=0,Lt.length=0,jt.length=0,Ft.clear(),Pt=void 0,Vt=!1},"customClear"),Ue={getConfig:oe,clear:qe,setAccTitle:M,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P,addSubsetData:Ae,getSubsetData:Ce,addTextData:Re,addStyleData:Ne,validateUnionIdentifiers:Le,getTextData:je,getStyleData:Oe,getCurrentSets:Fe,getIndentMode:Pe,setIndentMode:Ve},Ge=t((e)=>`
|
|
13
|
-
.venn-title {
|
|
14
|
-
font-size: 32px;
|
|
15
|
-
fill: ${e.vennTitleTextColor};
|
|
16
|
-
font-family: ${e.fontFamily};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.venn-circle text {
|
|
20
|
-
font-size: 48px;
|
|
21
|
-
font-family: ${e.fontFamily};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.venn-intersection text {
|
|
25
|
-
font-size: 48px;
|
|
26
|
-
fill: ${e.vennSetTextColor};
|
|
27
|
-
font-family: ${e.fontFamily};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.venn-text-node {
|
|
31
|
-
font-family: ${e.fontFamily};
|
|
32
|
-
color: ${e.vennSetTextColor};
|
|
33
|
-
}
|
|
34
|
-
`,"getStyles"),We=Ge;function ae(e){let s=new Map;for(let i of e){let n=i.targets.join("|"),r=s.get(n);if(r)Object.assign(r,i.styles);else s.set(n,{...i.styles})}return s}t(ae,"buildStyleByKey");var Ke=t((e,s,i,n)=>{let r=n.db,o=r.getConfig?.(),{themeVariables:a,look:c,handDrawnSeed:x}=A(),d=c==="handDrawn",l=[a.venn1,a.venn2,a.venn3,a.venn4,a.venn5,a.venn6,a.venn7,a.venn8].filter(Boolean),k=r.getDiagramTitle?.(),p=r.getSubsetData(),_=r.getTextData(),S=ae(r.getStyleData()),C=ce(p),B=o?.width??800,j=o?.height??450,N=1600,m=B/1600,w=k?48*m:0,E=a.primaryTextColor??a.textColor,u=J(s);if(u.attr("viewBox",`0 0 ${B} ${j}`),k)u.append("text").text(k).attr("class","venn-title").attr("font-size",`${32*m}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*m).style("fill",a.vennTitleTextColor||a.titleColor);let b=g(document.createElement("div")),y=te().width(B).height(j-w);b.datum(C).call(y);let G=d?v.svg(b.select("svg").node()):void 0,z=re(C,{width:B,height:j-w,padding:o?.padding??15}),W=new Map;for(let U of z){let K=xt([...U.data.sets].sort());W.set(K,U)}if(_.length>0)le(o,W,b,_,m,S);let at=de(a.background||"#f4f4f4");if(b.selectAll(".venn-circle").each(function(U,K){let V=g(this),st=xt([...U.sets].sort()),tt=S.get(st),lt=l.length>0?l[K%l.length]:void 0,it=tt?.fill||lt||a.primaryColor;V.classed(`venn-set-${K%8}`,!0);let et=tt?.["fill-opacity"]??0.1,q=tt?.stroke||it,ft=tt?.["stroke-width"]||`${5*m}`;if(d&&G){let T=W.get(st);if(T&&T.circles.length>0){let X=T.circles[0],yt=G.circle(X.x,X.y,X.radius*2,{roughness:0.7,seed:x,fill:St(it,0.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+K*60,stroke:q,strokeWidth:parseFloat(String(ft))});V.select("path").remove(),V.node()?.insertBefore(yt,V.select("text").node())}}else V.select("path").style("fill",it).style("fill-opacity",et).style("stroke",q).style("stroke-width",ft).style("stroke-opacity",0.95);let ut=tt?.color||(at?f(it,30):h(it,30));V.select("text").style("font-size",`${48*m}px`).style("fill",ut)}),d&&G)b.selectAll(".venn-intersection").each(function(U){let K=g(this),Z=xt([...U.sets].sort()),st=S.get(Z),tt=st?.fill;if(tt){let lt=K.select("path"),it=lt.attr("d");if(it){let et=G.path(it,{roughness:0.7,seed:x,fill:St(tt,0.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),q=lt.node();q?.parentNode?.insertBefore(et,q),lt.remove()}}else K.select("path").style("fill-opacity",0);K.select("text").style("font-size",`${48*m}px`).style("fill",st?.color??a.vennSetTextColor??E)});else b.selectAll(".venn-intersection text").style("font-size",`${48*m}px`).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.color??a.vennSetTextColor??E}),b.selectAll(".venn-intersection path").style("fill-opacity",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill?1:0}).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill??"transparent"});let nt=u.append("g").attr("transform",`translate(0, ${w})`),H=b.select("svg").node();if(H&&"childNodes"in H)for(let U of[...H.childNodes])nt.node()?.appendChild(U);Y(u,j,B,o?.useMaxWidth??!0)},"draw");function xt(e){return e.join("|")}t(xt,"stableSetsKey");function le(e,s,i,n,r,o){let a=e?.useDebugLayout??!1,x=i.select("svg").append("g").attr("class","venn-text-nodes"),d=new Map;for(let l of n){let k=xt(l.sets),p=d.get(k);if(p)p.push(l);else d.set(k,[l])}for(let[l,k]of d.entries()){let p=s.get(l);if(!p?.text)continue;let _=p.text.x,S=p.text.y,C=Math.min(...p.circles.map((H)=>H.radius)),B=Math.min(...p.circles.map((H)=>H.radius-Math.hypot(_-H.x,S-H.y))),j=Number.isFinite(B)?Math.max(0,B):0;if(j===0&&Number.isFinite(C))j=C*0.6;let N=x.append("g").attr("class","venn-text-area").attr("font-size",`${40*r}px`);if(a)N.append("circle").attr("class","venn-text-debug-circle").attr("cx",_).attr("cy",S).attr("r",j).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*r).attr("stroke-dasharray",`${6*r} ${4*r}`);let m=Math.max(80*r,j*2*0.95),w=Math.max(60*r,j*2*0.95),b=(p.data.label&&p.data.label.length>0?Math.min(32*r,j*0.25):0)+(k.length<=2?30*r:0),y=_-m/2,G=S-w/2+b,z=Math.max(1,Math.ceil(Math.sqrt(k.length))),W=Math.max(1,Math.ceil(k.length/z)),at=m/z,nt=w/W;for(let[H,U]of k.entries()){let K=H%z,V=Math.floor(H/z),Z=y+at*(K+0.5),st=G+nt*(V+0.5);if(a)N.append("rect").attr("class","venn-text-debug-cell").attr("x",y+at*K).attr("y",G+nt*V).attr("width",at).attr("height",nt).attr("fill","none").attr("stroke","teal").attr("stroke-width",1*r).attr("stroke-dasharray",`${4*r} ${3*r}`);let tt=at*0.9,lt=nt*0.9,it=N.append("foreignObject").attr("class","venn-text-node-fo").attr("width",tt).attr("height",lt).attr("x",Z-tt/2).attr("y",st-lt/2).attr("overflow","visible"),et=o.get(U.id)?.color,q=it.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(U.label??U.id);if(et)q.style("color",et)}}}t(le,"renderTextNodes");function ce(e){let s=new Set(e.map((r)=>[...r.sets].sort().join("|"))),i=new Map(e.filter((r)=>r.sets.length===1&&r.size!==void 0).map((r)=>[r.sets[0],r.size])),n=[];for(let r of e){if(r.sets.length<3)continue;let o=[...r.sets].sort();for(let a=0;a<o.length-1;a++)for(let c=a+1;c<o.length;c++){let x=[o[a],o[c]],d=x.join("|");if(!s.has(d)){s.add(d);let l=i.get(x[0]),k=i.get(x[1]),p=l!==void 0&&k!==void 0?Math.min(l,k)/4:2.5;n.push({sets:x,size:p,label:""})}}}return n.length>0?[...e,...n]:e}t(ce,"ensurePairwiseSubsets");var He={draw:Ke},rn={parser:ze,db:Ue,renderer:He,styles:We};export{rn as diagram};
|
package/web/chunk-n08727ym.js.br
DELETED
|
Binary file
|
package/web/chunk-n08727ym.js.gz
DELETED
|
Binary file
|