@bkm016/basalt 0.1.30 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/chunk-04326385.js +39 -0
- package/chunk-11zc1b2w.js +3 -0
- package/chunk-12203fgm.js +2 -0
- package/chunk-194d4z7x.js +7 -0
- package/chunk-1apm7p2e.js +2 -0
- package/chunk-2csz31nh.js +2 -0
- package/chunk-2rqpfv4h.js +3 -0
- package/chunk-39cfcar4.js +3 -0
- package/chunk-3dtgkgam.js +4064 -0
- package/chunk-4a5xttdp.js +3 -0
- package/chunk-4st5xeee.js +2 -0
- package/chunk-54qzhq9t.js +50 -0
- package/chunk-5h17n6g1.js +3 -0
- package/chunk-5rn18vrq.js +5 -0
- package/chunk-5tdnvdmz.js +2 -0
- package/chunk-6qavr39k.js +2 -0
- package/chunk-6xn0r0dd.js +3 -0
- package/chunk-7h76jrss.js +7 -0
- package/chunk-7hss4hs3.js +7 -0
- package/chunk-7vdq0wye.js +2 -0
- package/chunk-7w187ycz.js +10 -0
- package/chunk-81s7mvf2.js +16 -0
- package/chunk-8j8acxde.js +2 -0
- package/chunk-9nfz04yr.js +2 -0
- package/chunk-9nkb5q43.js +3 -0
- package/chunk-9vth0w8q.js +2 -0
- package/chunk-9zcfam20.js +2 -0
- package/chunk-a6zvmsbh.js +12 -0
- package/chunk-anr8aghq.js +59 -0
- package/chunk-av8zh9yp.js +2 -0
- package/chunk-bwv97dtf.js +2 -0
- package/chunk-cjy4rssa.js +10 -0
- package/chunk-dmdyqq1k.js +2 -0
- package/chunk-dzvq7vt6.js +2 -0
- package/chunk-ejrksf6g.js +3 -0
- package/chunk-erxka5vh.js +18 -0
- package/chunk-fc41dvhp.js +12 -0
- package/chunk-fsekbhqb.js +3 -0
- package/chunk-fwcqcecb.js +8 -0
- package/chunk-hhwnmhbb.js +2 -0
- package/chunk-jm2bn5mq.js +3 -0
- package/chunk-jm5j5jfy.js +3 -0
- package/chunk-jqtdf0ym.js +63 -0
- package/chunk-jsvr3s4q.js +5 -0
- package/chunk-jwk5a5tk.js +25 -0
- package/chunk-mwc59w50.js +31 -0
- package/chunk-mypbpphn.js +3 -0
- package/chunk-n3hfhbe4.js +498 -0
- package/chunk-ng5ncy65.js +2 -0
- package/chunk-nmvayfq3.js +3 -0
- package/chunk-nw4h0wm9.js +2 -0
- package/chunk-nzpzjbpp.js +51 -0
- package/chunk-p23eqet9.js +2 -0
- package/chunk-pxsgm6ff.js +2 -0
- package/chunk-qqs9fqsy.js +4 -0
- package/chunk-rbfpa63e.js +3 -0
- package/chunk-rsrh5dgx.js +2 -0
- package/chunk-s2pm97nk.js +286 -0
- package/chunk-s6tnmg6x.js +3 -0
- package/chunk-scq1dz62.js +8 -0
- package/chunk-se548edt.js +20 -0
- package/chunk-tsdeeqb8.js +3 -0
- package/chunk-vnv3a6t2.js +3 -0
- package/chunk-vrsh8cx1.js +3 -0
- package/chunk-w3v8zahw.js +2 -0
- package/chunk-w6m8c4vf.js +11 -0
- package/chunk-wd7sj5cv.js +2 -0
- package/chunk-we8v9wkw.js +9 -0
- package/chunk-x055cas0.js +5 -0
- package/chunk-x5vrtxkj.js +3 -0
- package/chunk-x83syrhw.js +44 -0
- package/chunk-xedzsj31.js +5 -0
- package/chunk-xp83v3zm.js +2 -0
- package/chunk-ykzm5g1b.js +25 -0
- package/chunk-yq2bwebb.js +3 -0
- package/chunk-yygcpnwc.js +3 -0
- package/chunk-zjf34acb.js +2 -0
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +18 -18
- package/web/chunk-02v1btpv.js +2 -0
- package/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js +1 -0
- package/web/chunk-02xgh26g.js.br +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js +140 -0
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js +16 -0
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +1 -0
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +2 -0
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js +332 -0
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js +2 -0
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js +2 -0
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +2 -0
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1r8npw1h.js +1 -0
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +1 -0
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +1 -0
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js +1 -0
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js +214 -0
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js +34 -0
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js +2 -0
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2z5tpzd0.js +2 -0
- package/web/chunk-2z5tpzd0.js.br +2 -0
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js +99 -0
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +1 -0
- package/web/chunk-3q8tjjp1.js.br +2 -0
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js +4 -0
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js +41 -0
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +1 -0
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js +1 -0
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +1 -0
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +1 -0
- package/web/chunk-4q1j0ehq.js.br +2 -0
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js +7 -0
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +1 -0
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js +291 -0
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +2 -0
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +1 -0
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js +324 -0
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js +169 -0
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +1 -0
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js +1 -0
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js +1 -0
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +1 -0
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js +24 -0
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js +39 -0
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +1 -0
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js +2 -0
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js +40 -0
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js +24 -0
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js +303 -0
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js +292 -0
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js +70 -0
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js +38 -0
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +1 -0
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js +2 -0
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js +2 -0
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js +2 -0
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cgbz97dr.js.gz +0 -0
- package/web/chunk-cjbqey5q.js +1 -0
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js +1 -0
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js +55 -0
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js +7 -0
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js +1 -0
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js +1 -0
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +1 -0
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-ece0ex2b.js +2 -0
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +1 -0
- package/web/chunk-ejrsh0nz.js.br +2 -0
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +1 -0
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-en5n60qw.js +2 -0
- package/web/chunk-en5n60qw.js.br +0 -0
- package/web/chunk-en5n60qw.js.gz +0 -0
- package/web/chunk-eq4skc30.js +1 -0
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js +1142 -0
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js +1 -0
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js +2 -0
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +1 -0
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js +89 -0
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js +2 -0
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +1 -0
- package/web/chunk-gcyhcbej.js.br +2 -0
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js +1 -0
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js +2 -0
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js +1 -0
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js +1 -0
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +8 -0
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +1 -0
- package/web/chunk-hrng3h6w.js.br +2 -0
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +1 -0
- package/web/chunk-hxyxfhhs.js.br +2 -0
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js +2 -0
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js +370 -0
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js +106 -0
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +1 -0
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +1 -0
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js +2 -0
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js +2 -0
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js +36 -0
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js +2 -0
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +1 -0
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +1 -0
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js +3 -0
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js +84 -0
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js +1 -0
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js +1 -0
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js +1 -0
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js +200 -0
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js +7 -0
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js +1 -0
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +1 -0
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js +1 -0
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +1 -0
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js +1 -0
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js +30 -0
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js +1 -0
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js +98 -0
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js +62 -0
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js +78 -0
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r76we294.js +1 -0
- package/web/chunk-r76we294.js.br +0 -0
- package/web/chunk-r76we294.js.gz +0 -0
- package/web/chunk-r827h2kc.js +1 -0
- package/web/chunk-r827h2kc.js.br +2 -0
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js +4 -0
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +1 -0
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js +12 -0
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-rxadtk6j.js.gz +0 -0
- package/web/chunk-sk3ssmwp.js +2 -0
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +2 -0
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js +217 -0
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-szwh742y.js +2 -0
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +2 -0
- package/web/chunk-t9hnp1zd.js.br +3 -0
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js +120 -0
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tn39vbcz.js +2 -0
- package/web/chunk-tn39vbcz.js.br +0 -0
- package/web/chunk-tn39vbcz.js.gz +0 -0
- package/web/chunk-tpps3mfw.js +139 -0
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +1 -0
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +1 -0
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js +1 -0
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vayamfxv.js +1 -0
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vrakntde.js +21 -0
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +2 -0
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js +2 -0
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js +142 -0
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js +1 -0
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js +2 -0
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js +89 -0
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js +2 -0
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js +2 -0
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js +2 -0
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +1 -0
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js +2 -0
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js +2 -0
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js +1 -0
- package/web/chunk-zcetrm2j.js.br +3 -0
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +1 -0
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-01xyv3ct.js +0 -7
- package/chunk-06gjy5s2.js +0 -5
- package/chunk-0pztrs5x.js +0 -11
- package/chunk-0v6seb9q.js +0 -20
- package/chunk-0z138vnr.js +0 -12
- package/chunk-1c8yqctx.js +0 -3
- package/chunk-1wt8pbns.js +0 -2
- package/chunk-1yvgmxew.js +0 -2
- package/chunk-229men2n.js +0 -31
- package/chunk-29x35nj4.js +0 -5
- package/chunk-3ee7dyh4.js +0 -18
- package/chunk-3gf3g0xt.js +0 -3
- package/chunk-3gts3ja0.js +0 -8
- package/chunk-4stj480w.js +0 -3
- package/chunk-4t2t0hcp.js +0 -3
- package/chunk-57b764s0.js +0 -5
- package/chunk-63mr2aa2.js +0 -50
- package/chunk-64h4gw8d.js +0 -3
- package/chunk-7gxx6829.js +0 -2
- package/chunk-898tss1j.js +0 -51
- package/chunk-9em1sne5.js +0 -2
- package/chunk-9p8n1xjn.js +0 -4048
- package/chunk-a0h0x1dn.js +0 -3
- package/chunk-a2r89pk2.js +0 -12
- package/chunk-a5mtw4y5.js +0 -2
- package/chunk-aq6xkc1w.js +0 -3
- package/chunk-bbqhx91f.js +0 -3
- package/chunk-c9q0y8hp.js +0 -4
- package/chunk-cgzez9a5.js +0 -2
- package/chunk-drjajr57.js +0 -3
- package/chunk-dsnz6mzt.js +0 -25
- package/chunk-ee18zzzv.js +0 -3
- package/chunk-eg161ep9.js +0 -3
- package/chunk-ej42zg82.js +0 -2
- package/chunk-ejw7k7nn.js +0 -2
- package/chunk-et2s8y6a.js +0 -3
- package/chunk-f95j1a8x.js +0 -3
- package/chunk-fnxstmm5.js +0 -2
- package/chunk-gtjtkfjk.js +0 -3
- package/chunk-h4rve6x4.js +0 -63
- package/chunk-hp9bcx4x.js +0 -2
- package/chunk-je4cjwhm.js +0 -3
- package/chunk-jn1zdamp.js +0 -9
- package/chunk-jpah46d1.js +0 -2
- package/chunk-jvsrda4n.js +0 -16
- package/chunk-jyhsae16.js +0 -2
- package/chunk-k7n6bhkz.js +0 -3
- package/chunk-kvv3mvk5.js +0 -2
- package/chunk-kzv5cgqz.js +0 -286
- package/chunk-mz3zt06w.js +0 -7
- package/chunk-n4crb1x3.js +0 -2
- package/chunk-nmmf0w14.js +0 -5
- package/chunk-nr5p4pvp.js +0 -3
- package/chunk-p39fex1r.js +0 -2
- package/chunk-pefgy360.js +0 -7
- package/chunk-psr71nf8.js +0 -2
- package/chunk-qsgc7b7x.js +0 -3
- package/chunk-qygv2jqa.js +0 -2
- package/chunk-r449z8pj.js +0 -2
- package/chunk-rd52y45c.js +0 -8
- package/chunk-repjnwda.js +0 -10
- package/chunk-rh6yvdwz.js +0 -3
- package/chunk-s2d5zp37.js +0 -44
- package/chunk-s68eamf1.js +0 -2
- package/chunk-sacdpkwc.js +0 -3
- package/chunk-tey1hftz.js +0 -490
- package/chunk-vhvzyxx5.js +0 -25
- package/chunk-vytm86v0.js +0 -2
- package/chunk-x4bc1xkx.js +0 -39
- package/chunk-xa23zmzv.js +0 -2
- package/chunk-xq7zspqs.js +0 -3
- package/chunk-xqz8ac7j.js +0 -2
- package/chunk-ycce2a81.js +0 -2
- package/chunk-z99s31w5.js +0 -2
- package/chunk-zs6ytk7b.js +0 -59
- package/chunk-ztm5hqwh.js +0 -2
- package/chunk-zv29qg1q.js +0 -10
- package/web/chunk-02z3bqps.js +0 -1
- package/web/chunk-02z3bqps.js.br +0 -0
- package/web/chunk-02z3bqps.js.gz +0 -0
- package/web/chunk-0dg4qqe3.js +0 -1
- package/web/chunk-0dg4qqe3.js.br +0 -2
- package/web/chunk-0dg4qqe3.js.gz +0 -0
- package/web/chunk-0qar8vwc.js +0 -2
- package/web/chunk-0qar8vwc.js.br +0 -0
- package/web/chunk-0qar8vwc.js.gz +0 -0
- package/web/chunk-0qmgmqzd.js +0 -2
- package/web/chunk-0qmgmqzd.js.br +0 -0
- package/web/chunk-0qmgmqzd.js.gz +0 -0
- package/web/chunk-1pffd2va.js +0 -2
- package/web/chunk-1pffd2va.js.br +0 -0
- package/web/chunk-1pffd2va.js.gz +0 -0
- package/web/chunk-1q82849a.js +0 -1
- package/web/chunk-1q82849a.js.br +0 -0
- package/web/chunk-1q82849a.js.gz +0 -0
- package/web/chunk-2ajkzs3d.js +0 -12
- package/web/chunk-2ajkzs3d.js.br +0 -0
- package/web/chunk-2ajkzs3d.js.gz +0 -0
- package/web/chunk-2ttatv42.js +0 -2
- package/web/chunk-2ttatv42.js.br +0 -0
- package/web/chunk-2ttatv42.js.gz +0 -0
- package/web/chunk-2xrkfj8n.js +0 -291
- package/web/chunk-2xrkfj8n.js.br +0 -0
- package/web/chunk-2xrkfj8n.js.gz +0 -0
- package/web/chunk-45xqp3dn.js +0 -1
- package/web/chunk-45xqp3dn.js.br +0 -0
- package/web/chunk-45xqp3dn.js.gz +0 -0
- package/web/chunk-4fdgpye3.js +0 -2
- package/web/chunk-4fdgpye3.js.br +0 -0
- package/web/chunk-4fdgpye3.js.gz +0 -0
- package/web/chunk-4fzpmw3f.js +0 -89
- package/web/chunk-4fzpmw3f.js.br +0 -0
- package/web/chunk-4fzpmw3f.js.gz +0 -0
- package/web/chunk-51njd9f8.js +0 -89
- package/web/chunk-51njd9f8.js.br +0 -0
- package/web/chunk-51njd9f8.js.gz +0 -0
- package/web/chunk-66zw8mqe.js +0 -2
- package/web/chunk-66zw8mqe.js.br +0 -0
- package/web/chunk-66zw8mqe.js.gz +0 -0
- package/web/chunk-6f9btq4p.js +0 -1
- package/web/chunk-6f9btq4p.js.br +0 -0
- package/web/chunk-6f9btq4p.js.gz +0 -0
- package/web/chunk-6x73jtw7.js +0 -7
- package/web/chunk-6x73jtw7.js.br +0 -0
- package/web/chunk-6x73jtw7.js.gz +0 -0
- package/web/chunk-6y389kg6.js +0 -1
- package/web/chunk-6y389kg6.js.br +0 -0
- package/web/chunk-6y389kg6.js.gz +0 -0
- package/web/chunk-73peavw3.js +0 -1
- package/web/chunk-73peavw3.js.br +0 -0
- package/web/chunk-73peavw3.js.gz +0 -0
- package/web/chunk-7p7qtp6d.js +0 -1
- package/web/chunk-7p7qtp6d.js.br +0 -0
- package/web/chunk-7p7qtp6d.js.gz +0 -0
- package/web/chunk-81zj375g.js +0 -1
- package/web/chunk-81zj375g.js.br +0 -0
- package/web/chunk-81zj375g.js.gz +0 -0
- package/web/chunk-89dwrkrr.js +0 -1
- package/web/chunk-89dwrkrr.js.br +0 -0
- package/web/chunk-89dwrkrr.js.gz +0 -0
- package/web/chunk-8e829p0a.css +0 -1
- package/web/chunk-8e829p0a.css.br +0 -0
- package/web/chunk-8e829p0a.css.gz +0 -0
- package/web/chunk-9j7v0e4v.js +0 -2
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9mgqrwwh.js +0 -1
- package/web/chunk-9mgqrwwh.js.br +0 -0
- package/web/chunk-9mgqrwwh.js.gz +0 -0
- package/web/chunk-a11ev6ff.js +0 -1
- package/web/chunk-a11ev6ff.js.br +0 -0
- package/web/chunk-a11ev6ff.js.gz +0 -0
- package/web/chunk-ag97fhx1.js +0 -1
- package/web/chunk-ag97fhx1.js.br +0 -0
- package/web/chunk-ag97fhx1.js.gz +0 -0
- package/web/chunk-anm2706b.js +0 -139
- package/web/chunk-anm2706b.js.br +0 -0
- package/web/chunk-anm2706b.js.gz +0 -0
- package/web/chunk-aqz2exas.js +0 -142
- package/web/chunk-aqz2exas.js.br +0 -0
- package/web/chunk-aqz2exas.js.gz +0 -0
- package/web/chunk-at6wp72y.js +0 -1
- package/web/chunk-at6wp72y.js.br +0 -0
- package/web/chunk-at6wp72y.js.gz +0 -0
- package/web/chunk-ayfqxte8.js +0 -1
- package/web/chunk-ayfqxte8.js.br +0 -2
- package/web/chunk-ayfqxte8.js.gz +0 -0
- package/web/chunk-b564qxgk.js +0 -98
- package/web/chunk-b564qxgk.js.br +0 -0
- package/web/chunk-b564qxgk.js.gz +0 -0
- package/web/chunk-b9atg5sw.js +0 -1
- package/web/chunk-b9atg5sw.js.br +0 -0
- package/web/chunk-b9atg5sw.js.gz +0 -0
- package/web/chunk-bg2k54a5.js +0 -70
- package/web/chunk-bg2k54a5.js.br +0 -0
- package/web/chunk-bg2k54a5.js.gz +0 -0
- package/web/chunk-bw9crrb4.js +0 -1
- package/web/chunk-bw9crrb4.js.br +0 -0
- package/web/chunk-bw9crrb4.js.gz +0 -0
- package/web/chunk-c2vtzhbs.js +0 -1
- package/web/chunk-c2vtzhbs.js.br +0 -0
- package/web/chunk-c2vtzhbs.js.gz +0 -0
- package/web/chunk-cb0g87b5.js +0 -2
- package/web/chunk-cb0g87b5.js.br +0 -3
- package/web/chunk-cb0g87b5.js.gz +0 -0
- package/web/chunk-cgm44rx8.js +0 -2
- package/web/chunk-cgm44rx8.js.br +0 -0
- package/web/chunk-cgm44rx8.js.gz +0 -0
- package/web/chunk-ctckn7gz.js +0 -2
- package/web/chunk-ctckn7gz.js.br +0 -0
- package/web/chunk-ctckn7gz.js.gz +0 -0
- package/web/chunk-def5mk0w.js +0 -2
- package/web/chunk-def5mk0w.js.br +0 -0
- package/web/chunk-def5mk0w.js.gz +0 -0
- package/web/chunk-e2nhv6bb.js +0 -2
- package/web/chunk-e2nhv6bb.js.br +0 -0
- package/web/chunk-e2nhv6bb.js.gz +0 -0
- package/web/chunk-e7djq8rb.js +0 -2
- package/web/chunk-e7djq8rb.js.br +0 -0
- package/web/chunk-e7djq8rb.js.gz +0 -0
- package/web/chunk-eagbq8k2.js +0 -1
- package/web/chunk-eagbq8k2.js.br +0 -0
- package/web/chunk-eagbq8k2.js.gz +0 -0
- package/web/chunk-fbxw7w0z.js +0 -1
- package/web/chunk-fbxw7w0z.js.br +0 -0
- package/web/chunk-fbxw7w0z.js.gz +0 -0
- package/web/chunk-fn95dxq2.js +0 -1
- package/web/chunk-fn95dxq2.js.br +0 -0
- package/web/chunk-fn95dxq2.js.gz +0 -0
- package/web/chunk-g3n4tbbv.js +0 -1
- package/web/chunk-g3n4tbbv.js.br +0 -2
- package/web/chunk-g3n4tbbv.js.gz +0 -0
- package/web/chunk-gp0xqyh2.js +0 -62
- package/web/chunk-gp0xqyh2.js.br +0 -0
- package/web/chunk-gp0xqyh2.js.gz +0 -0
- package/web/chunk-h2rv3exr.js +0 -84
- package/web/chunk-h2rv3exr.js.br +0 -0
- package/web/chunk-h2rv3exr.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +0 -1
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h888hb33.js +0 -41
- package/web/chunk-h888hb33.js.br +0 -0
- package/web/chunk-h888hb33.js.gz +0 -0
- package/web/chunk-hc9ep8b0.js +0 -4
- package/web/chunk-hc9ep8b0.js.br +0 -0
- package/web/chunk-hc9ep8b0.js.gz +0 -0
- package/web/chunk-hp0jfbty.js +0 -1
- package/web/chunk-hp0jfbty.js.br +0 -0
- package/web/chunk-hp0jfbty.js.gz +0 -0
- package/web/chunk-hx7rh5c1.js +0 -2
- package/web/chunk-hx7rh5c1.js.br +0 -0
- package/web/chunk-hx7rh5c1.js.gz +0 -0
- package/web/chunk-hzxz7smg.js +0 -24
- package/web/chunk-hzxz7smg.js.br +0 -0
- package/web/chunk-hzxz7smg.js.gz +0 -0
- package/web/chunk-j4w9gj2v.js +0 -1
- package/web/chunk-j4w9gj2v.js.br +0 -0
- package/web/chunk-j4w9gj2v.js.gz +0 -0
- package/web/chunk-j8m3c1s4.js +0 -2
- package/web/chunk-j8m3c1s4.js.br +0 -0
- package/web/chunk-j8m3c1s4.js.gz +0 -0
- package/web/chunk-jamb9e79.js +0 -1
- package/web/chunk-jamb9e79.js.br +0 -0
- package/web/chunk-jamb9e79.js.gz +0 -0
- package/web/chunk-jg19frxn.js +0 -55
- package/web/chunk-jg19frxn.js.br +0 -0
- package/web/chunk-jg19frxn.js.gz +0 -0
- package/web/chunk-jm2pevt8.js +0 -1
- package/web/chunk-jm2pevt8.js.br +0 -0
- package/web/chunk-jm2pevt8.js.gz +0 -0
- package/web/chunk-jmr00kdm.js +0 -214
- package/web/chunk-jmr00kdm.js.br +0 -0
- package/web/chunk-jmr00kdm.js.gz +0 -0
- package/web/chunk-jsff72z2.js +0 -1
- package/web/chunk-jsff72z2.js.br +0 -0
- package/web/chunk-jsff72z2.js.gz +0 -0
- package/web/chunk-jv83dscd.js +0 -1
- package/web/chunk-jv83dscd.js.br +0 -0
- package/web/chunk-jv83dscd.js.gz +0 -0
- package/web/chunk-k0da3cb3.js +0 -1
- package/web/chunk-k0da3cb3.js.br +0 -0
- package/web/chunk-k0da3cb3.js.gz +0 -0
- package/web/chunk-k6ks8zqg.js +0 -1
- package/web/chunk-k6ks8zqg.js.br +0 -0
- package/web/chunk-k6ks8zqg.js.gz +0 -0
- package/web/chunk-kdzew6g1.js +0 -1
- package/web/chunk-kdzew6g1.js.br +0 -2
- package/web/chunk-kdzew6g1.js.gz +0 -0
- package/web/chunk-ktmnzrpf.js +0 -1
- package/web/chunk-ktmnzrpf.js.br +0 -2
- package/web/chunk-ktmnzrpf.js.gz +0 -0
- package/web/chunk-kxezmcn5.js +0 -30
- package/web/chunk-kxezmcn5.js.br +0 -0
- package/web/chunk-kxezmcn5.js.gz +0 -0
- package/web/chunk-kyj99nqq.js +0 -2
- package/web/chunk-kyj99nqq.js.br +0 -0
- package/web/chunk-kyj99nqq.js.gz +0 -0
- package/web/chunk-m1009k4x.js +0 -16
- package/web/chunk-m1009k4x.js.br +0 -0
- package/web/chunk-m1009k4x.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +0 -2
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mgr8wt71.js +0 -370
- package/web/chunk-mgr8wt71.js.br +0 -0
- package/web/chunk-mgr8wt71.js.gz +0 -0
- package/web/chunk-mya0w8tm.js +0 -1
- package/web/chunk-mya0w8tm.js.br +0 -0
- package/web/chunk-mya0w8tm.js.gz +0 -0
- package/web/chunk-n1wgda90.js +0 -7
- package/web/chunk-n1wgda90.js.br +0 -0
- package/web/chunk-n1wgda90.js.gz +0 -0
- package/web/chunk-n7hk5sxm.js +0 -120
- package/web/chunk-n7hk5sxm.js.br +0 -0
- package/web/chunk-n7hk5sxm.js.gz +0 -0
- package/web/chunk-n99yz498.js +0 -36
- package/web/chunk-n99yz498.js.br +0 -0
- package/web/chunk-n99yz498.js.gz +0 -0
- package/web/chunk-nnvqz2dh.js +0 -1
- package/web/chunk-nnvqz2dh.js.br +0 -0
- package/web/chunk-nnvqz2dh.js.gz +0 -0
- package/web/chunk-nx439rde.js +0 -1
- package/web/chunk-nx439rde.js.br +0 -0
- package/web/chunk-nx439rde.js.gz +0 -0
- package/web/chunk-pn50cj2y.js +0 -1
- package/web/chunk-pn50cj2y.js.br +0 -0
- package/web/chunk-pn50cj2y.js.gz +0 -0
- package/web/chunk-pph3x232.js +0 -38
- package/web/chunk-pph3x232.js.br +0 -0
- package/web/chunk-pph3x232.js.gz +0 -0
- package/web/chunk-pt2vfgkr.js +0 -1
- package/web/chunk-pt2vfgkr.js.br +0 -0
- package/web/chunk-pt2vfgkr.js.gz +0 -0
- package/web/chunk-pzvg5xnk.js +0 -21
- package/web/chunk-pzvg5xnk.js.br +0 -0
- package/web/chunk-pzvg5xnk.js.gz +0 -0
- package/web/chunk-q5hj3y5k.js +0 -2
- package/web/chunk-q5hj3y5k.js.br +0 -0
- package/web/chunk-q5hj3y5k.js.gz +0 -0
- package/web/chunk-qafnz668.js +0 -1
- package/web/chunk-qafnz668.js.br +0 -0
- package/web/chunk-qafnz668.js.gz +0 -0
- package/web/chunk-qkfqcr10.js +0 -1
- package/web/chunk-qkfqcr10.js.br +0 -0
- package/web/chunk-qkfqcr10.js.gz +0 -0
- package/web/chunk-qkgp0da2.js +0 -1
- package/web/chunk-qkgp0da2.js.br +0 -0
- package/web/chunk-qkgp0da2.js.gz +0 -0
- package/web/chunk-qpqdn0a8.js +0 -1
- package/web/chunk-qpqdn0a8.js.br +0 -0
- package/web/chunk-qpqdn0a8.js.gz +0 -0
- package/web/chunk-r0ch05x8.js +0 -3
- package/web/chunk-r0ch05x8.js.br +0 -0
- package/web/chunk-r0ch05x8.js.gz +0 -0
- package/web/chunk-r6s2vcby.js +0 -8
- package/web/chunk-r6s2vcby.js.br +0 -6
- package/web/chunk-r6s2vcby.js.gz +0 -0
- package/web/chunk-r71mdnq3.js +0 -1
- package/web/chunk-r71mdnq3.js.br +0 -0
- package/web/chunk-r71mdnq3.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +0 -2
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rd60971b.js +0 -2
- package/web/chunk-rd60971b.js.br +0 -0
- package/web/chunk-rd60971b.js.gz +0 -0
- package/web/chunk-rdz21xd5.js +0 -99
- package/web/chunk-rdz21xd5.js.br +0 -0
- package/web/chunk-rdz21xd5.js.gz +0 -0
- package/web/chunk-rmzb9edh.js +0 -303
- package/web/chunk-rmzb9edh.js.br +0 -0
- package/web/chunk-rmzb9edh.js.gz +0 -0
- package/web/chunk-rqkd1h2n.js +0 -2
- package/web/chunk-rqkd1h2n.js.br +0 -0
- package/web/chunk-rqkd1h2n.js.gz +0 -0
- package/web/chunk-rz2cq4g2.js +0 -2
- package/web/chunk-rz2cq4g2.js.br +0 -0
- package/web/chunk-rz2cq4g2.js.gz +0 -0
- package/web/chunk-rzeh9b1q.js +0 -2
- package/web/chunk-rzeh9b1q.js.br +0 -0
- package/web/chunk-rzeh9b1q.js.gz +0 -0
- package/web/chunk-s6ax6yty.js +0 -1
- package/web/chunk-s6ax6yty.js.br +0 -0
- package/web/chunk-s6ax6yty.js.gz +0 -0
- package/web/chunk-s75zvbh9.js +0 -1
- package/web/chunk-s75zvbh9.js.br +0 -0
- package/web/chunk-s75zvbh9.js.gz +0 -0
- package/web/chunk-s7cz1q7g.js +0 -324
- package/web/chunk-s7cz1q7g.js.br +0 -0
- package/web/chunk-s7cz1q7g.js.gz +0 -0
- package/web/chunk-sh6xh1kh.js +0 -1
- package/web/chunk-sh6xh1kh.js.br +0 -0
- package/web/chunk-sh6xh1kh.js.gz +0 -0
- package/web/chunk-shc8bv2k.js +0 -2
- package/web/chunk-shc8bv2k.js.br +0 -0
- package/web/chunk-shc8bv2k.js.gz +0 -0
- package/web/chunk-sqa50cfh.js +0 -2
- package/web/chunk-sqa50cfh.js.br +0 -0
- package/web/chunk-sqa50cfh.js.gz +0 -0
- package/web/chunk-stp6j8y9.js +0 -39
- package/web/chunk-stp6j8y9.js.br +0 -0
- package/web/chunk-stp6j8y9.js.gz +0 -0
- package/web/chunk-t7wae2xz.js +0 -332
- package/web/chunk-t7wae2xz.js.br +0 -0
- package/web/chunk-t7wae2xz.js.gz +0 -0
- package/web/chunk-t8p7d5vk.js +0 -2
- package/web/chunk-t8p7d5vk.js.br +0 -0
- package/web/chunk-t8p7d5vk.js.gz +0 -0
- package/web/chunk-t9twwgfe.js +0 -1
- package/web/chunk-t9twwgfe.js.br +0 -0
- package/web/chunk-t9twwgfe.js.gz +0 -0
- package/web/chunk-tbgavq0t.js +0 -2
- package/web/chunk-tbgavq0t.js.br +0 -0
- package/web/chunk-tbgavq0t.js.gz +0 -0
- package/web/chunk-tbj4d6qe.js +0 -292
- package/web/chunk-tbj4d6qe.js.br +0 -0
- package/web/chunk-tbj4d6qe.js.gz +0 -0
- package/web/chunk-v0wb751t.js +0 -2
- package/web/chunk-v0wb751t.js.br +0 -0
- package/web/chunk-v0wb751t.js.gz +0 -0
- package/web/chunk-v1vghfec.js +0 -1
- package/web/chunk-v1vghfec.js.br +0 -0
- package/web/chunk-v1vghfec.js.gz +0 -0
- package/web/chunk-v890rh1e.js +0 -2
- package/web/chunk-v890rh1e.js.br +0 -0
- package/web/chunk-v890rh1e.js.gz +0 -0
- package/web/chunk-vd2kng8p.js +0 -4
- package/web/chunk-vd2kng8p.js.br +0 -0
- package/web/chunk-vd2kng8p.js.gz +0 -0
- package/web/chunk-vfqmec16.js +0 -217
- package/web/chunk-vfqmec16.js.br +0 -0
- package/web/chunk-vfqmec16.js.gz +0 -0
- package/web/chunk-vhmcx472.js +0 -1
- package/web/chunk-vhmcx472.js.br +0 -0
- package/web/chunk-vhmcx472.js.gz +0 -0
- package/web/chunk-vtvf1x6b.js +0 -2
- package/web/chunk-vtvf1x6b.js.br +0 -0
- package/web/chunk-vtvf1x6b.js.gz +0 -0
- package/web/chunk-w0ae9ggt.js +0 -40
- package/web/chunk-w0ae9ggt.js.br +0 -0
- package/web/chunk-w0ae9ggt.js.gz +0 -0
- package/web/chunk-ws8rv0tb.js +0 -1141
- package/web/chunk-ws8rv0tb.js.br +0 -0
- package/web/chunk-ws8rv0tb.js.gz +0 -0
- package/web/chunk-wvnvh4a5.js +0 -78
- package/web/chunk-wvnvh4a5.js.br +0 -0
- package/web/chunk-wvnvh4a5.js.gz +0 -0
- package/web/chunk-x11ewabg.js +0 -1
- package/web/chunk-x11ewabg.js.br +0 -0
- package/web/chunk-x11ewabg.js.gz +0 -0
- package/web/chunk-x2tcf0r1.js +0 -1
- package/web/chunk-x2tcf0r1.js.br +0 -2
- package/web/chunk-x2tcf0r1.js.gz +0 -0
- package/web/chunk-x9mexzav.js +0 -2
- package/web/chunk-x9mexzav.js.br +0 -0
- package/web/chunk-x9mexzav.js.gz +0 -0
- package/web/chunk-xbrj4mk1.js +0 -140
- package/web/chunk-xbrj4mk1.js.br +0 -0
- package/web/chunk-xbrj4mk1.js.gz +0 -0
- package/web/chunk-xh8q1bcj.js +0 -34
- package/web/chunk-xh8q1bcj.js.br +0 -0
- package/web/chunk-xh8q1bcj.js.gz +0 -0
- package/web/chunk-xha3t633.js +0 -1
- package/web/chunk-xha3t633.js.br +0 -0
- package/web/chunk-xha3t633.js.gz +0 -0
- package/web/chunk-xk8637wb.js +0 -1
- package/web/chunk-xk8637wb.js.br +0 -0
- package/web/chunk-xk8637wb.js.gz +0 -0
- package/web/chunk-xmr18f18.js +0 -1
- package/web/chunk-xmr18f18.js.br +0 -0
- package/web/chunk-xmr18f18.js.gz +0 -0
- package/web/chunk-y372dg1e.js +0 -7
- package/web/chunk-y372dg1e.js.br +0 -0
- package/web/chunk-y372dg1e.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +0 -1
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-y778wckc.js +0 -24
- package/web/chunk-y778wckc.js.br +0 -0
- package/web/chunk-y778wckc.js.gz +0 -0
- package/web/chunk-yerpvhym.js +0 -169
- package/web/chunk-yerpvhym.js.br +0 -0
- package/web/chunk-yerpvhym.js.gz +0 -0
- package/web/chunk-yrhe7a7c.js +0 -106
- package/web/chunk-yrhe7a7c.js.br +0 -0
- package/web/chunk-yrhe7a7c.js.gz +0 -0
- package/web/chunk-z2aazpzj.js +0 -2
- package/web/chunk-z2aazpzj.js.br +0 -0
- package/web/chunk-z2aazpzj.js.gz +0 -0
- package/web/chunk-z43td5ad.js +0 -1
- package/web/chunk-z43td5ad.js.br +0 -0
- package/web/chunk-z43td5ad.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +0 -1
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/chunk-zf42y65m.js +0 -1
- package/web/chunk-zf42y65m.js.br +0 -0
- package/web/chunk-zf42y65m.js.gz +0 -0
- package/web/chunk-zj2rhf4b.js +0 -200
- package/web/chunk-zj2rhf4b.js.br +0 -0
- package/web/chunk-zj2rhf4b.js.gz +0 -0
- package/web/chunk-zkn84jhm.js +0 -2
- package/web/chunk-zkn84jhm.js.br +0 -0
- package/web/chunk-zkn84jhm.js.gz +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
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,oi,He,Ue}from"./chunk-9hkz2jgq.js";import{$n}from"./chunk-j94hffw3.js";import{Tt}from"./chunk-14t6ms50.js";import{Bn}from"./chunk-t9hnp1zd.js";import{ze}from"./chunk-gp3356tf.js";import{Pe}from"./chunk-2z5tpzd0.js";var Et={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},P1=new Set([Et.SHAPE_UNSUPPORTED,Et.SHAPE_REMOVED,Et.CONTAINMENT_VIOLATION]),xs=new Set(Object.values(Et).filter((e)=>!P1.has(e))),G1=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),U1=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),j1=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),mt="roundedRect";function At(e){if(!e)return e;return G1.get(e)??e}t(At,"resolveShapeAlias");function D1(e,n){for(let a of e){if(a.isGroup)continue;if(!a.shape||a.shape==="squareRect"||a.shape==="rect")a.shape=mt;if(U1.has(a.shape)){let o=`shape "${a.shape}" was removed in v0.8.1, using "${mt}"`;if(n?.emitError)n.emitError("SHAPE_REMOVED",o,{nodeId:a.id});else i.warn(`agentflow: ${o}`);a.shape=mt;continue}if(!j1.has(a.shape)){let o=`shape "${a.shape}" is not supported, using "${mt}"`;if(n?.emitWarning)n.emitWarning("SHAPE_UNSUPPORTED",o,{nodeId:a.id});else i.warn(`agentflow: ${o}`);a.shape=mt}}}t(D1,"normaliseNodeShapes");var t1=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),_1=t1.size,v1=t((e)=>`af-kind-${e}`,"kindClass"),z1=[...t1.keys()],F1=t((e)=>Math.max(1,e-_1),"containerSlotCount"),V1=t((e,n)=>{let a=_1+e%F1(n);return n>0?a%n:a},"containerSlot");function I1(e,n,a){let o=d().themeVariables?.borderColorArray,c=Array.isArray(o)?o.length:0,h=a.size;for(let u of e??[]){if(u.isGroup||u.shape==="collapsedGroup"){let m=a.get(String(u.id))??h++;u.colorIndex=V1(m,c);continue}let p=n(String(u.id));if(p&&t1.has(p))u.cssClasses=`${u.cssClasses??""} ${v1(p)}`.replace(/\s+/g," ").trim()}}t(I1,"assignColorSlots");var T1="agentflow-",u1=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),W1=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),K1={flow:"flowGroup"};function e1(e){if(Array.isArray(e))return e.map((a)=>e1(a));if(e===null||typeof e!=="object")return e;let n={};for(let a of Object.keys(e)){if(a==="__proto__"||a==="constructor"||a==="prototype")continue;n[a]=e1(e[a])}return n}t(e1,"stripPrototypeKeys");function L1(e){let n=!1,a=!1,o=0,c,h=[];for(let u of e.split(`
|
|
2
|
+
`)){if(c!==void 0){let A=u.length-u.trimStart().length;if(u.trim()===""||A>c){h.push(u);continue}c=void 0}let p=-1;for(let A=0;A<u.length;A++){let S=u[A];if(a){if(S==="\\")A++;else if(S==='"')a=!1}else if(n){if(S==="'")n=!1}else if(S==='"')a=!0;else if(S==="'")n=!0;else if(S==="#"&&(A===0||u[A-1]===" "||u[A-1]==="\t")){p=A;break}else if(S==="["||S==="{")o++;else if(S==="]"||S==="}")o=Math.max(0,o-1)}if(n||a||o>0){h.push(u);continue}let m=p>=0?u.slice(0,p):u,k=p>=0?u.slice(p):"";if(/:\s*[>|][\d+-]*\s*$/.test(m)){c=u.length-u.trimStart().length,h.push(u);continue}h.push(m.replace(/,([\t ]*)$/,"$1")+k)}return h.join(`
|
|
3
|
+
`)}t(L1,"stripLineTrailingCommas");var H1=class{constructor(){this.vertexCounter=0,this.config=d(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId="",this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,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.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.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.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"AgentFlowDB")}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 n of this.vertices.values())if(n.id===e)return this.diagramId?`${this.diagramId}-${n.domId}`:n.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,n,a,o,c,h,u={},p,m){if(!e||e.trim().length===0)return;let k;if(p!==void 0){let E;if(!p.includes(`
|
|
4
|
+
`))E=`{
|
|
5
|
+
`+p+`
|
|
6
|
+
}`;else E=p+`
|
|
7
|
+
`;try{k=Kt(E,{schema:Xt})??{}}catch(f){let b=p.includes(`
|
|
8
|
+
`)?L1(p):p;if(b!==p)try{k=Kt(b+`
|
|
9
|
+
`,{schema:Xt})??{}}catch{this.rethrowMetadataYamlError(f,p,m)}else this.rethrowMetadataYamlError(f,p,m)}k=e1(k)}let A;if(k&&typeof k.shape==="string"){let E=k;A=E.shape;let f=At(A);if(f&&f!==A)E.shape=f}let S=this.subGraphLookup.get(e);if(S&&k){S.metadata={...S.metadata,...k};return}let y=this.connectors.get(e);if(y&&k){y.metadata={...y.metadata,...k};return}if(e==="connectors")return;let v=this.edges.find((E)=>E.id===e);if(v){let E=k;if(E?.animate!==void 0)v.animate=E.animate;if(E?.animation!==void 0)v.animation=E.animation;if(E?.curve!==void 0)v.interpolate=E.curve;if(k)v.metadata={...v.metadata,...k};return}let z,V=this.vertices.get(e);if(V===void 0)V={id:e,labelType:"text",domId:T1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,V);if(this.vertexCounter++,n!==void 0){if(this.config=d(),z=this.sanitizeText(n.text.trim()),V.labelType=n.type,z.startsWith('"')&&z.endsWith('"'))z=z.substring(1,z.length-1);V.text=z}else if(V.text===void 0)V.text=e;if(a!==void 0)V.type=a;if(o!==void 0&&o!==null)o.forEach((E)=>{V.styles.push(E)});if(c!==void 0&&c!==null)c.forEach((E)=>{V.classes.push(E)});if(h!==void 0)V.dir=h;if(V.props===void 0)V.props=u;else if(u!==void 0)Object.assign(V.props,u);if(k){if(V.metadata={...V.metadata,...k},k.shape){let E=A??k.shape;if(typeof E!=="string")throw this.positionedShapeError(`No such shape: ${JSON.stringify(E)}.`,m);if(E!==E.toLowerCase()||E.includes("_"))throw this.positionedShapeError(`No such shape: ${E}. Shape names should be lowercase.`,m);else if(!oi(k.shape))throw this.positionedShapeError(`No such shape: ${k.shape}.`,m);V.type=k?.shape}if(k?.label)V.text=this.sanitizeText(k.label),V.labelType=this.sanitizeNodeLabelType(k?.labelType)}}positionedShapeError(e,n){let a=Error(e);if(!n)return a;let o=n.first_line+this.frontmatterLineOffset;return Object.assign(a,{hash:{text:"",token:null,line:o-1,loc:{first_line:o,last_line:n.last_line+this.frontmatterLineOffset,first_column:n.first_column,last_column:n.last_column},expected:[]}}),a}rethrowMetadataYamlError(e,n,a){let o=e;if(!o||o.name!=="YAMLException"||!o.mark||!a)throw e;let c;try{let h=!n.includes(`
|
|
10
|
+
`),u=h?`{
|
|
11
|
+
`+n+`
|
|
12
|
+
}`:n+`
|
|
13
|
+
`,p=a.first_line+this.frontmatterLineOffset,m=a.first_column+2,k=t((E,f)=>{if(h)return{line:p,column:m+(E===1?f:0)};return{line:p+E,column:E===0?m+f:f}},"toSource"),A=k(o.mark.line,o.mark.column),S=o.reason??(o.message??"").split(`
|
|
14
|
+
`)[0].replace(/\s*\(\d+:\d+\)\s*$/,""),y=u.split(`
|
|
15
|
+
`),v=[];if(h)v.push(1);else for(let E=o.mark.line-1;E<=o.mark.line+1;E++){if(E<0||E>=y.length)continue;if(E===y.length-1&&y[E]===""&&E!==o.mark.line)continue;v.push(E)}let z=Math.max(...v.map((E)=>String(k(E,0).line).length)),V=[];for(let E of v){let f=k(E,0).line,b=` ${String(f).padStart(z)} | `;if(V.push(b+y[E].replace(/\t/g,"→")),E===o.mark.line)V.push("-".repeat(b.length+o.mark.column)+"^")}c={message:`${S} (${A.line}:${A.column+1})
|
|
16
|
+
|
|
17
|
+
${V.join(`
|
|
18
|
+
`)}`,markLine:A.line-1,markColumn:A.column,hash:{text:"",token:null,line:A.line-1,loc:{first_line:A.line,last_line:A.line,first_column:A.column,last_column:A.column+1},expected:[]}}}catch{}if(c)o.message=c.message,o.mark.line=c.markLine,o.mark.column=c.markColumn,o.hash=c.hash;throw o}addSingleLink(e,n,a,o){let u={start:e,end:n,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};i.info("abc78 Got edge...",u);let p=a.text;if(p!==void 0){if(u.text=this.sanitizeText(p.text.trim()),u.text.startsWith('"')&&u.text.endsWith('"'))u.text=u.text.substring(1,u.text.length-1);u.labelType=this.sanitizeNodeLabelType(p.type)}if(a!==void 0){if(u.type=a.type,u.stroke=a.stroke,u.length=a.length>10?10:a.length,a.edgeSemantic)u.edgeSemantic=a.edgeSemantic}if(o&&!this.edges.some((m)=>m.id===o))u.id=o,u.isUserDefinedId=!0;else{let m=this.edges.filter((k)=>k.start===u.start&&k.end===u.end);if(m.length===0)u.id=St(u.start,u.end,{counter:0,prefix:"L"});else u.id=St(u.start,u.end,{counter:m.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))i.info("Pushing edge..."),this.edges.push(u);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
19
|
+
|
|
20
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
21
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
22
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,n,a){let o=this.isLinkData(a)?a.id.replace("@",""):void 0;i.info("addLink",e,n,o);for(let c of e)for(let h of n){let u=c===e[e.length-1],p=h===n[0];if(u&&p)this.addSingleLink(c,h,a,o);else this.addSingleLink(c,h,a,void 0)}}updateLinkInterpolate(e,n){e.forEach((a)=>{if(a==="default"){this.edges.defaultInterpolate=n;return}if(typeof a==="number"&&a>=this.edges.length)throw Error(`The index ${a} 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.)`);this.edges[a].interpolate=n})}updateLink(e,n){e.forEach((a)=>{if(typeof a==="number"&&a>=this.edges.length)throw Error(`The index ${a} 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(a==="default")this.edges.defaultStyle=n;else if(this.edges[a].style=n,(this.edges[a]?.style?.length??0)>0&&!this.edges[a]?.style?.some((o)=>o?.startsWith("fill")))this.edges[a]?.style?.push("fill:none")})}addClass(e,n){let a=n.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let c=this.classes.get(o);if(c===void 0)c={id:o,styles:[],textStyles:[]},this.classes.set(o,c);if(a!==void 0&&a!==null)a.forEach((h)=>{if(/color/.exec(h)){let u=h.replace("fill","bgFill");c.textStyles.push(u)}c.styles.push(h)})})}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,n){for(let a of e.split(",")){let o=this.vertices.get(a);if(o)o.classes.push(n);let c=this.edges.find((u)=>u.id===a);if(c)c.classes.push(n);let h=this.subGraphLookup.get(a);if(h)h.classes.push(n)}}setTooltip(e,n){if(n===void 0)return;n=this.sanitizeText(n);for(let a of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(a):a,n)}setClickFun(e,n,a){if(d().securityLevel!=="loose")return;if(n===void 0)return;let o=[];if(typeof a==="string"){o=a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h<o.length;h++){let u=o[h].trim();if(u.startsWith('"')&&u.endsWith('"'))u=u.substr(1,u.length-2);o[h]=u}}if(o.length===0)o.push(e);let c=this.vertices.get(e);if(c)c.haveCallback=!0,this.funs.push(()=>{let h=this.lookUpDomId(e),u=document.querySelector(`[id="${h}"]`);if(u!==null)u.addEventListener("click",()=>{H.runFunc(n,...o)},!1)})}setLink(e,n,a){e.split(",").forEach((o)=>{let c=this.vertices.get(o);if(c!==void 0)c.link=H.formatUrl(n,this.config),c.linkTarget=a}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,n,a){e.split(",").forEach((o)=>{this.setClickFun(o,n,a)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((n)=>{n(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(e){return W1.has(e.type)}getTools(){let e=[];for(let n of this.vertices.values())if(this.isToolDefinition(n))e.push(n);return e}getClasses(){return this.classes}setupToolTips(e){let n=$n();g(e).select("svg").selectAll("g.node").on("mouseover",(c)=>{let h=g(c.currentTarget),u=h.attr("title");if(u===null)return;let p=c.currentTarget?.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.text(h.attr("title")).style("left",window.scrollX+p.left+(p.right-p.left)/2+"px").style("top",window.scrollY+p.bottom+"px"),n.html(ct.sanitize(u)),h.classed("hover",!0)}).on("mouseout",(c)=>{n.transition().duration(500).style("opacity",0),g(c.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=d(),this.diagramId="",this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,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,n,a,o){let c=e?.text?.trim(),h=a?.text;if(e===a&&a?.text&&/\s/.exec(a.text))c=void 0;let p=t((v)=>{let z={boolean:{},number:{},string:{}},V=[],E;return{nodeList:v.filter(function(b){let F=typeof b;if(b.stmt&&b.stmt==="dir")return E=b.value,!1;if(b.trim()==="")return!1;if(F in z)return z[F].hasOwnProperty(b)?!1:z[F][b]=!0;else return V.includes(b)?!1:V.push(b)}),dir:E}},"uniq")(n.flat()),{nodeList:m,dir:k}=p,A=d().flowchart??{};if(k=k??(A.inheritDir?this.getDirection()??d().direction??void 0:void 0),this.version==="gen-1")for(let v=0;v<m.length;v++)m[v]=this.lookUpDomId(m[v]);c=c??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let S={id:c,nodes:m.filter((v)=>v!==c&&!this.globalNodes.has(v)),title:h.trim(),classes:[],dir:k,labelType:this.sanitizeNodeLabelType(a?.type),type:o??"flow"};i.info("Adding",S.id,S.nodes,S.dir),S.nodes=this.makeUniq(S,this.subGraphs).nodes;let y=this.getPosForId(c);if(y!==-1){let v=this.subGraphs[y];for(let z of S.nodes)if(!v.nodes.includes(z))v.nodes.push(z);if(S.title)v.title=S.title;if(S.dir)v.dir=S.dir;if(S.type)v.type=S.type;this.subGraphLookup.set(c,v)}else this.subGraphs.push(S),this.subGraphLookup.set(c,S);return c}addGlobal(e){for(let n of e.flat()){if(typeof n!=="string")continue;let a=n.trim();if(a!=="")this.globalNodes.add(a)}for(let n of this.subGraphs)n.nodes=n.nodes.filter((a)=>!this.globalNodes.has(a))}getPosForId(e){for(let[n,a]of this.subGraphs.entries())if(a.id===e)return n;return-1}indexNodes2(e,n){let a=this.subGraphs[n].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=n,this.subGraphs[n].id===e)return{result:!0,count:0};let o=0,c=1;while(o<a.length){let h=this.getPosForId(a[o]);if(h>=0){let u=this.indexNodes2(e,h);if(u.result)return{result:!0,count:c+u.count};else c=c+u.count}o=o+1}return{result:!1,count:c}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}addConnector(e,n){let a=e?.text?.trim();if(!a)return"";let o=n?.text?.trim()??"",c=o.length>0?this.sanitizeText(o):a,h=this.connectors.get(a);if(!h)h={id:a,labelType:"text",domId:T1+a+"-"+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:c},this.connectors.set(a,h),this.vertices.set(a,h),this.vertexCounter++;else if(o.length>0)h.text=c;return a}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}computeEdgeSemantic(e,n){if(e==="arrow_point"&&n==="normal")return"sequence";if(e==="arrow_cross"&&n==="normal")return"failure";if(e==="arrow_open"&&n==="dotted")return"reference";return}destructStartLink(e){let n=e.trim(),a="arrow_open",o="normal";if(n.includes("."))o="dotted";return{type:"arrow_open",stroke:o}}countChar(e,n){let a=n.length,o=0;for(let c=0;c<a;++c)if(n[c]===e)++o;return o}destructEndLink(e){let n=e.trim(),a=n.slice(0,-1),o="arrow_open";switch(n.slice(-1)){case"x":o="arrow_cross";break;case">":o="arrow_point";break;case"-":case".":o="arrow_open",a=n;break}let c="normal",h=a.length-1,u=this.countChar(".",a);if(u>0)c="dotted",h=u;return{type:o,stroke:c,length:h}}destructLink(e,n){let a=this.destructEndLink(e),o;if(n){if(o=this.destructStartLink(n),o.stroke!==a.stroke)return{type:"INVALID",stroke:"INVALID"};return o.type=a.type,o.length=a.length,{...o,edgeSemantic:this.computeEdgeSemantic(o.type,o.stroke)}}return{...a,edgeSemantic:this.computeEdgeSemantic(a.type,a.stroke)}}exists(e,n){for(let a of e)if(a.nodes.includes(n))return!0;return!1}makeUniq(e,n){let a=[];return e.nodes.forEach((o,c)=>{if(!this.exists(n,o))a.push(e.nodes[c])}),{nodes:a}}getTypeFromVertex(e){let n=typeof e.type==="string"?At(e.type):e.type;switch(n){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return n}}findNode(e,n){return e.find((a)=>a.id===n)}destructEdgeType(e){let n="none",a="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":case"arrow_hierarchy":a=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":n=e.replace("double_",""),a=n;break}return{arrowTypeStart:n,arrowTypeEnd:a}}addNodeFromVertex(e,n,a,o,c,h){let u=a.get(e.id),p=o.get(e.id)??!1,m=this.findNode(n,e.id);if(m)m.cssStyles=e.styles,m.cssCompiledStyles=this.getCompiledStyles(e.classes),m.cssClasses=e.classes.join(" ");else{let k={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:u,padding:c.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:h,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),metadata:e.metadata};if(p)n.push({...k,isGroup:!0,shape:"rect"});else n.push({...k,isGroup:!1,shape:this.getTypeFromVertex(e),wrappingWidth:c.agentflow?.wrappingWidth,minWidth:c.agentflow?.minNodeWidth})}}getCompiledStyles(e){let n=[];for(let a of e){let o=this.classes.get(a);if(o?.styles)n=[...n,...o.styles??[]].map((c)=>c.trim());if(o?.textStyles)n=[...n,...o.textStyles??[]].map((c)=>c.trim())}return n}runPostParseValidators(){if(this.postParseValidationRun)return;this.postParseValidationRun=!0}getData(){this.runPostParseValidators();let e=d(),n=[],a=[],o=this.getSubGraphs(),c=new Map,h=new Map,u=new Set,p=new Map,m=t((f,b,F=new Set)=>{if(F.has(f))return;F.add(f);let q=this.subGraphLookup.get(f);if(!q)return;for(let fe of q.nodes){if(fe===b||F.has(fe))continue;u.add(fe),p.set(fe,b),m(fe,b,F)}},"collectDescendants");for(let f of o)if(f.metadata?.view==="collapsed"&&!u.has(f.id))m(f.id,f.id);let k=t((f,b)=>{let F=new Set,q=b;while(q!==void 0&&!F.has(q)){if(q===f)return!0;F.add(q),q=c.get(q)}return!1},"wouldCloseContainmentCycle");for(let f=o.length-1;f>=0;f--){let b=o[f];if(u.has(b.id))continue;if(b.nodes.length>0)h.set(b.id,!0);for(let F of b.nodes){if(k(F,b.id)){this.emitWarning(Et.CONTAINMENT_VIOLATION,`Container "${b.id}" cannot contain "${F}" because "${F}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:F});continue}c.set(F,b.id)}}for(let f=o.length-1;f>=0;f--){let b=o[f];if(u.has(b.id))continue;if(b.metadata?.view==="collapsed"){let q={...b.metadata,containerType:b.type};n.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:c.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,metadata:q})}else n.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:c.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:K1[b.type??"flow"],dir:b.dir,isGroup:!0,look:e.look,metadata:b.metadata})}this.getVertices().forEach((f)=>{if(u.has(f.id))return;this.addNodeFromVertex(f,n,c,h,e,e.look||"classic")});let S=this.getEdges();S.forEach((f,b)=>{let F=p.get(f.start)??f.start,q=p.get(f.end)??f.end;if(F===q&&f.start!==f.end)return;let{arrowTypeStart:fe,arrowTypeEnd:Se}=this.destructEdgeType(f.type),Ee=[...S.defaultStyle??[]];if(f.style)Ee.push(...f.style);let xe={id:St(F,q,{counter:b,prefix:"L"},f.id),isUserDefinedId:f.isUserDefinedId,start:F,end:q,type:f.type??"normal",label:f.text,labelType:f.labelType,labelpos:"c",thickness:f.stroke,minlen:f.length,classes:f?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:f?.stroke==="invisible"||f?.type==="arrow_open"?"none":fe,arrowTypeEnd:f?.stroke==="invisible"||f?.type==="arrow_open"?"none":Se,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(f.classes),labelStyle:Ee,style:Ee,pattern:f.stroke,look:e.look,animate:f.animate,animation:f.animation,curve:f.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve,metadata:f.metadata};a.push(xe)}),D1(n,this);let y=new Map,v=new Map;for(let f of o){let b=c.get(f.id);if(b!==void 0)v.set(b,[...v.get(b)??[],f.id])}let z=0,V=t((f)=>{if(y.has(f))return;y.set(f,z++);for(let b of v.get(f)??[])V(b)},"walkContainers");for(let f of o)if(c.get(f.id)===void 0)V(f.id);let E=new Set(this.getConnectors().map((f)=>f.id));return I1(n,(f)=>{if(E.has(f))return"connector";let b=this.vertices.get(f);return b?this.deriveVertexKind(b,At(b.type)):void 0},y),{nodes:n,edges:a,other:{},config:e,connectors:this.getConnectors()}}defaultConfig(){return jr.flowchart}deriveVertexKind(e,n){if(this.isToolDefinition(e))return"tool";if(n==="hexagon"||n==="hex")return"action";if(n==="lean-right"||n==="lean_right")return"input";if(n==="lin-doc"||n==="lined-document")return"refdoc";if(n==="diamond")return"decision";return"task"}getSemanticModel(){this.runPostParseValidators();let e=new Set(this.subGraphs.map((u)=>u.id)),n=[],a=[];for(let[u,p]of this.vertices){if(e.has(u))continue;if(p.isConnector){let A={id:u};if(p.text!==void 0&&p.text!==u)A.title=p.text;if(p.metadata&&Object.keys(p.metadata).length>0){let S={};for(let[y,v]of Object.entries(p.metadata)){if(u1.has(y))continue;S[y]=v}if(Object.keys(S).length>0)A.metadata=S}a.push(A);continue}let m={id:u};if(p.text!==void 0)m.label=p.text;let k=typeof p.type==="string"?At(p.type):p.type;if(k!==void 0)m.shape=k;if(m.vertexKind=this.deriveVertexKind(p,k),p.metadata&&Object.keys(p.metadata).length>0){let A={};for(let[S,y]of Object.entries(p.metadata)){if(u1.has(S))continue;A[S]=y}if(Object.keys(A).length>0)m.metadata=A}n.push(m)}let o=this.edges.map((u)=>{let p={start:u.start,end:u.end};if(u.id!==void 0)p.id=u.id;if(typeof u.text==="string"&&u.text.length>0)p.label=u.text;if(u.type!==void 0)p.type=u.type;if(u.stroke!==void 0)p.stroke=u.stroke;if(u.edgeSemantic!==void 0)p.edgeSemantic=u.edgeSemantic;if(u.length!==void 0)p.length=u.length;if(u.metadata&&Object.keys(u.metadata).length>0)p.metadata={...u.metadata};return p}),c=this.subGraphs.map((u)=>{let p={id:u.id,nodes:[...u.nodes]};if(u.type!==void 0)p.type=u.type;if(u.title!==void 0)p.title=u.title;if(u.dir!==void 0)p.direction=u.dir;if(u.metadata&&Object.keys(u.metadata).length>0){let m={};for(let[k,A]of Object.entries(u.metadata)){if(u1.has(k))continue;m[k]=A}if(Object.keys(m).length>0)p.metadata=m}return p}),h={vertices:n,edges:o,subGraphs:c,connectors:a,diagnostics:this.diagnostics};if(this.direction!==void 0)h.direction=this.direction;return h}setFrontmatterLineOffset(e){this.frontmatterLineOffset=e??0}toElementPosition(e){let n=e?.first_line??0,a=e?.first_column??0,o=e?.last_line??n,c=e?.last_column??a,[h,u]=e?.range??[0,0];return{startLine:n+this.frontmatterLineOffset,startColumn:a,endLine:o+this.frontmatterLineOffset,endColumn:c,startIndex:h,endIndex:u}}pushMapping(e,n,a){if(!e)return;let o={id:e,type:n,position:this.toElementPosition(a)};return this.elementMappings.push(o),o}addVertexMapping(e,n,a,o){let c=this.pushMapping(e,"vertex",o);if(c&&a==null)this.bareVertexMappings.add(c)}extendVertexMapping(e,n){if(!e||!n)return;let a=this.toElementPosition(n);for(let o=this.elementMappings.length-1;o>=0;o--){let c=this.elementMappings[o];if(c.type==="vertex"&&c.id===e){if(this.bareVertexMappings.has(c))c.type="attachment",this.bareVertexMappings.delete(c);if(a.endLine>c.position.endLine||a.endLine===c.position.endLine&&a.endColumn>c.position.endColumn)c.position.endLine=a.endLine,c.position.endColumn=a.endColumn,c.position.endIndex=a.endIndex;return}}this.pushMapping(e,"attachment",n)}addEdgeMapping(e,n,a,o){let c=Array.isArray(n)?n.map((u)=>typeof u==="string"?u:u?.id??"").filter(Boolean):[],h=c.length>0?c.join(">"):"edge";this.pushMapping(h,"edge",o)}addSubgraphMapping(e,n,a,o){let c=(typeof e==="string"?e:e?.text)??"",h=this.toElementPosition(a),u=o?this.toElementPosition(o):h;if(!c)return;this.elementMappings.push({id:c,type:"subgraph",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:u.endLine,endColumn:u.endColumn,startIndex:h.startIndex,endIndex:u.endIndex}})}addConnectorMapping(e,n,a,o){let c=e?.text?.trim()??"";if(!c)return;let h=this.toElementPosition(a),u=o?this.toElementPosition(o):h;this.elementMappings.push({id:c,type:"connector",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:u.endLine,endColumn:u.endColumn,startIndex:h.startIndex,endIndex:u.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(e){return this.elementMappings.find((n)=>n.id===e)}getElementsOnLine(e){return this.elementMappings.filter((n)=>e>=n.position.startLine&&e<=n.position.endLine)}getElementAtPosition(e,n){let a=this.elementMappings.filter((c)=>{let{startLine:h,startColumn:u,endLine:p,endColumn:m}=c.position;if(e<h||e>p)return!1;if(e===h&&n<u)return!1;if(e===p&&n>m)return!1;return!0});if(a.length===0)return;let o=t(({position:c})=>[c.endLine-c.startLine,c.endColumn-c.startColumn],"span");return a.reduce((c,h)=>{let[u,p]=o(c),[m,k]=o(h);if(m!==u)return m<u?h:c;return k<p?h:c})}getMappingStats(){let e=0,n=0,a=0,o=0,c=0;for(let h of this.elementMappings)if(h.type==="vertex")e++;else if(h.type==="edge")n++;else if(h.type==="subgraph")a++;else if(h.type==="connector")o++;else if(h.type==="attachment")c++;return{vertices:e,edges:n,subgraphs:a,connectors:o,attachments:c,totalElements:this.elementMappings.length}}emitDiagnostic(e,n,a,o){let c=o?.nodeId??o?.edgeId,h=c?this.getElementById(c):void 0,u={id:e,severity:n,message:a,...o?.nodeId?{nodeId:o.nodeId}:{},...o?.edgeId&&!o?.nodeId?{edgeId:o.edgeId}:{},...h?{position:h.position}:{}};if(this.diagnostics.some((k)=>k.id===u.id&&k.severity===u.severity&&k.message===u.message&&k.nodeId===u.nodeId&&k.edgeId===u.edgeId))return;this.diagnostics.push(u);let m=`agentflow[${e}]: ${a}`;if(n==="error")i.error(m);else i.warn(m)}emitWarning(e,n,a){this.emitDiagnostic(e,"warning",n,a)}emitError(e,n,a){this.emitDiagnostic(e,"error",n,a)}getDiagnostics(){return[...this.diagnostics]}},Y1=t(function(e,n){return n.db.getClasses()},"getClasses"),q1=t(async function(e,n,a,o){i.debug("Drawing agentflow diagram",n);let{securityLevel:c,agentflow:h,layout:u}=d();o.db.setDiagramId(n),i.debug("Before getData: ");let p=o.db.getData();i.debug("Data: ",p);let m=ze(n,c),k=o.db.getDirection();if(p.type=o.type,p.layoutAlgorithm=Ue(u),p.layoutAlgorithm==="dagre"&&u==="elk")i.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback.");p.direction=k,p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["point","circle","cross","hierarchy"],p.diagramId=n,i.debug("REF1:",p),await He(p,m);let A=h?.diagramPadding??8;H.insertTitle(m,"agentflowTitleText",h?.titleTopMargin??0,o.db.getDiagramTitle()),Pe(m,A,"agentflow",h?.useMaxWidth??!0)},"draw"),X1={getClasses:Y1,draw:q1},l1=function(){var e=t(function(Ge,x,T,_){for(T=T||{},_=Ge.length;_--;T[Ge[_]]=x);return T},"o"),n=[1,5],a=[1,4],o=[1,3],c=[1,6],h=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],u=[2,2],p=[1,15],m=[1,16],k=[1,17],A=[1,18],S=[1,19],y=[1,26],v=[1,27],z=[1,28],V=[1,30],E=[1,31],f=[1,32],b=[1,55],F=[1,54],q=[1,34],fe=[1,35],Se=[1,36],Ee=[1,37],xe=[1,38],Q=[1,50],J=[1,52],Z=[1,48],ee=[1,53],te=[1,49],se=[1,56],ie=[1,51],re=[1,57],ne=[1,58],je=[1,39],We=[1,40],Ke=[1,41],Ye=[1,42],qe=[1,43],Re=[1,64],L=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],ce=[1,70],de=[1,68],he=[1,67],pe=[1,69],Ze=[8,9,10,12,78,80,81],$e=[1,88],et=[1,101],tt=[1,106],st=[1,105],it=[1,102],rt=[1,98],nt=[1,104],at=[1,100],ot=[1,107],ut=[1,103],lt=[1,108],dt=[1,99],Xe=[8,9,10,11,12,43,78,80,81],oe=[8,9,10,11,12,43,49,78,80,81],be=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],c1=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],ht=[47,63,92,105,108,109,112,114,117,118,119],d1=[1,131],h1=[1,132],Ct=[1,134],xt=[1,133],p1=[47,63,65,77,92,105,108,109,112,114,117,118,119],Dt=[1,143],_t=[1,157],vt=[1,158],Ft=[1,159],Vt=[1,162],It=[1,161],Lt=[1,160],Bt=[1,145],Mt=[1,147],yt=[1,151],f1=[1,139],g1=[1,140],wt=[1,152],Nt=[1,153],Rt=[1,154],Pt=[1,155],Gt=[1,156],Ut=[1,163],jt=[1,164],zt=[1,141],Wt=[1,142],Ht=[1,149],Yt=[1,144],qt=[1,148],Qt=[1,146],pt=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],b1=[1,168],ft=[1,170],X=[8,9,10,12],ke=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],w=[1,190],ue=[1,186],le=[1,187],G=[1,191],U=[1,188],j=[1,189],gt=[80,119,122],W=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],k1=[11,109],Oe=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],Te=[1,269],_e=[1,267],ve=[1,271],Fe=[1,265],Ve=[1,266],Le=[1,268],Be=[1,270],ye=[1,272],bt=[1,292],m1=[8,9,10,12,109],Ce=[8,9,10,11,12,63,87,108,109,112,113,114,115],s1={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:"error",8:"COMMENT",9:"SEMI",10:"NEWLINE",11:"SPACE",12:"EOF",13:"GRAPH",14:"NODIR",15:"DIR",28:"flow",30:"SQS",32:"SQE",33:"end",35:"global",36:"connector",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"SHAPE_DATA",47:"AMP",49:"STYLE_SEPARATOR",51:"DOUBLECIRCLESTART",52:"DOUBLECIRCLEEND",53:"PS",54:"PE",55:"(-",56:"-)",57:"STADIUMSTART",58:"STADIUMEND",59:"SUBROUTINESTART",60:"SUBROUTINEEND",61:"VERTEX_WITH_PROPS_START",62:"NODE_STRING[field]",63:"COLON",64:"NODE_STRING[value]",65:"PIPE",66:"CYLINDERSTART",67:"CYLINDEREND",68:"DIAMOND_START",69:"DIAMOND_STOP",70:"TAGEND",71:"TRAPSTART",72:"TRAPEND",73:"INVTRAPSTART",74:"INVTRAPEND",77:"TESTSTR",78:"START_LINK",80:"LINK",81:"LINK_ID",83:"STR",84:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"idString[vertex]",97:"idString[class]",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"STR[link]",103:"STR[tooltip]",105:"DEFAULT",107:"INTERPOLATE",108:"NUM",109:"COMMA",112:"NODE_STRING",113:"UNIT",114:"BRKT",115:"PCT",117:"MINUS",118:"MULT",119:"UNICODE_TEXT",120:"TEXT",121:"TAGSTART",122:"EDGE_TEXT",124:"direction_tb",125:"direction_bt",126:"direction_rl",127:"direction_lr",128:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:t(function(x,T,_,l,K,s,B){var r=s.length-1;switch(K){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 198:this.$=s[r];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:l.setDirection("TB"),this.$="TB";break;case 14:l.setDirection(s[r-1]),this.$=s[r-1];break;case 32:this.$=s[r-1].nodes;break;case 38:if(this.$=l.addSubGraph(s[r-6],s[r-1],s[r-4],"flow"),l.addSubgraphMapping)l.addSubgraphMapping(s[r-6],s[r-4],B[r-8],B[r]);break;case 39:if(this.$=l.addSubGraph(s[r-7],s[r-1],s[r-5],"flow"),l.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-3],B[r-3]),l.addSubgraphMapping)l.addSubgraphMapping(s[r-7],s[r-5],B[r-9],B[r]);break;case 40:if(this.$=l.addSubGraph(s[r-3],s[r-1],{text:"",type:"text"},"flow"),l.addSubgraphMapping)l.addSubgraphMapping(s[r-3],{text:"",type:"text"},B[r-5],B[r]);break;case 41:if(this.$=l.addSubGraph(s[r-4],s[r-1],{text:"",type:"text"},"flow"),l.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-3],B[r-3]),l.addSubgraphMapping)l.addSubgraphMapping(s[r-4],{text:"",type:"text"},B[r-6],B[r]);break;case 42:if(this.$=l.addSubGraph(void 0,s[r-1],void 0,"flow"),l.addSubgraphMapping)l.addSubgraphMapping(void 0,void 0,B[r-3],B[r]);break;case 43:l.addGlobal(s[r-1]),this.$=[];break;case 44:if(this.$=l.addConnector(s[r-4],s[r-2]),l.addConnectorMapping)l.addConnectorMapping(s[r-4],s[r-2],B[r-6],B[r]);break;case 45:if(this.$=l.addConnector(s[r-5],s[r-3]),l.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-1],B[r-1]),l.addConnectorMapping)l.addConnectorMapping(s[r-5],s[r-3],B[r-7],B[r]);break;case 46:if(this.$=l.addConnector(s[r-1],{text:"",type:"text"}),l.addConnectorMapping)l.addConnectorMapping(s[r-1],{text:"",type:"text"},B[r-3],B[r]);break;case 47:if(this.$=l.addConnector(s[r-2],{text:"",type:"text"}),l.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-1],B[r-1]),l.addConnectorMapping)l.addConnectorMapping(s[r-2],{text:"",type:"text"},B[r-4],B[r]);break;case 49:this.$=s[r].trim(),l.setAccTitle(this.$);break;case 50:case 51:this.$=s[r].trim(),l.setAccDescription(this.$);break;case 56:this.$=s[r-1]+s[r];break;case 57:this.$=s[r];break;case 58:if(l.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r],B[r]),l.extendVertexMapping)l.extendVertexMapping(s[r-1][s[r-1].length-1],B[r]);if(l.addLink(s[r-3].stmt,s[r-1],s[r-2]),l.addEdgeMapping)l.addEdgeMapping(s[r-3].stmt,s[r-1],s[r-2],this._$);this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 59:if(l.addLink(s[r-2].stmt,s[r],s[r-1]),l.addEdgeMapping)l.addEdgeMapping(s[r-2].stmt,s[r],s[r-1],this._$);this.$={stmt:s[r],nodes:s[r].concat(s[r-2].nodes)};break;case 60:if(l.addLink(s[r-3].stmt,s[r-1],s[r-2]),l.addEdgeMapping)l.addEdgeMapping(s[r-3].stmt,s[r-1],s[r-2],this._$);this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 61:this.$={stmt:s[r-1],nodes:s[r-1]};break;case 62:if(l.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r],B[r]),l.extendVertexMapping)l.extendVertexMapping(s[r-1][s[r-1].length-1],B[r]);this.$={stmt:s[r-1],nodes:s[r-1],shapeData:s[r]};break;case 63:this.$={stmt:s[r],nodes:s[r]};break;case 64:this.$=[s[r]];break;case 65:if(l.addVertex(s[r-5][s[r-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r-4],B[r-4]),l.extendVertexMapping)l.extendVertexMapping(s[r-5][s[r-5].length-1],B[r-4]);this.$=s[r-5].concat(s[r]);break;case 66:this.$=s[r-4].concat(s[r]);break;case 67:this.$=s[r];break;case 68:this.$=s[r-2],l.setClass(s[r-2],s[r]);break;case 69:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"square"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"square",this._$);break;case 70:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"doublecircle"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"doublecircle",this._$);break;case 71:if(this.$=s[r-5],l.addVertex(s[r-5],s[r-2],"circle"),l.addVertexMapping)l.addVertexMapping(s[r-5],s[r-2],"circle",this._$);break;case 72:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"ellipse"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"ellipse",this._$);break;case 73:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"stadium"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"stadium",this._$);break;case 74:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"subroutine"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"subroutine",this._$);break;case 75:if(this.$=s[r-7],l.addVertex(s[r-7],s[r-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[r-5],s[r-3]]])),l.addVertexMapping)l.addVertexMapping(s[r-7],s[r-1],"rect",this._$);break;case 76:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"cylinder"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"cylinder",this._$);break;case 77:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"round"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"round",this._$);break;case 78:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"diamond"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"diamond",this._$);break;case 79:if(this.$=s[r-5],l.addVertex(s[r-5],s[r-2],"hexagon"),l.addVertexMapping)l.addVertexMapping(s[r-5],s[r-2],"hexagon",this._$);break;case 80:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"odd"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"odd",this._$);break;case 81:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"trapezoid"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"trapezoid",this._$);break;case 82:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"inv_trapezoid"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"inv_trapezoid",this._$);break;case 83:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"lean_right"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"lean_right",this._$);break;case 84:if(this.$=s[r-3],l.addVertex(s[r-3],s[r-1],"lean_left"),l.addVertexMapping)l.addVertexMapping(s[r-3],s[r-1],"lean_left",this._$);break;case 85:if(this.$=s[r],l.addVertex(s[r]),l.addVertexMapping)l.addVertexMapping(s[r],void 0,void 0,this._$);break;case 86:s[r-1].text=s[r],this.$=s[r-1];break;case 87:case 88:s[r-2].text=s[r-1],this.$=s[r-2];break;case 89:this.$=s[r];break;case 90:var Y=l.destructLink(s[r],s[r-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[r-1]};break;case 91:var Y=l.destructLink(s[r],s[r-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[r-1],id:s[r-3]};break;case 92:this.$={text:s[r],type:"text"};break;case 93:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 94:this.$={text:s[r],type:"string"};break;case 95:this.$={text:s[r],type:"markdown"};break;case 96:var Y=l.destructLink(s[r]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic};break;case 97:var Y=l.destructLink(s[r]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,id:s[r-1]};break;case 98:this.$=s[r-1];break;case 99:this.$={text:s[r],type:"text"};break;case 100:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 101:this.$={text:s[r],type:"string"};break;case 102:case 119:this.$={text:s[r],type:"markdown"};break;case 116:this.$={text:s[r],type:"text"};break;case 117:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 118:this.$={text:s[r],type:"text"};break;case 120:this.$=s[r-4],l.addClass(s[r-2],s[r]);break;case 121:this.$=s[r-4],l.setClass(s[r-2],s[r]);break;case 122:case 130:this.$=s[r-1],l.setClickEvent(s[r-1],s[r]);break;case 123:case 131:this.$=s[r-3],l.setClickEvent(s[r-3],s[r-2]),l.setTooltip(s[r-3],s[r]);break;case 124:this.$=s[r-2],l.setClickEvent(s[r-2],s[r-1],s[r]);break;case 125:this.$=s[r-4],l.setClickEvent(s[r-4],s[r-3],s[r-2]),l.setTooltip(s[r-4],s[r]);break;case 126:this.$=s[r-2],l.setLink(s[r-2],s[r]);break;case 127:this.$=s[r-4],l.setLink(s[r-4],s[r-2]),l.setTooltip(s[r-4],s[r]);break;case 128:this.$=s[r-4],l.setLink(s[r-4],s[r-2],s[r]);break;case 129:this.$=s[r-6],l.setLink(s[r-6],s[r-4],s[r]),l.setTooltip(s[r-6],s[r-2]);break;case 132:this.$=s[r-1],l.setLink(s[r-1],s[r]);break;case 133:this.$=s[r-3],l.setLink(s[r-3],s[r-2]),l.setTooltip(s[r-3],s[r]);break;case 134:this.$=s[r-3],l.setLink(s[r-3],s[r-2],s[r]);break;case 135:this.$=s[r-5],l.setLink(s[r-5],s[r-4],s[r]),l.setTooltip(s[r-5],s[r-2]);break;case 136:this.$=s[r-4],l.addVertex(s[r-2],void 0,void 0,s[r]);break;case 137:this.$=s[r-4],l.updateLink([s[r-2]],s[r]);break;case 138:this.$=s[r-4],l.updateLink(s[r-2],s[r]);break;case 139:this.$=s[r-8],l.updateLinkInterpolate([s[r-6]],s[r-2]),l.updateLink([s[r-6]],s[r]);break;case 140:this.$=s[r-8],l.updateLinkInterpolate(s[r-6],s[r-2]),l.updateLink(s[r-6],s[r]);break;case 141:this.$=s[r-6],l.updateLinkInterpolate([s[r-4]],s[r]);break;case 142:this.$=s[r-6],l.updateLinkInterpolate(s[r-4],s[r]);break;case 143:case 145:this.$=[s[r]];break;case 144:case 146:s[r-2].push(s[r]),this.$=s[r-2];break;case 148:this.$=s[r-1]+s[r];break;case 196:this.$=s[r];break;case 197:this.$=s[r-1]+""+s[r];break;case 199:this.$=s[r-1]+""+s[r];break;case 200:this.$={stmt:"dir",value:"TB"};break;case 201:this.$={stmt:"dir",value:"BT"};break;case 202:this.$={stmt:"dir",value:"RL"};break;case 203:this.$={stmt:"dir",value:"LR"};break;case 204:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,8:n,10:a,11:o,13:c},{1:[3]},e(h,u,{5:7}),{4:8,8:n,10:a,11:o,13:c},{4:9,8:n,10:a,11:o,13:c},{4:10,8:n,10:a,11:o,13:c},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(h,[2,10]),e(h,[2,11]),e(h,[2,12]),e(h,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:Re,16:59,19:62},e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),e(L,[2,6]),e(L,[2,7]),e(L,[2,8]),e(L,[2,9]),{8:ce,9:de,10:he,12:pe,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:ce,9:de,10:he,12:pe,22:75},{8:ce,9:de,10:he,12:pe,22:76},{8:ce,9:de,10:he,12:pe,22:77},{8:ce,9:de,10:he,12:pe,22:78},{8:ce,9:de,10:he,12:pe,22:79},{8:ce,9:de,10:he,11:[1,80],12:pe,22:81},{8:ce,9:de,10:he,12:pe,22:82},{11:[1,83]},e(L,[2,48]),{39:[1,84]},{41:[1,85]},e(L,[2,51]),e(Ze,[2,63],{19:86,34:87,11:Re,43:$e}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:et,47:tt,63:st,83:[1,96],92:it,98:[1,93],100:[1,94],104:95,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt,123:97},e(L,[2,200]),e(L,[2,201]),e(L,[2,202]),e(L,[2,203]),e(L,[2,204]),e(Xe,[2,64]),e(Xe,[2,67],{49:[1,109]}),e(oe,[2,85],{116:122,30:[1,110],47:b,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:F,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(be,[2,196]),e(be,[2,157]),e(be,[2,158]),e(be,[2,159]),e(be,[2,160]),e(be,[2,161]),e(be,[2,162]),e(be,[2,163]),e(be,[2,164]),e(be,[2,165]),e(be,[2,166]),e(be,[2,167]),e(h,[2,14]),e(h,[2,20]),e(h,[2,21]),{10:[1,123]},e(h,[2,23]),e(c1,[2,31],{19:124,11:Re}),e(L,[2,32]),{45:125,46:44,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(ht,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:d1,84:h1,119:Ct,122:xt},{78:[1,135],80:[1,136]},e(p1,[2,96]),e(L,[2,33]),e(L,[2,34]),e(L,[2,35]),e(L,[2,36]),e(L,[2,37]),{11:Dt,13:_t,15:vt,28:Ft,29:137,33:Vt,35:It,36:Lt,47:Bt,63:Mt,78:yt,83:f1,84:g1,86:150,87:wt,88:Nt,89:Rt,90:Pt,91:Gt,92:Ut,93:jt,94:138,108:zt,112:Wt,114:Ht,117:Yt,118:qt,119:Qt},e(pt,u,{5:165}),e(pt,u,{5:166}),{11:Dt,13:_t,15:vt,28:Ft,29:167,33:Vt,35:It,36:Lt,47:Bt,63:Mt,78:yt,83:f1,84:g1,86:150,87:wt,88:Nt,89:Rt,90:Pt,91:Gt,92:Ut,93:jt,94:138,108:zt,112:Wt,114:Ht,117:Yt,118:qt,119:Qt},e(L,[2,49]),e(L,[2,50]),e(Ze,[2,61],{47:b1}),e(Ze,[2,62],{19:169,11:Re,43:ft}),e(Xe,[2,57]),{47:b,50:171,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{105:[1,172],106:173,108:[1,174]},{47:b,50:175,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{47:b,50:176,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},e(X,[2,130],{123:181,11:[1,180],15:et,47:tt,63:st,92:it,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt}),e(X,[2,132],{11:[1,182]}),e(ke,[2,198]),e(ke,[2,185]),e(ke,[2,186]),e(ke,[2,187]),e(ke,[2,188]),e(ke,[2,189]),e(ke,[2,190]),e(ke,[2,191]),e(ke,[2,192]),e(ke,[2,193]),e(ke,[2,194]),e(ke,[2,195]),{47:b,50:183,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{31:184,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:192,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:194,53:[1,193],70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:195,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:196,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:197,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{112:[1,198]},{31:199,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:200,68:[1,201],70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:202,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:203,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:204,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(be,[2,197]),e(h,[2,22]),e(c1,[2,30]),e(Ze,[2,59],{34:205,19:206,11:Re,43:$e}),e(ht,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{80:[1,210],82:211,119:Ct,122:xt},e(gt,[2,92]),e(gt,[2,94]),e(gt,[2,95]),e(gt,[2,183]),e(gt,[2,184]),{79:212,82:130,83:d1,84:h1,119:Ct,122:xt},e(p1,[2,97]),{8:ce,9:de,10:he,11:Dt,12:pe,13:_t,15:vt,22:214,28:Ft,30:[1,213],33:Vt,34:215,35:It,36:Lt,43:$e,47:Bt,63:Mt,78:yt,86:150,87:wt,88:Nt,89:Rt,90:Pt,91:Gt,92:Ut,93:jt,94:216,108:zt,112:Wt,114:Ht,117:Yt,118:qt,119:Qt},e(W,[2,116]),e(W,[2,118]),e(W,[2,119]),e(W,[2,172]),e(W,[2,173]),e(W,[2,174]),e(W,[2,175]),e(W,[2,176]),e(W,[2,177]),e(W,[2,178]),e(W,[2,179]),e(W,[2,180]),e(W,[2,181]),e(W,[2,182]),e(W,[2,103]),e(W,[2,104]),e(W,[2,105]),e(W,[2,106]),e(W,[2,107]),e(W,[2,108]),e(W,[2,109]),e(W,[2,110]),e(W,[2,111]),e(W,[2,112]),e(W,[2,113]),e(W,[2,114]),e(W,[2,115]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,217],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,218],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{8:ce,9:de,10:he,11:Dt,12:pe,13:_t,15:vt,22:220,28:Ft,30:[1,219],33:Vt,34:221,35:It,36:Lt,43:$e,47:Bt,63:Mt,78:yt,86:150,87:wt,88:Nt,89:Rt,90:Pt,91:Gt,92:Ut,93:jt,94:216,108:zt,112:Wt,114:Ht,117:Yt,118:qt,119:Qt},{11:Re,19:222},{47:[1,223]},e(Xe,[2,56]),{11:[1,224],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,225]},{11:[1,226],109:[1,227]},e(k1,[2,143]),{11:[1,228],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,229],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{83:[1,230]},e(X,[2,124],{11:[1,231]}),e(X,[2,126],{11:[1,232]}),{83:[1,233]},e(ke,[2,199]),{83:[1,234],101:[1,235]},e(Xe,[2,68],{116:122,47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),{32:[1,236],70:w,85:237,119:G,120:U,121:j},e(Oe,[2,99]),e(Oe,[2,101]),e(Oe,[2,102]),e(Oe,[2,168]),e(Oe,[2,169]),e(Oe,[2,170]),e(Oe,[2,171]),{52:[1,238],70:w,85:237,119:G,120:U,121:j},{31:239,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{54:[1,240],70:w,85:237,119:G,120:U,121:j},{56:[1,241],70:w,85:237,119:G,120:U,121:j},{58:[1,242],70:w,85:237,119:G,120:U,121:j},{60:[1,243],70:w,85:237,119:G,120:U,121:j},{63:[1,244]},{67:[1,245],70:w,85:237,119:G,120:U,121:j},{69:[1,246],70:w,85:237,119:G,120:U,121:j},{31:247,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{32:[1,248],70:w,85:237,119:G,120:U,121:j},{70:w,72:[1,249],74:[1,250],85:237,119:G,120:U,121:j},{70:w,72:[1,252],74:[1,251],85:237,119:G,120:U,121:j},e(Ze,[2,58],{19:169,11:Re,43:ft}),e(Ze,[2,60],{47:b1}),e(ht,[2,88]),e(ht,[2,87]),{65:[1,253],70:w,85:237,119:G,120:U,121:j},e(ht,[2,90]),e(gt,[2,93]),{80:[1,254],82:211,119:Ct,122:xt},{31:255,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(pt,u,{5:256}),{8:ce,9:de,10:he,12:pe,22:257,43:ft},e(W,[2,117]),e(L,[2,42]),e(L,[2,43]),{31:258,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(L,[2,46]),{8:ce,9:de,10:he,12:pe,22:259,43:ft},{46:260,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{11:Re,19:261},{11:Te,63:_e,87:ve,95:262,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:273,107:[1,274],108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:275,107:[1,276],108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{108:[1,277]},{11:Te,63:_e,87:ve,95:278,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{47:b,50:279,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},e(X,[2,131]),e(X,[2,133],{11:[1,283]}),e(X,[2,134]),e(oe,[2,69]),e(Oe,[2,100]),e(oe,[2,70]),{54:[1,284],70:w,85:237,119:G,120:U,121:j},e(oe,[2,77]),e(oe,[2,72]),e(oe,[2,73]),e(oe,[2,74]),{112:[1,285]},e(oe,[2,76]),e(oe,[2,78]),{69:[1,286],70:w,85:237,119:G,120:U,121:j},e(oe,[2,80]),e(oe,[2,81]),e(oe,[2,83]),e(oe,[2,82]),e(oe,[2,84]),e([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),e(ht,[2,91]),{32:[1,287],70:w,85:237,119:G,120:U,121:j},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,288],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(pt,u,{5:289}),{32:[1,290],70:w,85:237,119:G,120:U,121:j},e(L,[2,47]),e(Xe,[2,66]),{46:291,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,136],{109:bt}),e(m1,[2,145],{111:293,11:Te,63:_e,87:ve,108:Fe,112:Ve,113:Le,114:Be,115:ye}),e(Ce,[2,147]),e(Ce,[2,149]),e(Ce,[2,150]),e(Ce,[2,151]),e(Ce,[2,152]),e(Ce,[2,153]),e(Ce,[2,154]),e(Ce,[2,155]),e(Ce,[2,156]),e(X,[2,137],{109:bt}),{11:[1,294]},e(X,[2,138],{109:bt}),{11:[1,295]},e(k1,[2,144]),e(X,[2,120],{109:bt}),e(X,[2,121],{116:122,47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(X,[2,125]),e(X,[2,127],{11:[1,296]}),e(X,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:ce,9:de,10:he,12:pe,22:301,34:302,43:$e},e(L,[2,40]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,303],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{8:ce,9:de,10:he,12:pe,22:304,34:305,43:$e},e(Xe,[2,65]),{11:Te,63:_e,87:ve,108:Fe,110:306,111:264,112:Ve,113:Le,114:Be,115:ye},e(Ce,[2,148]),{15:et,47:tt,63:st,92:it,104:307,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt,123:97},{15:et,47:tt,63:st,92:it,104:308,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt,123:97},{101:[1,309]},e(X,[2,135]),e(oe,[2,71]),{31:310,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(oe,[2,79]),e(pt,u,{5:311}),{8:ce,9:de,10:he,12:pe,22:312,43:ft},e(L,[2,41]),e(L,[2,44]),{8:ce,9:de,10:he,12:pe,22:313,43:ft},e(m1,[2,146],{111:293,11:Te,63:_e,87:ve,108:Fe,112:Ve,113:Le,114:Be,115:ye}),e(X,[2,141],{123:181,11:[1,314],15:et,47:tt,63:st,92:it,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt}),e(X,[2,142],{123:181,11:[1,315],15:et,47:tt,63:st,92:it,108:rt,109:nt,112:at,114:ot,117:ut,118:lt,119:dt}),e(X,[2,129]),{32:[1,316],70:w,85:237,119:G,120:U,121:j},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,317],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(pt,u,{5:318}),e(L,[2,45]),{11:Te,63:_e,87:ve,95:319,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:320,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},e(oe,[2,75]),e(L,[2,38]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,321],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(X,[2,139],{109:bt}),e(X,[2,140],{109:bt}),e(L,[2,39])],defaultActions:{},parseError:t(function(x,T){if(T.recoverable)this.trace(x);else{var _=Error(x);throw _.hash=T,_}},"parseError"),parse:t(function(x){var T=this,_=[0],l=[],K=[null],s=[],B=this.table,r="",Y=0,A1=0,E1=0,w1=2,C1=1,N1=s.slice.call(arguments,1),ae=Object.create(this.lexer),Qe={yy:{}};for(var i1 in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,i1))Qe.yy[i1]=this.yy[i1];if(ae.setInput(x,Qe.yy),Qe.yy.lexer=ae,Qe.yy.parser=this,typeof ae.yylloc>"u")ae.yylloc={};var r1=ae.yylloc;s.push(r1);var R1=ae.options&&ae.options.ranges;if(typeof Qe.yy.parseError==="function")this.parseError=Qe.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function O1(Ae){_.length=_.length-2*Ae,K.length=K.length-Ae,s.length=s.length-Ae}t(O1,"popStack");function S1(){var Ae=l.pop()||ae.lex()||C1;if(typeof Ae!=="number"){if(Ae instanceof Array)l=Ae,Ae=l.pop();Ae=T.symbols_[Ae]||Ae}return Ae}t(S1,"lex");var ge,n1,Je,me,ts,a1,kt={},Zt,we,x1,$t;while(!0){if(Je=_[_.length-1],this.defaultActions[Je])me=this.defaultActions[Je];else{if(ge===null||typeof ge>"u")ge=S1();me=B[Je]&&B[Je][ge]}if(typeof me>"u"||!me.length||!me[0]){var o1="";$t=[];for(Zt in B[Je])if(this.terminals_[Zt]&&Zt>w1)$t.push("'"+this.terminals_[Zt]+"'");if(ae.showPosition)o1="Parse error on line "+(Y+1)+`:
|
|
23
|
+
`+ae.showPosition()+`
|
|
24
|
+
Expecting `+$t.join(", ")+", got '"+(this.terminals_[ge]||ge)+"'";else o1="Parse error on line "+(Y+1)+": Unexpected "+(ge==C1?"end of input":"'"+(this.terminals_[ge]||ge)+"'");this.parseError(o1,{text:ae.match,token:this.terminals_[ge]||ge,line:ae.yylineno,loc:r1,expected:$t})}if(me[0]instanceof Array&&me.length>1)throw Error("Parse Error: multiple actions possible at state: "+Je+", token: "+ge);switch(me[0]){case 1:if(_.push(ge),K.push(ae.yytext),s.push(ae.yylloc),_.push(me[1]),ge=null,!n1){if(A1=ae.yyleng,r=ae.yytext,Y=ae.yylineno,r1=ae.yylloc,E1>0)E1--}else ge=n1,n1=null;break;case 2:if(we=this.productions_[me[1]][1],kt.$=K[K.length-we],kt._$={first_line:s[s.length-(we||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(we||1)].first_column,last_column:s[s.length-1].last_column},R1)kt._$.range=[s[s.length-(we||1)].range[0],s[s.length-1].range[1]];if(a1=this.performAction.apply(kt,[r,A1,Y,Qe.yy,me[1],K,s].concat(N1)),typeof a1<"u")return a1;if(we)_=_.slice(0,-1*we*2),K=K.slice(0,-1*we),s=s.slice(0,-1*we);_.push(this.productions_[me[1]][0]),K.push(kt.$),s.push(kt._$),x1=B[_[_.length-2]][_[_.length-1]],_.push(x1);break;case 3:return!0}}return!0},"parse")},y1=function(){var Ge={EOF:1,parseError:t(function(T,_){if(this.yy.parser)this.yy.parser.parseError(T,_);else throw Error(T)},"parseError"),setInput:t(function(x,T){if(this.yy=T||this.yy||{},this._input=x,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 x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var T=x.match(/(?:\r\n?|\n).*/g);if(T)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),x},"input"),unput:t(function(x){var T=x.length,_=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-T),this.offset-=T;var l=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),_.length-1)this.yylineno-=_.length-1;var K=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:_?(_.length===l.length?this.yylloc.first_column:0)+l[l.length-_.length].length-_[0].length:this.yylloc.first_column-T},this.options.ranges)this.yylloc.range=[K[0],K[0]+this.yyleng-T];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).
|
|
25
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(x){this.unput(this.match.slice(x))},"less"),pastInput:t(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var x=this.match;if(x.length<20)x+=this._input.substr(0,20-x.length);return(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var x=this.pastInput(),T=Array(x.length+1).join("-");return x+this.upcomingInput()+`
|
|
26
|
+
`+T+"^"},"showPosition"),test_match:t(function(x,T){var _,l,K;if(this.options.backtrack_lexer){if(K={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)K.yylloc.range=this.yylloc.range.slice(0)}if(l=x[0].match(/(?:\r\n?|\n).*/g),l)this.yylineno+=l.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+x[0].length},this.yytext+=x[0],this.match+=x[0],this.matches=x,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(x[0].length),this.matched+=x[0],_=this.performAction.call(this,this.yy,this,T,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(_)return _;else if(this._backtrack){for(var s in K)this[s]=K[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var x,T,_,l;if(!this._more)this.yytext="",this.match="";var K=this._currentRules();for(var s=0;s<K.length;s++)if(_=this._input.match(this.rules[K[s]]),_&&(!T||_[0].length>T[0].length)){if(T=_,l=s,this.options.backtrack_lexer)if(x=this.test_match(_,K[s]),x!==!1)return x;else if(this._backtrack){T=!1;continue}else return!1;else if(!this.options.flex)break}if(T){if(x=this.test_match(T,K[l]),x!==!1)return x;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
27
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var T=this.next();if(T)return T;else return this.lex()},"lex"),begin:t(function(T){this.conditionStack.push(T)},"begin"),popState:t(function(){var T=this.conditionStack.length-1;if(T>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(T){if(T=this.conditionStack.length-1-Math.abs(T||0),T>=0)return this.conditionStack[T];else return"INITIAL"},"topState"),pushState:t(function(T){this.begin(T)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(T,_,l,K){var s=K;switch(l){case 0:return this.begin("acc_title"),38;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),40;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),_.yytext="",43;break;case 8:return this.pushState("shapeDataStr"),43;break;case 9:return this.popState(),43;break;case 10:let B=/\n\s*/g;return _.yytext=_.yytext.replace(B,"<br/>"),43;break;case 11:return 43;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 91;case 35:if(T.lex.firstGraph())this.begin("dir");return 13;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;break;case 45:return this.popState(),15;break;case 46:return this.popState(),15;break;case 47:return this.popState(),15;break;case 48:return this.popState(),15;break;case 49:return this.popState(),15;break;case 50:return this.popState(),15;break;case 51:return this.popState(),15;break;case 52:return this.popState(),15;break;case 53:return this.popState(),15;break;case 54:return this.popState(),15;break;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;break;case 70:return this.pushState("edgeText"),78;break;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;break;case 75:return"TEXT";case 76:return this.pushState("ellipseText"),55;break;case 77:return this.popState(),58;break;case 78:return this.pushState("text"),57;break;case 79:return this.popState(),60;break;case 80:return this.pushState("text"),59;break;case 81:return 61;case 82:return this.pushState("text"),70;break;case 83:return this.popState(),67;break;case 84:return this.pushState("text"),66;break;case 85:return this.popState(),52;break;case 86:return this.pushState("text"),51;break;case 87:break;case 88:return this.popState(),72;break;case 89:return this.popState(),74;break;case 90:return 120;case 91:return this.pushState("trapText"),71;break;case 92:return this.pushState("trapText"),73;break;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;break;case 106:return this.pushState("text"),65;break;case 107:return this.popState(),54;break;case 108:return this.pushState("text"),53;break;case 109:return this.popState(),32;break;case 110:return this.pushState("text"),30;break;case 111:return this.popState(),69;break;case 112:return this.pushState("text"),68;break;case 113:break;case 114:return"TEXT";case 115:return"QUOTE";case 116:return 10;case 117:return 11;case 118:return 12}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}};return Ge}();s1.lexer=y1;function Jt(){this.yy={}}return t(Jt,"Parser"),Jt.prototype=s1,s1.Parser=Jt,new Jt}();l1.parser=l1;var B1=l1,M1=Object.assign({},B1);M1.parse=(e)=>{let n=e.replace(/}[^\S\n]*\n/g,`}
|
|
28
|
+
`);return B1.parse(n)};var Q1=M1,J1=t((e)=>{let{theme:n,bkgColorArray:a,borderColorArray:o}=e;if(!Ne(n,o))return"";let c=Me(e.look),h=De(a),u=Ot(e.THEME_COLOR_LIMIT,o),p=t((A)=>o[A%o.length],"border"),m=t((A)=>h?`fill: ${a[A%a.length]};`:"","fill"),k="";for(let A of z1){let S=t1.get(A),y=`[data-look="${c}"].node.${v1(A)}`;k+=`
|
|
29
|
+
|
|
30
|
+
${y} rect,
|
|
31
|
+
${y} path,
|
|
32
|
+
${y} polygon {
|
|
33
|
+
stroke: ${p(S)};
|
|
34
|
+
${m(S)}
|
|
35
|
+
}
|
|
36
|
+
`}for(let A=0;A<F1(u);A++){let S=V1(A,u),y=`[data-look="${c}"][data-color-id="color-${S}"].cluster`,v=`[data-look="${c}"][data-color-id="color-${S}"].node`,z=t((V)=>`${y} ${V}, ${v} ${V}`,"rule");k+=`
|
|
37
|
+
|
|
38
|
+
${z("rect")},
|
|
39
|
+
${z("path")} {
|
|
40
|
+
stroke: ${p(S)};
|
|
41
|
+
${m(S)}
|
|
42
|
+
}
|
|
43
|
+
`}return k},"genColor"),Z1=t((e,n)=>{let a=Bn,o=a(e,"r"),c=a(e,"g"),h=a(e,"b");return Ie(o,c,h,n)},"fade"),$1=t((e)=>`${J1(e)}
|
|
44
|
+
.label {
|
|
45
|
+
font-family: ${e.fontFamily};
|
|
46
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
47
|
+
}
|
|
48
|
+
.cluster-label text {
|
|
49
|
+
fill: ${e.titleColor};
|
|
50
|
+
}
|
|
51
|
+
.cluster-label span {
|
|
52
|
+
color: ${e.titleColor};
|
|
53
|
+
}
|
|
54
|
+
.cluster-label span p {
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.label text,span {
|
|
59
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
60
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.node rect,
|
|
64
|
+
.node circle,
|
|
65
|
+
.node ellipse,
|
|
66
|
+
.node polygon,
|
|
67
|
+
.node path {
|
|
68
|
+
fill: ${e.mainBkg};
|
|
69
|
+
stroke: ${e.nodeBorder};
|
|
70
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
71
|
+
}
|
|
72
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
73
|
+
text-anchor: middle;
|
|
74
|
+
}
|
|
75
|
+
.node .katex path {
|
|
76
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
77
|
+
stroke: ${e.nodeTextColor||e.textColor};
|
|
78
|
+
stroke-width: 1px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
82
|
+
text-align: center;
|
|
83
|
+
}
|
|
84
|
+
.node.clickable {
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
.root .anchor path {
|
|
90
|
+
fill: ${e.lineColor} !important;
|
|
91
|
+
stroke-width: 0;
|
|
92
|
+
stroke: ${e.lineColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.arrowheadPath {
|
|
96
|
+
fill: ${e.arrowheadColor};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.edgePaths .path {
|
|
100
|
+
stroke: ${e.lineColor};
|
|
101
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.flowchart-link {
|
|
105
|
+
stroke: ${e.lineColor};
|
|
106
|
+
fill: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.edgeLabel {
|
|
110
|
+
background-color: ${e.edgeLabelBackground};
|
|
111
|
+
p {
|
|
112
|
+
background-color: ${e.edgeLabelBackground};
|
|
113
|
+
}
|
|
114
|
+
rect {
|
|
115
|
+
opacity: 0.5;
|
|
116
|
+
background-color: ${e.edgeLabelBackground};
|
|
117
|
+
fill: ${e.edgeLabelBackground};
|
|
118
|
+
}
|
|
119
|
+
text-align: center;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* For html labels only */
|
|
123
|
+
.labelBkg {
|
|
124
|
+
background-color: ${Z1(e.edgeLabelBackground,0.5)};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.cluster rect {
|
|
128
|
+
fill: ${e.clusterBkg};
|
|
129
|
+
stroke: ${e.clusterBorder};
|
|
130
|
+
stroke-width: 1px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.flow-cluster rect {
|
|
134
|
+
fill: none;
|
|
135
|
+
stroke: ${e.clusterBorder};
|
|
136
|
+
stroke-width: 0.75px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.node .collapsed-indicator {
|
|
140
|
+
fill: ${e.nodeBorder};
|
|
141
|
+
stroke: none;
|
|
142
|
+
stroke-width: 0;
|
|
143
|
+
opacity: 0.5;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.node .collapsed-separator {
|
|
147
|
+
stroke-width: 0.75px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.cluster text {
|
|
151
|
+
fill: ${e.titleColor};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cluster span {
|
|
155
|
+
color: ${e.titleColor};
|
|
156
|
+
}
|
|
157
|
+
/* .cluster div {
|
|
158
|
+
color: ${e.titleColor};
|
|
159
|
+
} */
|
|
160
|
+
|
|
161
|
+
div.mermaidTooltip {
|
|
162
|
+
position: absolute;
|
|
163
|
+
text-align: center;
|
|
164
|
+
max-width: 200px;
|
|
165
|
+
padding: 2px;
|
|
166
|
+
font-family: ${e.fontFamily};
|
|
167
|
+
font-size: 12px;
|
|
168
|
+
background: ${e.tertiaryColor};
|
|
169
|
+
border: 1px solid ${e.border2};
|
|
170
|
+
border-radius: 2px;
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
z-index: 100;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.agentflowTitleText {
|
|
176
|
+
text-anchor: middle;
|
|
177
|
+
font-size: 18px;
|
|
178
|
+
fill: ${e.textColor};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
rect.text {
|
|
182
|
+
fill: none;
|
|
183
|
+
stroke-width: 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.icon-shape, .image-shape {
|
|
187
|
+
background-color: ${e.edgeLabelBackground};
|
|
188
|
+
p {
|
|
189
|
+
background-color: ${e.edgeLabelBackground};
|
|
190
|
+
padding: 2px;
|
|
191
|
+
}
|
|
192
|
+
.label rect {
|
|
193
|
+
opacity: 0.5;
|
|
194
|
+
background-color: ${e.edgeLabelBackground};
|
|
195
|
+
fill: ${e.edgeLabelBackground};
|
|
196
|
+
}
|
|
197
|
+
text-align: center;
|
|
198
|
+
}
|
|
199
|
+
${Tt()}
|
|
200
|
+
`,"getStyles"),es=$1,Ds={parser:Q1,get db(){return new H1},renderer:X1,styles:es,init:t((e)=>{if(e.agentflow??={},e.layout)xr({layout:e.layout});e.flowchart??={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,xr({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},"init")};export{Ds as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{t,i,Qe,F,A,q,W,N,M,P,R,I,O,D,ua,J,Z,rc}from"./chunk-9hkz2jgq.js";import"./chunk-v5q92q5d.js";import{xn}from"./chunk-kvz46sd7.js";import{Vt}from"./chunk-8qda1pw3.js";import{On}from"./chunk-ekcnhcm0.js";function vt(e,s,n){e=+e,s=+s,n=(o=arguments.length)<2?(s=e,e=0,1):o<3?1:+n;var a=-1,o=Math.max(0,Math.ceil((s-e)/n))|0,c=Array(o);while(++a<o)c[a]=e+a*n;return c}function xt(){var e=Vt().unknown(void 0),{domain:s,range:n}=e,a=0,o=1,c,l,f=!1,g=0,b=0,v=0.5;delete e.unknown;function _(){var w=s().length,H=o<a,z=H?o:a,V=H?a:o;if(c=(V-z)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(z+=(V-z-c*(w-g))*v,l=c*(1-g),f)z=Math.round(z),l=Math.round(l);var U=vt(w).map(function(it){return z+c*it});return n(H?U.reverse():U)}return e.domain=function(w){return arguments.length?(s(w),_()):s()},e.range=function(w){return arguments.length?([a,o]=w,a=+a,o=+o,_()):[a,o]},e.rangeRound=function(w){return[a,o]=w,a=+a,o=+o,f=!0,_()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,_()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),_()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),_()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,_()):b},e.align=function(w){return arguments.length?(v=Math.max(0,Math.min(1,w)),_()):v},e.copy=function(){return xt(s(),[a,o]).round(f).paddingInner(g).paddingOuter(b).align(v)},On.apply(_(),arguments)}var Pt=function(){var e=t(function(K,h,u,x){for(u=u||{},x=K.length;x--;u[K[x]]=h);return u},"o"),s=[1,10,12,14,16,18,19,21,23],n=[2,6],a=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],v=[1,28],_=[1,29],w=[1,30],H=[1,31],z=[1,32],V=[1,33],U=[1,34],it=[1,35],nt=[1,36],k=[1,37],j=[1,43],d=[1,42],G=[1,47],Q=[1,50],S=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],X=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],E=[26,28],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,T,r,rt){var m=r.length-1;switch(T){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(s,n,{3:1,4:2,7:4,5:a,36:o,37:c,38:l}),{1:[3]},e(s,n,{4:2,7:4,3:8,5:a,36:o,37:c,38:l}),e(s,n,{4:2,7:4,6:9,3:10,5:a,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(s,n,{4:2,7:4,3:21,5:a,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(s,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:39,13:38,24:j,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:45,15:44,29:G,30:g,35:46,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:49,17:48,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:52,17:51,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(S,[2,18]),{1:[2,2]},e(S,[2,8]),e(S,[2,9]),e(ot,[2,39],{41:55,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(X,[2,42]),e(X,[2,44]),e(X,[2,45]),e(X,[2,46]),e(X,[2,47]),e(X,[2,48]),e(X,[2,49]),e(X,[2,50]),e(X,[2,51]),e(X,[2,52]),e(X,[2,53]),e(S,[2,10]),e(S,[2,24],{32:41,31:56,24:j,29:d}),e(S,[2,26]),e(S,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,11]),e(S,[2,32],{35:60,29:G}),e(S,[2,34]),{33:[1,61]},e(S,[2,12]),{17:62,24:Q},{25:63,27:64,29:gt},e(S,[2,14]),{17:66,24:Q},e(S,[2,16]),e(S,[2,17]),e(X,[2,43]),e(S,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(S,[2,33]),{29:[1,70]},e(S,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(E,[2,23],{30:[1,73]}),e(S,[2,15]),e(S,[2,28]),e(S,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,35]),e(S,[2,19]),{25:75,27:64,29:gt},e(E,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],T=[null],r=[],rt=this.table,m="",bt=0,Nt=0,Ht=0,xe=2,$t=1,fe=r.slice.call(arguments,1),B=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(B.setInput(h,ht.yy),ht.yy.lexer=B,ht.yy.parser=this,typeof B.yylloc>"u")B.yylloc={};var Rt=B.yylloc;r.push(Rt);var pe=B.options&&B.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(et){x.length=x.length-2*et,T.length=T.length-et,r.length=r.length-et}t(me,"popStack");function Ut(){var et=p.pop()||B.lex()||$t;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t(Ut,"lex");var Y,_t,lt,tt,Be,Tt,ut={},yt,at,qt,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])tt=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=Ut();tt=rt[lt]&&rt[lt][Y]}if(typeof tt>"u"||!tt.length||!tt[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>xe)wt.push("'"+this.terminals_[yt]+"'");if(B.showPosition)Dt="Parse error on line "+(bt+1)+`:
|
|
2
|
+
`+B.showPosition()+`
|
|
3
|
+
Expecting `+wt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(Y==$t?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Dt,{text:B.match,token:this.terminals_[Y]||Y,line:B.yylineno,loc:Rt,expected:wt})}if(tt[0]instanceof Array&&tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(tt[0]){case 1:if(x.push(Y),T.push(B.yytext),r.push(B.yylloc),x.push(tt[1]),Y=null,!_t){if(Nt=B.yyleng,m=B.yytext,bt=B.yylineno,Rt=B.yylloc,Ht>0)Ht--}else Y=_t,_t=null;break;case 2:if(at=this.productions_[tt[1]][1],ut.$=T[T.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},pe)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Nt,bt,ht.yy,tt[1],T,r].concat(fe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),T=T.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[tt[1]][0]),T.push(ut.$),r.push(ut._$),qt=rt[x[x.length-2]][x[x.length-1]],x.push(qt);break;case 3:return!0}}return!0},"parse")},st=function(){var K={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)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),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=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),x.length-1)this.yylineno-=x.length-1;var T=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:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-u];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
5
|
+
`+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,T;if(this.options.backtrack_lexer){if(T={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)T.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in T)this[r]=T[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var r=0;r<T.length;r++)if(x=this._input.match(this.rules[T[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,T[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,T[p]),h!==!1)return h;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 u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>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(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,T){var r=T;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return K}();C.lexer=st;function L(){this.yy={}}return t(L,"Parser"),L.prototype=C,C.Parser=L,new L}();Pt.parser=Pt;var be=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,s){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*s,height:s};let n={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",s),o=a.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=rc(a,1,g),v=b?b.width/l:g.length*s,_=b?b.height/f:s;n.width=Math.max(n.width,v),n.height=Math.max(n.height,_)}return a.remove(),n}},Gt=0.7,jt=0.2,Qt=class{constructor(e,s,n,a){this.axisConfig=e,this.title=s,this.textDimensionCalculator=n,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(Gt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(Gt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let s=e.height;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.width;this.outerPadding=Math.min(n.width/2,a);let o=n.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-s}calculateSpaceIfDrawnVertical(e){let s=e.width;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.height;this.outerPadding=Math.min(n.height/2,a);let o=n.width+this.axisConfig.labelPadding*2;if(o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width-s,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let s=this.normalizedLabelRotationInRad;if(s===0)return 0;return Math.sin(s)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${s},${this.boundingRect.y} L ${s},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(s),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let s=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${s},${this.getScaleValue(n)} L ${s-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s} L ${this.getScaleValue(n)},${s+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${s+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},ye=class extends Qt{static{t(this,"BandAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.categories=n,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),i.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends Qt{static{t(this,"LinearAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.domain=n,this.scale=xn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=xn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,s,n,a){let o=new It(a);if(At(e))return new ye(s,n,e.categories,e.title,o);return new we(s,n,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var ke=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let s=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(s.width,e.width),a=s.height+2*this.chartConfig.titlePadding;if(a<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=n,this.boundingRect.height=a,this.titleWidth=s.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,s){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,a=Math.min(Math.max((e+s)/2,n),this.chartConfig.width-n);this.boundingRect.x=a-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,s,n,a){let o=new It(a);return new ke(o,e,s,n)}t(Kt,"getChartTitleComponent");var Ae=0.75,Ce=0.5,Se=0.35;function Et(e){return{fontSize:e,markerSize:e*Ae,markerSpacing:e*Se,itemSpacing:e*Ce}}t(Et,"getLegendLayout");var Re=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:s,markerSize:n,markerSpacing:a,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),s),l=this.chartConfig.legendPadding*2+n+a+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*s+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:s,markerSpacing:n,itemSpacing:a}=Et(this.chartConfig.legendFontSize),o=e+a,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,v]of this.visiblePlots.entries())if(kt(v))f.push({x:c,y:l+b*o,width:s,height:s,fill:v.fill,strokeFill:v.fill,strokeWidth:0});else{let _=l+b*o+s/2;g.push({path:`M ${c},${_} L ${c+s},${_}`,strokeFill:v.strokeFill,strokeWidth:v.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,v)=>({text:b.title,x:c+s+n,y:l+v*o+s/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,s,n,a){let o=new It(a);return new Re(o,e,s,n)}t(Zt,"getChartLegendComponent");var _e=class{constructor(e,s,n,a,o){this.plotData=e,this.xAxis=s,this.yAxis=n,this.orientation=a,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((a)=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),s;if(this.orientation==="horizontal")s=ua().y((a)=>a[0]).x((a)=>a[1])(e);else s=ua().x((a)=>a[0]).y((a)=>a[1])(e);if(!s)return[];let n=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:s,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)n.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return n}},Te=class{constructor(e,s,n,a,o,c){this.barData=e,this.boundingRect=s,this.xAxis=n,this.yAxis=a,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=0.05,n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,a=n/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-a,height:n,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-a,y:o[1],width:n,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},De=class{constructor(e,s,n){this.chartConfig=e,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,s){this.xAxis=e,this.yAxis=s}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[s,n]of this.chartData.plots.entries())switch(n.type){case"line":{let a=new _e(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break;case"bar":{let a=new Te(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break}return e}};function Jt(e,s,n){return new De(e,s,n)}t(Jt,"getPlotComponent");var ve=class{constructor(e,s,n,a){this.chartConfig=e,this.chartData=s,this.componentStore={title:Kt(e,s,n,a),plot:Jt(e,s,n),legend:Zt(e,s,n,a),xAxis:Lt(s.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},a),yAxis:Lt(s.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},a)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,s-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),a=f.height,s-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:s}),s-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:s}),n=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(s>0)l+=s,s=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:n,y:a}),this.componentStore.title.alignTo(n,n+c),this.componentStore.legend.setBoundingBoxXY({x:n+c,y:a+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+c]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:a+l}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,s-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),n=g.height,s-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:s}),e-=g.width,a=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:s}),s-=g.height,o=n+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(s>0)f+=s,s=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:o}),this.componentStore.title.alignTo(a,a+l),this.componentStore.legend.setBoundingBoxXY({x:a+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:n}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let s of Object.values(this.componentStore))e.push(...s.getDrawableElements());return e}},Pe=class{static{t(this,"XYChartBuilder")}static build(e,s,n,a){return new ve(e,s,n,a).getDrawableElement()}},ft=0,te,pt=Ot(),mt=zt(),y=Wt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function zt(){let e=Qe(),s=A();return Z(e.xyChart,s.themeVariables.xyChart)}t(zt,"getChartDefaultThemeConfig");function Ot(){let e=A();return Z(F.xyChart,e.xyChart)}t(Ot,"getChartDefaultConfig");function Wt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Wt,"getChartDefaultData");function ct(e){let s=A();return q(e.trim(),s)}t(ct,"textSanitizer");function ee(e){te=e}t(ee,"setTmpSVGG");function ie(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(ie,"setOrientation");function se(e){y.xAxis.title=ct(e.text)}t(se,"setXAxisTitle");function Ft(e,s){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:s},Ct=!0}t(Ft,"setXAxisRangeData");function ne(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((s)=>ct(s.text))},Ct=!0}t(ne,"setXAxisBand");function ae(e){y.yAxis.title=ct(e.text)}t(ae,"setYAxisTitle");function oe(e,s){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:s},Bt=!0}t(oe,"setYAxisRangeData");function re(e){let s=Math.min(...e),n=Math.max(...e),a=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(a,s),max:Math.max(o,n)}}t(re,"setYAxisRangeFromPlotData");function Xt(e){let s=[];if(e.length===0)return s;if(!Ct){let n=dt(y.xAxis)?y.xAxis.min:1/0,a=dt(y.xAxis)?y.xAxis.max:-1/0;Ft(Math.min(n,1),Math.max(a,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)re(e);if(At(y.xAxis))s=y.xAxis.categories.map((n,a)=>[n,e[a]]);if(dt(y.xAxis)){let n=y.xAxis.min,a=y.xAxis.max;if(e.length===1)s=[[`${n}`,e[0]]];else{let o=(a-n)/(e.length-1);s=e.map((c,l)=>[`${n+l*o}`,c])}}return s}t(Xt,"transformDataWithoutCategory");function Yt(e){return Mt[e===0?0:e%Mt.length]}t(Yt,"getPlotColorFromPalette");function he(e,s){let n=s.map((l)=>l.value),a=s.map((l)=>l.label?ct(l.label):""),o=Xt(n),c=a.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Yt(ft),strokeWidth:2,data:o,...c?{pointLabels:a}:{}}),ft++}t(he,"setLineData");function le(e,s){let n=s.map((o)=>o.value),a=Xt(n);y.plots.push({type:"bar",title:ct(e.text),fill:Yt(ft),data:a}),ft++}t(le,"setBarData");function ce(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=D(),Pe.build(pt,y,mt,te)}t(ce,"getDrawableElem");function ge(){return mt}t(ge,"getChartThemeConfig");function ue(){return pt}t(ue,"getChartConfig");function de(){return y}t(de,"getXYChartData");var Le=t(function(){N(),ft=0,pt=Ot(),y=Wt(),mt=zt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Ee={getDrawableElem:ce,clear:Le,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R,setOrientation:ie,setXAxisTitle:se,setXAxisRangeData:Ft,setXAxisBand:ne,setYAxisTitle:ae,setYAxisRangeData:oe,setLineData:he,setBarData:le,setTmpSVGG:ee,getChartThemeConfig:ge,getChartConfig:ue,getXYChartData:de},Me=t((e,s,n,a)=>{let o=a.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function v(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(v,"getTextTransformation"),i.debug(`Rendering xychart chart
|
|
7
|
+
`+e);let _=J(s),w=_.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");W(_,l.height,l.width,!0),_.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));let z=o.getDrawableElem(),V={};function U(k){let j=w,d="";for(let[G]of k.entries()){let Q=w;if(G>0&&V[d])Q=V[d];if(d+=k[G],j=V[d],!j)j=V[d]=Q.append("g").attr("class",k[G])}return j}t(U,"getGroup");for(let k of z){if(k.data.length===0)continue;let j=U(k.groupTexts);switch(k.type){case"rect":if(j.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let G=function(C,st){let{data:L,label:K}=C;return st*K.length*Q<=L.width-S};var it=G;t(G,"fitsHorizontally");let Q=0.7,S=10,ot=k.data.map((C,st)=>({data:C,label:f[st].toString()})).filter((C)=>C.data.width>0&&C.data.height>0),X=ot.map((C)=>{let{data:st}=C,L=st.height*0.7;while(!G(C,L)&&L>0)L-=1;return L}),gt=Math.floor(Math.min(...X)),E=t((C)=>{if(d)return C.data.x+C.data.width+S;else return C.data.x+C.data.width-S},"determineLabelXPosition");j.selectAll("text").data(ot).enter().append("text").attr("x",E).attr("y",(C)=>C.data.y+C.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((C)=>C.label)}else{let G=function(E,C,st){let{data:L,label:K}=E,h=0.7,u=C*K.length*0.7,x=L.x+L.width/2,p=x-u/2,T=x+u/2,r=p>=L.x&&T<=L.x+L.width,rt=L.y+st+C<=L.y+L.height;return r&&rt};var nt=G;t(G,"fitsInBar");let Q=10,S=k.data.map((E,C)=>({data:E,label:f[C].toString()})).filter((E)=>E.data.width>0&&E.data.height>0),ot=S.map((E)=>{let{data:C,label:st}=E,L=C.width/(st.length*0.7);while(!G(E,L,Q)&&L>0)L-=1;return L}),X=Math.floor(Math.min(...ot)),gt=t((E)=>{if(d)return E.data.y-Q;else return E.data.y+Q},"determineLabelYPosition");j.selectAll("text").data(S).enter().append("text").attr("x",(E)=>E.data.x+E.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${X}px`).text((E)=>E.label)}}break;case"text":j.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>v(d)).text((d)=>d.text);break;case"path":j.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Ie={draw:Me},Ze={parser:be,db:Ee,renderer:Ie};export{Ze as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v,s,ee,o,a,m,e,n,b,mr,ya,ht,Kr,gt,Er,be,xe,Ui,Hc,ji}from"./chunk-ev6xj0qs.js";function le(d){let{Button:x,confirm:L,PageLayout:y,Switch:_,cn:F,style:z}=b(),{connection:f,onOpen:O}=d,[D,p]=a([]),[w,H]=a([]),[q,J]=a([]),[I,T]=a(),[B,U]=a([]),[A,V]=a(!0),[k,N]=a(),[C,R]=a(),[W,P]=a(!1),[G,c]=a({}),i=o(0),E=v(async()=>{let t=++i.current;try{let[r,l,u,g]=await Promise.all([f.request("/api/automations"),f.request("/api/projects").catch(()=>[]),f.request("/api/info").catch(()=>{return}),f.request("/api/models").catch(()=>({models:[]}))]),Z=[...new Set(r.flatMap((h)=>h.lastSessionID?[h.lastSessionID]:[]))],te=(await Promise.all(Z.map(async(h)=>f.request(`/api/sessions/${encodeURIComponent(h)}`).catch((j)=>{if(j instanceof Error&&"status"in j&&j.status===404)return;throw j})))).filter((h)=>h!==void 0);if(t!==i.current)return;if(p(r.sort((h,j)=>h.created-j.created)),H(l),J(te),T(u),g?.models)U(g.models.map((h)=>h.id));N(void 0)}catch(r){if(t===i.current)N(r instanceof Error?r.message:"加载失败")}finally{if(t===i.current)V(!1)}},[f]);s(()=>(E(),()=>{i.current++}),[E]);let S=(t)=>{R(t),P(!0)},Q=async(t)=>{c((r)=>({...r,[t.id]:!0}));try{let r=await f.request(`/api/automations/${t.id}/run`,{method:"POST"});O(r.id)}catch(r){N(r instanceof Error?r.message:"运行失败")}finally{c((r)=>({...r,[t.id]:!1}))}},X=async(t)=>{if(!await L({title:`删除自动化「${t.name}」?`,description:"已经跑出来的会话会保留。",action:"删除",danger:!0}))return;try{await f.request(`/api/automations/${t.id}`,{method:"DELETE"}),p((l)=>l.filter((u)=>u.id!==t.id))}catch(l){N(l instanceof Error?l.message:"删除失败")}},Y=async(t,r)=>{try{let l=await f.request(`/api/automations/${t.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({enabled:r})});p((u)=>u.map((g)=>g.id===t.id?l:g))}catch(l){N(l instanceof Error?l.message:"状态切换失败")}};return n(y,{title:"自动化",description:n(m,{children:["到点自动开一个新会话执行提示词,跑完的结果在会话里查看。",I?.timezone&&n("span",{className:"text-faint",children:["按服务器时区 ",I.timezone,"。"]})]}),actions:n(x,{variant:"primary",onClick:()=>S(null),children:[e(be,{className:"size-4"}),"新建"]}),children:[k&&e("div",{className:"mb-4 rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:k}),A?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载自动化…"}):D.length===0?n("div",{className:z("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(mr,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-md font-medium",children:"还没有自动化"}),e("p",{className:"mt-1 text-sm text-dim",children:"比如「每个工作日 9 点总结昨天的提交」。"})]}),n(x,{size:"sm",onClick:()=>S(null),className:"mt-1",children:[e(be,{className:"size-3.5"}),"新建自动化"]})]}):e("ul",{className:"flex animate-fade flex-col gap-3",children:D.map((t)=>{let r=t.projectID?w.find((g)=>g.id===t.projectID):void 0,l=t.lastSessionID?q.find((g)=>g.id===t.lastSessionID):void 0,u=Boolean(G[t.id]);return e("li",{children:n("article",{className:z("surface.card","group p-4 transition-[border-color,box-shadow] duration-200 hover:border-line-strong hover:shadow-composer"),children:[n("div",{className:"flex items-start gap-3",children:[n("div",{className:F("min-w-0 flex-1 transition-opacity duration-200",!t.enabled&&"opacity-55"),children:[e("h2",{className:"truncate text-md font-medium",children:t.name}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3.5 gap-y-1 text-ui text-dim",children:[n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(mr,{}),Hc(t.schedule)]}),n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[r?e(ht,{}):e(Kr,{}),r?r.name:"聊天"]}),t.enabled&&t.nextRun!==null&&n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(ya,{}),"下次 ",ji(t.nextRun)]})]})]}),e(_,{checked:t.enabled,label:t.enabled?"停用":"启用",onCheckedChange:(g)=>Y(t,g),className:"mt-0.5"})]}),e("p",{className:F("mt-3 line-clamp-2 text-sm leading-6 whitespace-pre-wrap text-faint transition-opacity duration-200",!t.enabled&&"opacity-55"),children:t.prompt}),n("div",{className:"mt-3 -mb-1 flex items-center gap-1",children:[n(x,{size:"sm",onClick:()=>Q(t),disabled:u,children:[e(Er,{className:"size-3.5"}),u?"正在启动…":"立即运行"]}),n(x,{size:"sm",variant:"ghost",onClick:()=>S(t),children:[e(gt,{className:"size-3.5"}),"编辑"]}),n(x,{size:"sm",variant:"danger-ghost",onClick:()=>X(t),children:[e(xe,{className:"size-3.5"}),"删除"]}),e("div",{className:"flex-1"}),t.lastRun!==null&&n("button",{type:"button",disabled:!l,onClick:()=>l&&O(l.id),className:"rounded-md px-1.5 py-1 text-ui text-faint transition-colors enabled:hover:bg-raised enabled:hover:text-ink",children:["上次运行 ",ji(t.lastRun),l?.archivedAt!=null?" · 已归档":"",!l?" · 会话已删除":""]})]})]})},t.id)})}),C!==void 0&&e(ne,{open:W,onOpenChange:P,automation:C??void 0,projects:w,models:B,timezone:I?.timezone,onSaved:(t)=>{p((r)=>{let l=r.findIndex((u)=>u.id===t.id);if(l>=0){let u=[...r];return u[l]=t,u}return[...r,t].sort((u,g)=>u.created-g.created)}),P(!1)},connection:f},C?.id??"new")]})}var M="custom",K="chat";function ne(d){let{Button:x,Dialog:L,Field:y,Form:_,FormError:F,Input:z,Select:f,Textarea:O}=b(),D=ee(),p=d.automation,[w,H]=a(p?.name??""),[q,J]=a(p?.prompt??""),[I,T]=a(p?.schedule??Ui[0]?.cron??"0 9 * * *"),[B,U]=a(()=>!Ui.some((c)=>c.cron===I)),[A,V]=a(p?.projectID??K),[k,N]=a(p?.model??""),[C,R]=a(!1),[W,P]=a();async function G(c){c.preventDefault(),R(!0),P(void 0);try{let i=A===K?void 0:A,E={name:w,prompt:q,schedule:I,model:k||void 0},S;if(p)S=await d.connection.request(`/api/automations/${p.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:i??null})});else S=await d.connection.request("/api/automations",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:i})});d.onSaved(S)}catch(i){P(i instanceof Error?i.message:"保存失败")}finally{R(!1)}}return e(L,{open:d.open,onOpenChange:d.onOpenChange,title:d.automation?"编辑自动化":"新建自动化",size:"lg",footer:n(m,{children:[e("div",{className:"flex-1 max-sm:hidden"}),e(x,{onClick:()=>d.onOpenChange(!1),children:"取消"}),e(x,{type:"submit",form:D,variant:"primary",disabled:C,children:C?"正在保存…":d.automation?"保存":"创建"})]}),children:n(_,{id:D,onSubmit:G,children:[e(y,{label:"名称",children:(c)=>e(z,{id:c,autoFocus:!p,required:!0,value:w,onChange:(i)=>H(i.target.value),placeholder:"例如:每日提交总结"})}),e(y,{label:"提示词",hint:"没人盯着运行,写清楚要做什么、结果怎么汇报。",children:(c)=>e(O,{id:c,required:!0,value:q,onChange:(i)=>J(i.target.value),rows:5,placeholder:"总结昨天到现在的 git 提交,按模块分组,列出需要我关注的改动。"})}),n("div",{className:"grid gap-x-3 gap-y-4 sm:grid-cols-2",children:[e(y,{label:"时间",children:(c)=>e(f,{id:c,value:B?M:I,onValueChange:(i)=>{if(U(i===M),i!==M)T(i)},groups:[{options:Ui.map((i)=>({value:i.cron,label:i.label}))},{options:[{value:M,label:"自定义(cron)"}]}]})}),e(y,{label:"在哪里运行",children:(c)=>e(f,{id:c,value:A,onValueChange:V,groups:[{options:[{value:K,label:"聊天",description:"不绑定目录",icon:e(Kr,{})}]},...d.projects.length?[{label:"项目",options:d.projects.map((i)=>({value:i.id,label:i.name,icon:e(ht,{})}))}]:[]]})})]}),B&&e(y,{label:"cron 表达式",hint:`分 时 日 月 周,例如 30 8 * * 1-5 是工作日 8:30。${d.timezone?`按 ${d.timezone} 时间。`:""}`,children:(c)=>e(z,{id:c,required:!0,value:I,onChange:(i)=>T(i.target.value),spellCheck:!1,className:"font-mono"})}),d.models.length>0&&e(y,{label:"模型",children:(c)=>e(f,{id:c,value:k||"default",onValueChange:(i)=>N(i==="default"?"":i),groups:[{options:[{value:"default",label:"默认模型"},...d.models.map((i)=>({value:i,label:i}))]}]})}),e(F,{children:W})]})})}export{le as AutomationsPage};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ks}from"./chunk-x9b1052x.js";import"./chunk-6ycpdpfj.js";export{ks as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v,s,o,a,m,e,n,b,ur,ge}from"./chunk-ev6xj0qs.js";import{_i,wi,ki}from"./chunk-mtzj1zyw.js";var te={global:"全局",project:"项目",custom:"自定义",builtin:"内置"};function F({skill:i,issue:x,connection:w}){let{Button:E,CopyButton:C,style:u,useTheme:R}=b();R();let[l,k]=a(),[L,P]=a(),[f,O]=a(0);return s(()=>{let p=!0;P(void 0),k(void 0);let S=new URLSearchParams;if(i.projectID)S.set("projectID",i.projectID);if(i.location)S.set("location",i.location);let N=S.toString()?`?${S.toString()}`:"";return Promise.all([w.request(`/api/skills/${encodeURIComponent(i.name)}/content${N}`),w.request(`/api/skills/${encodeURIComponent(i.name)}/files${N}`)]).then(([g,D])=>{if(p)k({text:g.text,files:D.files})}).catch((g)=>{if(p)P(g instanceof Error?g.message:"读取失败")}),()=>{p=!1}},[w,i.name,i.projectID,i.location,f]),n("div",{className:"min-w-0 space-y-5 text-sm text-ink",children:[e("p",{className:"whitespace-pre-wrap break-words [overflow-wrap:anywhere] text-dim",children:i.description||"暂无描述"}),n("div",{children:[n("p",{className:"break-all text-xs text-dim",children:[te[i.scope],i.projectName?` · ${i.projectName}`:""]}),n("div",{className:"mt-1 flex min-w-0 items-center gap-2",children:[e("code",{className:u("markdown.inlineCode","min-w-0 flex-1 break-all text-xs"),children:i.location}),e(C,{text:i.location,label:"复制完整路径",className:"size-10"})]})]}),n("ul",{className:"space-y-1 break-words text-xs text-dim",children:[e("li",{children:"启用状态按名称生效,影响同名技能在新会话与压缩刷新后的可用性。"}),i.disableModelInvocation&&e("li",{children:"仅手动:可由用户调用,不向模型自动提供。"}),i.platforms&&n("li",{children:["平台限制:",i.platforms.join("、")]}),i.disabled&&e("li",{children:"已禁用:不会提供给新会话或压缩刷新后的会话。"}),x?.overriddenBy&&n("li",{className:"break-all",children:["被覆盖:同名技能优先使用 ",x.overriddenBy]})]}),i.commands?.length?n("div",{children:[e("h3",{className:"font-medium",children:"bin 命令"}),e("p",{className:"mt-1 text-xs text-dim",children:"技能目录中的可执行命令。"}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs",children:i.commands.map((p)=>e("li",{className:"break-all",children:p},p))})]}):null,L?n("div",{role:"alert",className:"space-y-2",children:[n("p",{className:"break-words text-danger",children:["读取失败:",L]}),e(E,{className:"h-10",onClick:()=>O(f+1),children:"重试"})]}):!l?e("p",{role:"status",className:"text-dim",children:"正在读取文件…"}):n(m,{children:[n("section",{children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e("h3",{className:"font-medium",children:"SKILL.md 原文"}),e(C,{text:l.text,label:"复制 SKILL.md 原文",className:"size-10"})]}),n("p",{className:"mb-2 text-xs text-faint",children:[l.text.length.toLocaleString()," 字符 · 约 ",Math.ceil(l.text.length/4).toLocaleString()," ","tokens(估算)"]}),e("pre",{className:u("surface.subtle",u("chat.toolOutput"),"rounded-lg bg-raised p-3 text-xs leading-5 break-all"),children:l.text})]}),n("section",{children:[n("h3",{className:"font-medium",children:["目录文件 · ",l.files.length,l.files.length===200?"(最多显示 200 个)":""]}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs text-dim",children:l.files.map((p)=>e("li",{className:"break-all",children:p},p))})]})]})]})}var A="all",G="non-project";function me({connection:i}){let{Button:x,Select:w,Dialog:E,CatalogRow:C,style:u,useTheme:R}=b();R();let[l,k]=a([]),[L,P]=a([]),[f,O]=a(A),[p,S]=a([]),[N,g]=a(),[D,H]=a(""),[y,B]=a(),[h,q]=a(!0),[K,z]=a(),[W,Q]=a(),d=o(0),I=o(!1),j=v(async(t=!1)=>{let r=++d.current;I.current=!0,q(!0);try{if(t)await i.request("/api/skills/rescan",{method:"POST"});let[c,U,T]=await Promise.all([i.request("/api/skills?all=true"),i.request("/api/skills/settings"),i.request("/api/projects")]);if(r!==d.current)return;k(c.skills),P(T),S(c.issues),g(U),Q(new Date),z(void 0)}catch(c){if(r===d.current)z(c instanceof Error?c.message:"读取失败")}finally{if(r===d.current)I.current=!1,q(!1)}},[i]);s(()=>(j(),()=>{d.current++}),[j]);async function V(t){if(I.current)return;I.current=!0;let r=++d.current;q(!0);try{let c=await i.request("/api/skills/settings",{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(r!==d.current)return;g(c),await j()}catch(c){if(r!==d.current)return;z(c instanceof Error?c.message:"保存设置失败"),I.current=!1,q(!1)}}let X=D.trim().toLocaleLowerCase(),Y=L.filter((t)=>l.some((r)=>r.projectID===t.id)),J=f===A?l:l.filter((t)=>{if(t.scope!=="project")return!0;return f!==G&&t.projectID===f}),M=J.filter((t)=>`${t.name} ${t.description??""}`.toLocaleLowerCase().includes(X)),_=(t)=>p.find((r)=>r.kind==="overridden"&&(r.path==="<built-in>"?t.scope==="builtin":r.path.replace(/\\/g,"/")===`${t.location.replace(/\\/g,"/")}/SKILL.md`));return n("div",{className:"min-w-0 space-y-6",children:[n("section",{className:"min-w-0",children:[n("div",{className:"mb-2.5 flex flex-wrap items-end justify-between gap-3 px-0.5",children:[n("div",{className:"min-w-0 flex-1 basis-48",children:[e("h2",{className:u("settings.groupTitle"),children:"技能"}),e("p",{"aria-live":"polite",className:u("settings.groupDesc"),children:W&&`找到 ${J.length} 个 · ${W.toLocaleTimeString("zh-CN",{hour12:!1})}`})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(w,{value:f,disabled:h,onValueChange:(t)=>{B(void 0),O(t)},groups:[{options:[{value:A,label:"全部来源"},{value:G,label:"非项目技能"}]},..._i(Y)],className:"w-44"}),n(x,{variant:"ghost",disabled:h,onClick:()=>j(!0),className:"h-9 px-2.5 text-xs",children:[e(ge,{className:`size-3.5 ${h?"animate-spin":""}`}),e("span",{className:"ml-1",children:"重新扫描"})]})]})]}),K&&n("div",{role:"alert",className:"mb-3 flex flex-wrap items-center gap-2 rounded-xl border border-line p-3",children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法更新技能:",K]}),e(x,{disabled:h,onClick:()=>j(),children:"重试"})]}),e(wi,{label:"搜索技能",placeholder:"搜索技能",value:D,onChange:H}),e("div",{className:u("settings.groupBox"),children:h&&!l.length?e(ki,{}):M.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有找到匹配的技能"}):e("ul",{className:"divide-y divide-line",children:M.map((t)=>{let r=_(t),c=t.disabled;return e("li",{children:e(C,{name:t.name,selectLabel:`查看技能 ${t.name}`,onSelect:()=>B(t),description:t.description,inactive:c,aside:n(m,{children:[r&&n("span",{className:"flex items-center gap-1 text-xs text-warning",children:[e(ur,{className:"size-3.5"}),"被覆盖"]}),e("span",{className:u("control.badge"),children:t.scope==="project"?"项目":t.scope==="builtin"?"内置":"全局"})]}),toggle:{checked:!c,label:`启用技能 ${t.name}`,disabled:h,onCheckedChange:(U)=>{if(!N)return;let T=N.disabled??[],Z=U?T.filter((ee)=>ee!==t.name):[...T,t.name];V({...N,disabled:Z})}}})},`${t.scope}:${t.projectID??""}:${t.name}`)})})})]}),e(E,{open:Boolean(y),onOpenChange:(t)=>{if(!t)B(void 0)},title:y?.name??"",size:"lg",footer:e("div",{className:"flex w-full justify-end",children:e(x,{variant:"primary",onClick:()=>B(void 0),children:"关闭"})}),children:y&&e(F,{skill:y,issue:_(y),connection:i})})]})}export{me as SkillsSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{hc,Kc,gc,Zc,Qc,vc}from"./chunk-r992px5p.js";import"./chunk-kqpj6dnm.js";import"./chunk-snvwfzxt.js";import"./chunk-9hkz2jgq.js";export{Kc as applyDagreLayoutResult,hc as getEdgesToRender,Zc as measureDagreLayout,gc as prepareLayoutForDagre,vc as render,Qc as runDagreLayoutCore};
|
|
Binary file
|
|
Binary file
|