@bkm016/basalt 0.1.37 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-02kyx0dt.js +3 -0
- package/chunk-19nje7ny.js +5 -0
- package/chunk-1rt7fvft.js +51 -0
- package/chunk-23qfxx3v.js +3 -0
- package/chunk-28dpfw91.js +20 -0
- package/chunk-2bz3h7k7.js +18 -0
- package/chunk-2etdp9zt.js +3 -0
- package/chunk-3bc88p88.js +2 -0
- package/chunk-3bqs901a.js +3 -0
- package/chunk-4kg028qe.js +3 -0
- package/chunk-4ry04733.js +2 -0
- package/chunk-4zvzk6m5.js +25 -0
- package/chunk-5ngmwd2s.js +3 -0
- package/chunk-5yzts6r0.js +3 -0
- package/chunk-6bvjnr88.js +3 -0
- package/chunk-76jjaj1p.js +7 -0
- package/chunk-7ph88zkj.js +3 -0
- package/chunk-7t89zqqx.js +8 -0
- package/chunk-80vdhw6b.js +2 -0
- package/chunk-89aqq5v0.js +59 -0
- package/chunk-8bcc3rqc.js +2 -0
- package/chunk-97531m3c.js +2 -0
- package/chunk-9b4ssdy4.js +3 -0
- package/chunk-9map5c1b.js +12 -0
- package/chunk-a0ycrvgz.js +2 -0
- package/chunk-ah2ttnaa.js +2 -0
- package/chunk-awe58cxg.js +3175 -0
- package/chunk-b3ss17r8.js +547 -0
- package/chunk-b5ph3ffy.js +39 -0
- package/chunk-cz9r99b6.js +2 -0
- package/chunk-d57kcznk.js +16 -0
- package/chunk-etf8mj2z.js +2 -0
- package/chunk-fkgx9eab.js +2 -0
- package/chunk-fmvs5wd0.js +11 -0
- package/chunk-fpksd95h.js +3 -0
- package/chunk-hj1zcq3p.js +13 -0
- package/chunk-jaat2z8t.js +117 -0
- package/chunk-jkc887x8.js +2 -0
- package/chunk-jnas3anm.js +3 -0
- package/chunk-k3p05x7q.js +2 -0
- package/chunk-k6fqtjt8.js +3 -0
- package/chunk-kh4b25x0.js +12 -0
- package/chunk-kn8p9hm4.js +3 -0
- package/chunk-kxznfjhk.js +2 -0
- package/chunk-ma4nhnnj.js +3 -0
- package/chunk-n09zsaws.js +60 -0
- package/chunk-nb7c0e4a.js +10 -0
- package/chunk-pvbaf50c.js +7 -0
- package/chunk-pzg6f8rv.js +3 -0
- package/chunk-q7scf6rq.js +5 -0
- package/chunk-qc0d97yy.js +9 -0
- package/chunk-qn316bye.js +3 -0
- package/chunk-rapgtezp.js +3 -0
- package/chunk-rbz68jdh.js +2 -0
- package/chunk-rkq3zqph.js +3 -0
- package/chunk-rva3kxc4.js +3 -0
- package/chunk-s8ce8wwb.js +5 -0
- package/chunk-srmxyfvj.js +4 -0
- package/chunk-ss48r7hh.js +2 -0
- package/chunk-trf8d8md.js +2 -0
- package/chunk-v312dzv1.js +2 -0
- package/chunk-v9pc3ad7.js +3 -0
- package/chunk-vq3b921g.js +2 -0
- package/chunk-w8arnzsm.js +10 -0
- package/chunk-wa3w6q66.js +2 -0
- package/chunk-wyaep3eb.js +103 -0
- package/chunk-x31xqemq.js +3 -0
- package/chunk-x4nt43pv.js +2 -0
- package/chunk-xjr4j102.js +31 -0
- package/chunk-xtzxv389.js +3 -0
- package/chunk-y91ea95f.js +7 -0
- package/chunk-yyeq63ns.js +2 -0
- package/chunk-z1hbxv39.js +2 -0
- package/chunk-zej3kgxg.js +5 -0
- package/chunk-zkhn196x.js +25 -0
- package/chunk-zztar24h.js +8 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +34 -33
- package/web/chunk-0qmwgbg8.js +1 -0
- package/web/chunk-0qmwgbg8.js.br +0 -0
- package/web/chunk-0qmwgbg8.js.gz +0 -0
- package/web/chunk-0vavwwh2.js +2 -0
- package/web/chunk-0vavwwh2.js.br +0 -0
- package/web/chunk-0vavwwh2.js.gz +0 -0
- package/web/chunk-0vmbj6hc.js +89 -0
- package/web/chunk-0vmbj6hc.js.br +0 -0
- package/web/chunk-0vmbj6hc.js.gz +0 -0
- package/web/chunk-17qjx34e.js +1 -0
- package/web/chunk-17qjx34e.js.br +0 -0
- package/web/chunk-17qjx34e.js.gz +0 -0
- package/web/chunk-1vewct29.js +78 -0
- package/web/chunk-1vewct29.js.br +0 -0
- package/web/chunk-1vewct29.js.gz +0 -0
- package/web/chunk-2hz3atj2.js +1 -0
- package/web/chunk-2hz3atj2.js.br +0 -0
- package/web/chunk-2hz3atj2.js.gz +0 -0
- package/web/chunk-3c66z204.js +1 -0
- package/web/chunk-3c66z204.js.br +0 -0
- package/web/chunk-3c66z204.js.gz +0 -0
- package/web/chunk-3ctk7p8b.js +200 -0
- package/web/chunk-3ctk7p8b.js.br +0 -0
- package/web/chunk-3ctk7p8b.js.gz +0 -0
- package/web/chunk-3rnbw3ds.js +2 -0
- package/web/chunk-3rnbw3ds.js.br +0 -0
- package/web/chunk-3rnbw3ds.js.gz +0 -0
- package/web/chunk-3t6c1rn7.js +2 -0
- package/web/chunk-3t6c1rn7.js.br +0 -0
- package/web/chunk-3t6c1rn7.js.gz +0 -0
- package/web/chunk-48f75wpj.js +1 -0
- package/web/chunk-48f75wpj.js.br +0 -0
- package/web/chunk-48f75wpj.js.gz +0 -0
- package/web/chunk-4sr7g3z6.js +70 -0
- package/web/chunk-4sr7g3z6.js.br +0 -0
- package/web/chunk-4sr7g3z6.js.gz +0 -0
- package/web/chunk-54kxhs8a.js +1 -0
- package/web/chunk-54kxhs8a.js.br +0 -0
- package/web/chunk-54kxhs8a.js.gz +0 -0
- package/web/chunk-5cbw7v9g.js +324 -0
- package/web/chunk-5cbw7v9g.js.br +0 -0
- package/web/chunk-5cbw7v9g.js.gz +0 -0
- package/web/chunk-5kxhdpsw.js +99 -0
- package/web/chunk-5kxhdpsw.js.br +0 -0
- package/web/chunk-5kxhdpsw.js.gz +0 -0
- package/web/chunk-5s16b1h5.js +2 -0
- package/web/chunk-5s16b1h5.js.br +0 -0
- package/web/chunk-5s16b1h5.js.gz +0 -0
- package/web/chunk-5z2f4vfh.js +1 -0
- package/web/chunk-5z2f4vfh.js.br +0 -0
- package/web/chunk-5z2f4vfh.js.gz +0 -0
- package/web/chunk-664zwasq.js +217 -0
- package/web/chunk-664zwasq.js.br +0 -0
- package/web/chunk-664zwasq.js.gz +0 -0
- package/web/chunk-6hgxmv17.js +1 -0
- package/web/chunk-6hgxmv17.js.br +0 -0
- package/web/chunk-6hgxmv17.js.gz +0 -0
- package/web/chunk-6wesgn4j.js +332 -0
- package/web/chunk-6wesgn4j.js.br +0 -0
- package/web/chunk-6wesgn4j.js.gz +0 -0
- package/web/chunk-6xnzhe0e.js +12 -0
- package/web/chunk-6xnzhe0e.js.br +0 -0
- package/web/chunk-6xnzhe0e.js.gz +0 -0
- package/web/chunk-73effb3e.js +1 -0
- package/web/chunk-73effb3e.js.br +0 -0
- package/web/chunk-73effb3e.js.gz +0 -0
- package/web/chunk-744jv40n.js +7 -0
- package/web/chunk-744jv40n.js.br +0 -0
- package/web/chunk-744jv40n.js.gz +0 -0
- package/web/chunk-74x21fpx.js +23 -0
- package/web/chunk-74x21fpx.js.br +0 -0
- package/web/chunk-74x21fpx.js.gz +0 -0
- package/web/chunk-75jp6b07.js +1 -0
- package/web/chunk-75jp6b07.js.br +0 -0
- package/web/chunk-75jp6b07.js.gz +0 -0
- package/web/chunk-776d411a.js +1143 -0
- package/web/chunk-776d411a.js.br +0 -0
- package/web/chunk-776d411a.js.gz +0 -0
- package/web/chunk-77fdf0t8.js +1 -0
- package/web/chunk-77fdf0t8.js.br +0 -0
- package/web/chunk-77fdf0t8.js.gz +0 -0
- package/web/chunk-85cyf9df.js +1 -0
- package/web/chunk-85cyf9df.js.br +0 -0
- package/web/chunk-85cyf9df.js.gz +0 -0
- package/web/chunk-8kxc78xp.js +4 -0
- package/web/chunk-8kxc78xp.js.br +0 -0
- package/web/chunk-8kxc78xp.js.gz +0 -0
- package/web/chunk-9j7v0e4v.js +2 -0
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9kfxbebp.js +2 -0
- package/web/chunk-9kfxbebp.js.br +1 -0
- package/web/chunk-9kfxbebp.js.gz +0 -0
- package/web/chunk-b1x8wmyp.js +1 -0
- package/web/chunk-b1x8wmyp.js.br +2 -0
- package/web/chunk-b1x8wmyp.js.gz +0 -0
- package/web/chunk-bpy0qc5f.js +1 -0
- package/web/chunk-bpy0qc5f.js.br +0 -0
- package/web/chunk-bpy0qc5f.js.gz +0 -0
- package/web/chunk-brsvdef4.js +1 -0
- package/web/chunk-brsvdef4.js.br +0 -0
- package/web/chunk-brsvdef4.js.gz +0 -0
- package/web/chunk-bs8vnwtv.js +106 -0
- package/web/chunk-bs8vnwtv.js.br +0 -0
- package/web/chunk-bs8vnwtv.js.gz +0 -0
- package/web/chunk-cd3hhgn9.js +2 -0
- package/web/chunk-cd3hhgn9.js.br +0 -0
- package/web/chunk-cd3hhgn9.js.gz +0 -0
- package/web/chunk-ckpx6ky8.js +2 -0
- package/web/chunk-ckpx6ky8.js.br +0 -0
- package/web/chunk-ckpx6ky8.js.gz +0 -0
- package/web/chunk-cn4846p5.js +140 -0
- package/web/chunk-cn4846p5.js.br +0 -0
- package/web/chunk-cn4846p5.js.gz +0 -0
- package/web/chunk-cngcze57.js +84 -0
- package/web/chunk-cngcze57.js.br +0 -0
- package/web/chunk-cngcze57.js.gz +0 -0
- package/web/chunk-csg9anab.js +62 -0
- package/web/chunk-csg9anab.js.br +0 -0
- package/web/chunk-csg9anab.js.gz +0 -0
- package/web/chunk-ct98jt0b.js +2 -0
- package/web/chunk-ct98jt0b.js.br +0 -0
- package/web/chunk-ct98jt0b.js.gz +0 -0
- package/web/chunk-d67p0nr5.js +8 -0
- package/web/chunk-d67p0nr5.js.br +0 -0
- package/web/chunk-d67p0nr5.js.gz +0 -0
- package/web/chunk-dqynqkew.js +3 -0
- package/web/chunk-dqynqkew.js.br +0 -0
- package/web/chunk-dqynqkew.js.gz +0 -0
- package/web/chunk-drn8wj2p.js +41 -0
- package/web/chunk-drn8wj2p.js.br +0 -0
- package/web/chunk-drn8wj2p.js.gz +0 -0
- package/web/chunk-e0r89rgm.js +2 -0
- package/web/chunk-e0r89rgm.js.br +0 -0
- package/web/chunk-e0r89rgm.js.gz +0 -0
- package/web/chunk-e6ffgm2z.js +89 -0
- package/web/chunk-e6ffgm2z.js.br +0 -0
- package/web/chunk-e6ffgm2z.js.gz +0 -0
- package/web/chunk-ebphre6k.js +292 -0
- package/web/chunk-ebphre6k.js.br +0 -0
- package/web/chunk-ebphre6k.js.gz +0 -0
- package/web/chunk-edeebkv0.js +2 -0
- package/web/chunk-edeebkv0.js.br +0 -0
- package/web/chunk-edeebkv0.js.gz +0 -0
- package/web/chunk-edkvcg8g.js +1 -0
- package/web/chunk-edkvcg8g.js.br +0 -0
- package/web/chunk-edkvcg8g.js.gz +0 -0
- package/web/chunk-evt920fg.js +142 -0
- package/web/chunk-evt920fg.js.br +0 -0
- package/web/chunk-evt920fg.js.gz +0 -0
- package/web/chunk-ezehzx5e.js +1 -0
- package/web/chunk-ezehzx5e.js.br +2 -0
- package/web/chunk-ezehzx5e.js.gz +0 -0
- package/web/chunk-f020aqdg.js +38 -0
- package/web/chunk-f020aqdg.js.br +0 -0
- package/web/chunk-f020aqdg.js.gz +0 -0
- package/web/chunk-f5a5x6be.js +1 -0
- package/web/chunk-f5a5x6be.js.br +0 -0
- package/web/chunk-f5a5x6be.js.gz +0 -0
- package/web/chunk-fkmw2m49.js +1 -0
- package/web/chunk-fkmw2m49.js.br +0 -0
- package/web/chunk-fkmw2m49.js.gz +0 -0
- package/web/chunk-fn0hha9d.js +2 -0
- package/web/chunk-fn0hha9d.js.br +0 -0
- package/web/chunk-fn0hha9d.js.gz +0 -0
- package/web/chunk-fp5ny5dy.js +4 -0
- package/web/chunk-fp5ny5dy.js.br +0 -0
- package/web/chunk-fp5ny5dy.js.gz +0 -0
- package/web/chunk-fwckng4e.js +34 -0
- package/web/chunk-fwckng4e.js.br +0 -0
- package/web/chunk-fwckng4e.js.gz +0 -0
- package/web/chunk-g7yyp4ks.js +2 -0
- package/web/chunk-g7yyp4ks.js.br +0 -0
- package/web/chunk-g7yyp4ks.js.gz +0 -0
- package/web/chunk-gbhkp5f4.js +1 -0
- package/web/chunk-gbhkp5f4.js.br +2 -0
- package/web/chunk-gbhkp5f4.js.gz +0 -0
- package/web/chunk-ghz85g7f.js +1 -0
- package/web/chunk-ghz85g7f.js.br +0 -0
- package/web/chunk-ghz85g7f.js.gz +0 -0
- package/web/chunk-gpjdkgxz.js +2 -0
- package/web/chunk-gpjdkgxz.js.br +0 -0
- package/web/chunk-gpjdkgxz.js.gz +0 -0
- package/web/chunk-h3d8gb7m.js +1 -0
- package/web/chunk-h3d8gb7m.js.br +0 -0
- package/web/chunk-h3d8gb7m.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +1 -0
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h702ns45.js +1 -0
- package/web/chunk-h702ns45.js.br +0 -0
- package/web/chunk-h702ns45.js.gz +0 -0
- package/web/chunk-j3tjbge9.js +1 -0
- package/web/chunk-j3tjbge9.js.br +0 -0
- package/web/chunk-j3tjbge9.js.gz +0 -0
- package/web/chunk-j91f1v68.js +2 -0
- package/web/chunk-j91f1v68.js.br +0 -0
- package/web/chunk-j91f1v68.js.gz +0 -0
- package/web/chunk-jd82z5gg.js +1 -0
- package/web/chunk-jd82z5gg.js.br +0 -0
- package/web/chunk-jd82z5gg.js.gz +0 -0
- package/web/chunk-jmksme0n.js +2 -0
- package/web/chunk-jmksme0n.js.br +0 -0
- package/web/chunk-jmksme0n.js.gz +0 -0
- package/web/chunk-jz0wjyzp.js +7 -0
- package/web/chunk-jz0wjyzp.js.br +0 -0
- package/web/chunk-jz0wjyzp.js.gz +0 -0
- package/web/chunk-ka8jrbr5.js +55 -0
- package/web/chunk-ka8jrbr5.js.br +0 -0
- package/web/chunk-ka8jrbr5.js.gz +0 -0
- package/web/chunk-m770h1wv.js +2 -0
- package/web/chunk-m770h1wv.js.br +0 -0
- package/web/chunk-m770h1wv.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +2 -0
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mvmpr9bn.js +1 -0
- package/web/chunk-mvmpr9bn.js.br +0 -0
- package/web/chunk-mvmpr9bn.js.gz +0 -0
- package/web/chunk-my4zxtxx.js +2 -0
- package/web/chunk-my4zxtxx.js.br +0 -0
- package/web/chunk-my4zxtxx.js.gz +0 -0
- package/web/chunk-n7nx158t.js +1 -0
- package/web/chunk-n7nx158t.js.br +0 -0
- package/web/chunk-n7nx158t.js.gz +0 -0
- package/web/chunk-na88frn3.js +1 -0
- package/web/chunk-na88frn3.js.br +0 -0
- package/web/chunk-na88frn3.js.gz +0 -0
- package/web/chunk-nbncq48b.js +1 -0
- package/web/chunk-nbncq48b.js.br +0 -0
- package/web/chunk-nbncq48b.js.gz +0 -0
- package/web/chunk-nyydkfyf.js +1 -0
- package/web/chunk-nyydkfyf.js.br +0 -0
- package/web/chunk-nyydkfyf.js.gz +0 -0
- package/web/chunk-nz06k08x.js +39 -0
- package/web/chunk-nz06k08x.js.br +0 -0
- package/web/chunk-nz06k08x.js.gz +0 -0
- package/web/chunk-p62swsj6.js +139 -0
- package/web/chunk-p62swsj6.js.br +0 -0
- package/web/chunk-p62swsj6.js.gz +0 -0
- package/web/chunk-pajjgx94.js +169 -0
- package/web/chunk-pajjgx94.js.br +0 -0
- package/web/chunk-pajjgx94.js.gz +0 -0
- package/web/chunk-phdpzq61.js +370 -0
- package/web/chunk-phdpzq61.js.br +0 -0
- package/web/chunk-phdpzq61.js.gz +0 -0
- package/web/chunk-pj9r4ha1.js +2 -0
- package/web/chunk-pj9r4ha1.js.br +0 -0
- package/web/chunk-pj9r4ha1.js.gz +0 -0
- package/web/chunk-pqvre6md.js +24 -0
- package/web/chunk-pqvre6md.js.br +0 -0
- package/web/chunk-pqvre6md.js.gz +0 -0
- package/web/chunk-pvq527d1.js +303 -0
- package/web/chunk-pvq527d1.js.br +0 -0
- package/web/chunk-pvq527d1.js.gz +0 -0
- package/web/chunk-pzbqpfpj.js +24 -0
- package/web/chunk-pzbqpfpj.js.br +0 -0
- package/web/chunk-pzbqpfpj.js.gz +0 -0
- package/web/chunk-q990zhg4.js +1 -0
- package/web/chunk-q990zhg4.js.br +0 -0
- package/web/chunk-q990zhg4.js.gz +0 -0
- package/web/chunk-qed51xj9.js +2 -0
- package/web/chunk-qed51xj9.js.br +0 -0
- package/web/chunk-qed51xj9.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +2 -0
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rjax57j0.js +40 -0
- package/web/chunk-rjax57j0.js.br +0 -0
- package/web/chunk-rjax57j0.js.gz +0 -0
- package/web/chunk-s00tks2b.js +98 -0
- package/web/chunk-s00tks2b.js.br +0 -0
- package/web/chunk-s00tks2b.js.gz +0 -0
- package/web/chunk-s3symq0h.js +1 -0
- package/web/chunk-s3symq0h.js.br +0 -0
- package/web/chunk-s3symq0h.js.gz +0 -0
- package/web/chunk-sh2d0212.js +1 -0
- package/web/chunk-sh2d0212.js.br +0 -0
- package/web/chunk-sh2d0212.js.gz +0 -0
- package/web/chunk-t8ksmf3z.js +2 -0
- package/web/chunk-t8ksmf3z.js.br +0 -0
- package/web/chunk-t8ksmf3z.js.gz +0 -0
- package/web/chunk-te4ab7ee.css +1 -0
- package/web/chunk-te4ab7ee.css.br +0 -0
- package/web/chunk-te4ab7ee.css.gz +0 -0
- package/web/chunk-tjhxbt15.js +1 -0
- package/web/chunk-tjhxbt15.js.br +0 -0
- package/web/chunk-tjhxbt15.js.gz +0 -0
- package/web/chunk-tqr5maem.js +291 -0
- package/web/chunk-tqr5maem.js.br +0 -0
- package/web/chunk-tqr5maem.js.gz +0 -0
- package/web/chunk-tt3vgkx6.js +7 -0
- package/web/chunk-tt3vgkx6.js.br +0 -0
- package/web/chunk-tt3vgkx6.js.gz +0 -0
- package/web/chunk-v56w6y8n.js +2 -0
- package/web/chunk-v56w6y8n.js.br +0 -0
- package/web/chunk-v56w6y8n.js.gz +0 -0
- package/web/chunk-v65dz9y5.js +1 -0
- package/web/chunk-v65dz9y5.js.br +0 -0
- package/web/chunk-v65dz9y5.js.gz +0 -0
- package/web/chunk-vaspzebe.js +1 -0
- package/web/chunk-vaspzebe.js.br +0 -0
- package/web/chunk-vaspzebe.js.gz +0 -0
- package/web/chunk-ve5dccwy.js +1 -0
- package/web/chunk-ve5dccwy.js.br +0 -0
- package/web/chunk-ve5dccwy.js.gz +0 -0
- package/web/chunk-vsxzq4nb.js +1 -0
- package/web/chunk-vsxzq4nb.js.br +0 -0
- package/web/chunk-vsxzq4nb.js.gz +0 -0
- package/web/chunk-vvn66f2x.js +16 -0
- package/web/chunk-vvn66f2x.js.br +0 -0
- package/web/chunk-vvn66f2x.js.gz +0 -0
- package/web/chunk-vvqey05d.js +1 -0
- package/web/chunk-vvqey05d.js.br +2 -0
- package/web/chunk-vvqey05d.js.gz +0 -0
- package/web/chunk-w6ajcbm8.js +1 -0
- package/web/chunk-w6ajcbm8.js.br +0 -0
- package/web/chunk-w6ajcbm8.js.gz +0 -0
- package/web/chunk-w6p6dy3k.js +2 -0
- package/web/chunk-w6p6dy3k.js.br +0 -0
- package/web/chunk-w6p6dy3k.js.gz +0 -0
- package/web/chunk-wy1k8vz2.js +1 -0
- package/web/chunk-wy1k8vz2.js.br +0 -0
- package/web/chunk-wy1k8vz2.js.gz +0 -0
- package/web/chunk-wzgv2gv2.js +120 -0
- package/web/chunk-wzgv2gv2.js.br +0 -0
- package/web/chunk-wzgv2gv2.js.gz +0 -0
- package/web/chunk-x78hqhxv.js +1 -0
- package/web/chunk-x78hqhxv.js.br +2 -0
- package/web/chunk-x78hqhxv.js.gz +0 -0
- package/web/chunk-x7mw8704.js +36 -0
- package/web/chunk-x7mw8704.js.br +0 -0
- package/web/chunk-x7mw8704.js.gz +0 -0
- package/web/chunk-x85z35es.js +2 -0
- package/web/chunk-x85z35es.js.br +0 -0
- package/web/chunk-x85z35es.js.gz +0 -0
- package/web/chunk-xbrhmxd8.js +214 -0
- package/web/chunk-xbrhmxd8.js.br +0 -0
- package/web/chunk-xbrhmxd8.js.gz +0 -0
- package/web/chunk-xjpqg11m.js +1 -0
- package/web/chunk-xjpqg11m.js.br +0 -0
- package/web/chunk-xjpqg11m.js.gz +0 -0
- package/web/chunk-y2x9v76f.js +2 -0
- package/web/chunk-y2x9v76f.js.br +0 -0
- package/web/chunk-y2x9v76f.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +1 -0
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-ykc1rttf.js +1 -0
- package/web/chunk-ykc1rttf.js.br +0 -0
- package/web/chunk-ykc1rttf.js.gz +0 -0
- package/web/chunk-yyw0rdyy.js +1 -0
- package/web/chunk-yyw0rdyy.js.br +0 -0
- package/web/chunk-yyw0rdyy.js.gz +0 -0
- package/web/chunk-yzyrc28t.js +30 -0
- package/web/chunk-yzyrc28t.js.br +0 -0
- package/web/chunk-yzyrc28t.js.gz +0 -0
- package/web/chunk-z7j6wnn3.js +2 -0
- package/web/chunk-z7j6wnn3.js.br +0 -0
- package/web/chunk-z7j6wnn3.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +1 -0
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/index.html +3 -13
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/manifest-g1mfa85c.webmanifest +35 -0
- package/web/manifest-g1mfa85c.webmanifest.br +0 -0
- package/web/manifest-g1mfa85c.webmanifest.gz +0 -0
- package/web/manifest.webmanifest +2 -2
- package/web/manifest.webmanifest.br +0 -0
- package/web/manifest.webmanifest.gz +0 -0
- package/web/sw.js +33 -16
- package/web/sw.js.br +0 -0
- package/web/sw.js.gz +0 -0
- package/worker.js +1 -1
- package/chunk-1xam7mw7.js +0 -2
- package/chunk-2df7yf47.js +0 -3
- package/chunk-3a3ta83t.js +0 -12
- package/chunk-3bb12192.js +0 -39
- package/chunk-3j24he2c.js +0 -25
- package/chunk-3yyt010j.js +0 -2
- package/chunk-4hrkad68.js +0 -2
- package/chunk-4kw8vvae.js +0 -3
- package/chunk-5xj2kq5h.js +0 -3
- package/chunk-6hajdf5x.js +0 -2
- package/chunk-6rkwh4w5.js +0 -3
- package/chunk-7ygt906s.js +0 -2
- package/chunk-8jf1kd0m.js +0 -3
- package/chunk-95npkaze.js +0 -5
- package/chunk-9yqn7drg.js +0 -3
- package/chunk-9zwy8ypg.js +0 -117
- package/chunk-ad5asgnr.js +0 -2
- package/chunk-akdav0ay.js +0 -3
- package/chunk-arzyd0f7.js +0 -8
- package/chunk-avrzwnbk.js +0 -2
- package/chunk-b3fwt4jy.js +0 -2
- package/chunk-b41a7yc5.js +0 -7
- package/chunk-be4p5qak.js +0 -103
- package/chunk-br7606yh.js +0 -7
- package/chunk-brgcdzj9.js +0 -60
- package/chunk-bvh3ccr2.js +0 -3
- package/chunk-c0htgv5v.js +0 -3
- package/chunk-ch8bhqmp.js +0 -2
- package/chunk-d2t7tx0d.js +0 -16
- package/chunk-d5qsqt4v.js +0 -2
- package/chunk-d5sxt7bc.js +0 -13
- package/chunk-dz8jyvp4.js +0 -547
- package/chunk-e431qjnf.js +0 -3
- package/chunk-e69h0e2f.js +0 -2
- package/chunk-e9rp422g.js +0 -9
- package/chunk-etvf4tkk.js +0 -3
- package/chunk-ewr4r5yx.js +0 -18
- package/chunk-ezm2t479.js +0 -11
- package/chunk-f5prr1x7.js +0 -59
- package/chunk-fxs37w3f.js +0 -10
- package/chunk-g27efryh.js +0 -20
- package/chunk-g8zcrfzr.js +0 -2
- package/chunk-gde46g2m.js +0 -2
- package/chunk-gnf6jvxv.js +0 -25
- package/chunk-gswcr5j6.js +0 -2
- package/chunk-h22spg1q.js +0 -3
- package/chunk-h2br80f8.js +0 -3
- package/chunk-he09tqj5.js +0 -2
- package/chunk-hkx2cpc5.js +0 -3
- package/chunk-hwkmxr9a.js +0 -5
- package/chunk-j9jg8h44.js +0 -2
- package/chunk-jhgf0vpr.js +0 -5
- package/chunk-k3ndw7d4.js +0 -3
- package/chunk-k8mc2tn3.js +0 -3
- package/chunk-mbf7201c.js +0 -5
- package/chunk-mzhebc7e.js +0 -7
- package/chunk-n1c3t0nj.js +0 -2
- package/chunk-nmpqx2sh.js +0 -3
- package/chunk-p0dacr9z.js +0 -12
- package/chunk-q8gv26ze.js +0 -3
- package/chunk-qj6bf18b.js +0 -3
- package/chunk-rxq62z5t.js +0 -3
- package/chunk-s27309w7.js +0 -3
- package/chunk-sjwsj82f.js +0 -10
- package/chunk-tadyy9xh.js +0 -51
- package/chunk-vgvp6cpk.js +0 -2
- package/chunk-vj5p29fr.js +0 -2
- package/chunk-wbpt03pe.js +0 -31
- package/chunk-wgjt31wp.js +0 -8
- package/chunk-wk6vjpmj.js +0 -3
- package/chunk-x1spmnj8.js +0 -2
- package/chunk-x4anmcq9.js +0 -4
- package/chunk-xd5hf1rg.js +0 -3178
- package/chunk-xpbt4cpe.js +0 -2
- package/chunk-yw2k2syh.js +0 -3
- package/chunk-z3x79jnt.js +0 -3
- package/chunk-zd569v9h.js +0 -2
- package/web/chunk-05b25kh6.js +0 -332
- package/web/chunk-05b25kh6.js.br +0 -0
- package/web/chunk-05b25kh6.js.gz +0 -0
- package/web/chunk-0g6z1xs1.js +0 -2
- package/web/chunk-0g6z1xs1.js.br +0 -0
- package/web/chunk-0g6z1xs1.js.gz +0 -0
- package/web/chunk-0kj45mje.js +0 -2
- package/web/chunk-0kj45mje.js.br +0 -0
- package/web/chunk-0kj45mje.js.gz +0 -0
- package/web/chunk-0wt52yw3.js +0 -1
- package/web/chunk-0wt52yw3.js.br +0 -2
- package/web/chunk-0wt52yw3.js.gz +0 -0
- package/web/chunk-0x9cf6bp.js +0 -38
- package/web/chunk-0x9cf6bp.js.br +0 -0
- package/web/chunk-0x9cf6bp.js.gz +0 -0
- package/web/chunk-0y2f60q6.js +0 -1
- package/web/chunk-0y2f60q6.js.br +0 -0
- package/web/chunk-0y2f60q6.js.gz +0 -0
- package/web/chunk-1axw7vb0.js +0 -214
- package/web/chunk-1axw7vb0.js.br +0 -0
- package/web/chunk-1axw7vb0.js.gz +0 -0
- package/web/chunk-1es5ak4r.js +0 -1
- package/web/chunk-1es5ak4r.js.br +0 -0
- package/web/chunk-1es5ak4r.js.gz +0 -0
- package/web/chunk-1vhk8j0c.js +0 -1
- package/web/chunk-1vhk8j0c.js.br +0 -0
- package/web/chunk-1vhk8j0c.js.gz +0 -0
- package/web/chunk-21jtjwe1.js +0 -1
- package/web/chunk-21jtjwe1.js.br +0 -0
- package/web/chunk-21jtjwe1.js.gz +0 -0
- package/web/chunk-26grg3rq.js +0 -1144
- package/web/chunk-26grg3rq.js.br +0 -0
- package/web/chunk-26grg3rq.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +0 -1
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-2vh05ags.js +0 -2
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2wvgy7f4.js +0 -1
- package/web/chunk-2wvgy7f4.js.br +0 -0
- package/web/chunk-2wvgy7f4.js.gz +0 -0
- package/web/chunk-33bfatdr.js +0 -4
- package/web/chunk-33bfatdr.js.br +0 -0
- package/web/chunk-33bfatdr.js.gz +0 -0
- package/web/chunk-38xsaxws.js +0 -1
- package/web/chunk-38xsaxws.js.br +0 -0
- package/web/chunk-38xsaxws.js.gz +0 -0
- package/web/chunk-3av47wwa.js +0 -7
- package/web/chunk-3av47wwa.js.br +0 -0
- package/web/chunk-3av47wwa.js.gz +0 -0
- package/web/chunk-3rxgch48.js +0 -1
- package/web/chunk-3rxgch48.js.br +0 -0
- package/web/chunk-3rxgch48.js.gz +0 -0
- package/web/chunk-40j8gxty.js +0 -303
- package/web/chunk-40j8gxty.js.br +0 -0
- package/web/chunk-40j8gxty.js.gz +0 -0
- package/web/chunk-43kq2dk7.js +0 -21
- package/web/chunk-43kq2dk7.js.br +0 -0
- package/web/chunk-43kq2dk7.js.gz +0 -0
- package/web/chunk-4cw67sdz.js +0 -78
- package/web/chunk-4cw67sdz.js.br +0 -0
- package/web/chunk-4cw67sdz.js.gz +0 -0
- package/web/chunk-4k4c2se1.js +0 -2
- package/web/chunk-4k4c2se1.js.br +0 -0
- package/web/chunk-4k4c2se1.js.gz +0 -0
- package/web/chunk-50dr941q.js +0 -55
- package/web/chunk-50dr941q.js.br +0 -0
- package/web/chunk-50dr941q.js.gz +0 -0
- package/web/chunk-56hx6a5h.js +0 -1
- package/web/chunk-56hx6a5h.js.br +0 -0
- package/web/chunk-56hx6a5h.js.gz +0 -0
- package/web/chunk-5m1p98r5.js +0 -2
- package/web/chunk-5m1p98r5.js.br +0 -0
- package/web/chunk-5m1p98r5.js.gz +0 -0
- package/web/chunk-5m45mc2k.js +0 -99
- package/web/chunk-5m45mc2k.js.br +0 -0
- package/web/chunk-5m45mc2k.js.gz +0 -0
- package/web/chunk-6gfa17h5.js +0 -1
- package/web/chunk-6gfa17h5.js.br +0 -0
- package/web/chunk-6gfa17h5.js.gz +0 -0
- package/web/chunk-7e57me98.js +0 -1
- package/web/chunk-7e57me98.js.br +0 -0
- package/web/chunk-7e57me98.js.gz +0 -0
- package/web/chunk-7ht7dssg.js +0 -1
- package/web/chunk-7ht7dssg.js.br +0 -0
- package/web/chunk-7ht7dssg.js.gz +0 -0
- package/web/chunk-8jxg1srx.js +0 -1
- package/web/chunk-8jxg1srx.js.br +0 -2
- package/web/chunk-8jxg1srx.js.gz +0 -0
- package/web/chunk-8q9970dm.js +0 -2
- package/web/chunk-8q9970dm.js.br +0 -0
- package/web/chunk-8q9970dm.js.gz +0 -0
- package/web/chunk-8t1kh5r9.js +0 -370
- package/web/chunk-8t1kh5r9.js.br +0 -0
- package/web/chunk-8t1kh5r9.js.gz +0 -0
- package/web/chunk-8za5fkrq.js +0 -1
- package/web/chunk-8za5fkrq.js.br +0 -0
- package/web/chunk-8za5fkrq.js.gz +0 -0
- package/web/chunk-96dhr80q.js +0 -8
- package/web/chunk-96dhr80q.js.br +0 -0
- package/web/chunk-96dhr80q.js.gz +0 -0
- package/web/chunk-98y5p1r2.js +0 -1
- package/web/chunk-98y5p1r2.js.br +0 -0
- package/web/chunk-98y5p1r2.js.gz +0 -0
- package/web/chunk-9f77mxfz.js +0 -98
- package/web/chunk-9f77mxfz.js.br +0 -0
- package/web/chunk-9f77mxfz.js.gz +0 -0
- package/web/chunk-9g2fam83.js +0 -2
- package/web/chunk-9g2fam83.js.br +0 -0
- package/web/chunk-9g2fam83.js.gz +0 -0
- package/web/chunk-9we3a8ak.js +0 -84
- package/web/chunk-9we3a8ak.js.br +0 -0
- package/web/chunk-9we3a8ak.js.gz +0 -0
- package/web/chunk-adfd0mhj.js +0 -1
- package/web/chunk-adfd0mhj.js.br +0 -0
- package/web/chunk-adfd0mhj.js.gz +0 -0
- package/web/chunk-aem9wyqq.js +0 -30
- package/web/chunk-aem9wyqq.js.br +0 -0
- package/web/chunk-aem9wyqq.js.gz +0 -0
- package/web/chunk-ajzrsqpp.js +0 -1
- package/web/chunk-ajzrsqpp.js.br +0 -0
- package/web/chunk-ajzrsqpp.js.gz +0 -0
- package/web/chunk-b4t33dft.js +0 -7
- package/web/chunk-b4t33dft.js.br +0 -0
- package/web/chunk-b4t33dft.js.gz +0 -0
- package/web/chunk-b86sddt6.js +0 -1
- package/web/chunk-b86sddt6.js.br +0 -0
- package/web/chunk-b86sddt6.js.gz +0 -0
- package/web/chunk-bt8ww8df.js +0 -142
- package/web/chunk-bt8ww8df.js.br +0 -0
- package/web/chunk-bt8ww8df.js.gz +0 -0
- package/web/chunk-c1tsq0ta.js +0 -1
- package/web/chunk-c1tsq0ta.js.br +0 -0
- package/web/chunk-c1tsq0ta.js.gz +0 -0
- package/web/chunk-ckkd4qn1.js +0 -1
- package/web/chunk-ckkd4qn1.js.br +0 -0
- package/web/chunk-ckkd4qn1.js.gz +0 -0
- package/web/chunk-cxh1ztpm.js +0 -200
- package/web/chunk-cxh1ztpm.js.br +0 -0
- package/web/chunk-cxh1ztpm.js.gz +0 -0
- package/web/chunk-db2pew8j.js +0 -2
- package/web/chunk-db2pew8j.js.br +0 -0
- package/web/chunk-db2pew8j.js.gz +0 -0
- package/web/chunk-dk2jv3kv.js +0 -2
- package/web/chunk-dk2jv3kv.js.br +0 -0
- package/web/chunk-dk2jv3kv.js.gz +0 -0
- package/web/chunk-dk9efr2r.js +0 -1
- package/web/chunk-dk9efr2r.js.br +0 -0
- package/web/chunk-dk9efr2r.js.gz +0 -0
- package/web/chunk-dmn5rvmt.js +0 -169
- package/web/chunk-dmn5rvmt.js.br +0 -0
- package/web/chunk-dmn5rvmt.js.gz +0 -0
- package/web/chunk-dtzm3qsp.js +0 -34
- package/web/chunk-dtzm3qsp.js.br +0 -0
- package/web/chunk-dtzm3qsp.js.gz +0 -0
- package/web/chunk-e1j49cha.js +0 -140
- package/web/chunk-e1j49cha.js.br +0 -0
- package/web/chunk-e1j49cha.js.gz +0 -0
- package/web/chunk-e24ammbc.js +0 -292
- package/web/chunk-e24ammbc.js.br +0 -0
- package/web/chunk-e24ammbc.js.gz +0 -0
- package/web/chunk-ebvk893x.js +0 -2
- package/web/chunk-ebvk893x.js.br +0 -0
- package/web/chunk-ebvk893x.js.gz +0 -0
- package/web/chunk-ecv7r3t9.js +0 -24
- package/web/chunk-ecv7r3t9.js.br +0 -0
- package/web/chunk-ecv7r3t9.js.gz +0 -0
- package/web/chunk-etkhjrfg.js +0 -1
- package/web/chunk-etkhjrfg.js.br +0 -0
- package/web/chunk-etkhjrfg.js.gz +0 -0
- package/web/chunk-f3ennx3q.js +0 -1
- package/web/chunk-f3ennx3q.js.br +0 -0
- package/web/chunk-f3ennx3q.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +0 -2
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-fpg6cdg9.js +0 -1
- package/web/chunk-fpg6cdg9.js.br +0 -0
- package/web/chunk-fpg6cdg9.js.gz +0 -0
- package/web/chunk-fq9kkd61.js +0 -1
- package/web/chunk-fq9kkd61.js.br +0 -0
- package/web/chunk-fq9kkd61.js.gz +0 -0
- package/web/chunk-fr9gd1pt.js +0 -1
- package/web/chunk-fr9gd1pt.js.br +0 -0
- package/web/chunk-fr9gd1pt.js.gz +0 -0
- package/web/chunk-fsfpgs2w.css +0 -1
- package/web/chunk-fsfpgs2w.css.br +0 -0
- package/web/chunk-fsfpgs2w.css.gz +0 -0
- package/web/chunk-ftggg1s9.js +0 -324
- package/web/chunk-ftggg1s9.js.br +0 -0
- package/web/chunk-ftggg1s9.js.gz +0 -0
- package/web/chunk-g337nkpz.js +0 -2
- package/web/chunk-g337nkpz.js.br +0 -0
- package/web/chunk-g337nkpz.js.gz +0 -0
- package/web/chunk-g52np0en.js +0 -1
- package/web/chunk-g52np0en.js.br +0 -0
- package/web/chunk-g52np0en.js.gz +0 -0
- package/web/chunk-gc6pdwjs.js +0 -2
- package/web/chunk-gc6pdwjs.js.br +0 -0
- package/web/chunk-gc6pdwjs.js.gz +0 -0
- package/web/chunk-gks3ybk7.js +0 -291
- package/web/chunk-gks3ybk7.js.br +0 -0
- package/web/chunk-gks3ybk7.js.gz +0 -0
- package/web/chunk-hr1t5hxj.js +0 -1
- package/web/chunk-hr1t5hxj.js.br +0 -0
- package/web/chunk-hr1t5hxj.js.gz +0 -0
- package/web/chunk-k67ze3zq.js +0 -2
- package/web/chunk-k67ze3zq.js.br +0 -0
- package/web/chunk-k67ze3zq.js.gz +0 -0
- package/web/chunk-kcrkppec.js +0 -1
- package/web/chunk-kcrkppec.js.br +0 -0
- package/web/chunk-kcrkppec.js.gz +0 -0
- package/web/chunk-kd2346aw.js +0 -2
- package/web/chunk-kd2346aw.js.br +0 -0
- package/web/chunk-kd2346aw.js.gz +0 -0
- package/web/chunk-kh93xybm.js +0 -62
- package/web/chunk-kh93xybm.js.br +0 -0
- package/web/chunk-kh93xybm.js.gz +0 -0
- package/web/chunk-m32tg04f.js +0 -1
- package/web/chunk-m32tg04f.js.br +0 -0
- package/web/chunk-m32tg04f.js.gz +0 -0
- package/web/chunk-mg98g3yx.js +0 -106
- package/web/chunk-mg98g3yx.js.br +0 -0
- package/web/chunk-mg98g3yx.js.gz +0 -0
- package/web/chunk-mqdvg55y.js +0 -2
- package/web/chunk-mqdvg55y.js.br +0 -0
- package/web/chunk-mqdvg55y.js.gz +0 -0
- package/web/chunk-myg415b8.js +0 -1
- package/web/chunk-myg415b8.js.br +0 -0
- package/web/chunk-myg415b8.js.gz +0 -0
- package/web/chunk-myn0rj98.js +0 -2
- package/web/chunk-myn0rj98.js.br +0 -0
- package/web/chunk-myn0rj98.js.gz +0 -0
- package/web/chunk-nvq8s71g.js +0 -1
- package/web/chunk-nvq8s71g.js.br +0 -0
- package/web/chunk-nvq8s71g.js.gz +0 -0
- package/web/chunk-pphtw0xj.js +0 -7
- package/web/chunk-pphtw0xj.js.br +0 -0
- package/web/chunk-pphtw0xj.js.gz +0 -0
- package/web/chunk-ptdh13r5.js +0 -1
- package/web/chunk-ptdh13r5.js.br +0 -0
- package/web/chunk-ptdh13r5.js.gz +0 -0
- package/web/chunk-q1gyt5y6.js +0 -1
- package/web/chunk-q1gyt5y6.js.br +0 -0
- package/web/chunk-q1gyt5y6.js.gz +0 -0
- package/web/chunk-q40c0y7d.js +0 -24
- package/web/chunk-q40c0y7d.js.br +0 -0
- package/web/chunk-q40c0y7d.js.gz +0 -0
- package/web/chunk-q7pyqxqn.js +0 -89
- package/web/chunk-q7pyqxqn.js.br +0 -0
- package/web/chunk-q7pyqxqn.js.gz +0 -0
- package/web/chunk-r5rt7t62.js +0 -1
- package/web/chunk-r5rt7t62.js.br +0 -0
- package/web/chunk-r5rt7t62.js.gz +0 -0
- package/web/chunk-ra8jt8jw.js +0 -2
- package/web/chunk-ra8jt8jw.js.br +0 -0
- package/web/chunk-ra8jt8jw.js.gz +0 -0
- package/web/chunk-rgh3x4h4.js +0 -1
- package/web/chunk-rgh3x4h4.js.br +0 -0
- package/web/chunk-rgh3x4h4.js.gz +0 -0
- package/web/chunk-rvcq48wy.js +0 -1
- package/web/chunk-rvcq48wy.js.br +0 -0
- package/web/chunk-rvcq48wy.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +0 -1
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxvvg771.js +0 -1
- package/web/chunk-rxvvg771.js.br +0 -0
- package/web/chunk-rxvvg771.js.gz +0 -0
- package/web/chunk-sfb3w9nf.js +0 -1
- package/web/chunk-sfb3w9nf.js.br +0 -2
- package/web/chunk-sfb3w9nf.js.gz +0 -0
- package/web/chunk-srwx1v8c.js +0 -39
- package/web/chunk-srwx1v8c.js.br +0 -0
- package/web/chunk-srwx1v8c.js.gz +0 -0
- package/web/chunk-t1et0w6s.js +0 -2
- package/web/chunk-t1et0w6s.js.br +0 -0
- package/web/chunk-t1et0w6s.js.gz +0 -0
- package/web/chunk-tm7c78hm.js +0 -1
- package/web/chunk-tm7c78hm.js.br +0 -0
- package/web/chunk-tm7c78hm.js.gz +0 -0
- package/web/chunk-tmrh8hv1.js +0 -1
- package/web/chunk-tmrh8hv1.js.br +0 -0
- package/web/chunk-tmrh8hv1.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +0 -2
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tyengwea.js +0 -12
- package/web/chunk-tyengwea.js.br +0 -0
- package/web/chunk-tyengwea.js.gz +0 -0
- package/web/chunk-v13gqed9.js +0 -2
- package/web/chunk-v13gqed9.js.br +0 -0
- package/web/chunk-v13gqed9.js.gz +0 -0
- package/web/chunk-v6srkjvx.js +0 -41
- package/web/chunk-v6srkjvx.js.br +0 -0
- package/web/chunk-v6srkjvx.js.gz +0 -0
- package/web/chunk-vyn5qg7j.js +0 -1
- package/web/chunk-vyn5qg7j.js.br +0 -0
- package/web/chunk-vyn5qg7j.js.gz +0 -0
- package/web/chunk-w8se91rf.js +0 -2
- package/web/chunk-w8se91rf.js.br +0 -0
- package/web/chunk-w8se91rf.js.gz +0 -0
- package/web/chunk-wc533d3w.js +0 -4
- package/web/chunk-wc533d3w.js.br +0 -0
- package/web/chunk-wc533d3w.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +0 -1
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +0 -2
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wjpdjzkt.js +0 -36
- package/web/chunk-wjpdjzkt.js.br +0 -0
- package/web/chunk-wjpdjzkt.js.gz +0 -0
- package/web/chunk-wwnzjj7x.js +0 -2
- package/web/chunk-wwnzjj7x.js.br +0 -0
- package/web/chunk-wwnzjj7x.js.gz +0 -0
- package/web/chunk-wypacndw.js +0 -120
- package/web/chunk-wypacndw.js.br +0 -0
- package/web/chunk-wypacndw.js.gz +0 -0
- package/web/chunk-x3p573sq.js +0 -2
- package/web/chunk-x3p573sq.js.br +0 -0
- package/web/chunk-x3p573sq.js.gz +0 -0
- package/web/chunk-x6zh7fcc.js +0 -16
- package/web/chunk-x6zh7fcc.js.br +0 -0
- package/web/chunk-x6zh7fcc.js.gz +0 -0
- package/web/chunk-x87bgw5s.js +0 -89
- package/web/chunk-x87bgw5s.js.br +0 -0
- package/web/chunk-x87bgw5s.js.gz +0 -0
- package/web/chunk-xevjmmdd.js +0 -217
- package/web/chunk-xevjmmdd.js.br +0 -0
- package/web/chunk-xevjmmdd.js.gz +0 -0
- package/web/chunk-xwjytx6p.js +0 -139
- package/web/chunk-xwjytx6p.js.br +0 -0
- package/web/chunk-xwjytx6p.js.gz +0 -0
- package/web/chunk-y0xvbh5g.js +0 -1
- package/web/chunk-y0xvbh5g.js.br +0 -0
- package/web/chunk-y0xvbh5g.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +0 -1
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-ybq42mr5.js +0 -2
- package/web/chunk-ybq42mr5.js.br +0 -0
- package/web/chunk-ybq42mr5.js.gz +0 -0
- package/web/chunk-yhzcc87m.js +0 -3
- package/web/chunk-yhzcc87m.js.br +0 -0
- package/web/chunk-yhzcc87m.js.gz +0 -0
- package/web/chunk-yphdbf42.js +0 -70
- package/web/chunk-yphdbf42.js.br +0 -0
- package/web/chunk-yphdbf42.js.gz +0 -0
- package/web/chunk-ythxsag5.js +0 -40
- package/web/chunk-ythxsag5.js.br +0 -0
- package/web/chunk-ythxsag5.js.gz +0 -0
- package/web/chunk-z0smmkfw.js +0 -2
- package/web/chunk-z0smmkfw.js.br +0 -0
- package/web/chunk-z0smmkfw.js.gz +0 -0
- package/web/chunk-zmm3f9sr.js +0 -1
- package/web/chunk-zmm3f9sr.js.br +0 -0
- package/web/chunk-zmm3f9sr.js.gz +0 -0
- package/web/chunk-zxt6qh82.js +0 -2
- package/web/chunk-zxt6qh82.js.br +0 -0
- package/web/chunk-zxt6qh82.js.gz +0 -0
- package/web/manifest-txf6vfbq.webmanifest +0 -35
- package/web/manifest-txf6vfbq.webmanifest.br +0 -0
- package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$s}from"./chunk-evt920fg.js";export{$s as createPieServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dc,Yc,mc,Xc,Kc,fc}from"./chunk-8kxc78xp.js";import"./chunk-e0r89rgm.js";import"./chunk-pj9r4ha1.js";import"./chunk-pvq527d1.js";export{Yc as applyDagreLayoutResult,dc as getEdgesToRender,Xc as measureDagreLayout,mc as prepareLayoutForDagre,fc as render,Kc as runDagreLayoutCore};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{t,i,d,F,Tn,Nc,gn,lr,Ln,wa,pr}from"./chunk-pvq527d1.js";import{Qe,_t,Wt,ot,ln,er,le,je,rn,tr,an,Ha,io,oo,so,Hr,Sn,co,Ur,wt,jr,Fn,An,qr,nr,Vr,lo,po,Ua,Je,uo,Gr,rr,Wr,ja,qa,ar,mo,Va,fo,Ei,pn,Ga,ho,go,vo,Bt,Wa,Ya,Yr,yo,Xa,_,Yt,un,et,ir,we}from"./chunk-pj9r4ha1.js";import{no,ro,ie,da,hc,ao,za}from"./chunk-e0r89rgm.js";import{Nn}from"./chunk-776d411a.js";var hr={};Nn(hr,{default:()=>Z});var Kn=/\s/;function Jn(r){var e=r.length;while(e--&&Kn.test(r.charAt(e)));return e}var oe=Jn;var Zn=/^\s+/;function $n(r){return r?r.slice(0,oe(r)+1).replace(Zn,""):r}var ae=$n;var fe=NaN,Qn=/^[-+]0x[0-9a-f]+$/i,eo=/^0b[01]+$/i,to=/^0o[0-7]+$/i,bo=parseInt;function wo(r){if(typeof r=="number")return r;if(ln(r))return fe;if(je(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=je(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=ae(r);var n=eo.test(r);return n||to.test(r)?bo(r.slice(2),n?2:8):Qn.test(r)?fe:+r}var se=wo;var ue=1/0,_o=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;function Eo(r){if(!r)return r===0?r:0;if(r=se(r),r===ue||r===-ue){var e=r<0?-1:1;return e*_o}return r===r?r:0}var V=Eo;function xo(r){var e=V(r),n=e%1;return e===e?n?e-n:e:0}var de=xo;var ce=Object.create,Oo=function(){function r(){}return function(e){if(!je(e))return{};if(ce)return ce(e);r.prototype=e;var n=new r;return r.prototype=void 0,n}}(),pe=Oo;function Lo(r,e){var n=-1,o=r.length;e||(e=Array(o));while(++n<o)e[n]=r[n];return e}var cr=Lo;function Io(r,e,n){if(e=="__proto__"&&Ha)Ha(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0});else r[e]=n}var R=Io;var So=Object.prototype,No=So.hasOwnProperty;function Po(r,e,n){var o=r[e];if(!(No.call(r,e)&&Sn(o,n))||n===void 0&&!(e in r))R(r,e,n)}var M=Po;function ko(r,e,n,o){var a=!n;n||(n={});var f=-1,s=e.length;while(++f<s){var u=e[f],c=o?o(n[u],r[u],u,n,r):void 0;if(c===void 0)c=r[u];if(a)R(n,u,c);else M(n,u,c)}return n}var P=ko;function To(r,e,n){if(!je(n))return!1;var o=typeof e;if(o=="number"?wt(n)&&Hr(e,n.length):o=="string"&&(e in n))return Sn(n[e],r);return!1}var T=To;function Co(r){return Ur(function(e,n){var o=-1,a=n.length,f=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;if(f=r.length>3&&typeof f=="function"?(a--,f):void 0,s&&T(n[0],n[1],s))f=a<3?void 0:f,a=1;e=Object(e);while(++o<a){var u=n[o];if(u)r(e,u,o,f)}return e})}var me=Co;function Ao(r){var e=[];if(r!=null)for(var n in Object(r))e.push(n);return e}var he=Ao;var Ro=Object.prototype,Mo=Ro.hasOwnProperty;function jo(r){if(!je(r))return he(r);var e=jr(r),n=[];for(var o in r)if(!(o=="constructor"&&(e||!Mo.call(r,o))))n.push(o);return n}var ge=jo;function Bo(r){return wt(r)?lo(r,!0):ge(r)}var L=Bo;function Do(r){var e=r==null?0:r.length;return e?qa(r,1):[]}var S=Do;function Fo(r){return io(co(r,void 0,S),r+"")}var ve=Fo;var Go=po(Object.getPrototypeOf,Object),Y=Go;var Xo="[object Object]",Uo=Function.prototype,Vo=Object.prototype,be=Uo.toString,Yo=Vo.hasOwnProperty,zo=be.call(Object);function Wo(r){if(!ot(r)||Wt(r)!=Xo)return!1;var e=Y(r);if(e===null)return!0;var n=Yo.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&be.call(n)==zo}var ye=Wo;var qo="\\ud800-\\udfff",Ho="\\u0300-\\u036f",Ko="\\ufe20-\\ufe2f",Jo="\\u20d0-\\u20ff",Zo=Ho+Ko+Jo,$o="\\ufe0e\\ufe0f",Qo="\\u200d",ri=RegExp("["+Qo+qo+Zo+$o+"]");function ei(r){return ri.test(r)}var _e=ei;function ti(r,e){return r&&P(e,Je(e),r)}var Ee=ti;function ni(r,e){return r&&P(e,L(e),r)}var xe=ni;var Se=typeof hr=="object"&&hr&&!hr.nodeType&&hr,Oe=Se&&typeof mr=="object"&&mr&&!mr.nodeType&&mr,oi=Oe&&Oe.exports===Se,Le=oi?Qe.Buffer:void 0,Ie=Le?Le.allocUnsafe:void 0;function ii(r,e){if(e)return r.slice();var n=r.length,o=Ie?Ie(n):new r.constructor(n);return r.copy(o),o}var Z=ii;function ai(r,e){return P(r,Va(r),e)}var Ne=ai;var fi=Object.getOwnPropertySymbols,si=!fi?mo:function(r){var e=[];while(r)ja(e,Va(r)),r=Y(r);return e},gr=si;function ui(r,e){return P(r,gr(r),e)}var Pe=ui;function di(r){return fo(r,L,gr)}var ke=di;var ci=Object.prototype,pi=ci.hasOwnProperty;function li(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&pi.call(r,"index"))n.index=r.index,n.input=r.input;return n}var Te=li;function mi(r){var e=new r.constructor(r.byteLength);return new Ga(e).set(new Ga(r)),e}var z=mi;function hi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var Ce=hi;var gi=/\w*$/;function vi(r){var e=new r.constructor(r.source,gi.exec(r));return e.lastIndex=r.lastIndex,e}var Ae=vi;var Re=_t?_t.prototype:void 0,Me=Re?Re.valueOf:void 0;function bi(r){return Me?Object(Me.call(r)):{}}var Be=bi;function yi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var vr=yi;var wi="[object Boolean]",_i="[object Date]",xi="[object Map]",Oi="[object Number]",Li="[object RegExp]",Ii="[object Set]",Si="[object String]",Ni="[object Symbol]",Pi="[object ArrayBuffer]",ki="[object DataView]",Ti="[object Float32Array]",Ci="[object Float64Array]",Ai="[object Int8Array]",Ri="[object Int16Array]",Mi="[object Int32Array]",ji="[object Uint8Array]",Bi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Fi="[object Uint32Array]";function Gi(r,e,n){var o=r.constructor;switch(e){case Pi:return z(r);case wi:case _i:return new o(+r);case ki:return Ce(r,n);case Ti:case Ci:case Ai:case Ri:case Mi:case ji:case Bi:case Di:case Fi:return vr(r,n);case xi:return new o;case Oi:case Si:return new o(r);case Li:return Ae(r);case Ii:return new o;case Ni:return Be(r)}}var De=Gi;function Xi(r){return typeof r.constructor=="function"&&!jr(r)?pe(Y(r)):{}}var br=Xi;var Ui="[object Map]";function Vi(r){return ot(r)&&pn(r)==Ui}var Fe=Vi;var Ge=nr&&nr.isMap,Yi=Ge?qr(Ge):Fe,Xe=Yi;var zi="[object Set]";function Wi(r){return ot(r)&&pn(r)==zi}var Ue=Wi;var Ve=nr&&nr.isSet,qi=Ve?qr(Ve):Ue,Ye=qi;var Hi=1,Ki=2,Ji=4,ze="[object Arguments]",Zi="[object Array]",$i="[object Boolean]",Qi="[object Date]",ra="[object Error]",We="[object Function]",ea="[object GeneratorFunction]",ta="[object Map]",na="[object Number]",qe="[object Object]",oa="[object RegExp]",ia="[object Set]",aa="[object String]",fa="[object Symbol]",sa="[object WeakMap]",ua="[object ArrayBuffer]",ca="[object DataView]",pa="[object Float32Array]",la="[object Float64Array]",ma="[object Int8Array]",ha="[object Int16Array]",ga="[object Int32Array]",va="[object Uint8Array]",ba="[object Uint8ClampedArray]",ya="[object Uint16Array]",_a="[object Uint32Array]",x={};x[ze]=x[Zi]=x[ua]=x[ca]=x[$i]=x[Qi]=x[pa]=x[la]=x[ma]=x[ha]=x[ga]=x[ta]=x[na]=x[qe]=x[oa]=x[ia]=x[aa]=x[fa]=x[va]=x[ba]=x[ya]=x[_a]=!0;x[ra]=x[We]=x[sa]=!1;function yr(r,e,n,o,a,f){var s,u=e&Hi,c=e&Ki,p=e&Ji;if(n)s=a?n(r,o,a,f):n(r);if(s!==void 0)return s;if(!je(r))return r;var l=le(r);if(l){if(s=Te(r),!u)return cr(r,s)}else{var m=pn(r),h=m==We||m==ea;if(An(r))return Z(r,u);if(m==qe||m==ze||h&&!a){if(s=c||h?{}:br(r),!u)return c?Pe(r,xe(s,r)):Ne(r,Ee(s,r))}else{if(!x[m])return a?r:{};s=De(r,m,u)}}f||(f=new ar);var v=f.get(r);if(v)return v;if(f.set(r,s),Ye(r))r.forEach(function(g){s.add(yr(g,e,n,g,r,f))});else if(Xe(r))r.forEach(function(g,w){s.set(w,yr(g,e,n,w,r,f))});var y=p?c?ke:Ei:c?L:Je,b=l?void 0:y(r);return oo(b||r,function(g,w){if(b)w=g,g=r[w];M(s,w,yr(g,e,n,w,r,f))}),s}var He=yr;var Ea=1,xa=4;function Oa(r){return He(r,Ea|xa)}var Ke=Oa;var La=function(){return Qe.Date.now()},Ir=La;var Ze=Object.prototype,Ia=Ze.hasOwnProperty,Sa=Ur(function(r,e){r=Object(r);var n=-1,o=e.length,a=o>2?e[2]:void 0;if(a&&T(e[0],e[1],a))o=1;while(++n<o){var f=e[n],s=L(f),u=-1,c=s.length;while(++u<c){var p=s[u],l=r[p];if(l===void 0||Sn(l,Ze[p])&&!Ia.call(r,p))r[p]=f[p]}}return r}),$e=Sa;function Na(r,e,n){if(n!==void 0&&!Sn(r[e],n)||n===void 0&&!(e in r))R(r,e,n)}var Q=Na;function Pa(r,e){if(e==="constructor"&&typeof r[e]==="function")return;if(e=="__proto__")return;return r[e]}var or=Pa;function ka(r){return P(r,L(r))}var rt=ka;function Ta(r,e,n,o,a,f,s){var u=or(r,n),c=or(e,n),p=s.get(c);if(p){Q(r,n,p);return}var l=f?f(u,c,n+"",r,e,s):void 0,m=l===void 0;if(m){var h=le(c),v=!h&&An(c),y=!h&&!v&&Vr(c);if(l=c,h||v||y)if(le(u))l=u;else if(yo(u))l=cr(u);else if(v)m=!1,l=Z(c,!0);else if(y)m=!1,l=vr(c,!0);else l=[];else if(ye(c)||Fn(c)){if(l=u,Fn(u))l=rt(u);else if(!je(u)||tr(u))l=br(c)}else m=!1}if(m)s.set(c,l),a(l,c,o,f,s),s.delete(c);Q(r,n,l)}var tt=Ta;function nt(r,e,n,o,a){if(r===e)return;Wa(e,function(f,s){if(a||(a=new ar),je(f))tt(r,e,s,n,nt,o,a);else{var u=o?o(or(r,s),f,s+"",r,e,a):void 0;if(u===void 0)u=f;Q(r,s,u)}},L)}var it=nt;function Ca(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}var X=Ca;function Aa(r){return function(e,n,o){var a=Object(e);if(!wt(e)){var f=Bt(n,3);e=Je(e),n=function(u){return f(a[u],u,a)}}var s=r(e,n,o);return s>-1?a[f?e[s]:s]:void 0}}var at=Aa;var Ra=Math.max;function Ma(r,e,n){var o=r==null?0:r.length;if(!o)return-1;var a=n==null?0:de(n);if(a<0)a=Ra(o+a,0);return so(r,Bt(e,3),a)}var ft=Ma;var Ba=at(ft),fr=Ba;function Da(r,e){var n=-1,o=wt(r)?Array(r.length):[];return Yr(r,function(a,f,s){o[++n]=e(a,f,s)}),o}var wr=Da;function Fa(r,e){var n=le(r)?er:wr;return n(r,Bt(e,3))}var E=Fa;function Ka(r,e){return r==null?r:Wa(r,Xa(e),L)}var st=Ka;function Ja(r,e){return r&&Ya(r,Xa(e))}var ut=Ja;function Za(r,e){return r>e}var dt=Za;var $a=Object.prototype,Qa=$a.hasOwnProperty;function rf(r,e){return r!=null&&Qa.call(r,e)}var ct=rf;function ef(r,e){return r!=null&&ho(r,e,ct)}var _r=ef;var tf="[object String]";function nf(r){return typeof r=="string"||!le(r)&&ot(r)&&Wt(r)==tf}var pt=nf;function of(r,e){return r<e}var Er=of;function af(r,e){var n={};return e=Bt(e,3),Ya(r,function(o,a,f){R(n,a,e(o,a,f))}),n}var W=af;function ff(r,e,n){var o=-1,a=r.length;while(++o<a){var f=r[o],s=e(f);if(s!=null&&(u===void 0?s===s&&!ln(s):n(s,u)))var u=s,c=f}return c}var q=ff;function sf(r){return r&&r.length?q(r,rn,dt):void 0}var I=sf;var uf=me(function(r,e,n){it(r,e,n)}),sr=uf;function df(r){return r&&r.length?q(r,rn,Er):void 0}var j=df;function cf(r,e){return r&&r.length?q(r,Bt(e,2),Er):void 0}var H=cf;function pf(r,e,n,o){if(!je(r))return r;e=Gr(e,r);var a=-1,f=e.length,s=f-1,u=r;while(u!=null&&++a<f){var c=rr(e[a]),p=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return r;if(a!=s){var l=u[c];if(p=o?o(l,c,u):void 0,p===void 0)p=je(l)?l:Hr(e[a+1])?[]:{}}M(u,c,p),u=u[c]}return r}var lt=pf;function lf(r,e,n){var o=-1,a=e.length,f={};while(++o<a){var s=e[o],u=Wr(r,s);if(n(u,s))lt(f,Gr(s,r),u)}return f}var mt=lf;function mf(r,e){var n=r.length;r.sort(e);while(n--)r[n]=r[n].value;return r}var ht=mf;function hf(r,e){if(r!==e){var n=r!==void 0,o=r===null,a=r===r,f=ln(r),s=e!==void 0,u=e===null,c=e===e,p=ln(e);if(!u&&!p&&!f&&r>e||f&&s&&c&&!u&&!p||o&&s&&c||!n&&c||!a)return 1;if(!o&&!f&&!p&&r<e||p&&n&&a&&!o&&!f||u&&n&&a||!s&&a||!c)return-1}return 0}var gt=hf;function gf(r,e,n){var o=-1,a=r.criteria,f=e.criteria,s=a.length,u=n.length;while(++o<s){var c=gt(a[o],f[o]);if(c){if(o>=u)return c;var p=n[o];return c*(p=="desc"?-1:1)}}return r.index-e.index}var vt=gf;function vf(r,e,n){if(e.length)e=er(e,function(f){if(le(f))return function(s){return Wr(s,f.length===1?f[0]:f)};return f});else e=[rn];var o=-1;e=er(e,qr(Bt));var a=wr(r,function(f,s,u){var c=er(e,function(p){return p(f)});return{criteria:c,index:++o,value:f}});return ht(a,function(f,s){return vt(f,s,n)})}var bt=vf;var bf=vo("length"),yt=bf;var xt="\\ud800-\\udfff",yf="\\u0300-\\u036f",wf="\\ufe20-\\ufe2f",_f="\\u20d0-\\u20ff",Ef=yf+wf+_f,xf="\\ufe0e\\ufe0f",Of="["+xt+"]",Sr="["+Ef+"]",Nr="\\ud83c[\\udffb-\\udfff]",Lf="(?:"+Sr+"|"+Nr+")",Ot="[^"+xt+"]",Lt="(?:\\ud83c[\\udde6-\\uddff]){2}",It="[\\ud800-\\udbff][\\udc00-\\udfff]",If="\\u200d",St=Lf+"?",Nt="["+xf+"]?",Sf="(?:"+If+"(?:"+[Ot,Lt,It].join("|")+")"+Nt+St+")*",Nf=Nt+St+Sf,Pf="(?:"+[Ot+Sr+"?",Sr,Lt,It,Of].join("|")+")",Et=RegExp(Nr+"(?="+Nr+")|"+Pf+Nf,"g");function kf(r){var e=Et.lastIndex=0;while(Et.test(r))++e;return e}var Pt=kf;function Tf(r){return _e(r)?Pt(r):yt(r)}var kt=Tf;function Cf(r,e){return mt(r,e,function(n,o){return go(r,o)})}var Tt=Cf;var Af=ve(function(r,e){return r==null?{}:Tt(r,e)}),K=Af;var{ceil:Rf,max:Mf}=Math;function jf(r,e,n,o){var a=-1,f=Mf(Rf((e-r)/(n||1)),0),s=Array(f);while(f--)s[o?f:++a]=r,r+=n;return s}var Ct=jf;function Bf(r){return function(e,n,o){if(o&&typeof o!="number"&&T(e,n,o))n=o=void 0;if(e=V(e),n===void 0)n=e,e=0;else n=V(n);return o=o===void 0?e<n?1:-1:V(o),Ct(e,n,o,r)}}var At=Bf;var Df=At(),N=Df;var Ff="[object Map]",Gf="[object Set]";function Xf(r){if(r==null)return 0;if(wt(r))return pt(r)?kt(r):r.length;var e=pn(r);if(e==Ff||e==Gf)return r.size;return Ua(r).length}var Rt=Xf;var Uf=Ur(function(r,e){if(r==null)return[];var n=e.length;if(n>1&&T(r,e[0],e[1]))e=[];else if(n>2&&T(e[0],e[1],e[2]))e=[e[0]];return bt(r,qa(e,1),[])}),C=Uf;var Vf=0;function Yf(r){var e=++Vf;return uo(r)+e}var J=Yf;function zf(r,e,n){var o=-1,a=r.length,f=e.length,s={};while(++o<a){var u=o<f?e[o]:void 0;n(s,r[o],u)}return s}var Mt=zf;function Wf(r,e){return Mt(r||[],e||[],M)}var Pr=Wf;class kr{constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,e=r._prev;if(e!==r)return jt(e),e}enqueue(r){var e=this._sentinel;if(r._prev&&r._next)jt(r);r._next=e._next,e._next._prev=r,e._next=r,r._prev=e}toString(){var r=[],e=this._sentinel,n=e._prev;while(n!==e)r.push(JSON.stringify(n,qf)),n=n._prev;return"["+r.join(", ")+"]"}}function jt(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function qf(r,e){if(r!=="_next"&&r!=="_prev")return e}var Hf=an(1);function Dt(r,e){if(r.nodeCount()<=1)return[];var n=Jf(r,e||Hf),o=Kf(n.graph,n.buckets,n.zeroIdx);return S(E(o,function(a){return r.outEdges(a.v,a.w)}))}function Kf(r,e,n){var o=[],a=e[e.length-1],f=e[0],s;while(r.nodeCount()){while(s=f.dequeue())Tr(r,e,n,s);while(s=a.dequeue())Tr(r,e,n,s);if(r.nodeCount()){for(var u=e.length-2;u>0;--u)if(s=e[u].dequeue(),s){o=o.concat(Tr(r,e,n,s,!0));break}}}return o}function Tr(r,e,n,o,a){var f=a?[]:void 0;return _(r.inEdges(o.v),function(s){var u=r.edge(s),c=r.node(s.v);if(a)f.push({v:s.v,w:s.w});c.out-=u,Cr(e,n,c)}),_(r.outEdges(o.v),function(s){var u=r.edge(s),c=s.w,p=r.node(c);p.in-=u,Cr(e,n,p)}),r.removeNode(o.v),f}function Jf(r,e){var n=new we,o=0,a=0;_(r.nodes(),function(u){n.setNode(u,{v:u,in:0,out:0})}),_(r.edges(),function(u){var c=n.edge(u.v,u.w)||0,p=e(u),l=c+p;n.setEdge(u.v,u.w,l),a=Math.max(a,n.node(u.v).out+=p),o=Math.max(o,n.node(u.w).in+=p)});var f=N(a+o+3).map(function(){return new kr}),s=o+1;return _(n.nodes(),function(u){Cr(f,s,n.node(u))}),{graph:n,buckets:f,zeroIdx:s}}function Cr(r,e,n){if(!n.out)r[0].enqueue(n);else if(!n.in)r[r.length-1].enqueue(n);else r[n.out-n.in+e].enqueue(n)}function Ft(r){var e=r.graph().acyclicer==="greedy"?Dt(r,n(r)):Zf(r);_(e,function(o){var a=r.edge(o);r.removeEdge(o),a.forwardName=o.name,a.reversed=!0,r.setEdge(o.w,o.v,a,J("rev"))});function n(o){return function(a){return o.edge(a).weight}}}function Zf(r){var e=[],n={},o={};function a(f){if(Object.prototype.hasOwnProperty.call(o,f))return;o[f]=!0,n[f]=!0,_(r.outEdges(f),function(s){if(Object.prototype.hasOwnProperty.call(n,s.w))e.push(s);else a(s.w)}),delete n[f]}return _(r.nodes(),a),e}function Gt(r){_(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var o=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,o)}})}function k(r,e,n,o){var a;do a=J(o);while(r.hasNode(a));return n.dummy=e,r.setNode(a,n),a}function Ut(r){var e=new we().setGraph(r.graph());return _(r.nodes(),function(n){e.setNode(n,r.node(n))}),_(r.edges(),function(n){var o=e.edge(n.v,n.w)||{weight:0,minlen:1},a=r.edge(n);e.setEdge(n.v,n.w,{weight:o.weight+a.weight,minlen:Math.max(o.minlen,a.minlen)})}),e}function xr(r){var e=new we({multigraph:r.isMultigraph()}).setGraph(r.graph());return _(r.nodes(),function(n){if(!r.children(n).length)e.setNode(n,r.node(n))}),_(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function Ar(r,e){var{x:n,y:o}=r,a=e.x-n,f=e.y-o,s=r.width/2,u=r.height/2;if(!a&&!f)throw Error("Not possible to find intersection inside of the rectangle");var c,p;if(Math.abs(f)*s>Math.abs(a)*u){if(f<0)u=-u;c=u*a/f,p=u}else{if(a<0)s=-s;c=s,p=s*f/a}return{x:n+c,y:o+p}}function B(r){var e=E(N(Mr(r)+1),function(){return[]});return _(r.nodes(),function(n){var o=r.node(n),a=o.rank;if(!et(a))e[a][o.order]=n}),e}function Vt(r){var e=j(E(r.nodes(),function(n){return r.node(n).rank}));_(r.nodes(),function(n){var o=r.node(n);if(_r(o,"rank"))o.rank-=e})}function zt(r){var e=j(E(r.nodes(),function(f){return r.node(f).rank})),n=[];_(r.nodes(),function(f){var s=r.node(f).rank-e;if(!n[s])n[s]=[];n[s].push(f)});var o=0,a=r.graph().nodeRankFactor;_(n,function(f,s){if(et(f)&&s%a!==0)--o;else if(o)_(f,function(u){r.node(u).rank+=o})})}function Rr(r,e,n,o){var a={width:0,height:0};if(arguments.length>=4)a.rank=n,a.order=o;return k(r,"border",a,e)}function Mr(r){return I(E(r.nodes(),function(e){var n=r.node(e).rank;if(!et(n))return n}))}function qt(r,e){var n={lhs:[],rhs:[]};return _(r,function(o){if(e(o))n.lhs.push(o);else n.rhs.push(o)}),n}function Ht(r,e){var n=Ir();try{return e()}finally{console.log(r+" time: "+(Ir()-n)+"ms")}}function Kt(r,e){return e()}function Zt(r){function e(n){var o=r.children(n),a=r.node(n);if(o.length)_(o,e);if(Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var f=a.minRank,s=a.maxRank+1;f<s;++f)Jt(r,"borderLeft","_bl",n,a,f),Jt(r,"borderRight","_br",n,a,f)}}_(r.children(),e)}function Jt(r,e,n,o,a,f){var s={width:0,height:0,rank:f,borderType:e},u=a[e][f-1],c=k(r,"border",s,n);if(a[e][f]=c,r.setParent(c,o),u)r.setEdge(u,c,{weight:1})}function Qt(r){var e=r.graph().rankdir.toLowerCase();if(e==="lr"||e==="rl")tn(r)}function en(r){var e=r.graph().rankdir.toLowerCase();if(e==="bt"||e==="rl")$f(r);if(e==="lr"||e==="rl")Qf(r),tn(r)}function tn(r){_(r.nodes(),function(e){$t(r.node(e))}),_(r.edges(),function(e){$t(r.edge(e))})}function $t(r){var e=r.width;r.width=r.height,r.height=e}function $f(r){_(r.nodes(),function(e){Br(r.node(e))}),_(r.edges(),function(e){var n=r.edge(e);if(_(n.points,Br),Object.prototype.hasOwnProperty.call(n,"y"))Br(n)})}function Br(r){r.y=-r.y}function Qf(r){_(r.nodes(),function(e){Dr(r.node(e))}),_(r.edges(),function(e){var n=r.edge(e);if(_(n.points,Dr),Object.prototype.hasOwnProperty.call(n,"x"))Dr(n)})}function Dr(r){var e=r.x;r.x=r.y,r.y=e}function nn(r){r.graph().dummyChains=[],_(r.edges(),function(e){es(r,e)})}function es(r,e){var n=e.v,o=r.node(n).rank,a=e.w,f=r.node(a).rank,s=e.name,u=r.edge(e),c=u.labelRank;if(f===o+1)return;r.removeEdge(e);var p=void 0,l,m;for(m=0,++o;o<f;++m,++o){if(u.points=[],p={width:0,height:0,edgeLabel:u,edgeObj:e,rank:o},l=k(r,"edge",p,"_d"),o===c)p.width=u.width,p.height=u.height,p.dummy="edge-label",p.labelpos=u.labelpos;if(r.setEdge(n,l,{weight:u.weight},s),m===0)r.graph().dummyChains.push(l);n=l}r.setEdge(n,a,{weight:u.weight},s)}function on(r){_(r.graph().dummyChains,function(e){var n=r.node(e),o=n.edgeLabel,a;r.setEdge(n.edgeObj,o);while(n.dummy){if(a=r.successors(e)[0],r.removeNode(e),o.points.push({x:n.x,y:n.y}),n.dummy==="edge-label")o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height;e=a,n=r.node(e)}})}function ur(r){var e={};function n(o){var a=r.node(o);if(Object.prototype.hasOwnProperty.call(e,o))return a.rank;e[o]=!0;var f=j(E(r.outEdges(o),function(s){return n(s.w)-r.edge(s).minlen}));if(f===Number.POSITIVE_INFINITY||f===void 0||f===null)f=0;return a.rank=f}_(r.sources(),n)}function U(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function Or(r){var e=new we({directed:!1}),n=r.nodes()[0],o=r.nodeCount();e.setNode(n,{});var a,f;while(ts(e,r)<o)a=ns(e,r),f=e.hasNode(a.v)?U(r,a):-U(r,a),os(e,r,f);return e}function ts(r,e){function n(o){_(e.nodeEdges(o),function(a){var f=a.v,s=o===f?a.w:f;if(!r.hasNode(s)&&!U(e,a))r.setNode(s,{}),r.setEdge(o,s,{}),n(s)})}return _(r.nodes(),n),r.nodeCount()}function ns(r,e){return H(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return U(e,n)})}function os(r,e,n){_(r.nodes(),function(o){e.node(o).rank+=n})}var dh=an(1);var vh=an(1);Fr.CycleException=dr;function Fr(r){var e={},n={},o=[];function a(f){if(Object.prototype.hasOwnProperty.call(n,f))throw new dr;if(!Object.prototype.hasOwnProperty.call(e,f))n[f]=!0,e[f]=!0,_(r.predecessors(f),a),delete n[f],o.push(f)}if(_(r.sinks(),a),Rt(e)!==r.nodeCount())throw new dr;return o}function dr(){}dr.prototype=Error();function Lr(r,e,n){if(!le(e))e=[e];var o=(r.isDirected()?r.successors:r.neighbors).bind(r),a=[],f={};return _(e,function(s){if(!r.hasNode(s))throw Error("Graph does not have node: "+s);sn(r,s,n==="post",f,o,a)}),a}function sn(r,e,n,o,a,f){if(!Object.prototype.hasOwnProperty.call(o,e)){if(o[e]=!0,!n)f.push(e);if(_(a(e),function(s){sn(r,s,n,o,a,f)}),n)f.push(e)}}function Xr(r,e){return Lr(r,e,"post")}function zr(r,e){return Lr(r,e,"pre")}G.initLowLimValues=Jr;G.initCutValues=Kr;G.calcCutValue=cn;G.leaveEdge=hn;G.enterEdge=vn;G.exchangeEdges=bn;function G(r){r=Ut(r),ur(r);var e=Or(r);Jr(e),Kr(e,r);var n,o;while(n=hn(e))o=vn(e,r,n),bn(e,r,n,o)}function Kr(r,e){var n=Xr(r,r.nodes());n=n.slice(0,n.length-1),_(n,function(o){us(r,e,o)})}function us(r,e,n){var o=r.node(n),a=o.parent;r.edge(n,a).cutvalue=cn(r,e,n)}function cn(r,e,n){var o=r.node(n),a=o.parent,f=!0,s=e.edge(n,a),u=0;if(!s)f=!1,s=e.edge(a,n);return u=s.weight,_(e.nodeEdges(n),function(c){var p=c.v===n,l=p?c.w:c.v;if(l!==a){var m=p===f,h=e.edge(c).weight;if(u+=m?h:-h,cs(r,n,l)){var v=r.edge(n,l).cutvalue;u+=m?-v:v}}}),u}function Jr(r,e){if(arguments.length<2)e=r.nodes()[0];mn(r,{},1,e)}function mn(r,e,n,o,a){var f=n,s=r.node(o);if(e[o]=!0,_(r.neighbors(o),function(u){if(!Object.prototype.hasOwnProperty.call(e,u))n=mn(r,e,n,u,o)}),s.low=f,s.lim=n++,a)s.parent=a;else delete s.parent;return n}function hn(r){return fr(r.edges(),function(e){return r.edge(e).cutvalue<0})}function vn(r,e,n){var{v:o,w:a}=n;if(!e.hasEdge(o,a))o=n.w,a=n.v;var f=r.node(o),s=r.node(a),u=f,c=!1;if(f.lim>s.lim)u=s,c=!0;var p=Yt(e.edges(),function(l){return c===dn(r,r.node(l.v),u)&&c!==dn(r,r.node(l.w),u)});return H(p,function(l){return U(e,l)})}function bn(r,e,n,o){var{v:a,w:f}=n;r.removeEdge(a,f),r.setEdge(o.v,o.w,{}),Jr(r),Kr(r,e),ds(r,e)}function ds(r,e){var n=fr(r.nodes(),function(a){return!e.node(a).parent}),o=zr(r,n);o=o.slice(1),_(o,function(a){var f=r.node(a).parent,s=e.edge(a,f),u=!1;if(!s)s=e.edge(f,a),u=!0;e.node(a).rank=e.node(f).rank+(u?s.minlen:-s.minlen)})}function cs(r,e,n){return r.hasEdge(e,n)}function dn(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Zr(r){switch(r.graph().ranker){case"network-simplex":yn(r);break;case"tight-tree":ls(r);break;case"longest-path":ps(r);break;default:yn(r)}}var ps=ur;function ls(r){ur(r),Or(r)}function yn(r){G(r)}function wn(r){var e=k(r,"root",{},"_root"),n=ms(r),o=I(un(n))-1,a=2*o+1;r.graph().nestingRoot=e,_(r.edges(),function(s){r.edge(s).minlen*=a});var f=hs(r)+1;_(r.children(),function(s){_n(r,e,a,f,o,n,s)}),r.graph().nodeRankFactor=a}function _n(r,e,n,o,a,f,s){var u=r.children(s);if(!u.length){if(s!==e)r.setEdge(e,s,{weight:0,minlen:n});return}var c=Rr(r,"_bt"),p=Rr(r,"_bb"),l=r.node(s);if(r.setParent(c,s),l.borderTop=c,r.setParent(p,s),l.borderBottom=p,_(u,function(m){_n(r,e,n,o,a,f,m);var h=r.node(m),v=h.borderTop?h.borderTop:m,y=h.borderBottom?h.borderBottom:m,b=h.borderTop?o:2*o,g=v!==y?1:a-f[s]+1;r.setEdge(c,v,{weight:b,minlen:g,nestingEdge:!0}),r.setEdge(y,p,{weight:b,minlen:g,nestingEdge:!0})}),!r.parent(s))r.setEdge(e,c,{weight:0,minlen:a+f[s]})}function ms(r){var e={};function n(o,a){var f=r.children(o);if(f&&f.length)_(f,function(s){n(s,a+1)});e[o]=a}return _(r.children(),function(o){n(o,1)}),e}function hs(r){return ir(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function En(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,_(r.edges(),function(n){var o=r.edge(n);if(o.nestingEdge)r.removeEdge(n)})}function xn(r,e,n){var o={},a;_(n,function(f){var s=r.parent(f),u,c;while(s){if(u=r.parent(s),u)c=o[u],o[u]=s;else c=a,a=s;if(c&&c!==s){e.setEdge(c,s);return}s=u}})}function On(r,e,n){var o=vs(r),a=new we({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(f){return r.node(f)});return _(r.nodes(),function(f){var s=r.node(f),u=r.parent(f);if(s.rank===e||s.minRank<=e&&e<=s.maxRank){if(a.setNode(f),a.setParent(f,u||o),_(r[n](f),function(c){var p=c.v===f?c.w:c.v,l=a.edge(p,f),m=!et(l)?l.weight:0;a.setEdge(p,f,{weight:r.edge(c).weight+m})}),Object.prototype.hasOwnProperty.call(s,"minRank"))a.setNode(f,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]})}}),a}function vs(r){var e;while(r.hasNode(e=J("_root")));return e}function In(r,e){var n=0;for(var o=1;o<e.length;++o)n+=bs(r,e[o-1],e[o]);return n}function bs(r,e,n){var o=Pr(n,E(n,function(p,l){return l})),a=S(E(e,function(p){return C(E(r.outEdges(p),function(l){return{pos:o[l.w],weight:r.edge(l).weight}}),"pos")})),f=1;while(f<n.length)f<<=1;var s=2*f-1;f-=1;var u=E(Array(s),function(){return 0}),c=0;return _(a.forEach(function(p){var l=p.pos+f;u[l]+=p.weight;var m=0;while(l>0){if(l%2)m+=u[l+1];l=l-1>>1,u[l]+=p.weight}c+=p.weight*m})),c}function Pn(r){var e={},n=Yt(r.nodes(),function(u){return!r.children(u).length}),o=I(E(n,function(u){return r.node(u).rank})),a=E(N(o+1),function(){return[]});function f(u){if(_r(e,u))return;e[u]=!0;var c=r.node(u);a[c.rank].push(u),_(r.successors(u),f)}var s=C(n,function(u){return r.node(u).rank});return _(s,f),a}function kn(r,e){return E(e,function(n){var o=r.inEdges(n);if(!o.length)return{v:n};else{var a=ir(o,function(f,s){var u=r.edge(s),c=r.node(s.v);return{sum:f.sum+u.weight*c.order,weight:f.weight+u.weight}},{sum:0,weight:0});return{v:n,barycenter:a.sum/a.weight,weight:a.weight}}})}function Cn(r,e){var n={};_(r,function(a,f){var s=n[a.v]={indegree:0,in:[],out:[],vs:[a.v],i:f};if(!et(a.barycenter))s.barycenter=a.barycenter,s.weight=a.weight}),_(e.edges(),function(a){var f=n[a.v],s=n[a.w];if(!et(f)&&!et(s))s.indegree++,f.out.push(n[a.w])});var o=Yt(n,function(a){return!a.indegree});return ys(o)}function ys(r){var e=[];function n(f){return function(s){if(s.merged)return;if(et(s.barycenter)||et(f.barycenter)||s.barycenter>=f.barycenter)ws(f,s)}}function o(f){return function(s){if(s.in.push(f),--s.indegree===0)r.push(s)}}while(r.length){var a=r.pop();e.push(a),_(a.in.reverse(),n(a)),_(a.out,o(a))}return E(Yt(e,function(f){return!f.merged}),function(f){return K(f,["vs","i","barycenter","weight"])})}function ws(r,e){var n=0,o=0;if(r.weight)n+=r.barycenter*r.weight,o+=r.weight;if(e.weight)n+=e.barycenter*e.weight,o+=e.weight;r.vs=e.vs.concat(r.vs),r.barycenter=n/o,r.weight=o,r.i=Math.min(e.i,r.i),e.merged=!0}function Mn(r,e){var n=qt(r,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),o=n.lhs,a=C(n.rhs,function(l){return-l.i}),f=[],s=0,u=0,c=0;o.sort(_s(!!e)),c=Rn(f,a,c),_(o,function(l){c+=l.vs.length,f.push(l.vs),s+=l.barycenter*l.weight,u+=l.weight,c=Rn(f,a,c)});var p={vs:S(f)};if(u)p.barycenter=s/u,p.weight=u;return p}function Rn(r,e,n){var o;while(e.length&&(o=X(e)).i<=n)e.pop(),r.push(o.vs),n++;return n}function _s(r){return function(e,n){if(e.barycenter<n.barycenter)return-1;else if(e.barycenter>n.barycenter)return 1;return!r?e.i-n.i:n.i-e.i}}function $r(r,e,n,o){var a=r.children(e),f=r.node(e),s=f?f.borderLeft:void 0,u=f?f.borderRight:void 0,c={};if(s)a=Yt(a,function(y){return y!==s&&y!==u});var p=kn(r,a);_(p,function(y){if(r.children(y.v).length){var b=$r(r,y.v,n,o);if(c[y.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter"))xs(y,b)}});var l=Cn(p,n);Es(l,c);var m=Mn(l,o);if(s){if(m.vs=S([s,m.vs,u]),r.predecessors(s).length){var h=r.node(r.predecessors(s)[0]),v=r.node(r.predecessors(u)[0]);if(!Object.prototype.hasOwnProperty.call(m,"barycenter"))m.barycenter=0,m.weight=0;m.barycenter=(m.barycenter*m.weight+h.order+v.order)/(m.weight+2),m.weight+=2}}return m}function Es(r,e){_(r,function(n){n.vs=S(n.vs.map(function(o){if(e[o])return e[o].vs;return o}))})}function xs(r,e){if(!et(r.barycenter))r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight;else r.barycenter=e.barycenter,r.weight=e.weight}function Dn(r){var e=Mr(r),n=jn(r,N(1,e+1),"inEdges"),o=jn(r,N(e-1,-1,-1),"outEdges"),a=Pn(r);Bn(r,a);var f=Number.POSITIVE_INFINITY,s;for(var u=0,c=0;c<4;++u,++c){Os(u%2?n:o,u%4>=2),a=B(r);var p=In(r,a);if(p<f)c=0,s=Ke(a),f=p}Bn(r,s)}function jn(r,e,n){return E(e,function(o){return On(r,o,n)})}function Os(r,e){var n=new we;_(r,function(o){var a=o.graph().root,f=$r(o,a,n,e);_(f.vs,function(s,u){o.node(s).order=u}),xn(o,n,f.vs)})}function Bn(r,e){_(e,function(n){_(n,function(o,a){r.node(o).order=a})})}function Gn(r){var e=Is(r);_(r.graph().dummyChains,function(n){var o=r.node(n),a=o.edgeObj,f=Ls(r,e,a.v,a.w),{path:s,lca:u}=f,c=0,p=s[c],l=!0;while(n!==a.w){if(o=r.node(n),l){while((p=s[c])!==u&&r.node(p).maxRank<o.rank)c++;if(p===u)l=!1}if(!l){while(c<s.length-1&&r.node(p=s[c+1]).minRank<=o.rank)c++;p=s[c]}r.setParent(n,p),n=r.successors(n)[0]}})}function Ls(r,e,n,o){var a=[],f=[],s=Math.min(e[n].low,e[o].low),u=Math.max(e[n].lim,e[o].lim),c,p;c=n;do c=r.parent(c),a.push(c);while(c&&(e[c].low>s||u>e[c].lim));p=c,c=o;while((c=r.parent(c))!==p)f.push(c);return{path:a.concat(f.reverse()),lca:p}}function Is(r){var e={},n=0;function o(a){var f=n;_(r.children(a),o),e[a]={low:f,lim:n++}}return _(r.children(),o),e}function Ss(r,e){var n={};function o(a,f){var s=0,u=0,c=a.length,p=X(f);return _(f,function(l,m){var h=Ps(r,l),v=h?r.node(h).order:c;if(h||l===p)_(f.slice(u,m+1),function(y){_(r.predecessors(y),function(b){var g=r.node(b),w=g.order;if((w<s||v<w)&&!(g.dummy&&r.node(y).dummy))Xn(n,b,y)})}),u=m+1,s=v}),f}return ir(e,o),n}function Ns(r,e){var n={};function o(f,s,u,c,p){var l;_(N(s,u),function(m){if(l=f[m],r.node(l).dummy)_(r.predecessors(l),function(h){var v=r.node(h);if(v.dummy&&(v.order<c||v.order>p))Xn(n,h,l)})})}function a(f,s){var u=-1,c,p=0;return _(s,function(l,m){if(r.node(l).dummy==="border"){var h=r.predecessors(l);if(h.length)c=r.node(h[0]).order,o(s,p,m,u,c),p=m,u=c}o(s,p,s.length,c,f.length)}),s}return ir(e,a),n}function Ps(r,e){if(r.node(e).dummy)return fr(r.predecessors(e),function(n){return r.node(n).dummy})}function Xn(r,e,n){if(e>n){var o=e;e=n,n=o}if(!Object.prototype.hasOwnProperty.call(r,e))Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=r[e];Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function ks(r,e,n){if(e>n){var o=e;e=n,n=o}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function Ts(r,e,n,o){var a={},f={},s={};return _(e,function(u){_(u,function(c,p){a[c]=c,f[c]=c,s[c]=p})}),_(e,function(u){var c=-1;_(u,function(p){var l=o(p);if(l.length){l=C(l,function(b){return s[b]});var m=(l.length-1)/2;for(var h=Math.floor(m),v=Math.ceil(m);h<=v;++h){var y=l[h];if(f[p]===p&&c<s[y]&&!ks(n,p,y))f[y]=p,f[p]=a[p]=a[y],c=s[y]}}})}),{root:a,align:f}}function Cs(r,e,n,o,a){var f={},s=As(r,e,n,a),u=a?"borderLeft":"borderRight";function c(m,h){var v=s.nodes(),y=v.pop(),b={};while(y){if(b[y])m(y);else b[y]=!0,v.push(y),v=v.concat(h(y));y=v.pop()}}function p(m){f[m]=s.inEdges(m).reduce(function(h,v){return Math.max(h,f[v.v]+s.edge(v))},0)}function l(m){var h=s.outEdges(m).reduce(function(y,b){return Math.min(y,f[b.w]-s.edge(b))},Number.POSITIVE_INFINITY),v=r.node(m);if(h!==Number.POSITIVE_INFINITY&&v.borderType!==u)f[m]=Math.max(f[m],h)}return c(p,s.predecessors.bind(s)),c(l,s.successors.bind(s)),_(o,function(m){f[m]=f[n[m]]}),f}function As(r,e,n,o){var a=new we,f=r.graph(),s=Bs(f.nodesep,f.edgesep,o);return _(e,function(u){var c;_(u,function(p){var l=n[p];if(a.setNode(l),c){var m=n[c],h=a.edge(m,l);a.setEdge(m,l,Math.max(s(r,p,c),h||0))}c=p})}),a}function Rs(r,e){return H(un(e),function(n){var{NEGATIVE_INFINITY:o,POSITIVE_INFINITY:a}=Number;return st(n,function(f,s){var u=Ds(r,s)/2;o=Math.max(f+u,o),a=Math.min(f-u,a)}),o-a})}function Ms(r,e){var n=un(e),o=j(n),a=I(n);_(["u","d"],function(f){_(["l","r"],function(s){var u=f+s,c=r[u],p;if(c===e)return;var l=un(c);if(p=s==="l"?o-j(l):a-I(l),p)r[u]=W(c,function(m){return m+p})})})}function js(r,e){return W(r.ul,function(n,o){if(e)return r[e.toLowerCase()][o];else{var a=C(E(r,o));return(a[1]+a[2])/2}})}function Un(r){var e=B(r),n=sr(Ss(r,e),Ns(r,e)),o={},a;_(["u","d"],function(s){a=s==="u"?e:un(e).reverse(),_(["l","r"],function(u){if(u==="r")a=E(a,function(m){return un(m).reverse()});var c=(s==="u"?r.predecessors:r.successors).bind(r),p=Ts(r,a,n,c),l=Cs(r,a,p.root,p.align,u==="r");if(u==="r")l=W(l,function(m){return-m});o[s+u]=l})});var f=Rs(r,o);return Ms(o,f),js(o,r.graph().align)}function Bs(r,e,n){return function(o,a,f){var s=o.node(a),u=o.node(f),c=0,p;if(c+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":p=-s.width/2;break;case"r":p=s.width/2;break}if(p)c+=n?p:-p;if(p=0,c+=(s.dummy?e:r)/2,c+=(u.dummy?e:r)/2,c+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":p=u.width/2;break;case"r":p=-u.width/2;break}if(p)c+=n?p:-p;return p=0,c}}function Ds(r,e){return r.node(e).width}function Vn(r){r=xr(r),Fs(r),ut(Un(r),function(e,n){r.node(n).x=e})}function Fs(r){var e=B(r),n=r.graph().ranksep,o=0;_(e,function(a){var f=I(E(a,function(s){return r.node(s).height}));_(a,function(s){r.node(s).y=o+f/2}),o+=f+n})}function ee(r,e){var n=e&&e.debugTiming?Ht:Kt;n("layout",()=>{var o=n(" buildLayoutGraph",()=>Js(r));n(" runLayout",()=>Gs(o,n)),n(" updateInputGraph",()=>Xs(r,o))})}function Gs(r,e){e(" makeSpaceForEdgeLabels",()=>Zs(r)),e(" removeSelfEdges",()=>au(r)),e(" acyclic",()=>Ft(r)),e(" nestingGraph.run",()=>wn(r)),e(" rank",()=>Zr(xr(r))),e(" injectEdgeLabelProxies",()=>$s(r)),e(" removeEmptyRanks",()=>zt(r)),e(" nestingGraph.cleanup",()=>En(r)),e(" normalizeRanks",()=>Vt(r)),e(" assignRankMinMax",()=>Qs(r)),e(" removeEdgeLabelProxies",()=>ru(r)),e(" normalize.run",()=>nn(r)),e(" parentDummyChains",()=>Gn(r)),e(" addBorderSegments",()=>Zt(r)),e(" order",()=>Dn(r)),e(" insertSelfEdges",()=>fu(r)),e(" adjustCoordinateSystem",()=>Qt(r)),e(" position",()=>Vn(r)),e(" positionSelfEdges",()=>su(r)),e(" removeBorderNodes",()=>iu(r)),e(" normalize.undo",()=>on(r)),e(" fixupEdgeLabelCoords",()=>nu(r)),e(" undoCoordinateSystem",()=>en(r)),e(" translateGraph",()=>eu(r)),e(" assignNodeIntersects",()=>tu(r)),e(" reversePoints",()=>ou(r)),e(" acyclic.undo",()=>Gt(r))}function Xs(r,e){_(r.nodes(),function(n){var o=r.node(n),a=e.node(n);if(o){if(o.x=a.x,o.y=a.y,e.children(n).length)o.width=a.width,o.height=a.height}}),_(r.edges(),function(n){var o=r.edge(n),a=e.edge(n);if(o.points=a.points,Object.prototype.hasOwnProperty.call(a,"x"))o.x=a.x,o.y=a.y}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var Us=["nodesep","edgesep","ranksep","marginx","marginy"],Vs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Ys=["acyclicer","ranker","rankdir","align"],zs=["width","height"],Ws={width:0,height:0},qs=["minlen","weight","width","height","labeloffset"],Hs={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Ks=["labelpos"];function Js(r){var e=new we({multigraph:!0,compound:!0}),n=re(r.graph());return e.setGraph(sr({},Vs,Qr(n,Us),K(n,Ys))),_(r.nodes(),function(o){var a=re(r.node(o));e.setNode(o,$e(Qr(a,zs),Ws)),e.setParent(o,r.parent(o))}),_(r.edges(),function(o){var a=re(r.edge(o));e.setEdge(o,sr({},Hs,Qr(a,qs),K(a,Ks)))}),e}function Zs(r){var e=r.graph();e.ranksep/=2,_(r.edges(),function(n){var o=r.edge(n);if(o.minlen*=2,o.labelpos.toLowerCase()!=="c")if(e.rankdir==="TB"||e.rankdir==="BT")o.width+=o.labeloffset;else o.height+=o.labeloffset})}function $s(r){_(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var o=r.node(e.v),a=r.node(e.w),f={rank:(a.rank-o.rank)/2+o.rank,e};k(r,"edge-proxy",f,"_ep")}})}function Qs(r){var e=0;_(r.nodes(),function(n){var o=r.node(n);if(o.borderTop)o.minRank=r.node(o.borderTop).rank,o.maxRank=r.node(o.borderBottom).rank,e=I(e,o.maxRank)}),r.graph().maxRank=e}function ru(r){_(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="edge-proxy")r.edge(n.e).labelRank=n.rank,r.removeNode(e)})}function eu(r){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,a=0,f=r.graph(),s=f.marginx||0,u=f.marginy||0;function c(p){var{x:l,y:m,width:h,height:v}=p;e=Math.min(e,l-h/2),n=Math.max(n,l+h/2),o=Math.min(o,m-v/2),a=Math.max(a,m+v/2)}_(r.nodes(),function(p){c(r.node(p))}),_(r.edges(),function(p){var l=r.edge(p);if(Object.prototype.hasOwnProperty.call(l,"x"))c(l)}),e-=s,o-=u,_(r.nodes(),function(p){var l=r.node(p);l.x-=e,l.y-=o}),_(r.edges(),function(p){var l=r.edge(p);if(_(l.points,function(m){m.x-=e,m.y-=o}),Object.prototype.hasOwnProperty.call(l,"x"))l.x-=e;if(Object.prototype.hasOwnProperty.call(l,"y"))l.y-=o}),f.width=n-e+s,f.height=a-o+u}function tu(r){_(r.edges(),function(e){var n=r.edge(e),o=r.node(e.v),a=r.node(e.w),f,s;if(!n.points)n.points=[],f=a,s=o;else f=n.points[0],s=n.points[n.points.length-1];n.points.unshift(Ar(o,f)),n.points.push(Ar(a,s))})}function nu(r){_(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x")){if(n.labelpos==="l"||n.labelpos==="r")n.width-=n.labeloffset;switch(n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}})}function ou(r){_(r.edges(),function(e){var n=r.edge(e);if(n.reversed)n.points.reverse()})}function iu(r){_(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),o=r.node(n.borderTop),a=r.node(n.borderBottom),f=r.node(X(n.borderLeft)),s=r.node(X(n.borderRight));n.width=Math.abs(s.x-f.x),n.height=Math.abs(a.y-o.y),n.x=f.x+n.width/2,n.y=o.y+n.height/2}}),_(r.nodes(),function(e){if(r.node(e).dummy==="border")r.removeNode(e)})}function au(r){_(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);if(!n.selfEdges)n.selfEdges=[];n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function fu(r){var e=B(r);_(e,function(n){var o=0;_(n,function(a,f){var s=r.node(a);s.order=f+o,_(s.selfEdges,function(u){k(r,"selfedge",{width:u.label.width,height:u.label.height,rank:s.rank,order:f+ ++o,e:u.e,label:u.label},"_se")}),delete s.selfEdges})})}function su(r){_(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var o=r.node(n.e.v),a=o.x+o.width/2,f=o.y,s=n.x-a,u=o.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:a+2*s/3,y:f-u},{x:a+5*s/6,y:f-u},{x:a+s,y:f},{x:a+5*s/6,y:f+u},{x:a+2*s/3,y:f+u}],n.label.x=n.x,n.label.y=n.y}})}function Qr(r,e){return W(K(r,e),Number)}function re(r){var e={};return _(r,function(n,o){e[o.toLowerCase()]=n}),e}var Yn=t((r,e,n)=>Math.max(e,Math.min(n,r)),"clamp"),zn=t((r="TB")=>{switch(r){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),uu=t((r)=>r==="flowchart"||r==="flowchart-v2"||r==="stateDiagram"||r==="er"||r==="classDiagram","shouldMergeSelfLoopSegments"),du=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],cu=t((r,e,n,o,a)=>{let f=[],s=new Set;if(n.forEach(({start:l,end:m})=>{if(l!==o)s.add(l);if(m!==o)s.add(m)}),s.forEach((l)=>{let m=r.node(l);if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)}),f.length===0)n.forEach(({edge:l})=>{(l.points??[]).forEach((m)=>{if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)})});if(f.length===0)return zn(a);let u=f.reduce((l,m)=>({x:l.x+m.x/f.length,y:l.y+m.y/f.length}),{x:0,y:0}),c=u.x-e.x,p=u.y-e.y;if(Math.abs(c)>Math.abs(p))return c>0?"right":"left";if(Math.abs(p)>0)return p>0?"bottom":"top";return zn(a)},"getSelfLoopSide"),pu=t((r,e="top",n=0,o=0)=>{let a=r.x,f=r.y-n,s=r.width/2,u=r.height/2,c=Math.max(36,Math.min(100,r.width*0.8)),p=Yn(Math.max(o,r.width*0.35),36,c),l=Yn(Math.min(r.width,r.height)*0.45,24,48);switch(e){case"bottom":{let m=f+u;return[{x:a-p/2,y:m},{x:a-p/2,y:m+l},{x:a+p/2,y:m+l},{x:a+p/2,y:m}]}case"right":{let m=a+s;return[{x:m,y:f-p/2},{x:m+l,y:f-p/2},{x:m+l,y:f+p/2},{x:m,y:f+p/2}]}case"left":{let m=a-s;return[{x:m,y:f-p/2},{x:m-l,y:f-p/2},{x:m-l,y:f+p/2},{x:m,y:f+p/2}]}case"top":default:{let m=f-u;return[{x:a-p/2,y:m},{x:a-p/2,y:m-l},{x:a+p/2,y:m-l},{x:a+p/2,y:m}]}}},"getSelfLoopPoints"),lu=t((r,e,n="top",o=0,a={})=>{let s=r.x,u=r.y-o,c=a.width??0,p=a.height??0;switch(n){case"bottom":return{x:s,y:Math.max(...e.map((l)=>l.y))+p/2+4};case"right":return{x:Math.max(...e.map((l)=>l.x))+c/2+4,y:u};case"left":return{x:Math.min(...e.map((l)=>l.x))-c/2-4,y:u};case"top":default:return{x:s,y:Math.min(...e.map((l)=>l.y))-p/2-4}}},"getSelfLoopLabelPosition"),dc=t((r,e=0,{mergeSelfLoops:n=!0}={})=>{let o=new Map,a=[],f=r.graph()?.rankdir;return r.edges().forEach((s)=>{let u=r.edge(s);if(n&&u.selfLoop){let c=u.selfLoop.id;if(!o.has(c))o.set(c,[]);o.get(c).push({edge:u,start:s.v,end:s.w})}else a.push({edge:u,start:s.v,end:s.w})}),o.forEach((s)=>{if(s.length!==3){s.forEach((w)=>a.push(w));return}s.sort((w,A)=>w.edge.selfLoop.order-A.edge.selfLoop.order);let[u,c,p]=s,l=u.edge.originalEdge??c.edge.originalEdge??p.edge.originalEdge??c.edge,m=r.node(l.start);if(!m){s.forEach((w)=>a.push(w));return}let h={width:c.edge.width,height:c.edge.height},v=cu(r,m,s,l.start,f),y=pu(m,v,e,h.width??0),b=lu(m,y,v,e,h),g={...c.edge,...l,id:l.id,points:y,start:l.start,end:l.end,x:b.x,y:b.y,width:h.width,height:h.height,labelStyle:c.edge.labelStyle,fromCluster:u.edge.fromCluster??c.edge.fromCluster??p.edge.fromCluster,toCluster:u.edge.toCluster??c.edge.toCluster??p.edge.toCluster};delete g.selfLoop,delete g.originalEdge,a.push({edge:g,start:g.start,end:g.end})}),a},"getEdgesToRender"),qn=t(async({element:r,graph:e,diagramType:n,id:o,parentCluster:a,siteConfig:f})=>{let s=e.graph().rankdir;i.trace("Dir in recursive render - dir:",s);let{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m}=no(r,{edgePathsClass:"edgePaths"});if(!e.nodes())i.info("No nodes found for",e);else i.info("Recursive render XXX",e.nodes());if(e.edges().length>0)i.info("Recursive edges",e.edge(e.edges()[0]));let h=uu(n);await Promise.all(e.nodes().map(async function(b){let g=e.node(b);if(a!==void 0){let w=JSON.parse(JSON.stringify(a.clusterData));if(i.trace(`Setting data for parent cluster XXX
|
|
2
|
+
Node.id = `,b,`
|
|
3
|
+
data=`,w.height,`
|
|
4
|
+
Parent cluster`,a.height),e.setNode(a.id,w),!e.parent(b))i.trace("Setting parent",b,a.id),e.setParent(b,a.id,w)}if(i.info("(Insert) Node XXX"+b+": "+JSON.stringify(e.node(b))),g?.clusterNode){i.info("Cluster identified XBX",b,g.width,e.node(b));let{ranksep:w,nodesep:A}=e.graph();g.graph.setGraph({...g.graph.graph(),ranksep:w+25,nodesep:A});let te=await vu({element:l,graph:g.graph,diagramType:n,id:o,parentCluster:e.node(b),siteConfig:f}),ne=te.elem;F(g,ne),g.diff=te.diff||0,i.info("New compound node after recursive render XAX",b,"width",g.width,"height",g.height),Nc(ne,g)}else if(e.children(b).length>0)i.trace("Cluster - the non recursive path XBX",b,g.id,g,g.width,"Graph:",e),i.trace(da(g.id,e)),ie.set(g.id,{id:da(g.id,e),node:g});else i.trace("Node - the non recursive path XAX",b,l,e.node(b),s),await ro(l,e.node(b),{config:f,dir:s})})),await t(async()=>{let b=e.edges().map(async function(g){let w=e.edge(g.v,g.w,g.name);if(i.info("Edge "+g.v+" -> "+g.w+": "+JSON.stringify(g)),i.info("Edge "+g.v+" -> "+g.w+": ",g," ",JSON.stringify(e.edge(g))),i.info("Fix",ie,"ids:",g.v,g.w,"Translating: ",ie.get(g.v),ie.get(g.w)),h&&w.selfLoop){if(w.selfLoop.order!==1)return;let A={...w.originalEdge,...w,id:w.selfLoop.id,startLabelLeft:w.originalEdge?.startLabelLeft??w.startLabelLeft,startLabelRight:w.originalEdge?.startLabelRight??w.startLabelRight,endLabelLeft:w.originalEdge?.endLabelLeft??w.endLabelLeft,endLabelRight:w.originalEdge?.endLabelRight??w.endLabelRight};await Ln(p,A),w.width=A.width,w.height=A.height,w.labelStyle=A.labelStyle;return}await Ln(p,w)});await Promise.all(b)},"processEdges")();let{subGraphTitleTotalMargin:y}=Tn(f);return{elem:m,graph:e,groups:{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m},diagramType:n,id:o,mergeSelfLoops:h,subGraphTitleTotalMargin:y}},"measureDagreGraph"),Hn=t((r)=>{i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),ee(r)},"runDagreGraphLayout"),mu=t((r,e,n)=>{let o=r.node(e);if(!o)return;let a={...o};if(o?.clusterNode)a.y=(o.y??0)+n;else if(r.children(e).length>0)a.height=(o.height??0)+n;else a.y=(o.y??0)+n/2;return a},"normalizeDagreNode"),Wn=t((r,e)=>{du.forEach((n)=>{if(e[n]!==void 0)r[n]=e[n]})},"applyDagreNodeLayout"),hu=t((r,e,n,o)=>({...r,start:r.start??e,end:r.end??n,points:(r.points??[]).map((a)=>({...a,y:typeof a.y==="number"?a.y+o:a.y}))}),"normalizeDagreEdge"),Yc=t((r,e)=>{let{graph:n,mergeSelfLoops:o,subGraphTitleTotalMargin:a=0}=e,f=new Map(r.nodes.map((u)=>[u.id,u]));ao(n).forEach((u)=>{let c=mu(n,u,a);if(!c)return;Wn(n.node(u),c);let p=f.get(u);if(p)Wn(p,c)});let s=a/2;return r.edges=dc(n,s,{mergeSelfLoops:o}).map(({edge:u,start:c,end:p})=>hu(u,c,p,s)),r},"applyDagreLayoutResult"),gu=t(async({elem:r,graph:e,groups:{clusters:n,edgePaths:o},diagramType:a,id:f,mergeSelfLoops:s,subGraphTitleTotalMargin:u})=>{let c=0;await Promise.all(ao(e).map(async function(m){let h=e.node(m);if(i.info("Position XBX => "+m+": ("+h.x,","+h.y,") width: ",h.width," height: ",h.height),h?.clusterNode)h.y+=u,i.info("A tainted cluster node XBX1",m,h.id,h.width,h.height,h.x,h.y,e.parent(m)),ie.get(h.id).node=h,gn(h);else if(e.children(m).length>0){i.info("A pure cluster node XBX1",m,h.id,h.x,h.y,h.width,h.height,e.parent(m)),h.height+=u,e.node(h.parentId);let v=h?.padding/2||0,y=h?.labelBBox?.height||0,b=y-v||0;i.debug("OffsetY",b,"labelHeight",y,"halfPadding",v),await lr(n,h),ie.get(h.id).node=h}else{let v=e.node(h.parentId);h.y+=u/2,i.info("A regular node XBX1 - using the padding",h.id,"parent",h.parentId,h.width,h.height,h.x,h.y,"offsetY",h.offsetY,"parent",v,v?.offsetY,h),gn(h)}}));let p=u/2;return dc(e,p,{mergeSelfLoops:s}).forEach(function({edge:m,start:h,end:v}){i.info("Edge "+h+" -> "+v+": "+JSON.stringify(m),m),m.points.forEach((w)=>w.y+=p);let y=e.node(h),b=e.node(v),g=pr(o,m,ie,a,y,b,f);wa(m,g)}),e.nodes().forEach(function(m){let h=e.node(m);if(i.info(m,h.type,h.diff),h.isGroup)c=h.diff}),i.warn("Returning from recursive render XAX",r,c),{elem:r,diff:c}},"paintDagreLayoutCore"),vu=t(async(r)=>{let e=await qn(r);return Hn(e.graph),await gu(e)},"renderDagreSubgraph"),mc=t((r)=>{let e=new we({multigraph:!0,compound:!0}).setGraph({rankdir:r.direction,nodesep:r.config?.nodeSpacing||r.nodeSpacing||r.config?.flowchart?.nodeSpacing,ranksep:r.config?.rankSpacing||r.rankSpacing||r.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return r.nodes.forEach((n)=>{if(e.setNode(n.id,{...n}),n.parentId)e.setParent(n.id,n.parentId)}),i.debug("Edges:",r.edges),r.edges.forEach((n)=>{if(n.start===n.end){let o=n.start,a=o+"---"+o+"---1",f=o+"---"+o+"---2",s=e.node(o);e.setNode(a,{domId:a,id:a,parentId:s.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(a,s.parentId),e.setNode(f,{domId:f,id:f,parentId:s.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(f,s.parentId);let u=structuredClone(n),c=structuredClone(n),p=structuredClone(n),l=structuredClone(n);if(c.originalEdge=u,c.selfLoop={id:u.id,order:0},p.originalEdge=u,p.selfLoop={id:u.id,order:1},l.originalEdge=u,l.selfLoop={id:u.id,order:2},c.label="",c.arrowTypeEnd="none",c.endLabelLeft="",c.endLabelRight="",c.startLabelLeft="",c.id=o+"-cyclic-special-1",p.startLabelRight="",p.startLabelLeft="",p.endLabelLeft="",p.endLabelRight="",p.arrowTypeStart="none",p.arrowTypeEnd="none",p.id=o+"-cyclic-special-mid",l.label="",l.startLabelRight="",l.startLabelLeft="",l.arrowTypeStart="none",s.isGroup)c.fromCluster=o,l.toCluster=o;l.id=o+"-cyclic-special-2",l.arrowTypeStart="none",e.setEdge(o,a,c,o+"-cyclic-special-0"),e.setEdge(a,f,p,o+"-cyclic-special-1"),e.setEdge(f,o,l,o+"-cyclic-special-2")}else e.setEdge(n.start,n.end,{...n},n.id)}),hc(e),{graph:e}},"prepareLayoutForDagre"),Xc=t(async(r,{element:e,preparedLayout:n})=>{let o=n??mc(r),a=d(),f=await qn({element:e,graph:o.graph,diagramType:r.type,id:r.diagramId,parentCluster:void 0,siteConfig:a});return o.measuredLayout=f,f},"measureDagreLayout"),Kc=t((r,e)=>{let n=e.preparedLayout?.measuredLayout;if(!n)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return Hn(n.graph),Yc(r,n),n},"runDagreLayoutCore"),bu=t((r,{measure:e})=>ao(e.graph).map((n)=>e.graph.node(n)).filter(Boolean),"getDagrePaintNodes"),yu=t((r,e,{measure:n})=>r?n.graph.node(r):void 0,"getDagreEdgeNode"),fc=za({prepareLayout:mc,measureLayout:Xc,runLayoutCore:Kc,paintOptions:{clusterDb:ie,getNodes:bu,getEdgeNode:yu,skipNode:t((r,{measure:e})=>!e.graph.hasNode(r.id),"skipNode"),isCluster:t((r,{measure:e})=>e.graph.hasNode(r.id)&&(e.graph.children(r.id)??[]).length>0,"isCluster")}});export{dc,Yc,mc,Xc,Kc,fc};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Shell",name:"shellscript",patterns:[{include:"#initial_context"}],repository:{alias_statement:{begin:new r("(?:(?=([\\t ]*))\\1)(alias)(?:(?=([\\t ]*))\\3)((?:((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])-[\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\b(?:(?=([\\t ]*))\\6))*)(?:(?=([\\t ]*))\\7)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))","dgv",{hiddenCaptures:[1,3,6,7]}),beginCaptures:{"1":{name:"storage.type.alias.shell"},"2":{patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])-[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{name:"string.unquoted.argument.shell constant.other.option.shell"},"4":{name:"variable.other.assignment.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"variable.other.assignment.shell"},"7":{name:"constant.numeric.shell constant.numeric.integer.shell"},"8":{name:"punctuation.definition.array.access.shell"},"9":{name:"keyword.operator.assignment.shell"},"10":{name:"keyword.operator.assignment.compound.shell"},"11":{name:"keyword.operator.assignment.compound.shell"}},end:/(?=[\t ]|(?=\n?$))|(?:(?:(?:(;)|(&&))|(\|\|))|(&))/dgv,endCaptures:{"1":{name:"punctuation.terminator.statement.semicolon.shell"},"2":{name:"punctuation.separator.statement.and.shell"},"3":{name:"punctuation.separator.statement.or.shell"},"4":{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.alias.shell",patterns:[{include:"#normal_context"}]},argument:{begin:new r("(?:(?=([\\t ]+))\\1)(?![\\n\\#\\&\\(\\[\\|]|(?=\\n?$)|;)","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=[\t \&\;\|]|(?=\n?$)|[\n\)\`])/dgv,endCaptures:{},name:"meta.argument.shell",patterns:[{include:"#argument_context"},{include:"#line_continuation"}]},argument_context:{patterns:[{captures:{"1":{name:"string.unquoted.argument.shell",patterns:[{match:/\*/dgv,name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{"1":{name:"constant.language.$1.shell"}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\b(true|false)\b(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv}]}},match:new r('(?:(?=([\\t ]*))\\1)([^\\t\\n "\\$\\&-\\)\\;\\<\\>\\\\\\`\\|]+(?!>))',"dgv",{hiddenCaptures:[1]})},{include:"#normal_context"}]},arithmetic_double:{patterns:[{begin:/\(\(/dgv,beginCaptures:{"0":{name:"punctuation.section.arithmetic.double.shell"}},end:/\)\p{space}*\)/dgv,endCaptures:{"0":{name:"punctuation.section.arithmetic.double.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"},{include:"#string"}]}]},arithmetic_no_dollar:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.arithmetic.single.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arithmetic.single.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"},{include:"#string"}]}]},array_access_inline:{captures:{"1":{name:"punctuation.section.array.shell"},"2":{patterns:[{include:"#special_expansion"},{include:"#string"},{include:"#variable"}]},"3":{name:"punctuation.section.array.shell"}},match:/(\[)([^\]\[]+)(\])/dgv},array_value:{begin:new r("(?:(?=([\\t ]*))\\1)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))(?:(?=([\\t ]*))\\10)(\\()","dgv",{hiddenCaptures:[1,10]}),beginCaptures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"},"9":{name:"punctuation.definition.array.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.array.shell"}},patterns:[{include:"#comment"},{captures:{"1":{name:"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{name:"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},match:/((?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}]))(=)/dgv},{captures:{"1":{name:"punctuation.definition.bracket.named-array.shell"},"2":{name:"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{name:"punctuation.definition.bracket.named-array.shell"},"4":{name:"punctuation.definition.assignment.shell"}},match:/(\[)([^\n]+?)(\])(=)/dgv},{include:"#normal_context"},{include:"#simple_unquoted"}]},assignment_statement:{patterns:[{include:"#array_value"},{include:"#modified_assignment_statement"},{include:"#normal_assignment_statement"}]},basic_command_name:{captures:{"1":{name:"storage.modifier.$1.shell"},"2":{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:continue|return|break)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.control.$0.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[\.\:])(?!\/)(?![\p{L}\p{M}\p{N}\p{Pc}])(?!-)/dgv,name:"support.function.builtin.shell"},{include:"#variable"}]}},match:/(?![\n\!\#\&\(\)\<\>\[\{\|]|(?=\n?$)|[\t \;])(?!nocorrect |nocorrect\t|nocorrect(?=\n?$)|readonly |readonly\t|readonly(?=\n?$)|function |function\t|function(?=\n?$)|foreach |foreach\t|foreach(?=\n?$)|coproc |coproc\t|coproc(?=\n?$)|logout |logout\t|logout(?=\n?$)|export |export\t|export(?=\n?$)|select |select\t|select(?=\n?$)|repeat |repeat\t|repeat(?=\n?$)|pushd |pushd\t|pushd(?=\n?$)|until |until\t|until(?=\n?$)|while |while\t|while(?=\n?$)|local |local\t|local(?=\n?$)|case |case\t|case(?=\n?$)|done |done\t|done(?=\n?$)|elif |elif\t|elif(?=\n?$)|else |else\t|else(?=\n?$)|esac |esac\t|esac(?=\n?$)|popd |popd\t|popd(?=\n?$)|then |then\t|then(?=\n?$)|time |time\t|time(?=\n?$)|for |for\t|for(?=\n?$)|end |end\t|end(?=\n?$)|fi |fi\t|fi(?=\n?$)|do |do\t|do(?=\n?$)|in |in\t|in(?=\n?$)|if |if\t|if(?=\n?$))(?:((?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$)))|((?!["']|\\\n?(?=\n?$))[^\t\n\r \!"'\<\>]+?))(?:(?=[\t ])|(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\))/dgv,name:"meta.statement.command.name.basic.shell"},block_comment:{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.shell"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.shell"}},name:"comment.block.shell"},boolean:{match:/\b(?:true|false)\b/dgv,name:"constant.language.$0.shell"},case_statement:{begin:new r("\\b(case)\\b(?:(?=([\\t ]*))\\2)([^\\n]+?)(?:(?=([\\t ]*))\\4)\\b(in)\\b","dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.control.case.shell"},"2":{patterns:[{include:"#initial_context"}]},"3":{name:"keyword.control.in.shell"}},end:/\besac\b/dgv,endCaptures:{"0":{name:"keyword.control.esac.shell"}},name:"meta.case.shell",patterns:[{include:"#comment"},{captures:{"1":{name:"keyword.operator.pattern.case.default.shell"}},match:new r("(?:(?=([\\t ]*))\\1)(\\* *\\))","dgv",{hiddenCaptures:[1]})},{begin:new r("(?<!\\))(?!(?:(?=([\\t ]*))\\1)(?:esac\\b|(?=\\n?$)))","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=\besac\b)|(\))/dgv,endCaptures:{"1":{name:"keyword.operator.pattern.case.shell"}},name:"meta.case.entry.pattern.shell",patterns:[{include:"#case_statement_context"}]},{begin:/(?<=\))/dgv,beginCaptures:{},end:/(;;)|(?=\besac\b)/dgv,endCaptures:{"1":{name:"punctuation.terminator.statement.case.shell"}},name:"meta.case.entry.body.shell",patterns:[{include:"#typical_statements"},{include:"#initial_context"}]}]},case_statement_context:{patterns:[{match:/\*/dgv,name:"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/\+/dgv,name:"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/\?/dgv,name:"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/@/dgv,name:"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{match:/\|/dgv,name:"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"},{match:/(?<=\tin| in|[\t ]|;;)\(/dgv,name:"keyword.operator.pattern.case.shell"},{begin:/(?<=\P{space})(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},name:"meta.parenthese.shell",patterns:[{include:"#case_statement_context"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.character-class.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.character-class.shell"}},name:"string.regexp.character-class.shell",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"}]},{include:"#string"},{match:/[^\t\n \)\*\?\@\[\|]/dgv,name:"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},command_name_range:{begin:/(?:)/dgv,beginCaptures:{},end:/(?=[\t \&\;\|]|(?=\n?$)|[\n\)\`])|(?=<)/dgv,endCaptures:{},name:"meta.statement.command.name.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:continue|return|break)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[\.\:])(?!\/)(?![\p{L}\p{M}\p{N}\p{Pc}])(?!-)/dgv,name:"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{include:"#variable"},{captures:{"1":{name:"entity.name.function.call.shell entity.name.command.shell"}},match:new r(`(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])(?<=^|["'\\)\\}])([^\\t\\n\\r "\\&'\\)\\;-\\>\\\`\\{\\|]+)`,"dgv",{strategy:"clip_search"})},{begin:new r(`(?:^|(?<![\\t\\n \\#\\&\\;\\{\\|]))(\\$?)((")|('))`,"dgv",{strategy:"clip_search"}),beginCaptures:{"1":{name:"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},end:new r("(?<!^)(?<=\\2)()()","dgv",{strategy:"clip_search"}),endCaptures:{},patterns:[{include:"#continuation_of_single_quoted_command_name"},{include:"#continuation_of_double_quoted_command_name"}]},{include:"#line_continuation"},{include:"#simple_unquoted"}]},command_statement:{begin:new r("(?:(?=([\\t ]*))\\1)(?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;])(?!nocorrect |nocorrect\\t|nocorrect(?=\\n?$)|readonly |readonly\\t|readonly(?=\\n?$)|function |function\\t|function(?=\\n?$)|foreach |foreach\\t|foreach(?=\\n?$)|coproc |coproc\\t|coproc(?=\\n?$)|logout |logout\\t|logout(?=\\n?$)|export |export\\t|export(?=\\n?$)|select |select\\t|select(?=\\n?$)|repeat |repeat\\t|repeat(?=\\n?$)|pushd |pushd\\t|pushd(?=\\n?$)|until |until\\t|until(?=\\n?$)|while |while\\t|while(?=\\n?$)|local |local\\t|local(?=\\n?$)|case |case\\t|case(?=\\n?$)|done |done\\t|done(?=\\n?$)|elif |elif\\t|elif(?=\\n?$)|else |else\\t|else(?=\\n?$)|esac |esac\\t|esac(?=\\n?$)|popd |popd\\t|popd(?=\\n?$)|then |then\\t|then(?=\\n?$)|time |time\\t|time(?=\\n?$)|for |for\\t|for(?=\\n?$)|end |end\\t|end(?=\\n?$)|fi |fi\\t|fi(?=\\n?$)|do |do\\t|do(?=\\n?$)|in |in\\t|in(?=\\n?$)|if |if\\t|if(?=\\n?$))(?!\\\\\\n?(?=\\n?$))","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.command.shell",patterns:[{include:"#command_name_range"},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"},{include:"#heredoc"}]},comment:{captures:{"1":{name:"comment.line.number-sign.shell meta.shebang.shell"},"2":{name:"punctuation.definition.comment.shebang.shell"},"3":{name:"comment.line.number-sign.shell"},"4":{name:"punctuation.definition.comment.shell"}},match:new r("(?:^|(?:(?=([\\t ]+))\\1))(?:((#!)[^\\n]*)|((#)[^\\n]*))","dgv",{hiddenCaptures:[1]})},comments:{patterns:[{include:"#block_comment"},{include:"#line_comment"}]},"compound-command":{patterns:[{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical-expression"},{include:"#initial_context"}]},{begin:/(?<=\p{space}|^)\{(?=\p{space}|(?=\n?$))/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell"}},end:/(?<=^|;)\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},continuation_of_double_quoted_command_name:{begin:/(?<=")/dgvy,beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command",end:/"/dgv,endCaptures:{"0":{name:"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},continuation_of_single_quoted_command_name:{begin:/(?<=')/dgvy,beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command",end:/'/dgv,endCaptures:{"0":{name:"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},custom_command_names:{patterns:[]},custom_commands:{patterns:[]},double_quote_context:{patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},double_quote_escape_char:{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},floating_keyword:{patterns:[{match:/(?<=^|[\t \&\;])(?:then|elif|else|done|end|do|if|fi)(?=[\t \&\;]|(?=\n?$))/dgv,name:"keyword.control.$0.shell"}]},for_statement:{patterns:[{begin:new r("\\b(for)\\b(?:(?=([\\t ]*))\\2)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(?=([\\t ]*))\\4)\\b(in)\\b","dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.control.for.shell"},"2":{name:"variable.other.for.shell"},"3":{name:"keyword.control.in.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.for.in.shell",patterns:[{include:"#string"},{include:"#simple_unquoted"},{include:"#normal_context"}]},{begin:/\b(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.for.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.for.shell",patterns:[{include:"#arithmetic_double"},{include:"#normal_context"}]}]},function_definition:{applyEndPatternLast:1,begin:new r(`(?:(?=([\\t ]*))\\1)(?:\\b(function)\\b(?:(?=([\\t ]*))\\3)([^\\t\\n\\r "'\\(\\)\\=]+)(?:(\\()(?:(?=([\\t ]*))\\6)(\\)))?|([^\\t\\n\\r "'\\(\\)\\=]+)(?:(?=([\\t ]*))\\9)(\\()(?:(?=([\\t ]*))\\11)(\\)))`,"dgv",{hiddenCaptures:[1,3,6,9,11]}),beginCaptures:{"1":{name:"storage.type.function.shell"},"2":{name:"entity.name.function.shell"},"3":{name:"punctuation.definition.arguments.shell"},"4":{name:"punctuation.definition.arguments.shell"},"5":{name:"entity.name.function.shell"},"6":{name:"punctuation.definition.arguments.shell"},"7":{name:"punctuation.definition.arguments.shell"}},end:/(?<=[\)\}])/dgv,endCaptures:{},name:"meta.function.shell",patterns:[{match:/[\t\n ]/dgvy},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{include:"#initial_context"}]},heredoc:{patterns:[{begin:new r(`((?<!<)<<-)(?:(?=([\\t ]*))\\2)(["'])(?:(?=([\\t ]*))\\4)([^"']+?)(?=["\\&'\\;\\<\\p{space}])(\\3)([^\\n]*)`,"dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.quote.shell"},"3":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"4":{name:"punctuation.definition.string.heredoc.quote.shell"},"5":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.quoted.heredoc.indent.$3",end:/^\t*\3(?=[\&\;\p{space}]|(?=\n?$))()()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.$0.shell"}},patterns:[]},{begin:new r(`((?<!<)<<(?!<))(?:(?=([\\t ]*))\\2)(["'])(?:(?=([\\t ]*))\\4)([^"']+?)(?=["\\&'\\;\\<\\p{space}])(\\3)([^\\n]*)`,"dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.quote.shell"},"3":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"4":{name:"punctuation.definition.string.heredoc.quote.shell"},"5":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.quoted.heredoc.no-indent.$3",end:/^\3(?=[\&\;\p{space}]|(?=\n?$))()()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[]},{begin:new r(`((?<!<)<<-)(?:(?=([\\t ]*))\\2)([^\\t "']+)(?=["\\&'\\;\\<\\p{space}])([^\\n]*)`,"dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"3":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.unquoted.heredoc.indent.$2",end:/^\t*\2(?=[\&\;\p{space}]|(?=\n?$))()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]},{begin:new r(`((?<!<)<<(?!<))(?:(?=([\\t ]*))\\2)([^\\t "']+)(?=["\\&'\\;\\<\\p{space}])([^\\n]*)`,"dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"3":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.unquoted.heredoc.no-indent.$2",end:/^\2(?=[\&\;\p{space}]|(?=\n?$))()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]}]},herestring:{patterns:[{begin:/(<<<)\p{space}*(('))/dgv,beginCaptures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.quoted.single.shell"},"3":{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.single.shell",end:/(')/dgv,endCaptures:{"0":{name:"string.quoted.single.shell"},"1":{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell"},{begin:/(<<<)\p{space}*(("))/dgv,beginCaptures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.quoted.double.shell"},"3":{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.double.shell",end:/(")/dgv,endCaptures:{"0":{name:"string.quoted.double.shell"},"1":{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell",patterns:[{include:"#double_quote_context"}]},{captures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.unquoted.herestring.shell",patterns:[{include:"#initial_context"}]}},match:/(<<<)\p{space}*(([^\)\\\p{space}]|\\[^\n])+)/dgv,name:"meta.herestring.shell"}]},initial_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#logical_expression_double"},{include:"#logical_expression_single"},{include:"#assignment_statement"},{include:"#case_statement"},{include:"#for_statement"},{include:"#loop"},{include:"#function_definition"},{include:"#line_continuation"},{include:"#arithmetic_double"},{include:"#misc_ranges"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#alias_statement"},{include:"#normal_statement"},{include:"#string"},{include:"#support"}]},inline_comment:{captures:{"1":{name:"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{name:"comment.block.shell"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.shell punctuation.definition.comment.end.shell"},{match:/\*/dgv,name:"comment.block.shell"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})},interpolation:{patterns:[{include:"#arithmetic_dollar"},{include:"#subshell_dollar"},{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.evaluation.backticks.shell"}},end:/`/dgv,endCaptures:{"0":{name:"punctuation.definition.evaluation.backticks.shell"}},name:"string.interpolated.backtick.shell",patterns:[{match:/\\[\$\\\`]/dgv,name:"constant.character.escape.shell"},{begin:/(?<=[^\p{L}\p{M}\p{N}\p{Pc}])(?=#)(?!#\{)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.shell"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.shell"}},end:/(?=`)/dgv,name:"comment.line.number-sign.shell"}]},{include:"#initial_context"}]}]},keyword:{patterns:[{match:/(?<=^|[\&\;\p{space}])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"keyword.control.shell"},{match:/(?<=^|[\&\;\p{space}])(?:export|declare|typeset|local|readonly)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"storage.modifier.shell"}]},line_comment:{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.shell"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.shell",patterns:[{include:"#line_continuation_character"}]},line_continuation:{match:/\\(?=\n)/dgv,name:"constant.character.escape.line-continuation.shell"},"logical-expression":{patterns:[{include:"#arithmetic_no_dollar"},{match:/=[\=\~]?|!=?|[\<\>]|&&|\|\|/dgv,name:"keyword.operator.logical.shell"},{match:/(?<!\P{space})-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\b/dgv,name:"keyword.operator.logical.shell"}]},logical_expression_context:{patterns:[{include:"#regex_comparison"},{include:"#arithmetic_no_dollar"},{include:"#logical-expression"},{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#comment"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"}]},logical_expression_double:{begin:/\[\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},logical_expression_single:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},loop:{patterns:[{begin:/(?<=^|[\&\;\p{space}])(for)\p{space}+([^\n]+?)\p{space}+(in)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"},"2":{name:"variable.other.loop.shell",patterns:[{include:"#string"}]},"3":{name:"keyword.control.shell"}},end:/(?<=^|[\&\;\p{space}])done(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"0":{name:"keyword.control.shell"}},name:"meta.scope.for-in-loop.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])(while|until)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"}},end:/(?<=^|[\&\;\p{space}])done(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"0":{name:"keyword.control.shell"}},name:"meta.scope.while-loop.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])(select)\p{space}+((?:[^\\\p{space}]|\\[^\n])+)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"},"2":{name:"variable.other.loop.shell"}},end:/(?<=^|[\&\;\p{space}])(done)(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"1":{name:"keyword.control.shell"}},name:"meta.scope.select-block.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])if(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"0":{name:"keyword.control.if.shell"}},end:/(?<=^|[\&\;\p{space}])fi(?=[\&\;\p{space}]|(?=\n?$))/dgv,endCaptures:{"0":{name:"keyword.control.fi.shell"}},name:"meta.scope.if-block.shell",patterns:[{include:"#initial_context"}]}]},math:{patterns:[{include:"#variable"},{match:/\+{1,2}|-{1,2}|[\!\~]|\*{1,2}|[\%\/]|<[\<\=]?|>[\=\>]?|==|!=|^|\|{1,2}|&{1,2}|[\,\:\=\?]|[\-\%\&\*\+\/\^\|]=|<<=|>>=/dgv,name:"keyword.operator.arithmetic.shell"},{match:/0[Xx]\p{AHex}+/dgv,name:"constant.numeric.hex.shell"},{match:/;/dgv,name:"punctuation.separator.semicolon.range"},{match:/0\p{Nd}+/dgv,name:"constant.numeric.octal.shell"},{match:/\p{Nd}{1,2}#[0-9\@-Z_a-z]+/dgv,name:"constant.numeric.other.shell"},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"}]},math_operators:{patterns:[{match:/\+{1,2}|-{1,2}|[\!\~]|\*{1,2}|[\%\/]|<[\<\=]?|>[\=\>]?|==|!=|^|\|{1,2}|&{1,2}|[\,\:\=\?]|[\-\%\&\*\+\/\^\|]=|<<=|>>=/dgv,name:"keyword.operator.arithmetic.shell"},{match:/0[Xx]\p{AHex}+/dgv,name:"constant.numeric.hex.shell"},{match:/0\p{Nd}+/dgv,name:"constant.numeric.octal.shell"},{match:/\p{Nd}{1,2}#[0-9\@-Z_a-z]+/dgv,name:"constant.numeric.other.shell"},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.shell"}]},misc_ranges:{patterns:[{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#subshell_dollar"},{begin:/(?<![^\t ])(\{)(?![\$\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.shell"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},modified_assignment_statement:{begin:/(?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$))/dgv,beginCaptures:{"0":{name:"storage.modifier.$0.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.shell meta.expression.assignment.modified.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])-[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"string.unquoted.argument.shell constant.other.option.shell"},{include:"#array_value"},{captures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"},"9":{name:"constant.numeric.shell constant.numeric.hex.shell"},"10":{name:"constant.numeric.shell constant.numeric.octal.shell"},"11":{name:"constant.numeric.shell constant.numeric.other.shell"},"12":{name:"constant.numeric.shell constant.numeric.decimal.shell"},"13":{name:"constant.numeric.shell constant.numeric.version.shell"},"14":{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:/((?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}]))(?:(\[)((?:(?:\$?(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])|@)|\*)|(-?\p{Nd}+))(\]))?(?:(?:(=)|(\+=))|(-=))?(?:(?<=[\t \=]|^|[\(\[\{])(?:(?:(?:(?:(?:(0[Xx]\p{AHex}+)|(0\p{Nd}+))|(\p{Nd}{1,2}#[0-9\@-Z_a-z]+))|(-?\p{Nd}+\.\p{Nd}+))|(-?\p{Nd}+(?:\.\p{Nd}+)+))|(-?\p{Nd}+))(?=[\t ]|(?=\n?$)|[\)\;\}]))?/dgv},{include:"#normal_context"}]},modifiers:{match:/(?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$))/dgv,name:"storage.modifier.$0.shell"},normal_assignment_statement:{begin:new r("(?:(?=([\\t ]*))\\1)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.expression.assignment.shell",patterns:[{include:"#comment"},{include:"#string"},{include:"#normal_assignment_statement"},{begin:/(?<=[\t ])(?![\t ]|[\p{L}\p{M}\p{N}\p{Pc}]+=)/dgv,beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.command.env.shell",patterns:[{include:"#command_name_range"},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"}]},{include:"#simple_unquoted"},{include:"#normal_context"}]},normal_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#misc_ranges"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"},{include:"#parenthese"}]},normal_statement:{begin:new r("(?!^(?:(?=([\\t ]*))\\1)(?=\\n?$))(?:(?<=(?:^until| until|\\tuntil|^while| while|\\twhile|^elif| elif|\\telif|^else| else|\\telse|^then| then|\\tthen|^do| do|\\tdo|^if| if|\\tif) )|(?<=^|[\\!\\&\\(\\;\\`\\{\\|]))(?:(?=([\\t ]*))\\2)(?!nocorrect[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|nocorrect\\$|function[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|function\\$|foreach[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|foreach\\$|repeat[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|repeat\\$|logout[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|logout\\$|coproc[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|coproc\\$|select[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|select\\$|while[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|while\\$|pushd[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|pushd\\$|until[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|until\\$|case[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|case\\$|done[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|done\\$|elif[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|elif\\$|else[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|else\\$|esac[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|esac\\$|popd[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|popd\\$|then[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|then\\$|time[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|time\\$|for[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|for\\$|end[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|end\\$|fi[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|fi\\$|do[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|do\\$|in[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|in\\$|if[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|if\\$)","dgv",{hiddenCaptures:[1,2]}),beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.shell",patterns:[{include:"#typical_statements"}]},normal_statement_seperator:{captures:{"1":{name:"punctuation.terminator.statement.semicolon.shell"},"2":{name:"punctuation.separator.statement.and.shell"},"3":{name:"punctuation.separator.statement.or.shell"},"4":{name:"punctuation.separator.statement.background.shell"}},match:/(?:(?:(;)|(&&))|(\|\|))|(&)/dgv},numeric_literal:{captures:{"1":{name:"constant.numeric.shell constant.numeric.hex.shell"},"2":{name:"constant.numeric.shell constant.numeric.octal.shell"},"3":{name:"constant.numeric.shell constant.numeric.other.shell"},"4":{name:"constant.numeric.shell constant.numeric.decimal.shell"},"5":{name:"constant.numeric.shell constant.numeric.version.shell"},"6":{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:/(?<=[\t \=]|^|[\(\[\{])(?:(?:(?:(?:(?:(0[Xx]\p{AHex}+)|(0\p{Nd}+))|(\p{Nd}{1,2}#[0-9\@-Z_a-z]+))|(-?\p{Nd}+\.\p{Nd}+))|(-?\p{Nd}+(?:\.\p{Nd}+)+))|(-?\p{Nd}+))(?=[\t ]|(?=\n?$)|[\)\;\}])/dgv},option:{begin:new r("(?:(?=([\\t ]+))\\1)(-)((?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;]))","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{name:"string.unquoted.argument.shell constant.other.option.shell"}},contentName:"string.unquoted.argument constant.other.option",end:/(?=[\t ])|(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},patterns:[{include:"#option_context"}]},option_context:{patterns:[{include:"#misc_ranges"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"}]},parenthese:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parenthese.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parenthese.shell"}},name:"meta.parenthese.group.shell",patterns:[{include:"#initial_context"}]}]},pathname:{patterns:[{match:/(?<=[\:\=\p{space}]|^)~/dgv,name:"keyword.operator.tilde.shell"},{match:/[\*\?]/dgv,name:"keyword.operator.glob.shell"},{begin:/([\!\*\+\?\@])(\()/dgv,beginCaptures:{"1":{name:"keyword.operator.extglob.shell"},"2":{name:"punctuation.definition.extglob.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.extglob.shell"}},name:"meta.structure.extglob.shell",patterns:[{include:"#initial_context"}]}]},pipeline:{patterns:[{match:/(?<=^|[\&\;\p{space}])(time)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"keyword.other.shell"},{match:/[\!\|]/dgv,name:"keyword.operator.pipe.shell"}]},redirect_fix:{captures:{"1":{name:"keyword.operator.redirect.shell"},"2":{name:"string.unquoted.argument.shell"}},match:new r('(>>?)(?:(?=([\\t ]*))\\2)([^\\t\\n "\\$\\&-\\)\\;\\<\\>\\\\\\`\\|]+)',"dgv",{hiddenCaptures:[2]})},redirect_number:{captures:{"1":{name:"keyword.operator.redirect.stdout.shell"},"2":{name:"keyword.operator.redirect.stderr.shell"},"3":{name:"keyword.operator.redirect.$3.shell"}},match:/(?<=[\t ])(?:(1)|(2)|(\p{Nd}+))(?=>)/dgv},redirection:{patterns:[{begin:/[\<\>]\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.interpolated.process-substitution.shell",patterns:[{include:"#initial_context"}]},{match:/(?<![\<\>])(&>|\p{Nd}*>&\p{Nd}*|\p{Nd}*(>>|[\<\>])|\p{Nd}*<&|\p{Nd}*<>)(?![\<\>])/dgv,name:"keyword.operator.redirect.shell"}]},regex_comparison:{match:/=~/dgv,name:"keyword.operator.logical.regex.shell"},regexp:{patterns:[{match:/[^\n]+/dgv}]},simple_options:{captures:{"0":{patterns:[{captures:{"1":{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{name:"string.unquoted.argument.shell constant.other.option.shell"}},match:new r("(?:(?=([\\t ]+))\\1)(-)([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)","dgv",{hiddenCaptures:[1]})}]}},match:new r("(?:(?:(?=([\\t ]+))\\1)-[\\p{L}\\p{M}\\p{N}\\p{Pc}]+)*","dgv",{hiddenCaptures:[1]})},simple_unquoted:{match:/[^\t\n "\$\&-\)\;\<\>\\\`\|]/dgv,name:"string.unquoted.shell"},special_expansion:{match:/!|:[\-\=\?]?|[\*\@]|##?|%%|[\%\/]/dgv,name:"keyword.operator.expansion.shell"},start_of_command:{match:new r("(?:(?=([\\t ]*))\\1)(?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;])(?!nocorrect |nocorrect\\t|nocorrect(?=\\n?$)|readonly |readonly\\t|readonly(?=\\n?$)|function |function\\t|function(?=\\n?$)|foreach |foreach\\t|foreach(?=\\n?$)|coproc |coproc\\t|coproc(?=\\n?$)|logout |logout\\t|logout(?=\\n?$)|export |export\\t|export(?=\\n?$)|select |select\\t|select(?=\\n?$)|repeat |repeat\\t|repeat(?=\\n?$)|pushd |pushd\\t|pushd(?=\\n?$)|until |until\\t|until(?=\\n?$)|while |while\\t|while(?=\\n?$)|local |local\\t|local(?=\\n?$)|case |case\\t|case(?=\\n?$)|done |done\\t|done(?=\\n?$)|elif |elif\\t|elif(?=\\n?$)|else |else\\t|else(?=\\n?$)|esac |esac\\t|esac(?=\\n?$)|popd |popd\\t|popd(?=\\n?$)|then |then\\t|then(?=\\n?$)|time |time\\t|time(?=\\n?$)|for |for\\t|for(?=\\n?$)|end |end\\t|end(?=\\n?$)|fi |fi\\t|fi(?=\\n?$)|do |do\\t|do(?=\\n?$)|in |in\\t|in(?=\\n?$)|if |if\\t|if(?=\\n?$))(?!\\\\\\n?(?=\\n?$))","dgv",{hiddenCaptures:[1]})},string:{patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.shell"},{begin:/\$?"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.double.shell",patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},{begin:/\$'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.dollar.shell",patterns:[{match:/\\['\\abefnrtv]/dgv,name:"constant.character.escape.ansi-c.shell"},{match:/\\[0-9]{3}"/dgv,name:"constant.character.escape.octal.shell"},{match:/\\x\p{AHex}{2}"/dgv,name:"constant.character.escape.hex.shell"},{match:/\\c[^\n]"/dgv,name:"constant.character.escape.control-char.shell"}]}]},subshell_dollar:{patterns:[{begin:/\$\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.subshell.single.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.subshell.single.shell"}},name:"meta.scope.subshell",patterns:[{include:"#parenthese"},{include:"#initial_context"}]}]},support:{patterns:[{match:/(?<=^|[\&\;\p{space}])[\.\:](?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"support.function.builtin.shell"}]},typical_statements:{patterns:[{include:"#assignment_statement"},{include:"#case_statement"},{include:"#for_statement"},{include:"#while_statement"},{include:"#function_definition"},{include:"#command_statement"},{include:"#line_continuation"},{include:"#arithmetic_double"},{include:"#normal_context"}]},variable:{patterns:[{captures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{name:"variable.parameter.positional.all.shell"}},match:/(\$)(@(?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{captures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{name:"variable.parameter.positional.shell"}},match:/(\$)([0-9](?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{captures:{"1":{name:"punctuation.definition.variable.shell variable.language.special.shell"},"2":{name:"variable.language.special.shell"}},match:/(\$)([\-\!\#\$\*0\?_](?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{begin:new r("(\\$)(\\{)(?:(?=([\\t ]*))\\3)(?=\\p{Nd})","dgv",{hiddenCaptures:[3]}),beginCaptures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},contentName:"meta.parameter-expansion",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},patterns:[{include:"#special_expansion"},{include:"#array_access_inline"},{match:/[0-9]+/dgv,name:"variable.parameter.positional.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{begin:/(\$)(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.variable.shell"},"2":{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},contentName:"meta.parameter-expansion",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},patterns:[{include:"#special_expansion"},{include:"#array_access_inline"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{captures:{"1":{name:"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{name:"variable.other.normal.shell"}},match:/(\$)([\p{L}\p{M}\p{N}\p{Pc}]+(?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv}]},while_statement:{patterns:[{begin:/\b(while)\b/dgv,beginCaptures:{"1":{name:"keyword.control.while.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.while.shell",patterns:[{include:"#line_continuation"},{include:"#math_operators"},{include:"#option"},{include:"#simple_unquoted"},{include:"#normal_context"},{include:"#string"}]}]}},scopeName:"source.shell",embeddedLangs:void 0,aliases:["bash","sh","shell","zsh"]}),Ji=[e];
|
|
2
|
+
export{Ji};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t,i,Y}from"./chunk-pvq527d1.js";var De=t((e,o,r,n)=>{e.attr("class",r);let{width:h,height:a,x:w,y:x}=u(e,o);Y(e,a,h,n);let c=m(w,x,h,a,o);e.attr("viewBox",c),i.debug(`viewBox configured: ${c} with padding: ${o}`)},"setupViewPortForSVG"),u=t((e,o)=>{let r=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:r.width+o*2,height:r.height+o*2,x:r.x,y:r.y}},"calculateDimensionsWithPadding"),m=t((e,o,r,n,h)=>`${e-h} ${o-h} ${r} ${n}`,"createViewBox");
|
|
2
|
+
export{De};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
� ���Y���_ŷZ�i�n��Wƹ�����Y[0�m�����Ck��Q���!��8�_\?�:]���m;tƃ���2(��x�7.n��d��|�m�@�Jpiya��u�!^DH��������p�ͅ��k#B�B3�e{�����;U�Vn�ﰹP*�!K"�|Fږ�$(
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ls}from"./chunk-fn0hha9d.js";export{Ls as default};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ia}from"./chunk-my4zxtxx.js";import"./chunk-r9m8jh7x.js";import"./chunk-6ycpdpfj.js";export{Ia as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ts}from"./chunk-ckpx6ky8.js";import"./chunk-6ycpdpfj.js";export{Ts as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import{zr}from"./chunk-3rnbw3ds.js";import{se}from"./chunk-z7j6wnn3.js";import{t,i,z,S,C,L,M,P,R,I,B,D,d,ti,v,tc,Z,H}from"./chunk-pvq527d1.js";import{ye}from"./chunk-evt920fg.js";var w={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=z.gitGraph,V=t(()=>Z({...Ce,...S().gitGraph}),"getConfig"),m=new zr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function oe(){return tc({length:7})}t(oe,"getID");function $e(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let l=r(c);if(!a[l])a[l]=!0,n.push(c);return n},[])}t($e,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){i.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let l=V();a=C.sanitizeText(a,l),r=C.sanitizeText(r,l),c=c?.map((o)=>C.sanitizeText(o,l));let s={id:a?a:m.records.seq+"-"+oe(),message:r,seq:m.records.seq++,type:n??w.NORMAL,tags:c??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=s,i.info("main branch",l.mainBranchName),m.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);m.records.commits.set(s.id,s),m.records.branches.set(m.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.sanitizeText(r,V()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:a}),pe(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,l=V();if(r=C.sanitizeText(r,l),a)a=C.sanitizeText(a,l);let s=m.records.branches.get(m.records.currBranch),o=m.records.branches.get(r),g=s?m.records.commits.get(s):void 0,p=o?m.records.commits.get(o):void 0;if(g&&p&&g.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let h=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(g===void 0||!g){let h=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!m.records.branches.has(r)){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(p===void 0||!p){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(g===p){let h=Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(a&&m.records.commits.has(a)){let h=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw h.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},h}let y=o?o:"",f={id:a||`${m.records.seq}-${oe()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,y],branch:m.records.currBranch,type:w.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};m.records.head=f,m.records.commits.set(f.id,f),m.records.branches.set(m.records.currBranch,f.id),i.debug(m.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let l=V();if(r=C.sanitizeText(r,l),a=C.sanitizeText(a,l),n=n?.map((g)=>C.sanitizeText(g,l)),c=C.sanitizeText(c,l),!r||!m.records.commits.has(r)){let g=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}let s=m.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===w.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!m.records.commits.has(a)){if(o===m.records.currBranch){let f=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let g=m.records.branches.get(m.records.currBranch);if(g===void 0||!g){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let p=m.records.commits.get(g);if(p===void 0||!p){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let y={id:m.records.seq+"-"+oe(),message:`cherry-picked ${s?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,s.id],branch:m.records.currBranch,type:w.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===w.MERGE?`|parent:${c}`:""}`]};m.records.head=y,m.records.commits.set(y.id,y),m.records.branches.set(m.records.currBranch,y.id),i.debug(m.records.branches),i.debug("in cherryPick")}},"cherryPick"),pe=t(function(e){if(e=C.sanitizeText(e,V()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function de(e,r,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function le(e){let r=e.reduce((c,l)=>{if(c.seq>l.seq)return c;return l},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in m.records.branches)if(m.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=m.records.commits.get(r.parents[0]);if(de(e,r,c),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let c=m.records.commits.get(r.parents[0]);de(e,r,c)}e=$e(e,(c)=>c.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(m.records.commits);let e=xe()[0];le([e])},"prettyPrint"),Ie=t(function(){m.reset(),L()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:w,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:pe,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:B,getDiagramTitle:D},He=t((e,r)=>{if(se(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?w[e.type]:w.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?w[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await ye("gitGraph",e);i.debug(r),He(r,ue)},"parse")},Y=10,j=40,q=4,N=2,K=8,ne=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),he=12,me=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),_=new Map,G=new Map,re=30,Q=new Map,ae=[],F=0,u="LR",Ve=t(()=>{_.clear(),G.clear(),Q.clear(),F=0,ae=[],u="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),we=t((e)=>{let r,a,n;if(u==="BT")a=t((c,l)=>c<=l,"comparisonFunc"),n=1/0;else a=t((c,l)=>c>=l,"comparisonFunc"),n=0;return e.forEach((c)=>{let l=u==="TB"||u=="BT"?G.get(c)?.y:G.get(c)?.x;if(l!==void 0&&a(l,n))r=c,n=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=G.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,l=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else l.push(o);et(o,n)}),n=c,l.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let g=Ze(o.parents);if(n=G.get(g).y-j,n<=c)c=n;let p=_.get(o.branch).pos,y=n-Y;G.set(o.id,{x:p,y})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=G.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=_.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return G.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=_.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,l=n.pos;G.set(e.id,{x:l,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,l)=>{let{theme:s}=d(),o=ne.has(s??""),g=me.has(s??""),p=Ue.has(s??"");if(l===w.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,g)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,g)} ${n}-inner`);else if(l===w.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let y=e.append("circle");if(y.attr("cx",a.x),y.attr("cy",a.y),y.attr("r",o?7:10),y.attr("class",`commit ${r.id} commit${U(c,K,g)}`),l===w.MERGE){let f=e.append("circle");f.attr("cx",a.x),f.attr("cy",a.y),f.attr("r",o?5:6),f.attr("class",`commit ${n} ${r.id} commit${U(c,K,g)}`)}if(l===w.REVERSE){let f=e.append("path"),h=o?4:5;f.attr("d",`M ${a.x-h},${a.y-h}L${a.x+h},${a.y+h}M${a.x-h},${a.y+h}L${a.x+h},${a.y-h}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,g)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==w.CHERRY_PICK&&(r.customId&&r.type===w.MERGE||r.type!==w.MERGE)&&c.showCommitLabel){let l=e.append("g"),s=l.insert("rect").attr("class","commit-label-bkg"),o=l.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),g=o.node()?.getBBox();if(g){if(s.attr("x",a.posWithOffset-g.width/2-N).attr("y",a.y+13.5).attr("width",g.width+2*N).attr("height",g.height+2*N),u==="TB"||u==="BT")s.attr("x",a.x-(g.width+4*q+5)).attr("y",a.y-12),o.attr("x",a.x-(g.width+4*q)).attr("y",a.y+g.height-12);else o.attr("x",a.posWithOffset-g.width/2);if(c.rotateCommitLabel)if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let p=-7.5-(g.width+10)/25*9.5,y=10+g.width/25*8.5;l.attr("transform","translate("+p+", "+y+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,l=0,s=0,o=[];for(let g of r.tags.reverse()){let p=e.insert("polygon"),y=e.append("circle"),f=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(g),h=f.node()?.getBBox();if(!h)throw Error("Tag bbox not found");l=Math.max(l,h.width),s=Math.max(s,h.height),f.attr("x",a.posWithOffset-h.width/2),o.push({tag:f,hole:y,rect:p,yOffset:c}),c+=20}for(let{tag:g,hole:p,rect:y,yOffset:f}of o){let h=s/2,b=a.y-19.2-f;if(y.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
+
${n-l/2-q/2},${b+N}
|
|
3
|
+
${n-l/2-q/2},${b-N}
|
|
4
|
+
${a.posWithOffset-l/2-q},${b-h-N}
|
|
5
|
+
${a.posWithOffset+l/2+q},${b-h-N}
|
|
6
|
+
${a.posWithOffset+l/2+q},${b+h+N}
|
|
7
|
+
${a.posWithOffset-l/2-q},${b+h+N}`),p.attr("cy",b).attr("cx",n-l/2+q/2).attr("r",1.5).attr("class","tag-hole"),u==="TB"||u==="BT"){let x=n+f;y.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
+
${a.x},${x+2}
|
|
9
|
+
${a.x},${x-2}
|
|
10
|
+
${a.x+Y},${x-h-2}
|
|
11
|
+
${a.x+Y+l+4},${x-h-2}
|
|
12
|
+
${a.x+Y+l+4},${x+h+2}
|
|
13
|
+
${a.x+Y},${x+h+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),p.attr("cx",a.x+q/2).attr("cy",x).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),g.attr("x",a.x+5).attr("y",x+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case w.NORMAL:return"commit-normal";case w.REVERSE:return"commit-reverse";case w.HIGHLIGHT:return"commit-highlight";case w.MERGE:return"commit-merge";case w.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let l=we(e.parents);if(l){let s=n.get(l)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=u==="BT"&&a?r:r+Y,c=_.get(e.branch)?.pos,l=u==="TB"||u==="BT"?_.get(e.branch)?.pos:n;if(l===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=ne.has(d().theme??""),o=u==="TB"||u==="BT"?n:c+(s?he/2+1:-2);return{x:l,y:o,posWithOffset:n}},"getCommitPosition"),fe=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),s=u==="TB"||u==="BT"?re:0,o=[...r.keys()],g=n.parallelCommits??!1,p=t((f,h)=>{let b=r.get(f)?.seq,x=r.get(h)?.seq;return b!==void 0&&x!==void 0?b-x:0},"sortKeys"),y=o.sort(p);if(u==="BT"){if(g)Xe(y,r,s);y=y.reverse()}y.forEach((f)=>{let h=r.get(f);if(!h)throw Error(`Commit not found for key ${f}`);if(g)s=nt(h,u,s,G);let b=ct(h,s,g);if(a){let x=st(h),k=h.customType??h.type,E=_.get(h.branch)?.index??0;rt(c,h,b,x,E,k),at(l,h,b,s,n),ot(l,h,b,s)}if(u==="TB"||u==="BT")G.set(h.id,{x:b.x,y:b.posWithOffset});else G.set(h.id,{x:b.posWithOffset,y:b.y});if(s=u==="BT"&&g?s+j:s+j+Y,s>F)F=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(u==="TB"||u==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((p)=>p.branch===s,"isOnBranchToGetCurve"),g=t((p)=>p.seq>e.seq&&p.seq<r.seq,"isBetweenCommits");return[...c.values()].some((p)=>g(p)&&o(p))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(ae.every((s)=>Math.abs(s-n)>=10))return ae.push(n),n;let l=Math.abs(e-r);return ee(e,r-l/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=d(),l=me.has(c??""),s=G.get(r.id),o=G.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let g=it(r,a,s,o,n),p="",y="",f=0,h=0,b=_.get(a.branch)?.index;if(a.type===w.MERGE&&r.id!==a.parents[0])b=_.get(r.branch)?.index;let x;if(g){p="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",f=10,h=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),E=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(u==="TB")if(s.x<o.x)x=`M ${s.x} ${s.y} L ${E-f} ${s.y} ${y} ${E} ${s.y+h} L ${E} ${o.y-f} ${p} ${E+h} ${o.y} L ${o.x} ${o.y}`;else b=_.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${E+f} ${s.y} ${p} ${E} ${s.y+h} L ${E} ${o.y-f} ${y} ${E-h} ${o.y} L ${o.x} ${o.y}`;else if(u==="BT")if(s.x<o.x)x=`M ${s.x} ${s.y} L ${E-f} ${s.y} ${p} ${E} ${s.y-h} L ${E} ${o.y+f} ${y} ${E+h} ${o.y} L ${o.x} ${o.y}`;else b=_.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${E+f} ${s.y} ${y} ${E} ${s.y-h} L ${E} ${o.y+f} ${p} ${E-h} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)x=`M ${s.x} ${s.y} L ${s.x} ${k-f} ${p} ${s.x+h} ${k} L ${o.x-f} ${k} ${y} ${o.x} ${k+h} L ${o.x} ${o.y}`;else b=_.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${s.x} ${k+f} ${y} ${s.x+h} ${k} L ${o.x-f} ${k} ${p} ${o.x} ${k-h} L ${o.x} ${o.y}`}else if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,h=20,u==="TB"){if(s.x<o.x)if(a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${y} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,h=20,a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${y} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${p} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x===o.x)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(u==="BT"){if(s.x<o.x)if(a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,h=20,a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${p} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x===o.x)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${y} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===w.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(x===void 0)throw Error("Line definition not found");e.append("path").attr("d",x).attr("class","arrow arrow"+U(b,K,l))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((l)=>{dt(a,r.get(l),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:l,themeVariables:s}=d(),{dropShadow:o,THEME_COLOR_LIMIT:g}=s,p=ne.has(l??""),y=me.has(l??""),f=e.append("g");r.forEach((h,b)=>{let x=U(b,p?g:K,y),k=_.get(h.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${h.name}`);let E=u==="TB"||u==="BT"?k:p?k+he/2+1:k-2,T=f.append("line");if(T.attr("x1",0),T.attr("y1",E),T.attr("x2",F),T.attr("y2",E),T.attr("class","branch branch"+x),u==="TB")T.attr("y1",re),T.attr("x1",k),T.attr("y2",F),T.attr("x2",k);else if(u==="BT")T.attr("y1",F),T.attr("x1",k),T.attr("y2",re),T.attr("x2",k);ae.push(E);let ce=h.name,J=be(ce),W=f.insert("rect"),A=f.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+x);A.node().appendChild(J);let O=J.getBBox(),ge=p?0:4,te=p?16:0,X=p?he:0;if(c==="neo")W.attr("data-look","neo");if(W.attr("class","branchLabelBkg label"+x).attr("style",c==="neo"?`filter:${p?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",ge).attr("ry",ge).attr("x",-O.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-O.height/2+10).attr("width",O.width+18+te).attr("height",O.height+4+X),A.attr("transform","translate("+(-O.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(E-O.height/2-2)+")"),u==="TB"){if(W.attr("x",k-O.width/2-10).attr("y",0),A.attr("transform","translate("+(k-O.width/2-5)+", 0)"),p)W.attr("transform",`translate(${-te/2-3}, ${-X-10})`),A.attr("transform","translate("+(k-O.width/2-5)+", "+(-X*2+7)+")")}else if(u==="BT"){if(W.attr("x",k-O.width/2-10).attr("y",F),A.attr("transform","translate("+(k-O.width/2-5)+", "+F+")"),p)W.attr("transform",`translate(${-te/2-3}, ${X+10})`),A.attr("transform","translate("+(k-O.width/2-5)+", "+(F+X*2+4)+")")}else W.attr("transform","translate(-19, "+(E-12-X/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return _.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(u==="TB"||u==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
|
|
14
|
+
`,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let l=c.getConfig(),s=l.rotateCommitLabel??!1;Q=c.getCommits();let o=c.getBranchesAsObjArray();u=c.getDirection();let g=v(`[id="${r}"]`),{look:p,theme:y,themeVariables:f}=d(),{useGradient:h,gradientStart:b,gradientStop:x,filterColor:k}=f;if(h){let T=g.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");T.append("stop").attr("offset","0%").attr("stop-color",b).attr("stop-opacity",1),T.append("stop").attr("offset","100%").attr("stop-color",x).attr("stop-opacity",1)}if(p==="neo"&&ne.has(y??""))g.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",k);let E=0;if(o.forEach((T,ce)=>{let J=be(T.name),W=g.append("g"),ie=W.insert("g").attr("class","branchLabel"),A=ie.insert("g").attr("class","label branch-label");A.node()?.appendChild(J);let O=J.getBBox();E=mt(T.name,E,ce,O,s),A.remove(),ie.remove(),W.remove()}),fe(g,Q,!1,l),l.showBranches)lt(g,o,l,r);ht(g,Q),fe(g,Q,!0,l),H.insertTitle(g,"gitTitleText",l.titleTopMargin??0,c.getDiagramTitle()),ti(void 0,g,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
|
|
15
|
+
.label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
+
`;return a},"genGitGraphGradient"),bt=t((e)=>{let r=S(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,l=ke.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
17
|
+
.branch-label${o} { fill: ${e.nodeBorder};}
|
|
18
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
19
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
20
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
21
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
22
|
+
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
23
|
+
${ut(e)}`;else{let g=o%Be;s+=`
|
|
24
|
+
.branch-label${o} { fill: ${e["gitBranchLabel"+g]}; }
|
|
25
|
+
.commit${o} { stroke: ${e["git"+g]}; fill: ${e["git"+g]}; }
|
|
26
|
+
.commit-highlight${o} { stroke: ${e["gitInv"+g]}; fill: ${e["gitInv"+g]}; }
|
|
27
|
+
.arrow${o} { stroke: ${e["git"+g]}; }
|
|
28
|
+
`}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
|
|
29
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
30
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
31
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
32
|
+
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
|
|
33
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
34
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
35
|
+
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
36
|
+
`;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
37
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
38
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
39
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
40
|
+
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
41
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
42
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
43
|
+
`;else{let g=o%c.length;s+=`
|
|
44
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
45
|
+
.commit${o} { stroke: ${c[g]}; fill: ${c[g]}; }
|
|
46
|
+
.commit-highlight${o} { stroke: ${c[g]}; fill: ${c[g]}; }
|
|
47
|
+
.label${o} { fill: ${yt.has(a)?e.mainBkg:c[g]}; stroke: ${c[g]}; stroke-width: ${e.strokeWidth}; }
|
|
48
|
+
.arrow${o} { stroke: ${c[g]}; }
|
|
49
|
+
`}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%Be;return`
|
|
50
|
+
.branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
|
|
51
|
+
.commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
|
|
52
|
+
.commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
|
|
53
|
+
.label${r} { fill: ${e["git"+a]}; }
|
|
54
|
+
.arrow${r} { stroke: ${e["git"+a]}; }
|
|
55
|
+
`}).join(`
|
|
56
|
+
`)}`,"normalTheme"),Bt=t((e)=>{let r=S(),{theme:a}=r,n=xt.has(a);return`
|
|
57
|
+
.commit-id,
|
|
58
|
+
.commit-msg,
|
|
59
|
+
.branch-label {
|
|
60
|
+
fill: lightgrey;
|
|
61
|
+
color: lightgrey;
|
|
62
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
+
font-family: var(--mermaid-font-family);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
${n?bt(e):wt(e)}
|
|
67
|
+
|
|
68
|
+
.branch {
|
|
69
|
+
stroke-width: ${e.strokeWidth};
|
|
70
|
+
stroke: ${e.commitLineColor??e.lineColor};
|
|
71
|
+
stroke-dasharray: ${n?"4 2":"2"};
|
|
72
|
+
}
|
|
73
|
+
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
|
|
74
|
+
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
|
|
75
|
+
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
76
|
+
.tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
|
|
77
|
+
.tag-hole { fill: ${e.textColor}; }
|
|
78
|
+
|
|
79
|
+
.commit-merge {
|
|
80
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
81
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
82
|
+
}
|
|
83
|
+
.commit-reverse {
|
|
84
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
85
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
86
|
+
stroke-width: ${n?e.strokeWidth:3};
|
|
87
|
+
}
|
|
88
|
+
.commit-highlight-outer {
|
|
89
|
+
}
|
|
90
|
+
.commit-highlight-inner {
|
|
91
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
92
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.arrow {
|
|
96
|
+
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
+
stroke-width: ${ke.has(a)?e.strokeWidth:8};
|
|
98
|
+
stroke-linecap: round;
|
|
99
|
+
fill: none
|
|
100
|
+
}
|
|
101
|
+
.gitTitleText {
|
|
102
|
+
text-anchor: middle;
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
fill: ${e.textColor};
|
|
105
|
+
}
|
|
106
|
+
`},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
|
|
Binary file
|
|
Binary file
|