@bkm016/basalt 0.1.33 → 0.1.35
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/README.md +24 -0
- package/chunk-10y5hvt2.js +2 -0
- package/chunk-22k2be3e.js +13 -0
- package/chunk-28hye007.js +2 -0
- package/chunk-2fmsw1c6.js +5 -0
- package/chunk-2xj51v3m.js +3 -0
- package/chunk-3x0wm92n.js +3 -0
- package/chunk-4fgsqb1e.js +2 -0
- package/chunk-519eek65.js +39 -0
- package/chunk-5qa4dean.js +2 -0
- package/chunk-5x256mz8.js +2 -0
- package/chunk-6n01sefp.js +8 -0
- package/chunk-74xtmwpw.js +2 -0
- package/chunk-7mafj833.js +3 -0
- package/chunk-7v1sqn9k.js +59 -0
- package/chunk-8my52htr.js +3 -0
- package/chunk-8vh98e46.js +2 -0
- package/chunk-92mpgche.js +2 -0
- package/chunk-9vacevyf.js +3 -0
- package/chunk-9y44m27k.js +5 -0
- package/chunk-a5wv2shs.js +3 -0
- package/chunk-a78qhb4t.js +5 -0
- package/chunk-axsxx67j.js +3 -0
- package/chunk-b49fzzzn.js +2 -0
- package/chunk-bc8awbnt.js +2 -0
- package/chunk-crxs0n0r.js +3 -0
- package/chunk-csed8fsv.js +3 -0
- package/chunk-cspx3bz9.js +2 -0
- package/chunk-ctdtmwmd.js +63 -0
- package/chunk-d3xsmwbh.js +25 -0
- package/chunk-dvwgpsfz.js +3 -0
- package/chunk-dzd8k6bw.js +3 -0
- package/chunk-e2xqa46t.js +2 -0
- package/chunk-e41mpwx9.js +9 -0
- package/chunk-e5ccfgsk.js +3 -0
- package/chunk-e67wqhzh.js +12 -0
- package/chunk-emeb13nd.js +25 -0
- package/chunk-ers9s2c4.js +31 -0
- package/chunk-ezq0fnz6.js +3 -0
- package/chunk-ezqvx0hm.js +2 -0
- package/chunk-f10ca9ma.js +12 -0
- package/chunk-f72jhcp8.js +2 -0
- package/chunk-fjv41a8r.js +4155 -0
- package/chunk-gj0dhgbg.js +3 -0
- package/chunk-h0ggc6pv.js +60 -0
- package/chunk-hrt42rkh.js +4 -0
- package/chunk-j7m36g5w.js +3 -0
- package/chunk-jhn30hjp.js +2 -0
- package/chunk-ka41gq1g.js +16 -0
- package/chunk-kcp9byws.js +2 -0
- package/chunk-me72k64f.js +7 -0
- package/chunk-n4jemqf1.js +2 -0
- package/chunk-ndt4jvh1.js +3 -0
- package/chunk-pyxn4wqj.js +3 -0
- package/chunk-rajb3566.js +2 -0
- package/chunk-rbq2gsar.js +3 -0
- package/chunk-rd98e7kg.js +10 -0
- package/chunk-rm5dbbsg.js +3 -0
- package/chunk-rztw3tgx.js +3 -0
- package/chunk-s4mn41eh.js +8 -0
- package/chunk-s9p624fq.js +44 -0
- package/chunk-sawrte7v.js +3 -0
- package/chunk-sd8d792h.js +51 -0
- package/chunk-sgvmxx0d.js +2 -0
- package/chunk-sqbnt2t1.js +3 -0
- package/chunk-t2bvj735.js +2 -0
- package/chunk-t8tkamx6.js +2 -0
- package/chunk-tbehe5ky.js +18 -0
- package/chunk-tnay319j.js +3 -0
- package/chunk-tsha69rv.js +7 -0
- package/chunk-twqwer9t.js +5 -0
- package/chunk-vr2rtqeh.js +2 -0
- package/chunk-vr6eej6b.js +3 -0
- package/chunk-w41gswj8.js +3 -0
- package/chunk-x7tras0x.js +498 -0
- package/chunk-xakmebnm.js +10 -0
- package/chunk-xj453mny.js +286 -0
- package/chunk-xmrw19xj.js +2 -0
- package/chunk-xpj8fcjp.js +20 -0
- package/chunk-y218jsvc.js +3 -0
- package/chunk-y33fkh8m.js +2 -0
- package/chunk-z3h9ydyr.js +11 -0
- package/chunk-zc51vfhr.js +2 -0
- package/chunk-zm88mnds.js +7 -0
- package/chunk-zz9rj82y.js +3 -0
- package/compiled.js +10 -10
- package/package.json +1 -1
- package/ui-test-worker.js +42 -42
- package/web/chunk-0b5vh2pt.js +2 -0
- package/web/chunk-0b5vh2pt.js.br +0 -0
- package/web/chunk-0b5vh2pt.js.gz +0 -0
- package/web/chunk-0hkdqhkv.js +1 -0
- package/web/chunk-0hkdqhkv.js.br +0 -0
- package/web/chunk-0hkdqhkv.js.gz +0 -0
- package/web/chunk-0v7wrb32.js +2 -0
- package/web/chunk-0v7wrb32.js.br +0 -0
- package/web/chunk-0v7wrb32.js.gz +0 -0
- package/web/chunk-0x2fgw1m.js +1 -0
- package/web/chunk-0x2fgw1m.js.br +0 -0
- package/web/chunk-0x2fgw1m.js.gz +0 -0
- package/web/chunk-0xctxqvv.js +2 -0
- package/web/chunk-0xctxqvv.js.br +0 -0
- package/web/chunk-0xctxqvv.js.gz +0 -0
- package/web/chunk-0y9tf0rt.js +89 -0
- package/web/chunk-0y9tf0rt.js.br +0 -0
- package/web/chunk-0y9tf0rt.js.gz +0 -0
- package/web/chunk-0yrp0f6x.js +1 -0
- package/web/chunk-0yrp0f6x.js.br +0 -0
- package/web/chunk-0yrp0f6x.js.gz +0 -0
- package/web/chunk-10jk2pn9.js +1 -0
- package/web/chunk-10jk2pn9.js.br +0 -0
- package/web/chunk-10jk2pn9.js.gz +0 -0
- package/web/chunk-15ka35m9.js +2 -0
- package/web/chunk-15ka35m9.js.br +0 -0
- package/web/chunk-15ka35m9.js.gz +0 -0
- package/web/chunk-1700cges.js +1 -0
- package/web/chunk-1700cges.js.br +0 -0
- package/web/chunk-1700cges.js.gz +0 -0
- package/web/chunk-1apw6pnk.css +1 -0
- package/web/chunk-1apw6pnk.css.br +0 -0
- package/web/chunk-1apw6pnk.css.gz +0 -0
- package/web/chunk-1b005nqw.js +139 -0
- package/web/chunk-1b005nqw.js.br +0 -0
- package/web/chunk-1b005nqw.js.gz +0 -0
- package/web/chunk-1c9khgyt.js +1 -0
- package/web/chunk-1c9khgyt.js.br +2 -0
- package/web/chunk-1c9khgyt.js.gz +0 -0
- package/web/chunk-1pr20x9x.js +1 -0
- package/web/chunk-1pr20x9x.js.br +0 -0
- package/web/chunk-1pr20x9x.js.gz +0 -0
- package/web/chunk-1sjgdggk.js +7 -0
- package/web/chunk-1sjgdggk.js.br +0 -0
- package/web/chunk-1sjgdggk.js.gz +0 -0
- package/web/chunk-1tt5ympp.js +1 -0
- package/web/chunk-1tt5ympp.js.br +0 -0
- package/web/chunk-1tt5ympp.js.gz +0 -0
- package/web/chunk-29fpfs5q.js +1142 -0
- package/web/chunk-29fpfs5q.js.br +0 -0
- package/web/chunk-29fpfs5q.js.gz +0 -0
- package/web/chunk-2gr7vwnp.js +24 -0
- package/web/chunk-2gr7vwnp.js.br +0 -0
- package/web/chunk-2gr7vwnp.js.gz +0 -0
- package/web/chunk-2p84jch3.js +1 -0
- package/web/chunk-2p84jch3.js.br +0 -0
- package/web/chunk-2p84jch3.js.gz +0 -0
- package/web/chunk-2qs283mh.js +2 -0
- package/web/chunk-2qs283mh.js.br +0 -0
- package/web/chunk-2qs283mh.js.gz +0 -0
- package/web/chunk-3gf2d852.js +1 -0
- package/web/chunk-3gf2d852.js.br +0 -0
- package/web/chunk-3gf2d852.js.gz +0 -0
- package/web/chunk-3hswqkb0.js +1 -0
- package/web/chunk-3hswqkb0.js.br +0 -0
- package/web/chunk-3hswqkb0.js.gz +0 -0
- package/web/chunk-46yjp1x4.js +2 -0
- package/web/chunk-46yjp1x4.js.br +0 -0
- package/web/chunk-46yjp1x4.js.gz +0 -0
- package/web/chunk-4ezd1rkc.js +84 -0
- package/web/chunk-4ezd1rkc.js.br +0 -0
- package/web/chunk-4ezd1rkc.js.gz +0 -0
- package/web/chunk-4v9ar0sf.js +142 -0
- package/web/chunk-4v9ar0sf.js.br +0 -0
- package/web/chunk-4v9ar0sf.js.gz +0 -0
- package/web/chunk-51z88j1t.js +21 -0
- package/web/chunk-51z88j1t.js.br +0 -0
- package/web/chunk-51z88j1t.js.gz +0 -0
- package/web/chunk-5f5zcfga.js +1 -0
- package/web/chunk-5f5zcfga.js.br +2 -0
- package/web/chunk-5f5zcfga.js.gz +0 -0
- package/web/chunk-5n61r0rr.js +36 -0
- package/web/chunk-5n61r0rr.js.br +0 -0
- package/web/chunk-5n61r0rr.js.gz +0 -0
- package/web/chunk-5vcdeenv.js +2 -0
- package/web/chunk-5vcdeenv.js.br +0 -0
- package/web/chunk-5vcdeenv.js.gz +0 -0
- package/web/chunk-5y7ks8c3.js +30 -0
- package/web/chunk-5y7ks8c3.js.br +0 -0
- package/web/chunk-5y7ks8c3.js.gz +0 -0
- package/web/chunk-60v8qwec.js +2 -0
- package/web/chunk-60v8qwec.js.br +0 -0
- package/web/chunk-60v8qwec.js.gz +0 -0
- package/web/chunk-61m5t9wg.js +200 -0
- package/web/chunk-61m5t9wg.js.br +0 -0
- package/web/chunk-61m5t9wg.js.gz +0 -0
- package/web/chunk-669n37qf.js +70 -0
- package/web/chunk-669n37qf.js.br +0 -0
- package/web/chunk-669n37qf.js.gz +0 -0
- package/web/chunk-6kf1xwz9.js +2 -0
- package/web/chunk-6kf1xwz9.js.br +0 -0
- package/web/chunk-6kf1xwz9.js.gz +0 -0
- package/web/chunk-6rw72jmj.js +2 -0
- package/web/chunk-6rw72jmj.js.br +0 -0
- package/web/chunk-6rw72jmj.js.gz +0 -0
- package/web/chunk-6wyxxd9h.js +2 -0
- package/web/chunk-6wyxxd9h.js.br +0 -0
- package/web/chunk-6wyxxd9h.js.gz +0 -0
- package/web/chunk-77vj65dc.js +1 -0
- package/web/chunk-77vj65dc.js.br +0 -0
- package/web/chunk-77vj65dc.js.gz +0 -0
- package/web/chunk-8ktz0w1x.js +120 -0
- package/web/chunk-8ktz0w1x.js.br +0 -0
- package/web/chunk-8ktz0w1x.js.gz +0 -0
- package/web/chunk-8rcfpj02.js +2 -0
- package/web/chunk-8rcfpj02.js.br +0 -0
- package/web/chunk-8rcfpj02.js.gz +0 -0
- package/web/chunk-8x4s1c9g.js +1 -0
- package/web/chunk-8x4s1c9g.js.br +2 -0
- package/web/chunk-8x4s1c9g.js.gz +0 -0
- package/web/chunk-8zf4cywy.js +1 -0
- package/web/chunk-8zf4cywy.js.br +0 -0
- package/web/chunk-8zf4cywy.js.gz +0 -0
- package/web/chunk-a18y5dmf.js +2 -0
- package/web/chunk-a18y5dmf.js.br +0 -0
- package/web/chunk-a18y5dmf.js.gz +0 -0
- package/web/chunk-a36sfjyk.js +1 -0
- package/web/chunk-a36sfjyk.js.br +0 -0
- package/web/chunk-a36sfjyk.js.gz +0 -0
- package/web/chunk-aahzqxq7.js +34 -0
- package/web/chunk-aahzqxq7.js.br +0 -0
- package/web/chunk-aahzqxq7.js.gz +0 -0
- package/web/chunk-b2gtwatf.js +370 -0
- package/web/chunk-b2gtwatf.js.br +0 -0
- package/web/chunk-b2gtwatf.js.gz +0 -0
- package/web/chunk-bdp4y1zg.js +1 -0
- package/web/chunk-bdp4y1zg.js.br +0 -0
- package/web/chunk-bdp4y1zg.js.gz +0 -0
- package/web/chunk-be67vfx1.js +1 -0
- package/web/chunk-be67vfx1.js.br +0 -0
- package/web/chunk-be67vfx1.js.gz +0 -0
- package/web/chunk-bt6r78y9.js +106 -0
- package/web/chunk-bt6r78y9.js.br +0 -0
- package/web/chunk-bt6r78y9.js.gz +0 -0
- package/web/chunk-c97th1x0.js +1 -0
- package/web/chunk-c97th1x0.js.br +0 -0
- package/web/chunk-c97th1x0.js.gz +0 -0
- package/web/chunk-cfkp7taw.js +1 -0
- package/web/chunk-cfkp7taw.js.br +0 -0
- package/web/chunk-cfkp7taw.js.gz +0 -0
- package/web/chunk-cvf9k1fy.js +140 -0
- package/web/chunk-cvf9k1fy.js.br +0 -0
- package/web/chunk-cvf9k1fy.js.gz +0 -0
- package/web/chunk-d33n9fsr.js +1 -0
- package/web/chunk-d33n9fsr.js.br +1 -0
- package/web/chunk-d33n9fsr.js.gz +0 -0
- package/web/chunk-e667nxc9.js +1 -0
- package/web/chunk-e667nxc9.js.br +0 -0
- package/web/chunk-e667nxc9.js.gz +0 -0
- package/web/chunk-eejjsqm1.js +303 -0
- package/web/chunk-eejjsqm1.js.br +0 -0
- package/web/chunk-eejjsqm1.js.gz +0 -0
- package/web/chunk-eg3qjy7a.js +2 -0
- package/web/chunk-eg3qjy7a.js.br +0 -0
- package/web/chunk-eg3qjy7a.js.gz +0 -0
- package/web/chunk-embvjvdj.js +12 -0
- package/web/chunk-embvjvdj.js.br +0 -0
- package/web/chunk-embvjvdj.js.gz +0 -0
- package/web/chunk-etjfr79m.js +2 -0
- package/web/chunk-etjfr79m.js.br +0 -0
- package/web/chunk-etjfr79m.js.gz +0 -0
- package/web/chunk-ez36gbz3.js +7 -0
- package/web/chunk-ez36gbz3.js.br +0 -0
- package/web/chunk-ez36gbz3.js.gz +0 -0
- package/web/chunk-f0vcm8mk.js +214 -0
- package/web/chunk-f0vcm8mk.js.br +0 -0
- package/web/chunk-f0vcm8mk.js.gz +0 -0
- package/web/chunk-f3t3ey83.js +1 -0
- package/web/chunk-f3t3ey83.js.br +0 -0
- package/web/chunk-f3t3ey83.js.gz +0 -0
- package/web/chunk-f84sngcq.js +2 -0
- package/web/chunk-f84sngcq.js.br +0 -0
- package/web/chunk-f84sngcq.js.gz +0 -0
- package/web/chunk-f97hz4v5.js +99 -0
- package/web/chunk-f97hz4v5.js.br +0 -0
- package/web/chunk-f97hz4v5.js.gz +0 -0
- package/web/chunk-fnkp6s0g.js +1 -0
- package/web/chunk-fnkp6s0g.js.br +0 -0
- package/web/chunk-fnkp6s0g.js.gz +0 -0
- package/web/chunk-fpdyzyn8.js +16 -0
- package/web/chunk-fpdyzyn8.js.br +0 -0
- package/web/chunk-fpdyzyn8.js.gz +0 -0
- package/web/chunk-g43z223a.js +2 -0
- package/web/chunk-g43z223a.js.br +0 -0
- package/web/chunk-g43z223a.js.gz +0 -0
- package/web/chunk-gcm82aj8.js +1 -0
- package/web/chunk-gcm82aj8.js.br +0 -0
- package/web/chunk-gcm82aj8.js.gz +0 -0
- package/web/chunk-gffb3p4z.js +2 -0
- package/web/chunk-gffb3p4z.js.br +0 -0
- package/web/chunk-gffb3p4z.js.gz +0 -0
- package/web/chunk-gnzg3krt.js +1 -0
- package/web/chunk-gnzg3krt.js.br +0 -0
- package/web/chunk-gnzg3krt.js.gz +0 -0
- package/web/chunk-grqtpfdp.js +2 -0
- package/web/chunk-grqtpfdp.js.br +0 -0
- package/web/chunk-grqtpfdp.js.gz +0 -0
- package/web/chunk-gsm8spf8.js +1 -0
- package/web/chunk-gsm8spf8.js.br +0 -0
- package/web/chunk-gsm8spf8.js.gz +0 -0
- package/web/chunk-h6ygrnd0.js +38 -0
- package/web/chunk-h6ygrnd0.js.br +0 -0
- package/web/chunk-h6ygrnd0.js.gz +0 -0
- package/web/chunk-h8n9w5th.js +169 -0
- package/web/chunk-h8n9w5th.js.br +0 -0
- package/web/chunk-h8n9w5th.js.gz +0 -0
- package/web/chunk-hmdvm5pp.js +2 -0
- package/web/chunk-hmdvm5pp.js.br +0 -0
- package/web/chunk-hmdvm5pp.js.gz +0 -0
- package/web/chunk-hrntwvx8.js +1 -0
- package/web/chunk-hrntwvx8.js.br +0 -0
- package/web/chunk-hrntwvx8.js.gz +0 -0
- package/web/chunk-hrys15jh.js +324 -0
- package/web/chunk-hrys15jh.js.br +0 -0
- package/web/chunk-hrys15jh.js.gz +0 -0
- package/web/chunk-j0ng7zdq.js +41 -0
- package/web/chunk-j0ng7zdq.js.br +0 -0
- package/web/chunk-j0ng7zdq.js.gz +0 -0
- package/web/chunk-j2t5ycte.js +78 -0
- package/web/chunk-j2t5ycte.js.br +0 -0
- package/web/chunk-j2t5ycte.js.gz +0 -0
- package/web/chunk-jkjd1y3p.js +3 -0
- package/web/chunk-jkjd1y3p.js.br +0 -0
- package/web/chunk-jkjd1y3p.js.gz +0 -0
- package/web/chunk-jweahmyy.js +1 -0
- package/web/chunk-jweahmyy.js.br +0 -0
- package/web/chunk-jweahmyy.js.gz +0 -0
- package/web/chunk-k56v8k7n.js +4 -0
- package/web/chunk-k56v8k7n.js.br +0 -0
- package/web/chunk-k56v8k7n.js.gz +0 -0
- package/web/chunk-k59sk88z.js +7 -0
- package/web/chunk-k59sk88z.js.br +0 -0
- package/web/chunk-k59sk88z.js.gz +0 -0
- package/web/chunk-k75a0fpt.js +62 -0
- package/web/chunk-k75a0fpt.js.br +0 -0
- package/web/chunk-k75a0fpt.js.gz +0 -0
- package/web/chunk-kfx9q7xv.js +2 -0
- package/web/chunk-kfx9q7xv.js.br +0 -0
- package/web/chunk-kfx9q7xv.js.gz +0 -0
- package/web/chunk-ksp1gg3v.js +1 -0
- package/web/chunk-ksp1gg3v.js.br +0 -0
- package/web/chunk-ksp1gg3v.js.gz +0 -0
- package/web/chunk-kxxp1mn4.js +2 -0
- package/web/chunk-kxxp1mn4.js.br +0 -0
- package/web/chunk-kxxp1mn4.js.gz +0 -0
- package/web/chunk-mapbxzsz.js +1 -0
- package/web/chunk-mapbxzsz.js.br +0 -0
- package/web/chunk-mapbxzsz.js.gz +0 -0
- package/web/chunk-msw43fnq.js +2 -0
- package/web/chunk-msw43fnq.js.br +0 -0
- package/web/chunk-msw43fnq.js.gz +0 -0
- package/web/chunk-mzzjg4sn.js +2 -0
- package/web/chunk-mzzjg4sn.js.br +0 -0
- package/web/chunk-mzzjg4sn.js.gz +0 -0
- package/web/chunk-n1bmcj13.js +2 -0
- package/web/chunk-n1bmcj13.js.br +0 -0
- package/web/chunk-n1bmcj13.js.gz +0 -0
- package/web/chunk-n5y4ar3e.js +1 -0
- package/web/chunk-n5y4ar3e.js.br +0 -0
- package/web/chunk-n5y4ar3e.js.gz +0 -0
- package/web/chunk-n9vszqw9.js +1 -0
- package/web/chunk-n9vszqw9.js.br +0 -0
- package/web/chunk-n9vszqw9.js.gz +0 -0
- package/web/chunk-nzzcmxq8.js +1 -0
- package/web/chunk-nzzcmxq8.js.br +0 -0
- package/web/chunk-nzzcmxq8.js.gz +0 -0
- package/web/chunk-p25eppk1.js +1 -0
- package/web/chunk-p25eppk1.js.br +0 -0
- package/web/chunk-p25eppk1.js.gz +0 -0
- package/web/chunk-p9352vpw.js +1 -0
- package/web/chunk-p9352vpw.js.br +0 -0
- package/web/chunk-p9352vpw.js.gz +0 -0
- package/web/chunk-pdvm4n6f.js +1 -0
- package/web/chunk-pdvm4n6f.js.br +2 -0
- package/web/chunk-pdvm4n6f.js.gz +0 -0
- package/web/chunk-pjm2t9da.js +1 -0
- package/web/chunk-pjm2t9da.js.br +0 -0
- package/web/chunk-pjm2t9da.js.gz +0 -0
- package/web/chunk-pka3qm06.js +98 -0
- package/web/chunk-pka3qm06.js.br +0 -0
- package/web/chunk-pka3qm06.js.gz +0 -0
- package/web/chunk-pkbcbta6.js +1 -0
- package/web/chunk-pkbcbta6.js.br +0 -0
- package/web/chunk-pkbcbta6.js.gz +0 -0
- package/web/chunk-pq4vn3zh.js +1 -0
- package/web/chunk-pq4vn3zh.js.br +0 -0
- package/web/chunk-pq4vn3zh.js.gz +0 -0
- package/web/chunk-prk9ks5j.js +1 -0
- package/web/chunk-prk9ks5j.js.br +0 -0
- package/web/chunk-prk9ks5j.js.gz +0 -0
- package/web/chunk-px68tdjm.js +1 -0
- package/web/chunk-px68tdjm.js.br +2 -0
- package/web/chunk-px68tdjm.js.gz +0 -0
- package/web/chunk-px8k5edz.js +24 -0
- package/web/chunk-px8k5edz.js.br +0 -0
- package/web/chunk-px8k5edz.js.gz +0 -0
- package/web/chunk-pz4g2bem.js +292 -0
- package/web/chunk-pz4g2bem.js.br +0 -0
- package/web/chunk-pz4g2bem.js.gz +0 -0
- package/web/chunk-q0gx75nf.js +55 -0
- package/web/chunk-q0gx75nf.js.br +0 -0
- package/web/chunk-q0gx75nf.js.gz +0 -0
- package/web/chunk-q9rpxfmm.js +1 -0
- package/web/chunk-q9rpxfmm.js.br +0 -0
- package/web/chunk-q9rpxfmm.js.gz +0 -0
- package/web/chunk-qpfhs1x0.js +1 -0
- package/web/chunk-qpfhs1x0.js.br +0 -0
- package/web/chunk-qpfhs1x0.js.gz +0 -0
- package/web/chunk-qredmg6m.js +1 -0
- package/web/chunk-qredmg6m.js.br +0 -0
- package/web/chunk-qredmg6m.js.gz +0 -0
- package/web/chunk-qtc9ar2m.js +2 -0
- package/web/chunk-qtc9ar2m.js.br +0 -0
- package/web/chunk-qtc9ar2m.js.gz +0 -0
- package/web/chunk-r5dsw56r.js +1 -0
- package/web/chunk-r5dsw56r.js.br +0 -0
- package/web/chunk-r5dsw56r.js.gz +0 -0
- package/web/chunk-rkaps675.js +1 -0
- package/web/chunk-rkaps675.js.br +0 -0
- package/web/chunk-rkaps675.js.gz +0 -0
- package/web/chunk-rp87pgcp.js +40 -0
- package/web/chunk-rp87pgcp.js.br +0 -0
- package/web/chunk-rp87pgcp.js.gz +0 -0
- package/web/chunk-rs1mtd35.js +2 -0
- package/web/chunk-rs1mtd35.js.br +0 -0
- package/web/chunk-rs1mtd35.js.gz +0 -0
- package/web/chunk-s31n33g5.js +2 -0
- package/web/chunk-s31n33g5.js.br +0 -0
- package/web/chunk-s31n33g5.js.gz +0 -0
- package/web/chunk-sbcyvn42.js +1 -0
- package/web/chunk-sbcyvn42.js.br +0 -0
- package/web/chunk-sbcyvn42.js.gz +0 -0
- package/web/chunk-sew9vfwy.js +1 -0
- package/web/chunk-sew9vfwy.js.br +0 -0
- package/web/chunk-sew9vfwy.js.gz +0 -0
- package/web/chunk-sgaw26nc.js +2 -0
- package/web/chunk-sgaw26nc.js.br +0 -0
- package/web/chunk-sgaw26nc.js.gz +0 -0
- package/web/chunk-t2ak4a9d.js +1 -0
- package/web/chunk-t2ak4a9d.js.br +0 -0
- package/web/chunk-t2ak4a9d.js.gz +0 -0
- package/web/chunk-ta0e3dk6.js +2 -0
- package/web/chunk-ta0e3dk6.js.br +0 -0
- package/web/chunk-ta0e3dk6.js.gz +0 -0
- package/web/chunk-tqax5mb6.js +217 -0
- package/web/chunk-tqax5mb6.js.br +0 -0
- package/web/chunk-tqax5mb6.js.gz +0 -0
- package/web/chunk-v1wxeq38.js +2 -0
- package/web/chunk-v1wxeq38.js.br +0 -0
- package/web/chunk-v1wxeq38.js.gz +0 -0
- package/web/chunk-v3kwg4zn.js +2 -0
- package/web/chunk-v3kwg4zn.js.br +0 -0
- package/web/chunk-v3kwg4zn.js.gz +0 -0
- package/web/chunk-vcpvhkxh.js +39 -0
- package/web/chunk-vcpvhkxh.js.br +0 -0
- package/web/chunk-vcpvhkxh.js.gz +0 -0
- package/web/chunk-vg9qv3aa.js +1 -0
- package/web/chunk-vg9qv3aa.js.br +0 -0
- package/web/chunk-vg9qv3aa.js.gz +0 -0
- package/web/chunk-vwxnt3nh.js +1 -0
- package/web/chunk-vwxnt3nh.js.br +0 -0
- package/web/chunk-vwxnt3nh.js.gz +0 -0
- package/web/chunk-w1xjqhwy.js +1 -0
- package/web/chunk-w1xjqhwy.js.br +2 -0
- package/web/chunk-w1xjqhwy.js.gz +0 -0
- package/web/chunk-w3nfxvzd.js +1 -0
- package/web/chunk-w3nfxvzd.js.br +0 -0
- package/web/chunk-w3nfxvzd.js.gz +0 -0
- package/web/chunk-w7h3x3ys.js +1 -0
- package/web/chunk-w7h3x3ys.js.br +0 -0
- package/web/chunk-w7h3x3ys.js.gz +0 -0
- package/web/chunk-wb0yn3r4.js +8 -0
- package/web/chunk-wb0yn3r4.js.br +0 -0
- package/web/chunk-wb0yn3r4.js.gz +0 -0
- package/web/chunk-wff6hqjf.js +1 -0
- package/web/chunk-wff6hqjf.js.br +0 -0
- package/web/chunk-wff6hqjf.js.gz +0 -0
- package/web/chunk-whj4e4sb.js +89 -0
- package/web/chunk-whj4e4sb.js.br +0 -0
- package/web/chunk-whj4e4sb.js.gz +0 -0
- package/web/chunk-wn3kdpj0.js +1 -0
- package/web/chunk-wn3kdpj0.js.br +0 -0
- package/web/chunk-wn3kdpj0.js.gz +0 -0
- package/web/chunk-wzq3qxpb.js +1 -0
- package/web/chunk-wzq3qxpb.js.br +0 -0
- package/web/chunk-wzq3qxpb.js.gz +0 -0
- package/web/chunk-x2tezwv1.js +4 -0
- package/web/chunk-x2tezwv1.js.br +0 -0
- package/web/chunk-x2tezwv1.js.gz +0 -0
- package/web/chunk-xmajh4qe.js +2 -0
- package/web/chunk-xmajh4qe.js.br +0 -0
- package/web/chunk-xmajh4qe.js.gz +0 -0
- package/web/chunk-xz7py7yx.js +1 -0
- package/web/chunk-xz7py7yx.js.br +0 -0
- package/web/chunk-xz7py7yx.js.gz +0 -0
- package/web/chunk-y4af9gsm.js +291 -0
- package/web/chunk-y4af9gsm.js.br +0 -0
- package/web/chunk-y4af9gsm.js.gz +0 -0
- package/web/chunk-y512gr5a.js +332 -0
- package/web/chunk-y512gr5a.js.br +0 -0
- package/web/chunk-y512gr5a.js.gz +0 -0
- package/web/chunk-ywg44m2b.js +2 -0
- package/web/chunk-ywg44m2b.js.br +0 -0
- package/web/chunk-ywg44m2b.js.gz +0 -0
- package/web/chunk-zhzp4fm1.js +2 -0
- package/web/chunk-zhzp4fm1.js.br +0 -0
- package/web/chunk-zhzp4fm1.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-04326385.js +0 -39
- package/chunk-11zc1b2w.js +0 -3
- package/chunk-12203fgm.js +0 -2
- package/chunk-194d4z7x.js +0 -7
- package/chunk-1apm7p2e.js +0 -2
- package/chunk-2csz31nh.js +0 -2
- package/chunk-2rqpfv4h.js +0 -3
- package/chunk-39cfcar4.js +0 -3
- package/chunk-3j26jsy0.js +0 -51
- package/chunk-4a5xttdp.js +0 -3
- package/chunk-4st5xeee.js +0 -2
- package/chunk-54zpktrq.js +0 -3
- package/chunk-5ggyf53b.js +0 -50
- package/chunk-5h17n6g1.js +0 -3
- package/chunk-5rn18vrq.js +0 -5
- package/chunk-5tdnvdmz.js +0 -2
- package/chunk-6qavr39k.js +0 -2
- package/chunk-6xn0r0dd.js +0 -3
- package/chunk-7h76jrss.js +0 -7
- package/chunk-7hss4hs3.js +0 -7
- package/chunk-7vdq0wye.js +0 -2
- package/chunk-7w187ycz.js +0 -10
- package/chunk-81s7mvf2.js +0 -16
- package/chunk-8j8acxde.js +0 -2
- package/chunk-9nfz04yr.js +0 -2
- package/chunk-9vth0w8q.js +0 -2
- package/chunk-9zcfam20.js +0 -2
- package/chunk-a6zvmsbh.js +0 -12
- package/chunk-anr8aghq.js +0 -59
- package/chunk-av8zh9yp.js +0 -2
- package/chunk-bwv97dtf.js +0 -2
- package/chunk-cjy4rssa.js +0 -10
- package/chunk-dmdyqq1k.js +0 -2
- package/chunk-dzvq7vt6.js +0 -2
- package/chunk-ejrksf6g.js +0 -3
- package/chunk-erxka5vh.js +0 -18
- package/chunk-fb2ydc2s.js +0 -8
- package/chunk-fc41dvhp.js +0 -12
- package/chunk-fdgrayj5.js +0 -3
- package/chunk-fgpzy3fe.js +0 -3
- package/chunk-fwcqcecb.js +0 -8
- package/chunk-hhwnmhbb.js +0 -2
- package/chunk-hvxc1wyv.js +0 -3
- package/chunk-jm2bn5mq.js +0 -3
- package/chunk-jm5j5jfy.js +0 -3
- package/chunk-jqtdf0ym.js +0 -63
- package/chunk-jsvr3s4q.js +0 -5
- package/chunk-jwk5a5tk.js +0 -25
- package/chunk-mwc59w50.js +0 -31
- package/chunk-mypbpphn.js +0 -3
- package/chunk-n3hfhbe4.js +0 -498
- package/chunk-ng5ncy65.js +0 -2
- package/chunk-nkmvqcge.js +0 -4073
- package/chunk-nmvayfq3.js +0 -3
- package/chunk-nw4h0wm9.js +0 -2
- package/chunk-p23eqet9.js +0 -2
- package/chunk-pxsgm6ff.js +0 -2
- package/chunk-qqs9fqsy.js +0 -4
- package/chunk-r0gsb1qs.js +0 -3
- package/chunk-r49sxmnc.js +0 -3
- package/chunk-rbfpa63e.js +0 -3
- package/chunk-rsrh5dgx.js +0 -2
- package/chunk-s2pm97nk.js +0 -286
- package/chunk-s6tnmg6x.js +0 -3
- package/chunk-se548edt.js +0 -20
- package/chunk-tsdeeqb8.js +0 -3
- package/chunk-vnv3a6t2.js +0 -3
- package/chunk-vrsh8cx1.js +0 -3
- package/chunk-w3v8zahw.js +0 -2
- package/chunk-w6m8c4vf.js +0 -11
- package/chunk-wd7sj5cv.js +0 -2
- package/chunk-we8v9wkw.js +0 -9
- package/chunk-x055cas0.js +0 -5
- package/chunk-x5vrtxkj.js +0 -3
- package/chunk-x83syrhw.js +0 -44
- package/chunk-xedzsj31.js +0 -5
- package/chunk-xp83v3zm.js +0 -2
- package/chunk-ykzm5g1b.js +0 -25
- package/chunk-yq2bwebb.js +0 -3
- package/chunk-yygcpnwc.js +0 -3
- package/chunk-zjf34acb.js +0 -2
- package/web/chunk-07kt1zpn.js +0 -1
- package/web/chunk-07kt1zpn.js.br +0 -0
- package/web/chunk-07kt1zpn.js.gz +0 -0
- package/web/chunk-0d068bmj.js +0 -1
- package/web/chunk-0d068bmj.js.br +0 -0
- package/web/chunk-0d068bmj.js.gz +0 -0
- package/web/chunk-0m15ghn0.js +0 -2
- package/web/chunk-0m15ghn0.js.br +0 -0
- package/web/chunk-0m15ghn0.js.gz +0 -0
- package/web/chunk-0swykhgr.js +0 -2
- package/web/chunk-0swykhgr.js.br +0 -0
- package/web/chunk-0swykhgr.js.gz +0 -0
- package/web/chunk-100a4th6.js +0 -4
- package/web/chunk-100a4th6.js.br +0 -0
- package/web/chunk-100a4th6.js.gz +0 -0
- package/web/chunk-1mdvm20t.js +0 -140
- package/web/chunk-1mdvm20t.js.br +0 -0
- package/web/chunk-1mdvm20t.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +0 -2
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1p7wa1rq.js +0 -1
- package/web/chunk-1p7wa1rq.js.br +0 -0
- package/web/chunk-1p7wa1rq.js.gz +0 -0
- package/web/chunk-20gcnbgn.js +0 -2
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.js.gz +0 -0
- package/web/chunk-2grspw9t.js +0 -1
- package/web/chunk-2grspw9t.js.br +0 -0
- package/web/chunk-2grspw9t.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +0 -1
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-2zz8t49r.js +0 -1
- package/web/chunk-2zz8t49r.js.br +0 -0
- package/web/chunk-2zz8t49r.js.gz +0 -0
- package/web/chunk-34g2xrgq.js +0 -120
- package/web/chunk-34g2xrgq.js.br +0 -0
- package/web/chunk-34g2xrgq.js.gz +0 -0
- package/web/chunk-34q3az4b.js +0 -1
- package/web/chunk-34q3az4b.js.br +0 -0
- package/web/chunk-34q3az4b.js.gz +0 -0
- package/web/chunk-39jqdq4r.js +0 -1
- package/web/chunk-39jqdq4r.js.br +0 -0
- package/web/chunk-39jqdq4r.js.gz +0 -0
- package/web/chunk-3d2fm4qc.js +0 -1
- package/web/chunk-3d2fm4qc.js.br +0 -0
- package/web/chunk-3d2fm4qc.js.gz +0 -0
- package/web/chunk-3s16fbrf.js +0 -40
- package/web/chunk-3s16fbrf.js.br +0 -0
- package/web/chunk-3s16fbrf.js.gz +0 -0
- package/web/chunk-3vsey6mw.js +0 -1
- package/web/chunk-3vsey6mw.js.br +0 -0
- package/web/chunk-3vsey6mw.js.gz +0 -0
- package/web/chunk-3y29sc9c.js +0 -7
- package/web/chunk-3y29sc9c.js.br +0 -0
- package/web/chunk-3y29sc9c.js.gz +0 -0
- package/web/chunk-40f59ze9.js +0 -39
- package/web/chunk-40f59ze9.js.br +0 -0
- package/web/chunk-40f59ze9.js.gz +0 -0
- package/web/chunk-414npx47.js +0 -1
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.js.gz +0 -0
- package/web/chunk-495sjpc6.js +0 -2
- package/web/chunk-495sjpc6.js.br +0 -0
- package/web/chunk-495sjpc6.js.gz +0 -0
- package/web/chunk-4ab1dv3g.js +0 -142
- package/web/chunk-4ab1dv3g.js.br +0 -0
- package/web/chunk-4ab1dv3g.js.gz +0 -0
- package/web/chunk-545zx869.js +0 -2
- package/web/chunk-545zx869.js.br +0 -0
- package/web/chunk-545zx869.js.gz +0 -0
- package/web/chunk-55mx05jg.js +0 -2
- package/web/chunk-55mx05jg.js.br +0 -0
- package/web/chunk-55mx05jg.js.gz +0 -0
- package/web/chunk-58xhn7ry.js +0 -2
- package/web/chunk-58xhn7ry.js.br +0 -0
- package/web/chunk-58xhn7ry.js.gz +0 -0
- package/web/chunk-67pa4950.js +0 -1
- package/web/chunk-67pa4950.js.br +0 -0
- package/web/chunk-67pa4950.js.gz +0 -0
- package/web/chunk-690qxds4.js +0 -1
- package/web/chunk-690qxds4.js.br +0 -0
- package/web/chunk-690qxds4.js.gz +0 -0
- package/web/chunk-6ana63fs.js +0 -21
- package/web/chunk-6ana63fs.js.br +0 -0
- package/web/chunk-6ana63fs.js.gz +0 -0
- package/web/chunk-6ew54553.js +0 -2
- package/web/chunk-6ew54553.js.br +0 -0
- package/web/chunk-6ew54553.js.gz +0 -0
- package/web/chunk-6f1q0tjv.js +0 -1142
- package/web/chunk-6f1q0tjv.js.br +0 -0
- package/web/chunk-6f1q0tjv.js.gz +0 -0
- package/web/chunk-6gpzz5wm.js +0 -1
- package/web/chunk-6gpzz5wm.js.br +0 -0
- package/web/chunk-6gpzz5wm.js.gz +0 -0
- package/web/chunk-71g6vrx9.js +0 -62
- package/web/chunk-71g6vrx9.js.br +0 -0
- package/web/chunk-71g6vrx9.js.gz +0 -0
- package/web/chunk-77dnqrb6.js +0 -2
- package/web/chunk-77dnqrb6.js.br +0 -0
- package/web/chunk-77dnqrb6.js.gz +0 -0
- package/web/chunk-7fdrwy21.js +0 -1
- package/web/chunk-7fdrwy21.js.br +0 -0
- package/web/chunk-7fdrwy21.js.gz +0 -0
- package/web/chunk-84s7821x.js +0 -2
- package/web/chunk-84s7821x.js.br +0 -0
- package/web/chunk-84s7821x.js.gz +0 -0
- package/web/chunk-8e5qd73v.js +0 -7
- package/web/chunk-8e5qd73v.js.br +0 -0
- package/web/chunk-8e5qd73v.js.gz +0 -0
- package/web/chunk-8kyj945c.js +0 -2
- package/web/chunk-8kyj945c.js.br +0 -0
- package/web/chunk-8kyj945c.js.gz +0 -0
- package/web/chunk-9b0evht1.js +0 -292
- package/web/chunk-9b0evht1.js.br +0 -0
- package/web/chunk-9b0evht1.js.gz +0 -0
- package/web/chunk-9j7v0e4v.js +0 -2
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9jb5xwya.js +0 -36
- package/web/chunk-9jb5xwya.js.br +0 -0
- package/web/chunk-9jb5xwya.js.gz +0 -0
- package/web/chunk-9kf8arqg.js +0 -1
- package/web/chunk-9kf8arqg.js.br +0 -0
- package/web/chunk-9kf8arqg.js.gz +0 -0
- package/web/chunk-9msmea44.js +0 -70
- package/web/chunk-9msmea44.js.br +0 -0
- package/web/chunk-9msmea44.js.gz +0 -0
- package/web/chunk-a7q85665.js +0 -3
- package/web/chunk-a7q85665.js.br +0 -0
- package/web/chunk-a7q85665.js.gz +0 -0
- package/web/chunk-aan5qk6x.js +0 -1
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.js.gz +0 -0
- package/web/chunk-b9cjgxr1.js +0 -98
- package/web/chunk-b9cjgxr1.js.br +0 -0
- package/web/chunk-b9cjgxr1.js.gz +0 -0
- package/web/chunk-baaattjv.js +0 -2
- package/web/chunk-baaattjv.js.br +0 -0
- package/web/chunk-baaattjv.js.gz +0 -0
- package/web/chunk-bj9m08f9.js +0 -1
- package/web/chunk-bj9m08f9.js.br +0 -0
- package/web/chunk-bj9m08f9.js.gz +0 -0
- package/web/chunk-bm4fvq6q.js +0 -89
- package/web/chunk-bm4fvq6q.js.br +0 -0
- package/web/chunk-bm4fvq6q.js.gz +0 -0
- package/web/chunk-c4g2k9wp.js +0 -1
- package/web/chunk-c4g2k9wp.js.br +0 -0
- package/web/chunk-c4g2k9wp.js.gz +0 -0
- package/web/chunk-cnptxet3.js +0 -2
- package/web/chunk-cnptxet3.js.br +0 -0
- package/web/chunk-cnptxet3.js.gz +0 -0
- package/web/chunk-d5n2yz4e.js +0 -2
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.js.gz +0 -0
- package/web/chunk-db2jge7w.js +0 -291
- package/web/chunk-db2jge7w.js.br +0 -0
- package/web/chunk-db2jge7w.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +0 -1
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-dsxjv5an.js +0 -1
- package/web/chunk-dsxjv5an.js.br +0 -0
- package/web/chunk-dsxjv5an.js.gz +0 -0
- package/web/chunk-e362x35y.js +0 -1
- package/web/chunk-e362x35y.js.br +0 -0
- package/web/chunk-e362x35y.js.gz +0 -0
- package/web/chunk-e6jfnajp.js +0 -55
- package/web/chunk-e6jfnajp.js.br +0 -0
- package/web/chunk-e6jfnajp.js.gz +0 -0
- package/web/chunk-en5n60qw.js +0 -2
- package/web/chunk-en5n60qw.js.br +0 -0
- package/web/chunk-en5n60qw.js.gz +0 -0
- package/web/chunk-ex34kdxk.js +0 -217
- package/web/chunk-ex34kdxk.js.br +0 -0
- package/web/chunk-ex34kdxk.js.gz +0 -0
- package/web/chunk-exa2z1b4.js +0 -1
- package/web/chunk-exa2z1b4.js.br +0 -0
- package/web/chunk-exa2z1b4.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +0 -2
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-fjvd2dx2.js +0 -2
- package/web/chunk-fjvd2dx2.js.br +0 -0
- package/web/chunk-fjvd2dx2.js.gz +0 -0
- package/web/chunk-fs39pqet.js +0 -2
- package/web/chunk-fs39pqet.js.br +0 -0
- package/web/chunk-fs39pqet.js.gz +0 -0
- package/web/chunk-gvndjaan.js +0 -2
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/chunk-gvndjaan.js.gz +0 -0
- package/web/chunk-h3618s7t.js +0 -4
- package/web/chunk-h3618s7t.js.br +0 -0
- package/web/chunk-h3618s7t.js.gz +0 -0
- package/web/chunk-hks91ztk.js +0 -8
- package/web/chunk-hks91ztk.js.br +0 -0
- package/web/chunk-hks91ztk.js.gz +0 -0
- package/web/chunk-hqd97ez8.js +0 -200
- package/web/chunk-hqd97ez8.js.br +0 -0
- package/web/chunk-hqd97ez8.js.gz +0 -0
- package/web/chunk-hta68vm8.js +0 -2
- package/web/chunk-hta68vm8.js.br +0 -0
- package/web/chunk-hta68vm8.js.gz +0 -0
- package/web/chunk-jcbvhp3h.js +0 -1
- package/web/chunk-jcbvhp3h.js.br +0 -0
- package/web/chunk-jcbvhp3h.js.gz +0 -0
- package/web/chunk-jw6e38cy.js +0 -1
- package/web/chunk-jw6e38cy.js.br +0 -0
- package/web/chunk-jw6e38cy.js.gz +0 -0
- package/web/chunk-jzp1qd92.js +0 -1
- package/web/chunk-jzp1qd92.js.br +0 -0
- package/web/chunk-jzp1qd92.js.gz +0 -0
- package/web/chunk-kg39a24q.js +0 -16
- package/web/chunk-kg39a24q.js.br +0 -0
- package/web/chunk-kg39a24q.js.gz +0 -0
- package/web/chunk-kj75rme3.js +0 -1
- package/web/chunk-kj75rme3.js.br +0 -0
- package/web/chunk-kj75rme3.js.gz +0 -0
- package/web/chunk-kvxmwmen.js +0 -1
- package/web/chunk-kvxmwmen.js.br +0 -0
- package/web/chunk-kvxmwmen.js.gz +0 -0
- package/web/chunk-kzdmsaet.js +0 -1
- package/web/chunk-kzdmsaet.js.br +0 -0
- package/web/chunk-kzdmsaet.js.gz +0 -0
- package/web/chunk-m203pzza.js +0 -89
- package/web/chunk-m203pzza.js.br +0 -0
- package/web/chunk-m203pzza.js.gz +0 -0
- package/web/chunk-m3xw41vq.js +0 -1
- package/web/chunk-m3xw41vq.js.br +0 -0
- package/web/chunk-m3xw41vq.js.gz +0 -0
- package/web/chunk-m8jcx13t.js +0 -30
- package/web/chunk-m8jcx13t.js.br +0 -0
- package/web/chunk-m8jcx13t.js.gz +0 -0
- package/web/chunk-mpgz1bj6.js +0 -1
- package/web/chunk-mpgz1bj6.js.br +0 -0
- package/web/chunk-mpgz1bj6.js.gz +0 -0
- package/web/chunk-mzagmpq5.js +0 -1
- package/web/chunk-mzagmpq5.js.br +0 -0
- package/web/chunk-mzagmpq5.js.gz +0 -0
- package/web/chunk-n51q6d6e.js +0 -1
- package/web/chunk-n51q6d6e.js.br +0 -0
- package/web/chunk-n51q6d6e.js.gz +0 -0
- package/web/chunk-nbf2zaaj.js +0 -1
- package/web/chunk-nbf2zaaj.js.br +0 -0
- package/web/chunk-nbf2zaaj.js.gz +0 -0
- package/web/chunk-ngsv0xfb.js +0 -1
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.js.gz +0 -0
- package/web/chunk-nxd7dn08.js +0 -1
- package/web/chunk-nxd7dn08.js.br +0 -0
- package/web/chunk-nxd7dn08.js.gz +0 -0
- package/web/chunk-p44ezwgh.js +0 -1
- package/web/chunk-p44ezwgh.js.br +0 -0
- package/web/chunk-p44ezwgh.js.gz +0 -0
- package/web/chunk-pdg3bxc0.js +0 -2
- package/web/chunk-pdg3bxc0.js.br +0 -0
- package/web/chunk-pdg3bxc0.js.gz +0 -0
- package/web/chunk-pjbp0xwn.css +0 -1
- package/web/chunk-pjbp0xwn.css.br +0 -0
- package/web/chunk-pjbp0xwn.css.gz +0 -0
- package/web/chunk-pkbyh261.js +0 -1
- package/web/chunk-pkbyh261.js.br +0 -0
- package/web/chunk-pkbyh261.js.gz +0 -0
- package/web/chunk-q3q25jr9.js +0 -324
- package/web/chunk-q3q25jr9.js.br +0 -0
- package/web/chunk-q3q25jr9.js.gz +0 -0
- package/web/chunk-q5nr5wjn.js +0 -169
- package/web/chunk-q5nr5wjn.js.br +0 -0
- package/web/chunk-q5nr5wjn.js.gz +0 -0
- package/web/chunk-qd9y8r3g.js +0 -84
- package/web/chunk-qd9y8r3g.js.br +0 -0
- package/web/chunk-qd9y8r3g.js.gz +0 -0
- package/web/chunk-qm039dan.js +0 -24
- package/web/chunk-qm039dan.js.br +0 -0
- package/web/chunk-qm039dan.js.gz +0 -0
- package/web/chunk-qqp31fyy.js +0 -1
- package/web/chunk-qqp31fyy.js.br +0 -0
- package/web/chunk-qqp31fyy.js.gz +0 -0
- package/web/chunk-r76we294.js +0 -1
- package/web/chunk-r76we294.js.br +0 -0
- package/web/chunk-r76we294.js.gz +0 -0
- package/web/chunk-r7st369j.js +0 -1
- package/web/chunk-r7st369j.js.br +0 -0
- package/web/chunk-r7st369j.js.gz +0 -0
- package/web/chunk-rc3sv7v4.js +0 -1
- package/web/chunk-rc3sv7v4.js.br +0 -0
- package/web/chunk-rc3sv7v4.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +0 -1
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.js.gz +0 -0
- package/web/chunk-rtk95qme.js +0 -1
- package/web/chunk-rtk95qme.js.br +0 -0
- package/web/chunk-rtk95qme.js.gz +0 -0
- package/web/chunk-s4rfkyqn.js +0 -12
- package/web/chunk-s4rfkyqn.js.br +0 -0
- package/web/chunk-s4rfkyqn.js.gz +0 -0
- package/web/chunk-s6a0gfv3.js +0 -34
- package/web/chunk-s6a0gfv3.js.br +0 -0
- package/web/chunk-s6a0gfv3.js.gz +0 -0
- package/web/chunk-s7rwbxr5.js +0 -2
- package/web/chunk-s7rwbxr5.js.br +0 -0
- package/web/chunk-s7rwbxr5.js.gz +0 -0
- package/web/chunk-s8f6v2nn.js +0 -1
- package/web/chunk-s8f6v2nn.js.br +0 -0
- package/web/chunk-s8f6v2nn.js.gz +0 -0
- package/web/chunk-sawc81kc.js +0 -303
- package/web/chunk-sawc81kc.js.br +0 -0
- package/web/chunk-sawc81kc.js.gz +0 -0
- package/web/chunk-sex2gevj.js +0 -2
- package/web/chunk-sex2gevj.js.br +0 -0
- package/web/chunk-sex2gevj.js.gz +0 -0
- package/web/chunk-smmdqmcy.js +0 -1
- package/web/chunk-smmdqmcy.js.br +0 -0
- package/web/chunk-smmdqmcy.js.gz +0 -0
- package/web/chunk-tn39vbcz.js +0 -2
- package/web/chunk-tn39vbcz.js.br +0 -0
- package/web/chunk-tn39vbcz.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +0 -2
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tpzyyc2z.js +0 -2
- package/web/chunk-tpzyyc2z.js.br +0 -0
- package/web/chunk-tpzyyc2z.js.gz +0 -0
- package/web/chunk-txhvq81f.js +0 -106
- package/web/chunk-txhvq81f.js.br +0 -0
- package/web/chunk-txhvq81f.js.gz +0 -0
- package/web/chunk-txtm71rz.js +0 -41
- package/web/chunk-txtm71rz.js.br +0 -0
- package/web/chunk-txtm71rz.js.gz +0 -0
- package/web/chunk-tykcqm6v.js +0 -2
- package/web/chunk-tykcqm6v.js.br +0 -0
- package/web/chunk-tykcqm6v.js.gz +0 -0
- package/web/chunk-tyrmd7j6.js +0 -1
- package/web/chunk-tyrmd7j6.js.br +0 -0
- package/web/chunk-tyrmd7j6.js.gz +0 -0
- package/web/chunk-v6ebn3sf.js +0 -38
- package/web/chunk-v6ebn3sf.js.br +0 -0
- package/web/chunk-v6ebn3sf.js.gz +0 -0
- package/web/chunk-vbx7t0h5.js +0 -214
- package/web/chunk-vbx7t0h5.js.br +0 -0
- package/web/chunk-vbx7t0h5.js.gz +0 -0
- package/web/chunk-vj3wz0a2.js +0 -1
- package/web/chunk-vj3wz0a2.js.br +0 -0
- package/web/chunk-vj3wz0a2.js.gz +0 -0
- package/web/chunk-vndrjeyr.js +0 -2
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.js.gz +0 -0
- package/web/chunk-vqgkd7q8.js +0 -1
- package/web/chunk-vqgkd7q8.js.br +0 -0
- package/web/chunk-vqgkd7q8.js.gz +0 -0
- package/web/chunk-vvsfwjrg.js +0 -1
- package/web/chunk-vvsfwjrg.js.br +0 -0
- package/web/chunk-vvsfwjrg.js.gz +0 -0
- package/web/chunk-w0k63gap.js +0 -2
- package/web/chunk-w0k63gap.js.br +0 -0
- package/web/chunk-w0k63gap.js.gz +0 -0
- package/web/chunk-wafwgky9.js +0 -1
- package/web/chunk-wafwgky9.js.br +0 -0
- package/web/chunk-wafwgky9.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +0 -1
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-wk89vrvf.js +0 -78
- package/web/chunk-wk89vrvf.js.br +0 -0
- package/web/chunk-wk89vrvf.js.gz +0 -0
- package/web/chunk-wqjn3yz1.js +0 -370
- package/web/chunk-wqjn3yz1.js.br +0 -0
- package/web/chunk-wqjn3yz1.js.gz +0 -0
- package/web/chunk-wrej9qt0.js +0 -2
- package/web/chunk-wrej9qt0.js.br +0 -0
- package/web/chunk-wrej9qt0.js.gz +0 -0
- package/web/chunk-xbjv549c.js +0 -2
- package/web/chunk-xbjv549c.js.br +0 -0
- package/web/chunk-xbjv549c.js.gz +0 -0
- package/web/chunk-xmp1ag6z.js +0 -2
- package/web/chunk-xmp1ag6z.js.br +0 -0
- package/web/chunk-xmp1ag6z.js.gz +0 -0
- package/web/chunk-xsqd38a2.js +0 -332
- package/web/chunk-xsqd38a2.js.br +0 -0
- package/web/chunk-xsqd38a2.js.gz +0 -0
- package/web/chunk-y2fbz356.js +0 -1
- package/web/chunk-y2fbz356.js.br +0 -0
- package/web/chunk-y2fbz356.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +0 -1
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-yebmbyrj.js +0 -1
- package/web/chunk-yebmbyrj.js.br +0 -2
- package/web/chunk-yebmbyrj.js.gz +0 -0
- package/web/chunk-ypytxmn6.js +0 -24
- package/web/chunk-ypytxmn6.js.br +0 -0
- package/web/chunk-ypytxmn6.js.gz +0 -0
- package/web/chunk-z6jy8edk.js +0 -99
- package/web/chunk-z6jy8edk.js.br +0 -0
- package/web/chunk-z6jy8edk.js.gz +0 -0
- package/web/chunk-zg5n1hx4.js +0 -1
- package/web/chunk-zg5n1hx4.js.br +0 -0
- package/web/chunk-zg5n1hx4.js.gz +0 -0
- package/web/chunk-zmrd0bnc.js +0 -139
- package/web/chunk-zmrd0bnc.js.br +0 -0
- package/web/chunk-zmrd0bnc.js.gz +0 -0
- package/web/chunk-zqm6n89p.js +0 -7
- package/web/chunk-zqm6n89p.js.br +0 -0
- package/web/chunk-zqm6n89p.js.gz +0 -0
- package/web/chunk-zvat895r.js +0 -1
- package/web/chunk-zvat895r.js.br +0 -0
- package/web/chunk-zvat895r.js.gz +0 -0
- package/web/chunk-zxt17pcp.js +0 -1
- package/web/chunk-zxt17pcp.js.br +0 -0
- package/web/chunk-zxt17pcp.js.gz +0 -0
package/web/chunk-9jb5xwya.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{ie}from"./chunk-tykcqm6v.js";import{t,i,F,A,q,mn,N,M,P,R,I,O,D,d,g,J,ec,Wr,Zt,Z,St,lt}from"./chunk-sawc81kc.js";import{fe}from"./chunk-4ab1dv3g.js";import{gn,ci}from"./chunk-xsqd38a2.js";import{et,tt}from"./chunk-6f1q0tjv.js";var ct=tt(function(Qe,nt){(function(n,s){if(typeof Qe==="object"&&typeof nt==="object")nt.exports=s(ci());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof Qe==="object")Qe.cytoscapeFcose=s(ci());else n.cytoscapeFcose=s(n.coseBase)})(Qe,function(e){return(()=>{var n={658:(T)=>{T.exports=Object.assign!=null?Object.assign.bind(Object):function(G){for(var p=arguments.length,x=Array(p>1?p-1:0),l=1;l<p;l++)x[l-1]=arguments[l];return x.forEach(function(y){Object.keys(y).forEach(function(c){return G[c]=y[c]})}),G}},548:(T,G,p)=>{var x=function(){function c(f,u){var h=[],r=!0,z=!1,b=void 0;try{for(var o=f[Symbol.iterator](),v;!(r=(v=o.next()).done);r=!0)if(h.push(v.value),u&&h.length===u)break}catch(L){z=!0,b=L}finally{try{if(!r&&o.return)o.return()}finally{if(z)throw b}}return h}return function(f,u){if(Array.isArray(f))return f;else if(Symbol.iterator in Object(f))return c(f,u);else throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=p(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(c){var f={};for(var u=0;u<c.length;u++)f[c[u].id()]=!0;var h=c.filter(function(r,z){if(typeof r==="number")r=z;var b=r.parent()[0];while(b!=null){if(f[b.id()])return!1;b=b.parent()[0]}return!0});return h},y.connectComponents=function(c,f,u,h){var r=new l,z=new Set,b=[],o=void 0,v=void 0,L=void 0,a=!1,S=1,Y=[],C=[],U=function(){var w=c.collection();C.push(w);var _=u[0],X=c.collection();X.merge(_).merge(_.descendants().intersection(f)),b.push(_),X.forEach(function(ee){r.push(ee),z.add(ee),w.merge(ee)});var j=function(){_=r.shift();var ue=c.collection();_.neighborhood().nodes().forEach(function(H){if(f.intersection(_.edgesWith(H)).length>0)ue.merge(H)});for(var Ae=0;Ae<ue.length;Ae++){var Re=ue[Ae];if(o=u.intersection(Re.union(Re.ancestors())),o!=null&&!z.has(o[0])){var ce=o.union(o.descendants());ce.forEach(function(H){if(r.push(H),z.add(H),w.merge(H),u.has(H))b.push(H)})}}};while(r.length!=0)j();if(w.forEach(function(ee){f.intersection(ee.connectedEdges()).forEach(function(ue){if(w.has(ue.source())&&w.has(ue.target()))w.merge(ue)})}),b.length==u.length)a=!0;if(!a||a&&S>1){v=b[0],L=v.connectedEdges().length,b.forEach(function(ee){if(ee.connectedEdges().length<L)L=ee.connectedEdges().length,v=ee}),Y.push(v.id());var oe=c.collection();oe.merge(b[0]),b.forEach(function(ee){oe.merge(ee)}),b=[],u=u.difference(oe),S++}};do U();while(!a);if(h){if(Y.length>0)h.set("dummy"+(h.size+1),Y)}return C},y.relocateComponent=function(c,f,u){if(!u.fixedNodeConstraint){var{POSITIVE_INFINITY:h,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:z,NEGATIVE_INFINITY:b}=Number;if(u.quality=="draft"){var o=!0,v=!1,L=void 0;try{for(var a=f.nodeIndexes[Symbol.iterator](),S;!(o=(S=a.next()).done);o=!0){var Y=S.value,C=x(Y,2),U=C[0],B=C[1],w=u.cy.getElementById(U);if(w){var _=w.boundingBox(),X=f.xCoords[B]-_.w/2,j=f.xCoords[B]+_.w/2,oe=f.yCoords[B]-_.h/2,ee=f.yCoords[B]+_.h/2;if(X<h)h=X;if(j>r)r=j;if(oe<z)z=oe;if(ee>b)b=ee}}}catch(H){v=!0,L=H}finally{try{if(!o&&a.return)a.return()}finally{if(v)throw L}}var ue=c.x-(r+h)/2,Ae=c.y-(b+z)/2;f.xCoords=f.xCoords.map(function(H){return H+ue}),f.yCoords=f.yCoords.map(function(H){return H+Ae})}else{Object.keys(f).forEach(function(H){var ae=f[H],Ie=ae.getRect().x,be=ae.getRect().x+ae.getRect().width,Ne=ae.getRect().y,xe=ae.getRect().y+ae.getRect().height;if(Ie<h)h=Ie;if(be>r)r=be;if(Ne<z)z=Ne;if(xe>b)b=xe});var Re=c.x-(r+h)/2,ce=c.y-(b+z)/2;Object.keys(f).forEach(function(H){var ae=f[H];ae.setCenter(ae.getCenterX()+Re,ae.getCenterY()+ce)})}}},y.calcBoundingBox=function(c,f,u,h){var{MAX_SAFE_INTEGER:r,MIN_SAFE_INTEGER:z,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:o}=Number,v=void 0,L=void 0,a=void 0,S=void 0,Y=c.descendants().not(":parent"),C=Y.length;for(var U=0;U<C;U++){var B=Y[U];if(v=f[h.get(B.id())]-B.width()/2,L=f[h.get(B.id())]+B.width()/2,a=u[h.get(B.id())]-B.height()/2,S=u[h.get(B.id())]+B.height()/2,r>v)r=v;if(z<L)z=L;if(b>a)b=a;if(o<S)o=S}var w={};return w.topLeftX=r,w.topLeftY=b,w.width=z-r,w.height=o-b,w},y.calcParentsWithoutChildren=function(c,f){var u=c.collection();return f.nodes(":parent").forEach(function(h){var r=!1;if(h.children().forEach(function(z){if(z.css("display")!="none")r=!0}),!r)u.merge(h)}),u},T.exports=y},816:(T,G,p)=>{var x=p(548),l=p(140).CoSELayout,y=p(140).CoSENode,c=p(140).layoutBase.PointD,f=p(140).layoutBase.DimensionD,u=p(140).layoutBase.LayoutConstants,h=p(140).layoutBase.FDLayoutConstants,r=p(140).CoSEConstants,z=function(o,v){var{cy:L,eles:a}=o,S=a.nodes(),Y=a.edges(),C=void 0,U=void 0,B=void 0,w={};if(o.randomize)C=v.nodeIndexes,U=v.xCoords,B=v.yCoords;var _=function(H){return typeof H==="function"},X=function(H,ae){if(_(H))return H(ae);else return H},j=x.calcParentsWithoutChildren(L,a),oe=function ce(H,ae,Ie,be){var Ne=ae.length;for(var xe=0;xe<Ne;xe++){var V=ae[xe],Te=null;if(V.intersection(j).length==0)Te=V.children();var te=void 0,ve=V.layoutDimensions({nodeDimensionsIncludeLabels:be.nodeDimensionsIncludeLabels});if(V.outerWidth()!=null&&V.outerHeight()!=null)if(be.randomize)if(!V.isParent())te=H.add(new y(Ie.graphManager,new c(U[C.get(V.id())]-ve.w/2,B[C.get(V.id())]-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else{var ke=x.calcBoundingBox(V,U,B,C);if(V.intersection(j).length==0)te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(ke.width,ke.height)));else te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(parseFloat(ve.w),parseFloat(ve.h))))}else te=H.add(new y(Ie.graphManager,new c(V.position("x")-ve.w/2,V.position("y")-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else te=H.add(new y(this.graphManager));if(te.id=V.data("id"),te.nodeRepulsion=X(be.nodeRepulsion,V),te.paddingLeft=parseInt(V.css("padding")),te.paddingTop=parseInt(V.css("padding")),te.paddingRight=parseInt(V.css("padding")),te.paddingBottom=parseInt(V.css("padding")),be.nodeDimensionsIncludeLabels)te.labelWidth=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,te.labelHeight=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,te.labelPosVertical=V.css("text-valign"),te.labelPosHorizontal=V.css("text-halign");if(w[V.data("id")]=te,isNaN(te.rect.x))te.rect.x=0;if(isNaN(te.rect.y))te.rect.y=0;if(Te!=null&&Te.length>0){var $e=void 0;$e=Ie.getGraphManager().add(Ie.newGraph(),te),ce($e,Te,Ie,be)}}},ee=function(H,ae,Ie){var be=0,Ne=0;for(var xe=0;xe<Ie.length;xe++){var V=Ie[xe],Te=w[V.data("source")],te=w[V.data("target")];if(Te&&te&&Te!==te&&Te.getEdgesBetween(te).length==0){var ve=ae.add(H.newEdge(),Te,te);ve.id=V.id(),ve.idealLength=X(o.idealEdgeLength,V),ve.edgeElasticity=X(o.edgeElasticity,V),be+=ve.idealLength,Ne++}}if(o.idealEdgeLength!=null){if(Ne>0)r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=be/Ne;else if(!_(o.idealEdgeLength))r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=o.idealEdgeLength;else r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=50;r.MIN_REPULSION_DIST=h.MIN_REPULSION_DIST=h.DEFAULT_EDGE_LENGTH/10,r.DEFAULT_RADIAL_SEPARATION=h.DEFAULT_EDGE_LENGTH}},ue=function(H,ae){if(ae.fixedNodeConstraint)H.constraints.fixedNodeConstraint=ae.fixedNodeConstraint;if(ae.alignmentConstraint)H.constraints.alignmentConstraint=ae.alignmentConstraint;if(ae.relativePlacementConstraint)H.constraints.relativePlacementConstraint=ae.relativePlacementConstraint};if(o.nestingFactor!=null)r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.nestingFactor;if(o.gravity!=null)r.DEFAULT_GRAVITY_STRENGTH=h.DEFAULT_GRAVITY_STRENGTH=o.gravity;if(o.numIter!=null)r.MAX_ITERATIONS=h.MAX_ITERATIONS=o.numIter;if(o.gravityRange!=null)r.DEFAULT_GRAVITY_RANGE_FACTOR=h.DEFAULT_GRAVITY_RANGE_FACTOR=o.gravityRange;if(o.gravityCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=h.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.gravityCompound;if(o.gravityRangeCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.gravityRangeCompound;if(o.initialEnergyOnIncremental!=null)r.DEFAULT_COOLING_FACTOR_INCREMENTAL=h.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.initialEnergyOnIncremental;if(o.tilingCompareBy!=null)r.TILING_COMPARE_BY=o.tilingCompareBy;if(o.quality=="proof")u.QUALITY=2;else u.QUALITY=0;if(r.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=u.NODE_DIMENSIONS_INCLUDE_LABELS=o.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!o.randomize,r.ANIMATE=h.ANIMATE=u.ANIMATE=o.animate,r.TILE=o.tile,r.TILING_PADDING_VERTICAL=typeof o.tilingPaddingVertical==="function"?o.tilingPaddingVertical.call():o.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof o.tilingPaddingHorizontal==="function"?o.tilingPaddingHorizontal.call():o.tilingPaddingHorizontal,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!0,r.PURE_INCREMENTAL=!o.randomize,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=o.uniformNodeDimensions,o.step=="transformed")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!1;if(o.step=="enforced")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!1;if(o.step=="cose")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!0;if(o.step=="all"){if(o.randomize)r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0;else r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1;r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!0}if(o.fixedNodeConstraint||o.alignmentConstraint||o.relativePlacementConstraint)r.TREE_REDUCTION_ON_INCREMENTAL=!1;else r.TREE_REDUCTION_ON_INCREMENTAL=!0;var Ae=new l,Re=Ae.newGraphManager();return oe(Re.addRoot(),x.getTopMostNodes(S),Ae,o),ee(Ae,Re,Y),ue(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:z}},212:(T,G,p)=>{var x=function(){function o(v,L){for(var a=0;a<L.length;a++){var S=L[a];if(S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S)S.writable=!0;Object.defineProperty(v,S.key,S)}}return function(v,L,a){if(L)o(v.prototype,L);if(a)o(v,a);return v}}();function l(o,v){if(!(o instanceof v))throw TypeError("Cannot call a class as a function")}var y=p(658),c=p(548),f=p(657),u=f.spectralLayout,h=p(816),r=h.coseLayout,z=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1000,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:0.0000001,nodeRepulsion:function(v){return 4500},idealEdgeLength:function(v){return 50},edgeElasticity:function(v){return 0.45},nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),b=function(){function o(v){l(this,o),this.options=y({},z,v)}return x(o,[{key:"run",value:function(){var L=this,a=this.options,{cy:S,eles:Y}=a,C=[],U=void 0,B=void 0,w=[],_=void 0,X=[];if(a.fixedNodeConstraint&&(!Array.isArray(a.fixedNodeConstraint)||a.fixedNodeConstraint.length==0))a.fixedNodeConstraint=void 0;if(a.alignmentConstraint){if(a.alignmentConstraint.vertical&&(!Array.isArray(a.alignmentConstraint.vertical)||a.alignmentConstraint.vertical.length==0))a.alignmentConstraint.vertical=void 0;if(a.alignmentConstraint.horizontal&&(!Array.isArray(a.alignmentConstraint.horizontal)||a.alignmentConstraint.horizontal.length==0))a.alignmentConstraint.horizontal=void 0}if(a.relativePlacementConstraint&&(!Array.isArray(a.relativePlacementConstraint)||a.relativePlacementConstraint.length==0))a.relativePlacementConstraint=void 0;var j=a.fixedNodeConstraint||a.alignmentConstraint||a.relativePlacementConstraint;if(j)a.tile=!1,a.packComponents=!1;var oe=void 0,ee=!1;if(S.layoutUtilities&&a.packComponents){if(oe=S.layoutUtilities("get"),!oe)oe=S.layoutUtilities();ee=!0}if(Y.nodes().length>0)if(!ee){var ue=a.eles.boundingBox();if(X.push({x:ue.x1+ue.w/2,y:ue.y1+ue.h/2}),a.randomize){var Ae=u(a);C.push(Ae)}if(a.quality=="default"||a.quality=="proof")w.push(r(a,C[0])),c.relocateComponent(X[0],w[0],a);else c.relocateComponent(X[0],C[0],a)}else{var Re=c.getTopMostNodes(a.eles.nodes());if(_=c.connectComponents(S,a.eles,Re),_.forEach(function(W){var k=W.boundingBox();X.push({x:k.x1+k.w/2,y:k.y1+k.h/2})}),a.randomize)_.forEach(function(W){a.eles=W,C.push(u(a))});if(a.quality=="default"||a.quality=="proof"){var ce=S.collection();if(a.tile){var H=new Map,ae=[],Ie=[],be=0,Ne={nodeIndexes:H,xCoords:ae,yCoords:Ie},xe=[];if(_.forEach(function(W,k){if(W.edges().length==0)W.nodes().forEach(function(pe,se){if(ce.merge(W.nodes()[se]),!pe.isParent())Ne.nodeIndexes.set(W.nodes()[se].id(),be++),Ne.xCoords.push(W.nodes()[0].position().x),Ne.yCoords.push(W.nodes()[0].position().y)}),xe.push(k)}),ce.length>1){var V=ce.boundingBox();X.push({x:V.x1+V.w/2,y:V.y1+V.h/2}),_.push(ce),C.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)_.splice(xe[Te],1),C.splice(xe[Te],1),X.splice(xe[Te],1)}}_.forEach(function(W,k){a.eles=W,w.push(r(a,C[k])),c.relocateComponent(X[k],w[k],a)})}else _.forEach(function(W,k){c.relocateComponent(X[k],C[k],a)});var te=new Set;if(_.length>1){var ve=[],ke=Y.filter(function(W){return W.css("display")=="none"});_.forEach(function(W,k){var pe=void 0;if(a.quality=="draft")pe=C[k].nodeIndexes;if(W.nodes().not(ke).length>0){var se={};se.edges=[],se.nodes=[];var me=void 0;if(W.nodes().not(ke).forEach(function(de){if(a.quality=="draft")if(!de.isParent())me=pe.get(de.id()),se.nodes.push({x:C[k].xCoords[me]-de.boundingbox().w/2,y:C[k].yCoords[me]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var he=c.calcBoundingBox(de,C[k].xCoords,C[k].yCoords,pe);se.nodes.push({x:he.topLeftX,y:he.topLeftY,width:he.width,height:he.height})}else if(w[k][de.id()])se.nodes.push({x:w[k][de.id()].getLeft(),y:w[k][de.id()].getTop(),width:w[k][de.id()].getWidth(),height:w[k][de.id()].getHeight()})}),W.edges().forEach(function(de){var he=de.source(),Ee=de.target();if(he.css("display")!="none"&&Ee.css("display")!="none"){if(a.quality=="draft"){var Pe=pe.get(he.id()),Je=pe.get(Ee.id()),Me=[],Ge=[];if(he.isParent()){var Ve=c.calcBoundingBox(he,C[k].xCoords,C[k].yCoords,pe);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(C[k].xCoords[Pe]),Me.push(C[k].yCoords[Pe]);if(Ee.isParent()){var Xe=c.calcBoundingBox(Ee,C[k].xCoords,C[k].yCoords,pe);Ge.push(Xe.topLeftX+Xe.width/2),Ge.push(Xe.topLeftY+Xe.height/2)}else Ge.push(C[k].xCoords[Je]),Ge.push(C[k].yCoords[Je]);se.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[k][he.id()]&&w[k][Ee.id()])se.edges.push({startX:w[k][he.id()].getCenterX(),startY:w[k][he.id()].getCenterY(),endX:w[k][Ee.id()].getCenterX(),endY:w[k][Ee.id()].getCenterY()})}}),se.nodes.length>0)ve.push(se),te.add(k)}});var $e=oe.packComponents(ve,a.randomize).shifts;if(a.quality=="draft")C.forEach(function(W,k){var pe=W.xCoords.map(function(me){return me+$e[k].dx}),se=W.yCoords.map(function(me){return me+$e[k].dy});W.xCoords=pe,W.yCoords=se});else{var We=0;te.forEach(function(W){Object.keys(w[W]).forEach(function(k){var pe=w[W][k];pe.setCenter(pe.getCenterX()+$e[We].dx,pe.getCenterY()+$e[We].dy)}),We++})}}}var Ue=function(k,pe){if(a.quality=="default"||a.quality=="proof"){if(typeof k==="number")k=pe;var se=void 0,me=void 0,de=k.data("id");if(w.forEach(function(Ee){if(de in Ee)se={x:Ee[de].getRect().getCenterX(),y:Ee[de].getRect().getCenterY()},me=Ee[de]}),a.nodeDimensionsIncludeLabels){if(me.labelWidth){if(me.labelPosHorizontal=="left")se.x+=me.labelWidth/2;else if(me.labelPosHorizontal=="right")se.x-=me.labelWidth/2}if(me.labelHeight){if(me.labelPosVertical=="top")se.y+=me.labelHeight/2;else if(me.labelPosVertical=="bottom")se.y-=me.labelHeight/2}}if(se==null)se={x:k.position("x"),y:k.position("y")};return{x:se.x,y:se.y}}else{var he=void 0;if(C.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(k.id());if(Pe!=null)he={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),he==null)he={x:k.position("x"),y:k.position("y")};return{x:he.x,y:he.y}}};if(a.quality=="default"||a.quality=="proof"||a.randomize){var rt=c.calcParentsWithoutChildren(S,Y),He=Y.filter(function(W){return W.css("display")=="none"});if(a.eles=Y.not(He),Y.nodes().not(":parent").not(He).layoutPositions(L,a,Ue),rt.length>0)rt.forEach(function(W){W.position(Ue(W))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),o}();T.exports=b},657:(T,G,p)=>{var x=p(548),l=p(140).layoutBase.Matrix,y=p(140).layoutBase.SVD,c=function(u){var{cy:h,eles:r}=u,z=r.nodes(),b=r.nodes(":parent"),o=new Map,v=new Map,L=new Map,a=[],S=[],Y=[],C=[],U=[],B=[],w=[],_=[],X=void 0,j=void 0,oe=1e8,ee=0.000000001,{piTol:ue,samplingType:Ae,nodeSeparation:Re}=u,ce=void 0,H=function(){var Q=0,K=0,re=!1;while(K<ce){Q=Math.floor(Math.random()*j),re=!1;for(var ne=0;ne<K;ne++)if(C[ne]==Q){re=!0;break}if(!re)C[K]=Q,K++;else continue}},ae=function(Q,K,re){var ne=[],we=0,ge=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<j;ze++)Ce[ze]=oe;ne[ge]=Q,Ce[Q]=0;while(ge>=we){le=ne[we++];var Ye=a[le];for(var Be=0;Be<Ye.length;Be++)if(Le=v.get(Ye[Be]),Ce[Le]==oe)Ce[Le]=Ce[le]+1,ne[++ge]=Le;B[le][K]=Ce[le]*Re}if(re){for(var Fe=0;Fe<j;Fe++)if(B[Fe][K]<U[Fe])U[Fe]=B[Fe][K];for(var Ze=0;Ze<j;Ze++)if(U[Ze]>De)De=U[Ze],Oe=Ze}return Oe},Ie=function(Q){var K=void 0;if(!Q){H();for(var re=0;re<ce;re++)ae(C[re],re,Q,!1)}else{K=Math.floor(Math.random()*j),X=K;for(var ne=0;ne<j;ne++)U[ne]=oe;for(var we=0;we<ce;we++)C[we]=K,K=ae(K,we,Q)}for(var ge=0;ge<j;ge++)for(var le=0;le<ce;le++)B[ge][le]*=B[ge][le];for(var Le=0;Le<ce;Le++)w[Le]=[];for(var Ce=0;Ce<ce;Ce++)for(var De=0;De<ce;De++)w[Ce][De]=B[C[De]][Ce]},be=function(){var Q=y.svd(w),{S:K,U:re,V:ne}=Q,we=K[0]*K[0]*K[0],ge=[];for(var le=0;le<ce;le++){ge[le]=[];for(var Le=0;Le<ce;Le++)if(ge[le][Le]=0,le==Le)ge[le][Le]=K[le]/(K[le]*K[le]+we/(K[le]*K[le]))}_=l.multMat(l.multMat(ne,ge),l.transpose(re))},Ne=function(){var Q=void 0,K=void 0,re=[],ne=[],we=[],ge=[];for(var le=0;le<j;le++)re[le]=Math.random(),ne[le]=Math.random();re=l.normalize(re),ne=l.normalize(ne);var Le=0,Ce=ee,De=ee,Oe=void 0;while(!0){Le++;for(var ze=0;ze<j;ze++)we[ze]=re[ze];if(re=l.multGamma(l.multL(l.multGamma(we),B,_)),Q=l.dotProduct(we,re),re=l.normalize(re),Ce=l.dotProduct(we,re),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Ye=0;Ye<j;Ye++)we[Ye]=re[Ye];Le=0,De=ee;while(!0){Le++;for(var Be=0;Be<j;Be++)ge[Be]=ne[Be];if(ge=l.minusOp(ge,l.multCons(we,l.dotProduct(we,ge))),ne=l.multGamma(l.multL(l.multGamma(ge),B,_)),K=l.dotProduct(ge,ne),ne=l.normalize(ne),Ce=l.dotProduct(ge,ne),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<j;Fe++)ge[Fe]=ne[Fe];S=l.multCons(we,Math.sqrt(Math.abs(Q))),Y=l.multCons(ge,Math.sqrt(Math.abs(K)))};x.connectComponents(h,r,x.getTopMostNodes(z),o),b.forEach(function(ye){x.connectComponents(h,r,x.getTopMostNodes(ye.descendants().intersection(r)),o)});var xe=0;for(var V=0;V<z.length;V++)if(!z[V].isParent())v.set(z[V].id(),xe++);var Te=!0,te=!1,ve=void 0;try{for(var ke=o.keys()[Symbol.iterator](),$e;!(Te=($e=ke.next()).done);Te=!0){var We=$e.value;v.set(We,xe++)}}catch(ye){te=!0,ve=ye}finally{try{if(!Te&&ke.return)ke.return()}finally{if(te)throw ve}}for(var Ue=0;Ue<v.size;Ue++)a[Ue]=[];b.forEach(function(ye){var Q=ye.children().intersection(r);while(Q.nodes(":childless").length==0)Q=Q.nodes()[0].children().intersection(r);var K=0,re=Q.nodes(":childless")[0].connectedEdges().length;Q.nodes(":childless").forEach(function(ne,we){if(ne.connectedEdges().length<re)re=ne.connectedEdges().length,K=we}),L.set(ye.id(),Q.nodes(":childless")[K].id())}),z.forEach(function(ye){var Q=void 0;if(ye.isParent())Q=v.get(L.get(ye.id()));else Q=v.get(ye.id());ye.neighborhood().nodes().forEach(function(K){if(r.intersection(ye.edgesWith(K)).length>0)if(K.isParent())a[Q].push(L.get(K.id()));else a[Q].push(K.id())})});var rt=function(Q){var K=v.get(Q),re=void 0;o.get(Q).forEach(function(ne){if(h.getElementById(ne).isParent())re=L.get(ne);else re=ne;a[K].push(re),a[v.get(re)].push(Q)})},He=!0,W=!1,k=void 0;try{for(var pe=o.keys()[Symbol.iterator](),se;!(He=(se=pe.next()).done);He=!0){var me=se.value;rt(me)}}catch(ye){W=!0,k=ye}finally{try{if(!He&&pe.return)pe.return()}finally{if(W)throw k}}j=v.size;var de=void 0;if(j>2){ce=j<u.sampleSize?j:u.sampleSize;for(var he=0;he<j;he++)B[he]=[];for(var Ee=0;Ee<ce;Ee++)_[Ee]=[];if(u.quality=="draft"||u.step=="all")Ie(Ae),be(),Ne(),de={nodeIndexes:v,xCoords:S,yCoords:Y};else v.forEach(function(ye,Q){S.push(h.getElementById(Q).position("x")),Y.push(h.getElementById(Q).position("y"))}),de={nodeIndexes:v,xCoords:S,yCoords:Y};return de}else{var Pe=v.keys(),Je=h.getElementById(Pe.next().value),Me=Je.position(),Ge=Je.outerWidth();if(S.push(Me.x),Y.push(Me.y),j==2){var Ve=h.getElementById(Pe.next().value),Xe=Ve.outerWidth();S.push(Me.x+Ge/2+Xe/2+u.idealEdgeLength),Y.push(Me.y)}return de={nodeIndexes:v,xCoords:S,yCoords:Y},de}};T.exports={spectralLayout:c}},579:(T,G,p)=>{var x=p(212),l=function(c){if(!c)return;c("layout","fcose",x)};if(typeof cytoscape<"u")l(cytoscape);T.exports=l},140:(T)=>{T.exports=e}},s={};function E(T){var G=s[T];if(G!==void 0)return G.exports;var p=s[T]={exports:{}};return n[T](p,p.exports,E),p.exports}var m=E(579);return m})()})});var mt=et(ct(),1);var dt={L:"left",R:"right",T:"top",B:"bottom"},ft={L:t((e)=>`${e},${e/2} 0,${e} 0,0`,"L"),R:t((e)=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:t((e)=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:t((e)=>`${e/2},0 ${e},${e} 0,${e}`,"B")},it={L:t((e,n)=>e-n+2,"L"),R:t((e,n)=>e-2,"R"),T:t((e,n)=>e-n+2,"T"),B:t((e,n)=>e-2,"B")},It=t(function(e){if(Se(e))return e==="L"?"R":"L";else return e==="T"?"B":"T"},"getOppositeArchitectureDirection"),ut=t(function(e){let n=e;return n==="L"||n==="R"||n==="T"||n==="B"},"isArchitectureDirection"),Se=t(function(e){let n=e;return n==="L"||n==="R"},"isArchitectureDirectionX"),_e=t(function(e){let n=e;return n==="T"||n==="B"},"isArchitectureDirectionY"),st=t(function(e,n){let s=Se(e)&&_e(n),E=_e(e)&&Se(n);return s||E},"isArchitectureDirectionXY"),bt=t(function(e){let n=e[0],s=e[1],E=Se(n)&&_e(s),m=_e(n)&&Se(s);return E||m},"isArchitecturePairXY"),Nt=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),at=t(function(e,n){let s=`${e}${n}`;return Nt(s)?s:void 0},"getArchitectureDirectionPair"),kt=t(function([e,n],s){let E=s[0],m=s[1];if(Se(E))if(_e(m))return[e+(E==="L"?-1:1),n+(m==="T"?1:-1)];else return[e+(E==="L"?-1:1),n];else if(Se(m))return[e+(m==="L"?1:-1),n+(E==="T"?1:-1)];else return[e,n+(E==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dt=t(function(e){if(e==="LT"||e==="TL")return[1,1];else if(e==="BL"||e==="LB")return[1,-1];else if(e==="BR"||e==="RB")return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),Rt=t(function(e,n){if(st(e,n))return"bend";else if(Se(e))return"horizontal";return"vertical"},"getArchitectureDirectionAlignment"),Mt=t(function(e){return e.type==="service"},"isArchitectureService"),Ft=t(function(e){return e.type==="junction"},"isArchitectureJunction"),gt=t((e,n)=>{let[s,E]=[e,n].sort();return`${JSON.stringify(s)}-${JSON.stringify(E)}`},"architectureGroupAlignmentKey"),ht=t((e)=>e.data(),"edgeData"),qe=t((e)=>e.data(),"nodeData"),$t=F.architecture,vt=class{constructor(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.elements=new Map,this.diagramId="",this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R,this.clear()}static{t(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",N()}addService({id:e,icon:n,in:s,title:E,iconText:m}){if(this.registeredIds.has(e))throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The service [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(s)==="node")throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"service",icon:n,iconText:m,title:E,edges:[],in:s})}getServices(){return[...this.nodes.values()].filter(Mt)}addJunction({id:e,in:n}){if(this.registeredIds.has(e))throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(n!==void 0){if(e===n)throw Error(`The junction [${e}] cannot be placed within itself`);if(!this.registeredIds.has(n))throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(n)==="node")throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"junction",edges:[],in:n})}getJunctions(){return[...this.nodes.values()].filter(Ft)}getNodes(){return[...this.nodes.values()]}getNode(e){return this.nodes.get(e)??null}addGroup({id:e,icon:n,in:s,title:E}){if(this.registeredIds.has(e))throw Error(`The group id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The group [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(s)==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds.set(e,"group"),this.groups.set(e,{id:e,icon:n,title:E,in:s})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:e,rhsId:n,lhsDir:s,rhsDir:E,lhsInto:m,rhsInto:T,lhsGroup:G,rhsGroup:p,title:x}){if(!ut(s))throw Error(`Invalid direction given for left hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(s)}`);if(!ut(E))throw Error(`Invalid direction given for right hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(E)}`);if(!this.nodes.has(e)&&!this.groups.has(e))throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(n)&&!this.groups.has(n))throw Error(`The right-hand id [${n}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes.get(e).in,y=this.nodes.get(n).in;if(G&&l&&y&&l==y)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(p&&l&&y&&l==y)throw Error(`The right-hand id [${n}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let c={lhsId:e,lhsDir:s,lhsInto:m,lhsGroup:G,rhsId:n,rhsDir:E,rhsInto:T,rhsGroup:p,title:x};this.edges.push(c);let f=this.nodes.get(e),u=this.nodes.get(n);if(f&&u)f.edges.push(this.edges[this.edges.length-1]),u.edges.push(this.edges[this.edges.length-1])}getEdges(){return this.edges}addLayoutHint(e){if(e.members.length<2)throw Error(`An align directive requires at least two members; got ${e.members.length}`);let n=new Set;e.members.forEach((s)=>{if(this.registeredIds.get(s)!=="node")throw Error(`align ${e.direction} references [${s}], which is not a service or junction`);if(n.has(s))throw Error(`align ${e.direction} lists [${s}] more than once`);n.add(s)}),this.layoutHints.push(e)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let e=new Map,n=new Map;for(let[G,p]of this.nodes.entries()){let x=new Map;for(let l of p.edges){let y=this.getNode(l.lhsId)?.in,c=this.getNode(l.rhsId)?.in;if(y&&c&&y!==c){let f=Rt(l.lhsDir,l.rhsDir);if(f!=="bend")e.set(gt(y,c),f)}if(l.lhsId===G){let f=at(l.lhsDir,l.rhsDir);if(f)x.set(f,l.rhsId)}else{let f=at(l.rhsDir,l.lhsDir);if(f)x.set(f,l.lhsId)}}n.set(G,x)}let s=new Set,E=new Set(n.keys()),m=t((G)=>{let p=new Map([[G,[0,0]]]),x=[G];while(x.length>0){let l=x.shift();if(l){s.add(l),E.delete(l);let y=n.get(l);if(!y)throw Error(`BFS error: adjacency list for id ${l} not found. Please report this as a bug.`);let c=p.get(l);if(!c)throw Error(`BFS error: position for id ${l} not found in spatial map. Please report this as a bug.`);let[f,u]=c;y.forEach((h,r)=>{if(!s.has(h))p.set(h,kt([f,u],r)),x.push(h)})}}return p},"BFS"),T=[];while(E.size>0){let G=E.values().next().value;T.push(m(G))}this.dataStructures={adjList:n,spatialMaps:T,groupAlignments:e}}return this.dataStructures}setElementForId(e,n){this.elements.set(e,n)}getElementById(e){return this.elements.get(e)}getConfig(){return Z({...$t,...A().architecture})}getConfigField(e){return this.getConfig()[e]}},Pt=t((e,n)=>{ie(e,n),e.groups.map((s)=>n.addGroup(s)),e.services.map((s)=>n.addService({...s,type:"service"})),e.junctions.map((s)=>n.addJunction({...s,type:"junction"})),e.edges.map((s)=>n.addEdge(s)),e.alignments?.map((s)=>n.addLayoutHint({direction:s.direction,members:[...s.members]}))},"populateDb"),pt={parser:{yy:void 0},parse:t(async(e)=>{let n=await fe("architecture",e);i.debug(n);let s=pt.parser?.yy;if(!(s instanceof vt))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pt(n,s)},"parse")},Ot=t((e)=>`
|
|
2
|
-
.edge {
|
|
3
|
-
stroke-width: ${e.archEdgeWidth};
|
|
4
|
-
stroke: ${e.archEdgeColor};
|
|
5
|
-
fill: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.arrow {
|
|
9
|
-
fill: ${e.archEdgeArrowColor};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.node-bkg {
|
|
13
|
-
fill: none;
|
|
14
|
-
stroke: ${e.archGroupBorderColor};
|
|
15
|
-
stroke-width: ${e.archGroupBorderWidth};
|
|
16
|
-
stroke-dasharray: 8;
|
|
17
|
-
}
|
|
18
|
-
.node-icon-text {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.node-icon-text > div {
|
|
24
|
-
color: #fff;
|
|
25
|
-
margin: 1px;
|
|
26
|
-
height: fit-content;
|
|
27
|
-
text-align: center;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
display: -webkit-box;
|
|
30
|
-
-webkit-box-orient: vertical;
|
|
31
|
-
}
|
|
32
|
-
`,"getStyles"),Gt=Ot;function ot(e,n){if(e===0)return n();let s=Math.random,E=e>>>0;Math.random=function(){E=E+1831565813>>>0;let m=E;return m=Math.imul(m^m>>>15,m|1),m^=m+Math.imul(m^m>>>7,m|61),((m^m>>>14)>>>0)/4294967296};try{return n()}finally{Math.random=s}}t(ot,"withSeededRandom");var je=t((e)=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`,"wrapIcon"),Ke={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:je('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:je('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:je('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:je('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:je('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:ec,blank:{body:je("")}}},zt=t(async function(e,n,s,E){let m=s.getConfigField("padding"),T=s.getConfigField("iconSize"),G=T/2,p=T/6,x=p/2;await Promise.all(n.edges().map(async(l)=>{let{source:y,sourceDir:c,sourceArrow:f,sourceGroup:u,target:h,targetDir:r,targetArrow:z,targetGroup:b,label:o}=ht(l),{x:v,y:L}=l[0].sourceEndpoint(),{x:a,y:S}=l[0].midpoint(),{x:Y,y:C}=l[0].targetEndpoint(),U=m+4;if(u)if(Se(c))v+=c==="L"?-U:U;else L+=c==="T"?-U:U+18;if(b)if(Se(r))Y+=r==="L"?-U:U;else C+=r==="T"?-U:U+18;if(!u&&s.getNode(y)?.type==="junction")if(Se(c))v+=c==="L"?G:-G;else L+=c==="T"?G:-G;if(!b&&s.getNode(h)?.type==="junction")if(Se(r))Y+=r==="L"?G:-G;else C+=r==="T"?G:-G;if(l[0]._private.rscratch){let B=e.insert("g");if(B.insert("path").attr("d",`M ${v},${L} L ${a},${S} L${Y},${C} `).attr("class","edge").attr("id",`${E}-${St(y,h,{prefix:"L"})}`),f){let w=Se(c)?it[c](v,p):v-x,_=_e(c)?it[c](L,p):L-x;B.insert("polygon").attr("points",ft[c](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(z){let w=Se(r)?it[r](Y,p):Y-x,_=_e(r)?it[r](C,p):C-x;B.insert("polygon").attr("points",ft[r](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(o){let w=!st(c,r)?Se(c)?"X":"Y":"XY",_=0;if(w==="X")_=Math.abs(v-Y);else if(w==="Y")_=Math.abs(L-C)/1.5;else _=Math.abs(v-Y)/2;let X=B.append("g");if(await lt(X,o,{useHtmlLabels:!1,width:_,classes:"architecture-service-label"},d()),X.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),w==="X")X.attr("transform","translate("+a+", "+S+")");else if(w==="Y")X.attr("transform","translate("+a+", "+S+") rotate(-90)");else if(w==="XY"){let j=at(c,r);if(j&&bt(j)){let oe=X.node().getBoundingClientRect(),[ee,ue]=Dt(j);X.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*ee*ue*45})`);let Ae=X.node().getBoundingClientRect();X.attr("transform",`
|
|
33
|
-
translate(${a}, ${S-oe.height/2})
|
|
34
|
-
translate(${ee*Ae.width/2}, ${ue*Ae.height/2})
|
|
35
|
-
rotate(${-1*ee*ue*45}, 0, ${oe.height/2})
|
|
36
|
-
`)}}}}}))},"drawEdges"),Bt=t(async function(e,n,s,E){let T=s.getConfigField("padding")*0.75,G=s.getConfigField("fontSize"),x=s.getConfigField("iconSize")/2;await Promise.all(n.nodes().map(async(l)=>{let y=qe(l);if(y.type==="group"){let{h:c,w:f,x1:u,y1:h}=l.boundingBox(),r=e.append("rect");r.attr("id",`${E}-group-${y.id}`).attr("x",u+x).attr("y",h+x).attr("width",f).attr("height",c).attr("class","node-bkg");let z=e.append("g"),b=u,o=h;if(y.icon){let v=z.append("g");v.html(`<g>${await Zt(y.icon,{height:T,width:T,fallbackPrefix:Ke.prefix})}</g>`),v.attr("transform","translate("+(b+x+1)+", "+(o+x+1)+")"),b+=T,o+=G/2-1-2}if(y.label){let v=z.append("g");await lt(v,y.label,{useHtmlLabels:!1,width:f,classes:"architecture-service-label"},d()),v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),v.attr("transform","translate("+(b+x+4)+", "+(o+x+2)+")")}s.setElementForId(y.id,r)}}))},"drawGroups"),_t=t(async function(e,n,s,E){let m=d();for(let T of s){let G=n.append("g"),p=e.getConfigField("iconSize");if(T.title){let c=G.append("g");await lt(c,T.title,{useHtmlLabels:!1,width:p*1.5,classes:"architecture-service-label"},m),c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),c.attr("transform","translate("+p/2+", "+p+")")}let x=G.append("g");if(T.icon)x.html(`<g>${await Zt(T.icon,{height:p,width:p,fallbackPrefix:Ke.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await Zt("blank",{height:p,width:p,fallbackPrefix:Ke.prefix})}</g>`);let u=x.append("g").append("foreignObject").attr("width",p).attr("height",p).append("div").attr("class","node-icon-text").attr("style",`height: ${p}px;`).append("div").html(q(T.iconText,m)),h=parseInt(window.getComputedStyle(u.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;u.attr("style",`-webkit-line-clamp: ${Math.floor((p-2)/h)};`)}else x.append("path").attr("class","node-bkg").attr("id",`${E}-node-${T.id}`).attr("d",`M0,${p} V5 Q0,0 5,0 H${p-5} Q${p},0 ${p},5 V${p} Z`);G.attr("id",`${E}-service-${T.id}`).attr("class","architecture-service");let{width:l,height:y}=G.node().getBBox();T.width=l,T.height=y,e.setElementForId(T.id,G)}return 0},"drawServices"),Yt=t(function(e,n,s,E){s.forEach((m)=>{let T=n.append("g"),G=e.getConfigField("iconSize");T.append("g").append("rect").attr("id",`${E}-node-${m.id}`).attr("fill-opacity","0").attr("width",G).attr("height",G),T.attr("class","architecture-junction");let{width:x,height:l}=T._groups[0][0].getBBox();T.width=x,T.height=l,e.setElementForId(m.id,T)})},"drawJunctions");Wr([{name:Ke.prefix,icons:Ke}]);gn.use(mt.default);function yt(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"service",id:E.id,icon:E.icon,label:E.title,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-service"})})}t(yt,"addServices");function Et(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"junction",id:E.id,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-junction"})})}t(Et,"addJunctions");function wt(e,n){n.nodes().map((s)=>{let E=qe(s);if(E.type==="group")return;E.x=s.position().x,E.y=s.position().y,e.getElementById(E.id).attr("transform","translate("+(E.x||0)+","+(E.y||0)+")")})}t(wt,"positionNodes");function xt(e,n){e.forEach((s)=>{n.add({group:"nodes",data:{type:"group",id:s.id,icon:s.icon,label:s.title,parent:s.in},classes:"node-group"})})}t(xt,"addGroups");function Tt(e,n){e.forEach((s)=>{let{lhsId:E,rhsId:m,lhsInto:T,lhsGroup:G,rhsInto:p,lhsDir:x,rhsDir:l,rhsGroup:y,title:c}=s,f=st(s.lhsDir,s.rhsDir)?"segments":"straight",u={id:`${E}-${m}`,label:c,source:E,sourceDir:x,sourceArrow:T,sourceGroup:G,sourceEndpoint:x==="L"?"0 50%":x==="R"?"100% 50%":x==="T"?"50% 0":"50% 100%",target:m,targetDir:l,targetArrow:p,targetGroup:y,targetEndpoint:l==="L"?"0 50%":l==="R"?"100% 50%":l==="T"?"50% 0":"50% 100%"};n.add({group:"edges",data:u,classes:f})})}t(Tt,"addEdges");function At(e,n,s,E=[]){let m=t((f,u)=>{let h=new Map;for(let[r,z]of f.entries()){let b=`${r}`,o=0,v=[...z.entries()];if(v.length===1){h.set(b,v[0][1]);continue}for(let L=0;L<v.length-1;L++)for(let a=L+1;a<v.length;a++){let[S,Y]=v[L],[C,U]=v[a];if(s.get(gt(S,C))===u)h.set(b,[...h.get(b)??[],...Y,...U]);else if(S==="default"||C==="default")h.set(b,[...h.get(b)??[],...Y,...U]);else{let w=`${b}-${o++}`;h.set(w,Y);let _=`${b}-${o++}`;h.set(_,U)}}}return h},"flattenAlignments"),T=n.map((f)=>{let u=new Map,h=new Map;return f.forEach(([r,z],b)=>{let o=e.getNode(b)?.in??"default",v=u.get(z)??new Map;if(!u.has(z))u.set(z,v);let L=h.get(r)??new Map;if(!h.has(r))h.set(r,L);for(let a of[v,L]){let S=a.get(o)??[];if(!a.has(o))a.set(o,S);S.push(b)}}),{horiz:[...m(u,"horizontal").values()].filter((r)=>r.length>1),vert:[...m(h,"vertical").values()].filter((r)=>r.length>1)}}),[G,p]=T.reduce(([f,u],{horiz:h,vert:r})=>[[...f,...h],[...u,...r]],[[],[]]),x=new Set;E.forEach((f)=>f.members.forEach((u)=>x.add(u)));let l=t((f)=>f.filter((u)=>!u.some((h)=>x.has(h))),"dropOverlapping"),y=l(G),c=l(p);return E.forEach((f)=>{if(f.members.length<2)return;if(f.direction==="row")y.push([...f.members]);else c.push([...f.members])}),{horizontal:y,vertical:c}}t(At,"getAlignments");function Lt(e,n,s=[]){let E=[],m=n.getConfigField("iconSize"),T=n.getConfigField("idealEdgeLengthMultiplier"),G=T*m,p=new Set;s.forEach((y)=>{for(let c=0;c<y.members.length-1;c++){let f=y.members[c],u=y.members[c+1];if(p.add(`${f}|${u}`),p.add(`${u}|${f}`),y.direction==="row")E.push({left:f,right:u,gap:G});else E.push({top:f,bottom:u,gap:G})}});let x=t((y)=>`${y[0]},${y[1]}`,"posToStr"),l=t((y)=>y.split(",").map((c)=>parseInt(c)),"strToPos");return e.forEach((y)=>{let c=new Map([...y.entries()].map(([r,z])=>[x(z),r])),f=[x([0,0])],u={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};while(f.length>0){let r=f.shift();if(r){u[r]=1;let z=c.get(r);if(z){let b=l(r);Object.entries(h).forEach(([o,v])=>{let L=x([b[0]+v[0],b[1]+v[1]]),a=c.get(L);if(a&&!u[L]){if(f.push(L),p.has(`${z}|${a}`))return;E.push({[dt[o]]:a,[dt[It(o)]]:z,gap:T*m})}})}}}}),E}t(Lt,"getRelativeConstraints");function Ct(e,n,s,E,m,{spatialMaps:T,groupAlignments:G}){return new Promise((p)=>{let x=g("body").append("div").attr("id","cy").attr("style","display:none"),l=gn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[0.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${m.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${m.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});x.remove(),xt(s,l),yt(e,l,m),Et(n,l,m),Tt(E,l);let y=m.getLayoutHints(),c=At(m,T,G,y),f=Lt(T,m,y),u=m.getConfigField("iconSize"),h=m.getConfigField("idealEdgeLengthMultiplier")*u,r=0.5*u,z=m.getConfigField("edgeElasticity"),b=m.getConfigField("seed"),o=l.layout({name:"fcose",quality:"proof",randomize:m.getConfigField("randomize"),nodeSeparation:m.getConfigField("nodeSeparation"),numIter:m.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?h:r},edgeElasticity(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?z:0.001},alignmentConstraint:c,relativePlacementConstraint:f});o.one("layoutstop",()=>{function v(L,a,S,Y){let C,U,{x:B,y:w}=L,{x:_,y:X}=a;U=(Y-w+(B-S)*(w-X)/(B-_))/Math.sqrt(1+Math.pow((w-X)/(B-_),2)),C=Math.sqrt(Math.pow(Y-w,2)+Math.pow(S-B,2)-Math.pow(U,2));let j=Math.sqrt(Math.pow(_-B,2)+Math.pow(X-w,2));C=C/j;let oe=(_-B)*(Y-w)-(X-w)*(S-B);switch(!0){case oe>=0:oe=1;break;case oe<0:oe=-1;break}let ee=(_-B)*(S-B)+(X-w)*(Y-w);switch(!0){case ee>=0:ee=1;break;case ee<0:ee=-1;break}return U=Math.abs(U)*oe,C=C*ee,{distances:U,weights:C}}t(v,"getSegmentWeights"),l.startBatch();for(let L of Object.values(l.edges()))if(L.data?.()){let{x:a,y:S}=L.source().position(),{x:Y,y:C}=L.target().position();if(a!==Y&&S!==C){let U=L.sourceEndpoint(),B=L.targetEndpoint(),{sourceDir:w}=ht(L),[_,X]=_e(w)?[U.x,B.y]:[B.x,U.y],{weights:j,distances:oe}=v(U,B,_,X);L.style("segment-distances",oe),L.style("segment-weights",j)}}l.endBatch(),ot(b,()=>o.run())});try{ot(b,()=>o.run())}catch(v){if(v instanceof RangeError&&v.message.includes("Invalid array length"))throw Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.");throw v}l.ready((v)=>{i.info("Ready",v),p(l)})})}t(Ct,"layoutArchitecture");var Ut=t(async(e,n,s,E)=>{let m=E.db;m.setDiagramId(n);let T=m.getServices(),G=m.getJunctions(),p=m.getGroups(),x=m.getEdges(),l=m.getDataStructures(),y=J(n),c=y.append("g");c.attr("class","architecture-edges");let f=y.append("g");f.attr("class","architecture-services");let u=y.append("g");u.attr("class","architecture-groups"),await _t(m,f,T,n),Yt(m,f,G,n);let h=await Ct(T,G,p,x,m,l);await zt(c,h,m,n),await Bt(u,h,m,n),wt(m,h),mn(void 0,y,m.getConfigField("padding"),m.getConfigField("useMaxWidth"))},"draw"),Ht={draw:Ut},ir={parser:pt,get db(){return new vt},renderer:Ht,styles:Gt};export{ir as diagram};
|
package/web/chunk-9jb5xwya.js.br
DELETED
|
Binary file
|
package/web/chunk-9jb5xwya.js.gz
DELETED
|
Binary file
|
package/web/chunk-9kf8arqg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rn}from"./chunk-cnptxet3.js";import"./chunk-6ycpdpfj.js";export{Rn as default};
|
package/web/chunk-9kf8arqg.js.br
DELETED
|
Binary file
|
package/web/chunk-9kf8arqg.js.gz
DELETED
|
Binary file
|
package/web/chunk-9msmea44.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import{t,C,W,N,M,P,R,I,O,D,d,J,Mt,y}from"./chunk-sawc81kc.js";var dt=function(){var e=t(function(z,i,n,s){for(n=n||{},s=z.length;s--;n[z[s]]=i);return n},"o"),f=[1,4],r=[1,14],l=[1,12],o=[1,13],p=[6,7,8],k=[1,20],u=[1,18],_=[1,19],c=[6,7,11],b=[1,6,13,14],w=[1,23],v=[1,24],S=[1,6,7,11,13,14],U={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(i,n,s,h,g,a,E){var x=a.length-1;switch(g){case 6:case 7:return h;case 15:h.addNode(a[x-1].length,a[x].trim());break;case 16:h.addNode(0,a[x].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:r,7:[1,10],9:9,12:11,13:l,14:o},e(p,[2,3]),{1:[2,2]},e(p,[2,4]),e(p,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:k,7:u,10:17,11:_},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:k,7:u,10:22,11:_},{1:[2,7],6:r,12:15,13:l,14:o},e(b,[2,14],{7:w,11:v}),e(S,[2,8]),e(S,[2,9]),e(S,[2,10]),e(c,[2,15]),e(b,[2,13],{7:w,11:v}),e(S,[2,11]),e(S,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:t(function(i){var n=this,s=[0],h=[],g=[null],a=[],E=this.table,x="",V=0,A=0,B=0,F=2,X=1,rt=a.slice.call(arguments,1),m=Object.create(this.lexer),L={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))L.yy[K]=this.yy[K];if(m.setInput(i,L.yy),L.yy.lexer=m,L.yy.parser=this,typeof m.yylloc>"u")m.yylloc={};var q=m.yylloc;a.push(q);var lt=m.options&&m.options.ranges;if(typeof L.yy.parseError==="function")this.parseError=L.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function xt(G){s.length=s.length-2*G,g.length=g.length-G,a.length=a.length-G}t(xt,"popStack");function yt(){var G=h.pop()||m.lex()||X;if(typeof G!=="number"){if(G instanceof Array)h=G,G=h.pop();G=n.symbols_[G]||G}return G}t(yt,"lex");var j,ot,Q,H,Rt,ht,tt={},st,Y,ft,nt;while(!0){if(Q=s[s.length-1],this.defaultActions[Q])H=this.defaultActions[Q];else{if(j===null||typeof j>"u")j=yt();H=E[Q]&&E[Q][j]}if(typeof H>"u"||!H.length||!H[0]){var ct="";nt=[];for(st in E[Q])if(this.terminals_[st]&&st>F)nt.push("'"+this.terminals_[st]+"'");if(m.showPosition)ct="Parse error on line "+(V+1)+`:
|
|
2
|
-
`+m.showPosition()+`
|
|
3
|
-
Expecting `+nt.join(", ")+", got '"+(this.terminals_[j]||j)+"'";else ct="Parse error on line "+(V+1)+": Unexpected "+(j==X?"end of input":"'"+(this.terminals_[j]||j)+"'");this.parseError(ct,{text:m.match,token:this.terminals_[j]||j,line:m.yylineno,loc:q,expected:nt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+j);switch(H[0]){case 1:if(s.push(j),g.push(m.yytext),a.push(m.yylloc),s.push(H[1]),j=null,!ot){if(A=m.yyleng,x=m.yytext,V=m.yylineno,q=m.yylloc,B>0)B--}else j=ot,ot=null;break;case 2:if(Y=this.productions_[H[1]][1],tt.$=g[g.length-Y],tt._$={first_line:a[a.length-(Y||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(Y||1)].first_column,last_column:a[a.length-1].last_column},lt)tt._$.range=[a[a.length-(Y||1)].range[0],a[a.length-1].range[1]];if(ht=this.performAction.apply(tt,[x,A,V,L.yy,H[1],g,a].concat(rt)),typeof ht<"u")return ht;if(Y)s=s.slice(0,-1*Y*2),g=g.slice(0,-1*Y),a=a.slice(0,-1*Y);s.push(this.productions_[H[1]][0]),g.push(tt.$),a.push(tt._$),ft=E[s[s.length-2]][s[s.length-1]],s.push(ft);break;case 3:return!0}}return!0},"parse")},Z=function(){var z={EOF:1,parseError:t(function(n,s){if(this.yy.parser)this.yy.parser.parseError(n,s);else throw Error(n)},"parseError"),setInput:t(function(i,n){if(this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.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),i},"input"),unput:t(function(i){var n=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var h=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),s.length-1)this.yylineno-=s.length-1;var g=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:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[g[0],g[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(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
|
-
`+n+"^"},"showPosition"),test_match:t(function(i,n){var s,h,g;if(this.options.backtrack_lexer){if(g={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)g.yylloc.range=this.yylloc.range.slice(0)}if(h=i[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],s=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(s)return s;else if(this._backtrack){for(var a in g)this[a]=g[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,n,s,h;if(!this._more)this.yytext="",this.match="";var g=this._currentRules();for(var a=0;a<g.length;a++)if(s=this._input.match(this.rules[g[a]]),s&&(!n||s[0].length>n[0].length)){if(n=s,h=a,this.options.backtrack_lexer)if(i=this.test_match(s,g[a]),i!==!1)return i;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(i=this.test_match(n,g[h]),i!==!1)return i;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:{"case-insensitive":!0},performAction:t(function(n,s,h,g){var a=g;switch(h){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return z}();U.lexer=Z;function T(){this.yy={}}return t(T,"Parser"),T.prototype=U,U.Parser=T,new T}();dt.parser=dt;var vt=dt,St=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{t(this,"IshikawaDB")}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,N()}getRoot(){return this.root}addNode(e,f){let r=C.sanitizeText(f,d());if(!this.root){this.root={text:r,children:[]},this.stack=[{level:0,node:this.root}],O(r);return}this.baseLevel??=e;let l=e-this.baseLevel+1;if(l<=0)l=1;while(this.stack.length>1&&this.stack[this.stack.length-1].level>=l)this.stack.pop();let o=this.stack[this.stack.length-1].node,p={text:r,children:[]};o.children.push(p),this.stack.push({level:l,node:p})}getAccTitle(){return P()}setAccTitle(e){M(e)}getAccDescription(){return I()}setAccDescription(e){R(e)}getDiagramTitle(){return D()}setDiagramTitle(e){O(e)}},Et=14,et=250,$t=30,At=60,It=5,bt=82*Math.PI/180,pt=Math.cos(bt),gt=Math.sin(bt),kt=t((e,f,r)=>{let l=e.node().getBBox(),o=l.width+f*2,p=l.height+f*2;W(e,p,o,r),e.attr("viewBox",`${l.x-f} ${l.y-f} ${o} ${p}`)},"applyPaddedViewBox"),Lt=t((e,f,r,l)=>{let p=l.db.getRoot();if(!p)return;let k=d(),{look:u,handDrawnSeed:_,themeVariables:c}=k,b=Mt(k.fontSize)[0]??Et,w=u==="handDrawn",v=p.children??[],S=k.ishikawa?.diagramPadding??20,U=k.ishikawa?.useMaxWidth??!1,Z=J(f),T=Z.append("g").attr("class","ishikawa"),z=w?y.svg(Z.node()):void 0,i=z?{roughSvg:z,seed:_??0,lineColor:c?.lineColor??"#333",fillColor:c?.mainBkg??"#fff"}:void 0,n=`ishikawa-arrow-${f}`;if(!w)T.append("defs").append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let s=0,h=et,g=w?void 0:it(T,s,h,s,h,"ishikawa-spine");if(Tt(T,s,h,p.text,b,i),!v.length){if(w)it(T,s,h,s,h,"ishikawa-spine",i);kt(Z,S,U);return}s-=20;let a=v.filter((m,L)=>L%2===0),E=v.filter((m,L)=>L%2===1),x=mt(a),V=mt(E),A=x.total+V.total,B=et,F=et;if(A>0){let m=et*2,L=et*0.3;B=Math.max(L,m*(x.total/A)),F=Math.max(L,m*(V.total/A))}let X=b*2;if(B=Math.max(B,x.max*X),F=Math.max(F,V.max*X),h=Math.max(B,et),g)g.attr("y1",h).attr("y2",h);T.select(".ishikawa-head-group").attr("transform",`translate(0,${h})`);let rt=Math.ceil(v.length/2);for(let m=0;m<rt;m++){let L=T.append("g").attr("class","ishikawa-pair");for(let[K,q,lt]of[[v[m*2],-1,B],[v[m*2+1],1,F]])if(K)Nt(L,K,s,h,q,lt,b,i);s=L.selectAll("text").nodes().reduce((K,q)=>Math.min(K,q.getBBox().x),1/0)}if(w)it(T,s,h,0,h,"ishikawa-spine",i);else{g.attr("x1",s);let m=`url(#${n})`;T.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",m)}kt(Z,S,U)},"draw"),mt=t((e)=>{let f=t((r)=>r.children.reduce((l,o)=>l+1+f(o),0),"countDescendants");return e.reduce((r,l)=>{let o=f(l);return r.total+=o,r.max=Math.max(r.max,o),r},{total:0,max:0})},"sideStats"),Tt=t((e,f,r,l,o,p)=>{let k=Math.max(6,Math.floor(110/(o*0.6))),u=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${f},${r})`),_=at(u,_t(l,k),0,0,"ishikawa-head-label","start",o),c=_.node().getBBox(),b=Math.max(60,c.width+6),w=Math.max(40,c.height*2+40),v=`M 0 ${-w/2} L 0 ${w/2} Q ${b*2.4} 0 0 ${-w/2} Z`;if(p){let S=p.roughSvg.path(v,{roughness:1.5,seed:p.seed,fill:p.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:p.lineColor,strokeWidth:2});u.insert(()=>S,":first-child").attr("class","ishikawa-head")}else u.insert("path",":first-child").attr("class","ishikawa-head").attr("d",v);_.attr("transform",`translate(${(b-c.width)/2-c.x+3},${-c.y-c.height/2})`)},"drawHead"),Pt=t((e,f)=>{let r=[],l=[],o=t((p,k,u)=>{let _=f===-1?[...p].reverse():p;for(let c of _){let b=r.length,w=c.children??[];if(r.push({depth:u,text:_t(c.text,15),parentIndex:k,childCount:w.length}),u%2===0){if(l.push(b),w.length)o(w,b,u+1)}else{if(w.length)o(w,b,u+1);l.push(b)}}},"walk");return o(e,-1,2),{entries:r,yOrder:l}},"flattenTree"),Bt=t((e,f,r,l,o,p,k)=>{let u=e.append("g").attr("class","ishikawa-label-group"),c=at(u,f,r,l+11*o,"ishikawa-label cause","middle",p).node().getBBox();if(k){let b=k.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:k.seed,fill:k.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:k.lineColor,strokeWidth:2});u.insert(()=>b,":first-child").attr("class","ishikawa-label-box")}else u.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",c.x-20).attr("y",c.y-2).attr("width",c.width+40).attr("height",c.height+4)},"drawCauseLabel"),ut=t((e,f,r,l,o,p)=>{let k=Math.sqrt(l*l+o*o);if(k===0)return;let u=l/k,_=o/k,c=6,b=-_*c,w=u*c,v=f,S=r,U=`M ${v} ${S} L ${v-u*c*2+b} ${S-_*c*2+w} L ${v-u*c*2-b} ${S-_*c*2-w} Z`,Z=p.roughSvg.path(U,{roughness:1,seed:p.seed,fill:p.lineColor,fillStyle:"solid",stroke:p.lineColor,strokeWidth:1});e.append(()=>Z)},"drawArrowMarker"),Nt=t((e,f,r,l,o,p,k,u)=>{let _=f.children??[],c=p*(_.length?1:0.2),b=-pt*c,w=gt*c*o,v=r+b,S=l+w;if(it(e,r,l,v,S,"ishikawa-branch",u),u)ut(e,r,l,r-v,l-S,u);if(Bt(e,f.text,v,S,o,k,u),!_.length)return;let{entries:U,yOrder:Z}=Pt(_,o),T=U.length,z=Array(T);for(let[g,a]of Z.entries())z[a]=l+w*((g+1)/(T+1));let i=new Map;i.set(-1,{x0:r,y0:l,x1:v,y1:S,childCount:_.length,childrenDrawn:0});let n=-pt,s=gt*o,h=o<0?"ishikawa-label up":"ishikawa-label down";for(let[g,a]of U.entries()){let E=z[g],x=i.get(a.parentIndex),V=e.append("g").attr("class","ishikawa-sub-group"),A=0,B=0,F=0;if(a.depth%2===0){let X=x.y1-x.y0;if(A=wt(x.x0,x.x1,X?(E-x.y0)/X:0.5),B=E,F=A-(a.childCount>0?At+a.childCount*It:$t),it(V,A,E,F,E,"ishikawa-sub-branch",u),u)ut(V,A,E,1,0,u);at(V,a.text,F,E,"ishikawa-label align","end",k)}else{let X=x.childrenDrawn++;if(A=wt(x.x0,x.x1,(x.childCount-X)/(x.childCount+1)),B=x.y0,F=A+n*((E-B)/s),it(V,A,B,F,E,"ishikawa-sub-branch",u),u)ut(V,A,B,A-F,B-E,u);at(V,a.text,F,E,h,"end",k)}if(a.childCount>0)i.set(g,{x0:A,y0:B,x1:F,y1:E,childCount:a.childCount,childrenDrawn:0})}},"drawBranch"),Dt=t((e)=>e.split(/<br\s*\/?>|\n/),"splitLines"),_t=t((e,f)=>{if(e.length<=f)return e;let r=[];for(let l of e.split(/\s+/)){let o=r.length-1;if(o>=0&&r[o].length+1+l.length<=f)r[o]+=" "+l;else r.push(l)}return r.join(`
|
|
7
|
-
`)},"wrapText"),at=t((e,f,r,l,o,p,k)=>{let u=Dt(f),_=k*1.05,c=e.append("text").attr("class",o).attr("text-anchor",p).attr("x",r).attr("y",l-(u.length-1)*_/2);for(let[b,w]of u.entries())c.append("tspan").attr("x",r).attr("dy",b===0?0:_).text(w);return c},"drawMultilineText"),wt=t((e,f,r)=>e+(f-e)*r,"lerp"),it=t((e,f,r,l,o,p,k)=>{if(k){let u=k.roughSvg.line(f,r,l,o,{roughness:1.5,seed:k.seed,stroke:k.lineColor,strokeWidth:2});e.append(()=>u).attr("class",p);return}return e.append("line").attr("class",p).attr("x1",f).attr("y1",r).attr("x2",l).attr("y2",o)},"drawLine"),Ot={draw:Lt},Ct=t((e)=>`
|
|
8
|
-
.ishikawa .ishikawa-spine,
|
|
9
|
-
.ishikawa .ishikawa-branch,
|
|
10
|
-
.ishikawa .ishikawa-sub-branch {
|
|
11
|
-
stroke: ${e.lineColor};
|
|
12
|
-
stroke-width: 2;
|
|
13
|
-
fill: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ishikawa .ishikawa-sub-branch {
|
|
17
|
-
stroke-width: 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ishikawa .ishikawa-arrow {
|
|
21
|
-
fill: ${e.lineColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ishikawa .ishikawa-head {
|
|
25
|
-
fill: ${e.mainBkg};
|
|
26
|
-
stroke: ${e.lineColor};
|
|
27
|
-
stroke-width: 2;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ishikawa .ishikawa-label-box {
|
|
31
|
-
fill: ${e.mainBkg};
|
|
32
|
-
stroke: ${e.lineColor};
|
|
33
|
-
stroke-width: 2;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ishikawa text {
|
|
37
|
-
font-family: ${e.fontFamily};
|
|
38
|
-
font-size: ${e.fontSize};
|
|
39
|
-
fill: ${e.textColor};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ishikawa .ishikawa-head-label {
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
text-anchor: middle;
|
|
45
|
-
dominant-baseline: middle;
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ishikawa .ishikawa-label {
|
|
50
|
-
text-anchor: end;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ishikawa .ishikawa-label.cause {
|
|
54
|
-
text-anchor: middle;
|
|
55
|
-
dominant-baseline: middle;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ishikawa .ishikawa-label.align {
|
|
59
|
-
text-anchor: end;
|
|
60
|
-
dominant-baseline: middle;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ishikawa .ishikawa-label.up {
|
|
64
|
-
dominant-baseline: baseline;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ishikawa .ishikawa-label.down {
|
|
68
|
-
dominant-baseline: hanging;
|
|
69
|
-
}
|
|
70
|
-
`,"getStyles"),Vt=Ct,Ut={parser:vt,get db(){return new St},renderer:Ot,styles:Vt};export{Ut as diagram};
|
package/web/chunk-9msmea44.js.br
DELETED
|
Binary file
|
package/web/chunk-9msmea44.js.gz
DELETED
|
Binary file
|
package/web/chunk-a7q85665.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{ie}from"./chunk-tykcqm6v.js";import{t,i,F,A,q,N,M,P,R,I,O,D,d,Za,g,Xr,zi,Z}from"./chunk-sawc81kc.js";import{Ti,fe}from"./chunk-4ab1dv3g.js";var U="position frame",_="frame positioned",B="position relation",G="relation positioned",pe=t(function(e){i.debug("options str",e)},"setOptions"),ve=t(function(){return{}},"getOptions"),be=t(function(){L(),N()},"clear");function L(){S={}}t(L,"reset");var we=F.eventmodeling,ye=t(()=>Z({...we,...A().eventmodeling}),"getConfig"),S={};function V(){let e=Pe,{ast:r}=S,n=C();if(!r)throw Error("No data for EventModel");return r.frames.forEach((a,o)=>{let s=Q(a,r.dataEntities,n);e=y(e,{$kind:U,index:o,frame:a,textProps:s});let c=void 0;if(oe(a))i.debug("source frame",a.sourceFrames),c=r.frames.filter((m)=>a.sourceFrames.some((u)=>u.$refText===m.name)),c.forEach((m)=>{e=y(e,{$kind:B,index:o,frame:a,sourceFrame:m})});else e=y(e,{$kind:B,index:o,frame:a})}),e={...e,sortedSwimlanesArray:W(e.swimlanes)},e}t(V,"getState");function X(e){S.ast=void 0;let r=new Set;for(let n of e.frames){if(r.has(n.name)){let a=n.$cstNode?.range.start.line,o=a===void 0?"":` on line ${a+1}`;throw Error(`Duplicate event modeling frame ID "${n.name}"${o}`)}r.add(n.name)}S.ast=e}t(X,"setAst");var l={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function C(){return l}t(C,"getDiagramProps");var Pe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function j(e){let r=e.split(".");if(r.length===2)return r[0];return}t(j,"extractNamespace");function Y(e){let r=e.split(".");if(r.length===2)return r[1];return e}t(Y,"extractName");function z(e,r){if(!r||r.length===0)return;return Object.values(e).find((n)=>n.namespace===r)}t(z,"findSwimlaneByNamespace");function w(e,r,n){return Math.max(r,...Object.keys(e).filter((a)=>{let o=Number.parseInt(a);return o>r&&o<n}).map((a)=>Number.parseInt(a)))+1}t(w,"findNextAvailableIndex");function K(e,r){let n=j(e.entityIdentifier),a=z(r,n);switch(e.modelEntityType){case"ui":case"pcr":case"processor":if(a)return{index:a.index,label:a.namespace||l.labelUiAutomation};else if(n)return{index:w(r,0,100),label:l.labelUiAutomationPrefix+n};return{index:0,label:l.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":if(a)return{index:a.index,label:a.namespace||l.labelCommandReadModel};else if(n)return{index:w(r,100,200),label:l.labelCommandReadModelPrefix+n};return{index:100,label:l.labelCommandReadModel};case"evt":case"event":default:if(a)return{index:a.index,label:a.namespace||l.labelEvents};else if(n)return{index:w(r,200,300),label:l.labelEventsPrefix+n};return{index:200,label:l.labelEvents}}}t(K,"calculateSwimlaneProps");function J(e){let{themeVariables:r}=A();switch(e.modelEntityType){case"ui":return{fill:r.emUiFill??"white",stroke:r.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:r.emProcessorFill??"#edb3f6",stroke:r.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:r.emReadModelFill??"#d3f1a2",stroke:r.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:r.emCommandFill??"#bcd6fe",stroke:r.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:r.emEventFill??"#ffb778",stroke:r.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}t(J,"calculateEntityVisualProps");function Q(e,r,n){let a=A(),o=q(Y(e.entityIdentifier)??"",a),s,c={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"},u=`<b>${Xr(o,n.textMaxWidth,c)}</b>`;if(e.dataInlineValue)s=e.dataInlineValue,s=s.substring(s.indexOf("{")+1),s=s.substring(0,s.lastIndexOf("}")-1),s=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" "," ");if(e.dataReference){let b=r.find((k)=>k.name===e.dataReference?.$refText);if(b)s=b.dataBlockValue,s=s.substring(s.indexOf(`{
|
|
2
|
-
`)+2),s=s.substring(0,s.lastIndexOf("}")-1),s=q(s,a),s=Xr(s,n.textMaxWidth,c),s=s.replaceAll(" "," "),s+="<br/>"}let x=s!==void 0;if(x)u+=`<br/><br/><code style="text-align: left; display: block;max-width:${n.textMaxWidth}px">${s}</code>`;let h={fontSize:c.fontSize,fontWeight:c.fontWeight,fontFamily:c.fontFamily},f=zi(u,h),v=x?f.width/3:f.width,p={content:u,width:v,height:f.height};return i.debug(`[${e.name}] ${e.entityIdentifier} text`,p),p}t(Q,"calculateTextProps");function ee(e,r){let n=r,a=J(n.frame),o={width:n.textProps.width+2*l.boxTextPadding,height:n.textProps.height+2*l.boxTextPadding};return[{$kind:_,frame:n.frame,index:n.index,visual:a,dimension:o,textProps:n.textProps}]}t(ee,"decidePositionFrame");function te(e,r,n){if(r===void 0)return l.contentStartX;if(r.index===e.index&&e.r)return e.r+l.boxPadding;if(n===void 0)return l.contentStartX;return n.r-l.boxOverlap+l.boxPadding}t(te,"calculateX");function ne(e,r){let n=[...e.map((a)=>a.r),r];return Math.max(...n)}t(ne,"calculateMaxRight");function W(e){return Object.values(e).sort((r,n)=>r.index-n.index)}t(W,"sortedSwimlanesArray");function re(e,r){let n=r,a=K(n.frame,e.swimlanes),o;if(a.index in e.swimlanes)o=e.swimlanes[a.index];else o={index:a.index,label:a.label,r:0,y:a.index*l.swimlaneMinHeight+l.swimlaneGap,height:l.swimlaneMinHeight,maxHeight:l.swimlaneMinHeight};let s=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,c=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,m={width:Math.max(l.boxMinWidth,Math.min(l.boxMaxWidth,n.dimension.width))+2*l.boxPadding,height:Math.max(l.boxMinHeight,Math.min(l.boxMaxHeight,n.dimension.height))+2*l.boxPadding},u=te(o,c,s),x=u+m.width+l.boxPadding,h=ne(Object.values(e.swimlanes),x);o.r=u+m.width,o.maxHeight=Math.max(o.maxHeight,m.height),o.height=Math.max(l.swimlaneMinHeight,o.maxHeight)+2*l.swimlanePadding;let f={x:u,y:l.swimlanePadding+o.y,r:x,dimension:m,leftSibling:!1,swimlane:o,visual:n.visual,text:n.textProps.content,frame:n.frame,index:n.index},v={...e,boxes:[...e.boxes,f],swimlanes:{...e.swimlanes,[`${o.index}`]:o},previousSwimlaneNumber:a.index,previousFrame:n.frame,maxR:h},p=W(v.swimlanes);if(p.length>0)p[0].y=0;for(let b=1;b<p.length;b++){let k=p[b],H=p[b-1];k.y=H.y+H.height+l.swimlaneGap}return v}t(re,"evolveFramePositioned");function ae(e,r){if(e===0&&r.sourceFrames.length===0)return!0;return!1}t(ae,"isFirstFrame");function oe(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}t(oe,"hasSourceFrame");function E(e,r){if(r===void 0||r===null)return;return e.find((n)=>n.frame.name===r.name)}t(E,"findBoxByFrame");function se(e,r,n){if(n<0)return;for(let a=n;a>=0;a--){let o=e[a];if(o.swimlane.index!==r)return o}return}t(se,"findBoxByLineIndex");function de(e,r){let n=r;if(ae(n.index,n.frame))return[];let a=E(e.boxes,n.frame);if(a===void 0)throw Error(`Target box not found for frame ${n.frame.name}`);let o;if(n.sourceFrame)o=E(e.boxes,n.sourceFrame);else{if(Ti(n.frame))return[];o=se(e.boxes,a.swimlane.index,n.index-1)}if(o===void 0)return[];return[{$kind:G,frame:n.frame,index:n.index,sourceBox:o,targetBox:a}]}t(de,"decidePositionRelation");function le(e,r){let n=r,a={visual:{fill:"none",stroke:"#000"},source:{x:n.sourceBox.x,y:n.sourceBox.y},target:{x:n.targetBox.x,y:n.targetBox.y},sourceBox:n.sourceBox,targetBox:n.targetBox};return{...e,relations:[...e.relations,a]}}t(le,"evolveRelationPositioned");var Se={[U]:ee,[B]:de},Me={[_]:re,[G]:le};function ce(e,r){let n=Se[r.$kind];if(n===void 0||n===null)return[];let a=n(e,r);return i.debug("decided events",a),a}t(ce,"decide");function me(e,r){let n=r.reduce((a,o)=>{let s=Me[o.$kind];if(s===void 0||s===null)return a;return s(a,o)},e);return i.debug("evolve events",{state:e,newState:n,events:r}),n}t(me,"evolve");function y(e,r){let n=ce(e,r);return me(e,n)}t(y,"dispatch");var T={getConfig:ye,preserveCommentsWhenParsing:!0,setOptions:pe,getOptions:ve,clear:be,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D,setAst:X,getDiagramProps:C,getState:V},ke={parse:t(async(e)=>{let r=await fe("eventmodeling",e);i.debug(r),T.setAst(r),ie(r,T)},"parse")},Fe=d(),Be=Fe?.eventmodeling;function ue(e,r){return(n)=>{let a=n.swimlane.y+r.swimlanePadding,o=e.append("g").attr("class","em-box");o.append("rect").attr("x",n.x).attr("y",a).attr("rx","3").attr("width",n.dimension.width).attr("height",n.dimension.height).attr("stroke",n.visual.stroke).attr("fill",n.visual.fill),o.append("foreignObject").attr("x",n.x+r.boxPadding).attr("y",a+10).attr("width",n.dimension.width-2*r.boxPadding).attr("height",n.dimension.height-2*r.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(n.text)}}t(ue,"renderD3Box");function xe(e,r){return e>r}t(xe,"dirUpwards");function ge(e,r,n,a){return(o)=>{let s=o.sourceBox.swimlane.y+r.swimlanePadding,c=o.targetBox.swimlane.y+r.swimlanePadding,m=xe(s,c),u=o.sourceBox.x+o.sourceBox.dimension.width*2/3,x=o.targetBox.x+o.targetBox.dimension.width/3,h,f;if(i.debug(`rendering relation up=${m} for `,{sourceBox:o.sourceBox,targetBox:o.targetBox}),m)h=s,f=c+o.targetBox.dimension.height;else h=s+o.sourceBox.dimension.height,f=c;let v=a.emRelationStroke??o.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",o.visual.fill).attr("stroke",v).attr("stroke-width","1").attr("marker-end",`url(#${n})`).attr("d",`M${u} ${h} L${x} ${f}`)}}t(ge,"renderD3Relation");function he(e,r,n,a){return(o)=>{let s=e.append("g").attr("class","em-swimlane"),c=a.emSwimlaneBackgroundOdd??"rgb(250,250,250)",m=a.emSwimlaneBackgroundStroke??"rgb(240,240,240)";s.append("rect").attr("x",0).attr("y",o.y).attr("rx","3").attr("width",r+n.swimlanePadding).attr("height",o.height).attr("fill",c).attr("stroke",m),s.append("text").attr("font-weight",n.swimlaneTextFontWeight).attr("x",30).attr("y",o.y+30).text(o.label)}}t(he,"renderD3Swimlane");var Ee=t(function(e,r,n,a){if(i.debug("in eventmodeling renderer",e+`
|
|
3
|
-
`,"id:",r,n),!Be)throw Error("EventModeling config not found");let o=a.db,{themeVariables:s,eventmodeling:c}=d(),m=g(`[id="${r}"]`),u=o.getDiagramProps(),x=o.getState(),h=`em-arrowhead-${r}`,f=s.emArrowhead??"#000000";x.sortedSwimlanesArray.forEach(he(m,x.maxR,u,s)),x.boxes.forEach(ue(m,u)),x.relations.forEach(ge(m,u,h,s)),m.append("defs").append("marker").attr("id",h).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",f),Za(void 0,m,c?.padding??30,c?.useMaxWidth)},"draw"),Ae={draw:Ee},$e=t((e)=>"","getStyles"),Re=$e,Ue={parser:ke,db:T,renderer:Ae,styles:Re};export{Ue as diagram};
|
package/web/chunk-a7q85665.js.br
DELETED
|
Binary file
|
package/web/chunk-a7q85665.js.gz
DELETED
|
Binary file
|
package/web/chunk-aan5qk6x.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ns}from"./chunk-gvndjaan.js";import"./chunk-6ycpdpfj.js";export{Ns as default};
|
package/web/chunk-aan5qk6x.js.br
DELETED
|
Binary file
|
package/web/chunk-aan5qk6x.js.gz
DELETED
|
Binary file
|
package/web/chunk-b9cjgxr1.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import{t,i,de,f,h,F,A,Ac,q,d,He,Ue}from"./chunk-sawc81kc.js";import{ze}from"./chunk-fjvd2dx2.js";import{Pe}from"./chunk-xmp1ag6z.js";var ye=new Uint8Array(16);function Z(){return crypto.getRandomValues(ye)}var S=[];for(let e=0;e<256;++e)S.push((e+256).toString(16).slice(1));function le(e,r=0){return(S[e[r+0]]+S[e[r+1]]+S[e[r+2]]+S[e[r+3]]+"-"+S[e[r+4]]+S[e[r+5]]+"-"+S[e[r+6]]+S[e[r+7]]+"-"+S[e[r+8]]+S[e[r+9]]+"-"+S[e[r+10]]+S[e[r+11]]+S[e[r+12]]+S[e[r+13]]+S[e[r+14]]+S[e[r+15]]).toLowerCase()}function ke(e,r,u){if(!r&&!e&&crypto.randomUUID)return crypto.randomUUID();return be(e,r,u)}function be(e,r,u){e=e||{};let l=e.random??e.rng?.()??Z();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,r){if(u=u||0,u<0||u+16>r.length)throw RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let n=0;n<16;++n)r[u+n]=l[n];return r}return le(l)}var ee=ke;var te=function(){var e=t(function(O,a,s,c){for(s=s||{},c=O.length;c--;s[O[c]]=a);return s},"o"),r=[1,4],u=[1,13],l=[1,12],n=[1,15],p=[1,16],k=[1,20],E=[1,19],x=[6,7,8],w=[1,26],U=[1,24],B=[1,25],m=[6,7,11],M=[1,6,13,15,16,19,22],ne=[1,33],ie=[1,34],P=[1,6,7,11,13,15,16,19,22],X={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(a,s,c,g,b,o,V){var y=o.length-1;switch(b){case 6:case 7:return g;case 8:g.getLogger().trace("Stop NL ");break;case 9:g.getLogger().trace("Stop EOF ");break;case 11:g.getLogger().trace("Stop NL2 ");break;case 12:g.getLogger().trace("Stop EOF2 ");break;case 15:g.getLogger().info("Node: ",o[y].id),g.addNode(o[y-1].length,o[y].id,o[y].descr,o[y].type);break;case 16:g.getLogger().trace("Icon: ",o[y]),g.decorateNode({icon:o[y]});break;case 17:case 21:g.decorateNode({class:o[y]});break;case 18:g.getLogger().trace("SPACELIST");break;case 19:g.getLogger().trace("Node: ",o[y].id),g.addNode(0,o[y].id,o[y].descr,o[y].type);break;case 20:g.decorateNode({icon:o[y]});break;case 25:g.getLogger().trace("node found ..",o[y-2]),this.$={id:o[y-1],descr:o[y-1],type:g.getType(o[y-2],o[y])};break;case 26:this.$={id:o[y],descr:o[y],type:g.nodeType.DEFAULT};break;case 27:g.getLogger().trace("node found ..",o[y-3]),this.$={id:o[y-3],descr:o[y-1],type:g.getType(o[y-2],o[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},e(x,[2,3]),{1:[2,2]},e(x,[2,4]),e(x,[2,5]),{1:[2,6],6:u,12:21,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},{6:u,9:22,12:11,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},{6:w,7:U,10:23,11:B},e(m,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,23]),e(m,[2,24]),e(m,[2,26],{19:[1,30]}),{20:[1,31]},{6:w,7:U,10:32,11:B},{1:[2,7],6:u,12:21,13:l,14:14,15:n,16:p,17:17,18:18,19:k,22:E},e(M,[2,14],{7:ne,11:ie}),e(P,[2,8]),e(P,[2,9]),e(P,[2,10]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),{20:[1,35]},{21:[1,36]},e(M,[2,13],{7:ne,11:ie}),e(P,[2,11]),e(P,[2,12]),{21:[1,37]},e(m,[2,25]),e(m,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(a,s){if(s.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=s,c}},"parseError"),parse:t(function(a){var s=this,c=[0],g=[],b=[null],o=[],V=this.table,y="",j=0,re=0,se=0,ue=2,oe=1,pe=o.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,z))I.yy[z]=this.yy[z];if(_.setInput(a,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var Y=_.yylloc;o.push(Y);var fe=_.options&&_.options.ranges;if(typeof I.yy.parseError==="function")this.parseError=I.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(D){c.length=c.length-2*D,b.length=b.length-D,o.length=o.length-D}t(me,"popStack");function ae(){var D=g.pop()||_.lex()||oe;if(typeof D!=="number"){if(D instanceof Array)g=D,D=g.pop();D=s.symbols_[D]||D}return D}t(ae,"lex");var N,J,C,L,Te,K,R={},H,v,ce,W;while(!0){if(C=c[c.length-1],this.defaultActions[C])L=this.defaultActions[C];else{if(N===null||typeof N>"u")N=ae();L=V[C]&&V[C][N]}if(typeof L>"u"||!L.length||!L[0]){var Q="";W=[];for(H in V[C])if(this.terminals_[H]&&H>ue)W.push("'"+this.terminals_[H]+"'");if(_.showPosition)Q="Parse error on line "+(j+1)+`:
|
|
2
|
-
`+_.showPosition()+`
|
|
3
|
-
Expecting `+W.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Q="Parse error on line "+(j+1)+": Unexpected "+(N==oe?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Q,{text:_.match,token:this.terminals_[N]||N,line:_.yylineno,loc:Y,expected:W})}if(L[0]instanceof Array&&L.length>1)throw Error("Parse Error: multiple actions possible at state: "+C+", token: "+N);switch(L[0]){case 1:if(c.push(N),b.push(_.yytext),o.push(_.yylloc),c.push(L[1]),N=null,!J){if(re=_.yyleng,y=_.yytext,j=_.yylineno,Y=_.yylloc,se>0)se--}else N=J,J=null;break;case 2:if(v=this.productions_[L[1]][1],R.$=b[b.length-v],R._$={first_line:o[o.length-(v||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(v||1)].first_column,last_column:o[o.length-1].last_column},fe)R._$.range=[o[o.length-(v||1)].range[0],o[o.length-1].range[1]];if(K=this.performAction.apply(R,[y,re,j,I.yy,L[1],b,o].concat(pe)),typeof K<"u")return K;if(v)c=c.slice(0,-1*v*2),b=b.slice(0,-1*v),o=o.slice(0,-1*v);c.push(this.productions_[L[1]][0]),b.push(R.$),o.push(R._$),ce=V[c[c.length-2]][c[c.length-1]],c.push(ce);break;case 3:return!0}}return!0},"parse")},ge=function(){var O={EOF:1,parseError:t(function(s,c){if(this.yy.parser)this.yy.parser.parseError(s,c);else throw Error(s)},"parseError"),setInput:t(function(a,s){if(this.yy=s||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 s=a.match(/(?:\r\n?|\n).*/g);if(s)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 s=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var g=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 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:c?(c.length===g.length?this.yylloc.first_column:0)+g[g.length-c.length].length-c[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-s];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(),s=Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
5
|
-
`+s+"^"},"showPosition"),test_match:t(function(a,s){var c,g,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(g=a[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.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,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var o in b)this[o]=b[o];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,s,c,g;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var o=0;o<b.length;o++)if(c=this._input.match(this.rules[b[o]]),c&&(!s||c[0].length>s[0].length)){if(s=c,g=o,this.options.backtrack_lexer)if(a=this.test_match(c,b[o]),a!==!1)return a;else if(this._backtrack){s=!1;continue}else return!1;else if(!this.options.flex)break}if(s){if(a=this.test_match(s,b[g]),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 s=this.next();if(s)return s;else return this.lex()},"lex"),begin:t(function(s){this.conditionStack.push(s)},"begin"),popState:t(function(){var s=this.conditionStack.length-1;if(s>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(s){if(s=this.conditionStack.length-1-Math.abs(s||0),s>=0)return this.conditionStack[s];else return"INITIAL"},"topState"),pushState:t(function(s){this.begin(s)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(s,c,g,b){var o=b;switch(g){case 0:return s.getLogger().trace("Found comment",c.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:s.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return s.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:s.getLogger().trace("end icon"),this.popState();break;case 10:return s.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return s.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return s.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return s.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:s.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return s.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),s.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),s.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),s.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),s.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),s.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),s.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return s.getLogger().trace("Long description:",c.yytext),20;break;case 36:return s.getLogger().trace("Long description:",c.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return O}();X.lexer=ge;function G(){this.yy={}}return t(G,"Parser"),G.prototype=X,X.Parser=G,new G}();te.parser=te;var Ee=te,he=12,T={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_e=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=T,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,l){i.info("addNode",e,r,u,l);let n=!1;if(this.nodes.length===0)this.baseLevel=e,e=0,n=!0;else if(this.baseLevel!==void 0)e=e-this.baseLevel,n=!1;let p=d(),k=p.mindmap?.padding??F.mindmap.padding;switch(l){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:k*=2;break}let E={id:this.count++,nodeId:q(r,p),level:e,descr:q(u,p),type:l,children:[],width:p.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:k,isRoot:n},x=this.getParent(e);if(x)x.children.push(E),this.nodes.push(E);else if(n)this.nodes.push(E);else throw Error(`There can be only one root. No parent could be found for ("${E.descr}")`)}getType(e,r){switch(i.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let r=d(),u=this.nodes[this.nodes.length-1];if(e.icon)u.icon=q(e.icon,r);if(e.class)u.class=q(e.class,r)}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,r,u=0,l=!1){if(e.level===0)e.section=void 0;else e.section=l?(u-1)%(he-1):r;if(e.children)for(let[n,p]of e.children.entries()){let k=e.level===0?n%(he-1):r;this.assignSections(p,k,u+1,l)}}flattenNodes(e,r){let u=d(),l=["mindmap-node"];if(e.isRoot===!0)l.push("section-root","section--1");else if(e.section!==void 0)l.push(`section-${e.section}`);if(e.class)l.push(e.class);let n=l.join(" "),p=t((E)=>{let w=(u.theme?.toLowerCase()??"").includes("redux");switch(E){case T.CIRCLE:return"mindmapCircle";case T.RECT:return"rect";case T.ROUNDED_RECT:return"rounded";case T.CLOUD:return"cloud";case T.BANG:return"bang";case T.HEXAGON:return"hexagon";case T.DEFAULT:return w?"rounded":"defaultMindmapNode";case T.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:p(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(k),e.children)for(let E of e.children)this.flattenNodes(E,r)}generateEdges(e,r){if(!e.children)return;let u=d();for(let l of e.children){let n="edge";if(l.section!==void 0)n+=` section-edge-${l.section}`;let p=e.level+1;n+=` edge-depth-${p}`;let k={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:n,depth:e.level,section:l.section};r.push(k),this.generateEdges(l,r)}}getData(){let e=this.getMindmap(),r=d(),l=Ac().layout!==void 0,n=r;if(!l)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};i.debug("getData: mindmapRoot",e,r),this.assignSections(e,void 0,0,r.mindmap?.colorBy==="depth");let p=[],k=[];this.flattenNodes(e,p),this.generateEdges(e,k),i.debug(`getData: processed ${p.length} nodes and ${k.length} edges`);let E=new Map;for(let x of p)E.set(x.id,{shape:x.shape,width:x.width,height:x.height,padding:x.padding});return{nodes:p,edges:k,config:n,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(E),type:"mindmap",diagramId:"mindmap-"+ee()}}getLogger(){return i}},Se=t(async(e,r,u,l)=>{i.debug(`Rendering mindmap diagram
|
|
7
|
-
`+e);let n=l.db,p=n.getData(),k=ze(r,p.config.securityLevel);if(p.type=l.type,p.layoutAlgorithm=Ue(p.config.layout,{fallback:"cose-bilkent"}),p.diagramId=r,!n.getMindmap())return;p.nodes.forEach((m)=>{if(m.shape==="rounded")m.radius=15,m.taper=15,m.stroke="none",m.width=0,m.padding=15;else if(m.shape==="circle")m.padding=10;else if(m.shape==="rect")m.width=0,m.padding=10;else if(m.shape==="hexagon")m.width=0,m.height=0}),await He(p,k);let{themeVariables:x}=A(),{useGradient:w,gradientStart:U,gradientStop:B}=x;if(w&&U&&B){let m=k.attr("id"),M=k.append("defs").append("linearGradient").attr("id",`${m}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");M.append("stop").attr("offset","0%").attr("stop-color",U).attr("stop-opacity",1),M.append("stop").attr("offset","100%").attr("stop-color",B).attr("stop-opacity",1)}Pe(k,p.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",p.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),xe={draw:Se},Ne=t((e)=>{let{theme:r,look:u}=e,l="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],de(e["lineColor"+n]))e["lineColor"+n]=f(e["lineColor"+n],20);else e["lineColor"+n]=h(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let p=""+(u==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=r==="redux"||r==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:n)];l+=`
|
|
8
|
-
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
|
|
9
|
-
fill: ${e["cScale"+n]};
|
|
10
|
-
}
|
|
11
|
-
.section-${n-1} text {
|
|
12
|
-
fill: ${e["cScaleLabel"+n]};
|
|
13
|
-
}
|
|
14
|
-
.section-${n-1} span {
|
|
15
|
-
color: ${e["cScaleLabel"+n]};
|
|
16
|
-
}
|
|
17
|
-
.node-icon-${n-1} {
|
|
18
|
-
font-size: 40px;
|
|
19
|
-
color: ${e["cScaleLabel"+n]};
|
|
20
|
-
}
|
|
21
|
-
.section-edge-${n-1}{
|
|
22
|
-
stroke: ${e["cScale"+n]};
|
|
23
|
-
}
|
|
24
|
-
.edge-depth-${n-1}{
|
|
25
|
-
stroke-width: ${p};
|
|
26
|
-
}
|
|
27
|
-
.section-${n-1} line {
|
|
28
|
-
stroke: ${e["cScaleInv"+n]} ;
|
|
29
|
-
stroke-width: 3;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.disabled, .disabled circle, .disabled text {
|
|
33
|
-
fill: lightgray;
|
|
34
|
-
}
|
|
35
|
-
.disabled text {
|
|
36
|
-
fill: #efefef;
|
|
37
|
-
}
|
|
38
|
-
[data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
|
|
39
|
-
fill: ${r==="redux"||r==="redux-dark"||r==="neutral"?e.mainBkg:e["cScale"+n]};
|
|
40
|
-
stroke: ${r==="redux"||r==="redux-dark"?e.nodeBorder:e["cScale"+n]};
|
|
41
|
-
stroke-width: ${e.strokeWidth??2}px;
|
|
42
|
-
}
|
|
43
|
-
[data-look="neo"].section-edge-${n-1}{
|
|
44
|
-
stroke: ${r?.includes("redux")||r==="neo-dark"?e.nodeBorder:e["cScale"+n]};
|
|
45
|
-
}
|
|
46
|
-
[data-look="neo"].mindmap-node.section-${n-1} text, [data-look="neo"].mindmap-node.section-${n-1} span {
|
|
47
|
-
fill: ${k};
|
|
48
|
-
color: ${k};
|
|
49
|
-
}
|
|
50
|
-
`}return l},"genSections"),Le=t((e,r,u)=>{let l="";for(let n=0;n<e;n++)l+=`
|
|
51
|
-
[data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
|
|
52
|
-
stroke: url(${r}-gradient);
|
|
53
|
-
fill: ${u};
|
|
54
|
-
}
|
|
55
|
-
.section-${n-1} line {
|
|
56
|
-
stroke-width: 0;
|
|
57
|
-
}`;return l},"genGradient"),De=t((e)=>{let{theme:r}=e,u=e.svgId,l=r?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${u}-drop-shadow)`):"none";return`
|
|
58
|
-
.edge {
|
|
59
|
-
stroke-width: 3;
|
|
60
|
-
}
|
|
61
|
-
${Ne(e)}
|
|
62
|
-
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
63
|
-
fill: ${e.git0};
|
|
64
|
-
}
|
|
65
|
-
.section-root text {
|
|
66
|
-
fill: ${e.gitBranchLabel0};
|
|
67
|
-
}
|
|
68
|
-
.section-root span {
|
|
69
|
-
color: ${r?.includes("redux")?e.nodeBorder:e.gitBranchLabel0};
|
|
70
|
-
}
|
|
71
|
-
.icon-container {
|
|
72
|
-
height:100%;
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
align-items: center;
|
|
76
|
-
}
|
|
77
|
-
.edge {
|
|
78
|
-
fill: none;
|
|
79
|
-
}
|
|
80
|
-
.mindmap-node-label {
|
|
81
|
-
dy: 1em;
|
|
82
|
-
alignment-baseline: middle;
|
|
83
|
-
text-anchor: middle;
|
|
84
|
-
dominant-baseline: middle;
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
[data-look="neo"].mindmap-node {
|
|
88
|
-
filter: ${n};
|
|
89
|
-
}
|
|
90
|
-
[data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
|
|
91
|
-
fill: ${r?.includes("redux")?e.mainBkg:e.git0};
|
|
92
|
-
}
|
|
93
|
-
[data-look="neo"].mindmap-node.section-root .text-inner-tspan, [data-look="neo"].mindmap-node.section-root span {
|
|
94
|
-
fill: ${l};
|
|
95
|
-
color: ${l};
|
|
96
|
-
}
|
|
97
|
-
${e.useGradient&&u&&e.mainBkg?Le(e.THEME_COLOR_LIMIT,u,e.mainBkg):""}
|
|
98
|
-
`},"getStyles"),ve=De,It={get db(){return new _e},renderer:xe,parser:Ee,styles:ve};export{It as diagram};
|
package/web/chunk-b9cjgxr1.js.br
DELETED
|
Binary file
|
package/web/chunk-b9cjgxr1.js.gz
DELETED
|
Binary file
|
package/web/chunk-baaattjv.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t,i,W,J}from"./chunk-sawc81kc.js";import{fe}from"./chunk-4ab1dv3g.js";var n={parse:t(async(r)=>{let e=await fe("info",r);i.debug(e)},"parse")},s={version:"12.2.0"},p=t(()=>s.version,"getVersion"),g={getVersion:p},m=t((r,e,o)=>{i.debug(`rendering info diagram
|
|
2
|
-
`+r);let a=J(e);W(a,100,400,!0),a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),v={draw:m},y={parser:n,db:g,renderer:v};export{y as diagram};
|
package/web/chunk-baaattjv.js.br
DELETED
|
Binary file
|
package/web/chunk-baaattjv.js.gz
DELETED
|
Binary file
|
package/web/chunk-bj9m08f9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{v,s,ee,o,a,m,e,n,b,hr,ya,ht,Kr,gt,Er,be,xe,ji,jc,qi}from"./chunk-6f1q0tjv.js";function le(d){let{Button:x,confirm:L,PageLayout:y,Switch:_,cn:F,style:z}=b(),{connection:f,onOpen:O}=d,[D,p]=a([]),[w,H]=a([]),[q,J]=a([]),[I,T]=a(),[B,U]=a([]),[A,V]=a(!0),[k,N]=a(),[C,R]=a(),[W,P]=a(!1),[G,c]=a({}),i=o(0),E=v(async()=>{let t=++i.current;try{let[r,l,u,g]=await Promise.all([f.request("/api/automations"),f.request("/api/projects").catch(()=>[]),f.request("/api/info").catch(()=>{return}),f.request("/api/models").catch(()=>({models:[]}))]),Z=[...new Set(r.flatMap((h)=>h.lastSessionID?[h.lastSessionID]:[]))],te=(await Promise.all(Z.map(async(h)=>f.request(`/api/sessions/${encodeURIComponent(h)}`).catch((j)=>{if(j instanceof Error&&"status"in j&&j.status===404)return;throw j})))).filter((h)=>h!==void 0);if(t!==i.current)return;if(p(r.sort((h,j)=>h.created-j.created)),H(l),J(te),T(u),g?.models)U(g.models.map((h)=>h.id));N(void 0)}catch(r){if(t===i.current)N(r instanceof Error?r.message:"加载失败")}finally{if(t===i.current)V(!1)}},[f]);s(()=>(E(),()=>{i.current++}),[E]);let S=(t)=>{R(t),P(!0)},Q=async(t)=>{c((r)=>({...r,[t.id]:!0}));try{let r=await f.request(`/api/automations/${t.id}/run`,{method:"POST"});O(r.id)}catch(r){N(r instanceof Error?r.message:"运行失败")}finally{c((r)=>({...r,[t.id]:!1}))}},X=async(t)=>{if(!await L({title:`删除自动化「${t.name}」?`,description:"已经跑出来的会话会保留。",action:"删除",danger:!0}))return;try{await f.request(`/api/automations/${t.id}`,{method:"DELETE"}),p((l)=>l.filter((u)=>u.id!==t.id))}catch(l){N(l instanceof Error?l.message:"删除失败")}},Y=async(t,r)=>{try{let l=await f.request(`/api/automations/${t.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({enabled:r})});p((u)=>u.map((g)=>g.id===t.id?l:g))}catch(l){N(l instanceof Error?l.message:"状态切换失败")}};return n(y,{title:"自动化",description:n(m,{children:["到点自动开一个新会话执行提示词,跑完的结果在会话里查看。",I?.timezone&&n("span",{className:"text-faint",children:["按服务器时区 ",I.timezone,"。"]})]}),actions:n(x,{variant:"primary",onClick:()=>S(null),children:[e(be,{className:"size-4"}),"新建"]}),children:[k&&e("div",{className:"mb-4 rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:k}),A?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载自动化…"}):D.length===0?n("div",{className:z("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(hr,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-md font-medium",children:"还没有自动化"}),e("p",{className:"mt-1 text-sm text-dim",children:"比如「每个工作日 9 点总结昨天的提交」。"})]}),n(x,{size:"sm",onClick:()=>S(null),className:"mt-1",children:[e(be,{className:"size-3.5"}),"新建自动化"]})]}):e("ul",{className:"flex animate-fade flex-col gap-3",children:D.map((t)=>{let r=t.projectID?w.find((g)=>g.id===t.projectID):void 0,l=t.lastSessionID?q.find((g)=>g.id===t.lastSessionID):void 0,u=Boolean(G[t.id]);return e("li",{children:n("article",{className:z("surface.card","group p-4 transition-[border-color,box-shadow] duration-200 hover:border-line-strong hover:shadow-composer"),children:[n("div",{className:"flex items-start gap-3",children:[n("div",{className:F("min-w-0 flex-1 transition-opacity duration-200",!t.enabled&&"opacity-55"),children:[e("h2",{className:"truncate text-md font-medium",children:t.name}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3.5 gap-y-1 text-ui text-dim",children:[n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(hr,{}),jc(t.schedule)]}),n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[r?e(ht,{}):e(Kr,{}),r?r.name:"聊天"]}),t.enabled&&t.nextRun!==null&&n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(ya,{}),"下次 ",qi(t.nextRun)]})]})]}),e(_,{checked:t.enabled,label:t.enabled?"停用":"启用",onCheckedChange:(g)=>Y(t,g),className:"mt-0.5"})]}),e("p",{className:F("mt-3 line-clamp-2 text-sm leading-6 whitespace-pre-wrap text-faint transition-opacity duration-200",!t.enabled&&"opacity-55"),children:t.prompt}),n("div",{className:"mt-3 -mb-1 flex items-center gap-1",children:[n(x,{size:"sm",onClick:()=>Q(t),disabled:u,children:[e(Er,{className:"size-3.5"}),u?"正在启动…":"立即运行"]}),n(x,{size:"sm",variant:"ghost",onClick:()=>S(t),children:[e(gt,{className:"size-3.5"}),"编辑"]}),n(x,{size:"sm",variant:"danger-ghost",onClick:()=>X(t),children:[e(xe,{className:"size-3.5"}),"删除"]}),e("div",{className:"flex-1"}),t.lastRun!==null&&n("button",{type:"button",disabled:!l,onClick:()=>l&&O(l.id),className:"rounded-md px-1.5 py-1 text-ui text-faint transition-colors enabled:hover:bg-raised enabled:hover:text-ink",children:["上次运行 ",qi(t.lastRun),l?.archivedAt!=null?" · 已归档":"",!l?" · 会话已删除":""]})]})]})},t.id)})}),C!==void 0&&e(ne,{open:W,onOpenChange:P,automation:C??void 0,projects:w,models:B,timezone:I?.timezone,onSaved:(t)=>{p((r)=>{let l=r.findIndex((u)=>u.id===t.id);if(l>=0){let u=[...r];return u[l]=t,u}return[...r,t].sort((u,g)=>u.created-g.created)}),P(!1)},connection:f},C?.id??"new")]})}var M="custom",K="chat";function ne(d){let{Button:x,Dialog:L,Field:y,Form:_,FormError:F,Input:z,Select:f,Textarea:O}=b(),D=ee(),p=d.automation,[w,H]=a(p?.name??""),[q,J]=a(p?.prompt??""),[I,T]=a(p?.schedule??ji[0]?.cron??"0 9 * * *"),[B,U]=a(()=>!ji.some((c)=>c.cron===I)),[A,V]=a(p?.projectID??K),[k,N]=a(p?.model??""),[C,R]=a(!1),[W,P]=a();async function G(c){c.preventDefault(),R(!0),P(void 0);try{let i=A===K?void 0:A,E={name:w,prompt:q,schedule:I,model:k||void 0},S;if(p)S=await d.connection.request(`/api/automations/${p.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:i??null})});else S=await d.connection.request("/api/automations",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:i})});d.onSaved(S)}catch(i){P(i instanceof Error?i.message:"保存失败")}finally{R(!1)}}return e(L,{open:d.open,onOpenChange:d.onOpenChange,title:d.automation?"编辑自动化":"新建自动化",size:"lg",footer:n(m,{children:[e("div",{className:"flex-1 max-sm:hidden"}),e(x,{onClick:()=>d.onOpenChange(!1),children:"取消"}),e(x,{type:"submit",form:D,variant:"primary",disabled:C,children:C?"正在保存…":d.automation?"保存":"创建"})]}),children:n(_,{id:D,onSubmit:G,children:[e(y,{label:"名称",children:(c)=>e(z,{id:c,autoFocus:!p,required:!0,value:w,onChange:(i)=>H(i.target.value),placeholder:"例如:每日提交总结"})}),e(y,{label:"提示词",hint:"没人盯着运行,写清楚要做什么、结果怎么汇报。",children:(c)=>e(O,{id:c,required:!0,value:q,onChange:(i)=>J(i.target.value),rows:5,placeholder:"总结昨天到现在的 git 提交,按模块分组,列出需要我关注的改动。"})}),n("div",{className:"grid gap-x-3 gap-y-4 sm:grid-cols-2",children:[e(y,{label:"时间",children:(c)=>e(f,{id:c,value:B?M:I,onValueChange:(i)=>{if(U(i===M),i!==M)T(i)},groups:[{options:ji.map((i)=>({value:i.cron,label:i.label}))},{options:[{value:M,label:"自定义(cron)"}]}]})}),e(y,{label:"在哪里运行",children:(c)=>e(f,{id:c,value:A,onValueChange:V,groups:[{options:[{value:K,label:"聊天",description:"不绑定目录",icon:e(Kr,{})}]},...d.projects.length?[{label:"项目",options:d.projects.map((i)=>({value:i.id,label:i.name,icon:e(ht,{})}))}]:[]]})})]}),B&&e(y,{label:"cron 表达式",hint:`分 时 日 月 周,例如 30 8 * * 1-5 是工作日 8:30。${d.timezone?`按 ${d.timezone} 时间。`:""}`,children:(c)=>e(z,{id:c,required:!0,value:I,onChange:(i)=>T(i.target.value),spellCheck:!1,className:"font-mono"})}),d.models.length>0&&e(y,{label:"模型",children:(c)=>e(f,{id:c,value:k||"default",onValueChange:(i)=>N(i==="default"?"":i),groups:[{options:[{value:"default",label:"默认模型"},...d.models.map((i)=>({value:i,label:i}))]}]})}),e(F,{children:W})]})})}export{le as AutomationsPage};
|
package/web/chunk-bj9m08f9.js.br
DELETED
|
Binary file
|
package/web/chunk-bj9m08f9.js.gz
DELETED
|
Binary file
|