@bkm016/basalt 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-1tbv5t08.js → chunk-03b5jh31.js} +1 -1
- package/{chunk-3sg32v3n.js → chunk-0x0459qp.js} +1 -1
- package/{chunk-nszq2z0w.js → chunk-16yz5ebn.js} +1 -1
- package/chunk-1kdd7xry.js +2 -0
- package/{chunk-cks36jdh.js → chunk-225dyk1y.js} +2 -2
- package/{chunk-v7da0aqn.js → chunk-2fymxwe7.js} +2 -2
- package/{chunk-mde2dd79.js → chunk-2m2sa0bp.js} +1 -1
- package/{chunk-fgjw0r6g.js → chunk-35y6nf6k.js} +4 -4
- package/chunk-3qxq264t.js +2 -0
- package/{chunk-cwrf78vs.js → chunk-3s8rpc1w.js} +2 -2
- package/{chunk-wj09qkyw.js → chunk-3t8wz9w8.js} +2 -2
- package/{chunk-gg3kfa12.js → chunk-43qf44t8.js} +2 -2
- package/chunk-49hsqsht.js +2 -0
- package/chunk-4fj91gt1.js +4 -0
- package/{chunk-tb3zsqe8.js → chunk-51a0843g.js} +1 -1
- package/{chunk-51pfvmhh.js → chunk-5h59tby8.js} +69 -69
- package/{chunk-bkhsva5n.js → chunk-5m51j40e.js} +3 -3
- package/{chunk-2fts9k52.js → chunk-5mt8xxex.js} +2 -2
- package/{chunk-5e7yegea.js → chunk-85sjfyjd.js} +1 -1
- package/chunk-97ntcrm7.js +2 -0
- package/{chunk-0bgg0hdd.js → chunk-9t3v8c3m.js} +1 -1
- package/{chunk-7kz9435k.js → chunk-9w1m9av8.js} +3 -3
- package/{chunk-d2f0hq8z.js → chunk-9x28stv0.js} +1 -1
- package/{chunk-c5pg2875.js → chunk-ak95r8mq.js} +254 -250
- package/{chunk-a1vdrgsh.js → chunk-bn1aaewd.js} +4 -4
- package/{chunk-agb771ak.js → chunk-c5ydt3vq.js} +2 -2
- package/{chunk-y83tnkr3.js → chunk-cjh5h31t.js} +2 -2
- package/{chunk-p0e82mee.js → chunk-cr0tqn6j.js} +2 -2
- package/{chunk-np2xnt1g.js → chunk-e8xywvv4.js} +2 -2
- package/{chunk-w6nc3jn7.js → chunk-ewaskman.js} +1 -1
- package/{chunk-w045zk55.js → chunk-feyt85gg.js} +1 -1
- package/{chunk-s8m4svhf.js → chunk-ftg4b5pa.js} +1 -1
- package/{chunk-s819vmwh.js → chunk-g6cc7ac1.js} +2 -2
- package/{chunk-5ja0vsam.js → chunk-gdx1j9c5.js} +3 -3
- package/{chunk-h2pp8mnh.js → chunk-h00wjps7.js} +1 -1
- package/{chunk-4dgqcp6q.js → chunk-h1fwdz4h.js} +1 -1
- package/{chunk-6en06hkk.js → chunk-hhxtc9jn.js} +1 -1
- package/chunk-hrn2ss1a.js +2 -0
- package/chunk-jhwb962k.js +15 -0
- package/{chunk-11xxfc0x.js → chunk-jpwr1sd2.js} +1 -1
- package/chunk-jy07y4pv.js +7 -0
- package/{chunk-0g8rtf05.js → chunk-k9x1r69s.js} +8 -8
- package/chunk-kb5h9rmb.js +2 -0
- package/{chunk-eps1epfr.js → chunk-kgnd32hn.js} +2 -2
- package/{chunk-w9fdcchk.js → chunk-kka12j10.js} +1 -1
- package/{chunk-1gaj43fx.js → chunk-kypdthjg.js} +1 -1
- package/{chunk-30bbdzma.js → chunk-m9386732.js} +12 -12
- package/{chunk-qxpx8dn6.js → chunk-np123myw.js} +3 -3
- package/chunk-ntntwtxn.js +5 -0
- package/{chunk-29g01nrz.js → chunk-qn70tm91.js} +5 -5
- package/{chunk-yk29stq0.js → chunk-qtgc74er.js} +2 -2
- package/{chunk-tp885r8h.js → chunk-qz6ybxjg.js} +9 -9
- package/chunk-r36b12zb.js +2 -0
- package/{chunk-as2mwf79.js → chunk-re8n2te5.js} +1 -1
- package/{chunk-y3vap4a1.js → chunk-rpbxbb92.js} +1 -1
- package/chunk-rqrjzz73.js +2 -0
- package/{chunk-tpetsqzt.js → chunk-scy1p7x2.js} +3 -3
- package/{chunk-svx7mz0w.js → chunk-sq5ppnr3.js} +3 -3
- package/{chunk-e3bgzeb3.js → chunk-syhhzr1j.js} +2 -2
- package/chunk-tmq8ktys.js +3 -0
- package/{chunk-sm9fpy18.js → chunk-ttv805sb.js} +8 -8
- package/{chunk-eyyxqb6y.js → chunk-v878x8zr.js} +2 -2
- package/{chunk-a2z1cy84.js → chunk-ve1b6vg6.js} +1 -1
- package/chunk-w3n8wm44.js +2 -0
- package/{chunk-z9p2ry9w.js → chunk-w3skxmvx.js} +2 -2
- package/chunk-wxzk086k.js +2 -0
- package/chunk-y8mf9tcj.js +25 -0
- package/{chunk-ewr51fwc.js → chunk-z4g2q36h.js} +1 -1
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +16 -16
- package/web/{chunk-mbpv2w5h.js → chunk-07dd0jed.js} +2 -2
- package/web/chunk-07dd0jed.js.br +0 -0
- package/web/chunk-07dd0jed.js.gz +0 -0
- package/web/{chunk-d7f85w1y.js → chunk-0hvyq55w.js} +1 -1
- package/web/chunk-0hvyq55w.js.br +0 -0
- package/web/chunk-0hvyq55w.js.gz +0 -0
- package/web/{chunk-ahdca62g.js → chunk-0q5drhbk.js} +1 -1
- package/web/chunk-0q5drhbk.js.br +0 -0
- package/web/chunk-0q5drhbk.js.gz +0 -0
- package/web/{chunk-zthww0ws.js → chunk-0w6ta3ps.js} +1 -1
- package/web/chunk-0w6ta3ps.js.br +0 -0
- package/web/chunk-0w6ta3ps.js.gz +0 -0
- package/web/{chunk-aw9bwd4w.js → chunk-16b5anw4.js} +2 -2
- package/web/chunk-16b5anw4.js.br +0 -0
- package/web/chunk-16b5anw4.js.gz +0 -0
- package/web/{chunk-53cg6pxm.js → chunk-21d8pzcm.js} +2 -2
- package/web/chunk-21d8pzcm.js.br +0 -0
- package/web/{chunk-53cg6pxm.js.gz → chunk-21d8pzcm.js.gz} +0 -0
- package/web/{chunk-72st75n7.js → chunk-2c4affp1.js} +3 -3
- package/web/chunk-2c4affp1.js.br +0 -0
- package/web/chunk-2c4affp1.js.gz +0 -0
- package/web/{chunk-1ghnag5v.js → chunk-2dykyq1n.js} +1 -1
- package/web/chunk-2dykyq1n.js.br +0 -0
- package/web/chunk-2dykyq1n.js.gz +0 -0
- package/web/{chunk-znrsm604.js → chunk-2h2w244w.js} +17 -17
- package/web/chunk-2h2w244w.js.br +0 -0
- package/web/chunk-2h2w244w.js.gz +0 -0
- package/web/{chunk-kdegb6pd.js → chunk-2hd51wb6.js} +5 -5
- package/web/chunk-2hd51wb6.js.br +0 -0
- package/web/chunk-2hd51wb6.js.gz +0 -0
- package/web/{chunk-2rnnvxa5.js → chunk-2tc6krye.js} +3 -3
- package/web/chunk-2tc6krye.js.br +0 -0
- package/web/chunk-2tc6krye.js.gz +0 -0
- package/web/{chunk-7h59ac2b.js → chunk-2w27acew.js} +1 -1
- package/web/chunk-2w27acew.js.br +0 -0
- package/web/chunk-2w27acew.js.gz +0 -0
- package/web/{chunk-gbcf0rdk.js → chunk-2w4rdnhj.js} +1 -1
- package/web/chunk-2w4rdnhj.js.br +0 -0
- package/web/chunk-2w4rdnhj.js.gz +0 -0
- package/web/{chunk-gj6bdv1y.js → chunk-31vxes2p.js} +9 -9
- package/web/chunk-31vxes2p.js.br +0 -0
- package/web/chunk-31vxes2p.js.gz +0 -0
- package/web/chunk-32qd2y5h.js +1 -0
- package/web/chunk-32qd2y5h.js.br +0 -0
- package/web/chunk-32qd2y5h.js.gz +0 -0
- package/web/{chunk-qx5ab39c.js → chunk-39kaz6fa.js} +2 -2
- package/web/chunk-39kaz6fa.js.br +0 -0
- package/web/chunk-39kaz6fa.js.gz +0 -0
- package/web/{chunk-mj8dzc8q.js → chunk-3d3y4tep.js} +5 -5
- package/web/chunk-3d3y4tep.js.br +0 -0
- package/web/chunk-3d3y4tep.js.gz +0 -0
- package/web/chunk-4makcmpw.js +1 -0
- package/web/chunk-4makcmpw.js.br +0 -0
- package/web/chunk-4makcmpw.js.gz +0 -0
- package/web/{chunk-1ps9fj5n.js → chunk-4zftsyq2.js} +2 -2
- package/web/chunk-4zftsyq2.js.br +0 -0
- package/web/chunk-4zftsyq2.js.gz +0 -0
- package/web/{chunk-bks2k04k.js → chunk-50wrjr22.js} +1 -1
- package/web/chunk-50wrjr22.js.br +0 -0
- package/web/chunk-50wrjr22.js.gz +0 -0
- package/web/{chunk-mhzqgzh0.js → chunk-55kw8p9r.js} +1 -1
- package/web/chunk-55kw8p9r.js.br +0 -0
- package/web/chunk-55kw8p9r.js.gz +0 -0
- package/web/{chunk-gpjytpyw.js → chunk-56tqa12m.js} +2 -2
- package/web/chunk-56tqa12m.js.br +0 -0
- package/web/chunk-56tqa12m.js.gz +0 -0
- package/web/{chunk-wbxz2bjb.js → chunk-595tqsv5.js} +1 -1
- package/web/chunk-595tqsv5.js.br +0 -0
- package/web/chunk-595tqsv5.js.gz +0 -0
- package/web/chunk-5h193k2c.js +1 -0
- package/web/chunk-5h193k2c.js.br +0 -0
- package/web/chunk-5h193k2c.js.gz +0 -0
- package/web/{chunk-k4pknkvp.js → chunk-5nbmnchg.js} +1 -1
- package/web/chunk-5nbmnchg.js.br +0 -0
- package/web/chunk-5nbmnchg.js.gz +0 -0
- package/web/{chunk-gk1bc3c3.js → chunk-5vc1wkwb.js} +1 -1
- package/web/chunk-5vc1wkwb.js.br +0 -0
- package/web/chunk-5vc1wkwb.js.gz +0 -0
- package/web/{chunk-tgeeggkh.js → chunk-5wgdprjp.js} +1 -1
- package/web/chunk-5wgdprjp.js.br +0 -0
- package/web/chunk-5wgdprjp.js.gz +0 -0
- package/web/{chunk-esckazz2.js → chunk-60fbfw70.js} +1 -1
- package/web/chunk-60fbfw70.js.br +0 -0
- package/web/chunk-60fbfw70.js.gz +0 -0
- package/web/{chunk-v5p2fds9.js → chunk-62z94rt2.js} +4 -4
- package/web/chunk-62z94rt2.js.br +0 -0
- package/web/chunk-62z94rt2.js.gz +0 -0
- package/web/chunk-67khfy00.css +1 -0
- package/web/chunk-67khfy00.css.br +0 -0
- package/web/chunk-67khfy00.css.gz +0 -0
- package/web/chunk-6bt2t0xt.js +8 -0
- package/web/chunk-6bt2t0xt.js.br +0 -0
- package/web/chunk-6bt2t0xt.js.gz +0 -0
- package/web/{chunk-h1c0m3g4.js → chunk-780qvh05.js} +3 -3
- package/web/chunk-780qvh05.js.br +0 -0
- package/web/chunk-780qvh05.js.gz +0 -0
- package/web/{chunk-k6fwzn0z.js → chunk-78t5dqea.js} +1 -1
- package/web/chunk-78t5dqea.js.br +0 -0
- package/web/chunk-78t5dqea.js.gz +0 -0
- package/web/chunk-7edmyret.js +1 -0
- package/web/chunk-7edmyret.js.br +0 -0
- package/web/chunk-7edmyret.js.gz +0 -0
- package/web/{chunk-cmhxtckb.js → chunk-7remkcff.js} +1 -1
- package/web/chunk-7remkcff.js.br +0 -0
- package/web/chunk-7remkcff.js.gz +0 -0
- package/web/chunk-7s062q01.js +1 -0
- package/web/chunk-7s062q01.js.br +0 -0
- package/web/chunk-7s062q01.js.gz +0 -0
- package/web/chunk-82zwwy0b.js +1 -0
- package/web/chunk-82zwwy0b.js.br +0 -0
- package/web/chunk-82zwwy0b.js.gz +0 -0
- package/web/{chunk-wa8wr2y9.js → chunk-8c6h952g.js} +9 -9
- package/web/chunk-8c6h952g.js.br +0 -0
- package/web/chunk-8c6h952g.js.gz +0 -0
- package/web/chunk-8wgev3hd.js +1 -0
- package/web/chunk-8wgev3hd.js.br +0 -0
- package/web/chunk-8wgev3hd.js.gz +0 -0
- package/web/chunk-9vcbnf1m.js +1 -0
- package/web/chunk-9vcbnf1m.js.br +0 -0
- package/web/chunk-9vcbnf1m.js.gz +0 -0
- package/web/{chunk-kedjfh66.js → chunk-abahqsws.js} +1 -1
- package/web/chunk-abahqsws.js.br +0 -0
- package/web/chunk-abahqsws.js.gz +0 -0
- package/web/{chunk-vhpzp7zd.js → chunk-acv6gk2b.js} +1 -1
- package/web/chunk-acv6gk2b.js.br +0 -0
- package/web/chunk-acv6gk2b.js.gz +0 -0
- package/web/{chunk-bg0qgabv.js → chunk-ajpzsx51.js} +1 -1
- package/web/chunk-ajpzsx51.js.br +0 -0
- package/web/chunk-ajpzsx51.js.gz +0 -0
- package/web/chunk-b1b9txvk.js +1 -0
- package/web/chunk-b1b9txvk.js.br +0 -0
- package/web/chunk-b1b9txvk.js.gz +0 -0
- package/web/{chunk-qjg6dw46.js → chunk-b83bzjcx.js} +73 -73
- package/web/chunk-b83bzjcx.js.br +0 -0
- package/web/chunk-b83bzjcx.js.gz +0 -0
- package/web/{chunk-v6snw1sw.js → chunk-c1zhat04.js} +1 -1
- package/web/chunk-c1zhat04.js.br +0 -0
- package/web/chunk-c1zhat04.js.gz +0 -0
- package/web/{chunk-186rp10x.js → chunk-c37hhmtd.js} +1 -1
- package/web/chunk-c37hhmtd.js.br +0 -0
- package/web/chunk-c37hhmtd.js.gz +0 -0
- package/web/{chunk-wvqcbp4a.js → chunk-c69t0ysj.js} +1 -1
- package/web/chunk-c69t0ysj.js.br +0 -0
- package/web/chunk-c69t0ysj.js.gz +0 -0
- package/web/chunk-caz85hz4.js +1 -0
- package/web/chunk-caz85hz4.js.br +0 -0
- package/web/chunk-caz85hz4.js.gz +0 -0
- package/web/{chunk-6n1ha6ta.js → chunk-cbtpaf3e.js} +1 -1
- package/web/chunk-cbtpaf3e.js.br +0 -0
- package/web/chunk-cbtpaf3e.js.gz +0 -0
- package/web/{chunk-dmhezjv3.js → chunk-d1gga18f.js} +4 -4
- package/web/chunk-d1gga18f.js.br +0 -0
- package/web/chunk-d1gga18f.js.gz +0 -0
- package/web/{chunk-q0srq8g5.js → chunk-d4kjy2qn.js} +1 -1
- package/web/chunk-d4kjy2qn.js.br +0 -0
- package/web/chunk-d4kjy2qn.js.gz +0 -0
- package/web/{chunk-v2bkkhb8.js → chunk-dbv8qpen.js} +41 -41
- package/web/chunk-dbv8qpen.js.br +0 -0
- package/web/chunk-dbv8qpen.js.gz +0 -0
- package/web/{chunk-37hmswdk.js → chunk-e6r1sb5r.js} +5 -5
- package/web/chunk-e6r1sb5r.js.br +0 -0
- package/web/chunk-e6r1sb5r.js.gz +0 -0
- package/web/chunk-ep5qff8m.js +1 -0
- package/web/chunk-ep5qff8m.js.br +0 -0
- package/web/chunk-ep5qff8m.js.gz +0 -0
- package/web/{chunk-c28crzwk.js → chunk-ex66t805.js} +1 -1
- package/web/chunk-ex66t805.js.br +0 -0
- package/web/chunk-ex66t805.js.gz +0 -0
- package/web/chunk-fb8qtyqg.js +1 -0
- package/web/chunk-fb8qtyqg.js.br +0 -0
- package/web/chunk-fb8qtyqg.js.gz +0 -0
- package/web/{chunk-vpbnyz43.js → chunk-fbzhgaak.js} +1 -1
- package/web/chunk-fbzhgaak.js.br +0 -0
- package/web/chunk-fbzhgaak.js.gz +0 -0
- package/web/{chunk-9n1nsdqs.js → chunk-ffwyfdg4.js} +1 -1
- package/web/chunk-ffwyfdg4.js.br +0 -0
- package/web/chunk-ffwyfdg4.js.gz +0 -0
- package/web/{chunk-0tcmnvab.js → chunk-fsz1msjr.js} +1 -1
- package/web/chunk-fsz1msjr.js.br +0 -0
- package/web/chunk-fsz1msjr.js.gz +0 -0
- package/web/{chunk-nb58m79v.js → chunk-fztzcy7c.js} +1 -1
- package/web/chunk-fztzcy7c.js.br +0 -0
- package/web/chunk-fztzcy7c.js.gz +0 -0
- package/web/chunk-g4st8a4e.js +1 -0
- package/web/chunk-g4st8a4e.js.br +0 -0
- package/web/chunk-g4st8a4e.js.gz +0 -0
- package/web/{chunk-82q4e8ff.js → chunk-gs41j1vb.js} +1 -1
- package/web/chunk-gs41j1vb.js.br +0 -0
- package/web/chunk-gs41j1vb.js.gz +0 -0
- package/web/{chunk-dmzvhbpn.js → chunk-gt4dzb4b.js} +3 -3
- package/web/chunk-gt4dzb4b.js.br +0 -0
- package/web/chunk-gt4dzb4b.js.gz +0 -0
- package/web/{chunk-1yvcxpp2.js → chunk-h4g8j133.js} +4 -4
- package/web/chunk-h4g8j133.js.br +0 -0
- package/web/chunk-h4g8j133.js.gz +0 -0
- package/web/chunk-ht3cek8b.js +1 -0
- package/web/chunk-ht3cek8b.js.br +2 -0
- package/web/chunk-ht3cek8b.js.gz +0 -0
- package/web/{chunk-3fd6mgf0.js → chunk-hw4f79k8.js} +1 -1
- package/web/chunk-hw4f79k8.js.br +0 -0
- package/web/chunk-hw4f79k8.js.gz +0 -0
- package/web/{chunk-js940jjj.js → chunk-j2y3wkxc.js} +4 -4
- package/web/chunk-j2y3wkxc.js.br +0 -0
- package/web/chunk-j2y3wkxc.js.gz +0 -0
- package/web/{chunk-vh2prc6k.js → chunk-j7sfcfxr.js} +1 -1
- package/web/chunk-j7sfcfxr.js.br +0 -0
- package/web/chunk-j7sfcfxr.js.gz +0 -0
- package/web/{chunk-ye7vge7s.js → chunk-jge5e8c4.js} +1 -1
- package/web/chunk-jge5e8c4.js.br +0 -0
- package/web/chunk-jge5e8c4.js.gz +0 -0
- package/web/chunk-jyjgvcac.js +2 -0
- package/web/chunk-jyjgvcac.js.br +0 -0
- package/web/chunk-jyjgvcac.js.gz +0 -0
- package/web/chunk-k9bzz441.js +1 -0
- package/web/chunk-k9bzz441.js.br +0 -0
- package/web/chunk-k9bzz441.js.gz +0 -0
- package/web/{chunk-e2z3kdhw.js → chunk-keway722.js} +3 -3
- package/web/chunk-keway722.js.br +0 -0
- package/web/chunk-keway722.js.gz +0 -0
- package/web/{chunk-ezj5rjqr.js → chunk-kr7shpnb.js} +1 -1
- package/web/chunk-kr7shpnb.js.br +0 -0
- package/web/chunk-kr7shpnb.js.gz +0 -0
- package/web/chunk-kv5swske.js +1 -0
- package/web/chunk-kv5swske.js.br +0 -0
- package/web/chunk-kv5swske.js.gz +0 -0
- package/web/{chunk-a8qe7kvz.js → chunk-kx2k462h.js} +1 -1
- package/web/chunk-kx2k462h.js.br +0 -0
- package/web/chunk-kx2k462h.js.gz +0 -0
- package/web/{chunk-recfg8af.js → chunk-m5b7hny2.js} +1 -1
- package/web/chunk-m5b7hny2.js.br +0 -0
- package/web/chunk-m5b7hny2.js.gz +0 -0
- package/web/{chunk-vxadngbp.js → chunk-m7kypzvp.js} +1 -1
- package/web/chunk-m7kypzvp.js.br +0 -0
- package/web/chunk-m7kypzvp.js.gz +0 -0
- package/web/{chunk-mwfrxgbs.js → chunk-n00se8nk.js} +1 -1
- package/web/chunk-n00se8nk.js.br +0 -0
- package/web/chunk-n00se8nk.js.gz +0 -0
- package/web/{chunk-hqt1f3fm.js → chunk-ngdj0r7w.js} +1 -1
- package/web/chunk-ngdj0r7w.js.br +0 -0
- package/web/chunk-ngdj0r7w.js.gz +0 -0
- package/web/{chunk-zbzgd8kn.js → chunk-p6ma361e.js} +1 -1
- package/web/chunk-p6ma361e.js.br +0 -0
- package/web/chunk-p6ma361e.js.gz +0 -0
- package/web/{chunk-1ratg1jd.js → chunk-pvhz0gqy.js} +1 -1
- package/web/chunk-pvhz0gqy.js.br +0 -0
- package/web/chunk-pvhz0gqy.js.gz +0 -0
- package/web/chunk-q96eky9v.js +1 -0
- package/web/chunk-q96eky9v.js.br +0 -0
- package/web/chunk-q96eky9v.js.gz +0 -0
- package/web/{chunk-1cwyy3gh.js → chunk-qcgs1mft.js} +1 -1
- package/web/chunk-qcgs1mft.js.br +0 -0
- package/web/chunk-qcgs1mft.js.gz +0 -0
- package/web/{chunk-hwxj58j5.js → chunk-qh24q7c0.js} +1 -1
- package/web/chunk-qh24q7c0.js.br +0 -0
- package/web/chunk-qh24q7c0.js.gz +0 -0
- package/web/chunk-r1xksxab.js +1 -0
- package/web/chunk-r1xksxab.js.br +0 -0
- package/web/chunk-r1xksxab.js.gz +0 -0
- package/web/{chunk-fjrgg82c.js → chunk-rsc5k5he.js} +4 -4
- package/web/chunk-rsc5k5he.js.br +0 -0
- package/web/chunk-rsc5k5he.js.gz +0 -0
- package/web/{chunk-apr33amc.js → chunk-s7a2f62f.js} +1 -1
- package/web/chunk-s7a2f62f.js.br +0 -0
- package/web/chunk-s7a2f62f.js.gz +0 -0
- package/web/{chunk-0h0whn75.js → chunk-sac6fn9n.js} +1 -1
- package/web/chunk-sac6fn9n.js.br +0 -0
- package/web/chunk-sac6fn9n.js.gz +0 -0
- package/web/{chunk-6a3wt5c5.js → chunk-t0xjx21h.js} +3 -3
- package/web/chunk-t0xjx21h.js.br +0 -0
- package/web/chunk-t0xjx21h.js.gz +0 -0
- package/web/{chunk-tg3f9xmp.js → chunk-v7ck87jf.js} +1 -1
- package/web/chunk-v7ck87jf.js.br +0 -0
- package/web/chunk-v7ck87jf.js.gz +0 -0
- package/web/{chunk-jmnzcm1f.js → chunk-vvk9nche.js} +4 -4
- package/web/chunk-vvk9nche.js.br +0 -0
- package/web/chunk-vvk9nche.js.gz +0 -0
- package/web/chunk-vxtfen72.js +1 -0
- package/web/chunk-vxtfen72.js.br +0 -0
- package/web/chunk-vxtfen72.js.gz +0 -0
- package/web/{chunk-81xbfpbq.js → chunk-w5c2r59n.js} +1 -1
- package/web/chunk-w5c2r59n.js.br +0 -0
- package/web/chunk-w5c2r59n.js.gz +0 -0
- package/web/{chunk-08w40agf.js → chunk-wh0vt2vd.js} +7 -7
- package/web/chunk-wh0vt2vd.js.br +0 -0
- package/web/chunk-wh0vt2vd.js.gz +0 -0
- package/web/chunk-xe7fj72r.js +1 -0
- package/web/chunk-xe7fj72r.js.br +0 -0
- package/web/chunk-xe7fj72r.js.gz +0 -0
- package/web/{chunk-59h87pvn.js → chunk-yarsp7h7.js} +1 -1
- package/web/chunk-yarsp7h7.js.br +0 -0
- package/web/chunk-yarsp7h7.js.gz +0 -0
- package/web/{chunk-x2hxq5yr.js → chunk-yw5wyz1q.js} +1 -1
- package/web/chunk-yw5wyz1q.js.br +0 -0
- package/web/chunk-yw5wyz1q.js.gz +0 -0
- package/web/chunk-z3ea4vhk.js +1 -0
- package/web/chunk-z3ea4vhk.js.br +0 -0
- package/web/chunk-z3ea4vhk.js.gz +0 -0
- package/web/{chunk-6pbhqbv0.js → chunk-z7adzvfz.js} +1 -1
- package/web/chunk-z7adzvfz.js.br +0 -0
- package/web/chunk-z7adzvfz.js.gz +0 -0
- package/web/{chunk-mh3nkkpx.js → chunk-zb01zmms.js} +6 -6
- package/web/chunk-zb01zmms.js.br +0 -0
- package/web/chunk-zb01zmms.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-0wwd4q6h.js +0 -5
- package/chunk-204c01mz.js +0 -25
- package/chunk-4wc2gbhe.js +0 -2
- package/chunk-5tsfqsmf.js +0 -2
- package/chunk-6hatfwsq.js +0 -2
- package/chunk-78ky455y.js +0 -4
- package/chunk-8mqaq042.js +0 -2
- package/chunk-g9hsrrj5.js +0 -2
- package/chunk-gpceyezp.js +0 -2
- package/chunk-h4n0gg11.js +0 -2
- package/chunk-jzya0e5n.js +0 -7
- package/chunk-ncb0tyaw.js +0 -2
- package/chunk-tpeg9fkd.js +0 -2
- package/chunk-v0mw006s.js +0 -15
- package/chunk-ys2fds2x.js +0 -3
- package/chunk-yshdvnsp.js +0 -2
- package/web/chunk-08w40agf.js.br +0 -0
- package/web/chunk-08w40agf.js.gz +0 -0
- package/web/chunk-0bfypmyv.js +0 -1
- package/web/chunk-0bfypmyv.js.br +0 -2
- package/web/chunk-0bfypmyv.js.gz +0 -0
- package/web/chunk-0h0whn75.js.br +0 -0
- package/web/chunk-0h0whn75.js.gz +0 -0
- package/web/chunk-0pzs9k06.js +0 -1
- package/web/chunk-0pzs9k06.js.br +0 -0
- package/web/chunk-0pzs9k06.js.gz +0 -0
- package/web/chunk-0tcmnvab.js.br +0 -0
- package/web/chunk-0tcmnvab.js.gz +0 -0
- package/web/chunk-186rp10x.js.br +0 -0
- package/web/chunk-186rp10x.js.gz +0 -0
- package/web/chunk-1cwyy3gh.js.br +0 -0
- package/web/chunk-1cwyy3gh.js.gz +0 -0
- package/web/chunk-1ecsxh85.js +0 -1
- package/web/chunk-1ecsxh85.js.br +0 -0
- package/web/chunk-1ecsxh85.js.gz +0 -0
- package/web/chunk-1ghnag5v.js.br +0 -0
- package/web/chunk-1ghnag5v.js.gz +0 -0
- package/web/chunk-1ps9fj5n.js.br +0 -0
- package/web/chunk-1ps9fj5n.js.gz +0 -0
- package/web/chunk-1ratg1jd.js.br +0 -0
- package/web/chunk-1ratg1jd.js.gz +0 -0
- package/web/chunk-1yvcxpp2.js.br +0 -0
- package/web/chunk-1yvcxpp2.js.gz +0 -0
- package/web/chunk-2r3w0pt0.js +0 -8
- package/web/chunk-2r3w0pt0.js.br +0 -0
- package/web/chunk-2r3w0pt0.js.gz +0 -0
- package/web/chunk-2rnnvxa5.js.br +0 -0
- package/web/chunk-2rnnvxa5.js.gz +0 -0
- package/web/chunk-2stffcvc.js +0 -1
- package/web/chunk-2stffcvc.js.br +0 -0
- package/web/chunk-2stffcvc.js.gz +0 -0
- package/web/chunk-2svqgkqw.js +0 -1
- package/web/chunk-2svqgkqw.js.br +0 -0
- package/web/chunk-2svqgkqw.js.gz +0 -0
- package/web/chunk-37hmswdk.js.br +0 -0
- package/web/chunk-37hmswdk.js.gz +0 -0
- package/web/chunk-3fd6mgf0.js.br +0 -0
- package/web/chunk-3fd6mgf0.js.gz +0 -0
- package/web/chunk-53cg6pxm.js.br +0 -0
- package/web/chunk-59h87pvn.js.br +0 -0
- package/web/chunk-59h87pvn.js.gz +0 -0
- package/web/chunk-6a3wt5c5.js.br +0 -0
- package/web/chunk-6a3wt5c5.js.gz +0 -0
- package/web/chunk-6n1ha6ta.js.br +0 -0
- package/web/chunk-6n1ha6ta.js.gz +0 -0
- package/web/chunk-6pbhqbv0.js.br +0 -0
- package/web/chunk-6pbhqbv0.js.gz +0 -0
- package/web/chunk-72st75n7.js.br +0 -0
- package/web/chunk-72st75n7.js.gz +0 -0
- package/web/chunk-7h59ac2b.js.br +0 -0
- package/web/chunk-7h59ac2b.js.gz +0 -0
- package/web/chunk-81xbfpbq.js.br +0 -0
- package/web/chunk-81xbfpbq.js.gz +0 -0
- package/web/chunk-82q4e8ff.js.br +0 -0
- package/web/chunk-82q4e8ff.js.gz +0 -0
- package/web/chunk-89e8629e.js +0 -1
- package/web/chunk-89e8629e.js.br +0 -0
- package/web/chunk-89e8629e.js.gz +0 -0
- package/web/chunk-9n1nsdqs.js.br +0 -0
- package/web/chunk-9n1nsdqs.js.gz +0 -0
- package/web/chunk-a8qe7kvz.js.br +0 -0
- package/web/chunk-a8qe7kvz.js.gz +0 -0
- package/web/chunk-ahdca62g.js.br +0 -0
- package/web/chunk-ahdca62g.js.gz +0 -0
- package/web/chunk-apr33amc.js.br +0 -0
- package/web/chunk-apr33amc.js.gz +0 -0
- package/web/chunk-aw9bwd4w.js.br +0 -0
- package/web/chunk-aw9bwd4w.js.gz +0 -0
- package/web/chunk-bg0qgabv.js.br +0 -0
- package/web/chunk-bg0qgabv.js.gz +0 -0
- package/web/chunk-bks2k04k.js.br +0 -0
- package/web/chunk-bks2k04k.js.gz +0 -0
- package/web/chunk-c28crzwk.js.br +0 -0
- package/web/chunk-c28crzwk.js.gz +0 -0
- package/web/chunk-cmhxtckb.js.br +0 -0
- package/web/chunk-cmhxtckb.js.gz +0 -0
- package/web/chunk-d7f85w1y.js.br +0 -0
- package/web/chunk-d7f85w1y.js.gz +0 -0
- package/web/chunk-dmhezjv3.js.br +0 -0
- package/web/chunk-dmhezjv3.js.gz +0 -0
- package/web/chunk-dmzvhbpn.js.br +0 -0
- package/web/chunk-dmzvhbpn.js.gz +0 -0
- package/web/chunk-e2z3kdhw.js.br +0 -0
- package/web/chunk-e2z3kdhw.js.gz +0 -0
- package/web/chunk-eqmghkwh.js +0 -1
- package/web/chunk-eqmghkwh.js.br +0 -0
- package/web/chunk-eqmghkwh.js.gz +0 -0
- package/web/chunk-esckazz2.js.br +0 -0
- package/web/chunk-esckazz2.js.gz +0 -0
- package/web/chunk-ezj5rjqr.js.br +0 -0
- package/web/chunk-ezj5rjqr.js.gz +0 -0
- package/web/chunk-fjrgg82c.js.br +0 -0
- package/web/chunk-fjrgg82c.js.gz +0 -0
- package/web/chunk-gbcf0rdk.js.br +0 -0
- package/web/chunk-gbcf0rdk.js.gz +0 -0
- package/web/chunk-gj6bdv1y.js.br +0 -0
- package/web/chunk-gj6bdv1y.js.gz +0 -0
- package/web/chunk-gk1bc3c3.js.br +0 -0
- package/web/chunk-gk1bc3c3.js.gz +0 -0
- package/web/chunk-gpjytpyw.js.br +0 -0
- package/web/chunk-gpjytpyw.js.gz +0 -0
- package/web/chunk-h1c0m3g4.js.br +0 -0
- package/web/chunk-h1c0m3g4.js.gz +0 -0
- package/web/chunk-h1qv0cpd.css +0 -1
- package/web/chunk-h1qv0cpd.css.br +0 -0
- package/web/chunk-h1qv0cpd.css.gz +0 -0
- package/web/chunk-hq7e5xgd.js +0 -1
- package/web/chunk-hq7e5xgd.js.br +0 -0
- package/web/chunk-hq7e5xgd.js.gz +0 -0
- package/web/chunk-hqt1f3fm.js.br +0 -0
- package/web/chunk-hqt1f3fm.js.gz +0 -0
- package/web/chunk-hwxj58j5.js.br +0 -0
- package/web/chunk-hwxj58j5.js.gz +0 -0
- package/web/chunk-hxzb25a8.js +0 -1
- package/web/chunk-hxzb25a8.js.br +0 -0
- package/web/chunk-hxzb25a8.js.gz +0 -0
- package/web/chunk-jmnzcm1f.js.br +0 -0
- package/web/chunk-jmnzcm1f.js.gz +0 -0
- package/web/chunk-js940jjj.js.br +0 -0
- package/web/chunk-js940jjj.js.gz +0 -0
- package/web/chunk-jy9vkfbf.js +0 -1
- package/web/chunk-jy9vkfbf.js.br +0 -0
- package/web/chunk-jy9vkfbf.js.gz +0 -0
- package/web/chunk-k4pknkvp.js.br +0 -0
- package/web/chunk-k4pknkvp.js.gz +0 -0
- package/web/chunk-k6fwzn0z.js.br +0 -0
- package/web/chunk-k6fwzn0z.js.gz +0 -0
- package/web/chunk-kdegb6pd.js.br +0 -0
- package/web/chunk-kdegb6pd.js.gz +0 -0
- package/web/chunk-kedjfh66.js.br +0 -0
- package/web/chunk-kedjfh66.js.gz +0 -0
- package/web/chunk-mbpv2w5h.js.br +0 -0
- package/web/chunk-mbpv2w5h.js.gz +0 -0
- package/web/chunk-mh3nkkpx.js.br +0 -0
- package/web/chunk-mh3nkkpx.js.gz +0 -0
- package/web/chunk-mhzqgzh0.js.br +0 -0
- package/web/chunk-mhzqgzh0.js.gz +0 -0
- package/web/chunk-mj8dzc8q.js.br +0 -0
- package/web/chunk-mj8dzc8q.js.gz +0 -0
- package/web/chunk-mwfrxgbs.js.br +0 -0
- package/web/chunk-mwfrxgbs.js.gz +0 -0
- package/web/chunk-nb58m79v.js.br +0 -0
- package/web/chunk-nb58m79v.js.gz +0 -0
- package/web/chunk-nsna2v2r.js +0 -1
- package/web/chunk-nsna2v2r.js.br +0 -0
- package/web/chunk-nsna2v2r.js.gz +0 -0
- package/web/chunk-nxdp58nf.js +0 -1
- package/web/chunk-nxdp58nf.js.br +0 -0
- package/web/chunk-nxdp58nf.js.gz +0 -0
- package/web/chunk-nytgs01h.js +0 -1
- package/web/chunk-nytgs01h.js.br +0 -0
- package/web/chunk-nytgs01h.js.gz +0 -0
- package/web/chunk-pkxn54jm.js +0 -1
- package/web/chunk-pkxn54jm.js.br +0 -0
- package/web/chunk-pkxn54jm.js.gz +0 -0
- package/web/chunk-q0srq8g5.js.br +0 -0
- package/web/chunk-q0srq8g5.js.gz +0 -0
- package/web/chunk-qjg6dw46.js.br +0 -0
- package/web/chunk-qjg6dw46.js.gz +0 -0
- package/web/chunk-qjjxevxe.js +0 -1
- package/web/chunk-qjjxevxe.js.br +0 -0
- package/web/chunk-qjjxevxe.js.gz +0 -0
- package/web/chunk-qx5ab39c.js.br +0 -0
- package/web/chunk-qx5ab39c.js.gz +0 -0
- package/web/chunk-recfg8af.js.br +0 -0
- package/web/chunk-recfg8af.js.gz +0 -0
- package/web/chunk-tg3f9xmp.js.br +0 -0
- package/web/chunk-tg3f9xmp.js.gz +0 -0
- package/web/chunk-tgeeggkh.js.br +0 -0
- package/web/chunk-tgeeggkh.js.gz +0 -0
- package/web/chunk-v2bkkhb8.js.br +0 -0
- package/web/chunk-v2bkkhb8.js.gz +0 -0
- package/web/chunk-v5p2fds9.js.br +0 -0
- package/web/chunk-v5p2fds9.js.gz +0 -0
- package/web/chunk-v6snw1sw.js.br +0 -0
- package/web/chunk-v6snw1sw.js.gz +0 -0
- package/web/chunk-veadbga2.js +0 -1
- package/web/chunk-veadbga2.js.br +0 -2
- package/web/chunk-veadbga2.js.gz +0 -0
- package/web/chunk-vh2prc6k.js.br +0 -0
- package/web/chunk-vh2prc6k.js.gz +0 -0
- package/web/chunk-vhpzp7zd.js.br +0 -0
- package/web/chunk-vhpzp7zd.js.gz +0 -0
- package/web/chunk-vpbnyz43.js.br +0 -0
- package/web/chunk-vpbnyz43.js.gz +0 -0
- package/web/chunk-vxadngbp.js.br +0 -3
- package/web/chunk-vxadngbp.js.gz +0 -0
- package/web/chunk-wa8wr2y9.js.br +0 -0
- package/web/chunk-wa8wr2y9.js.gz +0 -0
- package/web/chunk-wbxz2bjb.js.br +0 -0
- package/web/chunk-wbxz2bjb.js.gz +0 -0
- package/web/chunk-wgzatts8.js +0 -1
- package/web/chunk-wgzatts8.js.br +0 -0
- package/web/chunk-wgzatts8.js.gz +0 -0
- package/web/chunk-whczyxqw.js +0 -1
- package/web/chunk-whczyxqw.js.br +0 -0
- package/web/chunk-whczyxqw.js.gz +0 -0
- package/web/chunk-wmzz2crn.js +0 -1
- package/web/chunk-wmzz2crn.js.br +0 -0
- package/web/chunk-wmzz2crn.js.gz +0 -0
- package/web/chunk-wvqcbp4a.js.br +0 -0
- package/web/chunk-wvqcbp4a.js.gz +0 -0
- package/web/chunk-x2hxq5yr.js.br +0 -0
- package/web/chunk-x2hxq5yr.js.gz +0 -0
- package/web/chunk-x8bnp6vr.js +0 -1
- package/web/chunk-x8bnp6vr.js.br +0 -0
- package/web/chunk-x8bnp6vr.js.gz +0 -0
- package/web/chunk-xvmzsftt.js +0 -2
- package/web/chunk-xvmzsftt.js.br +0 -0
- package/web/chunk-xvmzsftt.js.gz +0 -0
- package/web/chunk-ye7vge7s.js.br +0 -0
- package/web/chunk-ye7vge7s.js.gz +0 -0
- package/web/chunk-zbzgd8kn.js.br +0 -0
- package/web/chunk-zbzgd8kn.js.gz +0 -0
- package/web/chunk-zhwqscat.js +0 -1
- package/web/chunk-zhwqscat.js.br +0 -0
- package/web/chunk-zhwqscat.js.gz +0 -0
- package/web/chunk-znrsm604.js.br +0 -0
- package/web/chunk-znrsm604.js.gz +0 -0
- package/web/chunk-zthww0ws.js.br +0 -0
- package/web/chunk-zthww0ws.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,a,Ie,
|
|
1
|
+
import{t,a,Ie,at,k,A,R,I,L,D,P,N,u,ur,Mr,h,Ut,jt,F,bt,De,Te,Ee,Lt,Xa,ze,Ue}from"./chunk-dbv8qpen.js";import{In}from"./chunk-p6ma361e.js";import{Ct}from"./chunk-5nbmnchg.js";import{Dn}from"./chunk-jyjgvcac.js";import{Fe}from"./chunk-2dykyq1n.js";import{Le}from"./chunk-acv6gk2b.js";var k1="flowchart-",g1=class{constructor(){this.vertexCounter=0,this.config=u(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=R,this.setAccDescription=L,this.setDiagramTitle=P,this.getAccTitle=I,this.getAccDescription=D,this.getDiagramTitle=N,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"FlowDB")}sanitizeText(e){return k.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let r of this.vertices.values())if(r.id===e)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,r,n,o,c,m,p={},T){if(!e||e.trim().length===0)return;let f;if(T!==void 0){let y;if(!T.includes(`
|
|
2
2
|
`))y=`{
|
|
3
3
|
`+T+`
|
|
4
4
|
}`;else y=T+`
|
|
@@ -6,12 +6,12 @@ import{t,a,Ie,rt,k,A,R,I,L,D,P,M,u,ur,Nr,h,Ut,jt,F,bt,De,Te,Ee,Lt,Xa,ze,Ue}from"
|
|
|
6
6
|
|
|
7
7
|
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
8
|
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
-
You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,r,n){let o=this.isLinkData(n)?n.id.replace("@",""):void 0;a.info("addLink",e,r,o);for(let c of e)for(let m of r){let p=c===e[e.length-1],T=m===r[0];if(p&&T)this.addSingleLink(c,m,n,o);else this.addSingleLink(c,m,n,void 0)}}updateLinkInterpolate(e,r){e.forEach((n)=>{if(n==="default")this.edges.defaultInterpolate=r;else this.edges[n].interpolate=r})}updateLink(e,r){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=r;else if(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((o)=>o?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,r){let n=r.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let c=this.classes.get(o);if(c===void 0)c={id:o,styles:[],textStyles:[]},this.classes.set(o,c);if(n!==void 0&&n!==null)n.forEach((m)=>{if(/color/.exec(m)){let p=m.replace("fill","bgFill");c.textStyles.push(p)}c.styles.push(m)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,r){for(let n of e.split(",")){let o=this.vertices.get(n);if(o)o.classes.push(r);let c=this.edges.find((p)=>p.id===n);if(c)c.classes.push(r);let m=this.subGraphLookup.get(n);if(m)m.classes.push(r)}}setTooltip(e,r){if(r===void 0)return;r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}setClickFun(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let o=[];if(typeof n==="string"){o=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m<o.length;m++){let p=o[m].trim();if(p.startsWith('"')&&p.endsWith('"'))p=p.substr(1,p.length-2);o[m]=p}}if(o.length===0)o.push(e);let c=this.vertices.get(e);if(c)c.haveCallback=!0,this.funs.push(()=>{let m=this.lookUpDomId(e),p=document.querySelector(`[id="${m}"]`);if(p!==null)p.addEventListener("click",()=>{F.runFunc(r,...o)},!1)})}setLink(e,r,n){e.split(",").forEach((o)=>{let c=this.vertices.get(o);if(c!==void 0)c.link=F.formatUrl(r,this.config),c.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach((o)=>{this.setClickFun(o,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((r)=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let r=In();h(e).select("svg").selectAll("g.node").on("mouseover",(c)=>{let m=h(c.currentTarget),p=m.attr("title");if(p===null)return;let T=c.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(m.attr("title")).style("left",window.scrollX+T.left+(T.right-T.left)/2+"px").style("top",window.scrollY+T.bottom+"px"),r.html(rt.sanitize(p)),m.classed("hover",!0)}).on("mouseout",(c)=>{r.transition().duration(500).style("opacity",0),h(c.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=u(),A()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n){let o=e.text.trim(),c=n.text;if(e===n&&/\s/.exec(n.text))o=void 0;let p=t((E)=>{let y={boolean:{},number:{},string:{}},w=[],j;return{nodeList:E.filter(function(d){let g=typeof d;if(d.stmt&&d.stmt==="dir")return j=d.value,!1;if(d.trim()==="")return!1;if(g in y)return y[g].hasOwnProperty(d)?!1:y[g][d]=!0;else return w.includes(d)?!1:w.push(d)}),dir:j}},"uniq")(r.flat()),{nodeList:T,dir:f}=p,U=u().flowchart??{};if(f=f??(U.inheritDir?this.getDirection()??u().direction??void 0:void 0),this.version==="gen-1")for(let E=0;E<T.length;E++)T[E]=this.lookUpDomId(T[E]);o=o??"subGraph"+this.subCount,c=c||"",c=this.sanitizeText(c),this.subCount=this.subCount+1;let x={id:o,nodes:T,title:c.trim(),classes:[],dir:f,labelType:this.sanitizeNodeLabelType(n?.type)};a.info("Adding",x.id,x.nodes,x.dir),x.nodes=this.makeUniq(x,this.subGraphs).nodes.filter((E)=>E!==o);let W=this.subGraphs.find((E)=>E.id===o);if(W)W.nodes.push(...x.nodes);else this.subGraphs.push(x);return this.subGraphLookup.set(o,W??x),o}getPosForId(e){for(let[r,n]of this.subGraphs.entries())if(n.id===e)return r;return-1}indexNodes2(e,r){let n=this.subGraphs[r].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let o=0,c=1;while(o<n.length){let m=this.getPosForId(n[o]);if(m>=0){let p=this.indexNodes2(e,m);if(p.result)return{result:!0,count:c+p.count};else c=c+p.count}o=o+1}return{result:!1,count:c}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}destructStartLink(e){let r=e.trim(),n="arrow_open";switch(r[0]){case"<":n="arrow_point",r=r.slice(1);break;case"x":n="arrow_cross",r=r.slice(1);break;case"o":n="arrow_circle",r=r.slice(1);break}let o="normal";if(r.includes("="))o="thick";if(r.includes("."))o="dotted";return{type:n,stroke:o}}countChar(e,r){let n=r.length,o=0;for(let c=0;c<n;++c)if(r[c]===e)++o;return o}destructEndLink(e){let r=e.trim(),n=r.slice(0,-1),o="arrow_open";switch(r.slice(-1)){case"x":if(o="arrow_cross",r.startsWith("x"))o="double_"+o,n=n.slice(1);break;case">":if(o="arrow_point",r.startsWith("<"))o="double_"+o,n=n.slice(1);break;case"o":if(o="arrow_circle",r.startsWith("o"))o="double_"+o,n=n.slice(1);break}let c="normal",m=n.length-1;if(n.startsWith("="))c="thick";if(n.startsWith("~"))c="invisible";let p=this.countChar(".",n);if(p)c="dotted",m=p;return{type:o,stroke:c,length:m}}destructLink(e,r){let n=this.destructEndLink(e),o;if(r){if(o=this.destructStartLink(r),o.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(o.type==="arrow_open")o.type=n.type;else{if(o.type!==n.type)return{type:"INVALID",stroke:"INVALID"};o.type="double_"+o.type}if(o.type==="double_arrow")o.type="double_arrow_point";return o.length=n.length,o}return n}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((o,c)=>{if(!this.exists(r,o))n.push(e.nodes[c])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon){if(e.form==="circle")return"iconCircle";if(e.form==="square")return"iconSquare";if(e.form==="rounded")return"iconRounded";return"icon"}switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,r){return e.find((n)=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,o,c,m){let p=n.get(e.id),T=o.get(e.id)??!1,f=this.findNode(r,e.id);if(f)f.cssStyles=e.styles,f.cssCompiledStyles=this.getCompiledStyles(e.classes),f.cssClasses=e.classes.join(" ");else{let U={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:p,padding:c.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:m,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};if(T)r.push({...U,isGroup:!0,shape:"rect"});else r.push({...U,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:c.flowchart?.minNodeWidth})}}getCompiledStyles(e){let r=[];for(let n of e){let o=this.classes.get(n);if(o?.styles)r=[...r,...o.styles??[]].map((c)=>c.trim());if(o?.textStyles)r=[...r,...o.textStyles??[]].map((c)=>c.trim())}return r}getData(){let e=u(),r=[],n=[],o=this.getSubGraphs(),c=new Map,m=new Map,p=new Map;for(let d of o)for(let g of d.nodes)if(this.subGraphLookup.has(g))p.set(g,d.id);let T=new Map,f=new Map;for(let d of o){let g=p.get(d.id);if(g!==void 0)f.set(g,[...f.get(g)??[],d.id])}let U=0,x=t((d)=>{T.set(d,U++);for(let g of f.get(d)??[])x(g)},"walk");for(let d of o)if(!p.has(d.id))x(d.id);let W=t((d)=>this.subGraphLookup.get(d)?.metadata?.view==="collapsed","isCollapsed"),E=t((d)=>{let g,ne=new Set,oe=d;while(oe!==void 0&&!ne.has(oe)){if(ne.add(oe),W(oe))g=oe;oe=p.get(oe)}return g},"outermostCollapsed"),y=new Set,w=new Map;for(let d of o){let g=E(d.id);if(g===void 0)continue;if(d.id!==g)y.add(d.id),w.set(d.id,g);for(let ne of d.nodes){if(ne===g)continue;y.add(ne),w.set(ne,g)}}for(let d=o.length-1;d>=0;d--){let g=o[d];if(y.has(g.id))continue;if(g.nodes.length>0)m.set(g.id,!0);for(let ne of g.nodes)c.set(ne,g.id)}for(let d=o.length-1;d>=0;d--){let g=o[d];if(y.has(g.id))continue;if(g.metadata?.view==="collapsed")r.push({id:g.id,label:g.title,labelStyle:"",labelType:g.labelType,parentId:c.get(g.id),padding:8,cssCompiledStyles:this.getCompiledStyles(g.classes),cssClasses:g.classes.join(" "),shape:"collapsedGroup",dir:g.dir,isGroup:!1,look:e.look,colorIndex:T.get(g.id)});else r.push({id:g.id,label:g.title,labelStyle:"",labelType:g.labelType,parentId:c.get(g.id),padding:8,cssCompiledStyles:this.getCompiledStyles(g.classes),cssClasses:g.classes.join(" "),shape:"rect",dir:g.dir,isGroup:!0,look:e.look,colorIndex:T.get(g.id),metadata:g.metadata})}this.getVertices().forEach((d)=>{if(y.has(d.id))return;this.addNodeFromVertex(d,r,c,m,e,e.look||"classic")});let ve=this.getEdges();return ve.forEach((d,g)=>{let{arrowTypeStart:ne,arrowTypeEnd:oe}=this.destructEdgeType(d.type),K=[...ve.defaultStyle??[]],Y=w.get(d.start)??d.start,H=w.get(d.end)??d.end;if(Y===H&&(w.has(d.start)||w.has(d.end)))return;if(d.style)K.push(...d.style);let q={id:bt(Y,H,{counter:g,prefix:"L"},d.id),isUserDefinedId:d.isUserDefinedId,start:Y,end:H,type:d.type??"normal",label:d.text,labelType:d.labelType,labelpos:"c",thickness:d.stroke,minlen:d.length,classes:d?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:d?.stroke==="invisible"||d?.type==="arrow_open"?"none":ne,arrowTypeEnd:d?.stroke==="invisible"||d?.type==="arrow_open"?"none":oe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(d.classes),labelStyle:K,style:K,pattern:d.stroke,look:e.look,animate:d.animate,animation:d.animation,curve:d.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(q)}),{nodes:r,edges:n,other:{},config:e}}defaultConfig(){return Nr.flowchart}},A1=t(function(e,r){return r.db.getClasses()},"getClasses"),m1=t(async function(e,r,n,o){a.info("REF0:"),a.info("Drawing state diagram (v2)",r);let{securityLevel:c,flowchart:m,layout:p}=u();o.db.setDiagramId(r),a.debug("Before getData: ");let T=o.db.getData();a.debug("Data: ",T);let f=Fe(r,c),U=o.db.getDirection();T.type=o.type,T.layoutAlgorithm=Ue(p),T.direction=U,T.nodeSpacing=m?.nodeSpacing||50,T.rankSpacing=m?.rankSpacing||50,T.markers=["point","circle","cross"],T.diagramId=r,a.debug("REF1:",T),await ze(T,f);let x=T.config.flowchart?.diagramPadding??8;F.insertTitle(f,"flowchartTitleText",m?.titleTopMargin||0,o.db.getDiagramTitle()),Le(f,x,"flowchart",m?.useMaxWidth||!1)},"draw"),C1={getClasses:A1,draw:m1},St=function(){var e=t(function(Re,b,C,S){for(C=C||{},S=Re.length;S--;C[Re[S]]=b);return C},"o"),r=[1,4],n=[1,3],o=[1,5],c=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],m=[2,2],p=[1,13],T=[1,14],f=[1,15],U=[1,16],x=[1,23],W=[1,25],E=[1,26],y=[1,27],w=[1,50],j=[1,49],ve=[1,29],d=[1,30],g=[1,31],ne=[1,32],oe=[1,33],K=[1,45],Y=[1,47],H=[1,43],q=[1,48],Q=[1,44],J=[1,51],Z=[1,46],ee=[1,52],te=[1,53],at=[1,34],nt=[1,35],ut=[1,36],ot=[1,37],lt=[1,38],Ve=[1,58],N=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],fe=[1,62],be=[1,61],ke=[1,63],Me=[8,9,11,75,77,78],yt=[1,79],We=[1,92],je=[1,97],Ke=[1,96],Ye=[1,93],He=[1,89],qe=[1,95],Xe=[1,91],Qe=[1,98],Je=[1,94],Ze=[1,99],$e=[1,90],Ne=[8,9,10,11,40,75,77,78],ie=[8,9,10,11,40,46,75,77,78],le=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xt=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],et=[44,60,89,102,105,106,109,111,114,115,116],Ft=[1,122],_t=[1,123],ct=[1,125],ht=[1,124],Bt=[44,60,62,74,89,102,105,106,109,111,114,115,116],vt=[1,134],Vt=[1,148],wt=[1,149],It=[1,150],Rt=[1,151],Nt=[1,136],Gt=[1,138],Pt=[1,142],Ot=[1,143],Mt=[1,144],Wt=[1,145],zt=[1,146],Kt=[1,147],Yt=[1,152],Ht=[1,153],qt=[1,132],Xt=[1,133],Qt=[1,140],Jt=[1,135],Zt=[1,139],$t=[1,137],kt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,155],t1=[1,157],z=[8,9,11],ce=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],_=[1,177],re=[1,173],ae=[1,174],B=[1,178],v=[1,175],V=[1,176],tt=[77,116,119],G=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],s1=[10,106],we=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ge=[1,248],Ae=[1,246],me=[1,250],Ce=[1,244],Se=[1,245],ye=[1,247],xe=[1,249],_e=[1,251],st=[1,269],i1=[8,9,11,106],pe=[8,9,10,11,60,84,105,106,109,110,111,112],gt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(function(b,C,S,l,O,s,Ge){var i=s.length-1;switch(O){case 2:this.$=[];break;case 3:if(!Array.isArray(s[i])||s[i].length>0)s[i-1].push(s[i]);this.$=s[i-1];break;case 4:case 183:this.$=s[i];break;case 11:l.setDirection("TB"),this.$="TB";break;case 12:l.setDirection(s[i-1]),this.$=s[i-1];break;case 27:this.$=s[i-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=l.addSubGraph(s[i-6],s[i-1],s[i-4]);break;case 34:this.$=l.addSubGraph(s[i-3],s[i-1],s[i-3]);break;case 35:this.$=l.addSubGraph(void 0,s[i-1],void 0);break;case 37:this.$=s[i].trim(),l.setAccTitle(this.$);break;case 38:case 39:this.$=s[i].trim(),l.setAccDescription(this.$);break;case 43:this.$=s[i-1]+s[i];break;case 44:this.$=s[i];break;case 45:l.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i]),l.addLink(s[i-3].stmt,s[i-1],s[i-2]),this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 46:l.addLink(s[i-2].stmt,s[i],s[i-1]),this.$={stmt:s[i],nodes:s[i].concat(s[i-2].nodes)};break;case 47:l.addLink(s[i-3].stmt,s[i-1],s[i-2]),this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 48:this.$={stmt:s[i-1],nodes:s[i-1]};break;case 49:l.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i]),this.$={stmt:s[i-1],nodes:s[i-1],shapeData:s[i]};break;case 50:this.$={stmt:s[i],nodes:s[i]};break;case 51:this.$=[s[i]];break;case 52:l.addVertex(s[i-5][s[i-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i-4]),this.$=s[i-5].concat(s[i]);break;case 53:this.$=s[i-4].concat(s[i]);break;case 54:this.$=s[i];break;case 55:this.$=s[i-2],l.setClass(s[i-2],s[i]);break;case 56:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"square");break;case 57:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"doublecircle");break;case 58:this.$=s[i-5],l.addVertex(s[i-5],s[i-2],"circle");break;case 59:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"ellipse");break;case 60:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"stadium");break;case 61:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"subroutine");break;case 62:this.$=s[i-7],l.addVertex(s[i-7],s[i-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[i-5],s[i-3]]]));break;case 63:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"cylinder");break;case 64:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"round");break;case 65:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"diamond");break;case 66:this.$=s[i-5],l.addVertex(s[i-5],s[i-2],"hexagon");break;case 67:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"odd");break;case 68:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"trapezoid");break;case 69:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"inv_trapezoid");break;case 70:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"lean_right");break;case 71:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"lean_left");break;case 72:this.$=s[i],l.addVertex(s[i]);break;case 73:s[i-1].text=s[i],this.$=s[i-1];break;case 74:case 75:s[i-2].text=s[i-1],this.$=s[i-2];break;case 76:this.$=s[i];break;case 77:var X=l.destructLink(s[i],s[i-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[i-1]};break;case 78:var X=l.destructLink(s[i],s[i-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[i-1],id:s[i-3]};break;case 79:this.$={text:s[i],type:"text"};break;case 80:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 81:this.$={text:s[i],type:"string"};break;case 82:this.$={text:s[i],type:"markdown"};break;case 83:var X=l.destructLink(s[i]);this.$={type:X.type,stroke:X.stroke,length:X.length};break;case 84:var X=l.destructLink(s[i]);this.$={type:X.type,stroke:X.stroke,length:X.length,id:s[i-1]};break;case 85:this.$=s[i-1];break;case 86:this.$={text:s[i],type:"text"};break;case 87:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 88:this.$={text:s[i],type:"string"};break;case 89:case 104:this.$={text:s[i],type:"markdown"};break;case 101:this.$={text:s[i],type:"text"};break;case 102:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 103:this.$={text:s[i],type:"text"};break;case 105:this.$=s[i-4],l.addClass(s[i-2],s[i]);break;case 106:this.$=s[i-4],l.setClass(s[i-2],s[i]);break;case 107:case 115:this.$=s[i-1],l.setClickEvent(s[i-1],s[i]);break;case 108:case 116:this.$=s[i-3],l.setClickEvent(s[i-3],s[i-2]),l.setTooltip(s[i-3],s[i]);break;case 109:this.$=s[i-2],l.setClickEvent(s[i-2],s[i-1],s[i]);break;case 110:this.$=s[i-4],l.setClickEvent(s[i-4],s[i-3],s[i-2]),l.setTooltip(s[i-4],s[i]);break;case 111:this.$=s[i-2],l.setLink(s[i-2],s[i]);break;case 112:this.$=s[i-4],l.setLink(s[i-4],s[i-2]),l.setTooltip(s[i-4],s[i]);break;case 113:this.$=s[i-4],l.setLink(s[i-4],s[i-2],s[i]);break;case 114:this.$=s[i-6],l.setLink(s[i-6],s[i-4],s[i]),l.setTooltip(s[i-6],s[i-2]);break;case 117:this.$=s[i-1],l.setLink(s[i-1],s[i]);break;case 118:this.$=s[i-3],l.setLink(s[i-3],s[i-2]),l.setTooltip(s[i-3],s[i]);break;case 119:this.$=s[i-3],l.setLink(s[i-3],s[i-2],s[i]);break;case 120:this.$=s[i-5],l.setLink(s[i-5],s[i-4],s[i]),l.setTooltip(s[i-5],s[i-2]);break;case 121:this.$=s[i-4],l.addVertex(s[i-2],void 0,void 0,s[i]);break;case 122:this.$=s[i-4],l.updateLink([s[i-2]],s[i]);break;case 123:this.$=s[i-4],l.updateLink(s[i-2],s[i]);break;case 124:this.$=s[i-8],l.updateLinkInterpolate([s[i-6]],s[i-2]),l.updateLink([s[i-6]],s[i]);break;case 125:this.$=s[i-8],l.updateLinkInterpolate(s[i-6],s[i-2]),l.updateLink(s[i-6],s[i]);break;case 126:this.$=s[i-6],l.updateLinkInterpolate([s[i-4]],s[i]);break;case 127:this.$=s[i-6],l.updateLinkInterpolate(s[i-4],s[i]);break;case 128:case 130:this.$=[s[i]];break;case 129:case 131:s[i-2].push(s[i]),this.$=s[i-2];break;case 133:this.$=s[i-1]+s[i];break;case 181:this.$=s[i];break;case 182:this.$=s[i-1]+""+s[i];break;case 184:this.$=s[i-1]+""+s[i];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:r,10:n,12:o},{1:[3]},e(c,m,{5:6}),{4:7,9:r,10:n,12:o},{4:8,9:r,10:n,12:o},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:at,122:nt,123:ut,124:ot,125:lt},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,55],9:[1,56],10:Ve,15:54,18:57},e(N,[2,3]),e(N,[2,4]),e(N,[2,5]),e(N,[2,6]),e(N,[2,7]),e(N,[2,8]),{8:fe,9:be,11:ke,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:fe,9:be,11:ke,21:68},{8:fe,9:be,11:ke,21:69},{8:fe,9:be,11:ke,21:70},{8:fe,9:be,11:ke,21:71},{8:fe,9:be,11:ke,21:72},{8:fe,9:be,10:[1,73],11:ke,21:74},e(N,[2,36]),{35:[1,75]},{37:[1,76]},e(N,[2,39]),e(Me,[2,50],{18:77,39:78,10:Ve,40:yt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:We,44:je,60:Ke,80:[1,87],89:Ye,95:[1,84],97:[1,85],101:86,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},e(N,[2,185]),e(N,[2,186]),e(N,[2,187]),e(N,[2,188]),e(N,[2,189]),e(Ne,[2,51]),e(Ne,[2,54],{46:[1,100]}),e(ie,[2,72],{113:113,29:[1,101],44:w,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:j,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(le,[2,181]),e(le,[2,142]),e(le,[2,143]),e(le,[2,144]),e(le,[2,145]),e(le,[2,146]),e(le,[2,147]),e(le,[2,148]),e(le,[2,149]),e(le,[2,150]),e(le,[2,151]),e(le,[2,152]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,114]},e(xt,[2,26],{18:115,10:Ve}),e(N,[2,27]),{42:116,43:39,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(N,[2,40]),e(N,[2,41]),e(N,[2,42]),e(et,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ft,81:_t,116:ct,119:ht},{75:[1,126],77:[1,127]},e(Bt,[2,83]),e(N,[2,28]),e(N,[2,29]),e(N,[2,30]),e(N,[2,31]),e(N,[2,32]),{10:vt,12:Vt,14:wt,27:It,28:128,32:Rt,44:Nt,60:Gt,75:Pt,80:[1,130],81:[1,131],83:141,84:Ot,85:Mt,86:Wt,87:zt,88:Kt,89:Yt,90:Ht,91:129,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(kt,m,{5:154}),e(N,[2,37]),e(N,[2,38]),e(Me,[2,48],{44:e1}),e(Me,[2,49],{18:156,10:Ve,40:t1}),e(Ne,[2,44]),{44:w,47:158,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{102:[1,159],103:160,105:[1,161]},{44:w,47:162,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{44:w,47:163,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(z,[2,115],{120:168,10:[1,167],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,117],{10:[1,169]}),e(ce,[2,183]),e(ce,[2,170]),e(ce,[2,171]),e(ce,[2,172]),e(ce,[2,173]),e(ce,[2,174]),e(ce,[2,175]),e(ce,[2,176]),e(ce,[2,177]),e(ce,[2,178]),e(ce,[2,179]),e(ce,[2,180]),{44:w,47:170,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{30:171,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:179,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:181,50:[1,180],67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:182,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:183,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:184,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{109:[1,185]},{30:186,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:187,65:[1,188],67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:189,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:190,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:191,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(le,[2,182]),e(c,[2,20]),e(xt,[2,25]),e(Me,[2,46],{39:192,18:193,10:Ve,40:yt}),e(et,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{77:[1,197],79:198,116:ct,119:ht},e(tt,[2,79]),e(tt,[2,81]),e(tt,[2,82]),e(tt,[2,168]),e(tt,[2,169]),{76:199,79:121,80:Ft,81:_t,116:ct,119:ht},e(Bt,[2,84]),{8:fe,9:be,10:vt,11:ke,12:Vt,14:wt,21:201,27:It,29:[1,200],32:Rt,44:Nt,60:Gt,75:Pt,83:141,84:Ot,85:Mt,86:Wt,87:zt,88:Kt,89:Yt,90:Ht,91:202,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(G,[2,101]),e(G,[2,103]),e(G,[2,104]),e(G,[2,157]),e(G,[2,158]),e(G,[2,159]),e(G,[2,160]),e(G,[2,161]),e(G,[2,162]),e(G,[2,163]),e(G,[2,164]),e(G,[2,165]),e(G,[2,166]),e(G,[2,167]),e(G,[2,90]),e(G,[2,91]),e(G,[2,92]),e(G,[2,93]),e(G,[2,94]),e(G,[2,95]),e(G,[2,96]),e(G,[2,97]),e(G,[2,98]),e(G,[2,99]),e(G,[2,100]),{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,203],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:at,122:nt,123:ut,124:ot,125:lt},{10:Ve,18:204},{44:[1,205]},e(Ne,[2,43]),{10:[1,206],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,207]},{10:[1,208],106:[1,209]},e(s1,[2,128]),{10:[1,210],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,211],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{80:[1,212]},e(z,[2,109],{10:[1,213]}),e(z,[2,111],{10:[1,214]}),{80:[1,215]},e(ce,[2,184]),{80:[1,216],98:[1,217]},e(Ne,[2,55],{113:113,44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),{31:[1,218],67:_,82:219,116:B,117:v,118:V},e(we,[2,86]),e(we,[2,88]),e(we,[2,89]),e(we,[2,153]),e(we,[2,154]),e(we,[2,155]),e(we,[2,156]),{49:[1,220],67:_,82:219,116:B,117:v,118:V},{30:221,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{51:[1,222],67:_,82:219,116:B,117:v,118:V},{53:[1,223],67:_,82:219,116:B,117:v,118:V},{55:[1,224],67:_,82:219,116:B,117:v,118:V},{57:[1,225],67:_,82:219,116:B,117:v,118:V},{60:[1,226]},{64:[1,227],67:_,82:219,116:B,117:v,118:V},{66:[1,228],67:_,82:219,116:B,117:v,118:V},{30:229,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{31:[1,230],67:_,82:219,116:B,117:v,118:V},{67:_,69:[1,231],71:[1,232],82:219,116:B,117:v,118:V},{67:_,69:[1,234],71:[1,233],82:219,116:B,117:v,118:V},e(Me,[2,45],{18:156,10:Ve,40:t1}),e(Me,[2,47],{44:e1}),e(et,[2,75]),e(et,[2,74]),{62:[1,235],67:_,82:219,116:B,117:v,118:V},e(et,[2,77]),e(tt,[2,80]),{77:[1,236],79:198,116:ct,119:ht},{30:237,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(kt,m,{5:238}),e(G,[2,102]),e(N,[2,35]),{43:239,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{10:Ve,18:240},{10:ge,60:Ae,84:me,92:241,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:252,104:[1,253],105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:254,104:[1,255],105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{105:[1,256]},{10:ge,60:Ae,84:me,92:257,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{44:w,47:258,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(z,[2,116]),e(z,[2,118],{10:[1,262]}),e(z,[2,119]),e(ie,[2,56]),e(we,[2,87]),e(ie,[2,57]),{51:[1,263],67:_,82:219,116:B,117:v,118:V},e(ie,[2,64]),e(ie,[2,59]),e(ie,[2,60]),e(ie,[2,61]),{109:[1,264]},e(ie,[2,63]),e(ie,[2,65]),{66:[1,265],67:_,82:219,116:B,117:v,118:V},e(ie,[2,67]),e(ie,[2,68]),e(ie,[2,70]),e(ie,[2,69]),e(ie,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(et,[2,78]),{31:[1,266],67:_,82:219,116:B,117:v,118:V},{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,267],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:at,122:nt,123:ut,124:ot,125:lt},e(Ne,[2,53]),{43:268,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,121],{106:st}),e(i1,[2,130],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Se,110:ye,111:xe,112:_e}),e(pe,[2,132]),e(pe,[2,134]),e(pe,[2,135]),e(pe,[2,136]),e(pe,[2,137]),e(pe,[2,138]),e(pe,[2,139]),e(pe,[2,140]),e(pe,[2,141]),e(z,[2,122],{106:st}),{10:[1,271]},e(z,[2,123],{106:st}),{10:[1,272]},e(s1,[2,129]),e(z,[2,105],{106:st}),e(z,[2,106],{113:113,44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(z,[2,110]),e(z,[2,112],{10:[1,273]}),e(z,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:fe,9:be,11:ke,21:278},e(N,[2,34]),e(Ne,[2,52]),{10:ge,60:Ae,84:me,105:Ce,107:279,108:243,109:Se,110:ye,111:xe,112:_e},e(pe,[2,133]),{14:We,44:je,60:Ke,89:Ye,101:280,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{14:We,44:je,60:Ke,89:Ye,101:281,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{98:[1,282]},e(z,[2,120]),e(ie,[2,58]),{30:283,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(ie,[2,66]),e(kt,m,{5:284}),e(i1,[2,131],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Se,110:ye,111:xe,112:_e}),e(z,[2,126],{120:168,10:[1,285],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,127],{120:168,10:[1,286],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,114]),{31:[1,287],67:_,82:219,116:B,117:v,118:V},{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,288],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:at,122:nt,123:ut,124:ot,125:lt},{10:ge,60:Ae,84:me,92:289,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:290,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},e(ie,[2,62]),e(N,[2,33]),e(z,[2,124],{106:st}),e(z,[2,125],{106:st})],defaultActions:{},parseError:t(function(b,C){if(C.recoverable)this.trace(b);else{var S=Error(b);throw S.hash=C,S}},"parseError"),parse:t(function(b){var C=this,S=[0],l=[],O=[null],s=[],Ge=this.table,i="",X=0,r1=0,a1=0,d1=2,n1=1,p1=s.slice.call(arguments,1),se=Object.create(this.lexer),Pe={yy:{}};for(var At in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,At))Pe.yy[At]=this.yy[At];if(se.setInput(b,Pe.yy),Pe.yy.lexer=se,Pe.yy.parser=this,typeof se.yylloc>"u")se.yylloc={};var mt=se.yylloc;s.push(mt);var f1=se.options&&se.options.ranges;if(typeof Pe.yy.parseError==="function")this.parseError=Pe.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function b1(de){S.length=S.length-2*de,O.length=O.length-de,s.length=s.length-de}t(b1,"popStack");function u1(){var de=l.pop()||se.lex()||n1;if(typeof de!=="number"){if(de instanceof Array)l=de,de=l.pop();de=C.symbols_[de]||de}return de}t(u1,"lex");var ue,Dt,Oe,he,y1,Tt,it={},pt,Be,o1,ft;while(!0){if(Oe=S[S.length-1],this.defaultActions[Oe])he=this.defaultActions[Oe];else{if(ue===null||typeof ue>"u")ue=u1();he=Ge[Oe]&&Ge[Oe][ue]}if(typeof he>"u"||!he.length||!he[0]){var Et="";ft=[];for(pt in Ge[Oe])if(this.terminals_[pt]&&pt>d1)ft.push("'"+this.terminals_[pt]+"'");if(se.showPosition)Et="Parse error on line "+(X+1)+`:
|
|
9
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,r,n){let o=this.isLinkData(n)?n.id.replace("@",""):void 0;a.info("addLink",e,r,o);for(let c of e)for(let m of r){let p=c===e[e.length-1],T=m===r[0];if(p&&T)this.addSingleLink(c,m,n,o);else this.addSingleLink(c,m,n,void 0)}}updateLinkInterpolate(e,r){e.forEach((n)=>{if(n==="default")this.edges.defaultInterpolate=r;else this.edges[n].interpolate=r})}updateLink(e,r){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=r;else if(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((o)=>o?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,r){let n=r.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let c=this.classes.get(o);if(c===void 0)c={id:o,styles:[],textStyles:[]},this.classes.set(o,c);if(n!==void 0&&n!==null)n.forEach((m)=>{if(/color/.exec(m)){let p=m.replace("fill","bgFill");c.textStyles.push(p)}c.styles.push(m)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,r){for(let n of e.split(",")){let o=this.vertices.get(n);if(o)o.classes.push(r);let c=this.edges.find((p)=>p.id===n);if(c)c.classes.push(r);let m=this.subGraphLookup.get(n);if(m)m.classes.push(r)}}setTooltip(e,r){if(r===void 0)return;r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}setClickFun(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let o=[];if(typeof n==="string"){o=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m<o.length;m++){let p=o[m].trim();if(p.startsWith('"')&&p.endsWith('"'))p=p.substr(1,p.length-2);o[m]=p}}if(o.length===0)o.push(e);let c=this.vertices.get(e);if(c)c.haveCallback=!0,this.funs.push(()=>{let m=this.lookUpDomId(e),p=document.querySelector(`[id="${m}"]`);if(p!==null)p.addEventListener("click",()=>{F.runFunc(r,...o)},!1)})}setLink(e,r,n){e.split(",").forEach((o)=>{let c=this.vertices.get(o);if(c!==void 0)c.link=F.formatUrl(r,this.config),c.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach((o)=>{this.setClickFun(o,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((r)=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let r=In();h(e).select("svg").selectAll("g.node").on("mouseover",(c)=>{let m=h(c.currentTarget),p=m.attr("title");if(p===null)return;let T=c.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(m.attr("title")).style("left",window.scrollX+T.left+(T.right-T.left)/2+"px").style("top",window.scrollY+T.bottom+"px"),r.html(at.sanitize(p)),m.classed("hover",!0)}).on("mouseout",(c)=>{r.transition().duration(500).style("opacity",0),h(c.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=u(),A()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n){let o=e.text.trim(),c=n.text;if(e===n&&/\s/.exec(n.text))o=void 0;let p=t((E)=>{let y={boolean:{},number:{},string:{}},w=[],j;return{nodeList:E.filter(function(d){let g=typeof d;if(d.stmt&&d.stmt==="dir")return j=d.value,!1;if(d.trim()==="")return!1;if(g in y)return y[g].hasOwnProperty(d)?!1:y[g][d]=!0;else return w.includes(d)?!1:w.push(d)}),dir:j}},"uniq")(r.flat()),{nodeList:T,dir:f}=p,U=u().flowchart??{};if(f=f??(U.inheritDir?this.getDirection()??u().direction??void 0:void 0),this.version==="gen-1")for(let E=0;E<T.length;E++)T[E]=this.lookUpDomId(T[E]);o=o??"subGraph"+this.subCount,c=c||"",c=this.sanitizeText(c),this.subCount=this.subCount+1;let x={id:o,nodes:T,title:c.trim(),classes:[],dir:f,labelType:this.sanitizeNodeLabelType(n?.type)};a.info("Adding",x.id,x.nodes,x.dir),x.nodes=this.makeUniq(x,this.subGraphs).nodes.filter((E)=>E!==o);let W=this.subGraphs.find((E)=>E.id===o);if(W)W.nodes.push(...x.nodes);else this.subGraphs.push(x);return this.subGraphLookup.set(o,W??x),o}getPosForId(e){for(let[r,n]of this.subGraphs.entries())if(n.id===e)return r;return-1}indexNodes2(e,r){let n=this.subGraphs[r].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let o=0,c=1;while(o<n.length){let m=this.getPosForId(n[o]);if(m>=0){let p=this.indexNodes2(e,m);if(p.result)return{result:!0,count:c+p.count};else c=c+p.count}o=o+1}return{result:!1,count:c}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}destructStartLink(e){let r=e.trim(),n="arrow_open";switch(r[0]){case"<":n="arrow_point",r=r.slice(1);break;case"x":n="arrow_cross",r=r.slice(1);break;case"o":n="arrow_circle",r=r.slice(1);break}let o="normal";if(r.includes("="))o="thick";if(r.includes("."))o="dotted";return{type:n,stroke:o}}countChar(e,r){let n=r.length,o=0;for(let c=0;c<n;++c)if(r[c]===e)++o;return o}destructEndLink(e){let r=e.trim(),n=r.slice(0,-1),o="arrow_open";switch(r.slice(-1)){case"x":if(o="arrow_cross",r.startsWith("x"))o="double_"+o,n=n.slice(1);break;case">":if(o="arrow_point",r.startsWith("<"))o="double_"+o,n=n.slice(1);break;case"o":if(o="arrow_circle",r.startsWith("o"))o="double_"+o,n=n.slice(1);break}let c="normal",m=n.length-1;if(n.startsWith("="))c="thick";if(n.startsWith("~"))c="invisible";let p=this.countChar(".",n);if(p)c="dotted",m=p;return{type:o,stroke:c,length:m}}destructLink(e,r){let n=this.destructEndLink(e),o;if(r){if(o=this.destructStartLink(r),o.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(o.type==="arrow_open")o.type=n.type;else{if(o.type!==n.type)return{type:"INVALID",stroke:"INVALID"};o.type="double_"+o.type}if(o.type==="double_arrow")o.type="double_arrow_point";return o.length=n.length,o}return n}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((o,c)=>{if(!this.exists(r,o))n.push(e.nodes[c])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon){if(e.form==="circle")return"iconCircle";if(e.form==="square")return"iconSquare";if(e.form==="rounded")return"iconRounded";return"icon"}switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,r){return e.find((n)=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,o,c,m){let p=n.get(e.id),T=o.get(e.id)??!1,f=this.findNode(r,e.id);if(f)f.cssStyles=e.styles,f.cssCompiledStyles=this.getCompiledStyles(e.classes),f.cssClasses=e.classes.join(" ");else{let U={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:p,padding:c.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:m,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};if(T)r.push({...U,isGroup:!0,shape:"rect"});else r.push({...U,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:c.flowchart?.minNodeWidth})}}getCompiledStyles(e){let r=[];for(let n of e){let o=this.classes.get(n);if(o?.styles)r=[...r,...o.styles??[]].map((c)=>c.trim());if(o?.textStyles)r=[...r,...o.textStyles??[]].map((c)=>c.trim())}return r}getData(){let e=u(),r=[],n=[],o=this.getSubGraphs(),c=new Map,m=new Map,p=new Map;for(let d of o)for(let g of d.nodes)if(this.subGraphLookup.has(g))p.set(g,d.id);let T=new Map,f=new Map;for(let d of o){let g=p.get(d.id);if(g!==void 0)f.set(g,[...f.get(g)??[],d.id])}let U=0,x=t((d)=>{T.set(d,U++);for(let g of f.get(d)??[])x(g)},"walk");for(let d of o)if(!p.has(d.id))x(d.id);let W=t((d)=>this.subGraphLookup.get(d)?.metadata?.view==="collapsed","isCollapsed"),E=t((d)=>{let g,ne=new Set,oe=d;while(oe!==void 0&&!ne.has(oe)){if(ne.add(oe),W(oe))g=oe;oe=p.get(oe)}return g},"outermostCollapsed"),y=new Set,w=new Map;for(let d of o){let g=E(d.id);if(g===void 0)continue;if(d.id!==g)y.add(d.id),w.set(d.id,g);for(let ne of d.nodes){if(ne===g)continue;y.add(ne),w.set(ne,g)}}for(let d=o.length-1;d>=0;d--){let g=o[d];if(y.has(g.id))continue;if(g.nodes.length>0)m.set(g.id,!0);for(let ne of g.nodes)c.set(ne,g.id)}for(let d=o.length-1;d>=0;d--){let g=o[d];if(y.has(g.id))continue;if(g.metadata?.view==="collapsed")r.push({id:g.id,label:g.title,labelStyle:"",labelType:g.labelType,parentId:c.get(g.id),padding:8,cssCompiledStyles:this.getCompiledStyles(g.classes),cssClasses:g.classes.join(" "),shape:"collapsedGroup",dir:g.dir,isGroup:!1,look:e.look,colorIndex:T.get(g.id)});else r.push({id:g.id,label:g.title,labelStyle:"",labelType:g.labelType,parentId:c.get(g.id),padding:8,cssCompiledStyles:this.getCompiledStyles(g.classes),cssClasses:g.classes.join(" "),shape:"rect",dir:g.dir,isGroup:!0,look:e.look,colorIndex:T.get(g.id),metadata:g.metadata})}this.getVertices().forEach((d)=>{if(y.has(d.id))return;this.addNodeFromVertex(d,r,c,m,e,e.look||"classic")});let ve=this.getEdges();return ve.forEach((d,g)=>{let{arrowTypeStart:ne,arrowTypeEnd:oe}=this.destructEdgeType(d.type),K=[...ve.defaultStyle??[]],Y=w.get(d.start)??d.start,H=w.get(d.end)??d.end;if(Y===H&&(w.has(d.start)||w.has(d.end)))return;if(d.style)K.push(...d.style);let q={id:bt(Y,H,{counter:g,prefix:"L"},d.id),isUserDefinedId:d.isUserDefinedId,start:Y,end:H,type:d.type??"normal",label:d.text,labelType:d.labelType,labelpos:"c",thickness:d.stroke,minlen:d.length,classes:d?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:d?.stroke==="invisible"||d?.type==="arrow_open"?"none":ne,arrowTypeEnd:d?.stroke==="invisible"||d?.type==="arrow_open"?"none":oe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(d.classes),labelStyle:K,style:K,pattern:d.stroke,look:e.look,animate:d.animate,animation:d.animation,curve:d.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(q)}),{nodes:r,edges:n,other:{},config:e}}defaultConfig(){return Mr.flowchart}},A1=t(function(e,r){return r.db.getClasses()},"getClasses"),m1=t(async function(e,r,n,o){a.info("REF0:"),a.info("Drawing state diagram (v2)",r);let{securityLevel:c,flowchart:m,layout:p}=u();o.db.setDiagramId(r),a.debug("Before getData: ");let T=o.db.getData();a.debug("Data: ",T);let f=Fe(r,c),U=o.db.getDirection();T.type=o.type,T.layoutAlgorithm=Ue(p),T.direction=U,T.nodeSpacing=m?.nodeSpacing||50,T.rankSpacing=m?.rankSpacing||50,T.markers=["point","circle","cross"],T.diagramId=r,a.debug("REF1:",T),await ze(T,f);let x=T.config.flowchart?.diagramPadding??8;F.insertTitle(f,"flowchartTitleText",m?.titleTopMargin||0,o.db.getDiagramTitle()),Le(f,x,"flowchart",m?.useMaxWidth||!1)},"draw"),C1={getClasses:A1,draw:m1},St=function(){var e=t(function(Re,b,C,S){for(C=C||{},S=Re.length;S--;C[Re[S]]=b);return C},"o"),r=[1,4],n=[1,3],o=[1,5],c=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],m=[2,2],p=[1,13],T=[1,14],f=[1,15],U=[1,16],x=[1,23],W=[1,25],E=[1,26],y=[1,27],w=[1,50],j=[1,49],ve=[1,29],d=[1,30],g=[1,31],ne=[1,32],oe=[1,33],K=[1,45],Y=[1,47],H=[1,43],q=[1,48],Q=[1,44],J=[1,51],Z=[1,46],ee=[1,52],te=[1,53],rt=[1,34],nt=[1,35],ut=[1,36],ot=[1,37],lt=[1,38],Ve=[1,58],G=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],fe=[1,62],be=[1,61],ke=[1,63],Me=[8,9,11,75,77,78],yt=[1,79],We=[1,92],je=[1,97],Ke=[1,96],Ye=[1,93],He=[1,89],qe=[1,95],Xe=[1,91],Qe=[1,98],Je=[1,94],Ze=[1,99],$e=[1,90],Ne=[8,9,10,11,40,75,77,78],ie=[8,9,10,11,40,46,75,77,78],le=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xt=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],et=[44,60,89,102,105,106,109,111,114,115,116],Ft=[1,122],_t=[1,123],ct=[1,125],ht=[1,124],Bt=[44,60,62,74,89,102,105,106,109,111,114,115,116],vt=[1,134],Vt=[1,148],wt=[1,149],It=[1,150],Rt=[1,151],Nt=[1,136],Gt=[1,138],Pt=[1,142],Ot=[1,143],Mt=[1,144],Wt=[1,145],zt=[1,146],Kt=[1,147],Yt=[1,152],Ht=[1,153],qt=[1,132],Xt=[1,133],Qt=[1,140],Jt=[1,135],Zt=[1,139],$t=[1,137],kt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,155],t1=[1,157],z=[8,9,11],ce=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],_=[1,177],re=[1,173],ae=[1,174],B=[1,178],v=[1,175],V=[1,176],tt=[77,116,119],O=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],s1=[10,106],we=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ge=[1,248],Ae=[1,246],me=[1,250],Ce=[1,244],Se=[1,245],ye=[1,247],xe=[1,249],_e=[1,251],st=[1,269],i1=[8,9,11,106],pe=[8,9,10,11,60,84,105,106,109,110,111,112],gt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(function(b,C,S,l,M,s,Ge){var i=s.length-1;switch(M){case 2:this.$=[];break;case 3:if(!Array.isArray(s[i])||s[i].length>0)s[i-1].push(s[i]);this.$=s[i-1];break;case 4:case 183:this.$=s[i];break;case 11:l.setDirection("TB"),this.$="TB";break;case 12:l.setDirection(s[i-1]),this.$=s[i-1];break;case 27:this.$=s[i-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=l.addSubGraph(s[i-6],s[i-1],s[i-4]);break;case 34:this.$=l.addSubGraph(s[i-3],s[i-1],s[i-3]);break;case 35:this.$=l.addSubGraph(void 0,s[i-1],void 0);break;case 37:this.$=s[i].trim(),l.setAccTitle(this.$);break;case 38:case 39:this.$=s[i].trim(),l.setAccDescription(this.$);break;case 43:this.$=s[i-1]+s[i];break;case 44:this.$=s[i];break;case 45:l.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i]),l.addLink(s[i-3].stmt,s[i-1],s[i-2]),this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 46:l.addLink(s[i-2].stmt,s[i],s[i-1]),this.$={stmt:s[i],nodes:s[i].concat(s[i-2].nodes)};break;case 47:l.addLink(s[i-3].stmt,s[i-1],s[i-2]),this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 48:this.$={stmt:s[i-1],nodes:s[i-1]};break;case 49:l.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i]),this.$={stmt:s[i-1],nodes:s[i-1],shapeData:s[i]};break;case 50:this.$={stmt:s[i],nodes:s[i]};break;case 51:this.$=[s[i]];break;case 52:l.addVertex(s[i-5][s[i-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i-4]),this.$=s[i-5].concat(s[i]);break;case 53:this.$=s[i-4].concat(s[i]);break;case 54:this.$=s[i];break;case 55:this.$=s[i-2],l.setClass(s[i-2],s[i]);break;case 56:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"square");break;case 57:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"doublecircle");break;case 58:this.$=s[i-5],l.addVertex(s[i-5],s[i-2],"circle");break;case 59:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"ellipse");break;case 60:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"stadium");break;case 61:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"subroutine");break;case 62:this.$=s[i-7],l.addVertex(s[i-7],s[i-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[i-5],s[i-3]]]));break;case 63:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"cylinder");break;case 64:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"round");break;case 65:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"diamond");break;case 66:this.$=s[i-5],l.addVertex(s[i-5],s[i-2],"hexagon");break;case 67:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"odd");break;case 68:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"trapezoid");break;case 69:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"inv_trapezoid");break;case 70:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"lean_right");break;case 71:this.$=s[i-3],l.addVertex(s[i-3],s[i-1],"lean_left");break;case 72:this.$=s[i],l.addVertex(s[i]);break;case 73:s[i-1].text=s[i],this.$=s[i-1];break;case 74:case 75:s[i-2].text=s[i-1],this.$=s[i-2];break;case 76:this.$=s[i];break;case 77:var X=l.destructLink(s[i],s[i-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[i-1]};break;case 78:var X=l.destructLink(s[i],s[i-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[i-1],id:s[i-3]};break;case 79:this.$={text:s[i],type:"text"};break;case 80:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 81:this.$={text:s[i],type:"string"};break;case 82:this.$={text:s[i],type:"markdown"};break;case 83:var X=l.destructLink(s[i]);this.$={type:X.type,stroke:X.stroke,length:X.length};break;case 84:var X=l.destructLink(s[i]);this.$={type:X.type,stroke:X.stroke,length:X.length,id:s[i-1]};break;case 85:this.$=s[i-1];break;case 86:this.$={text:s[i],type:"text"};break;case 87:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 88:this.$={text:s[i],type:"string"};break;case 89:case 104:this.$={text:s[i],type:"markdown"};break;case 101:this.$={text:s[i],type:"text"};break;case 102:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 103:this.$={text:s[i],type:"text"};break;case 105:this.$=s[i-4],l.addClass(s[i-2],s[i]);break;case 106:this.$=s[i-4],l.setClass(s[i-2],s[i]);break;case 107:case 115:this.$=s[i-1],l.setClickEvent(s[i-1],s[i]);break;case 108:case 116:this.$=s[i-3],l.setClickEvent(s[i-3],s[i-2]),l.setTooltip(s[i-3],s[i]);break;case 109:this.$=s[i-2],l.setClickEvent(s[i-2],s[i-1],s[i]);break;case 110:this.$=s[i-4],l.setClickEvent(s[i-4],s[i-3],s[i-2]),l.setTooltip(s[i-4],s[i]);break;case 111:this.$=s[i-2],l.setLink(s[i-2],s[i]);break;case 112:this.$=s[i-4],l.setLink(s[i-4],s[i-2]),l.setTooltip(s[i-4],s[i]);break;case 113:this.$=s[i-4],l.setLink(s[i-4],s[i-2],s[i]);break;case 114:this.$=s[i-6],l.setLink(s[i-6],s[i-4],s[i]),l.setTooltip(s[i-6],s[i-2]);break;case 117:this.$=s[i-1],l.setLink(s[i-1],s[i]);break;case 118:this.$=s[i-3],l.setLink(s[i-3],s[i-2]),l.setTooltip(s[i-3],s[i]);break;case 119:this.$=s[i-3],l.setLink(s[i-3],s[i-2],s[i]);break;case 120:this.$=s[i-5],l.setLink(s[i-5],s[i-4],s[i]),l.setTooltip(s[i-5],s[i-2]);break;case 121:this.$=s[i-4],l.addVertex(s[i-2],void 0,void 0,s[i]);break;case 122:this.$=s[i-4],l.updateLink([s[i-2]],s[i]);break;case 123:this.$=s[i-4],l.updateLink(s[i-2],s[i]);break;case 124:this.$=s[i-8],l.updateLinkInterpolate([s[i-6]],s[i-2]),l.updateLink([s[i-6]],s[i]);break;case 125:this.$=s[i-8],l.updateLinkInterpolate(s[i-6],s[i-2]),l.updateLink(s[i-6],s[i]);break;case 126:this.$=s[i-6],l.updateLinkInterpolate([s[i-4]],s[i]);break;case 127:this.$=s[i-6],l.updateLinkInterpolate(s[i-4],s[i]);break;case 128:case 130:this.$=[s[i]];break;case 129:case 131:s[i-2].push(s[i]),this.$=s[i-2];break;case 133:this.$=s[i-1]+s[i];break;case 181:this.$=s[i];break;case 182:this.$=s[i-1]+""+s[i];break;case 184:this.$=s[i-1]+""+s[i];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:r,10:n,12:o},{1:[3]},e(c,m,{5:6}),{4:7,9:r,10:n,12:o},{4:8,9:r,10:n,12:o},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:nt,123:ut,124:ot,125:lt},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,55],9:[1,56],10:Ve,15:54,18:57},e(G,[2,3]),e(G,[2,4]),e(G,[2,5]),e(G,[2,6]),e(G,[2,7]),e(G,[2,8]),{8:fe,9:be,11:ke,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:fe,9:be,11:ke,21:68},{8:fe,9:be,11:ke,21:69},{8:fe,9:be,11:ke,21:70},{8:fe,9:be,11:ke,21:71},{8:fe,9:be,11:ke,21:72},{8:fe,9:be,10:[1,73],11:ke,21:74},e(G,[2,36]),{35:[1,75]},{37:[1,76]},e(G,[2,39]),e(Me,[2,50],{18:77,39:78,10:Ve,40:yt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:We,44:je,60:Ke,80:[1,87],89:Ye,95:[1,84],97:[1,85],101:86,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},e(G,[2,185]),e(G,[2,186]),e(G,[2,187]),e(G,[2,188]),e(G,[2,189]),e(Ne,[2,51]),e(Ne,[2,54],{46:[1,100]}),e(ie,[2,72],{113:113,29:[1,101],44:w,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:j,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(le,[2,181]),e(le,[2,142]),e(le,[2,143]),e(le,[2,144]),e(le,[2,145]),e(le,[2,146]),e(le,[2,147]),e(le,[2,148]),e(le,[2,149]),e(le,[2,150]),e(le,[2,151]),e(le,[2,152]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,114]},e(xt,[2,26],{18:115,10:Ve}),e(G,[2,27]),{42:116,43:39,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(G,[2,40]),e(G,[2,41]),e(G,[2,42]),e(et,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ft,81:_t,116:ct,119:ht},{75:[1,126],77:[1,127]},e(Bt,[2,83]),e(G,[2,28]),e(G,[2,29]),e(G,[2,30]),e(G,[2,31]),e(G,[2,32]),{10:vt,12:Vt,14:wt,27:It,28:128,32:Rt,44:Nt,60:Gt,75:Pt,80:[1,130],81:[1,131],83:141,84:Ot,85:Mt,86:Wt,87:zt,88:Kt,89:Yt,90:Ht,91:129,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(kt,m,{5:154}),e(G,[2,37]),e(G,[2,38]),e(Me,[2,48],{44:e1}),e(Me,[2,49],{18:156,10:Ve,40:t1}),e(Ne,[2,44]),{44:w,47:158,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{102:[1,159],103:160,105:[1,161]},{44:w,47:162,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{44:w,47:163,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(z,[2,115],{120:168,10:[1,167],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,117],{10:[1,169]}),e(ce,[2,183]),e(ce,[2,170]),e(ce,[2,171]),e(ce,[2,172]),e(ce,[2,173]),e(ce,[2,174]),e(ce,[2,175]),e(ce,[2,176]),e(ce,[2,177]),e(ce,[2,178]),e(ce,[2,179]),e(ce,[2,180]),{44:w,47:170,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{30:171,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:179,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:181,50:[1,180],67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:182,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:183,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:184,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{109:[1,185]},{30:186,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:187,65:[1,188],67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:189,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:190,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{30:191,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(le,[2,182]),e(c,[2,20]),e(xt,[2,25]),e(Me,[2,46],{39:192,18:193,10:Ve,40:yt}),e(et,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{77:[1,197],79:198,116:ct,119:ht},e(tt,[2,79]),e(tt,[2,81]),e(tt,[2,82]),e(tt,[2,168]),e(tt,[2,169]),{76:199,79:121,80:Ft,81:_t,116:ct,119:ht},e(Bt,[2,84]),{8:fe,9:be,10:vt,11:ke,12:Vt,14:wt,21:201,27:It,29:[1,200],32:Rt,44:Nt,60:Gt,75:Pt,83:141,84:Ot,85:Mt,86:Wt,87:zt,88:Kt,89:Yt,90:Ht,91:202,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(O,[2,101]),e(O,[2,103]),e(O,[2,104]),e(O,[2,157]),e(O,[2,158]),e(O,[2,159]),e(O,[2,160]),e(O,[2,161]),e(O,[2,162]),e(O,[2,163]),e(O,[2,164]),e(O,[2,165]),e(O,[2,166]),e(O,[2,167]),e(O,[2,90]),e(O,[2,91]),e(O,[2,92]),e(O,[2,93]),e(O,[2,94]),e(O,[2,95]),e(O,[2,96]),e(O,[2,97]),e(O,[2,98]),e(O,[2,99]),e(O,[2,100]),{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,203],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:nt,123:ut,124:ot,125:lt},{10:Ve,18:204},{44:[1,205]},e(Ne,[2,43]),{10:[1,206],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,207]},{10:[1,208],106:[1,209]},e(s1,[2,128]),{10:[1,210],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,211],44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{80:[1,212]},e(z,[2,109],{10:[1,213]}),e(z,[2,111],{10:[1,214]}),{80:[1,215]},e(ce,[2,184]),{80:[1,216],98:[1,217]},e(Ne,[2,55],{113:113,44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),{31:[1,218],67:_,82:219,116:B,117:v,118:V},e(we,[2,86]),e(we,[2,88]),e(we,[2,89]),e(we,[2,153]),e(we,[2,154]),e(we,[2,155]),e(we,[2,156]),{49:[1,220],67:_,82:219,116:B,117:v,118:V},{30:221,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{51:[1,222],67:_,82:219,116:B,117:v,118:V},{53:[1,223],67:_,82:219,116:B,117:v,118:V},{55:[1,224],67:_,82:219,116:B,117:v,118:V},{57:[1,225],67:_,82:219,116:B,117:v,118:V},{60:[1,226]},{64:[1,227],67:_,82:219,116:B,117:v,118:V},{66:[1,228],67:_,82:219,116:B,117:v,118:V},{30:229,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},{31:[1,230],67:_,82:219,116:B,117:v,118:V},{67:_,69:[1,231],71:[1,232],82:219,116:B,117:v,118:V},{67:_,69:[1,234],71:[1,233],82:219,116:B,117:v,118:V},e(Me,[2,45],{18:156,10:Ve,40:t1}),e(Me,[2,47],{44:e1}),e(et,[2,75]),e(et,[2,74]),{62:[1,235],67:_,82:219,116:B,117:v,118:V},e(et,[2,77]),e(tt,[2,80]),{77:[1,236],79:198,116:ct,119:ht},{30:237,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(kt,m,{5:238}),e(O,[2,102]),e(G,[2,35]),{43:239,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{10:Ve,18:240},{10:ge,60:Ae,84:me,92:241,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:252,104:[1,253],105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:254,104:[1,255],105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{105:[1,256]},{10:ge,60:Ae,84:me,92:257,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{44:w,47:258,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(z,[2,116]),e(z,[2,118],{10:[1,262]}),e(z,[2,119]),e(ie,[2,56]),e(we,[2,87]),e(ie,[2,57]),{51:[1,263],67:_,82:219,116:B,117:v,118:V},e(ie,[2,64]),e(ie,[2,59]),e(ie,[2,60]),e(ie,[2,61]),{109:[1,264]},e(ie,[2,63]),e(ie,[2,65]),{66:[1,265],67:_,82:219,116:B,117:v,118:V},e(ie,[2,67]),e(ie,[2,68]),e(ie,[2,70]),e(ie,[2,69]),e(ie,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(et,[2,78]),{31:[1,266],67:_,82:219,116:B,117:v,118:V},{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,267],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:nt,123:ut,124:ot,125:lt},e(Ne,[2,53]),{43:268,44:w,45:40,47:41,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(z,[2,121],{106:st}),e(i1,[2,130],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Se,110:ye,111:xe,112:_e}),e(pe,[2,132]),e(pe,[2,134]),e(pe,[2,135]),e(pe,[2,136]),e(pe,[2,137]),e(pe,[2,138]),e(pe,[2,139]),e(pe,[2,140]),e(pe,[2,141]),e(z,[2,122],{106:st}),{10:[1,271]},e(z,[2,123],{106:st}),{10:[1,272]},e(s1,[2,129]),e(z,[2,105],{106:st}),e(z,[2,106],{113:113,44:w,60:j,89:K,102:Y,105:H,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(z,[2,110]),e(z,[2,112],{10:[1,273]}),e(z,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:fe,9:be,11:ke,21:278},e(G,[2,34]),e(Ne,[2,52]),{10:ge,60:Ae,84:me,105:Ce,107:279,108:243,109:Se,110:ye,111:xe,112:_e},e(pe,[2,133]),{14:We,44:je,60:Ke,89:Ye,101:280,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{14:We,44:je,60:Ke,89:Ye,101:281,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{98:[1,282]},e(z,[2,120]),e(ie,[2,58]),{30:283,67:_,80:re,81:ae,82:172,116:B,117:v,118:V},e(ie,[2,66]),e(kt,m,{5:284}),e(i1,[2,131],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Se,110:ye,111:xe,112:_e}),e(z,[2,126],{120:168,10:[1,285],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,127],{120:168,10:[1,286],14:We,44:je,60:Ke,89:Ye,105:He,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(z,[2,114]),{31:[1,287],67:_,82:219,116:B,117:v,118:V},{6:11,7:12,8:p,9:T,10:f,11:U,20:17,22:18,23:19,24:20,25:21,26:22,27:x,32:[1,288],33:24,34:W,36:E,38:y,42:28,43:39,44:w,45:40,47:41,60:j,84:ve,85:d,86:g,87:ne,88:oe,89:K,102:Y,105:H,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:nt,123:ut,124:ot,125:lt},{10:ge,60:Ae,84:me,92:289,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},{10:ge,60:Ae,84:me,92:290,105:Ce,107:242,108:243,109:Se,110:ye,111:xe,112:_e},e(ie,[2,62]),e(G,[2,33]),e(z,[2,124],{106:st}),e(z,[2,125],{106:st})],defaultActions:{},parseError:t(function(b,C){if(C.recoverable)this.trace(b);else{var S=Error(b);throw S.hash=C,S}},"parseError"),parse:t(function(b){var C=this,S=[0],l=[],M=[null],s=[],Ge=this.table,i="",X=0,r1=0,a1=0,d1=2,n1=1,p1=s.slice.call(arguments,1),se=Object.create(this.lexer),Pe={yy:{}};for(var At in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,At))Pe.yy[At]=this.yy[At];if(se.setInput(b,Pe.yy),Pe.yy.lexer=se,Pe.yy.parser=this,typeof se.yylloc>"u")se.yylloc={};var mt=se.yylloc;s.push(mt);var f1=se.options&&se.options.ranges;if(typeof Pe.yy.parseError==="function")this.parseError=Pe.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function b1(de){S.length=S.length-2*de,M.length=M.length-de,s.length=s.length-de}t(b1,"popStack");function u1(){var de=l.pop()||se.lex()||n1;if(typeof de!=="number"){if(de instanceof Array)l=de,de=l.pop();de=C.symbols_[de]||de}return de}t(u1,"lex");var ue,Dt,Oe,he,y1,Tt,it={},pt,Be,o1,ft;while(!0){if(Oe=S[S.length-1],this.defaultActions[Oe])he=this.defaultActions[Oe];else{if(ue===null||typeof ue>"u")ue=u1();he=Ge[Oe]&&Ge[Oe][ue]}if(typeof he>"u"||!he.length||!he[0]){var Et="";ft=[];for(pt in Ge[Oe])if(this.terminals_[pt]&&pt>d1)ft.push("'"+this.terminals_[pt]+"'");if(se.showPosition)Et="Parse error on line "+(X+1)+`:
|
|
10
10
|
`+se.showPosition()+`
|
|
11
|
-
Expecting `+ft.join(", ")+", got '"+(this.terminals_[ue]||ue)+"'";else Et="Parse error on line "+(X+1)+": Unexpected "+(ue==n1?"end of input":"'"+(this.terminals_[ue]||ue)+"'");this.parseError(Et,{text:se.match,token:this.terminals_[ue]||ue,line:se.yylineno,loc:mt,expected:ft})}if(he[0]instanceof Array&&he.length>1)throw Error("Parse Error: multiple actions possible at state: "+Oe+", token: "+ue);switch(he[0]){case 1:if(S.push(ue),
|
|
11
|
+
Expecting `+ft.join(", ")+", got '"+(this.terminals_[ue]||ue)+"'";else Et="Parse error on line "+(X+1)+": Unexpected "+(ue==n1?"end of input":"'"+(this.terminals_[ue]||ue)+"'");this.parseError(Et,{text:se.match,token:this.terminals_[ue]||ue,line:se.yylineno,loc:mt,expected:ft})}if(he[0]instanceof Array&&he.length>1)throw Error("Parse Error: multiple actions possible at state: "+Oe+", token: "+ue);switch(he[0]){case 1:if(S.push(ue),M.push(se.yytext),s.push(se.yylloc),S.push(he[1]),ue=null,!Dt){if(r1=se.yyleng,i=se.yytext,X=se.yylineno,mt=se.yylloc,a1>0)a1--}else ue=Dt,Dt=null;break;case 2:if(Be=this.productions_[he[1]][1],it.$=M[M.length-Be],it._$={first_line:s[s.length-(Be||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(Be||1)].first_column,last_column:s[s.length-1].last_column},f1)it._$.range=[s[s.length-(Be||1)].range[0],s[s.length-1].range[1]];if(Tt=this.performAction.apply(it,[i,r1,X,Pe.yy,he[1],M,s].concat(p1)),typeof Tt<"u")return Tt;if(Be)S=S.slice(0,-1*Be*2),M=M.slice(0,-1*Be),s=s.slice(0,-1*Be);S.push(this.productions_[he[1]][0]),M.push(it.$),s.push(it._$),o1=Ge[S[S.length-2]][S[S.length-1]],S.push(o1);break;case 3:return!0}}return!0},"parse")},h1=function(){var Re={EOF:1,parseError:t(function(C,S){if(this.yy.parser)this.yy.parser.parseError(C,S);else throw Error(C)},"parseError"),setInput:t(function(b,C){if(this.yy=C||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var C=b.match(/(?:\r\n?|\n).*/g);if(C)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var C=b.length,S=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var l=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 M=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===l.length?this.yylloc.first_column:0)+l[l.length-S.length].length-S[0].length:this.yylloc.first_column-C},this.options.ranges)this.yylloc.range=[M[0],M[0]+this.yyleng-C];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
12
12
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),C=Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
|
13
|
-
`+C+"^"},"showPosition"),test_match:t(function(b,C){var S,l,
|
|
14
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var C=this.next();if(C)return C;else return this.lex()},"lex"),begin:t(function(C){this.conditionStack.push(C)},"begin"),popState:t(function(){var C=this.conditionStack.length-1;if(C>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(C){if(C=this.conditionStack.length-1-Math.abs(C||0),C>=0)return this.conditionStack[C];else return"INITIAL"},"topState"),pushState:t(function(C){this.begin(C)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(C,S,l,O){var s=O;switch(l){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),S.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let Ge=/\n\s*/g;return S.yytext=S.yytext.replace(Ge,"<br/>"),40;break;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:if(C.lex.firstGraph())this.begin("dir");return 12;case 36:if(C.lex.firstGraph())this.begin("dir");return 12;case 37:if(C.lex.firstGraph())this.begin("dir");return 12;case 38:if(C.lex.firstGraph())this.begin("dir");return 12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return this.popState(),14;break;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;break;case 71:return this.pushState("edgeText"),75;break;case 72:return 119;case 73:return this.popState(),77;break;case 74:return this.pushState("thickEdgeText"),75;break;case 75:return 119;case 76:return this.popState(),77;break;case 77:return this.pushState("dottedEdgeText"),75;break;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;break;case 81:return"TEXT";case 82:return this.pushState("ellipseText"),52;break;case 83:return this.popState(),55;break;case 84:return this.pushState("text"),54;break;case 85:return this.popState(),57;break;case 86:return this.pushState("text"),56;break;case 87:return 58;case 88:return this.pushState("text"),67;break;case 89:return this.popState(),64;break;case 90:return this.pushState("text"),63;break;case 91:return this.popState(),49;break;case 92:return this.pushState("text"),48;break;case 93:return this.popState(),69;break;case 94:return this.popState(),71;break;case 95:return 117;case 96:return this.pushState("trapText"),68;break;case 97:return this.pushState("trapText"),70;break;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return"SEP";case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;break;case 110:return this.pushState("text"),62;break;case 111:return this.popState(),51;break;case 112:return this.pushState("text"),50;break;case 113:return this.popState(),31;break;case 114:return this.pushState("text"),29;break;case 115:return this.popState(),66;break;case 116:return this.pushState("text"),65;break;case 117:return"TEXT";case 118:return"QUOTE";case 119:return 9;case 120:return 10;case 121:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}};return Re}();gt.lexer=h1;function dt(){this.yy={}}return t(dt,"Parser"),dt.prototype=gt,gt.Parser=dt,new dt}();St.parser=St;var l1=St,c1=Object.assign({},l1);c1.parse=(e)=>{let r=e.replace(/}\s*\n/g,`}
|
|
13
|
+
`+C+"^"},"showPosition"),test_match:t(function(b,C){var S,l,M;if(this.options.backtrack_lexer){if(M={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)M.yylloc.range=this.yylloc.range.slice(0)}if(l=b[0].match(/(?:\r\n?|\n).*/g),l)this.yylineno+=l.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],S=this.performAction.call(this,this.yy,this,C,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(S)return S;else if(this._backtrack){for(var s in M)this[s]=M[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,C,S,l;if(!this._more)this.yytext="",this.match="";var M=this._currentRules();for(var s=0;s<M.length;s++)if(S=this._input.match(this.rules[M[s]]),S&&(!C||S[0].length>C[0].length)){if(C=S,l=s,this.options.backtrack_lexer)if(b=this.test_match(S,M[s]),b!==!1)return b;else if(this._backtrack){C=!1;continue}else return!1;else if(!this.options.flex)break}if(C){if(b=this.test_match(C,M[l]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
14
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var C=this.next();if(C)return C;else return this.lex()},"lex"),begin:t(function(C){this.conditionStack.push(C)},"begin"),popState:t(function(){var C=this.conditionStack.length-1;if(C>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(C){if(C=this.conditionStack.length-1-Math.abs(C||0),C>=0)return this.conditionStack[C];else return"INITIAL"},"topState"),pushState:t(function(C){this.begin(C)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(C,S,l,M){var s=M;switch(l){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),S.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let Ge=/\n\s*/g;return S.yytext=S.yytext.replace(Ge,"<br/>"),40;break;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:if(C.lex.firstGraph())this.begin("dir");return 12;case 36:if(C.lex.firstGraph())this.begin("dir");return 12;case 37:if(C.lex.firstGraph())this.begin("dir");return 12;case 38:if(C.lex.firstGraph())this.begin("dir");return 12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return this.popState(),14;break;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;break;case 71:return this.pushState("edgeText"),75;break;case 72:return 119;case 73:return this.popState(),77;break;case 74:return this.pushState("thickEdgeText"),75;break;case 75:return 119;case 76:return this.popState(),77;break;case 77:return this.pushState("dottedEdgeText"),75;break;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;break;case 81:return"TEXT";case 82:return this.pushState("ellipseText"),52;break;case 83:return this.popState(),55;break;case 84:return this.pushState("text"),54;break;case 85:return this.popState(),57;break;case 86:return this.pushState("text"),56;break;case 87:return 58;case 88:return this.pushState("text"),67;break;case 89:return this.popState(),64;break;case 90:return this.pushState("text"),63;break;case 91:return this.popState(),49;break;case 92:return this.pushState("text"),48;break;case 93:return this.popState(),69;break;case 94:return this.popState(),71;break;case 95:return 117;case 96:return this.pushState("trapText"),68;break;case 97:return this.pushState("trapText"),70;break;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return"SEP";case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;break;case 110:return this.pushState("text"),62;break;case 111:return this.popState(),51;break;case 112:return this.pushState("text"),50;break;case 113:return this.popState(),31;break;case 114:return this.pushState("text"),29;break;case 115:return this.popState(),66;break;case 116:return this.pushState("text"),65;break;case 117:return"TEXT";case 118:return"QUOTE";case 119:return 9;case 120:return 10;case 121:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}};return Re}();gt.lexer=h1;function dt(){this.yy={}}return t(dt,"Parser"),dt.prototype=gt,gt.Parser=dt,new dt}();St.parser=St;var l1=St,c1=Object.assign({},l1);c1.parse=(e)=>{let r=e.replace(/}\s*\n/g,`}
|
|
15
15
|
`);return l1.parse(r)};var D1=c1,T1=t((e)=>{let{theme:r,bkgColorArray:n,borderColorArray:o}=e;if(!Te(r,o))return"";let c=Ee(e.look),m=De(n),p="";for(let T=0;T<Lt(e.THEME_COLOR_LIMIT,o);T++){let f=o[T%o.length],U=m?`fill: ${n[T%n.length]};`:"",x=`[data-look="${c}"][data-color-id="color-${T}"]`,W=t((y)=>`${x}.node ${y}, ${x}.rough-node ${y}`,"collapsedRule"),E=t((y)=>`${x}.swimlane.cluster .swimlane-title${y}, ${x}.swimlane.cluster .swimlane-body${y}`,"laneRule");p+=`
|
|
16
16
|
|
|
17
17
|
${x}.cluster:not(.swimlane) rect {
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tl,$l,nl,Bl,Fl,rl}from"./chunk-kr7shpnb.js";import"./chunk-qcgs1mft.js";import"./chunk-4zftsyq2.js";import"./chunk-dbv8qpen.js";export{$l as applyDagreLayoutResult,tl as getEdgesToRender,Bl as measureDagreLayout,nl as prepareLayoutForDagre,rl as render,Fl as runDagreLayoutCore};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{wn}from"./chunk-qjg6dw46.js";var X={};wn(X,{default:()=>vn});var J={};wn(J,{default:()=>Wn});var br=typeof global=="object"&&global&&global.Object===Object&&global,H=br;var vr=typeof self=="object"&&self&&self.Object===Object&&self,Or=H||vr||Function("return this")(),Ve=Or;var wr=Ve.Symbol,ht=wr;var bt=Object.prototype,{hasOwnProperty:Pr,toString:Cr}=bt,G=ht?ht.toStringTag:void 0;function jr(t){var e=Pr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Cr.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var vt=jr;var Mr=Object.prototype,Nr=Mr.toString;function Fr(t){return Nr.call(t)}var Ot=Fr;var Br="[object Null]",Gr="[object Undefined]",Tt=ht?ht.toStringTag:void 0;function Ur(t){if(t==null)return t===void 0?Gr:Br;return Tt&&Tt in Object(t)?vt(t):Ot(t)}var Ft=Ur;function zr(t){return t!=null&&typeof t=="object"}var Je=zr;var Wr="[object Symbol]";function Kr(t){return typeof t=="symbol"||Je(t)&&Ft(t)==Wr}var nn=Kr;function Hr(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var qn=Hr;var qr=Array.isArray,ae=qr;var $r=1/0,wt=ht?ht.prototype:void 0,St=wt?wt.toString:void 0;function Pt(t){if(typeof t=="string")return t;if(ae(t))return qn(t,Pt)+"";if(nn(t))return St?St.call(t):"";var e=t+"";return e=="0"&&1/t==-$r?"-0":e}var Ct=Pt;function kr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Pe=kr;function Yr(t){return t}var Qt=Yr;var Xr="[object AsyncFunction]",Zr="[object Function]",Jr="[object GeneratorFunction]",Qr="[object Proxy]";function Vr(t){if(!Pe(t))return!1;var e=Ft(t);return e==Zr||e==Jr||e==Xr||e==Qr}var Vn=Vr;var to=Ve["__core-js_shared__"],q=to;var Et=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function eo(t){return!!Et&&Et in t}var It=eo;var ro=Function.prototype,no=ro.toString;function xo(t){if(t!=null){try{return no.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=xo;var _o=/[\\^$.*+?()[\]{}|]/g,bo=/^\[object .+?Constructor\]$/,vo=Function.prototype,Oo=Object.prototype,Ao=vo.toString,To=Oo.hasOwnProperty,wo=RegExp("^"+Ao.call(To).replace(_o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function So(t){if(!Pe(t)||It(t))return!1;var e=Vn(t)?wo:bo;return e.test(y(t))}var Lt=So;function Po(t,e){return t==null?void 0:t[e]}var jt=Po;function Co(t,e){var r=jt(t,e);return Lt(r)?r:void 0}var x=Co;var Eo=x(Ve,"WeakMap"),k=Eo;function Io(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Mt=Io;function Lo(){}var Nt=Lo;var jo=800,Mo=16,No=Date.now;function Do(t){var e=0,r=0;return function(){var o=No(),a=Mo-(o-r);if(r=o,a>0){if(++e>=jo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Dt=Do;function Ro(t){return function(){return t}}var Jt=Ro;var Fo=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ea=Fo;var Bo=!Ea?Qt:function(t,e){return Ea(t,"toString",{configurable:!0,enumerable:!1,value:Jt(e),writable:!0})},Rt=Bo;var Go=Dt(Rt),ao=Go;function Uo(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var io=Uo;function zo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var oo=zo;function Wo(t){return t!==t}var Bt=Wo;function Ko(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var Gt=Ko;function Ho(t,e,r){return e===e?Gt(t,e,r):oo(t,Bt,r)}var Ut=Ho;function qo(t,e){var r=t==null?0:t.length;return!!r&&Ut(t,e,0)>-1}var Wt=qo;var $o=9007199254740991,ko=/^(?:0|[1-9]\d*)$/;function Yo(t,e){var r=typeof t;return e=e==null?$o:e,!!e&&(r=="number"||r!="symbol"&&ko.test(t))&&(t>-1&&t%1==0&&t<e)}var Sr=Yo;function Xo(t,e){return t===e||t!==t&&e!==e}var yn=Xo;var Kt=Math.max;function Zo(t,e,r){return e=Kt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Kt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Mt(t,this,n)}}var so=Zo;function Jo(t,e){return ao(so(t,e,Qt),t+"")}var Tr=Jo;var Qo=9007199254740991;function Vo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Qo}var j=Vo;function ta(t){return t!=null&&j(t.length)&&!Vn(t)}var gt=ta;var ea=Object.prototype;function ra(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ea;return t===r}var Er=ra;function oa(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Ht=oa;var aa="[object Arguments]";function fa(t){return Je(t)&&Ft(t)==aa}var ut=fa;var qt=Object.prototype,{hasOwnProperty:ia,propertyIsEnumerable:na}=qt,sa=ut(function(){return arguments}())?ut:function(t){return Je(t)&&ia.call(t,"callee")&&!na.call(t,"callee")},Mn=sa;function pa(){return!1}var $t=pa;var Xt=typeof X=="object"&&X&&!X.nodeType&&X,kt=Xt&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=kt&&kt.exports===Xt,Yt=ua?Ve.Buffer:void 0,ma=Yt?Yt.isBuffer:void 0,la=ma||$t,vn=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Ta="[object Set]",wa="[object String]",Sa="[object WeakMap]",Ca="[object ArrayBuffer]",ja="[object DataView]",Fa="[object Float32Array]",Ba="[object Float64Array]",Ga="[object Int8Array]",Ua="[object Int16Array]",za="[object Int32Array]",Wa="[object Uint8Array]",Ka="[object Uint8ClampedArray]",Ha="[object Uint16Array]",qa="[object Uint32Array]",u={};u[Fa]=u[Ba]=u[Ga]=u[Ua]=u[za]=u[Wa]=u[Ka]=u[Ha]=u[qa]=!0;u[da]=u[xa]=u[Ca]=u[ha]=u[ja]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Ta]=u[wa]=u[Sa]=!1;function $a(t){return Je(t)&&j(t.length)&&!!u[Ft(t)]}var Zt=$a;function ka(t){return function(e){return t(e)}}var Ar=ka;var Vt=typeof J=="object"&&J&&!J.nodeType&&J,U=Vt&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ya=U&&U.exports===Vt,mt=Ya&&H.process,Xa=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return mt&&mt.binding&&mt.binding("util")}catch(e){}}(),Wn=Xa;var te=Wn&&Wn.isTypedArray,Za=te?Ar(te):Zt,Rr=Za;var Ja=Object.prototype,Qa=Ja.hasOwnProperty;function Va(t,e){var r=ae(t),o=!r&&Mn(t),a=!r&&!o&&vn(t),f=!r&&!o&&!a&&Rr(t),i=r||o||a||f,n=i?Ht(t.length,String):[],s=n.length;for(var p in t)if((e||Qa.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Sr(p,s))))n.push(p);return n}var lo=Va;function tf(t,e){return function(r){return t(e(r))}}var co=tf;var ef=co(Object.keys,Object),ee=ef;var rf=Object.prototype,of=rf.hasOwnProperty;function af(t){if(!Er(t))return ee(t);var e=[];for(var r in Object(t))if(of.call(t,r)&&r!="constructor")e.push(r);return e}var Aa=af;function ff(t){return gt(t)?lo(t):Aa(t)}var We=ff;var nf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sf=/^\w*$/;function pf(t,e){if(ae(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||nn(t))return!0;return sf.test(t)||!nf.test(t)||e!=null&&t in Object(e)}var M=pf;var uf=x(Object,"create"),_=uf;function mf(){this.__data__=_?_(null):{},this.size=0}var re=mf;function lf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var oe=lf;var df="__lodash_hash_undefined__",xf=Object.prototype,hf=xf.hasOwnProperty;function cf(t){var e=this.__data__;if(_){var r=e[t];return r===df?void 0:r}return hf.call(e,t)?e[t]:void 0}var fe=cf;var gf=Object.prototype,yf=gf.hasOwnProperty;function _f(t){var e=this.__data__;return _?e[t]!==void 0:yf.call(e,t)}var ie=_f;var bf="__lodash_hash_undefined__";function vf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?bf:e,this}var ne=vf;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=re;N.prototype.delete=oe;N.prototype.get=fe;N.prototype.has=ie;N.prototype.set=ne;var lt=N;function Of(){this.__data__=[],this.size=0}var se=Of;function Af(t,e){var r=t.length;while(r--)if(yn(t[r][0],e))return r;return-1}var O=Af;var Tf=Array.prototype,wf=Tf.splice;function Sf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else wf.call(e,r,1);return--this.size,!0}var pe=Sf;function Pf(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var ue=Pf;function Cf(t){return O(this.__data__,t)>-1}var me=Cf;function Ef(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var le=Ef;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=se;D.prototype.delete=pe;D.prototype.get=ue;D.prototype.has=me;D.prototype.set=le;var A=D;var If=x(Ve,"Map"),T=If;function Lf(){this.size=0,this.__data__={hash:new lt,map:new(T||A),string:new lt}}var de=Lf;function jf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var he=jf;function Mf(t,e){var r=t.__data__;return he(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=Mf;function Nf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var ce=Nf;function Df(t){return w(this,t).get(t)}var ge=Df;function Rf(t){return w(this,t).has(t)}var ye=Rf;function Ff(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var _e=Ff;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=de;R.prototype.delete=ce;R.prototype.get=ge;R.prototype.has=ye;R.prototype.set=_e;var E=R;var Bf="Expected a function";function dt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(Bf);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(dt.Cache||E),r}dt.Cache=E;var be=dt;var Gf=500;function Uf(t){var e=be(t,function(o){if(r.size===Gf)r.clear();return o}),r=e.cache;return e}var ve=Uf;var zf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wf=/\\(\\)?/g,Kf=ve(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(zf,function(r,o,a,f){e.push(a?f.replace(Wf,"$1"):o||r)}),e}),Oe=Kf;function Hf(t){return t==null?"":Ct(t)}var uo=Hf;function qf(t,e){if(ae(t))return t;return M(t,e)?[t]:Oe(uo(t))}var Lr=qf;var $f=1/0;function kf(t){if(typeof t=="string"||nn(t))return t;var e=t+"";return e=="0"&&1/t==-$f?"-0":e}var Gn=kf;function Yf(t,e){e=Lr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[Gn(e[r++])];return r&&r==o?t:void 0}var Ir=Yf;function Xf(t,e,r){var o=t==null?void 0:Ir(t,e);return o===void 0?r:o}var Ae=Xf;function Zf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var Ra=Zf;var Te=ht?ht.isConcatSpreadable:void 0;function Jf(t){return ae(t)||Mn(t)||!!(Te&&t&&t[Te])}var we=Jf;function Se(t,e,r,o,a){var f=-1,i=t.length;r||(r=we),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Se(n,e-1,r,o,a);else Ra(a,n);else if(!o)a[a.length]=n}return a}var La=Se;function Qf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Ce=Qf;function Vf(){this.__data__=new A,this.size=0}var Ee=Vf;function ti(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ie=ti;function ei(t){return this.__data__.get(t)}var Le=ei;function ri(t){return this.__data__.has(t)}var je=ri;var oi=200;function ai(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<oi-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var Me=ai;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Ee;F.prototype.delete=Ie;F.prototype.get=Le;F.prototype.has=je;F.prototype.set=Me;var Hn=F;function fi(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=fi;function ii(){return[]}var po=ii;var ni=Object.prototype,si=ni.propertyIsEnumerable,Ne=Object.getOwnPropertySymbols,pi=!Ne?po:function(t){if(t==null)return[];return t=Object(t),Q(Ne(t),function(e){return si.call(t,e)})},Ia=pi;function ui(t,e,r){var o=e(t);return ae(t)?o:Ra(o,r(t))}var mo=ui;function mi(t){return mo(t,We,Ia)}var bi=mi;var li=x(Ve,"DataView"),V=li;var di=x(Ve,"Promise"),tt=di;var xi=x(Ve,"Set"),S=xi;var De="[object Map]",hi="[object Object]",Re="[object Promise]",Fe="[object Set]",Be="[object WeakMap]",Ue="[object DataView]",ci=y(V),gi=y(T),yi=y(tt),_i=y(S),vi=y(k),I=Ft;if(V&&I(new V(new ArrayBuffer(1)))!=Ue||T&&I(new T)!=De||tt&&I(tt.resolve())!=Re||S&&I(new S)!=Fe||k&&I(new k)!=Be)I=function(t){var e=Ft(t),r=e==hi?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case ci:return Ue;case gi:return De;case yi:return Re;case _i:return Fe;case vi:return Be}return e};var rn=I;var Oi=Ve.Uint8Array,Da=Oi;var Ai="__lodash_hash_undefined__";function Ti(t){return this.__data__.set(t,Ai),this}var ze=Ti;function wi(t){return this.__data__.has(t)}var Ke=wi;function et(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}et.prototype.add=et.prototype.push=ze;et.prototype.has=Ke;var rt=et;function Si(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var He=Si;function Pi(t,e){return t.has(e)}var ot=Pi;var Ci=1,Ei=2;function Ii(t,e,r,o,a,f){var i=r&Ci,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&Ei?new rt:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!He(e,function(P,C){if(!ot(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var at=Ii;function Li(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var qe=Li;function ji(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=ji;var Mi=1,Ni=2,Di="[object Boolean]",Ri="[object Date]",Fi="[object Error]",Bi="[object Map]",Gi="[object Number]",Ui="[object RegExp]",zi="[object Set]",Wi="[object String]",Ki="[object Symbol]",Hi="[object ArrayBuffer]",qi="[object DataView]",$e=ht?ht.prototype:void 0,xt=$e?$e.valueOf:void 0;function $i(t,e,r,o,a,f,i){switch(r){case qi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Hi:if(t.byteLength!=e.byteLength||!f(new Da(t),new Da(e)))return!1;return!0;case Di:case Ri:case Gi:return yn(+t,+e);case Fi:return t.name==e.name&&t.message==e.message;case Ui:case Wi:return t==e+"";case Bi:var n=qe;case zi:var s=o&Mi;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=Ni,i.set(t,e);var d=at(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(xt)return xt.call(t)==xt.call(e)}return!1}var ke=$i;var ki=1,Yi=Object.prototype,Xi=Yi.hasOwnProperty;function Zi(t,e,r,o,a,f){var i=r&ki,n=bi(t),s=n.length,p=bi(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Xi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var _t=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(_t===void 0?P===C||a(P,C,r,o,f):_t)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var Ye=Zi;var Ji=1,Xe="[object Arguments]",Ze="[object Array]",ft="[object Object]",Qi=Object.prototype,Qe=Qi.hasOwnProperty;function Vi(t,e,r,o,a,f){var i=ae(t),n=ae(e),s=i?Ze:rn(t),p=n?Ze:rn(e);s=s==Xe?ft:s,p=p==Xe?ft:p;var d=s==ft,l=p==ft,m=s==p;if(m&&vn(t)){if(!vn(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new Hn),i||Rr(t)?at(t,e,r,o,a,f):ke(t,e,s,r,o,a,f);if(!(r&Ji)){var g=d&&Qe.call(t,"__wrapped__"),h=l&&Qe.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new Hn),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new Hn),Ye(t,e,r,o,a,f)}var tr=Vi;function er(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!Je(t)&&!Je(e))return t!==t&&e!==e;return tr(t,e,r,o,er,a)}var it=er;var tn=1,en=2;function on(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new Hn;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?it(d,p,tn|en,o,l):m))return!1}}return!0}var rr=on;function fn(t){return t===t&&!Pe(t)}var nt=fn;function sn(t){var e=We(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,nt(a)]}return e}var or=sn;function pn(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var st=pn;function un(t){var e=or(t);if(e.length==1&&e[0][2])return st(e[0][0],e[0][1]);return function(r){return r===t||rr(r,t,e)}}var ar=un;function mn(t,e){return t!=null&&e in Object(t)}var fr=mn;function ln(t,e,r){e=Lr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=Gn(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&Sr(i,a)&&(ae(t)||Mn(t))}var fo=ln;function dn(t,e){return t!=null&&fo(t,e,fr)}var ho=dn;var xn=1,hn=2;function cn(t,e){if(M(t)&&nt(e))return st(Gn(t),e);return function(r){var o=Ae(r,t);return o===void 0&&o===e?ho(r,t):it(e,o,xn|hn)}}var ir=cn;function gn(t){return function(e){return e==null?void 0:e[t]}}var go=gn;function _n(t){return function(e){return Ir(e,t)}}var nr=_n;function bn(t){return M(t)?go(Gn(t)):nr(t)}var sr=bn;function On(t){if(typeof t=="function")return t;if(t==null)return Qt;if(typeof t=="object")return ae(t)?ir(t[0],t[1]):ar(t);return sr(t)}var At=On;function An(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var pr=An;var Tn=pr(),Ma=Tn;function Sn(t,e){return t&&Ma(t,e,We)}var Na=Sn;function Pn(t,e){return function(r,o){if(r==null)return r;if(!gt(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var ur=Pn;var Cn=ur(Na),Dr=Cn;function En(t){return Je(t)&>(t)}var yo=En;function In(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var mr=In;function Ln(t){return typeof t=="function"?t:Qt}var Pa=Ln;function jn(t,e){var r=ae(t)?io:Dr;return r(t,Pa(e))}var b=jn;function Nn(t,e){var r=[];return Dr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var lr=Nn;function Dn(t,e){var r=ae(t)?Q:lr;return r(t,At(e,3))}var zt=Dn;function Rn(t,e){return qn(e,function(r){return t[r]})}var dr=Rn;function Fn(t){return t==null?[]:dr(t,We(t))}var an=Fn;var Bn="[object Map]",Un="[object Set]",zn=Object.prototype,Kn=zn.hasOwnProperty;function $n(t){if(t==null)return!0;if(gt(t)&&(ae(t)||typeof t=="string"||typeof t.splice=="function"||vn(t)||Rr(t)||Mn(t)))return!t.length;var e=rn(t);if(e==Bn||e==Un)return!t.size;if(Er(t))return!Aa(t).length;for(var r in t)if(Kn.call(t,r))return!1;return!0}var pt=$n;function kn(t){return t===void 0}var Ge=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var xr=Xn;function Zn(t,e,r){var o=ae(t)?Ce:xr,a=arguments.length<3;return o(t,At(e,4),r,a,Dr)}var Yn=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?Nt:function(t){return new S(t)},hr=Qn;var ts=200;function es(t,e,r){var o=-1,a=Wt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=mr;else if(f>=ts){var p=e?null:hr(t);if(p)return B(p);i=!1,a=ot,s=new rt}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var cr=es;var rs=Tr(function(t){return cr(La(t,1,yo,!0))}),ct=rs;var as="\x00",L="\x00",gr="\x01";class xe{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Jt(void 0),this._defaultEdgeLabelFn=Jt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!Vn(t))t=Jt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return We(this._nodes)}sources(){var t=this;return zt(this.nodes(),function(e){return pt(t._in[e])})}sinks(){var t=this;return zt(this.nodes(),function(e){return pt(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(We(this._in[t]),e),delete this._in[t],delete this._preds[t],b(We(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Ge(e))e=L;else{e+="";for(var r=e;!Ge(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Ge(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return We(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return We(e)}successors(t){var e=this._sucs[t];if(e)return We(e)}neighbors(t){var e=this.predecessors(t);if(e)return ct(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!Vn(t))t=Jt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return an(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return Yn(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Ge(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Ge(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,yr(this._preds[e],t),yr(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],_r(this._preds[e],t),_r(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=an(r);if(!e)return o;return zt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=an(r);if(!e)return o;return zt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}xe.prototype._nodeCount=0;xe.prototype._edgeCount=0;function yr(t,e){if(t[e])t[e]++;else t[e]=1}function _r(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+gr+f+gr+(Ge(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function yt(t,e){return z(t,e.v,e.w,e.name)}
|
|
2
|
-
export{Ve,ht,Ft,Je,nn,qn,ae,Pe,Qt,Vn,Jt,Ea,ao,io,oo,Sr,yn,so,Tr,gt,Er,
|
|
1
|
+
import{wn}from"./chunk-b83bzjcx.js";var X={};wn(X,{default:()=>vn});var J={};wn(J,{default:()=>Wn});var br=typeof global=="object"&&global&&global.Object===Object&&global,H=br;var vr=typeof self=="object"&&self&&self.Object===Object&&self,Or=H||vr||Function("return this")(),Ve=Or;var wr=Ve.Symbol,ht=wr;var bt=Object.prototype,{hasOwnProperty:Pr,toString:Cr}=bt,G=ht?ht.toStringTag:void 0;function jr(t){var e=Pr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Cr.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var vt=jr;var Mr=Object.prototype,Nr=Mr.toString;function Fr(t){return Nr.call(t)}var Ot=Fr;var Br="[object Null]",Gr="[object Undefined]",Tt=ht?ht.toStringTag:void 0;function Ur(t){if(t==null)return t===void 0?Gr:Br;return Tt&&Tt in Object(t)?vt(t):Ot(t)}var Ft=Ur;function zr(t){return t!=null&&typeof t=="object"}var Je=zr;var Wr="[object Symbol]";function Kr(t){return typeof t=="symbol"||Je(t)&&Ft(t)==Wr}var nn=Kr;function Hr(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var qn=Hr;var qr=Array.isArray,ae=qr;var $r=1/0,wt=ht?ht.prototype:void 0,St=wt?wt.toString:void 0;function Pt(t){if(typeof t=="string")return t;if(ae(t))return qn(t,Pt)+"";if(nn(t))return St?St.call(t):"";var e=t+"";return e=="0"&&1/t==-$r?"-0":e}var Ct=Pt;function kr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Pe=kr;function Yr(t){return t}var Qt=Yr;var Xr="[object AsyncFunction]",Zr="[object Function]",Jr="[object GeneratorFunction]",Qr="[object Proxy]";function Vr(t){if(!Pe(t))return!1;var e=Ft(t);return e==Zr||e==Jr||e==Xr||e==Qr}var Vn=Vr;var to=Ve["__core-js_shared__"],q=to;var Et=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function eo(t){return!!Et&&Et in t}var It=eo;var ro=Function.prototype,no=ro.toString;function xo(t){if(t!=null){try{return no.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=xo;var _o=/[\\^$.*+?()[\]{}|]/g,bo=/^\[object .+?Constructor\]$/,vo=Function.prototype,Oo=Object.prototype,Ao=vo.toString,To=Oo.hasOwnProperty,wo=RegExp("^"+Ao.call(To).replace(_o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function So(t){if(!Pe(t)||It(t))return!1;var e=Vn(t)?wo:bo;return e.test(y(t))}var Lt=So;function Po(t,e){return t==null?void 0:t[e]}var jt=Po;function Co(t,e){var r=jt(t,e);return Lt(r)?r:void 0}var x=Co;var Eo=x(Ve,"WeakMap"),k=Eo;function Io(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Mt=Io;function Lo(){}var Nt=Lo;var jo=800,Mo=16,No=Date.now;function Do(t){var e=0,r=0;return function(){var o=No(),a=Mo-(o-r);if(r=o,a>0){if(++e>=jo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Dt=Do;function Ro(t){return function(){return t}}var Jt=Ro;var Fo=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ea=Fo;var Bo=!Ea?Qt:function(t,e){return Ea(t,"toString",{configurable:!0,enumerable:!1,value:Jt(e),writable:!0})},Rt=Bo;var Go=Dt(Rt),ao=Go;function Uo(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var io=Uo;function zo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var oo=zo;function Wo(t){return t!==t}var Bt=Wo;function Ko(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var Gt=Ko;function Ho(t,e,r){return e===e?Gt(t,e,r):oo(t,Bt,r)}var Ut=Ho;function qo(t,e){var r=t==null?0:t.length;return!!r&&Ut(t,e,0)>-1}var Wt=qo;var $o=9007199254740991,ko=/^(?:0|[1-9]\d*)$/;function Yo(t,e){var r=typeof t;return e=e==null?$o:e,!!e&&(r=="number"||r!="symbol"&&ko.test(t))&&(t>-1&&t%1==0&&t<e)}var Sr=Yo;function Xo(t,e){return t===e||t!==t&&e!==e}var yn=Xo;var Kt=Math.max;function Zo(t,e,r){return e=Kt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Kt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Mt(t,this,n)}}var so=Zo;function Jo(t,e){return ao(so(t,e,Qt),t+"")}var Tr=Jo;var Qo=9007199254740991;function Vo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Qo}var j=Vo;function ta(t){return t!=null&&j(t.length)&&!Vn(t)}var gt=ta;var ea=Object.prototype;function ra(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ea;return t===r}var Er=ra;function oa(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Ht=oa;var aa="[object Arguments]";function fa(t){return Je(t)&&Ft(t)==aa}var ut=fa;var qt=Object.prototype,{hasOwnProperty:ia,propertyIsEnumerable:na}=qt,sa=ut(function(){return arguments}())?ut:function(t){return Je(t)&&ia.call(t,"callee")&&!na.call(t,"callee")},Nn=sa;function pa(){return!1}var $t=pa;var Xt=typeof X=="object"&&X&&!X.nodeType&&X,kt=Xt&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=kt&&kt.exports===Xt,Yt=ua?Ve.Buffer:void 0,ma=Yt?Yt.isBuffer:void 0,la=ma||$t,vn=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Ta="[object Set]",wa="[object String]",Sa="[object WeakMap]",Ca="[object ArrayBuffer]",ja="[object DataView]",Fa="[object Float32Array]",Ba="[object Float64Array]",Ga="[object Int8Array]",Ua="[object Int16Array]",za="[object Int32Array]",Wa="[object Uint8Array]",Ka="[object Uint8ClampedArray]",Ha="[object Uint16Array]",qa="[object Uint32Array]",u={};u[Fa]=u[Ba]=u[Ga]=u[Ua]=u[za]=u[Wa]=u[Ka]=u[Ha]=u[qa]=!0;u[da]=u[xa]=u[Ca]=u[ha]=u[ja]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Ta]=u[wa]=u[Sa]=!1;function $a(t){return Je(t)&&j(t.length)&&!!u[Ft(t)]}var Zt=$a;function ka(t){return function(e){return t(e)}}var Ar=ka;var Vt=typeof J=="object"&&J&&!J.nodeType&&J,U=Vt&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ya=U&&U.exports===Vt,mt=Ya&&H.process,Xa=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return mt&&mt.binding&&mt.binding("util")}catch(e){}}(),Wn=Xa;var te=Wn&&Wn.isTypedArray,Za=te?Ar(te):Zt,Rr=Za;var Ja=Object.prototype,Qa=Ja.hasOwnProperty;function Va(t,e){var r=ae(t),o=!r&&Nn(t),a=!r&&!o&&vn(t),f=!r&&!o&&!a&&Rr(t),i=r||o||a||f,n=i?Ht(t.length,String):[],s=n.length;for(var p in t)if((e||Qa.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Sr(p,s))))n.push(p);return n}var lo=Va;function tf(t,e){return function(r){return t(e(r))}}var co=tf;var ef=co(Object.keys,Object),ee=ef;var rf=Object.prototype,of=rf.hasOwnProperty;function af(t){if(!Er(t))return ee(t);var e=[];for(var r in Object(t))if(of.call(t,r)&&r!="constructor")e.push(r);return e}var Aa=af;function ff(t){return gt(t)?lo(t):Aa(t)}var We=ff;var nf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sf=/^\w*$/;function pf(t,e){if(ae(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||nn(t))return!0;return sf.test(t)||!nf.test(t)||e!=null&&t in Object(e)}var M=pf;var uf=x(Object,"create"),_=uf;function mf(){this.__data__=_?_(null):{},this.size=0}var re=mf;function lf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var oe=lf;var df="__lodash_hash_undefined__",xf=Object.prototype,hf=xf.hasOwnProperty;function cf(t){var e=this.__data__;if(_){var r=e[t];return r===df?void 0:r}return hf.call(e,t)?e[t]:void 0}var fe=cf;var gf=Object.prototype,yf=gf.hasOwnProperty;function _f(t){var e=this.__data__;return _?e[t]!==void 0:yf.call(e,t)}var ie=_f;var bf="__lodash_hash_undefined__";function vf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?bf:e,this}var ne=vf;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=re;N.prototype.delete=oe;N.prototype.get=fe;N.prototype.has=ie;N.prototype.set=ne;var lt=N;function Of(){this.__data__=[],this.size=0}var se=Of;function Af(t,e){var r=t.length;while(r--)if(yn(t[r][0],e))return r;return-1}var O=Af;var Tf=Array.prototype,wf=Tf.splice;function Sf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else wf.call(e,r,1);return--this.size,!0}var pe=Sf;function Pf(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var ue=Pf;function Cf(t){return O(this.__data__,t)>-1}var me=Cf;function Ef(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var le=Ef;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=se;D.prototype.delete=pe;D.prototype.get=ue;D.prototype.has=me;D.prototype.set=le;var A=D;var If=x(Ve,"Map"),T=If;function Lf(){this.size=0,this.__data__={hash:new lt,map:new(T||A),string:new lt}}var de=Lf;function jf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var he=jf;function Mf(t,e){var r=t.__data__;return he(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=Mf;function Nf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var ce=Nf;function Df(t){return w(this,t).get(t)}var ge=Df;function Rf(t){return w(this,t).has(t)}var ye=Rf;function Ff(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var _e=Ff;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=de;R.prototype.delete=ce;R.prototype.get=ge;R.prototype.has=ye;R.prototype.set=_e;var E=R;var Bf="Expected a function";function dt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(Bf);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(dt.Cache||E),r}dt.Cache=E;var be=dt;var Gf=500;function Uf(t){var e=be(t,function(o){if(r.size===Gf)r.clear();return o}),r=e.cache;return e}var ve=Uf;var zf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wf=/\\(\\)?/g,Kf=ve(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(zf,function(r,o,a,f){e.push(a?f.replace(Wf,"$1"):o||r)}),e}),Oe=Kf;function Hf(t){return t==null?"":Ct(t)}var uo=Hf;function qf(t,e){if(ae(t))return t;return M(t,e)?[t]:Oe(uo(t))}var Lr=qf;var $f=1/0;function kf(t){if(typeof t=="string"||nn(t))return t;var e=t+"";return e=="0"&&1/t==-$f?"-0":e}var Gn=kf;function Yf(t,e){e=Lr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[Gn(e[r++])];return r&&r==o?t:void 0}var Ir=Yf;function Xf(t,e,r){var o=t==null?void 0:Ir(t,e);return o===void 0?r:o}var Ae=Xf;function Zf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var Ra=Zf;var Te=ht?ht.isConcatSpreadable:void 0;function Jf(t){return ae(t)||Nn(t)||!!(Te&&t&&t[Te])}var we=Jf;function Se(t,e,r,o,a){var f=-1,i=t.length;r||(r=we),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Se(n,e-1,r,o,a);else Ra(a,n);else if(!o)a[a.length]=n}return a}var La=Se;function Qf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Ce=Qf;function Vf(){this.__data__=new A,this.size=0}var Ee=Vf;function ti(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Ie=ti;function ei(t){return this.__data__.get(t)}var Le=ei;function ri(t){return this.__data__.has(t)}var je=ri;var oi=200;function ai(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<oi-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var Me=ai;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Ee;F.prototype.delete=Ie;F.prototype.get=Le;F.prototype.has=je;F.prototype.set=Me;var Hn=F;function fi(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=fi;function ii(){return[]}var po=ii;var ni=Object.prototype,si=ni.propertyIsEnumerable,Ne=Object.getOwnPropertySymbols,pi=!Ne?po:function(t){if(t==null)return[];return t=Object(t),Q(Ne(t),function(e){return si.call(t,e)})},Ia=pi;function ui(t,e,r){var o=e(t);return ae(t)?o:Ra(o,r(t))}var mo=ui;function mi(t){return mo(t,We,Ia)}var bi=mi;var li=x(Ve,"DataView"),V=li;var di=x(Ve,"Promise"),tt=di;var xi=x(Ve,"Set"),S=xi;var De="[object Map]",hi="[object Object]",Re="[object Promise]",Fe="[object Set]",Be="[object WeakMap]",Ue="[object DataView]",ci=y(V),gi=y(T),yi=y(tt),_i=y(S),vi=y(k),I=Ft;if(V&&I(new V(new ArrayBuffer(1)))!=Ue||T&&I(new T)!=De||tt&&I(tt.resolve())!=Re||S&&I(new S)!=Fe||k&&I(new k)!=Be)I=function(t){var e=Ft(t),r=e==hi?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case ci:return Ue;case gi:return De;case yi:return Re;case _i:return Fe;case vi:return Be}return e};var rn=I;var Oi=Ve.Uint8Array,Da=Oi;var Ai="__lodash_hash_undefined__";function Ti(t){return this.__data__.set(t,Ai),this}var ze=Ti;function wi(t){return this.__data__.has(t)}var Ke=wi;function et(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}et.prototype.add=et.prototype.push=ze;et.prototype.has=Ke;var rt=et;function Si(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var He=Si;function Pi(t,e){return t.has(e)}var ot=Pi;var Ci=1,Ei=2;function Ii(t,e,r,o,a,f){var i=r&Ci,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&Ei?new rt:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!He(e,function(P,C){if(!ot(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var at=Ii;function Li(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var qe=Li;function ji(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=ji;var Mi=1,Ni=2,Di="[object Boolean]",Ri="[object Date]",Fi="[object Error]",Bi="[object Map]",Gi="[object Number]",Ui="[object RegExp]",zi="[object Set]",Wi="[object String]",Ki="[object Symbol]",Hi="[object ArrayBuffer]",qi="[object DataView]",$e=ht?ht.prototype:void 0,xt=$e?$e.valueOf:void 0;function $i(t,e,r,o,a,f,i){switch(r){case qi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Hi:if(t.byteLength!=e.byteLength||!f(new Da(t),new Da(e)))return!1;return!0;case Di:case Ri:case Gi:return yn(+t,+e);case Fi:return t.name==e.name&&t.message==e.message;case Ui:case Wi:return t==e+"";case Bi:var n=qe;case zi:var s=o&Mi;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=Ni,i.set(t,e);var d=at(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(xt)return xt.call(t)==xt.call(e)}return!1}var ke=$i;var ki=1,Yi=Object.prototype,Xi=Yi.hasOwnProperty;function Zi(t,e,r,o,a,f){var i=r&ki,n=bi(t),s=n.length,p=bi(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Xi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var _t=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(_t===void 0?P===C||a(P,C,r,o,f):_t)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var Ye=Zi;var Ji=1,Xe="[object Arguments]",Ze="[object Array]",ft="[object Object]",Qi=Object.prototype,Qe=Qi.hasOwnProperty;function Vi(t,e,r,o,a,f){var i=ae(t),n=ae(e),s=i?Ze:rn(t),p=n?Ze:rn(e);s=s==Xe?ft:s,p=p==Xe?ft:p;var d=s==ft,l=p==ft,m=s==p;if(m&&vn(t)){if(!vn(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new Hn),i||Rr(t)?at(t,e,r,o,a,f):ke(t,e,s,r,o,a,f);if(!(r&Ji)){var g=d&&Qe.call(t,"__wrapped__"),h=l&&Qe.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new Hn),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new Hn),Ye(t,e,r,o,a,f)}var tr=Vi;function er(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!Je(t)&&!Je(e))return t!==t&&e!==e;return tr(t,e,r,o,er,a)}var it=er;var tn=1,en=2;function on(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new Hn;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?it(d,p,tn|en,o,l):m))return!1}}return!0}var rr=on;function fn(t){return t===t&&!Pe(t)}var nt=fn;function sn(t){var e=We(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,nt(a)]}return e}var or=sn;function pn(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var st=pn;function un(t){var e=or(t);if(e.length==1&&e[0][2])return st(e[0][0],e[0][1]);return function(r){return r===t||rr(r,t,e)}}var ar=un;function mn(t,e){return t!=null&&e in Object(t)}var fr=mn;function ln(t,e,r){e=Lr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=Gn(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&Sr(i,a)&&(ae(t)||Nn(t))}var fo=ln;function dn(t,e){return t!=null&&fo(t,e,fr)}var ho=dn;var xn=1,hn=2;function cn(t,e){if(M(t)&&nt(e))return st(Gn(t),e);return function(r){var o=Ae(r,t);return o===void 0&&o===e?ho(r,t):it(e,o,xn|hn)}}var ir=cn;function gn(t){return function(e){return e==null?void 0:e[t]}}var go=gn;function _n(t){return function(e){return Ir(e,t)}}var nr=_n;function bn(t){return M(t)?go(Gn(t)):nr(t)}var sr=bn;function On(t){if(typeof t=="function")return t;if(t==null)return Qt;if(typeof t=="object")return ae(t)?ir(t[0],t[1]):ar(t);return sr(t)}var At=On;function An(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var pr=An;var Tn=pr(),Na=Tn;function Sn(t,e){return t&&Na(t,e,We)}var Ma=Sn;function Pn(t,e){return function(r,o){if(r==null)return r;if(!gt(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var ur=Pn;var Cn=ur(Ma),Dr=Cn;function En(t){return Je(t)&>(t)}var yo=En;function In(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var mr=In;function Ln(t){return typeof t=="function"?t:Qt}var Pa=Ln;function jn(t,e){var r=ae(t)?io:Dr;return r(t,Pa(e))}var b=jn;function Mn(t,e){var r=[];return Dr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var lr=Mn;function Dn(t,e){var r=ae(t)?Q:lr;return r(t,At(e,3))}var zt=Dn;function Rn(t,e){return qn(e,function(r){return t[r]})}var dr=Rn;function Fn(t){return t==null?[]:dr(t,We(t))}var an=Fn;var Bn="[object Map]",Un="[object Set]",zn=Object.prototype,Kn=zn.hasOwnProperty;function $n(t){if(t==null)return!0;if(gt(t)&&(ae(t)||typeof t=="string"||typeof t.splice=="function"||vn(t)||Rr(t)||Nn(t)))return!t.length;var e=rn(t);if(e==Bn||e==Un)return!t.size;if(Er(t))return!Aa(t).length;for(var r in t)if(Kn.call(t,r))return!1;return!0}var pt=$n;function kn(t){return t===void 0}var Ge=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var xr=Xn;function Zn(t,e,r){var o=ae(t)?Ce:xr,a=arguments.length<3;return o(t,At(e,4),r,a,Dr)}var Yn=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?Nt:function(t){return new S(t)},hr=Qn;var ts=200;function es(t,e,r){var o=-1,a=Wt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=mr;else if(f>=ts){var p=e?null:hr(t);if(p)return B(p);i=!1,a=ot,s=new rt}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var cr=es;var rs=Tr(function(t){return cr(La(t,1,yo,!0))}),ct=rs;var as="\x00",L="\x00",gr="\x01";class xe{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Jt(void 0),this._defaultEdgeLabelFn=Jt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!Vn(t))t=Jt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return We(this._nodes)}sources(){var t=this;return zt(this.nodes(),function(e){return pt(t._in[e])})}sinks(){var t=this;return zt(this.nodes(),function(e){return pt(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(We(this._in[t]),e),delete this._in[t],delete this._preds[t],b(We(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Ge(e))e=L;else{e+="";for(var r=e;!Ge(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Ge(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return We(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return We(e)}successors(t){var e=this._sucs[t];if(e)return We(e)}neighbors(t){var e=this.predecessors(t);if(e)return ct(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!Vn(t))t=Jt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return an(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return Yn(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Ge(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Ge(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,yr(this._preds[e],t),yr(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?yt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],_r(this._preds[e],t),_r(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=an(r);if(!e)return o;return zt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=an(r);if(!e)return o;return zt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}xe.prototype._nodeCount=0;xe.prototype._edgeCount=0;function yr(t,e){if(t[e])t[e]++;else t[e]=1}function _r(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+gr+f+gr+(Ge(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function yt(t,e){return z(t,e.v,e.w,e.name)}
|
|
2
|
+
export{Ve,ht,Ft,Je,nn,qn,ae,Pe,Qt,Vn,Jt,Ea,ao,io,oo,Sr,yn,so,Tr,gt,Er,Nn,vn,Ar,Wn,Rr,lo,co,Aa,We,uo,Lr,Gn,Ir,Ra,La,Hn,po,Ia,mo,bi,rn,Da,fo,ho,go,At,Na,Ma,Dr,yo,Pa,b,zt,an,Ge,Yn,xe};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_e,Bs,Tt,$r,ml,Co,Pn,ta,vt,Va,ki,na,fl,Fs,ra}from"./chunk-
|
|
1
|
+
import{_e,Bs,Tt,$r,ml,Co,Pn,ta,vt,Va,ki,na,fl,Fs,ra}from"./chunk-dbv8qpen.js";function Z(l){return l.innerRadius}function k(l){return l.outerRadius}function b(l){return l.startAngle}function _(l){return l.endAngle}function nn(l){return l&&l.padAngle}function en(l,d,q,P,x,h,S,r){var D=q-l,a=P-d,n=S-x,y=r-h,u=y*D-n*a;if(u*u<vt)return;return u=(n*(d-h)-y*(l-x))/u,[l+u*D,d+u*a]}function L(l,d,q,P,x,h,S){var r=l-q,D=d-P,a=(S?h:-h)/ta(r*r+D*D),n=a*D,y=-a*r,u=l+n,s=d+y,t=q+n,f=P+y,j=(u+t)/2,o=(s+f)/2,g=t-u,c=f-s,v=g*g+c*c,A=x-h,R=u*f-t*s,E=(c<0?-1:1)*ta(ml(0,A*A*v-R*R)),I=(R*c-g*E)/v,O=(-R*g-c*E)/v,T=(R*c+g*E)/v,m=(-R*g+c*E)/v,p=I-j,e=O-o,i=T-j,z=m-o;if(p*p+e*e>i*i+z*z)I=T,O=m;return{cx:I,cy:O,x01:-n,y01:-y,x11:I*(x/A-1),y11:O*(x/A-1)}}function hn(){var l=Z,d=k,q=_e(0),P=null,x=b,h=_,S=nn,r=null,D=ra(a);function a(){var n,y,u=+l.apply(this,arguments),s=+d.apply(this,arguments),t=x.apply(this,arguments)-ki,f=h.apply(this,arguments)-ki,j=Bs(f-t),o=f>t;if(!r)r=n=D();if(s<u)y=s,s=u,u=y;if(!(s>vt))r.moveTo(0,0);else if(j>na-vt){if(r.moveTo(s*$r(t),s*Pn(t)),r.arc(0,0,s,t,f,!o),u>vt)r.moveTo(u*$r(f),u*Pn(f)),r.arc(0,0,u,f,t,o)}else{var g=t,c=f,v=t,A=f,R=j,E=j,I=S.apply(this,arguments)/2,O=I>vt&&(P?+P.apply(this,arguments):ta(u*u+s*s)),T=Co(Bs(s-u)/2,+q.apply(this,arguments)),m=T,p=T,e,i;if(O>vt){var z=Fs(O/u*Pn(I)),F=Fs(O/s*Pn(I));if((R-=z*2)>vt)z*=o?1:-1,v+=z,A-=z;else R=0,v=A=(t+f)/2;if((E-=F*2)>vt)F*=o?1:-1,g+=F,c-=F;else E=0,g=c=(t+f)/2}var B=s*$r(g),C=s*Pn(g),G=u*$r(A),H=u*Pn(A);if(T>vt){var J=s*$r(c),K=s*Pn(c),M=u*$r(v),N=u*Pn(v),w;if(j<Va)if(w=en(B,C,M,N,J,K,G,H)){var Q=B-w[0],U=C-w[1],V=J-w[0],W=K-w[1],X=1/Pn(fl((Q*V+U*W)/(ta(Q*Q+U*U)*ta(V*V+W*W)))/2),Y=ta(w[0]*w[0]+w[1]*w[1]);m=Co(T,(u-Y)/(X-1)),p=Co(T,(s-Y)/(X+1))}else m=p=0}if(!(E>vt))r.moveTo(B,C);else if(p>vt)if(e=L(M,N,B,C,s,p,o),i=L(J,K,G,H,s,p,o),r.moveTo(e.cx+e.x01,e.cy+e.y01),p<T)r.arc(e.cx,e.cy,p,Tt(e.y01,e.x01),Tt(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,p,Tt(e.y01,e.x01),Tt(e.y11,e.x11),!o),r.arc(0,0,s,Tt(e.cy+e.y11,e.cx+e.x11),Tt(i.cy+i.y11,i.cx+i.x11),!o),r.arc(i.cx,i.cy,p,Tt(i.y11,i.x11),Tt(i.y01,i.x01),!o);else r.moveTo(B,C),r.arc(0,0,s,g,c,!o);if(!(u>vt)||!(R>vt))r.lineTo(G,H);else if(m>vt)if(e=L(G,H,J,K,u,-m,o),i=L(B,C,M,N,u,-m,o),r.lineTo(e.cx+e.x01,e.cy+e.y01),m<T)r.arc(e.cx,e.cy,m,Tt(e.y01,e.x01),Tt(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,m,Tt(e.y01,e.x01),Tt(e.y11,e.x11),!o),r.arc(0,0,u,Tt(e.cy+e.y11,e.cx+e.x11),Tt(i.cy+i.y11,i.cx+i.x11),o),r.arc(i.cx,i.cy,m,Tt(i.y11,i.x11),Tt(i.y01,i.x01),!o);else r.arc(0,0,u,A,v,o)}if(r.closePath(),n)return r=null,n+""||null}return a.centroid=function(){var n=(+l.apply(this,arguments)+ +d.apply(this,arguments))/2,y=(+x.apply(this,arguments)+ +h.apply(this,arguments))/2-Va/2;return[$r(y)*n,Pn(y)*n]},a.innerRadius=function(n){return arguments.length?(l=typeof n==="function"?n:_e(+n),a):l},a.outerRadius=function(n){return arguments.length?(d=typeof n==="function"?n:_e(+n),a):d},a.cornerRadius=function(n){return arguments.length?(q=typeof n==="function"?n:_e(+n),a):q},a.padRadius=function(n){return arguments.length?(P=n==null?null:typeof n==="function"?n:_e(+n),a):P},a.startAngle=function(n){return arguments.length?(x=typeof n==="function"?n:_e(+n),a):x},a.endAngle=function(n){return arguments.length?(h=typeof n==="function"?n:_e(+n),a):h},a.padAngle=function(n){return arguments.length?(S=typeof n==="function"?n:_e(+n),a):S},a.context=function(n){return arguments.length?(r=n==null?null:n,a):r},a}
|
|
2
2
|
export{hn};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,a,He,S,j,G,A,u,Q}from"./chunk-
|
|
1
|
+
import{t,a,He,S,j,G,A,u,Q}from"./chunk-dbv8qpen.js";var M="",O="",D="",E=[],b=new Map,v=t((e)=>j(e,u()),"sanitizeText"),R=t((e)=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(R)};case"choice":return{...e,alternatives:e.alternatives.map(R)};case"optional":return{...e,element:R(e.element)};case"repetition":return{...e,element:R(e.element),separator:e.separator?R(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),H=t(()=>{M="",O="",D="",E.length=0,b.clear(),A(),a.debug("[Railroad] Database cleared")},"clear"),Y=t((e)=>{M=v(e),a.debug("[Railroad] Title set:",e)},"setTitle"),P=t(()=>M,"getTitle"),q=t((e)=>{let n={...e,name:v(e.name),definition:R(e.definition),comment:e.comment?v(e.comment):void 0};if(a.debug("[Railroad] Adding rule:",n.name),b.has(n.name))a.warn(`[Railroad] Rule '${n.name}' is already defined. Overwriting.`);E.push(n),b.set(n.name,n)},"addRule"),U=t(()=>E,"getRules"),K=t((e)=>b.get(e),"getRule"),J=t((e)=>{O=v(e).replace(/^\s+/g,""),a.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),Z=t(()=>O,"getAccTitle"),V=t((e)=>{D=v(e).replace(/\n\s+/g,`
|
|
2
2
|
`),a.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ee=t(()=>D,"getAccDescription"),te=Y,re=P,he={clear:H,setTitle:Y,getTitle:P,addRule:q,getRules:U,getRule:K,setAccTitle:J,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=t((e)=>{if(!e)return!1;return Object.keys(e).every((n)=>n==="railroad"||ae.has(n))},"isRailroadStyleOptions"),oe=t((e)=>{if(!e)return{};if("railroad"in e&&e.railroad)return e.railroad;return L(e)?e:{}},"extractRailroadOverrides"),le=t((e)=>{if(!e||L(e))return{};let{railroad:n,svgId:l,theme:i,look:r,...o}=e;return o},"extractThemeOverrides"),p=t((e,n)=>{if(typeof e!=="string")return n;let l=e.trim();return ie.test(l)?l:n},"sanitizeColorValue"),I=t((e,n)=>{if(typeof e!=="string")return n;let l=e.trim();return ne.test(l)?l:n},"sanitizeFontFamilyValue"),y=t((e,n)=>{let l=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(l)&&l>=0?l:n},"sanitizeNumberValue"),se=t((e)=>{let n=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>0?n:void 0},"parseThemeFontSize"),de=t((e)=>{let n=I(e.fontFamily,T.fontFamily),l=se(e.fontSize)??T.fontSize;return{...T,fontFamily:n,fontSize:l,terminalFill:p(e.secondBkg??e.secondaryColor,T.terminalFill),terminalStroke:p(e.secondaryBorderColor??e.lineColor,T.terminalStroke),terminalTextColor:p(e.secondaryTextColor??e.textColor,T.terminalTextColor),nonTerminalFill:p(e.mainBkg??e.background,T.nonTerminalFill),nonTerminalStroke:p(e.primaryBorderColor??e.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(e.primaryTextColor??e.textColor,T.nonTerminalTextColor),lineColor:p(e.lineColor,T.lineColor),markerFill:p(e.lineColor,T.markerFill),commentFill:p(e.labelBackground??e.tertiaryColor,T.commentFill),commentStroke:p(e.tertiaryBorderColor??e.lineColor,T.commentStroke),commentTextColor:p(e.tertiaryTextColor??e.textColor,T.commentTextColor),specialFill:p(e.tertiaryColor??e.secondaryColor,T.specialFill),specialStroke:p(e.tertiaryBorderColor??e.secondaryBorderColor,T.specialStroke),ruleNameColor:p(e.titleColor??e.textColor,T.ruleNameColor)}},"buildThemeDefaults"),W=t((e)=>{let n=S(),l={...He(),...n.themeVariables??{},...le(e)},i=de(l),r={...n.railroad??{},...oe(e)};return{compactMode:r.compactMode??i.compactMode,padding:y(r.padding,i.padding),verticalSeparation:y(r.verticalSeparation,i.verticalSeparation),horizontalSeparation:y(r.horizontalSeparation,i.horizontalSeparation),arcRadius:y(r.arcRadius,i.arcRadius),fontSize:y(r.fontSize,i.fontSize),fontFamily:I(r.fontFamily,i.fontFamily),terminalFill:p(r.terminalFill,i.terminalFill),terminalStroke:p(r.terminalStroke,i.terminalStroke),terminalTextColor:p(r.terminalTextColor,i.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,i.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,i.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,i.nonTerminalTextColor),lineColor:p(r.lineColor,i.lineColor),strokeWidth:y(r.strokeWidth,i.strokeWidth),markerFill:p(r.markerFill,i.markerFill),commentFill:p(r.commentFill,i.commentFill),commentStroke:p(r.commentStroke,i.commentStroke),commentTextColor:p(r.commentTextColor,i.commentTextColor),specialFill:p(r.specialFill,i.specialFill),specialStroke:p(r.specialStroke,i.specialStroke),ruleNameColor:p(r.ruleNameColor,i.ruleNameColor),showMarkers:r.showMarkers??i.showMarkers,markerRadius:y(r.markerRadius,i.markerRadius)}},"buildRailroadStyleOptions"),Tn=t((e)=>{let{fontFamily:n,fontSize:l,terminalFill:i,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,commentTextColor:x,specialFill:z,specialStroke:F,ruleNameColor:k}=W(e);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${n};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{o,r,p,e,n,y,Cn,xt,ge,
|
|
2
|
-
`).length>8,x=t?.retried??0,h=i&&x>0,J=h?`重试中 (${x})`:Ko[f]??f,K=h?"danger":Qo[f]??"neutral",w=[t&&i&&t.lastTool&&`最近 ${t.lastTool}`,t&&Jo(t.elapsedMs),t&&`输入 ${ba(t.usage.input)}`,t&&`输出 ${ba(t.usage.output)}`,t&&t.usage.cacheRead>0&&`缓存 ${ba(t.usage.cacheRead)}`,t&&t.usage.cost>0&&`$${t.usage.cost.toFixed(4)}`].filter((a)=>Boolean(a)),D=h&&t?.lastError?`模型请求异常:${t.lastError}`:void 0,V=Boolean(l||s.state==="waiting"&&!g||D||N),R=s.model||t?.session.model;return e(B,{className:"my-2 animate-fade",header:n(p,{children:[R?e(M,{modelID:R,className:"size-3.5 shrink-0",size:14}):e(
|
|
1
|
+
import{o,r,p,e,n,y,Cn,xt,ge,ot,Ko,Qo,ba,Jo}from"./chunk-b83bzjcx.js";function te(z){let{Button:I,Panel:B,StatusChip:U,Markdown:A,ModelIcon:M,cn:d,style:Q,useTheme:q}=y();q();let{connection:k,sessionID:b,payload:L,onOpen:O}=z,s=L,[t,F]=r(),[W,S]=r(!1),[N,u]=r(),[T,P]=r(!1),[m,j]=r(!1),[G,_]=r(!1),g=G||s.state==="aborted"||s.state==="cancelled",f=g?"aborted":s.state,i=(s.state==="running"||s.state==="waiting")&&!g;o(()=>{let a,C=!1,E=()=>{k.request(`/api/sessions/${encodeURIComponent(b)}/tasks/${encodeURIComponent(s.childSessionID)}`).then((c)=>{if(!C)F(c),S(!1),u(void 0)}).catch((c)=>{if(!C){if(c instanceof Error&&c.message==="Task is not a direct child"){S(!0),u(void 0);return}u(c instanceof Error?c.message:"任务详情加载失败")}})};if(E(),i)a=setInterval(E,1500);return()=>{if(C=!0,a)clearInterval(a)}},[k,b,s.childSessionID,i]);let H=async()=>{if(T)return;P(!0);try{await k.request(`/api/sessions/${encodeURIComponent(b)}/tasks/${encodeURIComponent(s.childSessionID)}/kill`,{method:"POST"}),_(!0)}catch(a){u(a instanceof Error?a.message:"取消任务失败")}finally{P(!1)}},l=s.summary?.trim()||s.handoff?.conclusion.trim()||"",v=l.length>360||l.split(`
|
|
2
|
+
`).length>8,x=t?.retried??0,h=i&&x>0,J=h?`重试中 (${x})`:Ko[f]??f,K=h?"danger":Qo[f]??"neutral",w=[t&&i&&t.lastTool&&`最近 ${t.lastTool}`,t&&Jo(t.elapsedMs),t&&`输入 ${ba(t.usage.input)}`,t&&`输出 ${ba(t.usage.output)}`,t&&t.usage.cacheRead>0&&`缓存 ${ba(t.usage.cacheRead)}`,t&&t.usage.cost>0&&`$${t.usage.cost.toFixed(4)}`].filter((a)=>Boolean(a)),D=h&&t?.lastError?`模型请求异常:${t.lastError}`:void 0,V=Boolean(l||s.state==="waiting"&&!g||D||N),R=s.model||t?.session.model;return e(B,{className:"my-2 animate-fade",header:n(p,{children:[R?e(M,{modelID:R,className:"size-3.5 shrink-0",size:14}):e(ot,{className:d("size-3.5 shrink-0",i?"text-warning":"text-faint")}),e("h4",{className:"truncate font-medium text-ink",title:s.description,children:s.description}),h&&n("span",{className:"shrink-0 text-xs font-medium text-danger tabular-nums",children:["已失败重试 ",x," 次"]}),w.length>0&&e("span",{className:"min-w-0 truncate text-xs text-faint tabular-nums",title:w.join(" "),children:w.join(" ")})]}),actions:n(p,{children:[e(U,{tone:K,pulse:f==="running",children:J}),i&&e(I,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:T,onClick:()=>{H()},children:"取消"}),!W&&n(I,{size:"sm",variant:"ghost",className:"h-6 gap-1 rounded-md px-2 text-xs text-faint hover:text-ink",onClick:()=>O(s.childSessionID),children:["进入子会话",e(xt,{className:"size-3.5"})]})]}),children:V&&n(p,{children:[D&&n("div",{className:"flex items-center gap-2 border-b border-line bg-danger/10 px-4 py-2 text-xs text-danger",children:[n("span",{className:"font-medium",children:["已自动重试 ",x," 次:"]}),e("span",{className:"truncate",title:t?.lastError,children:t?.lastError})]}),s.state==="waiting"&&!g&&n("div",{className:d("px-4 py-3",l&&"border-b border-line"),children:[n("p",{className:"flex items-center gap-1.5 text-xs font-medium text-warning",children:[e(Cn,{className:"size-3.5"}),"子任务向主代理提问,等待回答"]}),s.pendingQuestions&&s.pendingQuestions.length>0&&e("ul",{className:"mt-1.5 flex flex-col gap-1 text-[13px] leading-relaxed text-ink",children:s.pendingQuestions.map((a)=>e("li",{className:"break-words",children:a.text},a.askedAt))})]}),l&&n("div",{className:"px-4 py-3",children:[n("div",{className:d("relative text-[13.5px] leading-[1.65] break-words text-ink/90 overflow-hidden transition-[max-height] duration-300 ease-out-quint [&_p]:my-1.5 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",v&&!m?"max-h-40":"max-h-[1800px]"),children:[e(A,{text:l}),v&&e("div",{className:d("pointer-events-none absolute inset-x-0 bottom-0 h-10 bg-gradient-to-t from-panel via-panel/70 to-transparent transition-opacity duration-300",m?"opacity-0":"opacity-100")})]}),v&&n("button",{type:"button",className:Q("chat.timelineRow","cursor-pointer select-none"),onClick:()=>j(!m),children:[e("span",{children:m?"收起":"展开全部"}),e(ge,{className:d("size-3.5 transition-transform duration-300 ease-out-quint",m&&"rotate-180")})]})]}),N&&e("p",{role:"status",className:"px-4 py-2.5 text-xs text-danger",children:N})]})})}export{te as TaskCard};
|
|
Binary file
|
|
Binary file
|