@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,9 +1,9 @@
|
|
|
1
|
-
import{t,a,
|
|
1
|
+
import{t,a,at,k,A,R,I,L,D,P,N,u,h,js,F,De,Te,Ee,ln,ze,Ue}from"./chunk-dbv8qpen.js";import{In}from"./chunk-p6ma361e.js";import{Fe}from"./chunk-2dykyq1n.js";import{Le}from"./chunk-acv6gk2b.js";var Pt=function(){var e=t(function(Q,c,S,n){for(S=S||{},n=Q.length;n--;S[Q[n]]=c);return S},"o"),s=[1,2],l=[1,3],r=[1,4],f=[2,4],p=[1,9],y=[1,11],m=[1,16],o=[1,17],E=[1,18],_=[1,19],Y=[1,33],V=[1,20],j=[1,21],w=[1,22],g=[1,23],M=[1,24],O=[1,26],z=[1,27],W=[1,28],K=[1,29],x=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,S,n,T,v,i,it){var d=i.length-1;switch(v){case 3:return T.setRootDoc(i[d]),i[d];break;case 4:this.$=[];break;case 5:if(i[d]!="nl")i[d-1].push(i[d]),this.$=i[d-1];break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:let Et=i[d-1];Et.description=T.trimColon(i[d]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:let _t=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:_t};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var X=i[d],J=i[d-2].trim();if(i[d].match(":")){var ct=i[d].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:Y,57:rt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:Y,57:rt},e(b,[2,17]),e(Vt,f,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,72],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,f,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,81],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,S){if(S.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=S,n}},"parseError"),parse:t(function(c){var S=this,n=[0],T=[],v=[null],i=[],it=this.table,d="",X=0,J=0,ct=0,Et=2,_t=1,de=i.slice.call(arguments,1),C=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(C.setInput(c,tt.yy),tt.yy.lexer=C,tt.yy.parser=this,typeof C.yylloc>"u")C.yylloc={};var It=C.yylloc;i.push(It);var ue=C.options&&C.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(H){n.length=n.length-2*H,v.length=v.length-H,i.length=i.length-H}t(fe,"popStack");function Mt(){var H=T.pop()||C.lex()||_t;if(typeof H!=="number"){if(H instanceof Array)T=H,H=T.pop();H=S.symbols_[H]||H}return H}t(Mt,"lex");var B,Nt,et,U,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])U=this.defaultActions[et];else{if(B===null||typeof B>"u")B=Mt();U=it[et]&&it[et][B]}if(typeof U>"u"||!U.length||!U[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(C.showPosition)Rt="Parse error on line "+(X+1)+`:
|
|
2
2
|
`+C.showPosition()+`
|
|
3
|
-
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[
|
|
3
|
+
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[B]||B)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(B==_t?"end of input":"'"+(this.terminals_[B]||B)+"'");this.parseError(Rt,{text:C.match,token:this.terminals_[B]||B,line:C.yylineno,loc:It,expected:Dt})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+B);switch(U[0]){case 1:if(n.push(B),v.push(C.yytext),i.push(C.yylloc),n.push(U[1]),B=null,!Nt){if(J=C.yyleng,d=C.yytext,X=C.yylineno,It=C.yylloc,ct>0)ct--}else B=Nt,Nt=null;break;case 2:if(q=this.productions_[U[1]][1],nt.$=v[v.length-q],nt._$={first_line:i[i.length-(q||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(q||1)].first_column,last_column:i[i.length-1].last_column},ue)nt._$.range=[i[i.length-(q||1)].range[0],i[i.length-1].range[1]];if(Ot=this.performAction.apply(nt,[d,J,X,tt.yy,U[1],v,i].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),v=v.slice(0,-1*q),i=i.slice(0,-1*q);n.push(this.productions_[U[1]][0]),v.push(nt.$),i.push(nt._$),Wt=it[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(S,n){if(this.yy.parser)this.yy.parser.parseError(S,n);else throw Error(S)},"parseError"),setInput:t(function(c,S){if(this.yy=S||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var S=c.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),c},"input"),unput:t(function(c){var S=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var T=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1)this.yylineno-=n.length-1;var v=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[v[0],v[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),S=Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
5
5
|
`+S+"^"},"showPosition"),test_match:t(function(c,S){var n,T,v;if(this.options.backtrack_lexer){if(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)v.yylloc.range=this.yylloc.range.slice(0)}if(T=c[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var i in v)this[i]=v[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,S,n,T;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var i=0;i<v.length;i++)if(n=this._input.match(this.rules[v[i]]),n&&(!S||n[0].length>S[0].length)){if(S=n,T=i,this.options.backtrack_lexer)if(c=this.test_match(n,v[i]),c!==!1)return c;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(c=this.test_match(S,v[T]),c!==!1)return c;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(S,n,T,v){function i(){let d=n.yytext.indexOf("%%");if(d===0)return!1;if(d>0){let X=n.yytext.slice(0,d),J=n.yytext.slice(d);if(J)S.lexer.unput(J);n.yytext=X}return!0}t(i,"processId");var at=v;switch(T){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!i())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!i())return;return this.popState(),"ID";break;case 66:if(!i())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!i())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",Ce="state",Ae=`${pt}-${Ce}`,re="transition",xe="note",we="note-edge",Ie=`${re} ${we}`,Ne=`${pt}-${xe}`,Oe="cluster",Re=`${pt}-${Oe}`,$e="cluster-alt",Pe=`${pt}-${$e}`,ie="parent",ae="note",Be="state",Yt="----",Ge=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ye=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let f=ne++,p=r?void 0:f;return ht.set(s,p),p},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let f=l!==null&&l.length>0?`${r}${l}`:"";return`${Be}-${e}${f}-${s}`}t(xt,"stateDomId");var Ve=t((e,s,l,r,f,p,y,m)=>{a.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,f,p,y,m);break;case ft:ut(e,o,l,r,f,p,y,m);break;case Bt:{ut(e,o.state1,l,r,f,p,y,m),ut(e,o.state2,l,r,f,p,y,m);let E=y==="neo",_={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:E?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:k.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};f.push(_),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((f)=>{let p=l.get(f);if(p)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...p.styles]})}let r=e.find((f)=>f.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,f,p,y,m)=>{let o=s.id,E=l.get(o),_=oe(E),G=le(E),Y=u(),j=_.trim()!==""||G.length>0;if(a.info("dataFetcher parsedItem",s,E,G),o!=="root"){let w=$t;if(s.start===!0)w=be;else if(s.start===!1)w=ke;if(s.type!==ft)w=s.type;if(!At.get(o))At.set(o,{id:o,shape:w,description:k.sanitizeText(o,Y),cssClasses:`${_} ${Ae}`,cssStyles:G});let g=At.get(o);if(s.description){if(Array.isArray(g.description))g.shape=Ft,g.description.push(s.description);else if(g.description?.length&&g.description.length>0)if(g.shape=Ft,g.description===o)g.description=[s.description];else g.description=[g.description,s.description];else g.shape=$t,g.description=s.description;g.description=k.sanitizeTextOrArray(g.description,Y)}if(g.description?.length===1&&g.shape===Ft)if(g.type==="group")g.shape=Ut;else g.shape=$t;if(!g.type&&s.doc)a.info("Setting cluster for XCX",o,zt(s)),g.type="group",g.isGroup=!0,g.dir=zt(s),g.shape=s.type===qt?Gt:Ut,g.colorIndex=Ye(g.shape,o,e,j),g.cssClasses=`${g.cssClasses} ${Re} ${p?Pe:""}`;let V={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:o,dir:g.dir,domId:xt(o,Z),type:g.type,isGroup:g.type==="group",colorIndex:g.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(V.shape===Gt)V.label="";if(e&&e.id!=="root")a.trace("Setting node ",o," to be child of its parent ",e.id),V.parentId=e.id;if(V.centerLabel=!0,s.note){let N={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:Ne,cssStyles:[],cssCompiledStyles:[],id:o+Ge+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:Y.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,W={labelStyle:"",shape:ve,label:s.note.text,cssClasses:g.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,W.id=z,N.parentId=z,dt(r,W,m),dt(r,N,m),dt(r,V,m);let K=o,x=N.id;if(s.note.position==="left of")K=N.id,x=o;f.push({id:K+"-"+x,start:K,end:x,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Ie,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,V,m)}if(s.doc)a.trace("Adding nodes children "),Ve(s,s.doc,l,r,f,!p,y,m)},"dataFetcher"),Me=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),We=t(function(e,s){return s.db.getClasses()},"getClasses"),je=t(async function(e,s,l,r){a.info("REF0:"),a.info("Drawing state diagram (v2)",s);let{securityLevel:f,state:p,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=Fe(s,f);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=p?.nodeSpacing||50,m.rankSpacing=p?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await ze(m,o);let _=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((Y,j)=>{let w=typeof j==="string"?j:typeof j?.id==="string"?j.id:"",g=m.nodes.find((x)=>x.id===w);if(!w){a.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(j));return}let V=o.node()?.querySelectorAll("g.node, g.rough-node"),N;if(V?.forEach((x)=>{let st=x.textContent?.trim();if(x.id===g?.domId||st===w)N=x}),!N){a.warn("⚠️ Could not find node matching text:",w);return}let z=N.parentNode;if(!z){a.warn("⚠️ Node has no parent, cannot wrap:",w);return}let W=document.createElementNS("http://www.w3.org/2000/svg","a"),K=Y.url.replace(/^"+|"+$/g,"");if(W.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),W.setAttribute("target","_blank"),Y.tooltip){let x=Y.tooltip.replace(/^"+|"+$/g,"");W.setAttribute("title",x),N.setAttribute("title",x)}z.replaceChild(W,N),W.appendChild(N),a.info("\uD83D\uDD17 Wrapped node in <a> tag for:",w,Y.url)})}catch(G){a.error("❌ Error injecting clickable links:",G)}F.insertTitle(o,"statediagramTitleText",p?.titleTopMargin??25,r.db.getDiagramTitle()),Le(o,_,pt,p?.useMaxWidth??!0)},"draw"),He={getClasses:We,draw:je,getDir:ce},B={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=I,this.setAccTitle=R,this.getAccDescription=D,this.setAccDescription=L,this.setDiagramTitle=P,this.getDiagramTitle=M,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();Me(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let f=this.getState(r);if(!f){let p=r.trim();this.addState(p),f=this.getState(p)}if(f)f.styles=l.map((p)=>p.replace(/;/g,"")?.trim())}}setRootDoc(e){if(a.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===B.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],f=[];for(let p of s.doc)if(p.type===qt){let y=Ct(p);y.doc=Ct(f),r.push(y),f=[]}else f.push(p);if(r.length>0&&f.length>0){let p={stmt:lt,id:js(),type:"divider",doc:Ct(f)};r.push(Ct(p)),s.doc=r}s.doc.forEach((p)=>this.docTranslator(s,p,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,f=void 0,p=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))a.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:f,classes:[],styles:[],textStyles:[]});else{let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);if(!E.doc)E.doc=l;if(!E.type)E.type=s}if(r)a.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((_)=>this.addDescription(o,_.trim()));if(f){let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);E.note=f,E.note.text=k.sanitizeText(E.note.text,u())}if(p)a.info("Setting state classes",o,p),(Array.isArray(p)?p:[p]).forEach((_)=>this.setCssClass(o,_.trim()));if(y)a.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((_)=>this.setStyle(o,_.trim()));if(m)a.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((_)=>this.setTextStyle(o,_.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,A()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),a.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===B.START_NODE)return this.startEndCount++,`${B.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===B.START_NODE?B.START_TYPE:s}endIdIfNeeded(e=""){if(e===B.END_NODE)return this.startEndCount++,`${B.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===B.END_NODE?B.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),f=this.startTypeIfNeeded(e.id.trim(),e.type),p=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,f,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(p,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:k.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),f=this.startTypeIfNeeded(e),p=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,f),this.addState(p,y),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:l?k.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(k.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(B.STYLECLASS_SEP).forEach((r)=>{let f=r.replace(/([^;]*);/,"$1").trim();if(RegExp(B.COLOR_KEYWORD).exec(r)){let y=f.replace(B.FILL_KEYWORD,B.BG_FILL).replace(B.COLOR_KEYWORD,B.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(f)})}getClasses(){return this.classes}setupToolTips(e){let s=In();h(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(f)=>{let p=h(f.currentTarget),y=p.attr("title");if(y===null)return;let m=f.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(rt.sanitize(y)),p.classed("hover",!0)}).on("mouseout",(f)=>{s.transition().duration(500).style("opacity",0),h(f.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let f=l.trim();this.addState(f),r=this.getState(f)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let f=Ee(e.look),p=De(l),y="";for(let m=0;m<ln(r);m++){let o=r[m],E=p?`fill: ${l[m%l.length]};`:"",_=`[data-look="${f}"][data-color-id="color-${m}"]`;y+=`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(S,n,T,v){function i(){let d=n.yytext.indexOf("%%");if(d===0)return!1;if(d>0){let X=n.yytext.slice(0,d),J=n.yytext.slice(d);if(J)S.lexer.unput(J);n.yytext=X}return!0}t(i,"processId");var it=v;switch(T){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!i())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!i())return;return this.popState(),"ID";break;case 66:if(!i())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!i())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",Ce="state",Ae=`${pt}-${Ce}`,re="transition",xe="note",we="note-edge",Ie=`${re} ${we}`,Ne=`${pt}-${xe}`,Oe="cluster",Re=`${pt}-${Oe}`,$e="cluster-alt",Pe=`${pt}-${$e}`,ie="parent",ae="note",Be="state",Yt="----",Ge=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ye=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let f=ne++,p=r?void 0:f;return ht.set(s,p),p},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let f=l!==null&&l.length>0?`${r}${l}`:"";return`${Be}-${e}${f}-${s}`}t(xt,"stateDomId");var Ve=t((e,s,l,r,f,p,y,m)=>{a.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,f,p,y,m);break;case ft:ut(e,o,l,r,f,p,y,m);break;case Bt:{ut(e,o.state1,l,r,f,p,y,m),ut(e,o.state2,l,r,f,p,y,m);let E=y==="neo",_={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:E?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:k.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};f.push(_),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((f)=>{let p=l.get(f);if(p)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...p.styles]})}let r=e.find((f)=>f.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,f,p,y,m)=>{let o=s.id,E=l.get(o),_=oe(E),Y=le(E),V=u(),j=_.trim()!==""||Y.length>0;if(a.info("dataFetcher parsedItem",s,E,Y),o!=="root"){let w=$t;if(s.start===!0)w=be;else if(s.start===!1)w=ke;if(s.type!==ft)w=s.type;if(!At.get(o))At.set(o,{id:o,shape:w,description:k.sanitizeText(o,V),cssClasses:`${_} ${Ae}`,cssStyles:Y});let g=At.get(o);if(s.description){if(Array.isArray(g.description))g.shape=Ft,g.description.push(s.description);else if(g.description?.length&&g.description.length>0)if(g.shape=Ft,g.description===o)g.description=[s.description];else g.description=[g.description,s.description];else g.shape=$t,g.description=s.description;g.description=k.sanitizeTextOrArray(g.description,V)}if(g.description?.length===1&&g.shape===Ft)if(g.type==="group")g.shape=Ut;else g.shape=$t;if(!g.type&&s.doc)a.info("Setting cluster for XCX",o,zt(s)),g.type="group",g.isGroup=!0,g.dir=zt(s),g.shape=s.type===qt?Gt:Ut,g.colorIndex=Ye(g.shape,o,e,j),g.cssClasses=`${g.cssClasses} ${Re} ${p?Pe:""}`;let M={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:o,dir:g.dir,domId:xt(o,Z),type:g.type,isGroup:g.type==="group",colorIndex:g.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(M.shape===Gt)M.label="";if(e&&e.id!=="root")a.trace("Setting node ",o," to be child of its parent ",e.id),M.parentId=e.id;if(M.centerLabel=!0,s.note){let O={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:Ne,cssStyles:[],cssCompiledStyles:[],id:o+Ge+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:V.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,W={labelStyle:"",shape:ve,label:s.note.text,cssClasses:g.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,W.id=z,O.parentId=z,dt(r,W,m),dt(r,O,m),dt(r,M,m);let K=o,x=O.id;if(s.note.position==="left of")K=O.id,x=o;f.push({id:K+"-"+x,start:K,end:x,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Ie,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,M,m)}if(s.doc)a.trace("Adding nodes children "),Ve(s,s.doc,l,r,f,!p,y,m)},"dataFetcher"),Me=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),We=t(function(e,s){return s.db.getClasses()},"getClasses"),je=t(async function(e,s,l,r){a.info("REF0:"),a.info("Drawing state diagram (v2)",s);let{securityLevel:f,state:p,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=Fe(s,f);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=p?.nodeSpacing||50,m.rankSpacing=p?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await ze(m,o);let _=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((V,j)=>{let w=typeof j==="string"?j:typeof j?.id==="string"?j.id:"",g=m.nodes.find((x)=>x.id===w);if(!w){a.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(j));return}let M=o.node()?.querySelectorAll("g.node, g.rough-node"),O;if(M?.forEach((x)=>{let st=x.textContent?.trim();if(x.id===g?.domId||st===w)O=x}),!O){a.warn("⚠️ Could not find node matching text:",w);return}let z=O.parentNode;if(!z){a.warn("⚠️ Node has no parent, cannot wrap:",w);return}let W=document.createElementNS("http://www.w3.org/2000/svg","a"),K=V.url.replace(/^"+|"+$/g,"");if(W.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),W.setAttribute("target","_blank"),V.tooltip){let x=V.tooltip.replace(/^"+|"+$/g,"");W.setAttribute("title",x),O.setAttribute("title",x)}z.replaceChild(W,O),W.appendChild(O),a.info("\uD83D\uDD17 Wrapped node in <a> tag for:",w,V.url)})}catch(Y){a.error("❌ Error injecting clickable links:",Y)}F.insertTitle(o,"statediagramTitleText",p?.titleTopMargin??25,r.db.getDiagramTitle()),Le(o,_,pt,p?.useMaxWidth??!0)},"draw"),He={getClasses:We,draw:je,getDir:ce},G={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=I,this.setAccTitle=R,this.getAccDescription=D,this.setAccDescription=L,this.setDiagramTitle=P,this.getDiagramTitle=N,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();Me(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let f=this.getState(r);if(!f){let p=r.trim();this.addState(p),f=this.getState(p)}if(f)f.styles=l.map((p)=>p.replace(/;/g,"")?.trim())}}setRootDoc(e){if(a.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===G.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],f=[];for(let p of s.doc)if(p.type===qt){let y=Ct(p);y.doc=Ct(f),r.push(y),f=[]}else f.push(p);if(r.length>0&&f.length>0){let p={stmt:lt,id:js(),type:"divider",doc:Ct(f)};r.push(Ct(p)),s.doc=r}s.doc.forEach((p)=>this.docTranslator(s,p,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,f=void 0,p=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))a.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:f,classes:[],styles:[],textStyles:[]});else{let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);if(!E.doc)E.doc=l;if(!E.type)E.type=s}if(r)a.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((_)=>this.addDescription(o,_.trim()));if(f){let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);E.note=f,E.note.text=k.sanitizeText(E.note.text,u())}if(p)a.info("Setting state classes",o,p),(Array.isArray(p)?p:[p]).forEach((_)=>this.setCssClass(o,_.trim()));if(y)a.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((_)=>this.setStyle(o,_.trim()));if(m)a.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((_)=>this.setTextStyle(o,_.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,A()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),a.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===G.START_NODE)return this.startEndCount++,`${G.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===G.START_NODE?G.START_TYPE:s}endIdIfNeeded(e=""){if(e===G.END_NODE)return this.startEndCount++,`${G.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===G.END_NODE?G.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),f=this.startTypeIfNeeded(e.id.trim(),e.type),p=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,f,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(p,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:k.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),f=this.startTypeIfNeeded(e),p=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,f),this.addState(p,y),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:l?k.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(k.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(G.STYLECLASS_SEP).forEach((r)=>{let f=r.replace(/([^;]*);/,"$1").trim();if(RegExp(G.COLOR_KEYWORD).exec(r)){let y=f.replace(G.FILL_KEYWORD,G.BG_FILL).replace(G.COLOR_KEYWORD,G.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(f)})}getClasses(){return this.classes}setupToolTips(e){let s=In();h(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(f)=>{let p=h(f.currentTarget),y=p.attr("title");if(y===null)return;let m=f.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(at.sanitize(y)),p.classed("hover",!0)}).on("mouseout",(f)=>{s.transition().duration(500).style("opacity",0),h(f.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let f=l.trim();this.addState(f),r=this.getState(f)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let f=Ee(e.look),p=De(l),y="";for(let m=0;m<ln(r);m++){let o=r[m],E=p?`fill: ${l[m%l.length]};`:"",_=`[data-look="${f}"][data-color-id="color-${m}"]`;y+=`
|
|
7
7
|
|
|
8
8
|
/* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
|
|
9
9
|
the body, so what stays visible of \`outer\` is the band behind the label. */
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,a,Ce,j,k,G,R,I,L,D,u,h,zr,Ei,Rt,T,Li}from"./chunk-v2bkkhb8.js";import{lr}from"./chunk-zbzgd8kn.js";var Jt=function(){var e=t(function(Ot,v,S,w){for(S=S||{},w=Ot.length;w--;S[Ot[w]]=v);return S},"o"),n=[1,24],i=[1,25],o=[1,26],f=[1,27],l=[1,28],r=[1,63],p=[1,64],s=[1,65],y=[1,66],m=[1,67],b=[1,68],x=[1,69],C=[1,29],B=[1,30],U=[1,31],V=[1,32],Y=[1,33],q=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],wt=[1,60],Vt=[14,42],te=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ft=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],O=[1,82],P=[1,83],N=[1,84],A=[1,85],M=[12,14,42],ye=[12,14,33,42],qt=[12,14,33,42,76,77,79,80],At=[12,33],ee=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ne={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:t(function(v,S,w,g,F,d,Ut){var _=d.length-1;switch(F){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(d[_-3]);break;case 19:g.setTitle(d[_].substring(6)),this.$=d[_].substring(6);break;case 20:g.setAccDescription(d[_].substring(15)),this.$=d[_].substring(15);break;case 21:this.$=d[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=d[_].trim(),g.setAccDescription(this.$);break;case 28:d[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 29:d[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 30:g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 31:d[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...d[_]),this.$=d[_];break;case 32:g.addDeploymentNode("node",...d[_]),this.$=d[_];break;case 33:g.addDeploymentNode("nodeL",...d[_]),this.$=d[_];break;case 34:g.addDeploymentNode("nodeR",...d[_]),this.$=d[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...d[_]),this.$=d[_];break;case 40:g.addPersonOrSystem("external_person",...d[_]),this.$=d[_];break;case 41:g.addPersonOrSystem("system",...d[_]),this.$=d[_];break;case 42:g.addPersonOrSystem("system_db",...d[_]),this.$=d[_];break;case 43:g.addPersonOrSystem("system_queue",...d[_]),this.$=d[_];break;case 44:g.addPersonOrSystem("external_system",...d[_]),this.$=d[_];break;case 45:g.addPersonOrSystem("external_system_db",...d[_]),this.$=d[_];break;case 46:g.addPersonOrSystem("external_system_queue",...d[_]),this.$=d[_];break;case 47:g.addContainer("container",...d[_]),this.$=d[_];break;case 48:g.addContainer("container_db",...d[_]),this.$=d[_];break;case 49:g.addContainer("container_queue",...d[_]),this.$=d[_];break;case 50:g.addContainer("external_container",...d[_]),this.$=d[_];break;case 51:g.addContainer("external_container_db",...d[_]),this.$=d[_];break;case 52:g.addContainer("external_container_queue",...d[_]),this.$=d[_];break;case 53:g.addComponent("component",...d[_]),this.$=d[_];break;case 54:g.addComponent("component_db",...d[_]),this.$=d[_];break;case 55:g.addComponent("component_queue",...d[_]),this.$=d[_];break;case 56:g.addComponent("external_component",...d[_]),this.$=d[_];break;case 57:g.addComponent("external_component_db",...d[_]),this.$=d[_];break;case 58:g.addComponent("external_component_queue",...d[_]),this.$=d[_];break;case 60:g.addRel("rel",...d[_]),this.$=d[_];break;case 61:g.addRel("birel",...d[_]),this.$=d[_];break;case 62:g.addRel("rel_u",...d[_]),this.$=d[_];break;case 63:g.addRel("rel_d",...d[_]),this.$=d[_];break;case 64:g.addRel("rel_l",...d[_]),this.$=d[_];break;case 65:g.addRel("rel_r",...d[_]),this.$=d[_];break;case 66:g.addRel("rel_b",...d[_]),this.$=d[_];break;case 67:d[_].splice(0,1),g.addRel("rel",...d[_]),this.$=d[_];break;case 68:g.updateElStyle("update_el_style",...d[_]),this.$=d[_];break;case 69:g.updateRelStyle("update_rel_style",...d[_]),this.$=d[_];break;case 70:g.updateLayoutConfig("update_layout_config",...d[_]),this.$=d[_];break;case 71:this.$=[d[_]];break;case 72:d[_].unshift(d[_-1]),this.$=d[_];break;case 73:case 75:this.$=d[_].trim();break;case 74:let Lt={};Lt[d[_-1].trim()]=d[_].trim(),this.$=Lt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:70,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:71,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:72,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:73,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Vt,[2,14]),e(te,[2,16],{12:[1,76]}),e(Vt,[2,36],{12:[1,77]}),e(Ft,[2,19]),e(Ft,[2,20]),{25:[1,78]},{27:[1,79]},e(Ft,[2,23]),{35:80,75:81,76:O,77:P,79:N,80:A},{35:86,75:81,76:O,77:P,79:N,80:A},{35:87,75:81,76:O,77:P,79:N,80:A},{35:88,75:81,76:O,77:P,79:N,80:A},{35:89,75:81,76:O,77:P,79:N,80:A},{35:90,75:81,76:O,77:P,79:N,80:A},{35:91,75:81,76:O,77:P,79:N,80:A},{35:92,75:81,76:O,77:P,79:N,80:A},{35:93,75:81,76:O,77:P,79:N,80:A},{35:94,75:81,76:O,77:P,79:N,80:A},{35:95,75:81,76:O,77:P,79:N,80:A},{35:96,75:81,76:O,77:P,79:N,80:A},{35:97,75:81,76:O,77:P,79:N,80:A},{35:98,75:81,76:O,77:P,79:N,80:A},{35:99,75:81,76:O,77:P,79:N,80:A},{35:100,75:81,76:O,77:P,79:N,80:A},{35:101,75:81,76:O,77:P,79:N,80:A},{35:102,75:81,76:O,77:P,79:N,80:A},{35:103,75:81,76:O,77:P,79:N,80:A},{35:104,75:81,76:O,77:P,79:N,80:A},e(M,[2,59]),{35:105,75:81,76:O,77:P,79:N,80:A},{35:106,75:81,76:O,77:P,79:N,80:A},{35:107,75:81,76:O,77:P,79:N,80:A},{35:108,75:81,76:O,77:P,79:N,80:A},{35:109,75:81,76:O,77:P,79:N,80:A},{35:110,75:81,76:O,77:P,79:N,80:A},{35:111,75:81,76:O,77:P,79:N,80:A},{35:112,75:81,76:O,77:P,79:N,80:A},{35:113,75:81,76:O,77:P,79:N,80:A},{35:114,75:81,76:O,77:P,79:N,80:A},{35:115,75:81,76:O,77:P,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:P,79:N,80:A},{35:120,75:81,76:O,77:P,79:N,80:A},{35:121,75:81,76:O,77:P,79:N,80:A},{35:122,75:81,76:O,77:P,79:N,80:A},{35:123,75:81,76:O,77:P,79:N,80:A},{35:124,75:81,76:O,77:P,79:N,80:A},{35:125,75:81,76:O,77:P,79:N,80:A},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Vt,[2,15]),e(te,[2,17],{21:22,19:130,22:n,23:i,24:o,26:f,28:l}),e(Vt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:i,24:o,26:f,28:l,34:r,36:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Ft,[2,21]),e(Ft,[2,22]),e(M,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:P,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(M,[2,40]),e(M,[2,41]),e(M,[2,42]),e(M,[2,43]),e(M,[2,44]),e(M,[2,45]),e(M,[2,46]),e(M,[2,47]),e(M,[2,48]),e(M,[2,49]),e(M,[2,50]),e(M,[2,51]),e(M,[2,52]),e(M,[2,53]),e(M,[2,54]),e(M,[2,55]),e(M,[2,56]),e(M,[2,57]),e(M,[2,58]),e(M,[2,60]),e(M,[2,61]),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(M,[2,68]),e(M,[2,69]),e(M,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(At,[2,28]),e(At,[2,29]),e(At,[2,30]),e(At,[2,31]),e(At,[2,32]),e(At,[2,33]),e(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(Vt,[2,38]),e(ye,[2,72]),e(qt,[2,74]),e(M,[2,24]),e(M,[2,35]),e(ee,[2,25]),e(ee,[2,26],{12:[1,138]}),e(ee,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:t(function(v,S){if(S.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=S,w}},"parseError"),parse:t(function(v){var S=this,w=[0],g=[],F=[null],d=[],Ut=this.table,_="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=d.slice.call(arguments,1),z=Object.create(this.lexer),It={yy:{}};for(var re in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,re))It.yy[re]=this.yy[re];if(z.setInput(v,It.yy),It.yy.lexer=z,It.yy.parser=this,typeof z.yylloc>"u")z.yylloc={};var se=z.yylloc;d.push(se);var Fe=z.options&&z.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(Q){w.length=w.length-2*Q,F.length=F.length-Q,d.length=d.length-Q}t(Ue,"popStack");function ge(){var Q=g.pop()||z.lex()||me;if(typeof Q!=="number"){if(Q instanceof Array)g=Q,Q=g.pop();Q=S.symbols_[Q]||Q}return Q}t(ge,"lex");var W,ae,Mt,H,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])H=this.defaultActions[Mt];else{if(W===null||typeof W>"u")W=ge();H=Ut[Mt]&&Ut[Mt][W]}if(typeof H>"u"||!H.length||!H[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(z.showPosition)oe="Parse error on line "+(Lt+1)+`:
|
|
1
|
+
import{t,a,Ce,j,k,G,R,I,L,D,u,h,zr,Ei,Rt,T,Li}from"./chunk-dbv8qpen.js";import{lr}from"./chunk-p6ma361e.js";var Jt=function(){var e=t(function(Ot,v,S,w){for(S=S||{},w=Ot.length;w--;S[Ot[w]]=v);return S},"o"),n=[1,24],i=[1,25],o=[1,26],f=[1,27],l=[1,28],r=[1,63],p=[1,64],s=[1,65],y=[1,66],m=[1,67],b=[1,68],x=[1,69],C=[1,29],B=[1,30],U=[1,31],V=[1,32],Y=[1,33],q=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],wt=[1,60],Vt=[14,42],te=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ft=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],O=[1,82],P=[1,83],N=[1,84],A=[1,85],M=[12,14,42],ye=[12,14,33,42],qt=[12,14,33,42,76,77,79,80],At=[12,33],ee=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ne={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:t(function(v,S,w,g,F,d,Ut){var _=d.length-1;switch(F){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(d[_-3]);break;case 19:g.setTitle(d[_].substring(6)),this.$=d[_].substring(6);break;case 20:g.setAccDescription(d[_].substring(15)),this.$=d[_].substring(15);break;case 21:this.$=d[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=d[_].trim(),g.setAccDescription(this.$);break;case 28:d[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 29:d[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 30:g.addPersonOrSystemBoundary(...d[_]),this.$=d[_];break;case 31:d[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...d[_]),this.$=d[_];break;case 32:g.addDeploymentNode("node",...d[_]),this.$=d[_];break;case 33:g.addDeploymentNode("nodeL",...d[_]),this.$=d[_];break;case 34:g.addDeploymentNode("nodeR",...d[_]),this.$=d[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...d[_]),this.$=d[_];break;case 40:g.addPersonOrSystem("external_person",...d[_]),this.$=d[_];break;case 41:g.addPersonOrSystem("system",...d[_]),this.$=d[_];break;case 42:g.addPersonOrSystem("system_db",...d[_]),this.$=d[_];break;case 43:g.addPersonOrSystem("system_queue",...d[_]),this.$=d[_];break;case 44:g.addPersonOrSystem("external_system",...d[_]),this.$=d[_];break;case 45:g.addPersonOrSystem("external_system_db",...d[_]),this.$=d[_];break;case 46:g.addPersonOrSystem("external_system_queue",...d[_]),this.$=d[_];break;case 47:g.addContainer("container",...d[_]),this.$=d[_];break;case 48:g.addContainer("container_db",...d[_]),this.$=d[_];break;case 49:g.addContainer("container_queue",...d[_]),this.$=d[_];break;case 50:g.addContainer("external_container",...d[_]),this.$=d[_];break;case 51:g.addContainer("external_container_db",...d[_]),this.$=d[_];break;case 52:g.addContainer("external_container_queue",...d[_]),this.$=d[_];break;case 53:g.addComponent("component",...d[_]),this.$=d[_];break;case 54:g.addComponent("component_db",...d[_]),this.$=d[_];break;case 55:g.addComponent("component_queue",...d[_]),this.$=d[_];break;case 56:g.addComponent("external_component",...d[_]),this.$=d[_];break;case 57:g.addComponent("external_component_db",...d[_]),this.$=d[_];break;case 58:g.addComponent("external_component_queue",...d[_]),this.$=d[_];break;case 60:g.addRel("rel",...d[_]),this.$=d[_];break;case 61:g.addRel("birel",...d[_]),this.$=d[_];break;case 62:g.addRel("rel_u",...d[_]),this.$=d[_];break;case 63:g.addRel("rel_d",...d[_]),this.$=d[_];break;case 64:g.addRel("rel_l",...d[_]),this.$=d[_];break;case 65:g.addRel("rel_r",...d[_]),this.$=d[_];break;case 66:g.addRel("rel_b",...d[_]),this.$=d[_];break;case 67:d[_].splice(0,1),g.addRel("rel",...d[_]),this.$=d[_];break;case 68:g.updateElStyle("update_el_style",...d[_]),this.$=d[_];break;case 69:g.updateRelStyle("update_rel_style",...d[_]),this.$=d[_];break;case 70:g.updateLayoutConfig("update_layout_config",...d[_]),this.$=d[_];break;case 71:this.$=[d[_]];break;case 72:d[_].unshift(d[_-1]),this.$=d[_];break;case 73:case 75:this.$=d[_].trim();break;case 74:let Lt={};Lt[d[_-1].trim()]=d[_].trim(),this.$=Lt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:70,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:71,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:72,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:73,19:20,20:21,21:22,22:n,23:i,24:o,26:f,28:l,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Vt,[2,14]),e(te,[2,16],{12:[1,76]}),e(Vt,[2,36],{12:[1,77]}),e(Ft,[2,19]),e(Ft,[2,20]),{25:[1,78]},{27:[1,79]},e(Ft,[2,23]),{35:80,75:81,76:O,77:P,79:N,80:A},{35:86,75:81,76:O,77:P,79:N,80:A},{35:87,75:81,76:O,77:P,79:N,80:A},{35:88,75:81,76:O,77:P,79:N,80:A},{35:89,75:81,76:O,77:P,79:N,80:A},{35:90,75:81,76:O,77:P,79:N,80:A},{35:91,75:81,76:O,77:P,79:N,80:A},{35:92,75:81,76:O,77:P,79:N,80:A},{35:93,75:81,76:O,77:P,79:N,80:A},{35:94,75:81,76:O,77:P,79:N,80:A},{35:95,75:81,76:O,77:P,79:N,80:A},{35:96,75:81,76:O,77:P,79:N,80:A},{35:97,75:81,76:O,77:P,79:N,80:A},{35:98,75:81,76:O,77:P,79:N,80:A},{35:99,75:81,76:O,77:P,79:N,80:A},{35:100,75:81,76:O,77:P,79:N,80:A},{35:101,75:81,76:O,77:P,79:N,80:A},{35:102,75:81,76:O,77:P,79:N,80:A},{35:103,75:81,76:O,77:P,79:N,80:A},{35:104,75:81,76:O,77:P,79:N,80:A},e(M,[2,59]),{35:105,75:81,76:O,77:P,79:N,80:A},{35:106,75:81,76:O,77:P,79:N,80:A},{35:107,75:81,76:O,77:P,79:N,80:A},{35:108,75:81,76:O,77:P,79:N,80:A},{35:109,75:81,76:O,77:P,79:N,80:A},{35:110,75:81,76:O,77:P,79:N,80:A},{35:111,75:81,76:O,77:P,79:N,80:A},{35:112,75:81,76:O,77:P,79:N,80:A},{35:113,75:81,76:O,77:P,79:N,80:A},{35:114,75:81,76:O,77:P,79:N,80:A},{35:115,75:81,76:O,77:P,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:p,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:P,79:N,80:A},{35:120,75:81,76:O,77:P,79:N,80:A},{35:121,75:81,76:O,77:P,79:N,80:A},{35:122,75:81,76:O,77:P,79:N,80:A},{35:123,75:81,76:O,77:P,79:N,80:A},{35:124,75:81,76:O,77:P,79:N,80:A},{35:125,75:81,76:O,77:P,79:N,80:A},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Vt,[2,15]),e(te,[2,17],{21:22,19:130,22:n,23:i,24:o,26:f,28:l}),e(Vt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:i,24:o,26:f,28:l,34:r,36:p,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:U,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Ft,[2,21]),e(Ft,[2,22]),e(M,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:P,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(M,[2,40]),e(M,[2,41]),e(M,[2,42]),e(M,[2,43]),e(M,[2,44]),e(M,[2,45]),e(M,[2,46]),e(M,[2,47]),e(M,[2,48]),e(M,[2,49]),e(M,[2,50]),e(M,[2,51]),e(M,[2,52]),e(M,[2,53]),e(M,[2,54]),e(M,[2,55]),e(M,[2,56]),e(M,[2,57]),e(M,[2,58]),e(M,[2,60]),e(M,[2,61]),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(M,[2,68]),e(M,[2,69]),e(M,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(At,[2,28]),e(At,[2,29]),e(At,[2,30]),e(At,[2,31]),e(At,[2,32]),e(At,[2,33]),e(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(Vt,[2,38]),e(ye,[2,72]),e(qt,[2,74]),e(M,[2,24]),e(M,[2,35]),e(ee,[2,25]),e(ee,[2,26],{12:[1,138]}),e(ee,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:t(function(v,S){if(S.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=S,w}},"parseError"),parse:t(function(v){var S=this,w=[0],g=[],F=[null],d=[],Ut=this.table,_="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=d.slice.call(arguments,1),z=Object.create(this.lexer),It={yy:{}};for(var re in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,re))It.yy[re]=this.yy[re];if(z.setInput(v,It.yy),It.yy.lexer=z,It.yy.parser=this,typeof z.yylloc>"u")z.yylloc={};var se=z.yylloc;d.push(se);var Fe=z.options&&z.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(Q){w.length=w.length-2*Q,F.length=F.length-Q,d.length=d.length-Q}t(Ue,"popStack");function ge(){var Q=g.pop()||z.lex()||me;if(typeof Q!=="number"){if(Q instanceof Array)g=Q,Q=g.pop();Q=S.symbols_[Q]||Q}return Q}t(ge,"lex");var W,ae,Mt,H,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])H=this.defaultActions[Mt];else{if(W===null||typeof W>"u")W=ge();H=Ut[Mt]&&Ut[Mt][W]}if(typeof H>"u"||!H.length||!H[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(z.showPosition)oe="Parse error on line "+(Lt+1)+`:
|
|
2
2
|
`+z.showPosition()+`
|
|
3
3
|
Expecting `+Kt.join(", ")+", got '"+(this.terminals_[W]||W)+"'";else oe="Parse error on line "+(Lt+1)+": Unexpected "+(W==me?"end of input":"'"+(this.terminals_[W]||W)+"'");this.parseError(oe,{text:z.match,token:this.terminals_[W]||W,line:z.yylineno,loc:se,expected:Kt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+W);switch(H[0]){case 1:if(w.push(W),F.push(z.yytext),d.push(z.yylloc),w.push(H[1]),W=null,!ae){if(_e=z.yyleng,_=z.yytext,Lt=z.yylineno,se=z.yylloc,be>0)be--}else W=ae,ae=null;break;case 2:if(et=this.productions_[H[1]][1],Yt.$=F[F.length-et],Yt._$={first_line:d[d.length-(et||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(et||1)].first_column,last_column:d[d.length-1].last_column},Fe)Yt._$.range=[d[d.length-(et||1)].range[0],d[d.length-1].range[1]];if(ie=this.performAction.apply(Yt,[_,_e,Lt,It.yy,H[1],F,d].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),d=d.slice(0,-1*et);w.push(this.productions_[H[1]][0]),F.push(Yt.$),d.push(Yt._$),xe=Ut[w[w.length-2]][w[w.length-1]],w.push(xe);break;case 3:return!0}}return!0},"parse")},Be=function(){var Ot={EOF:1,parseError:t(function(S,w){if(this.yy.parser)this.yy.parser.parseError(S,w);else throw Error(S)},"parseError"),setInput:t(function(v,S){if(this.yy=S||this.yy||{},this._input=v,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 v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var S=v.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),v},"input"),unput:t(function(v){var S=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var g=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1)this.yylineno-=w.length-1;var F=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:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(v){this.unput(this.match.slice(v))},"less"),pastInput:t(function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var v=this.match;if(v.length<20)v+=this._input.substr(0,20-v.length);return(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var v=this.pastInput(),S=Array(v.length+1).join("-");return v+this.upcomingInput()+`
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,p,e,n,y,s,be,le,Z,Pt}from"./chunk-
|
|
1
|
+
import{r,p,e,n,y,s,be,le,Z,Pt}from"./chunk-b83bzjcx.js";var z=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],h=s("circle-slash",z);function B(t){if(!t||typeof t!=="object")return;if(!("id"in t)||typeof t.id!=="string")return;if(!("state"in t)||typeof t.state!=="string")return;return{id:t.id,state:t.state,command:"command"in t&&typeof t.command==="string"?t.command:void 0,code:"code"in t&&(t.code===null||typeof t.code==="number")?t.code:void 0,output:"output"in t&&typeof t.output==="string"?t.output:void 0}}function U(t){let{Button:N,Panel:b,style:k}=y(),i=B(t.payload),[a,c]=r(!1),[C,P]=r(!1),[u,m]=r();if(!i)return null;let o=C?"killed":i.state,d=o==="running",l=o==="exited"&&i.code===0,f=o==="killed"||o==="timeout",g=i.output?.trim(),I=async()=>{if(a)return;c(!0),m(void 0);try{await t.connection.request(`/api/sessions/${encodeURIComponent(t.sessionID)}/jobs/${encodeURIComponent(i.id)}/kill`,{method:"POST"}),P(!0)}catch(x){m(x instanceof Error?x.message:"停止失败,后台任务可能已结束")}finally{c(!1)}};return n(b,{className:"my-2",header:n(p,{children:[e(Pt,{className:"size-3.5 shrink-0 text-faint"}),e("span",{className:"truncate font-mono text-ink/90",title:i.command??i.id,children:i.command??`任务 ${i.id}`})]}),actions:n(p,{children:[d&&n(p,{children:[n("span",{className:"flex items-center gap-1 text-warning",children:[e(le,{className:"size-3.5 animate-spin"}),e("span",{children:"后台运行中"})]}),e(N,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:a,onClick:()=>{I()},children:"停止"})]}),l&&n("span",{className:"flex items-center gap-1 text-success",children:[e(Z,{className:"size-3.5"}),e("span",{children:"已完成"})]}),f&&n("span",{className:"flex items-center gap-1 text-faint",children:[e(h,{className:"size-3.5"}),e("span",{children:o==="timeout"?"已超时":"已停止"})]}),!d&&!l&&!f&&n("span",{className:"flex items-center gap-1 text-danger",children:[e(be,{className:"size-3.5"}),n("span",{children:["退出码 ",i.code??"异常"]})]})]}),children:[u&&e("p",{role:"status",className:"border-b border-line px-4 py-2.5 text-xs text-danger",children:u}),g&&e("pre",{className:k("chat.toolOutput","max-h-60 text-ink/90 select-text"),children:g})]})}export{U as BashJobCard};
|
|
Binary file
|
|
Binary file
|