@bkm016/basalt 0.1.32 → 0.1.33
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-nzpzjbpp.js → chunk-3j26jsy0.js} +1 -1
- package/{chunk-54qzhq9t.js → chunk-5ggyf53b.js} +2 -2
- package/{chunk-scq1dz62.js → chunk-fb2ydc2s.js} +4 -4
- package/{chunk-3dtgkgam.js → chunk-nkmvqcge.js} +143 -134
- package/compiled.js +1 -1
- package/package.json +1 -1
- package/ui-test-worker.js +1 -1
- package/web/{chunk-v5q92q5d.js → chunk-07kt1zpn.js} +1 -1
- package/web/chunk-07kt1zpn.js.br +0 -0
- package/web/chunk-07kt1zpn.js.gz +0 -0
- package/web/{chunk-d9c65yrg.js → chunk-0d068bmj.js} +1 -1
- package/web/chunk-0d068bmj.js.br +0 -0
- package/web/chunk-0d068bmj.js.gz +0 -0
- package/web/{chunk-f0kc6vf9.js → chunk-0m15ghn0.js} +2 -2
- package/web/chunk-0m15ghn0.js.br +0 -0
- package/web/chunk-0m15ghn0.js.gz +0 -0
- package/web/chunk-0swykhgr.js +2 -0
- package/web/chunk-0swykhgr.js.br +0 -0
- package/web/chunk-0swykhgr.js.gz +0 -0
- package/web/{chunk-3s4mqjna.js → chunk-100a4th6.js} +3 -3
- package/web/chunk-100a4th6.js.br +0 -0
- package/web/chunk-100a4th6.js.gz +0 -0
- package/web/{chunk-0n134mev.js → chunk-1mdvm20t.js} +3 -3
- package/web/chunk-1mdvm20t.js.br +0 -0
- package/web/chunk-1mdvm20t.js.gz +0 -0
- package/web/chunk-1p7wa1rq.js +1 -0
- package/web/chunk-1p7wa1rq.js.br +0 -0
- package/web/chunk-1p7wa1rq.js.gz +0 -0
- package/web/{chunk-we9q8a9q.js → chunk-20gcnbgn.js} +2 -2
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.js.gz +0 -0
- package/web/chunk-2grspw9t.js +1 -0
- package/web/chunk-2grspw9t.js.br +0 -0
- package/web/chunk-2grspw9t.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +1 -0
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/{chunk-pa0sqjjk.js → chunk-2zz8t49r.js} +1 -1
- package/web/chunk-2zz8t49r.js.br +0 -0
- package/web/chunk-2zz8t49r.js.gz +0 -0
- package/web/{chunk-tanv869p.js → chunk-34g2xrgq.js} +2 -2
- package/web/chunk-34g2xrgq.js.br +0 -0
- package/web/chunk-34g2xrgq.js.gz +0 -0
- package/web/{chunk-cjbqey5q.js → chunk-34q3az4b.js} +1 -1
- package/web/chunk-34q3az4b.js.br +0 -0
- package/web/chunk-34q3az4b.js.gz +0 -0
- package/web/{chunk-gw1d4wmd.js → chunk-39jqdq4r.js} +1 -1
- package/web/chunk-39jqdq4r.js.br +0 -0
- package/web/chunk-39jqdq4r.js.gz +0 -0
- package/web/{chunk-p01t2t8w.js → chunk-3d2fm4qc.js} +1 -1
- package/web/chunk-3d2fm4qc.js.br +0 -0
- package/web/chunk-3d2fm4qc.js.gz +0 -0
- package/web/{chunk-98zd6fb7.js → chunk-3s16fbrf.js} +1 -1
- package/web/chunk-3s16fbrf.js.br +0 -0
- package/web/chunk-3s16fbrf.js.gz +0 -0
- package/web/{chunk-hmc93mm5.js → chunk-3vsey6mw.js} +1 -1
- package/web/chunk-3vsey6mw.js.br +0 -0
- package/web/chunk-3vsey6mw.js.gz +0 -0
- package/web/{chunk-4rbzcphw.js → chunk-3y29sc9c.js} +5 -5
- package/web/chunk-3y29sc9c.js.br +0 -0
- package/web/chunk-3y29sc9c.js.gz +0 -0
- package/web/{chunk-8gvxttsz.js → chunk-40f59ze9.js} +1 -1
- package/web/chunk-40f59ze9.js.br +0 -0
- package/web/chunk-40f59ze9.js.gz +0 -0
- package/web/chunk-414npx47.js +1 -0
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.js.gz +0 -0
- package/web/{chunk-wjv2q7b1.js → chunk-495sjpc6.js} +1 -1
- package/web/chunk-495sjpc6.js.br +0 -0
- package/web/chunk-495sjpc6.js.gz +0 -0
- package/web/{chunk-wh028xj6.js → chunk-4ab1dv3g.js} +19 -19
- package/web/chunk-4ab1dv3g.js.br +0 -0
- package/web/chunk-4ab1dv3g.js.gz +0 -0
- package/web/{chunk-02v1btpv.js → chunk-545zx869.js} +2 -2
- package/web/chunk-545zx869.js.br +0 -0
- package/web/chunk-545zx869.js.gz +0 -0
- package/web/{chunk-cgbz97dr.js → chunk-55mx05jg.js} +2 -2
- package/web/chunk-55mx05jg.js.br +0 -0
- package/web/{chunk-cgbz97dr.js.gz → chunk-55mx05jg.js.gz} +0 -0
- package/web/{chunk-8qda1pw3.js → chunk-58xhn7ry.js} +1 -1
- package/web/chunk-58xhn7ry.js.br +0 -0
- package/web/chunk-58xhn7ry.js.gz +0 -0
- package/web/chunk-67pa4950.js +1 -0
- package/web/chunk-67pa4950.js.br +0 -0
- package/web/chunk-67pa4950.js.gz +0 -0
- package/web/chunk-690qxds4.js +1 -0
- package/web/chunk-690qxds4.js.br +0 -0
- package/web/chunk-690qxds4.js.gz +0 -0
- package/web/{chunk-vrakntde.js → chunk-6ana63fs.js} +8 -8
- package/web/chunk-6ana63fs.js.br +0 -0
- package/web/chunk-6ana63fs.js.gz +0 -0
- package/web/{chunk-kvz46sd7.js → chunk-6ew54553.js} +2 -2
- package/web/chunk-6ew54553.js.br +0 -0
- package/web/chunk-6ew54553.js.gz +0 -0
- package/web/{chunk-ev6xj0qs.js → chunk-6f1q0tjv.js} +107 -107
- package/web/chunk-6f1q0tjv.js.br +0 -0
- package/web/chunk-6f1q0tjv.js.gz +0 -0
- package/web/chunk-6gpzz5wm.js +1 -0
- package/web/chunk-6gpzz5wm.js.br +0 -0
- package/web/chunk-6gpzz5wm.js.gz +0 -0
- package/web/{chunk-qz8yct8b.js → chunk-71g6vrx9.js} +1 -1
- package/web/chunk-71g6vrx9.js.br +0 -0
- package/web/chunk-71g6vrx9.js.gz +0 -0
- package/web/chunk-77dnqrb6.js +2 -0
- package/web/chunk-77dnqrb6.js.br +0 -0
- package/web/chunk-77dnqrb6.js.gz +0 -0
- package/web/{chunk-02xgh26g.js → chunk-7fdrwy21.js} +1 -1
- package/web/{chunk-02xgh26g.js.br → chunk-7fdrwy21.js.br} +0 -0
- package/web/chunk-7fdrwy21.js.gz +0 -0
- package/web/{chunk-g5ngaf53.js → chunk-84s7821x.js} +2 -2
- package/web/chunk-84s7821x.js.br +0 -0
- package/web/chunk-84s7821x.js.gz +0 -0
- package/web/{chunk-pss11x84.js → chunk-8e5qd73v.js} +2 -2
- package/web/chunk-8e5qd73v.js.br +0 -0
- package/web/chunk-8e5qd73v.js.gz +0 -0
- package/web/{chunk-mtzj1zyw.js → chunk-8kyj945c.js} +2 -2
- package/web/chunk-8kyj945c.js.br +0 -0
- package/web/chunk-8kyj945c.js.gz +0 -0
- package/web/{chunk-a3qa5c8q.js → chunk-9b0evht1.js} +3 -3
- package/web/chunk-9b0evht1.js.br +0 -0
- package/web/chunk-9b0evht1.js.gz +0 -0
- package/web/{chunk-x0zvwdq6.js → chunk-9j7v0e4v.js} +2 -2
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/{chunk-magq6xms.js → chunk-9jb5xwya.js} +2 -2
- package/web/chunk-9jb5xwya.js.br +0 -0
- package/web/chunk-9jb5xwya.js.gz +0 -0
- package/web/chunk-9kf8arqg.js +1 -0
- package/web/chunk-9kf8arqg.js.br +0 -0
- package/web/chunk-9kf8arqg.js.gz +0 -0
- package/web/{chunk-ads3r60t.js → chunk-9msmea44.js} +1 -1
- package/web/chunk-9msmea44.js.br +0 -0
- package/web/chunk-9msmea44.js.gz +0 -0
- package/web/{chunk-n5hvbjdt.js → chunk-a7q85665.js} +3 -3
- package/web/chunk-a7q85665.js.br +0 -0
- package/web/chunk-a7q85665.js.gz +0 -0
- package/web/chunk-aan5qk6x.js +1 -0
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.js.gz +0 -0
- package/web/{chunk-qxyanf4n.js → chunk-b9cjgxr1.js} +2 -2
- package/web/chunk-b9cjgxr1.js.br +0 -0
- package/web/chunk-b9cjgxr1.js.gz +0 -0
- package/web/{chunk-wgezeg5k.js → chunk-baaattjv.js} +1 -1
- package/web/chunk-baaattjv.js.br +0 -0
- package/web/chunk-baaattjv.js.gz +0 -0
- package/web/{chunk-psymen6a.js → chunk-bj9m08f9.js} +1 -1
- package/web/chunk-bj9m08f9.js.br +0 -0
- package/web/chunk-bj9m08f9.js.gz +0 -0
- package/web/{chunk-wydnkdtp.js → chunk-bm4fvq6q.js} +4 -4
- package/web/chunk-bm4fvq6q.js.br +0 -0
- package/web/chunk-bm4fvq6q.js.gz +0 -0
- package/web/chunk-c4g2k9wp.js +1 -0
- package/web/chunk-c4g2k9wp.js.br +0 -0
- package/web/chunk-c4g2k9wp.js.gz +0 -0
- package/web/{chunk-batey85v.js → chunk-cnptxet3.js} +2 -2
- package/web/chunk-cnptxet3.js.br +0 -0
- package/web/chunk-cnptxet3.js.gz +0 -0
- package/web/{chunk-yjan9xfw.js → chunk-d5n2yz4e.js} +2 -2
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.js.gz +0 -0
- package/web/{chunk-54cy79n2.js → chunk-db2jge7w.js} +2 -2
- package/web/chunk-db2jge7w.js.br +0 -0
- package/web/chunk-db2jge7w.js.gz +0 -0
- package/web/chunk-dsxjv5an.js +1 -0
- package/web/chunk-dsxjv5an.js.br +0 -0
- package/web/chunk-dsxjv5an.js.gz +0 -0
- package/web/{chunk-qb820yv8.js → chunk-e362x35y.js} +1 -1
- package/web/chunk-e362x35y.js.br +0 -0
- package/web/chunk-e362x35y.js.gz +0 -0
- package/web/{chunk-cqce094e.js → chunk-e6jfnajp.js} +9 -9
- package/web/chunk-e6jfnajp.js.br +0 -0
- package/web/chunk-e6jfnajp.js.gz +0 -0
- package/web/{chunk-szfzt9ph.js → chunk-ex34kdxk.js} +2 -2
- package/web/chunk-ex34kdxk.js.br +0 -0
- package/web/chunk-ex34kdxk.js.gz +0 -0
- package/web/chunk-exa2z1b4.js +1 -0
- package/web/chunk-exa2z1b4.js.br +0 -0
- package/web/chunk-exa2z1b4.js.gz +0 -0
- package/web/{chunk-x9b1052x.js → chunk-f5wyg9zh.js} +2 -2
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/{chunk-gp3356tf.js → chunk-fjvd2dx2.js} +1 -1
- package/web/chunk-fjvd2dx2.js.br +0 -0
- package/web/chunk-fjvd2dx2.js.gz +0 -0
- package/web/chunk-fs39pqet.js +2 -0
- package/web/chunk-fs39pqet.js.br +0 -0
- package/web/chunk-fs39pqet.js.gz +0 -0
- package/web/{chunk-2vh05ags.js → chunk-gvndjaan.js} +2 -2
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/{chunk-2vh05ags.js.gz → chunk-gvndjaan.js.gz} +0 -0
- package/web/{chunk-r992px5p.js → chunk-h3618s7t.js} +2 -2
- package/web/chunk-h3618s7t.js.br +0 -0
- package/web/chunk-h3618s7t.js.gz +0 -0
- package/web/chunk-hks91ztk.js +8 -0
- package/web/chunk-hks91ztk.js.br +0 -0
- package/web/chunk-hks91ztk.js.gz +0 -0
- package/web/{chunk-pczbf6w0.js → chunk-hqd97ez8.js} +4 -4
- package/web/chunk-hqd97ez8.js.br +0 -0
- package/web/chunk-hqd97ez8.js.gz +0 -0
- package/web/{chunk-yqzsx086.js → chunk-hta68vm8.js} +2 -2
- package/web/chunk-hta68vm8.js.br +0 -0
- package/web/chunk-hta68vm8.js.gz +0 -0
- package/web/chunk-jcbvhp3h.js +1 -0
- package/web/chunk-jcbvhp3h.js.br +0 -0
- package/web/chunk-jcbvhp3h.js.gz +0 -0
- package/web/chunk-jw6e38cy.js +1 -0
- package/web/chunk-jw6e38cy.js.br +0 -0
- package/web/chunk-jw6e38cy.js.gz +0 -0
- package/web/{chunk-24syb9ar.js → chunk-jzp1qd92.js} +1 -1
- package/web/chunk-jzp1qd92.js.br +0 -0
- package/web/chunk-jzp1qd92.js.gz +0 -0
- package/web/{chunk-14t6ms50.js → chunk-kg39a24q.js} +1 -1
- package/web/chunk-kg39a24q.js.br +0 -0
- package/web/chunk-kg39a24q.js.gz +0 -0
- package/web/{chunk-ezx3f7hw.js → chunk-kj75rme3.js} +1 -1
- package/web/chunk-kj75rme3.js.br +0 -0
- package/web/chunk-kj75rme3.js.gz +0 -0
- package/web/chunk-kvxmwmen.js +1 -0
- package/web/chunk-kvxmwmen.js.br +0 -0
- package/web/chunk-kvxmwmen.js.gz +0 -0
- package/web/chunk-kzdmsaet.js +1 -0
- package/web/chunk-kzdmsaet.js.br +0 -0
- package/web/chunk-kzdmsaet.js.gz +0 -0
- package/web/{chunk-faestmhg.js → chunk-m203pzza.js} +2 -2
- package/web/chunk-m203pzza.js.br +0 -0
- package/web/chunk-m203pzza.js.gz +0 -0
- package/web/{chunk-zcetrm2j.js → chunk-m3xw41vq.js} +1 -1
- package/web/chunk-m3xw41vq.js.br +0 -0
- package/web/chunk-m3xw41vq.js.gz +0 -0
- package/web/{chunk-qm88s0at.js → chunk-m8jcx13t.js} +2 -2
- package/web/chunk-m8jcx13t.js.br +0 -0
- package/web/chunk-m8jcx13t.js.gz +0 -0
- package/web/{chunk-qpmyxj27.js → chunk-mpgz1bj6.js} +1 -1
- package/web/chunk-mpgz1bj6.js.br +0 -0
- package/web/chunk-mpgz1bj6.js.gz +0 -0
- package/web/{chunk-7aqr59hm.js → chunk-mzagmpq5.js} +1 -1
- package/web/chunk-mzagmpq5.js.br +0 -0
- package/web/chunk-mzagmpq5.js.gz +0 -0
- package/web/chunk-n51q6d6e.js +1 -0
- package/web/chunk-n51q6d6e.js.br +0 -0
- package/web/chunk-n51q6d6e.js.gz +0 -0
- package/web/chunk-nbf2zaaj.js +1 -0
- package/web/chunk-nbf2zaaj.js.br +0 -0
- package/web/chunk-nbf2zaaj.js.gz +0 -0
- package/web/chunk-ngsv0xfb.js +1 -0
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.js.gz +0 -0
- package/web/chunk-nxd7dn08.js +1 -0
- package/web/chunk-nxd7dn08.js.br +0 -0
- package/web/chunk-nxd7dn08.js.gz +0 -0
- package/web/chunk-p44ezwgh.js +1 -0
- package/web/chunk-p44ezwgh.js.br +0 -0
- package/web/chunk-p44ezwgh.js.gz +0 -0
- package/web/{chunk-ece0ex2b.js → chunk-pdg3bxc0.js} +2 -2
- package/web/chunk-pdg3bxc0.js.br +0 -0
- package/web/chunk-pdg3bxc0.js.gz +0 -0
- package/web/chunk-pjbp0xwn.css +1 -0
- package/web/chunk-pjbp0xwn.css.br +0 -0
- package/web/chunk-pjbp0xwn.css.gz +0 -0
- package/web/{chunk-cm5cmpxr.js → chunk-pkbyh261.js} +1 -1
- package/web/chunk-pkbyh261.js.br +0 -0
- package/web/chunk-pkbyh261.js.gz +0 -0
- package/web/{chunk-67pmbk1h.js → chunk-q3q25jr9.js} +1 -1
- package/web/chunk-q3q25jr9.js.br +0 -0
- package/web/chunk-q3q25jr9.js.gz +0 -0
- package/web/{chunk-6ebp7qd7.js → chunk-q5nr5wjn.js} +6 -6
- package/web/chunk-q5nr5wjn.js.br +0 -0
- package/web/chunk-q5nr5wjn.js.gz +0 -0
- package/web/{chunk-n6wz1xv2.js → chunk-qd9y8r3g.js} +2 -2
- package/web/chunk-qd9y8r3g.js.br +0 -0
- package/web/chunk-qd9y8r3g.js.gz +0 -0
- package/web/{chunk-86f9x5fs.js → chunk-qm039dan.js} +1 -1
- package/web/chunk-qm039dan.js.br +0 -0
- package/web/chunk-qm039dan.js.gz +0 -0
- package/web/chunk-qqp31fyy.js +1 -0
- package/web/chunk-qqp31fyy.js.br +0 -0
- package/web/chunk-qqp31fyy.js.gz +0 -0
- package/web/chunk-r7st369j.js +1 -0
- package/web/chunk-r7st369j.js.br +0 -0
- package/web/chunk-r7st369j.js.gz +0 -0
- package/web/chunk-rc3sv7v4.js +1 -0
- package/web/chunk-rc3sv7v4.js.br +0 -0
- package/web/chunk-rc3sv7v4.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +1 -0
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.js.gz +0 -0
- package/web/{chunk-43h0rwsj.js → chunk-rtk95qme.js} +1 -1
- package/web/chunk-rtk95qme.js.br +0 -0
- package/web/chunk-rtk95qme.js.gz +0 -0
- package/web/{chunk-rxadtk6j.js → chunk-s4rfkyqn.js} +3 -3
- package/web/chunk-s4rfkyqn.js.br +0 -0
- package/web/{chunk-rxadtk6j.js.gz → chunk-s4rfkyqn.js.gz} +0 -0
- package/web/{chunk-29mff7z7.js → chunk-s6a0gfv3.js} +1 -1
- package/web/chunk-s6a0gfv3.js.br +0 -0
- package/web/chunk-s6a0gfv3.js.gz +0 -0
- package/web/{chunk-kqpj6dnm.js → chunk-s7rwbxr5.js} +2 -2
- package/web/chunk-s7rwbxr5.js.br +0 -0
- package/web/chunk-s7rwbxr5.js.gz +0 -0
- package/web/{chunk-qhwsegs1.js → chunk-s8f6v2nn.js} +1 -1
- package/web/chunk-s8f6v2nn.js.br +0 -0
- package/web/chunk-s8f6v2nn.js.gz +0 -0
- package/web/{chunk-9hkz2jgq.js → chunk-sawc81kc.js} +49 -49
- package/web/chunk-sawc81kc.js.br +0 -0
- package/web/chunk-sawc81kc.js.gz +0 -0
- package/web/{chunk-j94hffw3.js → chunk-sex2gevj.js} +2 -2
- package/web/chunk-sex2gevj.js.br +0 -0
- package/web/chunk-sex2gevj.js.gz +0 -0
- package/web/{chunk-nfz5qmem.js → chunk-smmdqmcy.js} +1 -1
- package/web/chunk-smmdqmcy.js.br +0 -0
- package/web/chunk-smmdqmcy.js.gz +0 -0
- package/web/{chunk-sk3ssmwp.js → chunk-tntwwpyh.js} +2 -2
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/{chunk-szwh742y.js → chunk-tpzyyc2z.js} +2 -2
- package/web/{chunk-szwh742y.js.br → chunk-tpzyyc2z.js.br} +0 -0
- package/web/{chunk-szwh742y.js.gz → chunk-tpzyyc2z.js.gz} +0 -0
- package/web/{chunk-jw830br8.js → chunk-txhvq81f.js} +3 -3
- package/web/chunk-txhvq81f.js.br +0 -0
- package/web/chunk-txhvq81f.js.gz +0 -0
- package/web/{chunk-3srybd24.js → chunk-txtm71rz.js} +1 -1
- package/web/chunk-txtm71rz.js.br +0 -0
- package/web/chunk-txtm71rz.js.gz +0 -0
- package/web/chunk-tykcqm6v.js +2 -0
- package/web/chunk-tykcqm6v.js.br +0 -0
- package/web/chunk-tykcqm6v.js.gz +0 -0
- package/web/{chunk-whprx2wg.js → chunk-tyrmd7j6.js} +1 -1
- package/web/chunk-tyrmd7j6.js.br +0 -0
- package/web/chunk-tyrmd7j6.js.gz +0 -0
- package/web/{chunk-ax4wvgv9.js → chunk-v6ebn3sf.js} +2 -2
- package/web/chunk-v6ebn3sf.js.br +0 -0
- package/web/chunk-v6ebn3sf.js.gz +0 -0
- package/web/{chunk-26y868vk.js → chunk-vbx7t0h5.js} +6 -6
- package/web/chunk-vbx7t0h5.js.br +0 -0
- package/web/chunk-vbx7t0h5.js.gz +0 -0
- package/web/chunk-vj3wz0a2.js +1 -0
- package/web/chunk-vj3wz0a2.js.br +0 -0
- package/web/chunk-vj3wz0a2.js.gz +0 -0
- package/web/{chunk-1fv6rp41.js → chunk-vndrjeyr.js} +2 -2
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.js.gz +0 -0
- package/web/{chunk-ggfwnr7a.js → chunk-vqgkd7q8.js} +1 -1
- package/web/chunk-vqgkd7q8.js.br +0 -0
- package/web/chunk-vqgkd7q8.js.gz +0 -0
- package/web/chunk-vvsfwjrg.js +1 -0
- package/web/chunk-vvsfwjrg.js.br +0 -0
- package/web/chunk-vvsfwjrg.js.gz +0 -0
- package/web/{chunk-1fp0r6da.js → chunk-w0k63gap.js} +2 -2
- package/web/chunk-w0k63gap.js.br +0 -0
- package/web/chunk-w0k63gap.js.gz +0 -0
- package/web/chunk-wafwgky9.js +1 -0
- package/web/chunk-wafwgky9.js.br +0 -0
- package/web/chunk-wafwgky9.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +1 -0
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/{chunk-qzeb7kj6.js → chunk-wk89vrvf.js} +1 -1
- package/web/chunk-wk89vrvf.js.br +0 -0
- package/web/chunk-wk89vrvf.js.gz +0 -0
- package/web/{chunk-jrh3s3f5.js → chunk-wqjn3yz1.js} +42 -42
- package/web/chunk-wqjn3yz1.js.br +0 -0
- package/web/chunk-wqjn3yz1.js.gz +0 -0
- package/web/{chunk-ccdww2gj.js → chunk-wrej9qt0.js} +1 -1
- package/web/chunk-wrej9qt0.js.br +0 -0
- package/web/chunk-wrej9qt0.js.gz +0 -0
- package/web/{chunk-xwyvptzt.js → chunk-xbjv549c.js} +2 -2
- package/web/chunk-xbjv549c.js.br +0 -0
- package/web/chunk-xbjv549c.js.gz +0 -0
- package/web/{chunk-2z5tpzd0.js → chunk-xmp1ag6z.js} +1 -1
- package/web/chunk-xmp1ag6z.js.br +0 -0
- package/web/chunk-xmp1ag6z.js.gz +0 -0
- package/web/{chunk-1c1jdx2r.js → chunk-xsqd38a2.js} +4 -4
- package/web/chunk-xsqd38a2.js.br +0 -0
- package/web/chunk-xsqd38a2.js.gz +0 -0
- package/web/{chunk-d0qb5kr7.js → chunk-y2fbz356.js} +1 -1
- package/web/chunk-y2fbz356.js.br +0 -0
- package/web/chunk-y2fbz356.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +1 -0
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-yebmbyrj.js +1 -0
- package/web/chunk-yebmbyrj.js.br +2 -0
- package/web/chunk-yebmbyrj.js.gz +0 -0
- package/web/{chunk-9b43td2b.js → chunk-ypytxmn6.js} +1 -1
- package/web/chunk-ypytxmn6.js.br +0 -0
- package/web/chunk-ypytxmn6.js.gz +0 -0
- package/web/{chunk-35zjz7ms.js → chunk-z6jy8edk.js} +5 -5
- package/web/chunk-z6jy8edk.js.br +0 -0
- package/web/chunk-z6jy8edk.js.gz +0 -0
- package/web/{chunk-7qnxv6xx.js → chunk-zg5n1hx4.js} +1 -1
- package/web/chunk-zg5n1hx4.js.br +0 -0
- package/web/chunk-zg5n1hx4.js.gz +0 -0
- package/web/{chunk-tpps3mfw.js → chunk-zmrd0bnc.js} +2 -2
- package/web/chunk-zmrd0bnc.js.br +0 -0
- package/web/chunk-zmrd0bnc.js.gz +0 -0
- package/web/{chunk-ct6hkz49.js → chunk-zqm6n89p.js} +1 -1
- package/web/chunk-zqm6n89p.js.br +0 -0
- package/web/chunk-zqm6n89p.js.gz +0 -0
- package/web/chunk-zvat895r.js +1 -0
- package/web/chunk-zvat895r.js.br +0 -0
- package/web/chunk-zvat895r.js.gz +0 -0
- package/web/chunk-zxt17pcp.js +1 -0
- package/web/chunk-zxt17pcp.js.br +0 -0
- package/web/chunk-zxt17pcp.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/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +0 -1
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +0 -2
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.js.gz +0 -0
- package/web/chunk-1r8npw1h.js +0 -1
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +0 -1
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +0 -1
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2z5tpzd0.js.br +0 -2
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +0 -1
- package/web/chunk-3q8tjjp1.js.br +0 -2
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +0 -1
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +0 -1
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +0 -1
- package/web/chunk-4q1j0ehq.js.br +0 -2
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +0 -1
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +0 -2
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +0 -1
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +0 -1
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +0 -1
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +0 -1
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +0 -1
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.js.gz +0 -0
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +0 -1
- package/web/chunk-ejrsh0nz.js.br +0 -2
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +0 -1
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-eq4skc30.js +0 -1
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +0 -1
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +0 -1
- package/web/chunk-gcyhcbej.js.br +0 -2
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +0 -8
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +0 -1
- package/web/chunk-hrng3h6w.js.br +0 -2
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +0 -1
- package/web/chunk-hxyxfhhs.js.br +0 -2
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +0 -1
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +0 -1
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +0 -1
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +0 -1
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +0 -1
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +0 -1
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r827h2kc.js +0 -1
- package/web/chunk-r827h2kc.js.br +0 -2
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +0 -1
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +0 -2
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +0 -2
- package/web/chunk-t9hnp1zd.js.br +0 -3
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +0 -1
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +0 -1
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vayamfxv.js +0 -1
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +0 -1
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js.br +0 -3
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +0 -1
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.js.gz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{t,i,Ae,q,C,W,M,P,R,I,d,g,Xr,Bi,Dt,T,Hi}from"./chunk-9hkz2jgq.js";import{vr}from"./chunk-j94hffw3.js";var Jt=function(){var e=t(function(wt,v,E,w){for(E=E||{},w=wt.length;w--;E[wt[w]]=v);return E},"o"),n=[1,24],a=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],h=[1,64],s=[1,65],f=[1,66],b=[1,67],_=[1,68],x=[1,69],S=[1,29],B=[1,30],U=[1,31],V=[1,32],Y=[1,33],H=[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],Rt=[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],D=[1,83],N=[1,84],A=[1,85],L=[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,E,w,m,F,u,Ut){var y=u.length-1;switch(F){case 3:m.setDirection("TB");break;case 4:m.setDirection("BT");break;case 5:m.setDirection("RL");break;case 6:m.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:m.setC4Type(u[y-3]);break;case 19:m.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:m.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),m.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),m.setAccDescription(this.$);break;case 28:u[y].splice(2,0,"ENTERPRISE"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 29:u[y].splice(2,0,"SYSTEM"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),m.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:m.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:m.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:m.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:m.popBoundaryParseStack();break;case 39:m.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:m.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:m.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:m.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:m.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:m.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:m.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:m.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:m.addContainer("container",...u[y]),this.$=u[y];break;case 48:m.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:m.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:m.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:m.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:m.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:m.addComponent("component",...u[y]),this.$=u[y];break;case 54:m.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:m.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:m.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:m.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:m.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:m.addRel("rel",...u[y]),this.$=u[y];break;case 61:m.addRel("birel",...u[y]),this.$=u[y];break;case 62:m.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:m.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:m.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:m.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:m.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),m.addRel("rel",...u[y]),this.$=u[y];break;case 68:m.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:m.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:m.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Lt={};Lt[u[y-1].trim()]=u[y].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:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:70,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:71,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:72,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:73,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt}),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:D,79:N,80:A},{35:86,75:81,76:O,77:D,79:N,80:A},{35:87,75:81,76:O,77:D,79:N,80:A},{35:88,75:81,76:O,77:D,79:N,80:A},{35:89,75:81,76:O,77:D,79:N,80:A},{35:90,75:81,76:O,77:D,79:N,80:A},{35:91,75:81,76:O,77:D,79:N,80:A},{35:92,75:81,76:O,77:D,79:N,80:A},{35:93,75:81,76:O,77:D,79:N,80:A},{35:94,75:81,76:O,77:D,79:N,80:A},{35:95,75:81,76:O,77:D,79:N,80:A},{35:96,75:81,76:O,77:D,79:N,80:A},{35:97,75:81,76:O,77:D,79:N,80:A},{35:98,75:81,76:O,77:D,79:N,80:A},{35:99,75:81,76:O,77:D,79:N,80:A},{35:100,75:81,76:O,77:D,79:N,80:A},{35:101,75:81,76:O,77:D,79:N,80:A},{35:102,75:81,76:O,77:D,79:N,80:A},{35:103,75:81,76:O,77:D,79:N,80:A},{35:104,75:81,76:O,77:D,79:N,80:A},e(L,[2,59]),{35:105,75:81,76:O,77:D,79:N,80:A},{35:106,75:81,76:O,77:D,79:N,80:A},{35:107,75:81,76:O,77:D,79:N,80:A},{35:108,75:81,76:O,77:D,79:N,80:A},{35:109,75:81,76:O,77:D,79:N,80:A},{35:110,75:81,76:O,77:D,79:N,80:A},{35:111,75:81,76:O,77:D,79:N,80:A},{35:112,75:81,76:O,77:D,79:N,80:A},{35:113,75:81,76:O,77:D,79:N,80:A},{35:114,75:81,76:O,77:D,79:N,80:A},{35:115,75:81,76:O,77:D,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:D,79:N,80:A},{35:120,75:81,76:O,77:D,79:N,80:A},{35:121,75:81,76:O,77:D,79:N,80:A},{35:122,75:81,76:O,77:D,79:N,80:A},{35:123,75:81,76:O,77:D,79:N,80:A},{35:124,75:81,76:O,77:D,79:N,80:A},{35:125,75:81,76:O,77:D,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:a,24:o,26:p,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:a,24:o,26:p,28:l,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt}),e(Ft,[2,21]),e(Ft,[2,22]),e(L,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:D,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),e(L,[2,47]),e(L,[2,48]),e(L,[2,49]),e(L,[2,50]),e(L,[2,51]),e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(L,[2,56]),e(L,[2,57]),e(L,[2,58]),e(L,[2,60]),e(L,[2,61]),e(L,[2,62]),e(L,[2,63]),e(L,[2,64]),e(L,[2,65]),e(L,[2,66]),e(L,[2,67]),e(L,[2,68]),e(L,[2,69]),e(L,[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(L,[2,24]),e(L,[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,E){if(E.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=E,w}},"parseError"),parse:t(function(v){var E=this,w=[0],m=[],F=[null],u=[],Ut=this.table,y="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=u.slice.call(arguments,1),j=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(j.setInput(v,It.yy),It.yy.lexer=j,It.yy.parser=this,typeof j.yylloc>"u")j.yylloc={};var se=j.yylloc;u.push(se);var Fe=j.options&&j.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(K){w.length=w.length-2*K,F.length=F.length-K,u.length=u.length-K}t(Ue,"popStack");function ge(){var K=m.pop()||j.lex()||me;if(typeof K!=="number"){if(K instanceof Array)m=K,K=m.pop();K=E.symbols_[K]||K}return K}t(ge,"lex");var z,ae,Mt,Q,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])Q=this.defaultActions[Mt];else{if(z===null||typeof z>"u")z=ge();Q=Ut[Mt]&&Ut[Mt][z]}if(typeof Q>"u"||!Q.length||!Q[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(j.showPosition)oe="Parse error on line "+(Lt+1)+`:
|
|
1
|
+
import{t,i,Ae,q,C,W,M,P,R,I,d,g,Xr,Fi,Dt,T,Ui}from"./chunk-sawc81kc.js";import{yr}from"./chunk-sex2gevj.js";var Jt=function(){var e=t(function(wt,v,E,w){for(E=E||{},w=wt.length;w--;E[wt[w]]=v);return E},"o"),n=[1,24],a=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],h=[1,64],s=[1,65],f=[1,66],b=[1,67],_=[1,68],x=[1,69],S=[1,29],B=[1,30],U=[1,31],V=[1,32],Y=[1,33],H=[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],Rt=[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],D=[1,83],N=[1,84],A=[1,85],L=[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,E,w,m,F,u,Ut){var y=u.length-1;switch(F){case 3:m.setDirection("TB");break;case 4:m.setDirection("BT");break;case 5:m.setDirection("RL");break;case 6:m.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:m.setC4Type(u[y-3]);break;case 19:m.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:m.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),m.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),m.setAccDescription(this.$);break;case 28:u[y].splice(2,0,"ENTERPRISE"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 29:u[y].splice(2,0,"SYSTEM"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),m.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:m.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:m.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:m.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:m.popBoundaryParseStack();break;case 39:m.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:m.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:m.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:m.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:m.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:m.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:m.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:m.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:m.addContainer("container",...u[y]),this.$=u[y];break;case 48:m.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:m.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:m.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:m.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:m.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:m.addComponent("component",...u[y]),this.$=u[y];break;case 54:m.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:m.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:m.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:m.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:m.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:m.addRel("rel",...u[y]),this.$=u[y];break;case 61:m.addRel("birel",...u[y]),this.$=u[y];break;case 62:m.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:m.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:m.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:m.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:m.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),m.addRel("rel",...u[y]),this.$=u[y];break;case 68:m.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:m.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:m.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Lt={};Lt[u[y-1].trim()]=u[y].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:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:70,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:71,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:72,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{13:73,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt}),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:D,79:N,80:A},{35:86,75:81,76:O,77:D,79:N,80:A},{35:87,75:81,76:O,77:D,79:N,80:A},{35:88,75:81,76:O,77:D,79:N,80:A},{35:89,75:81,76:O,77:D,79:N,80:A},{35:90,75:81,76:O,77:D,79:N,80:A},{35:91,75:81,76:O,77:D,79:N,80:A},{35:92,75:81,76:O,77:D,79:N,80:A},{35:93,75:81,76:O,77:D,79:N,80:A},{35:94,75:81,76:O,77:D,79:N,80:A},{35:95,75:81,76:O,77:D,79:N,80:A},{35:96,75:81,76:O,77:D,79:N,80:A},{35:97,75:81,76:O,77:D,79:N,80:A},{35:98,75:81,76:O,77:D,79:N,80:A},{35:99,75:81,76:O,77:D,79:N,80:A},{35:100,75:81,76:O,77:D,79:N,80:A},{35:101,75:81,76:O,77:D,79:N,80:A},{35:102,75:81,76:O,77:D,79:N,80:A},{35:103,75:81,76:O,77:D,79:N,80:A},{35:104,75:81,76:O,77:D,79:N,80:A},e(L,[2,59]),{35:105,75:81,76:O,77:D,79:N,80:A},{35:106,75:81,76:O,77:D,79:N,80:A},{35:107,75:81,76:O,77:D,79:N,80:A},{35:108,75:81,76:O,77:D,79:N,80:A},{35:109,75:81,76:O,77:D,79:N,80:A},{35:110,75:81,76:O,77:D,79:N,80:A},{35:111,75:81,76:O,77:D,79:N,80:A},{35:112,75:81,76:O,77:D,79:N,80:A},{35:113,75:81,76:O,77:D,79:N,80:A},{35:114,75:81,76:O,77:D,79:N,80:A},{35:115,75:81,76:O,77:D,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:D,79:N,80:A},{35:120,75:81,76:O,77:D,79:N,80:A},{35:121,75:81,76:O,77:D,79:N,80:A},{35:122,75:81,76:O,77:D,79:N,80:A},{35:123,75:81,76:O,77:D,79:N,80:A},{35:124,75:81,76:O,77:D,79:N,80:A},{35:125,75:81,76:O,77:D,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:a,24:o,26:p,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:a,24:o,26:p,28:l,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:U,47:V,48:Y,49:H,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:Rt}),e(Ft,[2,21]),e(Ft,[2,22]),e(L,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:D,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),e(L,[2,47]),e(L,[2,48]),e(L,[2,49]),e(L,[2,50]),e(L,[2,51]),e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(L,[2,56]),e(L,[2,57]),e(L,[2,58]),e(L,[2,60]),e(L,[2,61]),e(L,[2,62]),e(L,[2,63]),e(L,[2,64]),e(L,[2,65]),e(L,[2,66]),e(L,[2,67]),e(L,[2,68]),e(L,[2,69]),e(L,[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(L,[2,24]),e(L,[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,E){if(E.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=E,w}},"parseError"),parse:t(function(v){var E=this,w=[0],m=[],F=[null],u=[],Ut=this.table,y="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=u.slice.call(arguments,1),j=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(j.setInput(v,It.yy),It.yy.lexer=j,It.yy.parser=this,typeof j.yylloc>"u")j.yylloc={};var se=j.yylloc;u.push(se);var Fe=j.options&&j.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(K){w.length=w.length-2*K,F.length=F.length-K,u.length=u.length-K}t(Ue,"popStack");function ge(){var K=m.pop()||j.lex()||me;if(typeof K!=="number"){if(K instanceof Array)m=K,K=m.pop();K=E.symbols_[K]||K}return K}t(ge,"lex");var z,ae,Mt,Q,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])Q=this.defaultActions[Mt];else{if(z===null||typeof z>"u")z=ge();Q=Ut[Mt]&&Ut[Mt][z]}if(typeof Q>"u"||!Q.length||!Q[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(j.showPosition)oe="Parse error on line "+(Lt+1)+`:
|
|
2
2
|
`+j.showPosition()+`
|
|
3
3
|
Expecting `+Kt.join(", ")+", got '"+(this.terminals_[z]||z)+"'";else oe="Parse error on line "+(Lt+1)+": Unexpected "+(z==me?"end of input":"'"+(this.terminals_[z]||z)+"'");this.parseError(oe,{text:j.match,token:this.terminals_[z]||z,line:j.yylineno,loc:se,expected:Kt})}if(Q[0]instanceof Array&&Q.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+z);switch(Q[0]){case 1:if(w.push(z),F.push(j.yytext),u.push(j.yylloc),w.push(Q[1]),z=null,!ae){if(_e=j.yyleng,y=j.yytext,Lt=j.yylineno,se=j.yylloc,be>0)be--}else z=ae,ae=null;break;case 2:if(et=this.productions_[Q[1]][1],Yt.$=F[F.length-et],Yt._$={first_line:u[u.length-(et||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(et||1)].first_column,last_column:u[u.length-1].last_column},Fe)Yt._$.range=[u[u.length-(et||1)].range[0],u[u.length-1].range[1]];if(ie=this.performAction.apply(Yt,[y,_e,Lt,It.yy,Q[1],F,u].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),u=u.slice(0,-1*et);w.push(this.productions_[Q[1]][0]),F.push(Yt.$),u.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 wt={EOF:1,parseError:t(function(E,w){if(this.yy.parser)this.yy.parser.parseError(E,w);else throw Error(E)},"parseError"),setInput:t(function(v,E){if(this.yy=E||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 E=v.match(/(?:\r\n?|\n).*/g);if(E)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 E=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var m=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===m.length?this.yylloc.first_column:0)+m[m.length-w.length].length-w[0].length:this.yylloc.first_column-E},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-E];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(),E=Array(v.length+1).join("-");return v+this.upcomingInput()+`
|
|
5
5
|
`+E+"^"},"showPosition"),test_match:t(function(v,E){var w,m,F;if(this.options.backtrack_lexer){if(F={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)F.yylloc.range=this.yylloc.range.slice(0)}if(m=v[0].match(/(?:\r\n?|\n).*/g),m)this.yylineno+=m.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,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(v[0].length),this.matched+=v[0],w=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var u in F)this[u]=F[u];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,E,w,m;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var u=0;u<F.length;u++)if(w=this._input.match(this.rules[F[u]]),w&&(!E||w[0].length>E[0].length)){if(E=w,m=u,this.options.backtrack_lexer)if(v=this.test_match(w,F[u]),v!==!1)return v;else if(this._backtrack){E=!1;continue}else return!1;else if(!this.options.flex)break}if(E){if(v=this.test_match(E,F[m]),v!==!1)return v;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 E=this.next();if(E)return E;else return this.lex()},"lex"),begin:t(function(E){this.conditionStack.push(E)},"begin"),popState:t(function(){var E=this.conditionStack.length-1;if(E>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(E){if(E=this.conditionStack.length-1-Math.abs(E||0),E>=0)return this.conditionStack[E];else return"INITIAL"},"topState"),pushState:t(function(E){this.begin(E)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(E,w,m,F){var u=F;switch(m){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return wt}();ne.lexer=Be;function Ht(){this.yy={}}return t(Ht,"Parser"),Ht.prototype=ne,ne.Parser=Ht,new Ht}();Jt.parser=Jt;var je=Jt,Te=t((e)=>d()[e],"getRequiredConfig"),G=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[a,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=G.has(p)?{text:l}:l}else e[a]=o}},"assignAttributes"),Ce=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],X="global",J="",tt=[Ce()],Xt=[],de="",pe=!1,Zt=4,$t=2,Re,ze=t(function(){return Re},"getC4Type"),We=t(function(e){Re=q(e,d())},"setC4Type"),Xe=t(function(e,n,a,o,p,l,r,h,s){if(e===void 0||e===null||n===void 0||n===null||a===void 0||a===null||o===void 0||o===null)return;let f={},b=Xt.find((_)=>_.from===n&&_.to===a);if(b)f=b;else Xt.push(f);if(f.type=e,f.from=n,f.to=a,f.label={text:o},p===void 0||p===null)f.techn??={text:""};else if(typeof p==="object"){let[_,x]=Object.entries(p)[0];f[_]=G.has(_)?{text:x}:x}else f.techn={text:p};if(l===void 0||l===null)f.descr??={text:""};else if(typeof l==="object"){let[_,x]=Object.entries(l)[0];f[_]=G.has(_)?{text:x}:x}else f.descr={text:l};Bt(f,{sprite:r,tags:h,link:s}),f.wrap=Nt()},"addRel"),qe=t(function(e,n,a,o,p,l,r){if(n===null||a===null)return;let h={},s=Z.find((f)=>f.alias===n);if(s&&n===s.alias)h=s;else h.alias=n,Z.push(h);if(a===void 0||a===null)h.label={text:""};else h.label={text:a};if(o===void 0||o===null)h.descr??={text:""};else if(typeof o==="object"){let[f,b]=Object.entries(o)[0];h[f]=G.has(f)?{text:b}:b}else h.descr={text:o};Bt(h,{sprite:p,tags:l,link:r}),h.typeC4Shape={text:e},h.parentBoundary=X,h.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"system"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"container"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addContainerBoundary"),Je=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=tt.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,tt.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{tags:r,link:h}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Ot.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,a,o,p,l,r,h,s,f,b){let _=Z.find((x)=>x.alias===n);if(_===void 0){if(_=tt.find((x)=>x.alias===n),_===void 0)return}if(a!==void 0&&a!==null)if(typeof a==="object"){let[x,S]=Object.entries(a)[0];_[x]=S}else _.bgColor=a;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,S]=Object.entries(o)[0];_[x]=S}else _.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,S]=Object.entries(p)[0];_[x]=S}else _.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,S]=Object.entries(l)[0];_[x]=S}else _.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,S]=Object.entries(r)[0];_[x]=S}else _.shape=r;if(h!==void 0&&h!==null)if(typeof h==="object"){let[x,S]=Object.entries(h)[0];_[x]=S}else _.sprite=h;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,S]=Object.entries(s)[0];_[x]=S}else _.techn=s;if(f!==void 0&&f!==null)if(typeof f==="object"){let[x,S]=Object.entries(f)[0];_[x]=S}else _.legendText=f;if(b!==void 0&&b!==null)if(typeof b==="object"){let[x,S]=Object.entries(b)[0];_[x]=S}else _.legendSprite=b},"updateElStyle"),t0=t(function(e,n,a,o,p,l,r){let h=Xt.find((s)=>s.from===n&&s.to===a);if(h===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,f]=Object.entries(o)[0];h[s]=f}else h.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,f]=Object.entries(p)[0];h[s]=f}else h.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,f]=Object.entries(l)[0];h[s]=parseInt(f)}else h.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,f]=Object.entries(r)[0];h[s]=parseInt(f)}else h.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,a){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof a==="object"){let l=Object.values(a)[0];p=parseInt(l)}else p=parseInt(a);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),we=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(we(e))},"getC4ShapeKeys"),Oe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Oe,c0=t(function(){return Xt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Nt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Ce()],J="",X="global",Ot=[""],Xt=[],Ot=[""],de="",pe=!1,Zt=4,$t=2},"clear"),p0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=q(e,d())},"setTitle"),ce={addPersonOrSystem:qe,addPersonOrSystemBoundary:Ke,addContainer:He,addContainerBoundary:Ge,addComponent:Qe,addDeploymentNode:Je,popBoundaryParseStack:Ze,addRel:Xe,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Nt,setWrap:h0,getC4ShapeArray:we,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Oe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},Pe=t(function(e,n){return vr(e,n)},"drawRect"),b0=t((e,n,a,o)=>{let p=e.append("g"),l=0;for(let r of n){let h=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",f=r.offsetX?parseInt(String(r.offsetX)):0,b=r.offsetY?parseInt(String(r.offsetY)):0,_="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,S=a.messageFont();if(jt(a)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+b,x,r.label.height,{fill:h},S),r.techn&&r.techn.text!=="")S=a.messageFont(),jt(a)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+b,Math.max(x,r.techn.width),r.techn.height,{fill:h,"font-style":"italic"},S)}},"drawRels"),m0=t(function(e,n,a){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",h={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)h={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:h};Pe(o,s);let f=a.boundaryFont();if(f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=r,jt(a)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},f),n.type&&n.type.text!=="")f=a.boundaryFont(),f.fontColor=r,jt(a)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},f);if(n.descr&&n.descr.text!=="")f=a.boundaryFont(),f.fontSize=f.fontSize-2,f.fontColor=r,jt(a)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},f)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),jt=function(){function e(p,l,r,h,s,f,b){let _=l.append("text").attr("x",r+s/2).attr("y",h+f/2+5).style("text-anchor","middle").text(p);o(_,b)}t(e,"byText");function n(p,l,r,h,s,f,b,_){let{fontSize:x,fontFamily:S,fontWeight:B}=_,U=p.split(C.lineBreakRegex);for(let V=0;V<U.length;V++){let Y=V*x-x*(U.length-1)/2,H=l.append("text").attr("x",r+s/2).attr("y",h).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",S);H.append("tspan").attr("dy",Y).text(U[V]).attr("alignment-baseline","mathematical"),o(H,b)}}t(n,"byTspan");function a(p,l,r,h,s,f,b,_){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",h).attr("width",s).attr("height",f).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,h,s,f,b,_),o(B,b)}t(a,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?a:p.textPlacement==="old"?e:n}}(),nt={drawRect:Pe,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=g("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:g(o.body),doc:o}}return{root:g("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let a=e.typeC4Shape.text;if(a==="person"||a==="external_person")return"person";if(w0.has(a))return"cylinder";if(R0.has(a))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),De=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(De),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let a=e.typeC4Shape.text,o=e.bgColor??(ve(a)&&n[`${a}_bg_color`]),p=e.borderColor??(ve(a)&&n[`${a}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,a,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let h=P0(e),s=M0(e,n);if(h==="rounded"||h==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:h,cssClasses:r.join(" "),cssStyles:s,padding:a,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ne=4,ue=2;Jt.yy=ce;var k={},Le=class{static{t(this,"Bounds")}constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,he(e.db.getConfig())}setData(e,n,a,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,a,o){if(e[n]===void 0)e[n]=a;else e[n]=o(a,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,a=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=a||p>=a||this.nextData.cnt>Ne)o=this.nextData.startx+e.margin+k.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ae(k,e),e?.fontFamily)k.personFontFamily=k.systemFontFamily=k.messageFontFamily=e.fontFamily;if(e?.fontSize)k.personFontSize=k.systemFontSize=k.messageFontSize=e.fontSize;if(e?.fontWeight)k.personFontWeight=k.systemFontWeight=k.messageFontWeight=e.fontWeight},"setConf"),Gt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Pt(e,n,a,o,p){let l=n[e];if(!l.width)if(a)l.text=Xr(l.text,p,o),l.textLines=l.text.split(C.lineBreakRegex).length,l.width=p,l.height=Bi(l.text,o);else{let r=l.text.split(C.lineBreakRegex);l.textLines=r.length;let h=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Dt(s,o),l.width),h=Bi(s,o),l.height=l.height+h}return l}t(Pt,"calcC4ShapeTextWH");var Ie=t(function(e,n,a){let o=a.data.startx,p=a.data.starty;n.x=o,n.y=p,n.width=a.data.stopx-o,n.height=a.data.stopy-p,n.intersect=(s)=>T.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=k.c4ShapeMargin-35;let l=n.wrap&&k.wrap,r=Gt(k);r.fontSize=r.fontSize+2,r.fontWeight="bold";let h=Dt(n.label.text,r);Pt("label",n,l,r,h),nt.drawBoundary(e,n,k)},"drawBoundary"),Me=t(async function(e,n,a,o){let p=d(),l=p.look??"classic",r={config:p},h=n.attr("id")??"",s=o.map((b)=>a[Number(b)]),f=t((b)=>{let _=b.shape?Hi[b.shape]:void 0;if(!_)throw Error(`C4: no shape handler for "${b.shape}"`);return _},"shapeHandlerFor");await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`;let x=await f(_)(n,_,r);b.width=_.width??k.width,b.height=_.height??k.height,b.margin=k.c4ShapeMargin,x.remove()}));for(let b of s)e.insert(b);await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`,_.x=b.x+b.width/2,_.y=b.y+b.height/2;let x=n.append("g").attr("transform",`translate(${b.x+b.width/2}, ${b.y+b.height/2})`);await f(_)(x,_,r),b.intersect=_.intersect})),e.bumpLastMargin(k.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Ee=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:a,y:o}=e.intersect(n);return new V0(a,o)},"getIntersectPoint"),Y0=t(function(e,n){let a={x:0,y:0};a.x=n.x+n.width/2,a.y=n.y+n.height/2;let o=Ee(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let p=Ee(n,a);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,a,o,p){let l=o.db.getC4Type(),r=0;for(let h of n){r=r+1;let s=h.wrap&&k.wrap,f=B0(k);if(l==="C4Dynamic")h.label.text=r+": "+h.label.text;let b=Dt(h.label.text,f);if(Pt("label",h,s,f,b),h.techn&&h.techn.text!=="")b=Dt(h.techn.text,f),Pt("techn",h,s,f,b);if(h.descr&&h.descr.text!=="")b=Dt(h.descr.text,f),Pt("descr",h,s,f,b);let _=a(h.from),x=a(h.to);if(!_||!x)throw Error(`C4 rel "${h.from}" -> "${h.to}" references an unknown shape or boundary`);let S=Y0(_,x);if(!S.startPoint||!S.endPoint)throw Error(`Could not calculate intersection points for rel "${h.from}" -> "${h.to}"`);h.startPoint=S.startPoint,h.endPoint=S.endPoint}nt.drawRels(e,n,k,p)},"drawRels");async function fe(e,n,a,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=a.data.widthLimit/Math.min(ue,o.length);for(let[h,s]of o.entries()){let f=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=f,f=s.image.Y+s.image.height;let b=s.wrap&&k.wrap,_=Gt(k);_.fontSize=_.fontSize+2,_.fontWeight="bold";let x=Pt("label",s,b,_,r.data.widthLimit);if(x.Y=f+8,f=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(k),Y=Pt("type",s,b,V,r.data.widthLimit);Y.Y=f+5,f=Y.Y+Y.height}if(s.descr&&s.descr.text!==""){let V=Gt(k);V.fontSize=V.fontSize-2;let Y=Pt("descr",s,b,V,r.data.widthLimit);Y.Y=f+20,f=Y.Y+Y.height}if(h==0||h%ue===0){let V=a.data.startx+k.diagramMarginX,Y=a.data.stopy+k.diagramMarginY+f;r.setData(V,V,Y,Y)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+k.diagramMarginX:r.data.startx,Y=r.data.starty;r.setData(V,V,Y,Y)}r.name=s.alias;let S=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,S,B);n=s.alias;let U=l.getBoundaries(n);if(U.length>0)await fe(e,n,r,U,p);if(s.alias!=="global")Ie(e,s,r);a.data.stopy=Math.max(r.data.stopy+k.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+k.c4ShapeMargin,a.data.stopx),zt=Math.max(zt,a.data.stopx),Wt=Math.max(Wt,a.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,a,o){k=Te("c4");let p=d().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(k.wrap),Ne=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),i.debug(`C:${JSON.stringify(k,null,2)}`);let h=l.select(`[id="${n}"]`);nt.insertComputerIcon(h,n),nt.insertDatabaseIcon(h,n),nt.insertClockIcon(h,n);let s=new Le(o);s.setData(k.diagramMarginX,k.diagramMarginX,k.diagramMarginY,k.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=k.diagramMarginX,Wt=k.diagramMarginY;let f=r.getTitle(),b=r.getBoundaries("");await fe(h,"",s,b,o),nt.insertArrowHead(h,n),nt.insertArrowEnd(h,n),nt.insertArrowCrossHead(h,n),nt.insertArrowFilledHead(h,n),F0(h,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let _=s.data,{startx:x,starty:S}=_,U=Wt-S+2*k.diagramMarginY,V=zt-x,Y=V+2*k.diagramMarginX;if(f)h.append("text").text(f).attr("x",V/2-4*k.diagramMarginX).attr("y",S+k.diagramMarginY);W(h,U,Y,k.useMaxWidth);let H=f?60:0;h.attr("viewBox",x-k.diagramMarginX+" -"+(k.diagramMarginY+H)+" "+Y+" "+(U+H)),i.debug("models:",_)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=d().c4??{},n=new CSSStyleSheet;for(let a of De){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${a} .label {}`,n.cssRules.length)],p=e[`${a}FontFamily`],l=e[`${a}FontSize`],r=e[`${a}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((a)=>a.style.length>0).map((a)=>` ${a.cssText}`).join(`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var E=this.next();if(E)return E;else return this.lex()},"lex"),begin:t(function(E){this.conditionStack.push(E)},"begin"),popState:t(function(){var E=this.conditionStack.length-1;if(E>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(E){if(E=this.conditionStack.length-1-Math.abs(E||0),E>=0)return this.conditionStack[E];else return"INITIAL"},"topState"),pushState:t(function(E){this.begin(E)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(E,w,m,F){var u=F;switch(m){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return wt}();ne.lexer=Be;function Ht(){this.yy={}}return t(Ht,"Parser"),Ht.prototype=ne,ne.Parser=Ht,new Ht}();Jt.parser=Jt;var je=Jt,Te=t((e)=>d()[e],"getRequiredConfig"),G=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[a,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=G.has(p)?{text:l}:l}else e[a]=o}},"assignAttributes"),Ce=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],X="global",J="",tt=[Ce()],Xt=[],de="",pe=!1,Zt=4,$t=2,Re,ze=t(function(){return Re},"getC4Type"),We=t(function(e){Re=q(e,d())},"setC4Type"),Xe=t(function(e,n,a,o,p,l,r,h,s){if(e===void 0||e===null||n===void 0||n===null||a===void 0||a===null||o===void 0||o===null)return;let f={},b=Xt.find((_)=>_.from===n&&_.to===a);if(b)f=b;else Xt.push(f);if(f.type=e,f.from=n,f.to=a,f.label={text:o},p===void 0||p===null)f.techn??={text:""};else if(typeof p==="object"){let[_,x]=Object.entries(p)[0];f[_]=G.has(_)?{text:x}:x}else f.techn={text:p};if(l===void 0||l===null)f.descr??={text:""};else if(typeof l==="object"){let[_,x]=Object.entries(l)[0];f[_]=G.has(_)?{text:x}:x}else f.descr={text:l};Bt(f,{sprite:r,tags:h,link:s}),f.wrap=Nt()},"addRel"),qe=t(function(e,n,a,o,p,l,r){if(n===null||a===null)return;let h={},s=Z.find((f)=>f.alias===n);if(s&&n===s.alias)h=s;else h.alias=n,Z.push(h);if(a===void 0||a===null)h.label={text:""};else h.label={text:a};if(o===void 0||o===null)h.descr??={text:""};else if(typeof o==="object"){let[f,b]=Object.entries(o)[0];h[f]=G.has(f)?{text:b}:b}else h.descr={text:o};Bt(h,{sprite:p,tags:l,link:r}),h.typeC4Shape={text:e},h.parentBoundary=X,h.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"system"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"container"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addContainerBoundary"),Je=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=tt.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,tt.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{tags:r,link:h}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Ot.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,a,o,p,l,r,h,s,f,b){let _=Z.find((x)=>x.alias===n);if(_===void 0){if(_=tt.find((x)=>x.alias===n),_===void 0)return}if(a!==void 0&&a!==null)if(typeof a==="object"){let[x,S]=Object.entries(a)[0];_[x]=S}else _.bgColor=a;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,S]=Object.entries(o)[0];_[x]=S}else _.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,S]=Object.entries(p)[0];_[x]=S}else _.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,S]=Object.entries(l)[0];_[x]=S}else _.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,S]=Object.entries(r)[0];_[x]=S}else _.shape=r;if(h!==void 0&&h!==null)if(typeof h==="object"){let[x,S]=Object.entries(h)[0];_[x]=S}else _.sprite=h;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,S]=Object.entries(s)[0];_[x]=S}else _.techn=s;if(f!==void 0&&f!==null)if(typeof f==="object"){let[x,S]=Object.entries(f)[0];_[x]=S}else _.legendText=f;if(b!==void 0&&b!==null)if(typeof b==="object"){let[x,S]=Object.entries(b)[0];_[x]=S}else _.legendSprite=b},"updateElStyle"),t0=t(function(e,n,a,o,p,l,r){let h=Xt.find((s)=>s.from===n&&s.to===a);if(h===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,f]=Object.entries(o)[0];h[s]=f}else h.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,f]=Object.entries(p)[0];h[s]=f}else h.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,f]=Object.entries(l)[0];h[s]=parseInt(f)}else h.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,f]=Object.entries(r)[0];h[s]=parseInt(f)}else h.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,a){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof a==="object"){let l=Object.values(a)[0];p=parseInt(l)}else p=parseInt(a);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),we=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(we(e))},"getC4ShapeKeys"),Oe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Oe,c0=t(function(){return Xt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Nt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Ce()],J="",X="global",Ot=[""],Xt=[],Ot=[""],de="",pe=!1,Zt=4,$t=2},"clear"),p0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=q(e,d())},"setTitle"),ce={addPersonOrSystem:qe,addPersonOrSystemBoundary:Ke,addContainer:He,addContainerBoundary:Ge,addComponent:Qe,addDeploymentNode:Je,popBoundaryParseStack:Ze,addRel:Xe,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Nt,setWrap:h0,getC4ShapeArray:we,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Oe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},Pe=t(function(e,n){return yr(e,n)},"drawRect"),b0=t((e,n,a,o)=>{let p=e.append("g"),l=0;for(let r of n){let h=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",f=r.offsetX?parseInt(String(r.offsetX)):0,b=r.offsetY?parseInt(String(r.offsetY)):0,_="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,S=a.messageFont();if(jt(a)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+b,x,r.label.height,{fill:h},S),r.techn&&r.techn.text!=="")S=a.messageFont(),jt(a)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+b,Math.max(x,r.techn.width),r.techn.height,{fill:h,"font-style":"italic"},S)}},"drawRels"),m0=t(function(e,n,a){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",h={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)h={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:h};Pe(o,s);let f=a.boundaryFont();if(f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=r,jt(a)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},f),n.type&&n.type.text!=="")f=a.boundaryFont(),f.fontColor=r,jt(a)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},f);if(n.descr&&n.descr.text!=="")f=a.boundaryFont(),f.fontSize=f.fontSize-2,f.fontColor=r,jt(a)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},f)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),jt=function(){function e(p,l,r,h,s,f,b){let _=l.append("text").attr("x",r+s/2).attr("y",h+f/2+5).style("text-anchor","middle").text(p);o(_,b)}t(e,"byText");function n(p,l,r,h,s,f,b,_){let{fontSize:x,fontFamily:S,fontWeight:B}=_,U=p.split(C.lineBreakRegex);for(let V=0;V<U.length;V++){let Y=V*x-x*(U.length-1)/2,H=l.append("text").attr("x",r+s/2).attr("y",h).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",S);H.append("tspan").attr("dy",Y).text(U[V]).attr("alignment-baseline","mathematical"),o(H,b)}}t(n,"byTspan");function a(p,l,r,h,s,f,b,_){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",h).attr("width",s).attr("height",f).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,h,s,f,b,_),o(B,b)}t(a,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?a:p.textPlacement==="old"?e:n}}(),nt={drawRect:Pe,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=g("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:g(o.body),doc:o}}return{root:g("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let a=e.typeC4Shape.text;if(a==="person"||a==="external_person")return"person";if(w0.has(a))return"cylinder";if(R0.has(a))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),De=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(De),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let a=e.typeC4Shape.text,o=e.bgColor??(ve(a)&&n[`${a}_bg_color`]),p=e.borderColor??(ve(a)&&n[`${a}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,a,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let h=P0(e),s=M0(e,n);if(h==="rounded"||h==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:h,cssClasses:r.join(" "),cssStyles:s,padding:a,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ne=4,ue=2;Jt.yy=ce;var k={},Le=class{static{t(this,"Bounds")}constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,he(e.db.getConfig())}setData(e,n,a,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,a,o){if(e[n]===void 0)e[n]=a;else e[n]=o(a,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,a=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=a||p>=a||this.nextData.cnt>Ne)o=this.nextData.startx+e.margin+k.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ae(k,e),e?.fontFamily)k.personFontFamily=k.systemFontFamily=k.messageFontFamily=e.fontFamily;if(e?.fontSize)k.personFontSize=k.systemFontSize=k.messageFontSize=e.fontSize;if(e?.fontWeight)k.personFontWeight=k.systemFontWeight=k.messageFontWeight=e.fontWeight},"setConf"),Gt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Pt(e,n,a,o,p){let l=n[e];if(!l.width)if(a)l.text=Xr(l.text,p,o),l.textLines=l.text.split(C.lineBreakRegex).length,l.width=p,l.height=Fi(l.text,o);else{let r=l.text.split(C.lineBreakRegex);l.textLines=r.length;let h=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Dt(s,o),l.width),h=Fi(s,o),l.height=l.height+h}return l}t(Pt,"calcC4ShapeTextWH");var Ie=t(function(e,n,a){let o=a.data.startx,p=a.data.starty;n.x=o,n.y=p,n.width=a.data.stopx-o,n.height=a.data.stopy-p,n.intersect=(s)=>T.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=k.c4ShapeMargin-35;let l=n.wrap&&k.wrap,r=Gt(k);r.fontSize=r.fontSize+2,r.fontWeight="bold";let h=Dt(n.label.text,r);Pt("label",n,l,r,h),nt.drawBoundary(e,n,k)},"drawBoundary"),Me=t(async function(e,n,a,o){let p=d(),l=p.look??"classic",r={config:p},h=n.attr("id")??"",s=o.map((b)=>a[Number(b)]),f=t((b)=>{let _=b.shape?Ui[b.shape]:void 0;if(!_)throw Error(`C4: no shape handler for "${b.shape}"`);return _},"shapeHandlerFor");await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`;let x=await f(_)(n,_,r);b.width=_.width??k.width,b.height=_.height??k.height,b.margin=k.c4ShapeMargin,x.remove()}));for(let b of s)e.insert(b);await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`,_.x=b.x+b.width/2,_.y=b.y+b.height/2;let x=n.append("g").attr("transform",`translate(${b.x+b.width/2}, ${b.y+b.height/2})`);await f(_)(x,_,r),b.intersect=_.intersect})),e.bumpLastMargin(k.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Ee=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:a,y:o}=e.intersect(n);return new V0(a,o)},"getIntersectPoint"),Y0=t(function(e,n){let a={x:0,y:0};a.x=n.x+n.width/2,a.y=n.y+n.height/2;let o=Ee(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let p=Ee(n,a);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,a,o,p){let l=o.db.getC4Type(),r=0;for(let h of n){r=r+1;let s=h.wrap&&k.wrap,f=B0(k);if(l==="C4Dynamic")h.label.text=r+": "+h.label.text;let b=Dt(h.label.text,f);if(Pt("label",h,s,f,b),h.techn&&h.techn.text!=="")b=Dt(h.techn.text,f),Pt("techn",h,s,f,b);if(h.descr&&h.descr.text!=="")b=Dt(h.descr.text,f),Pt("descr",h,s,f,b);let _=a(h.from),x=a(h.to);if(!_||!x)throw Error(`C4 rel "${h.from}" -> "${h.to}" references an unknown shape or boundary`);let S=Y0(_,x);if(!S.startPoint||!S.endPoint)throw Error(`Could not calculate intersection points for rel "${h.from}" -> "${h.to}"`);h.startPoint=S.startPoint,h.endPoint=S.endPoint}nt.drawRels(e,n,k,p)},"drawRels");async function fe(e,n,a,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=a.data.widthLimit/Math.min(ue,o.length);for(let[h,s]of o.entries()){let f=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=f,f=s.image.Y+s.image.height;let b=s.wrap&&k.wrap,_=Gt(k);_.fontSize=_.fontSize+2,_.fontWeight="bold";let x=Pt("label",s,b,_,r.data.widthLimit);if(x.Y=f+8,f=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(k),Y=Pt("type",s,b,V,r.data.widthLimit);Y.Y=f+5,f=Y.Y+Y.height}if(s.descr&&s.descr.text!==""){let V=Gt(k);V.fontSize=V.fontSize-2;let Y=Pt("descr",s,b,V,r.data.widthLimit);Y.Y=f+20,f=Y.Y+Y.height}if(h==0||h%ue===0){let V=a.data.startx+k.diagramMarginX,Y=a.data.stopy+k.diagramMarginY+f;r.setData(V,V,Y,Y)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+k.diagramMarginX:r.data.startx,Y=r.data.starty;r.setData(V,V,Y,Y)}r.name=s.alias;let S=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,S,B);n=s.alias;let U=l.getBoundaries(n);if(U.length>0)await fe(e,n,r,U,p);if(s.alias!=="global")Ie(e,s,r);a.data.stopy=Math.max(r.data.stopy+k.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+k.c4ShapeMargin,a.data.stopx),zt=Math.max(zt,a.data.stopx),Wt=Math.max(Wt,a.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,a,o){k=Te("c4");let p=d().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(k.wrap),Ne=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),i.debug(`C:${JSON.stringify(k,null,2)}`);let h=l.select(`[id="${n}"]`);nt.insertComputerIcon(h,n),nt.insertDatabaseIcon(h,n),nt.insertClockIcon(h,n);let s=new Le(o);s.setData(k.diagramMarginX,k.diagramMarginX,k.diagramMarginY,k.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=k.diagramMarginX,Wt=k.diagramMarginY;let f=r.getTitle(),b=r.getBoundaries("");await fe(h,"",s,b,o),nt.insertArrowHead(h,n),nt.insertArrowEnd(h,n),nt.insertArrowCrossHead(h,n),nt.insertArrowFilledHead(h,n),F0(h,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let _=s.data,{startx:x,starty:S}=_,U=Wt-S+2*k.diagramMarginY,V=zt-x,Y=V+2*k.diagramMarginX;if(f)h.append("text").text(f).attr("x",V/2-4*k.diagramMarginX).attr("y",S+k.diagramMarginY);W(h,U,Y,k.useMaxWidth);let H=f?60:0;h.attr("viewBox",x-k.diagramMarginX+" -"+(k.diagramMarginY+H)+" "+Y+" "+(U+H)),i.debug("models:",_)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=d().c4??{},n=new CSSStyleSheet;for(let a of De){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${a} .label {}`,n.cssRules.length)],p=e[`${a}FontFamily`],l=e[`${a}FontSize`],r=e[`${a}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((a)=>a.style.length>0).map((a)=>` ${a.cssText}`).join(`
|
|
7
7
|
`)},"elementFontStyles"),z0=t((e)=>`.person {
|
|
8
8
|
stroke: ${e.personBorder};
|
|
9
9
|
fill: ${e.personBkg};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{t,i,Ie,ct,C,N,M,P,R,I,O,D,d,xr,jr,g,Xt,Kt,H,St,De,Ne,Me,Ot,
|
|
1
|
+
import{t,i,Ie,ct,C,N,M,P,R,I,O,D,d,xr,jr,g,Xt,Kt,H,St,De,Ne,Me,Ot,si,He,Ue}from"./chunk-sawc81kc.js";import{Bn}from"./chunk-sex2gevj.js";import{Tt}from"./chunk-kg39a24q.js";import{Fn}from"./chunk-fs39pqet.js";import{ze}from"./chunk-fjvd2dx2.js";import{Pe}from"./chunk-xmp1ag6z.js";var k1="flowchart-",g1=class{constructor(){this.vertexCounter=0,this.config=d(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=M,this.setAccDescription=R,this.setDiagramTitle=O,this.getAccTitle=P,this.getAccDescription=I,this.getDiagramTitle=D,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"FlowDB")}sanitizeText(e){return C.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let a of this.vertices.values())if(a.id===e)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,a,n,u,l,k,h={},m){if(!e||e.trim().length===0)return;let p;if(m!==void 0){let S;if(!m.includes(`
|
|
2
2
|
`))S=`{
|
|
3
3
|
`+m+`
|
|
4
4
|
}`;else S=m+`
|
|
5
|
-
`;p=Kt(S,{schema:Xt})}let G=this.subGraphLookup.get(e);if(G&&p){G.metadata={...G.metadata,...p};return}let y=this.edges.find((S)=>S.id===e);if(y){let S=p;if(S?.animate!==void 0)y.animate=S.animate;if(S?.animation!==void 0)y.animation=S.animation;if(S?.curve!==void 0)y.interpolate=S.curve;return}let U,T=this.vertices.get(e);if(T===void 0){if(a===void 0&&n===void 0&&u!==void 0&&u!==null)i.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`);T={id:e,labelType:"text",domId:k1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,T)}if(this.vertexCounter++,a!==void 0){if(this.config=d(),U=this.sanitizeText(a.text.trim()),T.labelType=a.type,U.startsWith('"')&&U.endsWith('"'))U=U.substring(1,U.length-1);T.text=U}else if(T.text===void 0)T.text=e;if(n!==void 0)T.type=n;if(u!==void 0&&u!==null)u.forEach((S)=>{T.styles.push(S)});if(l!==void 0&&l!==null)l.forEach((S)=>{T.classes.push(S)});if(k!==void 0)T.dir=k;if(T.props===void 0)T.props=h;else if(h!==void 0)Object.assign(T.props,h);if(p!==void 0){if(p.shape){if(p.shape!==p.shape.toLowerCase()||p.shape.includes("_"))throw Error(`No such shape: ${p.shape}. Shape names should be lowercase.`);else if(!
|
|
5
|
+
`;p=Kt(S,{schema:Xt})}let G=this.subGraphLookup.get(e);if(G&&p){G.metadata={...G.metadata,...p};return}let y=this.edges.find((S)=>S.id===e);if(y){let S=p;if(S?.animate!==void 0)y.animate=S.animate;if(S?.animation!==void 0)y.animation=S.animation;if(S?.curve!==void 0)y.interpolate=S.curve;return}let U,T=this.vertices.get(e);if(T===void 0){if(a===void 0&&n===void 0&&u!==void 0&&u!==null)i.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`);T={id:e,labelType:"text",domId:k1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,T)}if(this.vertexCounter++,a!==void 0){if(this.config=d(),U=this.sanitizeText(a.text.trim()),T.labelType=a.type,U.startsWith('"')&&U.endsWith('"'))U=U.substring(1,U.length-1);T.text=U}else if(T.text===void 0)T.text=e;if(n!==void 0)T.type=n;if(u!==void 0&&u!==null)u.forEach((S)=>{T.styles.push(S)});if(l!==void 0&&l!==null)l.forEach((S)=>{T.classes.push(S)});if(k!==void 0)T.dir=k;if(T.props===void 0)T.props=h;else if(h!==void 0)Object.assign(T.props,h);if(p!==void 0){if(p.shape){if(p.shape!==p.shape.toLowerCase()||p.shape.includes("_"))throw Error(`No such shape: ${p.shape}. Shape names should be lowercase.`);else if(!si(p.shape))throw Error(`No such shape: ${p.shape}.`);T.type=p?.shape}if(p?.label)T.text=p?.label,T.labelType=this.sanitizeNodeLabelType(p?.labelType);if(p?.icon){if(T.icon=p?.icon,!p.label?.trim()&&T.text===e)T.text=""}if(p?.form)T.form=p?.form;if(p?.pos)T.pos=p?.pos;if(p?.img){if(T.img=p?.img,!p.label?.trim()&&T.text===e)T.text=""}if(p?.constraint)T.constraint=p.constraint;if(p.w)T.assetWidth=Number(p.w);if(p.h)T.assetHeight=Number(p.h)}}addSingleLink(e,a,n,u){let h={start:e,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};i.info("abc78 Got edge...",h);let m=n.text;if(m!==void 0){if(h.text=this.sanitizeText(m.text.trim()),h.text.startsWith('"')&&h.text.endsWith('"'))h.text=h.text.substring(1,h.text.length-1);h.labelType=this.sanitizeNodeLabelType(m.type)}if(n!==void 0)h.type=n.type,h.stroke=n.stroke,h.length=n.length>10?10:n.length;if(u&&!this.edges.some((p)=>p.id===u))h.id=u,h.isUserDefinedId=!0;else{let p=this.edges.filter((G)=>G.start===h.start&&G.end===h.end);if(p.length===0)h.id=St(h.start,h.end,{counter:0,prefix:"L"});else h.id=St(h.start,h.end,{counter:p.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))i.info("Pushing edge..."),this.edges.push(h);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
6
6
|
|
|
7
7
|
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
8
|
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
-
You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,a,n){let u=this.isLinkData(n)?n.id.replace("@",""):void 0;i.info("addLink",e,a,u);for(let l of e)for(let k of a){let h=l===e[e.length-1],m=k===a[0];if(h&&m)this.addSingleLink(l,k,n,u);else this.addSingleLink(l,k,n,void 0)}}updateLinkInterpolate(e,a){e.forEach((n)=>{if(n==="default")this.edges.defaultInterpolate=a;else this.edges[n].interpolate=a})}updateLink(e,a){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=a;else if(this.edges[n].style=a,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((u)=>u?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,a){let n=a.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((u)=>{let l=this.classes.get(u);if(l===void 0)l={id:u,styles:[],textStyles:[]},this.classes.set(u,l);if(n!==void 0&&n!==null)n.forEach((k)=>{if(/color/.exec(k)){let h=k.replace("fill","bgFill");l.textStyles.push(h)}l.styles.push(k)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,a){for(let n of e.split(",")){let u=this.vertices.get(n);if(u)u.classes.push(a);let l=this.edges.find((h)=>h.id===n);if(l)l.classes.push(a);let k=this.subGraphLookup.get(n);if(k)k.classes.push(a)}}setTooltip(e,a){if(a===void 0)return;a=this.sanitizeText(a);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,a)}setClickFun(e,a,n){if(d().securityLevel!=="loose")return;if(a===void 0)return;let u=[];if(typeof n==="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<u.length;k++){let h=u[k].trim();if(h.startsWith('"')&&h.endsWith('"'))h=h.substr(1,h.length-2);u[k]=h}}if(u.length===0)u.push(e);let l=this.vertices.get(e);if(l)l.haveCallback=!0,this.funs.push(()=>{let k=this.lookUpDomId(e),h=document.querySelector(`[id="${k}"]`);if(h!==null)h.addEventListener("click",()=>{H.runFunc(a,...u)},!1)})}setLink(e,a,n){e.split(",").forEach((u)=>{let l=this.vertices.get(u);if(l!==void 0)l.link=H.formatUrl(a,this.config),l.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,a,n){e.split(",").forEach((u)=>{this.setClickFun(u,a,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((a)=>{a(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let a=$n();g(e).select("svg").selectAll("g.node").on("mouseover",(l)=>{let k=g(l.currentTarget),h=k.attr("title");if(h===null)return;let m=l.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(k.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(ct.sanitize(h)),k.classed("hover",!0)}).on("mouseout",(l)=>{a.transition().duration(500).style("opacity",0),g(l.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=d(),N()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,a,n){let u=e.text.trim(),l=n.text;if(e===n&&/\s/.exec(n.text))u=void 0;let h=t((T)=>{let S={boolean:{},number:{},string:{}},v=[],z;return{nodeList:T.filter(function(c){let b=typeof c;if(c.stmt&&c.stmt==="dir")return z=c.value,!1;if(c.trim()==="")return!1;if(b in S)return S[b].hasOwnProperty(c)?!1:S[b][c]=!0;else return v.includes(c)?!1:v.push(c)}),dir:z}},"uniq")(a.flat()),{nodeList:m,dir:p}=h,G=d().flowchart??{};if(p=p??(G.inheritDir?this.getDirection()??d().direction??void 0:void 0),this.version==="gen-1")for(let T=0;T<m.length;T++)m[T]=this.lookUpDomId(m[T]);u=u??"subGraph"+this.subCount,l=l||"",l=this.sanitizeText(l),this.subCount=this.subCount+1;let y={id:u,nodes:m,title:l.trim(),classes:[],dir:p,labelType:this.sanitizeNodeLabelType(n?.type)};i.info("Adding",y.id,y.nodes,y.dir),y.nodes=this.makeUniq(y,this.subGraphs).nodes.filter((T)=>T!==u);let U=this.subGraphs.find((T)=>T.id===u);if(U)U.nodes.push(...y.nodes);else this.subGraphs.push(y);return this.subGraphLookup.set(u,U??y),u}getPosForId(e){for(let[a,n]of this.subGraphs.entries())if(n.id===e)return a;return-1}indexNodes2(e,a){let n=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===e)return{result:!0,count:0};let u=0,l=1;while(u<n.length){let k=this.getPosForId(n[u]);if(k>=0){let h=this.indexNodes2(e,k);if(h.result)return{result:!0,count:l+h.count};else l=l+h.count}u=u+1}return{result:!1,count:l}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}destructStartLink(e){let a=e.trim(),n="arrow_open";switch(a[0]){case"<":n="arrow_point",a=a.slice(1);break;case"x":n="arrow_cross",a=a.slice(1);break;case"o":n="arrow_circle",a=a.slice(1);break}let u="normal";if(a.includes("="))u="thick";if(a.includes("."))u="dotted";return{type:n,stroke:u}}countChar(e,a){let n=a.length,u=0;for(let l=0;l<n;++l)if(a[l]===e)++u;return u}destructEndLink(e){let a=e.trim(),n=a.slice(0,-1),u="arrow_open";switch(a.slice(-1)){case"x":if(u="arrow_cross",a.startsWith("x"))u="double_"+u,n=n.slice(1);break;case">":if(u="arrow_point",a.startsWith("<"))u="double_"+u,n=n.slice(1);break;case"o":if(u="arrow_circle",a.startsWith("o"))u="double_"+u,n=n.slice(1);break}let l="normal",k=n.length-1;if(n.startsWith("="))l="thick";if(n.startsWith("~"))l="invisible";let h=this.countChar(".",n);if(h)l="dotted",k=h;return{type:u,stroke:l,length:k}}destructLink(e,a){let n=this.destructEndLink(e),u;if(a){if(u=this.destructStartLink(a),u.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(u.type==="arrow_open")u.type=n.type;else{if(u.type!==n.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}if(u.type==="double_arrow")u.type="double_arrow_point";return u.length=n.length,u}return n}exists(e,a){for(let n of e)if(n.nodes.includes(a))return!0;return!1}makeUniq(e,a){let n=[];return e.nodes.forEach((u,l)=>{if(!this.exists(a,u))n.push(e.nodes[l])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon){if(e.form==="circle")return"iconCircle";if(e.form==="square")return"iconSquare";if(e.form==="rounded")return"iconRounded";return"icon"}switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,a){return e.find((n)=>n.id===a)}destructEdgeType(e){let a="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=e.replace("double_",""),n=a;break}return{arrowTypeStart:a,arrowTypeEnd:n}}addNodeFromVertex(e,a,n,u,l,k){let h=n.get(e.id),m=u.get(e.id)??!1,p=this.findNode(a,e.id);if(p)p.cssStyles=e.styles,p.cssCompiledStyles=this.getCompiledStyles(e.classes),p.cssClasses=e.classes.join(" ");else{let G={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:h,padding:l.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:k,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};if(m)a.push({...G,isGroup:!0,shape:"rect"});else a.push({...G,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:l.flowchart?.minNodeWidth})}}getCompiledStyles(e){let a=[];for(let n of e){let u=this.classes.get(n);if(u?.styles)a=[...a,...u.styles??[]].map((l)=>l.trim());if(u?.textStyles)a=[...a,...u.textStyles??[]].map((l)=>l.trim())}return a}getData(){let e=d(),a=[],n=[],u=this.getSubGraphs(),l=new Map,k=new Map,h=new Map;for(let c of u)for(let b of c.nodes)if(this.subGraphLookup.has(b))h.set(b,c.id);let m=new Map,p=new Map;for(let c of u){let b=h.get(c.id);if(b!==void 0)p.set(b,[...p.get(b)??[],c.id])}let G=0,y=t((c)=>{m.set(c,G++);for(let b of p.get(c)??[])y(b)},"walk");for(let c of u)if(!h.has(c.id))y(c.id);let U=t((c)=>this.subGraphLookup.get(c)?.metadata?.view==="collapsed","isCollapsed"),T=t((c)=>{let b,ne=new Set,oe=c;while(oe!==void 0&&!ne.has(oe)){if(ne.add(oe),U(oe))b=oe;oe=h.get(oe)}return b},"outermostCollapsed"),S=new Set,v=new Map;for(let c of u){let b=T(c.id);if(b===void 0)continue;if(c.id!==b)S.add(c.id),v.set(c.id,b);for(let ne of c.nodes){if(ne===b)continue;S.add(ne),v.set(ne,b)}}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.nodes.length>0)k.set(b.id,!0);for(let ne of b.nodes)l.set(ne,b.id)}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.metadata?.view==="collapsed")a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,colorIndex:m.get(b.id)});else a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"rect",dir:b.dir,isGroup:!0,look:e.look,colorIndex:m.get(b.id),metadata:b.metadata})}this.getVertices().forEach((c)=>{if(S.has(c.id))return;this.addNodeFromVertex(c,a,l,k,e,e.look||"classic")});let Fe=this.getEdges();return Fe.forEach((c,b)=>{let{arrowTypeStart:ne,arrowTypeEnd:oe}=this.destructEdgeType(c.type),j=[...Fe.defaultStyle??[]],K=v.get(c.start)??c.start,Y=v.get(c.end)??c.end;if(K===Y&&(v.has(c.start)||v.has(c.end)))return;if(c.style)j.push(...c.style);let q={id:St(K,Y,{counter:b,prefix:"L"},c.id),isUserDefinedId:c.isUserDefinedId,start:K,end:Y,type:c.type??"normal",label:c.text,labelType:c.labelType,labelpos:"c",thickness:c.stroke,minlen:c.length,classes:c?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":ne,arrowTypeEnd:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":oe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(c.classes),labelStyle:j,style:j,pattern:c.stroke,look:e.look,animate:c.animate,animation:c.animation,curve:c.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(q)}),{nodes:a,edges:n,other:{},config:e}}defaultConfig(){return jr.flowchart}},A1=t(function(e,a){return a.db.getClasses()},"getClasses"),m1=t(async function(e,a,n,u){i.info("REF0:"),i.info("Drawing state diagram (v2)",a);let{securityLevel:l,flowchart:k,layout:h}=d();u.db.setDiagramId(a),i.debug("Before getData: ");let m=u.db.getData();i.debug("Data: ",m);let p=ze(a,l),G=u.db.getDirection();m.type=u.type,m.layoutAlgorithm=Ue(h),m.direction=G,m.nodeSpacing=k?.nodeSpacing||50,m.rankSpacing=k?.rankSpacing||50,m.markers=["point","circle","cross"],m.diagramId=a,i.debug("REF1:",m),await He(m,p);let y=m.config.flowchart?.diagramPadding??8;H.insertTitle(p,"flowchartTitleText",k?.titleTopMargin||0,u.db.getDiagramTitle()),Pe(p,y,"flowchart",k?.useMaxWidth||!1)},"draw"),C1={getClasses:A1,draw:m1},Et=function(){var e=t(function(ve,f,A,E){for(A=A||{},E=ve.length;E--;A[ve[E]]=f);return A},"o"),a=[1,4],n=[1,3],u=[1,5],l=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],k=[2,2],h=[1,13],m=[1,14],p=[1,15],G=[1,16],y=[1,23],U=[1,25],T=[1,26],S=[1,27],v=[1,50],z=[1,49],Fe=[1,29],c=[1,30],b=[1,31],ne=[1,32],oe=[1,33],j=[1,45],K=[1,47],Y=[1,43],q=[1,48],Q=[1,44],J=[1,51],Z=[1,46],ee=[1,52],te=[1,53],rt=[1,34],at=[1,35],nt=[1,36],ut=[1,37],ot=[1,38],_e=[1,58],L=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],fe=[1,62],be=[1,61],ke=[1,63],Ge=[8,9,11,75,77,78],yt=[1,79],Oe=[1,92],We=[1,97],je=[1,96],Ke=[1,93],Ye=[1,89],qe=[1,95],Xe=[1,91],Qe=[1,98],Je=[1,94],Ze=[1,99],$e=[1,90],Le=[8,9,10,11,40,75,77,78],ie=[8,9,10,11,40,46,75,77,78],le=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xt=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],et=[44,60,89,102,105,106,109,111,114,115,116],Ft=[1,122],_t=[1,123],lt=[1,125],ht=[1,124],Bt=[44,60,62,74,89,102,105,106,109,111,114,115,116],vt=[1,134],Lt=[1,148],Vt=[1,149],wt=[1,150],It=[1,151],Rt=[1,136],Nt=[1,138],Gt=[1,142],Pt=[1,143],Mt=[1,144],Ut=[1,145],Wt=[1,146],zt=[1,147],jt=[1,152],Yt=[1,153],Ht=[1,132],qt=[1,133],Qt=[1,140],Jt=[1,135],Zt=[1,139],$t=[1,137],bt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,155],t1=[1,157],W=[8,9,11],ce=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],x=[1,177],re=[1,173],ae=[1,174],F=[1,178],_=[1,175],B=[1,176],tt=[77,116,119],V=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],s1=[10,106],Be=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ge=[1,248],Ae=[1,246],me=[1,250],Ce=[1,244],Te=[1,245],Ee=[1,247],Se=[1,249],ye=[1,251],st=[1,269],i1=[8,9,11,106],pe=[8,9,10,11,60,84,105,106,109,110,111,112],kt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(function(f,A,E,o,w,s,Ve){var r=s.length-1;switch(w){case 2:this.$=[];break;case 3:if(!Array.isArray(s[r])||s[r].length>0)s[r-1].push(s[r]);this.$=s[r-1];break;case 4:case 183:this.$=s[r];break;case 11:o.setDirection("TB"),this.$="TB";break;case 12:o.setDirection(s[r-1]),this.$=s[r-1];break;case 27:this.$=s[r-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=o.addSubGraph(s[r-6],s[r-1],s[r-4]);break;case 34:this.$=o.addSubGraph(s[r-3],s[r-1],s[r-3]);break;case 35:this.$=o.addSubGraph(void 0,s[r-1],void 0);break;case 37:this.$=s[r].trim(),o.setAccTitle(this.$);break;case 38:case 39:this.$=s[r].trim(),o.setAccDescription(this.$);break;case 43:this.$=s[r-1]+s[r];break;case 44:this.$=s[r];break;case 45:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 46:o.addLink(s[r-2].stmt,s[r],s[r-1]),this.$={stmt:s[r],nodes:s[r].concat(s[r-2].nodes)};break;case 47:o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 48:this.$={stmt:s[r-1],nodes:s[r-1]};break;case 49:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),this.$={stmt:s[r-1],nodes:s[r-1],shapeData:s[r]};break;case 50:this.$={stmt:s[r],nodes:s[r]};break;case 51:this.$=[s[r]];break;case 52:o.addVertex(s[r-5][s[r-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r-4]),this.$=s[r-5].concat(s[r]);break;case 53:this.$=s[r-4].concat(s[r]);break;case 54:this.$=s[r];break;case 55:this.$=s[r-2],o.setClass(s[r-2],s[r]);break;case 56:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"square");break;case 57:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"doublecircle");break;case 58:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"circle");break;case 59:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"ellipse");break;case 60:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"stadium");break;case 61:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"subroutine");break;case 62:this.$=s[r-7],o.addVertex(s[r-7],s[r-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[r-5],s[r-3]]]));break;case 63:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"cylinder");break;case 64:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"round");break;case 65:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"diamond");break;case 66:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"hexagon");break;case 67:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"odd");break;case 68:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"trapezoid");break;case 69:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"inv_trapezoid");break;case 70:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_right");break;case 71:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_left");break;case 72:this.$=s[r],o.addVertex(s[r]);break;case 73:s[r-1].text=s[r],this.$=s[r-1];break;case 74:case 75:s[r-2].text=s[r-1],this.$=s[r-2];break;case 76:this.$=s[r];break;case 77:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1]};break;case 78:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1],id:s[r-3]};break;case 79:this.$={text:s[r],type:"text"};break;case 80:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 81:this.$={text:s[r],type:"string"};break;case 82:this.$={text:s[r],type:"markdown"};break;case 83:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length};break;case 84:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length,id:s[r-1]};break;case 85:this.$=s[r-1];break;case 86:this.$={text:s[r],type:"text"};break;case 87:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 88:this.$={text:s[r],type:"string"};break;case 89:case 104:this.$={text:s[r],type:"markdown"};break;case 101:this.$={text:s[r],type:"text"};break;case 102:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 103:this.$={text:s[r],type:"text"};break;case 105:this.$=s[r-4],o.addClass(s[r-2],s[r]);break;case 106:this.$=s[r-4],o.setClass(s[r-2],s[r]);break;case 107:case 115:this.$=s[r-1],o.setClickEvent(s[r-1],s[r]);break;case 108:case 116:this.$=s[r-3],o.setClickEvent(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 109:this.$=s[r-2],o.setClickEvent(s[r-2],s[r-1],s[r]);break;case 110:this.$=s[r-4],o.setClickEvent(s[r-4],s[r-3],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 111:this.$=s[r-2],o.setLink(s[r-2],s[r]);break;case 112:this.$=s[r-4],o.setLink(s[r-4],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 113:this.$=s[r-4],o.setLink(s[r-4],s[r-2],s[r]);break;case 114:this.$=s[r-6],o.setLink(s[r-6],s[r-4],s[r]),o.setTooltip(s[r-6],s[r-2]);break;case 117:this.$=s[r-1],o.setLink(s[r-1],s[r]);break;case 118:this.$=s[r-3],o.setLink(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 119:this.$=s[r-3],o.setLink(s[r-3],s[r-2],s[r]);break;case 120:this.$=s[r-5],o.setLink(s[r-5],s[r-4],s[r]),o.setTooltip(s[r-5],s[r-2]);break;case 121:this.$=s[r-4],o.addVertex(s[r-2],void 0,void 0,s[r]);break;case 122:this.$=s[r-4],o.updateLink([s[r-2]],s[r]);break;case 123:this.$=s[r-4],o.updateLink(s[r-2],s[r]);break;case 124:this.$=s[r-8],o.updateLinkInterpolate([s[r-6]],s[r-2]),o.updateLink([s[r-6]],s[r]);break;case 125:this.$=s[r-8],o.updateLinkInterpolate(s[r-6],s[r-2]),o.updateLink(s[r-6],s[r]);break;case 126:this.$=s[r-6],o.updateLinkInterpolate([s[r-4]],s[r]);break;case 127:this.$=s[r-6],o.updateLinkInterpolate(s[r-4],s[r]);break;case 128:case 130:this.$=[s[r]];break;case 129:case 131:s[r-2].push(s[r]),this.$=s[r-2];break;case 133:this.$=s[r-1]+s[r];break;case 181:this.$=s[r];break;case 182:this.$=s[r-1]+""+s[r];break;case 184:this.$=s[r-1]+""+s[r];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:a,10:n,12:u},{1:[3]},e(l,k,{5:6}),{4:7,9:a,10:n,12:u},{4:8,9:a,10:n,12:u},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(l,[2,9]),e(l,[2,10]),e(l,[2,11]),{8:[1,55],9:[1,56],10:_e,15:54,18:57},e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),e(L,[2,6]),e(L,[2,7]),e(L,[2,8]),{8:fe,9:be,11:ke,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:fe,9:be,11:ke,21:68},{8:fe,9:be,11:ke,21:69},{8:fe,9:be,11:ke,21:70},{8:fe,9:be,11:ke,21:71},{8:fe,9:be,11:ke,21:72},{8:fe,9:be,10:[1,73],11:ke,21:74},e(L,[2,36]),{35:[1,75]},{37:[1,76]},e(L,[2,39]),e(Ge,[2,50],{18:77,39:78,10:_e,40:yt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Oe,44:We,60:je,80:[1,87],89:Ke,95:[1,84],97:[1,85],101:86,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},e(L,[2,185]),e(L,[2,186]),e(L,[2,187]),e(L,[2,188]),e(L,[2,189]),e(Le,[2,51]),e(Le,[2,54],{46:[1,100]}),e(ie,[2,72],{113:113,29:[1,101],44:v,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:z,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(le,[2,181]),e(le,[2,142]),e(le,[2,143]),e(le,[2,144]),e(le,[2,145]),e(le,[2,146]),e(le,[2,147]),e(le,[2,148]),e(le,[2,149]),e(le,[2,150]),e(le,[2,151]),e(le,[2,152]),e(l,[2,12]),e(l,[2,18]),e(l,[2,19]),{9:[1,114]},e(xt,[2,26],{18:115,10:_e}),e(L,[2,27]),{42:116,43:39,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(et,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ft,81:_t,116:lt,119:ht},{75:[1,126],77:[1,127]},e(Bt,[2,83]),e(L,[2,28]),e(L,[2,29]),e(L,[2,30]),e(L,[2,31]),e(L,[2,32]),{10:vt,12:Lt,14:Vt,27:wt,28:128,32:It,44:Rt,60:Nt,75:Gt,80:[1,130],81:[1,131],83:141,84:Pt,85:Mt,86:Ut,87:Wt,88:zt,89:jt,90:Yt,91:129,105:Ht,109:qt,111:Qt,114:Jt,115:Zt,116:$t},e(bt,k,{5:154}),e(L,[2,37]),e(L,[2,38]),e(Ge,[2,48],{44:e1}),e(Ge,[2,49],{18:156,10:_e,40:t1}),e(Le,[2,44]),{44:v,47:158,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{102:[1,159],103:160,105:[1,161]},{44:v,47:162,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{44:v,47:163,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(W,[2,115],{120:168,10:[1,167],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,117],{10:[1,169]}),e(ce,[2,183]),e(ce,[2,170]),e(ce,[2,171]),e(ce,[2,172]),e(ce,[2,173]),e(ce,[2,174]),e(ce,[2,175]),e(ce,[2,176]),e(ce,[2,177]),e(ce,[2,178]),e(ce,[2,179]),e(ce,[2,180]),{44:v,47:170,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{30:171,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:179,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:181,50:[1,180],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:182,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:183,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:184,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{109:[1,185]},{30:186,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:187,65:[1,188],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:189,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:190,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:191,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(le,[2,182]),e(l,[2,20]),e(xt,[2,25]),e(Ge,[2,46],{39:192,18:193,10:_e,40:yt}),e(et,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{77:[1,197],79:198,116:lt,119:ht},e(tt,[2,79]),e(tt,[2,81]),e(tt,[2,82]),e(tt,[2,168]),e(tt,[2,169]),{76:199,79:121,80:Ft,81:_t,116:lt,119:ht},e(Bt,[2,84]),{8:fe,9:be,10:vt,11:ke,12:Lt,14:Vt,21:201,27:wt,29:[1,200],32:It,44:Rt,60:Nt,75:Gt,83:141,84:Pt,85:Mt,86:Ut,87:Wt,88:zt,89:jt,90:Yt,91:202,105:Ht,109:qt,111:Qt,114:Jt,115:Zt,116:$t},e(V,[2,101]),e(V,[2,103]),e(V,[2,104]),e(V,[2,157]),e(V,[2,158]),e(V,[2,159]),e(V,[2,160]),e(V,[2,161]),e(V,[2,162]),e(V,[2,163]),e(V,[2,164]),e(V,[2,165]),e(V,[2,166]),e(V,[2,167]),e(V,[2,90]),e(V,[2,91]),e(V,[2,92]),e(V,[2,93]),e(V,[2,94]),e(V,[2,95]),e(V,[2,96]),e(V,[2,97]),e(V,[2,98]),e(V,[2,99]),e(V,[2,100]),{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,203],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:_e,18:204},{44:[1,205]},e(Le,[2,43]),{10:[1,206],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,207]},{10:[1,208],106:[1,209]},e(s1,[2,128]),{10:[1,210],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,211],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{80:[1,212]},e(W,[2,109],{10:[1,213]}),e(W,[2,111],{10:[1,214]}),{80:[1,215]},e(ce,[2,184]),{80:[1,216],98:[1,217]},e(Le,[2,55],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),{31:[1,218],67:x,82:219,116:F,117:_,118:B},e(Be,[2,86]),e(Be,[2,88]),e(Be,[2,89]),e(Be,[2,153]),e(Be,[2,154]),e(Be,[2,155]),e(Be,[2,156]),{49:[1,220],67:x,82:219,116:F,117:_,118:B},{30:221,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{51:[1,222],67:x,82:219,116:F,117:_,118:B},{53:[1,223],67:x,82:219,116:F,117:_,118:B},{55:[1,224],67:x,82:219,116:F,117:_,118:B},{57:[1,225],67:x,82:219,116:F,117:_,118:B},{60:[1,226]},{64:[1,227],67:x,82:219,116:F,117:_,118:B},{66:[1,228],67:x,82:219,116:F,117:_,118:B},{30:229,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{31:[1,230],67:x,82:219,116:F,117:_,118:B},{67:x,69:[1,231],71:[1,232],82:219,116:F,117:_,118:B},{67:x,69:[1,234],71:[1,233],82:219,116:F,117:_,118:B},e(Ge,[2,45],{18:156,10:_e,40:t1}),e(Ge,[2,47],{44:e1}),e(et,[2,75]),e(et,[2,74]),{62:[1,235],67:x,82:219,116:F,117:_,118:B},e(et,[2,77]),e(tt,[2,80]),{77:[1,236],79:198,116:lt,119:ht},{30:237,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(bt,k,{5:238}),e(V,[2,102]),e(L,[2,35]),{43:239,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{10:_e,18:240},{10:ge,60:Ae,84:me,92:241,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:252,104:[1,253],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:254,104:[1,255],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{105:[1,256]},{10:ge,60:Ae,84:me,92:257,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{44:v,47:258,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(W,[2,116]),e(W,[2,118],{10:[1,262]}),e(W,[2,119]),e(ie,[2,56]),e(Be,[2,87]),e(ie,[2,57]),{51:[1,263],67:x,82:219,116:F,117:_,118:B},e(ie,[2,64]),e(ie,[2,59]),e(ie,[2,60]),e(ie,[2,61]),{109:[1,264]},e(ie,[2,63]),e(ie,[2,65]),{66:[1,265],67:x,82:219,116:F,117:_,118:B},e(ie,[2,67]),e(ie,[2,68]),e(ie,[2,70]),e(ie,[2,69]),e(ie,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(et,[2,78]),{31:[1,266],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,267],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(Le,[2,53]),{43:268,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,121],{106:st}),e(i1,[2,130],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(pe,[2,132]),e(pe,[2,134]),e(pe,[2,135]),e(pe,[2,136]),e(pe,[2,137]),e(pe,[2,138]),e(pe,[2,139]),e(pe,[2,140]),e(pe,[2,141]),e(W,[2,122],{106:st}),{10:[1,271]},e(W,[2,123],{106:st}),{10:[1,272]},e(s1,[2,129]),e(W,[2,105],{106:st}),e(W,[2,106],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(W,[2,110]),e(W,[2,112],{10:[1,273]}),e(W,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:fe,9:be,11:ke,21:278},e(L,[2,34]),e(Le,[2,52]),{10:ge,60:Ae,84:me,105:Ce,107:279,108:243,109:Te,110:Ee,111:Se,112:ye},e(pe,[2,133]),{14:Oe,44:We,60:je,89:Ke,101:280,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{14:Oe,44:We,60:je,89:Ke,101:281,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{98:[1,282]},e(W,[2,120]),e(ie,[2,58]),{30:283,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(ie,[2,66]),e(bt,k,{5:284}),e(i1,[2,131],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(W,[2,126],{120:168,10:[1,285],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,127],{120:168,10:[1,286],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,114]),{31:[1,287],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,288],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:ge,60:Ae,84:me,92:289,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:290,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},e(ie,[2,62]),e(L,[2,33]),e(W,[2,124],{106:st}),e(W,[2,125],{106:st})],defaultActions:{},parseError:t(function(f,A){if(A.recoverable)this.trace(f);else{var E=Error(f);throw E.hash=A,E}},"parseError"),parse:t(function(f){var A=this,E=[0],o=[],w=[null],s=[],Ve=this.table,r="",X=0,r1=0,a1=0,d1=2,n1=1,p1=s.slice.call(arguments,1),se=Object.create(this.lexer),we={yy:{}};for(var gt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,gt))we.yy[gt]=this.yy[gt];if(se.setInput(f,we.yy),we.yy.lexer=se,we.yy.parser=this,typeof se.yylloc>"u")se.yylloc={};var At=se.yylloc;s.push(At);var f1=se.options&&se.options.ranges;if(typeof we.yy.parseError==="function")this.parseError=we.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function b1(de){E.length=E.length-2*de,w.length=w.length-de,s.length=s.length-de}t(b1,"popStack");function u1(){var de=o.pop()||se.lex()||n1;if(typeof de!=="number"){if(de instanceof Array)o=de,de=o.pop();de=A.symbols_[de]||de}return de}t(u1,"lex");var ue,mt,Re,he,y1,Ct,it={},pt,xe,o1,ft;while(!0){if(Re=E[E.length-1],this.defaultActions[Re])he=this.defaultActions[Re];else{if(ue===null||typeof ue>"u")ue=u1();he=Ve[Re]&&Ve[Re][ue]}if(typeof he>"u"||!he.length||!he[0]){var Dt="";ft=[];for(pt in Ve[Re])if(this.terminals_[pt]&&pt>d1)ft.push("'"+this.terminals_[pt]+"'");if(se.showPosition)Dt="Parse error on line "+(X+1)+`:
|
|
9
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,a,n){let u=this.isLinkData(n)?n.id.replace("@",""):void 0;i.info("addLink",e,a,u);for(let l of e)for(let k of a){let h=l===e[e.length-1],m=k===a[0];if(h&&m)this.addSingleLink(l,k,n,u);else this.addSingleLink(l,k,n,void 0)}}updateLinkInterpolate(e,a){e.forEach((n)=>{if(n==="default")this.edges.defaultInterpolate=a;else this.edges[n].interpolate=a})}updateLink(e,a){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=a;else if(this.edges[n].style=a,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((u)=>u?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,a){let n=a.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((u)=>{let l=this.classes.get(u);if(l===void 0)l={id:u,styles:[],textStyles:[]},this.classes.set(u,l);if(n!==void 0&&n!==null)n.forEach((k)=>{if(/color/.exec(k)){let h=k.replace("fill","bgFill");l.textStyles.push(h)}l.styles.push(k)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,a){for(let n of e.split(",")){let u=this.vertices.get(n);if(u)u.classes.push(a);let l=this.edges.find((h)=>h.id===n);if(l)l.classes.push(a);let k=this.subGraphLookup.get(n);if(k)k.classes.push(a)}}setTooltip(e,a){if(a===void 0)return;a=this.sanitizeText(a);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,a)}setClickFun(e,a,n){if(d().securityLevel!=="loose")return;if(a===void 0)return;let u=[];if(typeof n==="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<u.length;k++){let h=u[k].trim();if(h.startsWith('"')&&h.endsWith('"'))h=h.substr(1,h.length-2);u[k]=h}}if(u.length===0)u.push(e);let l=this.vertices.get(e);if(l)l.haveCallback=!0,this.funs.push(()=>{let k=this.lookUpDomId(e),h=document.querySelector(`[id="${k}"]`);if(h!==null)h.addEventListener("click",()=>{H.runFunc(a,...u)},!1)})}setLink(e,a,n){e.split(",").forEach((u)=>{let l=this.vertices.get(u);if(l!==void 0)l.link=H.formatUrl(a,this.config),l.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,a,n){e.split(",").forEach((u)=>{this.setClickFun(u,a,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((a)=>{a(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let a=Bn();g(e).select("svg").selectAll("g.node").on("mouseover",(l)=>{let k=g(l.currentTarget),h=k.attr("title");if(h===null)return;let m=l.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(k.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(ct.sanitize(h)),k.classed("hover",!0)}).on("mouseout",(l)=>{a.transition().duration(500).style("opacity",0),g(l.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=d(),N()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,a,n){let u=e.text.trim(),l=n.text;if(e===n&&/\s/.exec(n.text))u=void 0;let h=t((T)=>{let S={boolean:{},number:{},string:{}},v=[],z;return{nodeList:T.filter(function(c){let b=typeof c;if(c.stmt&&c.stmt==="dir")return z=c.value,!1;if(c.trim()==="")return!1;if(b in S)return S[b].hasOwnProperty(c)?!1:S[b][c]=!0;else return v.includes(c)?!1:v.push(c)}),dir:z}},"uniq")(a.flat()),{nodeList:m,dir:p}=h,G=d().flowchart??{};if(p=p??(G.inheritDir?this.getDirection()??d().direction??void 0:void 0),this.version==="gen-1")for(let T=0;T<m.length;T++)m[T]=this.lookUpDomId(m[T]);u=u??"subGraph"+this.subCount,l=l||"",l=this.sanitizeText(l),this.subCount=this.subCount+1;let y={id:u,nodes:m,title:l.trim(),classes:[],dir:p,labelType:this.sanitizeNodeLabelType(n?.type)};i.info("Adding",y.id,y.nodes,y.dir),y.nodes=this.makeUniq(y,this.subGraphs).nodes.filter((T)=>T!==u);let U=this.subGraphs.find((T)=>T.id===u);if(U)U.nodes.push(...y.nodes);else this.subGraphs.push(y);return this.subGraphLookup.set(u,U??y),u}getPosForId(e){for(let[a,n]of this.subGraphs.entries())if(n.id===e)return a;return-1}indexNodes2(e,a){let n=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===e)return{result:!0,count:0};let u=0,l=1;while(u<n.length){let k=this.getPosForId(n[u]);if(k>=0){let h=this.indexNodes2(e,k);if(h.result)return{result:!0,count:l+h.count};else l=l+h.count}u=u+1}return{result:!1,count:l}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}destructStartLink(e){let a=e.trim(),n="arrow_open";switch(a[0]){case"<":n="arrow_point",a=a.slice(1);break;case"x":n="arrow_cross",a=a.slice(1);break;case"o":n="arrow_circle",a=a.slice(1);break}let u="normal";if(a.includes("="))u="thick";if(a.includes("."))u="dotted";return{type:n,stroke:u}}countChar(e,a){let n=a.length,u=0;for(let l=0;l<n;++l)if(a[l]===e)++u;return u}destructEndLink(e){let a=e.trim(),n=a.slice(0,-1),u="arrow_open";switch(a.slice(-1)){case"x":if(u="arrow_cross",a.startsWith("x"))u="double_"+u,n=n.slice(1);break;case">":if(u="arrow_point",a.startsWith("<"))u="double_"+u,n=n.slice(1);break;case"o":if(u="arrow_circle",a.startsWith("o"))u="double_"+u,n=n.slice(1);break}let l="normal",k=n.length-1;if(n.startsWith("="))l="thick";if(n.startsWith("~"))l="invisible";let h=this.countChar(".",n);if(h)l="dotted",k=h;return{type:u,stroke:l,length:k}}destructLink(e,a){let n=this.destructEndLink(e),u;if(a){if(u=this.destructStartLink(a),u.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(u.type==="arrow_open")u.type=n.type;else{if(u.type!==n.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}if(u.type==="double_arrow")u.type="double_arrow_point";return u.length=n.length,u}return n}exists(e,a){for(let n of e)if(n.nodes.includes(a))return!0;return!1}makeUniq(e,a){let n=[];return e.nodes.forEach((u,l)=>{if(!this.exists(a,u))n.push(e.nodes[l])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon){if(e.form==="circle")return"iconCircle";if(e.form==="square")return"iconSquare";if(e.form==="rounded")return"iconRounded";return"icon"}switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,a){return e.find((n)=>n.id===a)}destructEdgeType(e){let a="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=e.replace("double_",""),n=a;break}return{arrowTypeStart:a,arrowTypeEnd:n}}addNodeFromVertex(e,a,n,u,l,k){let h=n.get(e.id),m=u.get(e.id)??!1,p=this.findNode(a,e.id);if(p)p.cssStyles=e.styles,p.cssCompiledStyles=this.getCompiledStyles(e.classes),p.cssClasses=e.classes.join(" ");else{let G={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:h,padding:l.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:k,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};if(m)a.push({...G,isGroup:!0,shape:"rect"});else a.push({...G,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:l.flowchart?.minNodeWidth})}}getCompiledStyles(e){let a=[];for(let n of e){let u=this.classes.get(n);if(u?.styles)a=[...a,...u.styles??[]].map((l)=>l.trim());if(u?.textStyles)a=[...a,...u.textStyles??[]].map((l)=>l.trim())}return a}getData(){let e=d(),a=[],n=[],u=this.getSubGraphs(),l=new Map,k=new Map,h=new Map;for(let c of u)for(let b of c.nodes)if(this.subGraphLookup.has(b))h.set(b,c.id);let m=new Map,p=new Map;for(let c of u){let b=h.get(c.id);if(b!==void 0)p.set(b,[...p.get(b)??[],c.id])}let G=0,y=t((c)=>{m.set(c,G++);for(let b of p.get(c)??[])y(b)},"walk");for(let c of u)if(!h.has(c.id))y(c.id);let U=t((c)=>this.subGraphLookup.get(c)?.metadata?.view==="collapsed","isCollapsed"),T=t((c)=>{let b,ne=new Set,oe=c;while(oe!==void 0&&!ne.has(oe)){if(ne.add(oe),U(oe))b=oe;oe=h.get(oe)}return b},"outermostCollapsed"),S=new Set,v=new Map;for(let c of u){let b=T(c.id);if(b===void 0)continue;if(c.id!==b)S.add(c.id),v.set(c.id,b);for(let ne of c.nodes){if(ne===b)continue;S.add(ne),v.set(ne,b)}}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.nodes.length>0)k.set(b.id,!0);for(let ne of b.nodes)l.set(ne,b.id)}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.metadata?.view==="collapsed")a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,colorIndex:m.get(b.id)});else a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"rect",dir:b.dir,isGroup:!0,look:e.look,colorIndex:m.get(b.id),metadata:b.metadata})}this.getVertices().forEach((c)=>{if(S.has(c.id))return;this.addNodeFromVertex(c,a,l,k,e,e.look||"classic")});let Fe=this.getEdges();return Fe.forEach((c,b)=>{let{arrowTypeStart:ne,arrowTypeEnd:oe}=this.destructEdgeType(c.type),j=[...Fe.defaultStyle??[]],K=v.get(c.start)??c.start,Y=v.get(c.end)??c.end;if(K===Y&&(v.has(c.start)||v.has(c.end)))return;if(c.style)j.push(...c.style);let q={id:St(K,Y,{counter:b,prefix:"L"},c.id),isUserDefinedId:c.isUserDefinedId,start:K,end:Y,type:c.type??"normal",label:c.text,labelType:c.labelType,labelpos:"c",thickness:c.stroke,minlen:c.length,classes:c?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":ne,arrowTypeEnd:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":oe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(c.classes),labelStyle:j,style:j,pattern:c.stroke,look:e.look,animate:c.animate,animation:c.animation,curve:c.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(q)}),{nodes:a,edges:n,other:{},config:e}}defaultConfig(){return jr.flowchart}},A1=t(function(e,a){return a.db.getClasses()},"getClasses"),m1=t(async function(e,a,n,u){i.info("REF0:"),i.info("Drawing state diagram (v2)",a);let{securityLevel:l,flowchart:k,layout:h}=d();u.db.setDiagramId(a),i.debug("Before getData: ");let m=u.db.getData();i.debug("Data: ",m);let p=ze(a,l),G=u.db.getDirection();m.type=u.type,m.layoutAlgorithm=Ue(h),m.direction=G,m.nodeSpacing=k?.nodeSpacing||50,m.rankSpacing=k?.rankSpacing||50,m.markers=["point","circle","cross"],m.diagramId=a,i.debug("REF1:",m),await He(m,p);let y=m.config.flowchart?.diagramPadding??8;H.insertTitle(p,"flowchartTitleText",k?.titleTopMargin||0,u.db.getDiagramTitle()),Pe(p,y,"flowchart",k?.useMaxWidth||!1)},"draw"),C1={getClasses:A1,draw:m1},Et=function(){var e=t(function(ve,f,A,E){for(A=A||{},E=ve.length;E--;A[ve[E]]=f);return A},"o"),a=[1,4],n=[1,3],u=[1,5],l=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],k=[2,2],h=[1,13],m=[1,14],p=[1,15],G=[1,16],y=[1,23],U=[1,25],T=[1,26],S=[1,27],v=[1,50],z=[1,49],Fe=[1,29],c=[1,30],b=[1,31],ne=[1,32],oe=[1,33],j=[1,45],K=[1,47],Y=[1,43],q=[1,48],Q=[1,44],J=[1,51],Z=[1,46],ee=[1,52],te=[1,53],rt=[1,34],at=[1,35],nt=[1,36],ut=[1,37],ot=[1,38],_e=[1,58],L=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],fe=[1,62],be=[1,61],ke=[1,63],Ge=[8,9,11,75,77,78],yt=[1,79],Oe=[1,92],We=[1,97],je=[1,96],Ke=[1,93],Ye=[1,89],qe=[1,95],Xe=[1,91],Qe=[1,98],Je=[1,94],Ze=[1,99],$e=[1,90],Le=[8,9,10,11,40,75,77,78],ie=[8,9,10,11,40,46,75,77,78],le=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xt=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],et=[44,60,89,102,105,106,109,111,114,115,116],Ft=[1,122],_t=[1,123],lt=[1,125],ht=[1,124],Bt=[44,60,62,74,89,102,105,106,109,111,114,115,116],vt=[1,134],Lt=[1,148],Vt=[1,149],wt=[1,150],It=[1,151],Rt=[1,136],Nt=[1,138],Gt=[1,142],Pt=[1,143],Mt=[1,144],Ut=[1,145],Wt=[1,146],zt=[1,147],jt=[1,152],Yt=[1,153],Ht=[1,132],qt=[1,133],Qt=[1,140],Jt=[1,135],Zt=[1,139],$t=[1,137],bt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,155],t1=[1,157],W=[8,9,11],ce=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],x=[1,177],re=[1,173],ae=[1,174],F=[1,178],_=[1,175],B=[1,176],tt=[77,116,119],V=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],s1=[10,106],Be=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ge=[1,248],Ae=[1,246],me=[1,250],Ce=[1,244],Te=[1,245],Ee=[1,247],Se=[1,249],ye=[1,251],st=[1,269],i1=[8,9,11,106],pe=[8,9,10,11,60,84,105,106,109,110,111,112],kt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(function(f,A,E,o,w,s,Ve){var r=s.length-1;switch(w){case 2:this.$=[];break;case 3:if(!Array.isArray(s[r])||s[r].length>0)s[r-1].push(s[r]);this.$=s[r-1];break;case 4:case 183:this.$=s[r];break;case 11:o.setDirection("TB"),this.$="TB";break;case 12:o.setDirection(s[r-1]),this.$=s[r-1];break;case 27:this.$=s[r-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=o.addSubGraph(s[r-6],s[r-1],s[r-4]);break;case 34:this.$=o.addSubGraph(s[r-3],s[r-1],s[r-3]);break;case 35:this.$=o.addSubGraph(void 0,s[r-1],void 0);break;case 37:this.$=s[r].trim(),o.setAccTitle(this.$);break;case 38:case 39:this.$=s[r].trim(),o.setAccDescription(this.$);break;case 43:this.$=s[r-1]+s[r];break;case 44:this.$=s[r];break;case 45:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 46:o.addLink(s[r-2].stmt,s[r],s[r-1]),this.$={stmt:s[r],nodes:s[r].concat(s[r-2].nodes)};break;case 47:o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 48:this.$={stmt:s[r-1],nodes:s[r-1]};break;case 49:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),this.$={stmt:s[r-1],nodes:s[r-1],shapeData:s[r]};break;case 50:this.$={stmt:s[r],nodes:s[r]};break;case 51:this.$=[s[r]];break;case 52:o.addVertex(s[r-5][s[r-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r-4]),this.$=s[r-5].concat(s[r]);break;case 53:this.$=s[r-4].concat(s[r]);break;case 54:this.$=s[r];break;case 55:this.$=s[r-2],o.setClass(s[r-2],s[r]);break;case 56:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"square");break;case 57:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"doublecircle");break;case 58:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"circle");break;case 59:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"ellipse");break;case 60:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"stadium");break;case 61:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"subroutine");break;case 62:this.$=s[r-7],o.addVertex(s[r-7],s[r-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[r-5],s[r-3]]]));break;case 63:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"cylinder");break;case 64:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"round");break;case 65:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"diamond");break;case 66:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"hexagon");break;case 67:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"odd");break;case 68:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"trapezoid");break;case 69:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"inv_trapezoid");break;case 70:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_right");break;case 71:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_left");break;case 72:this.$=s[r],o.addVertex(s[r]);break;case 73:s[r-1].text=s[r],this.$=s[r-1];break;case 74:case 75:s[r-2].text=s[r-1],this.$=s[r-2];break;case 76:this.$=s[r];break;case 77:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1]};break;case 78:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1],id:s[r-3]};break;case 79:this.$={text:s[r],type:"text"};break;case 80:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 81:this.$={text:s[r],type:"string"};break;case 82:this.$={text:s[r],type:"markdown"};break;case 83:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length};break;case 84:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length,id:s[r-1]};break;case 85:this.$=s[r-1];break;case 86:this.$={text:s[r],type:"text"};break;case 87:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 88:this.$={text:s[r],type:"string"};break;case 89:case 104:this.$={text:s[r],type:"markdown"};break;case 101:this.$={text:s[r],type:"text"};break;case 102:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 103:this.$={text:s[r],type:"text"};break;case 105:this.$=s[r-4],o.addClass(s[r-2],s[r]);break;case 106:this.$=s[r-4],o.setClass(s[r-2],s[r]);break;case 107:case 115:this.$=s[r-1],o.setClickEvent(s[r-1],s[r]);break;case 108:case 116:this.$=s[r-3],o.setClickEvent(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 109:this.$=s[r-2],o.setClickEvent(s[r-2],s[r-1],s[r]);break;case 110:this.$=s[r-4],o.setClickEvent(s[r-4],s[r-3],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 111:this.$=s[r-2],o.setLink(s[r-2],s[r]);break;case 112:this.$=s[r-4],o.setLink(s[r-4],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 113:this.$=s[r-4],o.setLink(s[r-4],s[r-2],s[r]);break;case 114:this.$=s[r-6],o.setLink(s[r-6],s[r-4],s[r]),o.setTooltip(s[r-6],s[r-2]);break;case 117:this.$=s[r-1],o.setLink(s[r-1],s[r]);break;case 118:this.$=s[r-3],o.setLink(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 119:this.$=s[r-3],o.setLink(s[r-3],s[r-2],s[r]);break;case 120:this.$=s[r-5],o.setLink(s[r-5],s[r-4],s[r]),o.setTooltip(s[r-5],s[r-2]);break;case 121:this.$=s[r-4],o.addVertex(s[r-2],void 0,void 0,s[r]);break;case 122:this.$=s[r-4],o.updateLink([s[r-2]],s[r]);break;case 123:this.$=s[r-4],o.updateLink(s[r-2],s[r]);break;case 124:this.$=s[r-8],o.updateLinkInterpolate([s[r-6]],s[r-2]),o.updateLink([s[r-6]],s[r]);break;case 125:this.$=s[r-8],o.updateLinkInterpolate(s[r-6],s[r-2]),o.updateLink(s[r-6],s[r]);break;case 126:this.$=s[r-6],o.updateLinkInterpolate([s[r-4]],s[r]);break;case 127:this.$=s[r-6],o.updateLinkInterpolate(s[r-4],s[r]);break;case 128:case 130:this.$=[s[r]];break;case 129:case 131:s[r-2].push(s[r]),this.$=s[r-2];break;case 133:this.$=s[r-1]+s[r];break;case 181:this.$=s[r];break;case 182:this.$=s[r-1]+""+s[r];break;case 184:this.$=s[r-1]+""+s[r];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:a,10:n,12:u},{1:[3]},e(l,k,{5:6}),{4:7,9:a,10:n,12:u},{4:8,9:a,10:n,12:u},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(l,[2,9]),e(l,[2,10]),e(l,[2,11]),{8:[1,55],9:[1,56],10:_e,15:54,18:57},e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),e(L,[2,6]),e(L,[2,7]),e(L,[2,8]),{8:fe,9:be,11:ke,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:fe,9:be,11:ke,21:68},{8:fe,9:be,11:ke,21:69},{8:fe,9:be,11:ke,21:70},{8:fe,9:be,11:ke,21:71},{8:fe,9:be,11:ke,21:72},{8:fe,9:be,10:[1,73],11:ke,21:74},e(L,[2,36]),{35:[1,75]},{37:[1,76]},e(L,[2,39]),e(Ge,[2,50],{18:77,39:78,10:_e,40:yt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Oe,44:We,60:je,80:[1,87],89:Ke,95:[1,84],97:[1,85],101:86,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},e(L,[2,185]),e(L,[2,186]),e(L,[2,187]),e(L,[2,188]),e(L,[2,189]),e(Le,[2,51]),e(Le,[2,54],{46:[1,100]}),e(ie,[2,72],{113:113,29:[1,101],44:v,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:z,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(le,[2,181]),e(le,[2,142]),e(le,[2,143]),e(le,[2,144]),e(le,[2,145]),e(le,[2,146]),e(le,[2,147]),e(le,[2,148]),e(le,[2,149]),e(le,[2,150]),e(le,[2,151]),e(le,[2,152]),e(l,[2,12]),e(l,[2,18]),e(l,[2,19]),{9:[1,114]},e(xt,[2,26],{18:115,10:_e}),e(L,[2,27]),{42:116,43:39,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(et,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ft,81:_t,116:lt,119:ht},{75:[1,126],77:[1,127]},e(Bt,[2,83]),e(L,[2,28]),e(L,[2,29]),e(L,[2,30]),e(L,[2,31]),e(L,[2,32]),{10:vt,12:Lt,14:Vt,27:wt,28:128,32:It,44:Rt,60:Nt,75:Gt,80:[1,130],81:[1,131],83:141,84:Pt,85:Mt,86:Ut,87:Wt,88:zt,89:jt,90:Yt,91:129,105:Ht,109:qt,111:Qt,114:Jt,115:Zt,116:$t},e(bt,k,{5:154}),e(L,[2,37]),e(L,[2,38]),e(Ge,[2,48],{44:e1}),e(Ge,[2,49],{18:156,10:_e,40:t1}),e(Le,[2,44]),{44:v,47:158,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{102:[1,159],103:160,105:[1,161]},{44:v,47:162,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{44:v,47:163,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(W,[2,115],{120:168,10:[1,167],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,117],{10:[1,169]}),e(ce,[2,183]),e(ce,[2,170]),e(ce,[2,171]),e(ce,[2,172]),e(ce,[2,173]),e(ce,[2,174]),e(ce,[2,175]),e(ce,[2,176]),e(ce,[2,177]),e(ce,[2,178]),e(ce,[2,179]),e(ce,[2,180]),{44:v,47:170,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{30:171,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:179,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:181,50:[1,180],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:182,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:183,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:184,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{109:[1,185]},{30:186,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:187,65:[1,188],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:189,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:190,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:191,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(le,[2,182]),e(l,[2,20]),e(xt,[2,25]),e(Ge,[2,46],{39:192,18:193,10:_e,40:yt}),e(et,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{77:[1,197],79:198,116:lt,119:ht},e(tt,[2,79]),e(tt,[2,81]),e(tt,[2,82]),e(tt,[2,168]),e(tt,[2,169]),{76:199,79:121,80:Ft,81:_t,116:lt,119:ht},e(Bt,[2,84]),{8:fe,9:be,10:vt,11:ke,12:Lt,14:Vt,21:201,27:wt,29:[1,200],32:It,44:Rt,60:Nt,75:Gt,83:141,84:Pt,85:Mt,86:Ut,87:Wt,88:zt,89:jt,90:Yt,91:202,105:Ht,109:qt,111:Qt,114:Jt,115:Zt,116:$t},e(V,[2,101]),e(V,[2,103]),e(V,[2,104]),e(V,[2,157]),e(V,[2,158]),e(V,[2,159]),e(V,[2,160]),e(V,[2,161]),e(V,[2,162]),e(V,[2,163]),e(V,[2,164]),e(V,[2,165]),e(V,[2,166]),e(V,[2,167]),e(V,[2,90]),e(V,[2,91]),e(V,[2,92]),e(V,[2,93]),e(V,[2,94]),e(V,[2,95]),e(V,[2,96]),e(V,[2,97]),e(V,[2,98]),e(V,[2,99]),e(V,[2,100]),{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,203],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:_e,18:204},{44:[1,205]},e(Le,[2,43]),{10:[1,206],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,207]},{10:[1,208],106:[1,209]},e(s1,[2,128]),{10:[1,210],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,211],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{80:[1,212]},e(W,[2,109],{10:[1,213]}),e(W,[2,111],{10:[1,214]}),{80:[1,215]},e(ce,[2,184]),{80:[1,216],98:[1,217]},e(Le,[2,55],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),{31:[1,218],67:x,82:219,116:F,117:_,118:B},e(Be,[2,86]),e(Be,[2,88]),e(Be,[2,89]),e(Be,[2,153]),e(Be,[2,154]),e(Be,[2,155]),e(Be,[2,156]),{49:[1,220],67:x,82:219,116:F,117:_,118:B},{30:221,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{51:[1,222],67:x,82:219,116:F,117:_,118:B},{53:[1,223],67:x,82:219,116:F,117:_,118:B},{55:[1,224],67:x,82:219,116:F,117:_,118:B},{57:[1,225],67:x,82:219,116:F,117:_,118:B},{60:[1,226]},{64:[1,227],67:x,82:219,116:F,117:_,118:B},{66:[1,228],67:x,82:219,116:F,117:_,118:B},{30:229,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{31:[1,230],67:x,82:219,116:F,117:_,118:B},{67:x,69:[1,231],71:[1,232],82:219,116:F,117:_,118:B},{67:x,69:[1,234],71:[1,233],82:219,116:F,117:_,118:B},e(Ge,[2,45],{18:156,10:_e,40:t1}),e(Ge,[2,47],{44:e1}),e(et,[2,75]),e(et,[2,74]),{62:[1,235],67:x,82:219,116:F,117:_,118:B},e(et,[2,77]),e(tt,[2,80]),{77:[1,236],79:198,116:lt,119:ht},{30:237,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(bt,k,{5:238}),e(V,[2,102]),e(L,[2,35]),{43:239,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{10:_e,18:240},{10:ge,60:Ae,84:me,92:241,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:252,104:[1,253],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:254,104:[1,255],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{105:[1,256]},{10:ge,60:Ae,84:me,92:257,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{44:v,47:258,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(W,[2,116]),e(W,[2,118],{10:[1,262]}),e(W,[2,119]),e(ie,[2,56]),e(Be,[2,87]),e(ie,[2,57]),{51:[1,263],67:x,82:219,116:F,117:_,118:B},e(ie,[2,64]),e(ie,[2,59]),e(ie,[2,60]),e(ie,[2,61]),{109:[1,264]},e(ie,[2,63]),e(ie,[2,65]),{66:[1,265],67:x,82:219,116:F,117:_,118:B},e(ie,[2,67]),e(ie,[2,68]),e(ie,[2,70]),e(ie,[2,69]),e(ie,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(et,[2,78]),{31:[1,266],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,267],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(Le,[2,53]),{43:268,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,121],{106:st}),e(i1,[2,130],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(pe,[2,132]),e(pe,[2,134]),e(pe,[2,135]),e(pe,[2,136]),e(pe,[2,137]),e(pe,[2,138]),e(pe,[2,139]),e(pe,[2,140]),e(pe,[2,141]),e(W,[2,122],{106:st}),{10:[1,271]},e(W,[2,123],{106:st}),{10:[1,272]},e(s1,[2,129]),e(W,[2,105],{106:st}),e(W,[2,106],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(W,[2,110]),e(W,[2,112],{10:[1,273]}),e(W,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:fe,9:be,11:ke,21:278},e(L,[2,34]),e(Le,[2,52]),{10:ge,60:Ae,84:me,105:Ce,107:279,108:243,109:Te,110:Ee,111:Se,112:ye},e(pe,[2,133]),{14:Oe,44:We,60:je,89:Ke,101:280,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{14:Oe,44:We,60:je,89:Ke,101:281,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{98:[1,282]},e(W,[2,120]),e(ie,[2,58]),{30:283,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(ie,[2,66]),e(bt,k,{5:284}),e(i1,[2,131],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(W,[2,126],{120:168,10:[1,285],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,127],{120:168,10:[1,286],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,114]),{31:[1,287],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,288],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:ge,60:Ae,84:me,92:289,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:290,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},e(ie,[2,62]),e(L,[2,33]),e(W,[2,124],{106:st}),e(W,[2,125],{106:st})],defaultActions:{},parseError:t(function(f,A){if(A.recoverable)this.trace(f);else{var E=Error(f);throw E.hash=A,E}},"parseError"),parse:t(function(f){var A=this,E=[0],o=[],w=[null],s=[],Ve=this.table,r="",X=0,r1=0,a1=0,d1=2,n1=1,p1=s.slice.call(arguments,1),se=Object.create(this.lexer),we={yy:{}};for(var gt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,gt))we.yy[gt]=this.yy[gt];if(se.setInput(f,we.yy),we.yy.lexer=se,we.yy.parser=this,typeof se.yylloc>"u")se.yylloc={};var At=se.yylloc;s.push(At);var f1=se.options&&se.options.ranges;if(typeof we.yy.parseError==="function")this.parseError=we.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function b1(de){E.length=E.length-2*de,w.length=w.length-de,s.length=s.length-de}t(b1,"popStack");function u1(){var de=o.pop()||se.lex()||n1;if(typeof de!=="number"){if(de instanceof Array)o=de,de=o.pop();de=A.symbols_[de]||de}return de}t(u1,"lex");var ue,mt,Re,he,y1,Ct,it={},pt,xe,o1,ft;while(!0){if(Re=E[E.length-1],this.defaultActions[Re])he=this.defaultActions[Re];else{if(ue===null||typeof ue>"u")ue=u1();he=Ve[Re]&&Ve[Re][ue]}if(typeof he>"u"||!he.length||!he[0]){var Dt="";ft=[];for(pt in Ve[Re])if(this.terminals_[pt]&&pt>d1)ft.push("'"+this.terminals_[pt]+"'");if(se.showPosition)Dt="Parse error on line "+(X+1)+`:
|
|
10
10
|
`+se.showPosition()+`
|
|
11
11
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[ue]||ue)+"'";else Dt="Parse error on line "+(X+1)+": Unexpected "+(ue==n1?"end of input":"'"+(this.terminals_[ue]||ue)+"'");this.parseError(Dt,{text:se.match,token:this.terminals_[ue]||ue,line:se.yylineno,loc:At,expected:ft})}if(he[0]instanceof Array&&he.length>1)throw Error("Parse Error: multiple actions possible at state: "+Re+", token: "+ue);switch(he[0]){case 1:if(E.push(ue),w.push(se.yytext),s.push(se.yylloc),E.push(he[1]),ue=null,!mt){if(r1=se.yyleng,r=se.yytext,X=se.yylineno,At=se.yylloc,a1>0)a1--}else ue=mt,mt=null;break;case 2:if(xe=this.productions_[he[1]][1],it.$=w[w.length-xe],it._$={first_line:s[s.length-(xe||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(xe||1)].first_column,last_column:s[s.length-1].last_column},f1)it._$.range=[s[s.length-(xe||1)].range[0],s[s.length-1].range[1]];if(Ct=this.performAction.apply(it,[r,r1,X,we.yy,he[1],w,s].concat(p1)),typeof Ct<"u")return Ct;if(xe)E=E.slice(0,-1*xe*2),w=w.slice(0,-1*xe),s=s.slice(0,-1*xe);E.push(this.productions_[he[1]][0]),w.push(it.$),s.push(it._$),o1=Ve[E[E.length-2]][E[E.length-1]],E.push(o1);break;case 3:return!0}}return!0},"parse")},h1=function(){var ve={EOF:1,parseError:t(function(A,E){if(this.yy.parser)this.yy.parser.parseError(A,E);else throw Error(A)},"parseError"),setInput:t(function(f,A){if(this.yy=A||this.yy||{},this._input=f,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 f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var A=f.match(/(?:\r\n?|\n).*/g);if(A)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),f},"input"),unput:t(function(f){var A=f.length,E=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var o=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1)this.yylineno-=E.length-1;var w=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===o.length?this.yylloc.first_column:0)+o[o.length-E.length].length-E[0].length:this.yylloc.first_column-A},this.options.ranges)this.yylloc.range=[w[0],w[0]+this.yyleng-A];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
12
12
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(f){this.unput(this.match.slice(f))},"less"),pastInput:t(function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var f=this.match;if(f.length<20)f+=this._input.substr(0,20-f.length);return(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var f=this.pastInput(),A=Array(f.length+1).join("-");return f+this.upcomingInput()+`
|
|
@@ -56,7 +56,7 @@ ${k?`
|
|
|
56
56
|
${U(".collapsed-separator")} {
|
|
57
57
|
stroke: ${p};
|
|
58
58
|
}
|
|
59
|
-
`}return h},"genColor"),E1=t((e,a)=>{let n=
|
|
59
|
+
`}return h},"genColor"),E1=t((e,a)=>{let n=Fn,u=n(e,"r"),l=n(e,"g"),k=n(e,"b");return Ie(u,l,k,a)},"fade"),S1=t((e)=>`${T1(e)}
|
|
60
60
|
.label {
|
|
61
61
|
font-family: ${e.fontFamily};
|
|
62
62
|
color: ${e.nodeTextColor||e.textColor};
|
|
@@ -210,5 +210,5 @@ ${k?`
|
|
|
210
210
|
text-align: center;
|
|
211
211
|
}
|
|
212
212
|
${Tt()}
|
|
213
|
-
`,"getStyles"),
|
|
214
|
-
export{
|
|
213
|
+
`,"getStyles"),Us=S1,js=t(({styles:e=Us}={})=>({parser:D1,get db(){return new g1},renderer:C1,styles:e,init:t((a)=>{if(!a.flowchart)a.flowchart={};a.flowchart.arrowMarkerAbsolute=a.arrowMarkerAbsolute,xr({flowchart:{arrowMarkerAbsolute:a.arrowMarkerAbsolute}})},"init")}),"createFlowDiagram"),Zc=js();
|
|
214
|
+
export{Us,js,Zc};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Oa}from"./chunk-4ab1dv3g.js";export{Oa as createRailroadPegServices};
|
|
Binary file
|
|
Binary file
|