@stigmer/server-slim 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/console/404.html +1 -0
- package/console/Icon-bw.svg +10 -0
- package/console/Icon-light.svg +10 -0
- package/console/__next.__PAGE__.txt +5 -0
- package/console/__next._full.txt +28 -0
- package/console/__next._head.txt +6 -0
- package/console/__next._index.txt +17 -0
- package/console/__next._tree.txt +5 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_buildManifest.js +11 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_clientMiddlewareManifest.js +1 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_ssgManifest.js +1 -0
- package/console/_next/static/chunks/0-6znc4v4kg4~.js +1 -0
- package/console/_next/static/chunks/0-73gkqs33_.~.js +1 -0
- package/console/_next/static/chunks/0-l4jzu40dd8w.js +1 -0
- package/console/_next/static/chunks/0-z-fnjdx4ulh.js +1 -0
- package/console/_next/static/chunks/0-zcgxw8vt51~.js +1 -0
- package/console/_next/static/chunks/0.f-b71h~m9l_.js +1 -0
- package/console/_next/static/chunks/0.p57pbuzo8j7.js +90 -0
- package/console/_next/static/chunks/0.qu8zg6yocro.js +1 -0
- package/console/_next/static/chunks/00-fpv~l3r27l.js +1 -0
- package/console/_next/static/chunks/005ctashl3n1r.js +1 -0
- package/console/_next/static/chunks/0068d1zb538z~.js +1 -0
- package/console/_next/static/chunks/008b.zzs.t4bw.js +139 -0
- package/console/_next/static/chunks/00d~s.n2ue-_h.js +1 -0
- package/console/_next/static/chunks/00o8ud2dmna2j.js +1 -0
- package/console/_next/static/chunks/00r~itj4ekq5y.js +1 -0
- package/console/_next/static/chunks/01.9x7hzkgv7j.js +1 -0
- package/console/_next/static/chunks/016uwj-o-jqap.js +1 -0
- package/console/_next/static/chunks/01f1gh.2dzexy.js +1 -0
- package/console/_next/static/chunks/01ontipw7_pn-.js +1 -0
- package/console/_next/static/chunks/02fsq8lsaeu8j.js +1 -0
- package/console/_next/static/chunks/02qsbdquvk64o.js +1 -0
- package/console/_next/static/chunks/03.b9z-1o34dx.js +1 -0
- package/console/_next/static/chunks/038jxymv2x4u-.js +148 -0
- package/console/_next/static/chunks/03f2f6enzzhsy.js +1 -0
- package/console/_next/static/chunks/03l_lqxocp3uj.js +1 -0
- package/console/_next/static/chunks/03lth2le32c6r.js +201 -0
- package/console/_next/static/chunks/03v0v690_bw8u.js +62 -0
- package/console/_next/static/chunks/03yru4-m-450t.js +1 -0
- package/console/_next/static/chunks/03~yq9q893hmn.js +1 -0
- package/console/_next/static/chunks/04nu-nyhd8yfk.js +18 -0
- package/console/_next/static/chunks/04uzf6wcrofgt.js +1 -0
- package/console/_next/static/chunks/056bfxvkb8fd~.js +1 -0
- package/console/_next/static/chunks/06huuay3x3z07.js +1 -0
- package/console/_next/static/chunks/06o.rsm2b~dht.js +60 -0
- package/console/_next/static/chunks/07.l7154cu7z-.js +1 -0
- package/console/_next/static/chunks/07wnm1~gr1rx~.js +1 -0
- package/console/_next/static/chunks/08.rk-nar1l2t.js +25 -0
- package/console/_next/static/chunks/08iibm2~7e.mj.js +1 -0
- package/console/_next/static/chunks/08o5wsrurx9ux.js +5 -0
- package/console/_next/static/chunks/09~n7y-jkmjlj.js +152 -0
- package/console/_next/static/chunks/0_mhv9_2_g.-d.js +119 -0
- package/console/_next/static/chunks/0af53k.rxu1kn.js +1 -0
- package/console/_next/static/chunks/0amugang-25bm.js +1 -0
- package/console/_next/static/chunks/0awsj.h.eiuen.js +1 -0
- package/console/_next/static/chunks/0axtn1ln1j35_.js +79 -0
- package/console/_next/static/chunks/0c5xj4q0jmdu0.js +1 -0
- package/console/_next/static/chunks/0c7llz2igr3w7.js +1 -0
- package/console/_next/static/chunks/0cgp87bgoglgv.js +1 -0
- package/console/_next/static/chunks/0co3~00k0sae5.js +1 -0
- package/console/_next/static/chunks/0cq0zrqlu~xa7.js +1 -0
- package/console/_next/static/chunks/0cs_h74-ljzlt.js +77 -0
- package/console/_next/static/chunks/0cu8k_dz43e4y.js +1 -0
- package/console/_next/static/chunks/0d05q_m7mqj4o.js +1 -0
- package/console/_next/static/chunks/0dsde0n1co0l..js +1 -0
- package/console/_next/static/chunks/0e4xdug~7dxzk.js +1 -0
- package/console/_next/static/chunks/0e7hldxv930hc.js +12 -0
- package/console/_next/static/chunks/0ed3hfv95qark.js +10 -0
- package/console/_next/static/chunks/0f1nokqa6poai.js +1 -0
- package/console/_next/static/chunks/0f8bbcvfh6x_j.js +64 -0
- package/console/_next/static/chunks/0fy2-q-5a0j3r.js +1 -0
- package/console/_next/static/chunks/0g-98wql22rf4.css +1 -0
- package/console/_next/static/chunks/0g167wye7-x6z.js +1 -0
- package/console/_next/static/chunks/0g4_345f39a55.js +1 -0
- package/console/_next/static/chunks/0ge0mq0ea60lx.js +1 -0
- package/console/_next/static/chunks/0gepanyj709pr.js +1 -0
- package/console/_next/static/chunks/0glne1asott9e.js +2 -0
- package/console/_next/static/chunks/0hb.-vcj2w6kf.js +1 -0
- package/console/_next/static/chunks/0hdh_2akzrlxi.js +287 -0
- package/console/_next/static/chunks/0hhe78mplcj67.js +1 -0
- package/console/_next/static/chunks/0hori02zn~h3o.js +1 -0
- package/console/_next/static/chunks/0hq~c-~dp2g~1.js +1 -0
- package/console/_next/static/chunks/0i.l9589uvx0j.js +1 -0
- package/console/_next/static/chunks/0i8pgzf~hu-3m.js +24 -0
- package/console/_next/static/chunks/0icpvuwlmnlty.js +43 -0
- package/console/_next/static/chunks/0icsogze8wb_v.js +3 -0
- package/console/_next/static/chunks/0ij17mw0v0qd-.js +1 -0
- package/console/_next/static/chunks/0io-wgdji~5d0.js +1 -0
- package/console/_next/static/chunks/0ipk1er3w80bj.js +24 -0
- package/console/_next/static/chunks/0irq1yd9ix16u.js +1 -0
- package/console/_next/static/chunks/0iwpyv2wbln6f.js +1 -0
- package/console/_next/static/chunks/0ixo5_jc~m0~2.js +1 -0
- package/console/_next/static/chunks/0jxlubusvmdjm.js +1 -0
- package/console/_next/static/chunks/0j~3z.dgn_8ff.css +6 -0
- package/console/_next/static/chunks/0k9_1v72yx36d.js +226 -0
- package/console/_next/static/chunks/0ka-.7dww7nze.js +101 -0
- package/console/_next/static/chunks/0kt3942_0py-t.js +1 -0
- package/console/_next/static/chunks/0l3uvjh3oslhq.js +1 -0
- package/console/_next/static/chunks/0lp.du_t-~cqs.js +2 -0
- package/console/_next/static/chunks/0lq22-4n7_uyt.js +34 -0
- package/console/_next/static/chunks/0lypu-.xpph9..js +15 -0
- package/console/_next/static/chunks/0mb.pnhflhw95.js +1 -0
- package/console/_next/static/chunks/0mcz_room09fj.js +1 -0
- package/console/_next/static/chunks/0mo3-obfy2_6v.js +15 -0
- package/console/_next/static/chunks/0mtfbfe5xd3.6.js +1 -0
- package/console/_next/static/chunks/0mvcspqlkvjri.js +1 -0
- package/console/_next/static/chunks/0n2qydw3oc1oj.js +1 -0
- package/console/_next/static/chunks/0nnkdto25tilf.js +1 -0
- package/console/_next/static/chunks/0npm9l63~4j0v.js +1 -0
- package/console/_next/static/chunks/0nu6llqvg4741.js +1 -0
- package/console/_next/static/chunks/0n~glqz40m6gv.js +1 -0
- package/console/_next/static/chunks/0o-.19qua6web.js +5 -0
- package/console/_next/static/chunks/0omq5mq8dkd24.js +1 -0
- package/console/_next/static/chunks/0oprw5m.lmqln.js +1 -0
- package/console/_next/static/chunks/0ortphe030oky.js +1 -0
- package/console/_next/static/chunks/0oufb2b491l23.js +153 -0
- package/console/_next/static/chunks/0owq59irnycu5.js +1 -0
- package/console/_next/static/chunks/0ptwwlt0l20~o.js +1 -0
- package/console/_next/static/chunks/0q2tc-vqxe1_n.js +1 -0
- package/console/_next/static/chunks/0qfu4h5g.k-yt.js +1 -0
- package/console/_next/static/chunks/0qji_.pm~u8x3.js +1 -0
- package/console/_next/static/chunks/0qm2930z0c.8m.js +80 -0
- package/console/_next/static/chunks/0q~1rz_i~v0vs.js +1 -0
- package/console/_next/static/chunks/0r4lipg4xb6fx.js +1 -0
- package/console/_next/static/chunks/0rhvismtjivza.js +104 -0
- package/console/_next/static/chunks/0rmt10l3458p_.js +93 -0
- package/console/_next/static/chunks/0rob~86j~8vge.js +1 -0
- package/console/_next/static/chunks/0r~zu0c3j_b7p.js +1 -0
- package/console/_next/static/chunks/0s0v8xobo-2ok.js +34 -0
- package/console/_next/static/chunks/0s8nwq43gep9_.js +15 -0
- package/console/_next/static/chunks/0spswjguxbqfn.js +1 -0
- package/console/_next/static/chunks/0t6aq14rpn1.w.js +1 -0
- package/console/_next/static/chunks/0taiwi2j.k7mm.js +1 -0
- package/console/_next/static/chunks/0tj3k0t29gpn7.js +1 -0
- package/console/_next/static/chunks/0tq77.56bu2eu.js +1 -0
- package/console/_next/static/chunks/0ulcdeu8yx-cn.js +1 -0
- package/console/_next/static/chunks/0uvbqsa~x3_x6.js +1 -0
- package/console/_next/static/chunks/0uw8zy_zoej6s.js +1 -0
- package/console/_next/static/chunks/0uz5-~rqk9vr..js +1 -0
- package/console/_next/static/chunks/0w3ug0~zih~j2.js +1 -0
- package/console/_next/static/chunks/0wfrz3x.bxehc.js +1 -0
- package/console/_next/static/chunks/0wyb4nqlt6his.js +1 -0
- package/console/_next/static/chunks/0x.4919xjicc5.js +75 -0
- package/console/_next/static/chunks/0xr1dk~mec2dn.js +1 -0
- package/console/_next/static/chunks/0xxouzzjw_a6q.js +115 -0
- package/console/_next/static/chunks/0y0u4wm.3~_ac.js +1 -0
- package/console/_next/static/chunks/0y4vop46pw7ip.js +2 -0
- package/console/_next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
- package/console/_next/static/chunks/0y99xmlf_e2si.js +1 -0
- package/console/_next/static/chunks/0ydl92ezt_ppz.js +1 -0
- package/console/_next/static/chunks/0ywlzawl2ml3h.js +1 -0
- package/console/_next/static/chunks/0yysdfbgz-l8n.js +1 -0
- package/console/_next/static/chunks/0zjs5hlwbvch9.js +4 -0
- package/console/_next/static/chunks/0zsntdh42--v1.js +1 -0
- package/console/_next/static/chunks/104yvyc1ce3q5.js +1 -0
- package/console/_next/static/chunks/1051z1rwyse00.js +1 -0
- package/console/_next/static/chunks/10h6g4u9i~5h8.js +1 -0
- package/console/_next/static/chunks/10isn5~-bj4w5.js +4 -0
- package/console/_next/static/chunks/10ymqudg~95gr.js +1 -0
- package/console/_next/static/chunks/111eimn8nia.7.js +1 -0
- package/console/_next/static/chunks/1155_-gh-rcvi.js +1 -0
- package/console/_next/static/chunks/117cg_x8i7.ol.js +1 -0
- package/console/_next/static/chunks/11_7qxlc92f5s.js +1 -0
- package/console/_next/static/chunks/11h85j-8~tny3.js +36 -0
- package/console/_next/static/chunks/11t~35bechtea.js +1 -0
- package/console/_next/static/chunks/11uh-ttx4zin-.js +9 -0
- package/console/_next/static/chunks/11xfx57fbi3md.js +2 -0
- package/console/_next/static/chunks/12329wyw7127c.js +1 -0
- package/console/_next/static/chunks/123jshjvn0ocr.js +31 -0
- package/console/_next/static/chunks/128ahbvhdeeq-.js +1 -0
- package/console/_next/static/chunks/13hl4dngamd3l.js +127 -0
- package/console/_next/static/chunks/14.38bpm-d3-l.js +1 -0
- package/console/_next/static/chunks/14i46k409qlt0.js +1 -0
- package/console/_next/static/chunks/14j238ax8coge.js +29 -0
- package/console/_next/static/chunks/159151ghv9-cc.js +1 -0
- package/console/_next/static/chunks/15hlb71q~xfev.js +1 -0
- package/console/_next/static/chunks/15r_pfbdb2jhp.js +23 -0
- package/console/_next/static/chunks/15wc.2zpsy4wc.js +4 -0
- package/console/_next/static/chunks/16pzrphqjtyli.js +1 -0
- package/console/_next/static/chunks/16ukgtm3fhab~.js +1071 -0
- package/console/_next/static/chunks/170p3g7_6_620.js +2 -0
- package/console/_next/static/chunks/175hd_pl41_vh.js +15 -0
- package/console/_next/static/chunks/17glhyaxi4vs-.js +1 -0
- package/console/_next/static/chunks/17jhgtykn778_.js +1 -0
- package/console/_next/static/chunks/17v4twif7y~.b.js +1 -0
- package/console/_next/static/chunks/182b_f_n0-cdr.js +1 -0
- package/console/_next/static/chunks/187v8dzyf1l-f.js +80 -0
- package/console/_next/static/chunks/turbopack-0cvnq9zq1g68-.js +1 -0
- package/console/_next/static/chunks/turbopack-172c~.rma.yso.js +1 -0
- package/console/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
- package/console/_next/static/media/02263ebadd758ea4-s.0qg7j5o.yrclm.woff2 +0 -0
- package/console/_next/static/media/03fc1b4a8d284b5e-s.09.f.n_ccld80.woff2 +0 -0
- package/console/_next/static/media/07454f8ad8aaac57-s.0tqkxa-w3pk~c.woff2 +0 -0
- package/console/_next/static/media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2 +0 -0
- package/console/_next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
- package/console/_next/static/media/224e262ef877bfa4-s.0mo8vqgr8yagc.woff2 +0 -0
- package/console/_next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
- package/console/_next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
- package/console/_next/static/media/2fe89d53234c61d4-s.0k_.i63k_i_qa.woff2 +0 -0
- package/console/_next/static/media/4fa387ec64143e14-s.0wkzw~je483f-.woff2 +0 -0
- package/console/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 +0 -0
- package/console/_next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
- package/console/_next/static/media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2 +0 -0
- package/console/_next/static/media/59b15b4bcd7b1eb5-s.0x08jh8vondwt.woff2 +0 -0
- package/console/_next/static/media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2 +0 -0
- package/console/_next/static/media/5e05ae5b48faa55e-s.0m9hhkgdlzukj.woff2 +0 -0
- package/console/_next/static/media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2 +0 -0
- package/console/_next/static/media/68757d6cddeff913-s.0hkrq11n-dhos.woff2 +0 -0
- package/console/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 +0 -0
- package/console/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2 +0 -0
- package/console/_next/static/media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2 +0 -0
- package/console/_next/static/media/7f11d98043fdedc9-s.0r4w1y.tjq0ay.woff2 +0 -0
- package/console/_next/static/media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2 +0 -0
- package/console/_next/static/media/83afe278b6a6bb3c-s.0q-301v4kxxnr.woff2 +0 -0
- package/console/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 +0 -0
- package/console/_next/static/media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2 +0 -0
- package/console/_next/static/media/99e609270109b47d-s.16-z~2sp29ex6.woff2 +0 -0
- package/console/_next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
- package/console/_next/static/media/a7afbb44bec2bb18-s.0juuwbcf7uz~t.woff2 +0 -0
- package/console/_next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
- package/console/_next/static/media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2 +0 -0
- package/console/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 +0 -0
- package/console/_next/static/media/d8cb5ab3660140cd-s.0ri_id_kcagyz.woff2 +0 -0
- package/console/_next/static/media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2 +0 -0
- package/console/_next/static/media/e390973e931a41c5-s.08hd0g.321csk.woff2 +0 -0
- package/console/_next/static/media/e532fa1b9921e1cd-s.0~wrfy7sm-h4g.woff2 +0 -0
- package/console/_next/static/media/e6d00ff86ef9e699-s.0lcb62h0-.jh3.woff2 +0 -0
- package/console/_next/static/media/effe91970fc4db64-s.07ig5l8azj~hy.woff2 +0 -0
- package/console/_next/static/media/elk-worker.min.13hrbirt7_.ef.js +6401 -0
- package/console/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
- package/console/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 +0 -0
- package/console/_not-found/__next._full.txt +29 -0
- package/console/_not-found/__next._head.txt +6 -0
- package/console/_not-found/__next._index.txt +17 -0
- package/console/_not-found/__next._not-found.__PAGE__.txt +6 -0
- package/console/_not-found/__next._not-found.txt +5 -0
- package/console/_not-found/__next._tree.txt +3 -0
- package/console/_not-found.html +1 -0
- package/console/_not-found.txt +29 -0
- package/console/apple-touch-icon-dark.png +0 -0
- package/console/apple-touch-icon-light.png +0 -0
- package/console/auth/callback/__next._full.txt +36 -0
- package/console/auth/callback/__next._head.txt +6 -0
- package/console/auth/callback/__next._index.txt +17 -0
- package/console/auth/callback/__next._tree.txt +5 -0
- package/console/auth/callback/__next.auth.callback.__PAGE__.txt +9 -0
- package/console/auth/callback/__next.auth.callback.txt +5 -0
- package/console/auth/callback/__next.auth.txt +5 -0
- package/console/auth/callback.html +1 -0
- package/console/auth/callback.txt +36 -0
- package/console/auth/github/callback/__next._full.txt +37 -0
- package/console/auth/github/callback/__next._head.txt +6 -0
- package/console/auth/github/callback/__next._index.txt +17 -0
- package/console/auth/github/callback/__next._tree.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +9 -0
- package/console/auth/github/callback/__next.auth.github.callback.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.txt +5 -0
- package/console/auth/github/callback/__next.auth.txt +5 -0
- package/console/auth/github/callback.html +1 -0
- package/console/auth/github/callback.txt +37 -0
- package/console/auth/oauth/callback/__next._full.txt +37 -0
- package/console/auth/oauth/callback/__next._head.txt +6 -0
- package/console/auth/oauth/callback/__next._index.txt +17 -0
- package/console/auth/oauth/callback/__next._tree.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +9 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.txt +5 -0
- package/console/auth/oauth/callback.html +1 -0
- package/console/auth/oauth/callback.txt +37 -0
- package/console/chat/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/chat/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__.html +1 -0
- package/console/chat/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations/__next._full.txt +32 -0
- package/console/conversations/__next._head.txt +6 -0
- package/console/conversations/__next._index.txt +17 -0
- package/console/conversations/__next._tree.txt +5 -0
- package/console/conversations/__next.conversations.__PAGE__.txt +6 -0
- package/console/conversations/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__.html +1 -0
- package/console/conversations/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations.html +1 -0
- package/console/conversations.txt +32 -0
- package/console/dashboard/__next._full.txt +32 -0
- package/console/dashboard/__next._head.txt +6 -0
- package/console/dashboard/__next._index.txt +17 -0
- package/console/dashboard/__next._tree.txt +5 -0
- package/console/dashboard/__next.dashboard.__PAGE__.txt +6 -0
- package/console/dashboard/__next.dashboard.txt +5 -0
- package/console/dashboard.html +1 -0
- package/console/dashboard.txt +32 -0
- package/console/embed.js +1 -0
- package/console/executions/__placeholder__/__next._full.txt +32 -0
- package/console/executions/__placeholder__/__next._head.txt +6 -0
- package/console/executions/__placeholder__/__next._index.txt +17 -0
- package/console/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.txt +5 -0
- package/console/executions/__placeholder__.html +1 -0
- package/console/executions/__placeholder__.txt +32 -0
- package/console/favicon-dark-16x16.png +0 -0
- package/console/favicon-dark-32x32.png +0 -0
- package/console/favicon-dark.ico +0 -0
- package/console/favicon-dark.svg +11 -0
- package/console/favicon-light-16x16.png +0 -0
- package/console/favicon-light-32x32.png +0 -0
- package/console/favicon-light.ico +0 -0
- package/console/favicon-light.svg +11 -0
- package/console/favicon.ico +0 -0
- package/console/index.html +1 -0
- package/console/index.txt +28 -0
- package/console/invite/__placeholder__/__next._full.txt +33 -0
- package/console/invite/__placeholder__/__next._head.txt +6 -0
- package/console/invite/__placeholder__/__next._index.txt +17 -0
- package/console/invite/__placeholder__/__next._tree.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +6 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.txt +5 -0
- package/console/invite/__placeholder__.html +1 -0
- package/console/invite/__placeholder__.txt +33 -0
- package/console/library/__next._full.txt +33 -0
- package/console/library/__next._head.txt +6 -0
- package/console/library/__next._index.txt +17 -0
- package/console/library/__next._tree.txt +5 -0
- package/console/library/__next.library.__PAGE__.txt +6 -0
- package/console/library/__next.library.txt +7 -0
- package/console/library/agents/__next._full.txt +36 -0
- package/console/library/agents/__next._head.txt +6 -0
- package/console/library/agents/__next._index.txt +17 -0
- package/console/library/agents/__next._tree.txt +5 -0
- package/console/library/agents/__next.library.agents.__PAGE__.txt +6 -0
- package/console/library/agents/__next.library.agents.txt +5 -0
- package/console/library/agents/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__.html +1 -0
- package/console/library/agents/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/agents/new/__next._full.txt +40 -0
- package/console/library/agents/new/__next._head.txt +6 -0
- package/console/library/agents/new/__next._index.txt +17 -0
- package/console/library/agents/new/__next._tree.txt +5 -0
- package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +9 -0
- package/console/library/agents/new/__next.library.agents.new.txt +5 -0
- package/console/library/agents/new/__next.library.agents.txt +5 -0
- package/console/library/agents/new/__next.library.txt +7 -0
- package/console/library/agents/new.html +1 -0
- package/console/library/agents/new.txt +40 -0
- package/console/library/agents.html +1 -0
- package/console/library/agents.txt +36 -0
- package/console/library/mcp-servers/__next._full.txt +36 -0
- package/console/library/mcp-servers/__next._head.txt +6 -0
- package/console/library/mcp-servers/__next._index.txt +17 -0
- package/console/library/mcp-servers/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/mcp-servers/new/__next._full.txt +40 -0
- package/console/library/mcp-servers/new/__next._head.txt +6 -0
- package/console/library/mcp-servers/new/__next._index.txt +17 -0
- package/console/library/mcp-servers/new/__next._tree.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +9 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.txt +7 -0
- package/console/library/mcp-servers/new.html +1 -0
- package/console/library/mcp-servers/new.txt +40 -0
- package/console/library/mcp-servers.html +1 -0
- package/console/library/mcp-servers.txt +36 -0
- package/console/library/schedules/__next._full.txt +36 -0
- package/console/library/schedules/__next._head.txt +6 -0
- package/console/library/schedules/__next._index.txt +17 -0
- package/console/library/schedules/__next._tree.txt +5 -0
- package/console/library/schedules/__next.library.schedules.__PAGE__.txt +6 -0
- package/console/library/schedules/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__.html +1 -0
- package/console/library/schedules/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/schedules/new/__next._full.txt +40 -0
- package/console/library/schedules/new/__next._head.txt +6 -0
- package/console/library/schedules/new/__next._index.txt +17 -0
- package/console/library/schedules/new/__next._tree.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +9 -0
- package/console/library/schedules/new/__next.library.schedules.new.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.txt +5 -0
- package/console/library/schedules/new/__next.library.txt +7 -0
- package/console/library/schedules/new.html +1 -0
- package/console/library/schedules/new.txt +40 -0
- package/console/library/schedules.html +1 -0
- package/console/library/schedules.txt +36 -0
- package/console/library/skills/__next._full.txt +36 -0
- package/console/library/skills/__next._head.txt +6 -0
- package/console/library/skills/__next._index.txt +17 -0
- package/console/library/skills/__next._tree.txt +5 -0
- package/console/library/skills/__next.library.skills.__PAGE__.txt +6 -0
- package/console/library/skills/__next.library.skills.txt +5 -0
- package/console/library/skills/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__.html +1 -0
- package/console/library/skills/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/skills/new/__next._full.txt +40 -0
- package/console/library/skills/new/__next._head.txt +6 -0
- package/console/library/skills/new/__next._index.txt +17 -0
- package/console/library/skills/new/__next._tree.txt +5 -0
- package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +9 -0
- package/console/library/skills/new/__next.library.skills.new.txt +5 -0
- package/console/library/skills/new/__next.library.skills.txt +5 -0
- package/console/library/skills/new/__next.library.txt +7 -0
- package/console/library/skills/new.html +1 -0
- package/console/library/skills/new.txt +40 -0
- package/console/library/skills.html +1 -0
- package/console/library/skills.txt +36 -0
- package/console/library/workflows/__next._full.txt +36 -0
- package/console/library/workflows/__next._head.txt +6 -0
- package/console/library/workflows/__next._index.txt +17 -0
- package/console/library/workflows/__next._tree.txt +5 -0
- package/console/library/workflows/__next.library.txt +7 -0
- package/console/library/workflows/__next.library.workflows.__PAGE__.txt +6 -0
- package/console/library/workflows/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/library/workflows/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/workflows/executions/__next._full.txt +37 -0
- package/console/library/workflows/executions/__next._head.txt +6 -0
- package/console/library/workflows/executions/__next._index.txt +17 -0
- package/console/library/workflows/executions/__next._tree.txt +5 -0
- package/console/library/workflows/executions/__next.library.txt +7 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +6 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.txt +5 -0
- package/console/library/workflows/executions/__next.library.workflows.txt +5 -0
- package/console/library/workflows/executions.html +1 -0
- package/console/library/workflows/executions.txt +37 -0
- package/console/library/workflows/new/__next._full.txt +40 -0
- package/console/library/workflows/new/__next._head.txt +6 -0
- package/console/library/workflows/new/__next._index.txt +17 -0
- package/console/library/workflows/new/__next._tree.txt +5 -0
- package/console/library/workflows/new/__next.library.txt +7 -0
- package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +9 -0
- package/console/library/workflows/new/__next.library.workflows.new.txt +5 -0
- package/console/library/workflows/new/__next.library.workflows.txt +5 -0
- package/console/library/workflows/new.html +1 -0
- package/console/library/workflows/new.txt +40 -0
- package/console/library/workflows.html +1 -0
- package/console/library/workflows.txt +36 -0
- package/console/library.html +1 -0
- package/console/library.txt +33 -0
- package/console/login/__next._full.txt +35 -0
- package/console/login/__next._head.txt +6 -0
- package/console/login/__next._index.txt +17 -0
- package/console/login/__next._tree.txt +5 -0
- package/console/login/__next.login.__PAGE__.txt +9 -0
- package/console/login/__next.login.txt +5 -0
- package/console/login.html +1 -0
- package/console/login.txt +35 -0
- package/console/logo.svg +1 -0
- package/console/oauth/slack/callback/__next._full.txt +37 -0
- package/console/oauth/slack/callback/__next._head.txt +6 -0
- package/console/oauth/slack/callback/__next._index.txt +17 -0
- package/console/oauth/slack/callback/__next._tree.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +9 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.txt +5 -0
- package/console/oauth/slack/callback.html +1 -0
- package/console/oauth/slack/callback.txt +37 -0
- package/console/sessions/__placeholder__/__next._full.txt +32 -0
- package/console/sessions/__placeholder__/__next._head.txt +6 -0
- package/console/sessions/__placeholder__/__next._index.txt +17 -0
- package/console/sessions/__placeholder__/__next._tree.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.txt +5 -0
- package/console/sessions/__placeholder__.html +1 -0
- package/console/sessions/__placeholder__.txt +32 -0
- package/console/settings/__next._full.txt +35 -0
- package/console/settings/__next._head.txt +6 -0
- package/console/settings/__next._index.txt +17 -0
- package/console/settings/__next._tree.txt +5 -0
- package/console/settings/__next.settings.__PAGE__.txt +9 -0
- package/console/settings/__next.settings.txt +6 -0
- package/console/settings/account-preferences/__next._full.txt +35 -0
- package/console/settings/account-preferences/__next._head.txt +6 -0
- package/console/settings/account-preferences/__next._index.txt +17 -0
- package/console/settings/account-preferences/__next._tree.txt +5 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +6 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.txt +5 -0
- package/console/settings/account-preferences/__next.settings.txt +6 -0
- package/console/settings/account-preferences.html +1 -0
- package/console/settings/account-preferences.txt +35 -0
- package/console/settings/api-keys/__next._full.txt +35 -0
- package/console/settings/api-keys/__next._head.txt +6 -0
- package/console/settings/api-keys/__next._index.txt +17 -0
- package/console/settings/api-keys/__next._tree.txt +5 -0
- package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +6 -0
- package/console/settings/api-keys/__next.settings.api-keys.txt +5 -0
- package/console/settings/api-keys/__next.settings.txt +6 -0
- package/console/settings/api-keys.html +1 -0
- package/console/settings/api-keys.txt +35 -0
- package/console/settings/billing/__next._full.txt +38 -0
- package/console/settings/billing/__next._head.txt +6 -0
- package/console/settings/billing/__next._index.txt +17 -0
- package/console/settings/billing/__next._tree.txt +5 -0
- package/console/settings/billing/__next.settings.billing.__PAGE__.txt +9 -0
- package/console/settings/billing/__next.settings.billing.txt +5 -0
- package/console/settings/billing/__next.settings.txt +6 -0
- package/console/settings/billing.html +1 -0
- package/console/settings/billing.txt +38 -0
- package/console/settings/channel-apps/__next._full.txt +35 -0
- package/console/settings/channel-apps/__next._head.txt +6 -0
- package/console/settings/channel-apps/__next._index.txt +17 -0
- package/console/settings/channel-apps/__next._tree.txt +5 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +6 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.txt +5 -0
- package/console/settings/channel-apps/__next.settings.txt +6 -0
- package/console/settings/channel-apps.html +1 -0
- package/console/settings/channel-apps.txt +35 -0
- package/console/settings/cursor-accounts/__next._full.txt +38 -0
- package/console/settings/cursor-accounts/__next._head.txt +6 -0
- package/console/settings/cursor-accounts/__next._index.txt +17 -0
- package/console/settings/cursor-accounts/__next._tree.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +9 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.txt +6 -0
- package/console/settings/cursor-accounts.html +1 -0
- package/console/settings/cursor-accounts.txt +38 -0
- package/console/settings/environments/__next._full.txt +35 -0
- package/console/settings/environments/__next._head.txt +6 -0
- package/console/settings/environments/__next._index.txt +17 -0
- package/console/settings/environments/__next._tree.txt +5 -0
- package/console/settings/environments/__next.settings.environments.__PAGE__.txt +6 -0
- package/console/settings/environments/__next.settings.environments.txt +5 -0
- package/console/settings/environments/__next.settings.txt +6 -0
- package/console/settings/environments.html +1 -0
- package/console/settings/environments.txt +35 -0
- package/console/settings/identity-providers/__next._full.txt +35 -0
- package/console/settings/identity-providers/__next._head.txt +6 -0
- package/console/settings/identity-providers/__next._index.txt +17 -0
- package/console/settings/identity-providers/__next._tree.txt +5 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +6 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.txt +5 -0
- package/console/settings/identity-providers/__next.settings.txt +6 -0
- package/console/settings/identity-providers.html +1 -0
- package/console/settings/identity-providers.txt +35 -0
- package/console/settings/invitations/__next._full.txt +35 -0
- package/console/settings/invitations/__next._head.txt +6 -0
- package/console/settings/invitations/__next._index.txt +17 -0
- package/console/settings/invitations/__next._tree.txt +5 -0
- package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +6 -0
- package/console/settings/invitations/__next.settings.invitations.txt +5 -0
- package/console/settings/invitations/__next.settings.txt +6 -0
- package/console/settings/invitations.html +1 -0
- package/console/settings/invitations.txt +35 -0
- package/console/settings/members/__next._full.txt +35 -0
- package/console/settings/members/__next._head.txt +6 -0
- package/console/settings/members/__next._index.txt +17 -0
- package/console/settings/members/__next._tree.txt +5 -0
- package/console/settings/members/__next.settings.members.__PAGE__.txt +6 -0
- package/console/settings/members/__next.settings.members.txt +5 -0
- package/console/settings/members/__next.settings.txt +6 -0
- package/console/settings/members.html +1 -0
- package/console/settings/members.txt +35 -0
- package/console/settings/memory/__next._full.txt +35 -0
- package/console/settings/memory/__next._head.txt +6 -0
- package/console/settings/memory/__next._index.txt +17 -0
- package/console/settings/memory/__next._tree.txt +5 -0
- package/console/settings/memory/__next.settings.memory.__PAGE__.txt +6 -0
- package/console/settings/memory/__next.settings.memory.txt +5 -0
- package/console/settings/memory/__next.settings.txt +6 -0
- package/console/settings/memory.html +1 -0
- package/console/settings/memory.txt +35 -0
- package/console/settings/oauth-apps/__next._full.txt +35 -0
- package/console/settings/oauth-apps/__next._head.txt +6 -0
- package/console/settings/oauth-apps/__next._index.txt +17 -0
- package/console/settings/oauth-apps/__next._tree.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +6 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.txt +6 -0
- package/console/settings/oauth-apps.html +1 -0
- package/console/settings/oauth-apps.txt +35 -0
- package/console/settings/org-preferences/__next._full.txt +35 -0
- package/console/settings/org-preferences/__next._head.txt +6 -0
- package/console/settings/org-preferences/__next._index.txt +17 -0
- package/console/settings/org-preferences/__next._tree.txt +5 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +6 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.txt +5 -0
- package/console/settings/org-preferences/__next.settings.txt +6 -0
- package/console/settings/org-preferences.html +1 -0
- package/console/settings/org-preferences.txt +35 -0
- package/console/settings/org-profile/__next._full.txt +35 -0
- package/console/settings/org-profile/__next._head.txt +6 -0
- package/console/settings/org-profile/__next._index.txt +17 -0
- package/console/settings/org-profile/__next._tree.txt +5 -0
- package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +6 -0
- package/console/settings/org-profile/__next.settings.org-profile.txt +5 -0
- package/console/settings/org-profile/__next.settings.txt +6 -0
- package/console/settings/org-profile.html +1 -0
- package/console/settings/org-profile.txt +35 -0
- package/console/settings/platform-clients/__next._full.txt +35 -0
- package/console/settings/platform-clients/__next._head.txt +6 -0
- package/console/settings/platform-clients/__next._index.txt +17 -0
- package/console/settings/platform-clients/__next._tree.txt +5 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +6 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.txt +5 -0
- package/console/settings/platform-clients/__next.settings.txt +6 -0
- package/console/settings/platform-clients.html +1 -0
- package/console/settings/platform-clients.txt +35 -0
- package/console/settings/pricing-governance/__next._full.txt +38 -0
- package/console/settings/pricing-governance/__next._head.txt +6 -0
- package/console/settings/pricing-governance/__next._index.txt +17 -0
- package/console/settings/pricing-governance/__next._tree.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +9 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.txt +6 -0
- package/console/settings/pricing-governance.html +1 -0
- package/console/settings/pricing-governance.txt +38 -0
- package/console/settings/provider-standing/__next._full.txt +38 -0
- package/console/settings/provider-standing/__next._head.txt +6 -0
- package/console/settings/provider-standing/__next._index.txt +17 -0
- package/console/settings/provider-standing/__next._tree.txt +5 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +9 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.txt +5 -0
- package/console/settings/provider-standing/__next.settings.txt +6 -0
- package/console/settings/provider-standing.html +1 -0
- package/console/settings/provider-standing.txt +38 -0
- package/console/settings/usage/__next._full.txt +35 -0
- package/console/settings/usage/__next._head.txt +6 -0
- package/console/settings/usage/__next._index.txt +17 -0
- package/console/settings/usage/__next._tree.txt +5 -0
- package/console/settings/usage/__next.settings.txt +6 -0
- package/console/settings/usage/__next.settings.usage.__PAGE__.txt +6 -0
- package/console/settings/usage/__next.settings.usage.txt +5 -0
- package/console/settings/usage.html +1 -0
- package/console/settings/usage.txt +35 -0
- package/console/settings.html +1 -0
- package/console/settings.txt +35 -0
- package/console/workflows/__next._full.txt +32 -0
- package/console/workflows/__next._head.txt +6 -0
- package/console/workflows/__next._index.txt +17 -0
- package/console/workflows/__next._tree.txt +5 -0
- package/console/workflows/__next.workflows.__PAGE__.txt +6 -0
- package/console/workflows/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/workflows/__placeholder__/__placeholder__.txt +35 -0
- package/console/workflows/executions/__next._full.txt +33 -0
- package/console/workflows/executions/__next._head.txt +6 -0
- package/console/workflows/executions/__next._index.txt +17 -0
- package/console/workflows/executions/__next._tree.txt +5 -0
- package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +6 -0
- package/console/workflows/executions/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next._full.txt +34 -0
- package/console/workflows/executions/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__.html +1 -0
- package/console/workflows/executions/__placeholder__.txt +34 -0
- package/console/workflows/executions.html +1 -0
- package/console/workflows/executions.txt +33 -0
- package/console/workflows.html +1 -0
- package/console/workflows.txt +32 -0
- package/main.js +1138 -0
- package/mappings.wasm +0 -0
- package/package.json +25 -0
- package/workflow-bundle-agent-execution.js +31729 -0
- package/workflow-bundle-schedule.js +11315 -0
- package/workflow-bundle-workflow-execution.js +29297 -0
- package/workflow-worker-thread.cjs +111 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,347578,t=>{"use strict";var e=t.i(136013),a=t.i(620144),l=t.i(864421),i=t.i(669587),r=t.i(908381),n=t.i(171206);t.i(947716);var s=t.i(723685),h=t.i(883272),o=(0,n.__name)(async(t,a,n)=>{let h,o=a.useHtmlLabels||(0,r.evaluate)((0,r.getConfig2)()?.htmlLabels),d=t.insert("g").attr("class",n||"node default").attr("id",a.domId||a.id),c=d.insert("g").attr("class","label").attr("style",(0,i.handleUndefinedAttr)(a.labelStyle));h=void 0===a.label?"":"string"==typeof a.label?a.label:a.label[0];let g=!!a.icon||!!a.img,y="markdown"===a.labelType,f=await (0,l.createText)(c,(0,r.sanitizeText)((0,i.decodeEntities)(h),(0,r.getConfig2)()),{useHtmlLabels:o,width:a.width||(0,r.getConfig2)().flowchart?.wrappingWidth,classes:y?"markdown-node-label":"",style:a.labelStyle,addSvgBackground:g,markdown:y},(0,r.getConfig2)()),u=f.getBBox(),m=(a?.padding??0)/2;if(o){let t=f.children[0],a=(0,s.select)(f);await (0,e.configureLabelImages)(t,h),u=t.getBoundingClientRect(),a.attr("width",u.width),a.attr("height",u.height)}return o?c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"):c.attr("transform","translate(0, "+-u.height/2+")"),a.centerLabel&&c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),c.insert("rect",":first-child"),{shapeSvg:d,bbox:u,halfPadding:m,label:c}},"labelHelper"),d=(0,n.__name)(async(t,e,a)=>{let n=a.useHtmlLabels??(0,r.getEffectiveHtmlLabels)((0,r.getConfig2)()),h=t.insert("g").attr("class","label").attr("style",a.labelStyle||""),o=await (0,l.createText)(h,(0,r.sanitizeText)((0,i.decodeEntities)(e),(0,r.getConfig2)()),{useHtmlLabels:n,width:a.width||(0,r.getConfig2)()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),d=o.getBBox(),c=a.padding/2;if((0,r.getEffectiveHtmlLabels)((0,r.getConfig2)())){let t=o.children[0],e=(0,s.select)(o);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}return n?h.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"):h.attr("transform","translate(0, "+-d.height/2+")"),a.centerLabel&&h.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:t,bbox:d,halfPadding:c,label:h}},"insertLabel"),c=(0,n.__name)((t,e)=>{let a=e.node().getBBox();t.width=a.width,t.height=a.height},"updateNodeBounds"),g=(0,n.__name)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function y(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function f(t,e,a,l,i,r){let n=[],s=a-t,h=2*Math.PI/(s/r),o=e+(l-e)/2;for(let e=0;e<=50;e++){let a=t+e/50*s,l=o+i*Math.sin(h*(a-t));n.push({x:a,y:l})}return n}function u(t,e,a,l,i,r){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}function m(t){let e=Array.from(t.childNodes).filter(t=>"path"===t.tagName),a=document.createElementNS("http://www.w3.org/2000/svg","path"),l=e.map(t=>t.getAttribute("d")).filter(t=>null!==t).join(" ");a.setAttribute("d",l);let i=e.find(t=>"none"!==t.getAttribute("fill")),r=e.find(t=>"none"!==t.getAttribute("stroke")),s=(0,n.__name)((t,e)=>t?.getAttribute(e)??void 0,"getAttr");i&&Object.entries({fill:s(i,"fill"),"fill-opacity":s(i,"fill-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)}),r&&Object.entries({stroke:s(r,"stroke"),"stroke-width":s(r,"stroke-width")??"1","stroke-opacity":s(r,"stroke-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)});let h=document.createElementNS("http://www.w3.org/2000/svg","g");return h.appendChild(a),h}(0,n.__name)(y,"createPathFromPoints"),(0,n.__name)(f,"generateFullSineWavePoints"),(0,n.__name)(u,"generateCirclePoints"),(0,n.__name)(m,"mergePaths");var w=(0,n.__name)((t,e)=>{var a,l,i=t.x,r=t.y,n=e.x-i,s=e.y-r,h=t.width/2,o=t.height/2;return Math.abs(s)*h>Math.abs(n)*o?(s<0&&(o=-o),a=0===s?0:o*n/s,l=o):(n<0&&(h=-h),a=h,l=0===n?0:h*s/n),{x:i+a,y:r+l}},"intersectRect"),p=(0,n.__name)(async(t,e,a,i=!1,n=!1)=>{let s=e||"";"object"==typeof s&&(s=s[0]);let h=(0,r.getConfig2)(),o=(0,r.getEffectiveHtmlLabels)(h);return await (0,l.createText)(t,s,{style:a,isTitle:i,useHtmlLabels:o,markdown:!1,isNode:n,width:1/0},h)},"createLabel"),x=(0,n.__name)((t,e,a,l,i)=>["M",t+i,e,"H",t+a-i,"A",i,i,"0 0 1",t+a,e+i,"V",e+l-i,"A",i,i,"0 0 1",t+a-i,e+l,"H",t+i,"A",i,i,"0 0 1",t,e+l-i,"V",e+i,"A",i,i,"0 0 1",t+i,e,"Z"].join(" "),"createRoundedRectPathD"),b=(0,n.__name)(async(t,i)=>{let o,d;n.log.info("Creating subgraph rect for ",i.id,i);let c=(0,r.getConfig2)(),{themeVariables:g,handDrawnSeed:y}=c,{clusterBkg:f,clusterBorder:u}=g,{labelStyles:m,nodeStyles:b,borderStyles:$,backgroundStyles:k}=(0,a.styles2String)(i),_=t.insert("g").attr("class","cluster "+i.cssClasses).attr("id",i.domId).attr("data-look",i.look),S=(0,r.getEffectiveHtmlLabels)(c),v=_.insert("g").attr("class","cluster-label "),M=(o="markdown"===i.labelType?await (0,l.createText)(v,i.label,{style:i.labelStyle,useHtmlLabels:S,isNode:!0,width:i.width}):await p(v,i.label,i.labelStyle||"",!1,!0)).getBBox();if((0,r.getEffectiveHtmlLabels)(c)){let t=o.children[0],e=(0,s.select)(o);M=t.getBoundingClientRect(),e.attr("width",M.width),e.attr("height",M.height)}let N=i.width<=M.width+i.padding?M.width+i.padding:i.width;i.width<=M.width+i.padding?i.diff=(N-i.width)/2-i.padding:i.diff=-i.padding;let D=i.height,C=i.x-N/2,B=i.y-D/2;if(n.log.trace("Data ",i,JSON.stringify(i)),"handDrawn"===i.look){let t=h.default.svg(_),e=(0,a.userNodeOverrides)(i,{roughness:.7,fill:f,stroke:u,fillWeight:3,seed:y}),l=t.path(x(C,B,N,D,0),e);(d=_.insert(()=>(n.log.debug("Rough node insert CXC",l),l),":first-child")).select("path:nth-child(2)").attr("style",$.join(";")),d.select("path").attr("style",k.join(";").replace("fill","stroke"))}else(d=_.insert("rect",":first-child")).attr("style",b).attr("rx",i.rx).attr("ry",i.ry).attr("x",C).attr("y",B).attr("width",N).attr("height",D);let{subGraphTitleTopMargin:A}=(0,e.getSubGraphTitleMargins)(c);if(v.attr("transform",`translate(${i.x-M.width/2}, ${i.y-i.height/2+A})`),m){let t=v.select("span");t&&t.attr("style",m)}let L=d.node().getBBox();return i.offsetX=0,i.width=L.width,i.height=L.height,i.offsetY=M.height-i.padding/2,i.intersect=function(t){return w(i,t)},{cluster:_,labelBBox:M}},"rect"),$=(0,n.__name)((t,e)=>{let a=t.insert("g").attr("class","note-cluster").attr("id",e.domId),l=a.insert("rect",":first-child"),i=0*e.padding,r=i/2;l.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-r).attr("y",e.y-e.height/2-r).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");let n=l.node().getBBox();return e.width=n.width,e.height=n.height,e.intersect=function(t){return w(e,t)},{cluster:a,labelBBox:{width:0,height:0}}},"noteGroup"),k=(0,n.__name)(async(t,e)=>{let a,l=(0,r.getConfig2)(),{themeVariables:i,handDrawnSeed:n}=l,{altBackground:o,compositeBackground:d,compositeTitleBackground:c,nodeBorder:g}=i,y=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look),f=y.insert("g",":first-child"),u=y.insert("g").attr("class","cluster-label"),m=y.append("rect"),b=await p(u,e.label,e.labelStyle,void 0,!0),$=b.getBBox();if((0,r.getEffectiveHtmlLabels)(l)){let t=b.children[0],e=(0,s.select)(b);$=t.getBoundingClientRect(),e.attr("width",$.width),e.attr("height",$.height)}let k=0*e.padding,_=(e.width<=$.width+e.padding?$.width+e.padding:e.width)+k;e.width<=$.width+e.padding?e.diff=(_-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height+k,v=e.height+k-$.height-6,M=e.x-_/2,N=e.y-S/2;e.width=_;let D=e.y-e.height/2-k/2+$.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),l=h.default.svg(y),i=e.rx||e.ry?l.path(x(M,N,_,S,10),{roughness:.7,fill:c,fillStyle:"solid",stroke:g,seed:n}):l.rectangle(M,N,_,S,{seed:n});a=y.insert(()=>i,":first-child");let r=l.rectangle(M,D,_,v,{fill:t?o:d,fillStyle:t?"hachure":"solid",stroke:g,seed:n});a=y.insert(()=>i,":first-child"),m=y.insert(()=>r)}else(a=f.insert("rect",":first-child")).attr("class","outer").attr("x",M).attr("y",N).attr("width",_).attr("height",S).attr("data-look",e.look),m.attr("class","inner").attr("x",M).attr("y",D).attr("width",_).attr("height",v);return u.attr("transform",`translate(${e.x-$.width/2}, ${N+1-3*!(0,r.getEffectiveHtmlLabels)(l)})`),e.height=a.node().getBBox().height,e.offsetX=0,e.offsetY=$.height-e.padding/2,e.labelBBox=$,e.intersect=function(t){return w(e,t)},{cluster:y,labelBBox:$}},"roundedWithTitle"),_=(0,n.__name)(async(t,i)=>{let o;n.log.info("Creating subgraph rect for ",i.id,i);let d=(0,r.getConfig2)(),{themeVariables:c,handDrawnSeed:g}=d,{clusterBkg:y,clusterBorder:f}=c,{labelStyles:u,nodeStyles:m,borderStyles:p,backgroundStyles:b}=(0,a.styles2String)(i),$=t.insert("g").attr("class","cluster "+i.cssClasses).attr("id",i.domId).attr("data-look",i.look),k=(0,r.getEffectiveHtmlLabels)(d),_=$.insert("g").attr("class","cluster-label "),S=await (0,l.createText)(_,i.label,{style:i.labelStyle,useHtmlLabels:k,isNode:!0,width:i.width}),v=S.getBBox();if((0,r.getEffectiveHtmlLabels)(d)){let t=S.children[0],e=(0,s.select)(S);v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height)}let M=i.width<=v.width+i.padding?v.width+i.padding:i.width;i.width<=v.width+i.padding?i.diff=(M-i.width)/2-i.padding:i.diff=-i.padding;let N=i.height,D=i.x-M/2,C=i.y-N/2;if(n.log.trace("Data ",i,JSON.stringify(i)),"handDrawn"===i.look){let t=h.default.svg($),e=(0,a.userNodeOverrides)(i,{roughness:.7,fill:y,stroke:f,fillWeight:4,seed:g}),l=t.path(x(D,C,M,N,i.rx),e);(o=$.insert(()=>(n.log.debug("Rough node insert CXC",l),l),":first-child")).select("path:nth-child(2)").attr("style",p.join(";")),o.select("path").attr("style",b.join(";").replace("fill","stroke"))}else(o=$.insert("rect",":first-child")).attr("style",m).attr("rx",i.rx).attr("ry",i.ry).attr("x",D).attr("y",C).attr("width",M).attr("height",N);let{subGraphTitleTopMargin:B}=(0,e.getSubGraphTitleMargins)(d);if(_.attr("transform",`translate(${i.x-v.width/2}, ${i.y-i.height/2+B})`),u){let t=_.select("span");t&&t.attr("style",u)}let A=o.node().getBBox();return i.offsetX=0,i.width=A.width,i.height=A.height,i.offsetY=v.height-i.padding/2,i.intersect=function(t){return w(i,t)},{cluster:$,labelBBox:v}},"kanbanSection"),S={rect:b,squareRect:b,roundedWithTitle:k,noteGroup:$,divider:(0,n.__name)((t,e)=>{let a,{themeVariables:l,handDrawnSeed:i}=(0,r.getConfig2)(),{nodeBorder:n}=l,s=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look),o=s.insert("g",":first-child"),d=0*e.padding,c=e.width+d;e.diff=-e.padding;let g=e.height+d,y=e.x-c/2,f=e.y-g/2;if(e.width=c,"handDrawn"===e.look){let t=h.default.svg(s).rectangle(y,f,c,g,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:n,seed:i});a=s.insert(()=>t,":first-child")}else{a=o.insert("rect",":first-child");let t="outer";e.look,t="divider",a.attr("class",t).attr("x",y).attr("y",f).attr("width",c).attr("height",g).attr("data-look",e.look)}return e.height=a.node().getBBox().height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return w(e,t)},{cluster:s,labelBBox:{}}},"divider"),kanbanSection:_},v=new Map,M=(0,n.__name)(async(t,e)=>{let a=e.shape||"rect",l=await S[a](t,e);return v.set(e.id,l),l},"insertCluster"),N=(0,n.__name)(()=>{v=new Map},"clear");function D(t,e,a,l){var i=t.x,r=t.y,n=i-l.x,s=r-l.y,h=Math.sqrt(e*e*s*s+a*a*n*n),o=Math.abs(e*a*n/h);l.x<i&&(o=-o);var d=Math.abs(e*a*s/h);return l.y<r&&(d=-d),{x:i+o,y:r+d}}function C(t,e,a){return D(t,e,e,a)}function B(t,e,a,l){{let i=e.y-t.y,r=t.x-e.x,n=e.x*t.y-t.x*e.y,s=i*a.x+r*a.y+n,h=i*l.x+r*l.y+n;if(0!==s&&0!==h&&A(s,h))return;let o=l.y-a.y,d=a.x-l.x,c=l.x*a.y-a.x*l.y,g=o*t.x+d*t.y+c,y=o*e.x+d*e.y+c;if(1e-6>Math.abs(g)&&1e-6>Math.abs(y)&&A(g,y))return;let f=i*d-o*r;if(0===f)return;let u=Math.abs(f/2),m=r*c-d*n;return{x:m<0?(m-u)/f:(m+u)/f,y:(m=o*n-i*c)<0?(m-u)/f:(m+u)/f}}}function A(t,e){return t*e>0}function L(t,e,a){let l=t.x,i=t.y,r=[],n=1/0,s=1/0;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),s=Math.min(s,t.y)}):(n=Math.min(n,e.x),s=Math.min(s,e.y));let h=l-t.width/2-n,o=i-t.height/2-s;for(let l=0;l<e.length;l++){let i=e[l],n=e[l<e.length-1?l+1:0],s=B(t,a,{x:h+i.x,y:o+i.y},{x:h+n.x,y:o+n.y});s&&r.push(s)}return r.length?(r.length>1&&r.sort(function(t,e){let l=t.x-a.x,i=t.y-a.y,r=Math.sqrt(l*l+i*i),n=e.x-a.x,s=e.y-a.y,h=Math.sqrt(n*n+s*s);return r<h?-1:+(r!==h)}),r[0]):t}(0,n.__name)(function(t,e){return t.intersect(e)},"intersectNode"),(0,n.__name)(D,"intersectEllipse"),(0,n.__name)(C,"intersectCircle"),(0,n.__name)(B,"intersectLine"),(0,n.__name)(A,"sameSign"),(0,n.__name)(L,"intersectPolygon");function R(t,e){let{labelStyles:l}=(0,a.styles2String)(e);e.labelStyle=l;let r=g(e),s=r;r||(s="anchor");let o=t.insert("g").attr("class",s).attr("id",e.domId||e.id),{cssStyles:d}=e,y=h.default.svg(o),f=(0,a.userNodeOverrides)(e,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==e.look&&(f.roughness=0);let u=y.circle(0,0,2,f),m=o.insert(()=>u,":first-child");return m.attr("class","anchor").attr("style",(0,i.handleUndefinedAttr)(d)),c(e,m),e.intersect=function(t){return n.log.info("Circle intersect",e,1,t),C(e,1,t)},o}function O(t,e,a,l,i,r,n){let s=Math.atan2(l-e,a-t),h=Math.sqrt(((a-t)/2/i)**2+((l-e)/2/r)**2);if(h>1)throw Error("The given radii are too small to create an arc between the points.");let o=Math.sqrt(1-h**2),d=(t+a)/2+o*r*Math.sin(s)*(n?-1:1),c=(e+l)/2-o*i*Math.cos(s)*(n?-1:1),g=Math.atan2((e-c)/r,(t-d)/i),y=Math.atan2((l-c)/r,(a-d)/i)-g;n&&y<0&&(y+=2*Math.PI),!n&&y>0&&(y-=2*Math.PI);let f=[];for(let t=0;t<20;t++){let e=g+t/19*y,a=d+i*Math.cos(e),l=c+r*Math.sin(e);f.push({x:a,y:l})}return f}function P(t,e,a){let[l,i]=[e,a].sort((t,e)=>e-t);return i*(1-Math.sqrt(1-(t/l/2)**2))}async function T(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,s="neo"===e.look?16:r,d="neo"===e.look?12:r,f=(0,n.__name)(t=>t+d,"calcTotalHeight"),u=(0,n.__name)(t=>{let e=t/2;return[e/(2.5+t/50),e]},"calcEllipseRadius"),{shapeSvg:m,bbox:w}=await o(t,e,g(e)),p=f(e?.height?e?.height:w.height),[x,b]=u(p),$=P(p,x,b),k=(e?.width?e?.width:w.width)+2*s+$-$,{cssStyles:_}=e,S=[{x:k/2,y:-p/2},{x:-k/2,y:-p/2},...O(-k/2,-p/2,-k/2,p/2,x,b,!1),{x:k/2,y:p/2},...O(k/2,p/2,k/2,-p/2,x,b,!0)],v=h.default.svg(m),M=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let N=y(S),D=v.path(N,M),C=m.insert(()=>D,":first-child");return C.attr("class","basic label-container outer-path"),_&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",_),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(${x/2}, 0)`),c(e,C),e.intersect=function(t){return L(e,S,t)},m}function I(t,e,a,l){return t.insert("polygon",":first-child").attr("points",l.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}async function E(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?28:n,d="neo"===e.look?24:n,{shapeSvg:f,bbox:u}=await o(t,e,g(e)),m=(e?.width??u.width)+("neo"===e.look?2*s:s+12),w=(e?.height??u.height)+("neo"===e.look?2*d:d),p=-w,x=[{x:12,y:p},{x:m,y:p},{x:m,y:0},{x:0,y:0},{x:0,y:p+12},{x:12,y:p}],{cssStyles:b}=e;if("handDrawn"===e.look){let t=h.default.svg(f),i=(0,a.userNodeOverrides)(e,{}),r=y(x),n=t.path(r,i);l=f.insert(()=>n,":first-child").attr("transform",`translate(${-m/2}, ${w/2})`),b&&l.attr("style",b)}else l=I(f,m,w,x);return r&&l.attr("style",r),c(e,l),e.intersect=function(t){return L(e,x,t)},f}function H(t,e){let{nodeStyles:l}=(0,a.styles2String)(e);e.label="";let i=t.insert("g").attr("class",g(e)).attr("id",e.domId??e.id),{cssStyles:r}=e,n=Math.max(28,e.width??0),s=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}],o=h.default.svg(i),d=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(d.roughness=0,d.fillStyle="solid");let c=y(s),f=o.path(c,d),u=i.insert(()=>f,":first-child");return r&&"handDrawn"!==e.look&&u.selectAll("path").attr("style",r),l&&"handDrawn"!==e.look&&u.selectAll("path").attr("style",l),e.width=28,e.height=28,e.intersect=function(t){return L(e,s,t)},i}async function W(t,e,l){let r,{labelStyles:s,nodeStyles:d}=(0,a.styles2String)(e);e.labelStyle=s;let{shapeSvg:y,bbox:f,halfPadding:u}=await o(t,e,g(e)),m=l?.padding??u,w="neo"===e.look?f.width/2+32:f.width/2+m,{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.default.svg(y),l=(0,a.userNodeOverrides)(e,{}),n=t.circle(0,0,2*w,l);(r=y.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)(p))}else r=y.insert("circle",":first-child").attr("class","basic label-container").attr("style",d).attr("r",w).attr("cx",0).attr("cy",0);return c(e,r),e.calcIntersect=function(t,e){let a=t.width/2;return C(t,a,e)},e.intersect=function(t){return n.log.info("Circle intersect",e,w,t),C(e,w,t)},y}function q(t){let e=Math.cos(Math.PI/4),a=Math.sin(Math.PI/4),l=2*t,i={x:l/2*e,y:l/2*a},r={x:-(l/2)*e,y:l/2*a},n={x:-(l/2)*e,y:-(l/2)*a},s={x:l/2*e,y:-(l/2)*a};return`M ${r.x},${r.y} L ${s.x},${s.y}
|
|
2
|
+
M ${i.x},${i.y} L ${n.x},${n.y}`}function j(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l,e.label="";let r=t.insert("g").attr("class",g(e)).attr("id",e.domId??e.id),s=Math.max(30,e?.width??0),{cssStyles:o}=e,d=h.default.svg(r),y=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let f=d.circle(0,0,2*s,y),u=q(s),m=d.path(u,y),w=r.insert(()=>f,":first-child");return w.insert(()=>m),w.attr("class","outer-path"),o&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",o),i&&"handDrawn"!==e.look&&w.selectAll("path").attr("style",i),c(e,w),e.intersect=function(t){return n.log.info("crossedCircle intersect",e,{radius:s,point:t}),C(e,s,t)},r}function z(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}async function U(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,label:s}=await o(t,e,g(e)),d="neo"===e.look?18:e.padding??0,f="neo"===e.look?12:e.padding??0,u=n.width+d,m=n.height+f,w=Math.max(5,.1*m),{cssStyles:p}=e,x=[...z(u/2,-m/2,w,30,-90,0),{x:-u/2-w,y:w},...z(u/2+2*w,-w,w,20,-180,-270),...z(u/2+2*w,w,w,20,-90,-180),{x:-u/2-w,y:-m/2},...z(u/2,m/2,w,20,0,90)],b=[{x:u/2,y:-m/2-w},{x:-u/2,y:-m/2-w},...z(u/2,-m/2,w,20,-90,0),{x:-u/2-w,y:-w},...z(u/2+.1*u,-w,w,20,-180,-270),...z(u/2+.1*u,w,w,20,-90,-180),{x:-u/2-w,y:m/2},...z(u/2,m/2,w,20,0,90),{x:-u/2,y:m/2+w},{x:u/2,y:m/2+w}],$=h.default.svg(r),k=(0,a.userNodeOverrides)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=y(x).replace("Z",""),S=$.path(_,k),v=y(b),M=$.path(v,{...k}),N=r.insert("g",":first-child");return N.insert(()=>M,":first-child").attr("stroke-opacity",0),N.insert(()=>S,":first-child"),N.attr("class","text"),p&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",p),i&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",i),N.attr("transform",`translate(${w}, 0)`),s.attr("transform",`translate(${-u/2+w-(n.x-(n.left??0))},${-m/2+(e.padding??0)/2-(n.y-(n.top??0))})`),c(e,N),e.intersect=function(t){return L(e,b,t)},r}function F(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:r,y:o})}return n}async function V(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,label:s}=await o(t,e,g(e)),d="neo"===e.look?18:e.padding??0,f="neo"===e.look?12:e.padding??0,u=n.width+("neo"===e.look?2*d:d),m=n.height+("neo"===e.look?2*f:f),w=Math.max(5,.1*m),{cssStyles:p}=e,x=[...F(u/2,-m/2,w,20,-90,0),{x:u/2+w,y:-w},...F(u/2+2*w,-w,w,20,-180,-270),...F(u/2+2*w,w,w,20,-90,-180),{x:u/2+w,y:m/2},...F(u/2,m/2,w,20,0,90)],b=[{x:-u/2,y:-m/2-w},{x:u/2,y:-m/2-w},...F(u/2,-m/2,w,20,-90,0),{x:u/2+w,y:-w},...F(u/2+2*w,-w,w,20,-180,-270),...F(u/2+2*w,w,w,20,-90,-180),{x:u/2+w,y:m/2},...F(u/2,m/2,w,20,0,90),{x:u/2,y:m/2+w},{x:-u/2,y:m/2+w}],$=h.default.svg(r),k=(0,a.userNodeOverrides)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=y(x).replace("Z",""),S=$.path(_,k),v=y(b),M=$.path(v,{...k}),N=r.insert("g",":first-child");return N.insert(()=>M,":first-child").attr("stroke-opacity",0),N.insert(()=>S,":first-child"),N.attr("class","text"),p&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",p),i&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",i),N.attr("transform",`translate(${-w}, 0)`),s.attr("transform",`translate(${-u/2+(e.padding??0)/2-(n.x-(n.left??0))},${-m/2+(e.padding??0)/2-(n.y-(n.top??0))})`),c(e,N),e.intersect=function(t){return L(e,b,t)},r}function X(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}async function G(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,label:s}=await o(t,e,g(e)),d="neo"===e.look?18:e.padding??0,f="neo"===e.look?12:e.padding??0,u=n.width+("neo"===e.look?2*d:d),m=n.height+("neo"===e.look?2*f:f),w=Math.max(5,.1*m),{cssStyles:p}=e,x=[...X(u/2,-m/2,w,30,-90,0),{x:-u/2-w,y:w},...X(u/2+2*w,-w,w,20,-180,-270),...X(u/2+2*w,w,w,20,-90,-180),{x:-u/2-w,y:-m/2},...X(u/2,m/2,w,20,0,90)],b=[...X(-u/2+w+w/2,-m/2,w,20,-90,-180),{x:u/2-w/2,y:w},...X(-u/2-w/2,-w,w,20,0,90),...X(-u/2-w/2,w,w,20,-90,0),{x:u/2-w/2,y:-w},...X(-u/2+w+w/2,m/2,w,30,-180,-270)],$=[{x:u/2,y:-m/2-w},{x:-u/2,y:-m/2-w},...X(u/2,-m/2,w,20,-90,0),{x:-u/2-w,y:-w},...X(u/2+2*w,-w,w,20,-180,-270),...X(u/2+2*w,w,w,20,-90,-180),{x:-u/2-w,y:m/2},...X(u/2,m/2,w,20,0,90),{x:-u/2,y:m/2+w},{x:u/2-w-w/2,y:m/2+w},...X(-u/2+w+w/2,-m/2,w,20,-90,-180),{x:u/2-w/2,y:w},...X(-u/2-w/2,-w,w,20,0,90),...X(-u/2-w/2,w,w,20,-90,0),{x:u/2-w/2,y:-w},...X(-u/2+w+w/2,m/2,w,30,-180,-270)],k=h.default.svg(r),_=(0,a.userNodeOverrides)(e,{fill:"none"});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");let S=y(x).replace("Z",""),v=k.path(S,_),M=y(b).replace("Z",""),N=k.path(M,_),D=y($),C=k.path(D,{..._}),B=r.insert("g",":first-child");return B.insert(()=>C,":first-child").attr("stroke-opacity",0),B.insert(()=>v,":first-child"),B.insert(()=>N,":first-child"),B.attr("class","text"),p&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",p),i&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",i),B.attr("transform",`translate(${w-w/4}, 0)`),s.attr("transform",`translate(${-u/2+(e.padding??0)/2-(n.x-(n.left??0))},${-m/2+(e.padding??0)/2-(n.y-(n.top??0))})`),c(e,B),e.intersect=function(t){return L(e,$,t)},r}async function Z(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,{shapeSvg:d,bbox:f}=await o(t,e,g(e)),m=Math.max(20,(f.width+2*n)*1.25,e?.width??0),w=Math.max(5,f.height+2*s,e?.height??0),p=w/2,{cssStyles:x}=e,b=h.default.svg(d),$=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let k=m-p,_=w/4,S=[{x:k,y:0},{x:_,y:0},{x:0,y:w/2},{x:_,y:w},{x:k,y:w},...u(-k,-w/2,p,50,270,90)],v=y(S),M=b.path(v,$),N=d.insert(()=>M,":first-child");return N.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&N.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&N.selectChildren("path").attr("style",i),N.attr("transform",`translate(${-m/2}, ${-w/2})`),c(e,N),e.intersect=function(t){return L(e,S,t)},d}(0,n.__name)(R,"anchor"),(0,n.__name)(O,"generateArcPoints"),(0,n.__name)(P,"calculateArcSagitta"),(0,n.__name)(T,"bowTieRect"),(0,n.__name)(I,"insertPolygonShape"),(0,n.__name)(E,"card"),(0,n.__name)(H,"choice"),(0,n.__name)(W,"circle"),(0,n.__name)(q,"createLine"),(0,n.__name)(j,"crossedCircle"),(0,n.__name)(z,"generateCirclePoints"),(0,n.__name)(U,"curlyBraceLeft"),(0,n.__name)(F,"generateCirclePoints"),(0,n.__name)(V,"curlyBraceRight"),(0,n.__name)(X,"generateCirclePoints"),(0,n.__name)(G,"curlyBraces"),(0,n.__name)(Z,"curvedTrapezoid");var Y=(0,n.__name)((t,e,a,l,i,r)=>`M${t},${e+r} a${i},${r} 0,0,0 ${a},0 a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l}`,"createCylinderPathD"),J=(0,n.__name)((t,e,a,l,i,r)=>`M${t},${e+r} M${t+a},${e+r} a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l}`,"createOuterCylinderPathD"),K=(0,n.__name)((t,e,a,l,i,r)=>`M${t-a/2},${-l/2} a${i},${r} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function Q(t,e){let l,{labelStyles:r,nodeStyles:n}=(0,a.styles2String)(e);e.labelStyle=r;let s=e.padding??0,d="neo"===e.look?24:s,y="neo"===e.look?24:s;if(e.width||e.height){let t=e.width??0;e.width=(e.width??0)-y,e.width<8&&(e.width=8),e.height=(e.height??0)-d-t/2/(2.5+t/50)*3,e.height<8&&(e.height=8)}let{shapeSvg:f,bbox:u,label:m}=await o(t,e,g(e)),p=(e.width?e.width:u.width)+y,x=p/2,b=x/(2.5+p/50),$=(e.height?e.height:u.height)+d+b,{cssStyles:k}=e;if("handDrawn"===e.look){let t=h.default.svg(f),i=J(0,0,p,$,x,b),r=K(0,b,p,$,x,b),n=(0,a.userNodeOverrides)(e,{}),s=t.path(i,n),o=t.path(r,(0,a.userNodeOverrides)(e,{fill:"none"}));l=f.insert(()=>o,":first-child"),(l=f.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&l.attr("style",k)}else{let t=Y(0,0,p,$,x,b);l=f.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,i.handleUndefinedAttr)(k)).attr("style",n)}return l.attr("label-offset-y",b),l.attr("transform",`translate(${-p/2}, ${-($/2+b)})`),c(e,l),m.attr("transform",`translate(${-(u.width/2)-(u.x-(u.left??0))}, ${-(u.height/2)+(e.padding??0)/1.5-(u.y-(u.top??0))})`),e.intersect=function(t){let a=w(e,t),l=a.x-(e.x??0);if(0!=x&&(Math.abs(l)<(e.width??0)/2||Math.abs(l)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-b)){let i=b*b*(1-l*l/(x*x));i>0&&(i=Math.sqrt(i)),i=b-i,t.y-(e.y??0)>0&&(i=-i),a.y+=i}return a},f}async function tt(t,e,l){let r,{labelStyles:n,nodeStyles:s}=(0,a.styles2String)(e);e.labelStyle=n;let{shapeSvg:d,bbox:y}=await o(t,e,g(e)),f=Math.max(y.width+2*l.labelPaddingX,e?.width||0),u=Math.max(y.height+2*l.labelPaddingY,e?.height||0),m=-f/2,p=-u/2,{rx:b,ry:$}=e,{cssStyles:k}=e;if(l?.rx&&l.ry&&(b=l.rx,$=l.ry),"handDrawn"===e.look){let t=h.default.svg(d),l=(0,a.userNodeOverrides)(e,{}),n=b||$?t.path(x(m,p,f,u,b||0),l):t.rectangle(m,p,f,u,l);(r=d.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)(k))}else(r=d.insert("rect",":first-child")).attr("class","basic label-container").attr("style",s).attr("rx",(0,i.handleUndefinedAttr)(b)).attr("ry",(0,i.handleUndefinedAttr)($)).attr("x",m).attr("y",p).attr("width",f).attr("height",u);return c(e,r),e.calcIntersect=function(t,e){return w(t,e)},e.intersect=function(t){return w(e,t)},d}async function te(t,e){let{cssClasses:l,labelPaddingX:i,labelPaddingY:r,padding:n,width:s,height:o}=e,d=await tt(t,e,{rx:0,ry:0,classes:l??"",labelPaddingX:i??(n??0)*2,labelPaddingY:r??n??0});if("handDrawn"===e.look){let t=h.default.svg(d),l=(0,a.userNodeOverrides)(e,{}),i=d.select(".basic.label-container > path:nth-child(2)"),r=i.node();if(!r)return d;let n=null;return r instanceof SVGGraphicsElement&&(n=r.getBBox(),d.insert(()=>t.line(n.x,n.y,n.x+n.width,n.y,l),".basic.label-container g.label"),d.insert(()=>t.line(n.x,n.y+n.height,n.x+n.width,n.y+n.height,l),".basic.label-container g.label"),i.remove()),d}let c=d.select(".basic.label-container"),g=(Number(c.attr("width"))||s)??0,y=(Number(c.attr("height"))||o)??0;return g>0&&y>0&&c.attr("stroke-dasharray",`${g} ${y}`),d}async function ta(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?16:e.padding??0,{shapeSvg:s,bbox:d,label:y}=await o(t,e,g(e)),f=d.width+r,u=d.height+n,m=.2*u,p=-f/2,x=-u/2-m/2,{cssStyles:b}=e,$=h.default.svg(s),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=$.polygon([{x:p,y:x+m},{x:-p,y:x+m},{x:-p,y:-x},{x:p,y:-x},{x:p,y:x},{x:-p,y:x},{x:-p,y:x+m}].map(t=>[t.x,t.y]),k),S=s.insert(()=>_,":first-child");return S.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",i),y.attr("transform",`translate(${p+(e.padding??0)/2-(d.x-(d.left??0))}, ${x+m+(e.padding??0)/2-(d.y-(d.top??0))})`),c(e,S),e.intersect=function(t){return w(e,t)},s}async function tl(t,e){let l,{labelStyles:r,nodeStyles:s}=(0,a.styles2String)(e),d="neo"===e.look?12:5;e.labelStyle=r;let y=e.padding??0,f="neo"===e.look?16:y,{shapeSvg:u,bbox:m}=await o(t,e,g(e)),w=(e?.width?e?.width/2:m.width/2)+(f??0),p=w-d,{cssStyles:x}=e;if("handDrawn"===e.look){let t=h.default.svg(u),r=(0,a.userNodeOverrides)(e,{roughness:.2,strokeWidth:2.5}),n=(0,a.userNodeOverrides)(e,{roughness:.2,strokeWidth:1.5}),s=t.circle(0,0,2*w,r),o=t.circle(0,0,2*p,n);(l=u.insert("g",":first-child")).attr("class",(0,i.handleUndefinedAttr)(e.cssClasses)).attr("style",(0,i.handleUndefinedAttr)(x)),l.node()?.appendChild(s),l.node()?.appendChild(o)}else{let t=(l=u.insert("g",":first-child")).insert("circle",":first-child"),e=l.insert("circle");l.attr("class","basic label-container").attr("style",s),t.attr("class","outer-circle").attr("style",s).attr("r",w).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",s).attr("r",p).attr("cx",0).attr("cy",0)}return c(e,l),e.intersect=function(t){return n.log.info("DoubleCircle intersect",e,w,t),C(e,w,t)},u}function ti(t,e,{config:{themeVariables:l}}){let{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.label="",e.labelStyle=i;let s=t.insert("g").attr("class",g(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,d=h.default.svg(s),{nodeBorder:y}=l,f=(0,a.userNodeOverrides)(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(f.roughness=0);let u=d.circle(0,0,14,f),m=s.insert(()=>u,":first-child");return m.selectAll("path").attr("style",`fill: ${y} !important;`),o&&o.length>0&&"handDrawn"!==e.look&&m.selectAll("path").attr("style",o),r&&"handDrawn"!==e.look&&m.selectAll("path").attr("style",r),c(e,m),e.intersect=function(t){return n.log.info("filledCircle intersect",e,{radius:7,point:t}),C(e,7,t)},s}async function tr(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,s="neo"===e.look?2*r:r;(e.width||e.height)&&(e.height=e?.height??0,e.height<10&&(e.height=10),e.width=(e?.width??0)-s-s/2,e.width<10&&(e.width=10));let{shapeSvg:d,bbox:f,label:u}=await o(t,e,g(e)),m=(e?.width?e?.width:f.width)+(s??0),w=e?.height?e?.height:m+f.height,p=[{x:0,y:-w},{x:w,y:-w},{x:w/2,y:0}],{cssStyles:x}=e,b=h.default.svg(d),$=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let k=y(p),_=b.path(k,$),S=d.insert(()=>_,":first-child").attr("transform",`translate(${-w/2}, ${w/2})`).attr("class","outer-path");return x&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",i),e.width=m,e.height=w,c(e,S),u.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))}, ${-w/2+(e.padding??0)/2+(f.y-(f.top??0))})`),e.intersect=function(t){return n.log.info("Triangle intersect",e,p,t),L(e,p,t)},d}function tn(t,e,{dir:l,config:{state:i,themeVariables:r}}){let{nodeStyles:n}=(0,a.styles2String)(e);e.label="";let s=t.insert("g").attr("class",g(e)).attr("id",e.domId??e.id),{cssStyles:o}=e,d=Math.max(70,e?.width??0),y=Math.max(10,e?.height??0);"LR"===l&&(d=Math.max(10,e?.width??0),y=Math.max(70,e?.height??0));let f=-1*d/2,u=-1*y/2,m=h.default.svg(s),p=(0,a.userNodeOverrides)(e,{stroke:r.lineColor,fill:r.lineColor});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");let x=m.rectangle(f,u,d,y,p),b=s.insert(()=>x,":first-child");o&&"handDrawn"!==e.look&&b.selectAll("path").attr("style",o),n&&"handDrawn"!==e.look&&b.selectAll("path").attr("style",n),c(e,b);let $=i?.padding??0;return e.width&&e.height&&(e.width+=$/2||0,e.height+=$/2||0),e.intersect=function(t){return w(e,t)},s}async function ts(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r="neo"===e.look?16:e.padding??0,s="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10),e.width=(e?.width??0)-2*r,e.width<15&&(e.width=15));let{shapeSvg:d,bbox:f}=await o(t,e,g(e)),m=(e?.width?e?.width:Math.max(15,f.width))+2*r,w=(e?.height?e?.height:Math.max(10,f.height))+2*s,p=w/2,{cssStyles:x}=e,b=h.default.svg(d),$=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let k=[{x:-m/2,y:-w/2},{x:m/2-p,y:-w/2},...u(-m/2+p,0,p,50,90,270),{x:m/2-p,y:w/2},{x:-m/2,y:w/2}],_=y(k),S=b.path(_,$),v=d.insert(()=>S,":first-child");return v.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",i),c(e,v),e.intersect=function(t){return n.log.info("Pill intersect",e,{radius:p,point:t}),L(e,k,t)},d}(0,n.__name)(Q,"cylinder"),(0,n.__name)(tt,"drawRect"),(0,n.__name)(te,"datastore"),(0,n.__name)(ta,"dividedRectangle"),(0,n.__name)(tl,"doublecircle"),(0,n.__name)(ti,"filledCircle"),(0,n.__name)(tr,"flippedTriangle"),(0,n.__name)(tn,"forkJoin"),(0,n.__name)(ts,"halfRoundedRectangle");var th=(0,n.__name)((t,e,a,l,i)=>`M${t+i},${e} L${t+a-i},${e} L${t+a},${e-l/2} L${t+a-i},${e-l} L${t+i},${e-l} L${t},${e-l/2} Z`,"createHexagonPathD");async function to(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e),n="neo"===e.look?3.5:4;e.labelStyle=i;let s=e.padding??0,d="neo"===e.look?70:s,y="neo"===e.look?32:s;if(e.width||e.height){let t=e.height??0;e.width=(e?.width??0)-t/n*2-y,e.height=(e.height??0)-d}let{shapeSvg:f,bbox:u}=await o(t,e,g(e)),m=(e?.height?e?.height:u.height)+d,w=m/n,p=(e?.width?e?.width:u.width)+2*w+y,x=[{x:w,y:0},{x:p-w,y:0},{x:p,y:-m/2},{x:p-w,y:-m},{x:w,y:-m},{x:0,y:-m/2}],{cssStyles:b}=e;if("handDrawn"===e.look){let t=h.default.svg(f),i=(0,a.userNodeOverrides)(e,{}),r=th(0,0,p,m,w),n=t.path(r,i);l=f.insert(()=>n,":first-child").attr("transform",`translate(${-p/2}, ${m/2})`),b&&l.attr("style",b)}else l=I(f,p,m,x);return r&&l.attr("style",r),e.width=p,e.height=m,c(e,l),e.intersect=function(t){return L(e,x,t)},f}async function td(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.label="",e.labelStyle=l;let{shapeSvg:r}=await o(t,e,g(e)),s=Math.max(30,e?.width??0),d=Math.max(30,e?.height??0),{cssStyles:f}=e,u=h.default.svg(r),m=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let w=[{x:0,y:0},{x:s,y:0},{x:0,y:d},{x:s,y:d}],p=y(w),x=u.path(p,m),b=r.insert(()=>x,":first-child");return b.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",f),i&&"handDrawn"!==e.look&&b.selectChildren("path").attr("style",i),b.attr("transform",`translate(${-s/2}, ${-d/2})`),c(e,b),e.intersect=function(t){return n.log.info("Pill intersect",e,{points:w}),L(e,w,t)},r}async function tc(t,e,{config:{themeVariables:i,flowchart:r}}){let{labelStyles:s}=(0,a.styles2String)(e);e.labelStyle=s;let d=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(d,r?.wrappingWidth??0);let{shapeSvg:g,bbox:y,label:f}=await o(t,e,"icon-shape default"),u="t"===e.pos,{nodeBorder:m}=i,{stylesMap:p}=(0,a.compileStyles)(e),x=-d/2,b=-d/2,$=8*!!e.label,k=h.default.svg(g),_=(0,a.userNodeOverrides)(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");let S=k.rectangle(x,b,d,d,_),v=Math.max(d,y.width),M=d+y.height+$,N=k.rectangle(-v/2,-M/2,v,M,{..._,fill:"transparent",stroke:"none"}),D=g.insert(()=>S,":first-child"),C=g.insert(()=>N);if(e.icon){let t=g.append("g");t.html(`<g>${await (0,l.getIconSVG)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),i=a.width,r=a.height,n=a.x,s=a.y;t.attr("transform",`translate(${-i/2-n},${u?y.height/2+$/2-r/2-s:-y.height/2-$/2-r/2-s})`),t.attr("style",`color: ${p.get("stroke")??m};`)}return f.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${u?-M/2:M/2-y.height})`),D.attr("transform",`translate(0,${u?y.height/2+$/2:-y.height/2-$/2})`),c(e,C),e.intersect=function(t){if(n.log.info("iconSquare intersect",e,t),!e.label)return w(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return L(e,r=u?[{x:a-y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2+y.height+$},{x:a+d/2,y:l-i/2+y.height+$},{x:a+d/2,y:l+i/2},{x:a-d/2,y:l+i/2},{x:a-d/2,y:l-i/2+y.height+$},{x:a-y.width/2,y:l-i/2+y.height+$}]:[{x:a-d/2,y:l-i/2},{x:a+d/2,y:l-i/2},{x:a+d/2,y:l-i/2+d},{x:a+y.width/2,y:l-i/2+d},{x:a+y.width/2/2,y:l+i/2},{x:a-y.width/2,y:l+i/2},{x:a-y.width/2,y:l-i/2+d},{x:a-d/2,y:l-i/2+d}],t)},g}async function tg(t,e,{config:{themeVariables:i,flowchart:r}}){let{labelStyles:s}=(0,a.styles2String)(e);e.labelStyle=s;let d=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(d,r?.wrappingWidth??0);let{shapeSvg:g,bbox:y,label:f}=await o(t,e,"icon-shape default"),u=8*!!e.label,m="t"===e.pos,{nodeBorder:p,mainBkg:x}=i,{stylesMap:b}=(0,a.compileStyles)(e),$=h.default.svg(g),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid"),k.stroke=b.get("fill")??x;let _=g.append("g");e.icon&&_.html(`<g>${await (0,l.getIconSVG)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);let S=_.node().getBBox(),v=S.width,M=S.height,N=S.x,D=S.y,C=Math.max(v,M)*Math.SQRT2+40,B=$.circle(0,0,C,k),A=Math.max(C,y.width),L=C+y.height+u,R=$.rectangle(-A/2,-L/2,A,L,{...k,fill:"transparent",stroke:"none"}),O=g.insert(()=>B,":first-child"),P=g.insert(()=>R);return _.attr("transform",`translate(${-v/2-N},${m?y.height/2+u/2-M/2-D:-y.height/2-u/2-M/2-D})`),_.attr("style",`color: ${b.get("stroke")??p};`),f.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${m?-L/2:L/2-y.height})`),O.attr("transform",`translate(0,${m?y.height/2+u/2:-y.height/2-u/2})`),c(e,P),e.intersect=function(t){return n.log.info("iconSquare intersect",e,t),w(e,t)},g}async function ty(t,e,{config:{themeVariables:i,flowchart:r}}){let{labelStyles:s}=(0,a.styles2String)(e);e.labelStyle=s;let d=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(d,r?.wrappingWidth??0);let{shapeSvg:g,bbox:y,halfPadding:f,label:u}=await o(t,e,"icon-shape default"),m="t"===e.pos,p=d+2*f,b=d+2*f,{nodeBorder:$,mainBkg:k}=i,{stylesMap:_}=(0,a.compileStyles)(e),S=8*!!e.label,v=h.default.svg(g),M=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid"),M.stroke=_.get("fill")??k;let N=v.path(x(-b/2,-p/2,b,p,5),M),D=Math.max(b,y.width),C=p+y.height+S,B=v.rectangle(-D/2,-C/2,D,C,{...M,fill:"transparent",stroke:"none"}),A=g.insert(()=>N,":first-child").attr("class","icon-shape2"),R=g.insert(()=>B);if(e.icon){let t=g.append("g");t.html(`<g>${await (0,l.getIconSVG)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),i=a.width,r=a.height,n=a.x,s=a.y;t.attr("transform",`translate(${-i/2-n},${m?y.height/2+S/2-r/2-s:-y.height/2-S/2-r/2-s})`),t.attr("style",`color: ${_.get("stroke")??$};`)}return u.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${m?-C/2:C/2-y.height})`),A.attr("transform",`translate(0,${m?y.height/2+S/2:-y.height/2-S/2})`),c(e,R),e.intersect=function(t){if(n.log.info("iconSquare intersect",e,t),!e.label)return w(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return L(e,r=m?[{x:a-y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2+y.height+S},{x:a+b/2,y:l-i/2+y.height+S},{x:a+b/2,y:l+i/2},{x:a-b/2,y:l+i/2},{x:a-b/2,y:l-i/2+y.height+S},{x:a-y.width/2,y:l-i/2+y.height+S}]:[{x:a-b/2,y:l-i/2},{x:a+b/2,y:l-i/2},{x:a+b/2,y:l-i/2+p},{x:a+y.width/2,y:l-i/2+p},{x:a+y.width/2/2,y:l+i/2},{x:a-y.width/2,y:l+i/2},{x:a-y.width/2,y:l-i/2+p},{x:a-b/2,y:l-i/2+p}],t)},g}async function tf(t,e,{config:{themeVariables:i,flowchart:r}}){let{labelStyles:s}=(0,a.styles2String)(e);e.labelStyle=s;let d=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(d,r?.wrappingWidth??0);let{shapeSvg:g,bbox:y,halfPadding:f,label:u}=await o(t,e,"icon-shape default"),m="t"===e.pos,p=d+2*f,b=d+2*f,{nodeBorder:$,mainBkg:k}=i,{stylesMap:_}=(0,a.compileStyles)(e),S=8*!!e.label,v=h.default.svg(g),M=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid"),M.stroke=_.get("fill")??k;let N=v.path(x(-b/2,-p/2,b,p,.1),M),D=Math.max(b,y.width),C=p+y.height+S,B=v.rectangle(-D/2,-C/2,D,C,{...M,fill:"transparent",stroke:"none"}),A=g.insert(()=>N,":first-child"),R=g.insert(()=>B);if(e.icon){let t=g.append("g");t.html(`<g>${await (0,l.getIconSVG)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),i=a.width,r=a.height,n=a.x,s=a.y;t.attr("transform",`translate(${-i/2-n},${m?y.height/2+S/2-r/2-s:-y.height/2-S/2-r/2-s})`),t.attr("style",`color: ${_.get("stroke")??$};`)}return u.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))},${m?-C/2:C/2-y.height})`),A.attr("transform",`translate(0,${m?y.height/2+S/2:-y.height/2-S/2})`),c(e,R),e.intersect=function(t){if(n.log.info("iconSquare intersect",e,t),!e.label)return w(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return L(e,r=m?[{x:a-y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2},{x:a+y.width/2,y:l-i/2+y.height+S},{x:a+b/2,y:l-i/2+y.height+S},{x:a+b/2,y:l+i/2},{x:a-b/2,y:l+i/2},{x:a-b/2,y:l-i/2+y.height+S},{x:a-y.width/2,y:l-i/2+y.height+S}]:[{x:a-b/2,y:l-i/2},{x:a+b/2,y:l-i/2},{x:a+b/2,y:l-i/2+p},{x:a+y.width/2,y:l-i/2+p},{x:a+y.width/2/2,y:l+i/2},{x:a-y.width/2,y:l+i/2},{x:a-y.width/2,y:l-i/2+p},{x:a-b/2,y:l-i/2+p}],t)},g}async function tu(t,e,{config:{flowchart:l}}){let i=new Image;i.src=e?.img??"",await i.decode();let r=Number(i.naturalWidth.toString().replace("px","")),s=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=r/s;let{labelStyles:d}=(0,a.styles2String)(e);e.labelStyle=d;let g=l?.wrappingWidth;e.defaultWidth=l?.wrappingWidth;let y=Math.max(e.label?g??0:0,e?.assetWidth??r),f="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:y,u="on"===e.constraint?f/e.imageAspectRatio:e?.assetHeight??s;e.width=Math.max(f,g??0);let{shapeSvg:m,bbox:p,label:x}=await o(t,e,"image-shape default"),b="t"===e.pos,$=-f/2,k=8*!!e.label,_=h.default.svg(m),S=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let v=_.rectangle($,-u/2,f,u,S),M=Math.max(f,p.width),N=u+p.height+k,D=_.rectangle(-M/2,-N/2,M,N,{...S,fill:"none",stroke:"none"}),C=m.insert(()=>v,":first-child"),B=m.insert(()=>D);if(e.img){let t=m.append("image");t.attr("href",e.img),t.attr("width",f),t.attr("height",u),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-f/2},${b?N/2-u:-N/2})`)}return x.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${b?-u/2-p.height/2-k/2:u/2-p.height/2+k/2})`),C.attr("transform",`translate(0,${b?p.height/2+k/2:-p.height/2-k/2})`),c(e,B),e.intersect=function(t){if(n.log.info("iconSquare intersect",e,t),!e.label)return w(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return L(e,r=b?[{x:a-p.width/2,y:l-i/2},{x:a+p.width/2,y:l-i/2},{x:a+p.width/2,y:l-i/2+p.height+k},{x:a+f/2,y:l-i/2+p.height+k},{x:a+f/2,y:l+i/2},{x:a-f/2,y:l+i/2},{x:a-f/2,y:l-i/2+p.height+k},{x:a-p.width/2,y:l-i/2+p.height+k}]:[{x:a-f/2,y:l-i/2},{x:a+f/2,y:l-i/2},{x:a+f/2,y:l-i/2+u},{x:a+p.width/2,y:l-i/2+u},{x:a+p.width/2/2,y:l+i/2},{x:a-p.width/2,y:l+i/2},{x:a-p.width/2,y:l-i/2+u},{x:a-f/2,y:l-i/2+u}],t)},m}async function tm(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:d,bbox:f}=await o(t,e,g(e)),u=Math.max(f.width+(s??0)*2,e?.width??0),m=Math.max(f.height+(n??0)*2,e?.height??0),w=[{x:0,y:0},{x:u,y:0},{x:u+3*m/6,y:-m},{x:-3*m/6,y:-m}],{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.default.svg(d),i=(0,a.userNodeOverrides)(e,{}),r=y(w),n=t.path(r,i);l=d.insert(()=>n,":first-child").attr("transform",`translate(${-u/2}, ${m/2})`),p&&l.attr("style",p)}else l=I(d,u,m,w);return r&&l.attr("style",r),e.width=u,e.height=m,c(e,l),e.intersect=function(t){return L(e,w,t)},d}async function tw(t,e){let{shapeSvg:a,bbox:l,label:i}=await o(t,e,"label"),r=a.insert("rect",":first-child");return r.attr("width",.1).attr("height",.1),a.attr("class","label edgeLabel"),i.attr("transform",`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),c(e,r),e.intersect=function(t){return w(e,t)},a}async function tp(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:d,bbox:f}=await o(t,e,g(e)),u=(e?.height??f.height)+n,m=(e?.width??f.width)+s,w=[{x:0,y:0},{x:m+3*u/6,y:0},{x:m,y:-u},{x:-(3*u)/6,y:-u}],{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.default.svg(d),i=(0,a.userNodeOverrides)(e,{}),r=y(w),n=t.path(r,i);l=d.insert(()=>n,":first-child").attr("transform",`translate(${-m/2}, ${u/2})`),p&&l.attr("style",p)}else l=I(d,m,u,w);return r&&l.attr("style",r),e.width=m,e.height=u,c(e,l),e.intersect=function(t){return L(e,w,t)},d}async function tx(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:d,bbox:f}=await o(t,e,g(e)),u=(e?.height??f.height)+n,m=(e?.width??f.width)+s,w=[{x:-3*u/6,y:0},{x:m,y:0},{x:m+3*u/6,y:-u},{x:0,y:-u}],{cssStyles:p}=e;if("handDrawn"===e.look){let t=h.default.svg(d),i=(0,a.userNodeOverrides)(e,{}),r=y(w),n=t.path(r,i);l=d.insert(()=>n,":first-child").attr("transform",`translate(${-m/2}, ${u/2})`),p&&l.attr("style",p)}else l=I(d,m,u,w);return r&&l.attr("style",r),e.width=m,e.height=u,c(e,l),e.intersect=function(t){return L(e,w,t)},d}function tb(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.label="",e.labelStyle=l;let r=t.insert("g").attr("class",g(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,o=Math.max(35,e?.width??0),d=Math.max(35,e?.height??0),f=[{x:o,y:0},{x:0,y:d+3.5},{x:o-14,y:d+3.5},{x:0,y:2*d},{x:o,y:d-3.5},{x:14,y:d-3.5}],u=h.default.svg(r),m=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let w=y(f),p=u.path(w,m),x=r.insert(()=>p,":first-child");return x.attr("class","outer-path"),s&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",s),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),x.attr("transform",`translate(-${o/2},${-d})`),c(e,x),e.intersect=function(t){return n.log.info("lightningBolt intersect",e,t),L(e,f,t)},r}(0,n.__name)(to,"hexagon"),(0,n.__name)(td,"hourglass"),(0,n.__name)(tc,"icon"),(0,n.__name)(tg,"iconCircle"),(0,n.__name)(ty,"iconRounded"),(0,n.__name)(tf,"iconSquare"),(0,n.__name)(tu,"imageSquare"),(0,n.__name)(tm,"inv_trapezoid"),(0,n.__name)(tw,"labelRect"),(0,n.__name)(tp,"lean_left"),(0,n.__name)(tx,"lean_right"),(0,n.__name)(tb,"lightningBolt");var t$=(0,n.__name)((t,e,a,l,i,r,n)=>`M${t},${e+r} a${i},${r} 0,0,0 ${a},0 a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l} M${t},${e+r+n} a${i},${r} 0,0,0 ${a},0`,"createCylinderPathD"),tk=(0,n.__name)((t,e,a,l,i,r,n)=>`M${t},${e+r} M${t+a},${e+r} a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l} M${t},${e+r+n} a${i},${r} 0,0,0 ${a},0`,"createOuterCylinderPathD"),t_=(0,n.__name)((t,e,a,l,i,r)=>`M${t-a/2},${-l/2} a${i},${r} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function tS(t,e){let l,{labelStyles:r,nodeStyles:n}=(0,a.styles2String)(e);e.labelStyle=r;let s=e.padding??0,d="neo"===e.look?16:s,y="neo"===e.look?24:s;if(e.width||e.height){let t=e.width??0;e.width=(e.width??0)-d,e.width<10&&(e.width=10),e.height=(e.height??0)-y-t/2/(2.5+t/50)*3,e.height<10&&(e.height=10)}let{shapeSvg:f,bbox:u,label:m}=await o(t,e,g(e)),p=(e?.width?e?.width:u.width)+2*d,x=p/2,b=x/(2.5+p/50),$=(e?.height?e?.height:u.height)+b+2*y,k=.1*$,{cssStyles:_}=e;if("handDrawn"===e.look){let t=h.default.svg(f),i=tk(0,0,p,$,x,b,k),r=t_(0,b,p,$,x,b),n=(0,a.userNodeOverrides)(e,{}),s=t.path(i,n),o=t.path(r,n);f.insert(()=>o,":first-child").attr("class","line"),(l=f.insert(()=>s,":first-child")).attr("class","basic label-container"),_&&l.attr("style",_)}else{let t=t$(0,0,p,$,x,b,k);l=f.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,i.handleUndefinedAttr)(_)).attr("style",n)}return l.attr("label-offset-y",b),l.attr("transform",`translate(${-p/2}, ${-($/2+b)})`),c(e,l),m.attr("transform",`translate(${-(u.width/2)-(u.x-(u.left??0))}, ${-(u.height/2)+b-(u.y-(u.top??0))})`),e.intersect=function(t){let a=w(e,t),l=a.x-(e.x??0);if(0!=x&&(Math.abs(l)<(e.width??0)/2||Math.abs(l)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-b)){let i=b*b*(1-l*l/(x*x));i>0&&(i=Math.sqrt(i)),i=b-i,t.y-(e.y??0)>0&&(i=-i),a.y+=i}return a},f}async function tv(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;if(e.width||e.height){let t=e.width;e.width=(t??0)*10/11-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10)}let{shapeSvg:d,bbox:y,label:u}=await o(t,e,g(e)),m=(e?.width?e?.width:y.width)+(n??0)*2,w=(e?.height?e?.height:y.height)+(s??0)*2,p="neo"===e.look?w/4:w/8,x=w+p,{cssStyles:b}=e,$=h.default.svg(d),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=[{x:-m/2-m/2*.1,y:-x/2},{x:-m/2-m/2*.1,y:x/2},...f(-m/2-m/2*.1,x/2,m/2+m/2*.1,x/2,p,.8),{x:m/2+m/2*.1,y:-x/2},{x:-m/2-m/2*.1,y:-x/2},{x:-m/2,y:-x/2},{x:-m/2,y:x/2*1.1},{x:-m/2,y:-x/2}],S=$.polygon(_.map(t=>[t.x,t.y]),k),v=d.insert(()=>S,":first-child");return v.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(0,${-p/2})`),u.attr("transform",`translate(${-m/2+(e.padding??0)+m/2*.1/2-(y.x-(y.left??0))},${-w/2+(e.padding??0)-p/2-(y.y-(y.top??0))})`),c(e,v),e.intersect=function(t){return L(e,_,t)},d}async function tM(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,d="neo"===e.look?10:5;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n-2*d,10),e.height=Math.max((e?.height??0)-2*s-2*d,10));let{shapeSvg:f,bbox:u,label:w}=await o(t,e,g(e)),p=(e?.width?e?.width:u.width)+2*n+2*d,x=(e?.height?e?.height:u.height)+2*s+2*d,b=p-2*d,$=x-2*d,k=-b/2,_=-$/2,{cssStyles:S}=e,v=h.default.svg(f),M=(0,a.userNodeOverrides)(e,{}),N=[{x:k-d,y:_+d},{x:k-d,y:_+$+d},{x:k+b-d,y:_+$+d},{x:k+b-d,y:_+$},{x:k+b,y:_+$},{x:k+b,y:_+$-d},{x:k+b+d,y:_+$-d},{x:k+b+d,y:_-d},{x:k+d,y:_-d},{x:k+d,y:_},{x:k,y:_},{x:k,y:_+d}];"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let D=y(N),C=v.path(D,M),B=y([{x:k,y:_+d},{x:k+b-d,y:_+d},{x:k+b-d,y:_+$},{x:k+b,y:_+$},{x:k+b,y:_},{x:k,y:_}]),A=v.path(B,M);"handDrawn"!==e.look&&(C=m(C),A=m(A));let R=f.insert("g",":first-child");return R.insert(()=>C),R.insert(()=>A),R.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&R.selectAll("path").attr("style",S),i&&"handDrawn"!==e.look&&R.selectAll("path").attr("style",i),w.attr("transform",`translate(${-(u.width/2)-d-(u.x-(u.left??0))}, ${-(u.height/2)+d-(u.y-(u.top??0))})`),c(e,R),e.intersect=function(t){return L(e,N,t)},f}async function tN(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,label:s}=await o(t,e,g(e)),d=e.padding??0,u="neo"===e.look?16:d,m="neo"===e.look?12:d,w=!0;(e.width||e.height)&&(w=!1,e.width=(e?.width??0)-2*u,e.height=(e?.height??0)-3*m);let p=Math.max(n.width,e?.width??0)+2*u,x=Math.max(n.height,e?.height??0)+3*m,b="neo"===e.look?x/4:x/8,$=x+(w?b/2:-b/2),k=-p/2,_=-$/2,{cssStyles:S}=e,v=f(k-10,_+$+10,k+p-10,_+$+10,b,.8),M=v?.[v.length-1],N=[{x:k-10,y:_+10},{x:k-10,y:_+$+10},...v,{x:k+p-10,y:M.y-10},{x:k+p,y:M.y-10},{x:k+p,y:M.y-20},{x:k+p+10,y:M.y-20},{x:k+p+10,y:_-10},{x:k+10,y:_-10},{x:k+10,y:_},{x:k,y:_},{x:k,y:_+10}],D=[{x:k,y:_+10},{x:k+p-10,y:_+10},{x:k+p-10,y:M.y-10},{x:k+p,y:M.y-10},{x:k+p,y:_},{x:k,y:_}],C=h.default.svg(r),B=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(B.roughness=0,B.fillStyle="solid");let A=y(N),R=C.path(A,B),O=y(D),P=C.path(O,B),T=r.insert(()=>R,":first-child");return T.insert(()=>P),T.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",S),i&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",i),T.attr("transform",`translate(0,${-b/2})`),s.attr("transform",`translate(${-(n.width/2)-10-(n.x-(n.left??0))}, ${-(n.height/2)+10-b/2-(n.y-(n.top??0))})`),c(e,T),e.intersect=function(t){return L(e,N,t)},r}async function tD(t,e,{config:{themeVariables:l}}){let{labelStyles:i,nodeStyles:n}=(0,a.styles2String)(e);e.labelStyle=i,e.useHtmlLabels||(0,r.getEffectiveHtmlLabels)((0,r.getConfig)())||(e.centerLabel=!0);let{shapeSvg:s,bbox:d,label:y}=await o(t,e,g(e)),f=Math.max(d.width+(e.padding??0)*2,e?.width??0),u=Math.max(d.height+(e.padding??0)*2,e?.height??0),{cssStyles:m}=e,p=h.default.svg(s),x=(0,a.userNodeOverrides)(e,{fill:l.noteBkgColor,stroke:l.noteBorderColor});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=p.rectangle(-f/2,-u/2,f,u,x),$=s.insert(()=>b,":first-child");return $.attr("class","basic label-container outer-path"),y.attr("class","label noteLabel"),m&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",m),n&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",n),y.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))}, ${-(d.height/2)-(d.y-(d.top??0))})`),c(e,$),e.intersect=function(t){return w(e,t)},s}(0,n.__name)(tS,"linedCylinder"),(0,n.__name)(tv,"linedWaveEdgedRect"),(0,n.__name)(tM,"multiRect"),(0,n.__name)(tN,"multiWaveEdgedRectangle"),(0,n.__name)(tD,"note");var tC=(0,n.__name)((t,e,a)=>`M${t+a/2},${e} L${t+a},${e-a/2} L${t+a/2},${e-a} L${t},${e-a/2} Z`,"createDecisionBoxPathD");async function tB(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let{shapeSvg:n,bbox:s}=await o(t,e,g(e)),d=s.width+(e.padding??0)+(s.height+(e.padding??0)),y=[{x:d/2,y:0},{x:d,y:-d/2},{x:d/2,y:-d},{x:0,y:-d/2}],{cssStyles:f}=e;if("handDrawn"===e.look){let t=h.default.svg(n),i=(0,a.userNodeOverrides)(e,{}),r=tC(0,0,d),s=t.path(r,i);l=n.insert(()=>s,":first-child").attr("transform",`translate(${-d/2+.5}, ${d/2})`),f&&l.attr("style",f)}else(l=I(n,d,d,y)).attr("transform",`translate(${-d/2+.5}, ${d/2})`);return r&&l.attr("style",r),c(e,l),e.calcIntersect=function(t,e){let a=t.width,l=L(t,[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}],e);return{x:l.x-.5,y:l.y-.5}},e.intersect=function(t){return this.calcIntersect(e,t)},n}async function tA(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?21:r??0,s="neo"===e.look?12:r??0,{shapeSvg:d,bbox:f,label:u}=await o(t,e,g(e)),m=(e?.width??f.width)+("neo"===e.look?2*n:n),w=(e?.height??f.height)+("neo"===e.look?2*s:s),p=-m/2,x=-w/2,b=x/2,$=[{x:p+b,y:x},{x:p,y:0},{x:p+b,y:-x},{x:-p,y:-x},{x:-p,y:x}],{cssStyles:k}=e,_=h.default.svg(d),S=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let v=y($),M=_.path(v,S),N=d.insert(()=>M,":first-child");return N.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",k),i&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",i),N.attr("transform",`translate(${-b/2},0)`),u.attr("transform",`translate(${-b/2-f.width/2-(f.x-(f.left??0))}, ${-(f.height/2)-(f.y-(f.top??0))})`),c(e,N),e.intersect=function(t){return L(e,$,t)},d}async function tL(t,e){let l,i,o,{labelStyles:d,nodeStyles:g}=(0,a.styles2String)(e);e.labelStyle=d,l=e.cssClasses?"node "+e.cssClasses:"node default";let y=t.insert("g").attr("class",l).attr("id",e.domId||e.id),f=y.insert("g"),u=y.insert("g").attr("class","label").attr("style",g),m=e.description,b=e.label,$=await p(u,b,e.labelStyle,!0,!0),k={width:0,height:0};if((0,r.getEffectiveHtmlLabels)((0,r.getConfig2)())){let t=$.children[0],e=(0,s.select)($);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}n.log.info("Text 2",m);let _=m||[],S=$.getBBox(),v=await p(u,Array.isArray(_)?_.join("<br/>"):_,e.labelStyle,!0,!0),M=v.children[0],N=(0,s.select)(v);k=M.getBoundingClientRect(),N.attr("width",k.width),N.attr("height",k.height);let D=(e.padding||0)/2;(0,s.select)(v).attr("transform","translate( "+(k.width>S.width?0:(S.width-k.width)/2)+", "+(S.height+D+5)+")"),(0,s.select)($).attr("transform","translate( "+(k.width<S.width?0:-(S.width-k.width)/2)+", 0)"),k=u.node().getBBox(),u.attr("transform","translate("+-k.width/2+", "+(-k.height/2-D+3)+")");let C=k.width+(e.padding||0),B=k.height+(e.padding||0),A=-k.width/2-D,L=-k.height/2-D;if("handDrawn"===e.look){let t=h.default.svg(y),l=(0,a.userNodeOverrides)(e,{}),r=t.path(x(A,L,C,B,e.rx||0),l),s=t.line(-k.width/2-D,-k.height/2-D+S.height+D,k.width/2+D,-k.height/2-D+S.height+D,l);o=y.insert(()=>(n.log.debug("Rough node insert CXC",r),s),":first-child"),i=y.insert(()=>(n.log.debug("Rough node insert CXC",r),r),":first-child")}else i=f.insert("rect",":first-child"),o=f.insert("line"),i.attr("class","outer title-state").attr("style",g).attr("x",-k.width/2-D).attr("y",-k.height/2-D).attr("width",k.width+(e.padding||0)).attr("height",k.height+(e.padding||0)),o.attr("class","divider").attr("x1",-k.width/2-D).attr("x2",k.width/2+D).attr("y1",-k.height/2-D+S.height+D).attr("y2",-k.height/2-D+S.height+D);return c(e,i),e.intersect=function(t){return w(e,t)},y}async function tR(t,e,{config:{themeVariables:a}}){let l=a?.radius??5,i={rx:l,ry:l,classes:"",labelPaddingX:(e?.padding??0)*1,labelPaddingY:(e?.padding??0)*1};return tt(t,e,i)}async function tO(t,e){let{labelStyles:l,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=l;let n="neo"===e.look?16:e.padding??0,s="neo"===e.look?12:e.padding??0,{shapeSvg:d,bbox:y,label:f}=await o(t,e,g(e)),u=(e?.width??y.width)+2*n+("neo"===e.look?8:16),m=(e?.height??y.height)+2*s,p=u-8,x=8-u/2,b=-m/2,{cssStyles:$}=e,k=h.default.svg(d),_=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");let S=k.polygon([{x,y:b},{x:x+p,y:b},{x:x+p,y:b+m},{x:x-8,y:b+m},{x:x-8,y:b},{x,y:b},{x,y:b+m}].map(t=>[t.x,t.y]),_),v=d.insert(()=>S,":first-child");return v.attr("class","basic label-container outer-path").attr("style",(0,i.handleUndefinedAttr)($)),r&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",r),$&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",r),f.attr("transform",`translate(${4-y.width/2-(y.x-(y.left??0))}, ${-(y.height/2)-(y.y-(y.top??0))})`),c(e,v),e.intersect=function(t){return w(e,t)},d}async function tP(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n,10),e.height=Math.max((e?.height??0)/1.5-2*s,10));let{shapeSvg:d,bbox:f,label:u}=await o(t,e,g(e)),m=(e?.width?e?.width:f.width)+2*n,w=((e?.height?e?.height:f.height)+2*s)*1.5/1.5,p=-m/2,x=-w/2,{cssStyles:b}=e,$=h.default.svg(d),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=[{x:p,y:x},{x:p,y:x+w},{x:p+m,y:x+w},{x:p+m,y:x-w/2}],S=y(_),v=$.path(S,k),M=d.insert(()=>v,":first-child");return M.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",i),M.attr("transform",`translate(0, ${w/4})`),u.attr("transform",`translate(${-m/2+(e.padding??0)-(f.x-(f.left??0))}, ${-w/4+(e.padding??0)-(f.y-(f.top??0))})`),c(e,M),e.intersect=function(t){return L(e,_,t)},d}async function tT(t,e){let a=e.padding??0,l="neo"===e.look?16:2*a,i="neo"===e.look?12:a,r={rx:0,ry:0,classes:"",labelPaddingX:e.labelPaddingX??l,labelPaddingY:i};return tt(t,e,r)}async function tI(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?20:r,s="neo"===e.look?12:r,{shapeSvg:d,bbox:f}=await o(t,e,g(e)),m=f.height+("neo"===e.look?2*s:s),w=f.width+m/4+("neo"===e.look?2*n:n),p=m/2,{cssStyles:x}=e,b=h.default.svg(d),$=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&($.roughness=0,$.fillStyle="solid");let k=[{x:-w/2+p,y:-m/2},{x:w/2-p,y:-m/2},...u(-w/2+p,0,p,50,90,270),{x:w/2-p,y:m/2},...u(w/2-p,0,p,50,270,450)],_=y(k),S=b.path(_,$),v=d.insert(()=>S,":first-child");return v.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",i),c(e,v),e.intersect=function(t){return L(e,k,t)},d}async function tE(t,e){let a={rx:"neo"===e.look?3:5,ry:"neo"===e.look?3:5,classes:"flowchart-node"};return tt(t,e,a)}function tH(t,e,{config:{themeVariables:l}}){let{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let{cssStyles:n}=e,{lineColor:s,stateBorder:o,nodeBorder:d,nodeShadow:g}=l;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let y=t.insert("g").attr("class","node default").attr("id",e.domId??e.id),f=h.default.svg(y),u=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(u.roughness=0,u.fillStyle="solid");let m=f.circle(0,0,e.width,{...u,stroke:s,strokeWidth:2}),w=o??d,p=(e.width??0)*5/14,x=f.circle(0,0,p,{...u,fill:w,stroke:w,strokeWidth:2,fillStyle:"solid"}),b=y.insert(()=>m,":first-child");if(b.insert(()=>x),"handDrawn"!==e.look&&b.attr("class","outer-path"),n&&b.selectAll("path").attr("style",n),r&&b.selectAll("path").attr("style",r),e.width<25&&g&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";b.attr("style",`filter:url(#${a})`)}return c(e,b),e.intersect=function(t){return C(e,(e.width??0)/2,t)},y}function tW(t,e,{config:{themeVariables:l}}){let i,{lineColor:r,nodeShadow:n}=l;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let s=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=h.default.svg(s).circle(0,0,e.width,(0,a.solidStateFill)(r));(i=s.insert(()=>t)).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14)}else(i=s.insert("circle",":first-child")).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14);if(e.width<25&&n&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";i.attr("style",`filter:url(#${a})`)}return c(e,i),e.intersect=function(t){return C(e,(e.width??7)/2,t)},s}async function tq(t,e){let{labelStyles:l,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=l;let n=e?.padding??8,s="neo"===e.look?28:n,d="neo"===e.look?12:n,{shapeSvg:y,bbox:f}=await o(t,e,g(e)),u=(e?.width??f.width)+16+s,m=(e?.height??f.height)+d,w=u-16,p=-u/2,x=-m/2,b=[{x:0,y:0},{x:w,y:0},{x:w,y:-m},{x:0,y:-m},{x:0,y:0},{x:-8,y:0},{x:w+8,y:0},{x:w+8,y:-m},{x:-8,y:-m},{x:-8,y:0}];if("handDrawn"===e.look){let t=h.default.svg(y),l=(0,a.userNodeOverrides)(e,{}),r=t.rectangle(p,x,w+16,m,l),n=t.line(p+8,x,p+8,x+m,l),s=t.line(p+8+w,x,p+8+w,x+m,l);y.insert(()=>n,":first-child"),y.insert(()=>s,":first-child");let o=y.insert(()=>r,":first-child"),{cssStyles:d}=e;o.attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)(d)),c(e,o)}else{let t=I(y,w,m,b);r&&t.attr("style",r),c(e,t)}return e.intersect=function(t){return L(e,b,t)},y}async function tj(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.height=Math.max((e?.height??0)-2*s,10),e.width=Math.max((e?.width??0)-2*n-.2*(e.height+2*s),10));let{shapeSvg:d,bbox:f}=await o(t,e,g(e)),u=(e?.height?e?.height:f.height)+2*s,m=.2*u,w=(e?.width?e?.width:f.width)+2*n+m-m,p=-w/2,x=-u/2,{cssStyles:b}=e,$=h.default.svg(d),k=(0,a.userNodeOverrides)(e,{}),_=[{x:p-m/2,y:x},{x:p+w+m/2,y:x},{x:p+w+m/2,y:x+u},{x:p-m/2,y:x+u}];"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let S=y(_),v=$.path(S,k),M=y([{x:p+w-m/2,y:x+u},{x:p+w+m/2,y:x+u},{x:p+w+m/2,y:x+u-.2*u}]),N=$.path(M,{...k,fillStyle:"solid"}),D=d.insert(()=>N,":first-child");return D.insert(()=>v,":first-child"),D.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&D.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&D.selectAll("path").attr("style",i),c(e,D),e.intersect=function(t){return L(e,_,t)},d}async function tz(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,label:s}=await o(t,e,g(e)),d=Math.max(n.width+(e.padding??0)*2,e?.width??0),u=Math.max(n.height+(e.padding??0)*2,e?.height??0),m=u/8,w=.2*d,p=.2*u,x=u+m,{cssStyles:b}=e,$=h.default.svg(r),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=[{x:-d/2-d/2*.1,y:x/2},...f(-d/2-d/2*.1,x/2,d/2+d/2*.1,x/2,m,.8),{x:d/2+d/2*.1,y:-x/2},{x:-d/2-d/2*.1,y:-x/2}],S=-d/2+d/2*.1,v=-x/2-.4*p,M=[{x:S+d-w,y:(v+u)*1.3},{x:S+d,y:v+u-p},{x:S+d,y:(v+u)*.9},...f(S+d,(v+u)*1.25,S+d-w,(v+u)*1.3,-(.02*u),.5)],N=y(_),D=$.path(N,k),C=y(M),B=$.path(C,{...k,fillStyle:"solid"}),A=r.insert(()=>B,":first-child");return A.insert(()=>D,":first-child"),A.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",i),A.attr("transform",`translate(0,${-m/2})`),s.attr("transform",`translate(${-d/2+(e.padding??0)-(n.x-(n.left??0))},${-u/2+(e.padding??0)-m/2-(n.y-(n.top??0))})`),c(e,A),e.intersect=function(t){return L(e,_,t)},r}async function tU(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n}=await o(t,e,g(e)),s=Math.max(n.width+(e.padding??0),e?.width||0),h=Math.max(n.height+(e.padding??0),e?.height||0),d=r.insert("rect",":first-child");return d.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",-s/2).attr("y",-h/2).attr("width",s).attr("height",h),c(e,d),e.intersect=function(t){return w(e,t)},r}(0,n.__name)(tB,"question"),(0,n.__name)(tA,"rect_left_inv_arrow"),(0,n.__name)(tL,"rectWithTitle"),(0,n.__name)(tR,"roundedRect"),(0,n.__name)(tO,"shadedProcess"),(0,n.__name)(tP,"slopedRect"),(0,n.__name)(tT,"squareRect"),(0,n.__name)(tI,"stadium"),(0,n.__name)(tE,"state"),(0,n.__name)(tH,"stateEnd"),(0,n.__name)(tW,"stateStart"),(0,n.__name)(tq,"subroutine"),(0,n.__name)(tj,"taggedRect"),(0,n.__name)(tz,"taggedWaveEdgedRectangle"),(0,n.__name)(tU,"text");var tF=(0,n.__name)((t,e,a,l,i,r)=>`M${t},${e}
|
|
3
|
+
a${i},${r} 0,0,1 0,${-l}
|
|
4
|
+
l${a},0
|
|
5
|
+
a${i},${r} 0,0,1 0,${l}
|
|
6
|
+
M${a},${-l}
|
|
7
|
+
a${i},${r} 0,0,0 0,${l}
|
|
8
|
+
l${-a},0`,"createCylinderPathD"),tV=(0,n.__name)((t,e,a,l,i,r)=>`M${t},${e} M${t+a},${e} a${i},${r} 0,0,0 0,${-l} l${-a},0 a${i},${r} 0,0,0 0,${l} l${a},0`,"createOuterCylinderPathD"),tX=(0,n.__name)((t,e,a,l,i,r)=>`M${t+a/2},${-l/2} a${i},${r} 0,0,0 0,${l}`,"createInnerCylinderPathD");async function tG(t,e){let l,{labelStyles:r,nodeStyles:n}=(0,a.styles2String)(e);e.labelStyle=r;let s=e.padding??0,d="neo"===e.look?12:s/2;if(e.width||e.height){let t=e.height??0;e.height=(e.height??0)-d,e.height<5&&(e.height=5),e.width=(e.width??0)-d-t/2/(2.5+t/50)*3,e.width<10&&(e.width=10)}let{shapeSvg:y,bbox:f,label:u}=await o(t,e,g(e)),m=(e.height?e.height:f.height)+d,p=m/2,x=p/(2.5+m/50),b=(e.width?e.width:f.width)+x+d,{cssStyles:$}=e;if("handDrawn"===e.look){let t=h.default.svg(y),i=tV(0,0,b,m,x,p),r=tX(0,0,b,m,x,p),n=t.path(i,(0,a.userNodeOverrides)(e,{})),s=t.path(r,(0,a.userNodeOverrides)(e,{fill:"none"}));l=y.insert(()=>s,":first-child"),(l=y.insert(()=>n,":first-child")).attr("class","basic label-container"),$&&l.attr("style",$)}else{let t=tF(0,0,b,m,x,p);(l=y.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)($)).attr("style",n)).attr("class","basic label-container outer-path"),$&&l.selectAll("path").attr("style",$),n&&l.selectAll("path").attr("style",n)}return l.attr("label-offset-x",x),l.attr("transform",`translate(${-b/2}, ${m/2} )`),u.attr("transform",`translate(${-(f.width/2)-x-(f.x-(f.left??0))}, ${-(f.height/2)-(f.y-(f.top??0))})`),c(e,l),e.intersect=function(t){let a=w(e,t),l=a.y-(e.y??0);if(0!=p&&(Math.abs(l)<(e.height??0)/2||Math.abs(l)==(e.height??0)/2&&Math.abs(a.x-(e.x??0))>(e.width??0)/2-x)){let i=x*x*(1-l*l/(p*p));0!=i&&(i=Math.sqrt(Math.abs(i))),i=x-i,t.x-(e.x??0)>0&&(i=-i),a.x+=i}return a},y}async function tZ(t,e){let l,{labelStyles:i,nodeStyles:r}=(0,a.styles2String)(e);e.labelStyle=i;let n=e.padding??0,s=(e.look,n),d="neo"===e.look?2*n:n,{shapeSvg:f,bbox:u}=await o(t,e,g(e)),m=(e?.height??u.height)+s,w=(e?.width??u.width)+d,p=[{x:-3*m/6,y:0},{x:w+3*m/6,y:0},{x:w,y:-m},{x:0,y:-m}],{cssStyles:x}=e;if("handDrawn"===e.look){let t=h.default.svg(f),i=(0,a.userNodeOverrides)(e,{}),r=y(p),n=t.path(r,i);l=f.insert(()=>n,":first-child").attr("transform",`translate(${-w/2}, ${m/2})`),x&&l.attr("style",x)}else l=I(f,w,m,p);return r&&l.attr("style",r),e.width=w,e.height=m,c(e,l),e.intersect=function(t){return L(e,p,t)},f}async function tY(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.height=(e.height??0)-2*s,e.height<5&&(e.height=5),e.width=(e.width??0)-2*n,e.width<15&&(e.width=15));let{shapeSvg:d,bbox:f}=await o(t,e,g(e)),u=(e?.width?e?.width:f.width)+2*n,m=(e?.height?e?.height:f.height)+2*s,{cssStyles:w}=e,p=h.default.svg(d),x=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-u/2*.8,y:-m/2},{x:u/2*.8,y:-m/2},{x:u/2,y:-m/2*.6},{x:u/2,y:m/2},{x:-u/2,y:m/2},{x:-u/2,y:-m/2*.6}],$=y(b),k=p.path($,x),_=d.insert(()=>k,":first-child");return _.attr("class","basic label-container outer-path"),w&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",w),i&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",i),c(e,_),e.intersect=function(t){return L(e,b,t)},d}async function tJ(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let s=e.padding??0,d="neo"===e.look?2*s:s;(e.width||e.height)&&(e.width=((e?.width??0)-d)/2,e.width<10&&(e.width=10),e.height=e?.height??0,e.height<10&&(e.height=10));let{shapeSvg:f,bbox:u,label:m}=await o(t,e,g(e)),w=(0,r.evaluate)((0,r.getConfig2)().flowchart?.htmlLabels),p=(e?.width?e?.width:u.width)+d,x=e?.height?e?.height:p+u.height,b=[{x:0,y:0},{x:x,y:0},{x:x/2,y:-x}],{cssStyles:$}=e,k=h.default.svg(f),_=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");let S=y(b),v=k.path(S,_),M=f.insert(()=>v,":first-child").attr("transform",`translate(${-x/2}, ${x/2})`).attr("class","outer-path");return $&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",$),i&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",i),e.width=p,e.height=x,c(e,M),m.attr("transform",`translate(${-u.width/2-(u.x-(u.left??0))}, ${x/2-(u.height+(e.padding??0)/(w?2:1)-(u.y-(u.top??0)))})`),e.intersect=function(t){return n.log.info("Triangle intersect",e,b,t),L(e,b,t)},f}async function tK(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,d=!0;(e.width||e.height)&&(d=!1,e.width=(e?.width??0)-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10));let{shapeSvg:u,bbox:m,label:w}=await o(t,e,g(e)),p=(e?.width?e?.width:m.width)+(n??0)*2,x=(e?.height?e?.height:m.height)+(s??0)*2,b="neo"===e.look?x/4:x/8,$=x+(d?b:-b),{cssStyles:k}=e,_=14-p,S=_>0?_/2:0,v=h.default.svg(u),M=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let N=[{x:-p/2-S,y:$/2},...f(-p/2-S,$/2,p/2+S,$/2,b,.8),{x:p/2+S,y:-$/2},{x:-p/2-S,y:-$/2}],D=y(N),C=v.path(D,M),B=u.insert(()=>C,":first-child");return B.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",k),i&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",i),B.attr("transform",`translate(0,${-b/2})`),w.attr("transform",`translate(${-p/2+(e.padding??0)-(m.x-(m.left??0))},${-x/2+(e.padding??0)-b-(m.y-(m.top??0))})`),c(e,B),e.intersect=function(t){return L(e,N,t)},u}async function tQ(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?20:r;if(e.width||e.height){e.width=e?.width??0,e.width<20&&(e.width=20),e.height=e?.height??0,e.height<10&&(e.height=10);let t=Math.min(.2*e.height,e.height/4);e.height=Math.ceil(e.height-s-20/9*t),e.width=e.width-2*n}let{shapeSvg:d,bbox:u}=await o(t,e,g(e)),m=(e?.width?e?.width:u.width)+2*n,w=(e?.height?e?.height:u.height)+s,p=w/8,x=w+2*p,{cssStyles:b}=e,$=h.default.svg(d),k=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let _=[{x:-m/2,y:x/2},...f(-m/2,x/2,m/2,x/2,p,1),{x:m/2,y:-x/2},...f(m/2,-x/2,-m/2,-x/2,p,-1)],S=y(_),v=$.path(S,k),M=d.insert(()=>v,":first-child");return M.attr("class","basic label-container"),b&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),c(e,M),e.intersect=function(t){return L(e,_,t)},d}async function t0(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*r-10,10),e.height=Math.max((e?.height??0)-2*n-10,10));let{shapeSvg:s,bbox:d,label:y}=await o(t,e,g(e)),f=(e?.width?e?.width:d.width)+2*r+10,u=(e?.height?e?.height:d.height)+2*n+10,m=f-10,w=u-10,p=-m/2,x=-w/2,{cssStyles:b}=e,$=h.default.svg(s),k=(0,a.userNodeOverrides)(e,{}),_=[{x:p-10,y:x-10},{x:p-10,y:x+w},{x:p+m,y:x+w},{x:p+m,y:x-10}],S=`M${p-10},${x-10} L${p+m},${x-10} L${p+m},${x+w} L${p-10},${x+w} L${p-10},${x-10}
|
|
9
|
+
M${p-10},${x} L${p+m},${x}
|
|
10
|
+
M${p},${x-10} L${p},${x+w}`;"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let v=$.path(S,k),M=s.insert(()=>v,":first-child");return M.attr("transform","translate(5, 5)"),M.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",b),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),y.attr("transform",`translate(${-(d.width/2)+5-(d.x-(d.left??0))}, ${-(d.height/2)+5-(d.y-(d.top??0))})`),c(e,M),e.intersect=function(t){return L(e,_,t)},s}(0,n.__name)(tG,"tiltedCylinder"),(0,n.__name)(tZ,"trapezoid"),(0,n.__name)(tY,"trapezoidalPentagon"),(0,n.__name)(tJ,"triangle"),(0,n.__name)(tK,"waveEdgedRectangle"),(0,n.__name)(tQ,"waveRectangle"),(0,n.__name)(t0,"windowPane");var t2=new Set(["redux-color","redux-dark-color"]),t1=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function t5(t,e){e.alias&&(e.label=e.alias);let{theme:l,themeVariables:n}=(0,r.getConfig)(),{rowEven:o,rowOdd:d,nodeBorder:y,borderColorArray:f}=n;if("handDrawn"===e.look){let{themeVariables:a}=(0,r.getConfig)(),{background:l}=a,i={...e,id:e.id+"-background",domId:(e.domId||e.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${l}`]};await t5(t,i)}let u=(0,r.getConfig)();e.useHtmlLabels=u.htmlLabels;let m=u.er?.diagramPadding??10,p=u.er?.entityPadding??6,{cssStyles:x}=e,{labelStyles:b,nodeStyles:$}=(0,a.styles2String)(e);if(0===e.attributes.length&&e.label){let a={rx:0,ry:0,labelPaddingX:m,labelPaddingY:1.5*m,classes:""};(0,i.calculateTextWidth)(e.label,u)+2*a.labelPaddingX<u.er.minEntityWidth&&(e.width=u.er.minEntityWidth);let n=await tt(t,e,a);if(null!=l&&t2.has(l)){let t=e.colorIndex??0;n.attr("data-color-id",`color-${t%f.length}`)}if(!(0,r.evaluate)(u.htmlLabels)){let t=n.select("text"),e=t.node()?.getBBox();t.attr("transform",`translate(${-e.width/2}, 0)`)}return n}u.htmlLabels||(m*=1.25,p*=1.25);let k=g(e);k||(k="node default");let _=t.insert("g").attr("class",k).attr("id",e.domId||e.id),S=await t8(_,e.label??"",u,0,0,["name"],b);S.height+=p;let v=0,M=[],N=[],D=0,C=0,B=0,A=0,L=!0,R=!0;for(let t of e.attributes){let e=await t8(_,t.type,u,0,v,["attribute-type"],b);D=Math.max(D,e.width+m);let a=await t8(_,t.name,u,0,v,["attribute-name"],b);C=Math.max(C,a.width+m);let l=await t8(_,t.keys.join(),u,0,v,["attribute-keys"],b);B=Math.max(B,l.width+m);let i=await t8(_,t.comment,u,0,v,["attribute-comment"],b);A=Math.max(A,i.width+m);let r=Math.max(e.height,a.height,l.height,i.height)+p;N.push({yOffset:v,rowHeight:r}),v+=r}let O=4;B<=m&&(L=!1,B=0,O--),A<=m&&(R=!1,A=0,O--);let P=_.node().getBBox();if(S.width+2*m-(D+C+B+A)>0){let t=S.width+2*m-(D+C+B+A);D+=t/O,C+=t/O,B>0&&(B+=t/O),A>0&&(A+=t/O)}let T=D+C+B+A,I=h.default.svg(_),E=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(E.roughness=0,E.fillStyle="solid");let H=0;N.length>0&&(H=N.reduce((t,e)=>t+(e?.rowHeight??0),0));let W=Math.max(P.width+2*m,e?.width||0,T),q=Math.max((H??0)+S.height,e?.height||0),j=-W/2,z=-q/2;if(_.selectAll("g:not(:first-child)").each((t,e,a)=>{let l=(0,s.select)(a[e]),i=l.attr("transform"),r=0,n=0;if(i){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(r=parseFloat(t[1]),n=parseFloat(t[2]),l.attr("class").includes("attribute-name")?r+=D:l.attr("class").includes("attribute-keys")?r+=D+C:l.attr("class").includes("attribute-comment")&&(r+=D+C+B))}l.attr("transform",`translate(${j+m/2+r}, ${n+z+S.height+p/2})`)}),_.select(".name").attr("transform","translate("+-S.width/2+", "+(z+p/2)+")"),null!=l&&t2.has(l)){let t=e.colorIndex??0;_.attr("data-color-id",`color-${t%f.length}`)}let U=I.rectangle(j,z,W,q,E),F=_.insert(()=>U,":first-child").attr("class","outer-path").attr("style",x.join(""));for(let[t,e]of(M.push(0),N.entries())){let a=(t+1)%2==0&&0!==e.yOffset,l=I.rectangle(j,S.height+z+e?.yOffset,W,e?.rowHeight,{...E,fill:a?o:d,stroke:y});_.insert(()=>l,"g.label").attr("style",x.join("")).attr("class",`row-rect-${a?"even":"odd"}`)}let V=t4(j,S.height+z,W+j,S.height+z,1e-4),X=I.polygon(V.map(t=>[t.x,t.y]),E);if(_.insert(()=>X).attr("class","divider"),V=t4(D+j,S.height+z,D+j,q+z,1e-4),X=I.polygon(V.map(t=>[t.x,t.y]),E),_.insert(()=>X).attr("class","divider"),L){let t=D+C+j;V=t4(t,S.height+z,t,q+z,1e-4),X=I.polygon(V.map(t=>[t.x,t.y]),E),_.insert(()=>X).attr("class","divider")}if(R){let t=D+C+B+j;V=t4(t,S.height+z,t,q+z,1e-4),X=I.polygon(V.map(t=>[t.x,t.y]),E),_.insert(()=>X).attr("class","divider")}for(let t of M){let e=S.height+z+t;V=t4(j,e,W+j,e,1e-4),X=I.polygon(V.map(t=>[t.x,t.y]),E),_.insert(()=>X).attr("class","divider")}if(c(e,F),$&&"handDrawn"!==e.look)if(null!=l&&t1.has(l))_.selectAll("path").attr("style",$);else{let t=$.split(";"),e=t?.filter(t=>t.includes("stroke"))?.map(t=>`${t}`).join("; ");_.selectAll("path").attr("style",e??""),_.selectAll(".row-rect-even path").attr("style",$)}return e.intersect=function(t){return w(e,t)},_}async function t8(t,e,a,n=0,h=0,o=[],d=""){let c=t.insert("g").attr("class",`label ${o.join(" ")}`).attr("transform",`translate(${n}, ${h})`).attr("style",d);e!==(0,r.parseGenericTypes)(e)&&(e=(e=(0,r.parseGenericTypes)(e)).replaceAll("<","<").replaceAll(">",">"));let g=c.node().appendChild(await (0,l.createText)(c,e,{width:(0,i.calculateTextWidth)(e,a)+100,style:d,useHtmlLabels:a.htmlLabels},a));if(e.includes("<")||e.includes(">")){let t=g.children[0];for(t.textContent=t.textContent.replaceAll("<","<").replaceAll(">",">");t.childNodes[0];)(t=t.childNodes[0]).textContent=t.textContent.replaceAll("<","<").replaceAll(">",">")}let y=g.getBBox();if((0,r.evaluate)(a.htmlLabels)){let t=g.children[0];t.style.textAlign="start";let e=(0,s.select)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}return y}function t4(t,e,a,l,i){return t===a?[{x:t-i/2,y:e},{x:t+i/2,y:e},{x:a+i/2,y:l},{x:a-i/2,y:l}]:[{x:t,y:e-i/2},{x:t,y:e+i/2},{x:a,y:l+i/2},{x:a,y:l-i/2}]}async function t3(t,e,a,l,i=a.class.padding??12){let r=3*!l,n=t.insert("g").attr("class",g(e)).attr("id",e.domId||e.id),s=null,h=null,o=null,d=null,c=0,y=0,f=0;if(s=n.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await t6(s,{text:`\xab${t}\xbb`},0),c=s.node().getBBox().height}h=n.insert("g").attr("class","label-group text"),await t6(h,e,0,["font-weight: bolder"]);let u=h.node().getBBox();y=u.height,o=n.insert("g").attr("class","members-group text");let m=0;for(let t of e.members){let e=await t6(o,t,m,[t.parseClassifier()]);m+=e+r}(f=o.node().getBBox().height)<=0&&(f=i/2),d=n.insert("g").attr("class","methods-group text");let w=0;for(let t of e.methods){let e=await t6(d,t,w,[t.parseClassifier()]);w+=e+r}let p=n.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return h.attr("transform",`translate(${-u.width/2}, ${c})`),p=n.node().getBBox(),o.attr("transform",`translate(0, ${c+y+2*i})`),p=n.node().getBBox(),d.attr("transform",`translate(0, ${c+y+(f?f+4*i:2*i)})`),p=n.node().getBBox(),{shapeSvg:n,bbox:p}}async function t6(t,e,a,h=[]){let o,d=t.insert("g").attr("class","label").attr("style",h.join("; ")),c=(0,r.getConfig)(),g="useHtmlLabels"in e?e.useHtmlLabels:(0,r.evaluate)(c.htmlLabels)??!0,y="";y="text"in e?e.text:e.label,!g&&y.startsWith("\\")&&(y=y.substring(1)),(0,r.hasKatex)(y)&&(g=!0);let f=await (0,l.createText)(d,(0,r.sanitizeText2)((0,i.decodeEntities)(y)),{width:(0,i.calculateTextWidth)(y,c)+50,classes:"markdown-node-label",useHtmlLabels:g},c),u=1;if(g){let t=f.children[0],e=(0,s.select)(f);u=t.innerHTML.split("<br>").length,t.innerHTML.includes("</math>")&&(u+=t.innerHTML.split("<mrow>").length-1);let a=t.getElementsByTagName("img");if(a){let t=""===y.replace(/<img[^>]*>/g,"").trim();await Promise.all([...a].map(e=>new Promise(a=>{function l(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=5*parseInt(c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,10)+"px";e.style.minWidth=t,e.style.maxWidth=t}else e.style.width="100%";a(e)}(0,n.__name)(l,"setupImage"),setTimeout(()=>{e.complete&&l()}),e.addEventListener("error",l),e.addEventListener("load",l)})))}o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}else{h.includes("font-weight: bolder")&&(0,s.select)(f).selectAll("tspan").attr("font-weight",""),u=f.children.length;let t=f.children[0];(""===f.textContent||f.textContent.includes(">"))&&(t.textContent=y[0]+y.substring(1).replaceAll(">",">").replaceAll("<","<").trim()," "===y[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),o=f.getBBox()}return d.attr("transform","translate(0,"+(-o.height/(2*u)+a)+")"),o.height}async function t9(t,e){let l=(0,r.getConfig2)(),{themeVariables:i}=l,{useGradient:n}=i,o=l.class.padding??12,d=e.useHtmlLabels??(0,r.evaluate)(l.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:g,bbox:y}=await t3(t,e,l,d,o),{labelStyles:f,nodeStyles:u}=(0,a.styles2String)(e);e.labelStyle=f,e.cssStyles=e.styles||"";let m=e.styles?.join(";")||u||"";e.cssStyles||(e.cssStyles=m.replaceAll("!important","").split(";"));let p=0===e.members.length&&0===e.methods.length&&!l.class?.hideEmptyMembersBox,x=h.default.svg(g),b=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let $=Math.max(e.width??0,y.width),k=Math.max(e.height??0,y.height),_=(e.height??0)>y.height;0===e.members.length&&0===e.methods.length?k+=o:e.members.length>0&&0===e.methods.length&&(k+=2*o);let S=-$/2,v=-k/2,M=p?2*o:0===e.members.length&&0===e.methods.length?-o:0;_&&(M=2*o);let N=x.rectangle(S-o,v-o-(p?o:0===e.members.length&&0===e.methods.length?-o/2:0),$+2*o,k+2*o+M,b),D=g.insert(()=>N,":first-child");D.attr("class","basic label-container outer-path");let C=D.node().getBBox(),B=g.select(".annotation-group").node().getBBox().height-(p?o/2:0)||0,A=g.select(".label-group").node().getBBox().height-(p?o/2:0)||0,L=g.select(".members-group").node().getBBox().height-(p?o/2:0)||0,R=(B+A+v+o-(v-o-(p?o:0===e.members.length&&0===e.methods.length?-o/2:0)))/2;if(g.selectAll(".text").each((t,a,i)=>{let r=(0,s.select)(i[a]),n=r.attr("transform"),h=0;if(n){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(n);t&&(h=parseFloat(t[2]))}let c=h+v+o-(p?o:0===e.members.length&&0===e.methods.length?-o/2:0);if(r.attr("class").includes("methods-group")){let t=Math.max(L,o/2);c=_?Math.max(R,B+A+t+v+2*o+o)+2*o:B+A+t+v+4*o+o}0===e.members.length&&0===e.methods.length&&l.class?.hideEmptyMembersBox&&(c=e.annotations.length>0?h-o:h),d||(c-=4);let y=S;(r.attr("class").includes("label-group")||r.attr("class").includes("annotation-group"))&&(y=-r.node()?.getBBox().width/2||0,g.selectAll("text").each(function(t,e,a){"middle"===window.getComputedStyle(a[e]).textAnchor&&(y=0)})),r.attr("transform",`translate(${y}, ${c})`)}),e.members.length>0||e.methods.length>0||p){let t=B+A+v+o,a=x.line(C.x,t,C.x+C.width,t+.001,b);g.insert(()=>a).attr("class",`divider${"neo"===e.look&&!n?" neo-line":""}`).attr("style",m)}if(p||e.members.length>0||e.methods.length>0){let t=B+A+L+v+2*o+o,a=x.line(C.x,_?Math.max(R,t):t,C.x+C.width,(_?Math.max(R,t):t)+.001,b);g.insert(()=>a).attr("class",`divider${"neo"===e.look&&!n?" neo-line":""}`).attr("style",m)}if("handDrawn"!==e.look&&g.selectAll("path").attr("style",m),D.select(":nth-child(2)").attr("style",m),g.selectAll(".divider").select("path").attr("style",m),e.labelStyle?g.selectAll("span").attr("style",e.labelStyle):g.selectAll("span").attr("style",m),!d){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(m);if(e){let t=e[0].replace("color","fill");g.selectAll("tspan").attr("style",t)}else if(f){let e=t.exec(f);if(e){let t=e[0].replace("color","fill");g.selectAll("tspan").attr("style",t)}}}return c(e,D),e.intersect=function(t){return w(e,t)},g}async function t7(t,e){let l,{labelStyles:i,nodeStyles:n}=(0,a.styles2String)(e);e.labelStyle=i;let o="verifyMethod"in e,d=g(e),{themeVariables:y}=(0,r.getConfig2)(),{borderColorArray:f,requirementEdgeLabelBackground:u}=y,m=t.insert("g").attr("class",d).attr("id",e.domId??e.id),p=l=o?await et(m,`<<${e.type}>>`,0,e.labelStyle):await et(m,"<<Element>>",0,e.labelStyle),x=await et(m,e.name,p,e.labelStyle+"; font-weight: bold;");if(p+=x+20,o){let t=await et(m,`${e.requirementId?`ID: ${e.requirementId}`:""}`,p,e.labelStyle);p+=t;let a=await et(m,`${e.text?`Text: ${e.text}`:""}`,p,e.labelStyle);p+=a;let l=await et(m,`${e.risk?`Risk: ${e.risk}`:""}`,p,e.labelStyle);p+=l,await et(m,`${e.verifyMethod?`Verification: ${e.verifyMethod}`:""}`,p,e.labelStyle)}else{let t=await et(m,`${e.type?`Type: ${e.type}`:""}`,p,e.labelStyle);p+=t,await et(m,`${e.docRef?`Doc Ref: ${e.docRef}`:""}`,p,e.labelStyle)}let b=(m.node()?.getBBox().width??200)+20,$=(m.node()?.getBBox().height??200)+20,k=-b/2,_=-$/2,S=h.default.svg(m),v=(0,a.userNodeOverrides)(e,{});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");let M=S.rectangle(k,_,b,$,v),N=m.insert(()=>M,":first-child");if(N.attr("class","basic label-container outer-path").attr("style",n),f?.length){let t=e.colorIndex??0;m.attr("data-color-id",`color-${t%f.length}`)}if(m.selectAll(".label").each((t,e,a)=>{let l=(0,s.select)(a[e]),i=l.attr("transform"),r=0,n=0;if(i){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(r=parseFloat(t[1]),n=parseFloat(t[2]))}let h=n-$/2,o=k+10;(0===e||1===e)&&(o=r),l.attr("transform",`translate(${o}, ${h+20})`)}),p>l+x+20){let t,a=_+l+x+20;if("neo"===e.look){let e=[[k,a],[k+b,a],[k+b,a+.001],[k,a+.001]];t=S.polygon(e,v)}else t=S.line(k,a,k+b,a,v);m.insert(()=>t).attr("class","divider")}return c(e,N),e.intersect=function(t){return w(e,t)},n&&"handDrawn"!==e.look&&(u||f?.length)&&m.selectAll("path").attr("style",n),m}async function et(t,e,a,n=""){let h;if(""===e)return 0;let o=t.insert("g").attr("class","label").attr("style",n),d=(0,r.getConfig2)(),c=d.htmlLabels??!0,g=await (0,l.createText)(o,(0,r.sanitizeText2)((0,i.decodeEntities)(e)),{width:(0,i.calculateTextWidth)(e,d)+50,classes:"markdown-node-label",useHtmlLabels:c,style:n},d);if(c){let t=g.children[0],e=(0,s.select)(g);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}else{for(let t of g.children[0].children)n&&t.setAttribute("style",n);h=g.getBBox(),h.height+=6}return o.attr("transform",`translate(${-h.width/2},${-h.height/2+a})`),h.height}(0,n.__name)(t5,"erBox"),(0,n.__name)(t8,"addText"),(0,n.__name)(t4,"lineToPolygon"),(0,n.__name)(t3,"textHelper"),(0,n.__name)(t6,"addText"),(0,n.__name)(t9,"classBox"),(0,n.__name)(t7,"requirementBox"),(0,n.__name)(et,"addText");var ee=(0,n.__name)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function ea(t,e,{config:l}){let i,r,n,s,{labelStyles:y,nodeStyles:f}=(0,a.styles2String)(e);e.labelStyle=y||"";let u=e.width;e.width=(e.width??200)-10;let{shapeSvg:m,bbox:p,label:b}=await o(t,e,g(e)),$=e.padding||10,k="";"ticket"in e&&e.ticket&&l?.kanban?.ticketBaseUrl&&(k=l?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),i=m.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",k).attr("target","_blank"));let _={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};i?{label:r,bbox:n}=await d(i,"ticket"in e&&e.ticket||"",_):{label:r,bbox:n}=await d(m,"ticket"in e&&e.ticket||"",_);let{label:S,bbox:v}=await d(m,"assigned"in e&&e.assigned||"",_);e.width=u;let M=e?.width||0,N=Math.max(n.height,v.height)/2,D=Math.max(p.height+20,e?.height||0)+N,C=-M/2,B=-D/2;b.attr("transform","translate("+($-M/2)+", "+(-N-p.height/2)+")"),r.attr("transform","translate("+($-M/2)+", "+(-N+p.height/2)+")"),S.attr("transform","translate("+($+M/2-v.width-20)+", "+(-N+p.height/2)+")");let{rx:A,ry:L}=e,{cssStyles:R}=e;if("handDrawn"===e.look){let t=h.default.svg(m),l=(0,a.userNodeOverrides)(e,{}),i=A||L?t.path(x(C,B,M,D,A||0),l):t.rectangle(C,B,M,D,l);(s=m.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",R||null)}else{(s=m.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",f).attr("rx",A??5).attr("ry",L??5).attr("x",C).attr("y",B).attr("width",M).attr("height",D);let t="priority"in e&&e.priority;if(t){let e=m.append("line"),a=C+2,l=B+Math.floor((A??0)/2),i=B+D-Math.floor((A??0)/2);e.attr("x1",a).attr("y1",l).attr("x2",a).attr("y2",i).attr("stroke-width","4").attr("stroke",ee(t))}}return c(e,s),e.height=D,e.intersect=function(t){return w(e,t)},m}async function el(t,e){let l,{labelStyles:r,nodeStyles:s}=(0,a.styles2String)(e);e.labelStyle=r;let{shapeSvg:d,bbox:y,halfPadding:f,label:u}=await o(t,e,g(e)),m=y.width+10*f,p=y.height+8*f,x=.15*m,{cssStyles:b}=e,$=y.width+20,k=y.height+20,_=Math.max(m,$),S=Math.max(p,k);u.attr("transform",`translate(${-y.width/2}, ${-y.height/2})`);let v=`M0 0
|
|
11
|
+
a${x},${x} 1 0,0 ${.25*_},${-1*S*.1}
|
|
12
|
+
a${x},${x} 1 0,0 ${.25*_},0
|
|
13
|
+
a${x},${x} 1 0,0 ${.25*_},0
|
|
14
|
+
a${x},${x} 1 0,0 ${.25*_},${.1*S}
|
|
15
|
+
|
|
16
|
+
a${x},${x} 1 0,0 ${.15*_},${.33*S}
|
|
17
|
+
a${.8*x},${.8*x} 1 0,0 0,${.34*S}
|
|
18
|
+
a${x},${x} 1 0,0 ${-1*_*.15},${.33*S}
|
|
19
|
+
|
|
20
|
+
a${x},${x} 1 0,0 ${-1*_*.25},${.15*S}
|
|
21
|
+
a${x},${x} 1 0,0 ${-1*_*.25},0
|
|
22
|
+
a${x},${x} 1 0,0 ${-1*_*.25},0
|
|
23
|
+
a${x},${x} 1 0,0 ${-1*_*.25},${-1*S*.15}
|
|
24
|
+
|
|
25
|
+
a${x},${x} 1 0,0 ${-1*_*.1},${-1*S*.33}
|
|
26
|
+
a${.8*x},${.8*x} 1 0,0 0,${-1*S*.34}
|
|
27
|
+
a${x},${x} 1 0,0 ${.1*_},${-1*S*.33}
|
|
28
|
+
H0 V0 Z`;if("handDrawn"===e.look){let t=h.default.svg(d),r=(0,a.userNodeOverrides)(e,{}),n=t.path(v,r);(l=d.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)(b))}else l=d.insert("path",":first-child").attr("class","basic label-container").attr("style",s).attr("d",v);return l.attr("transform",`translate(${-_/2}, ${-S/2})`),c(e,l),e.calcIntersect=function(t,e){return w(t,e)},e.intersect=function(t){return n.log.info("Bang intersect",e,t),w(e,t)},d}async function ei(t,e){let l,{labelStyles:r,nodeStyles:s}=(0,a.styles2String)(e);e.labelStyle=r;let{shapeSvg:d,bbox:y,halfPadding:f,label:u}=await o(t,e,g(e)),m=y.width+2*f,p=y.height+2*f,x=.15*m,b=.25*m,$=.35*m,k=.2*m,{cssStyles:_}=e,S=`M0 0
|
|
29
|
+
a${x},${x} 0 0,1 ${.25*m},${-1*m*.1}
|
|
30
|
+
a${$},${$} 1 0,1 ${.4*m},${-1*m*.1}
|
|
31
|
+
a${b},${b} 1 0,1 ${.35*m},${.2*m}
|
|
32
|
+
|
|
33
|
+
a${x},${x} 1 0,1 ${.15*m},${.35*p}
|
|
34
|
+
a${k},${k} 1 0,1 ${-1*m*.15},${.65*p}
|
|
35
|
+
|
|
36
|
+
a${b},${x} 1 0,1 ${-1*m*.25},${.15*m}
|
|
37
|
+
a${$},${$} 1 0,1 ${-1*m*.5},0
|
|
38
|
+
a${x},${x} 1 0,1 ${-1*m*.25},${-1*m*.15}
|
|
39
|
+
|
|
40
|
+
a${x},${x} 1 0,1 ${-1*m*.1},${-1*p*.35}
|
|
41
|
+
a${k},${k} 1 0,1 ${.1*m},${-1*p*.65}
|
|
42
|
+
H0 V0 Z`;if("handDrawn"===e.look){let t=h.default.svg(d),r=(0,a.userNodeOverrides)(e,{}),n=t.path(S,r);(l=d.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.handleUndefinedAttr)(_))}else l=d.insert("path",":first-child").attr("class","basic label-container").attr("style",s).attr("d",S);return u.attr("transform",`translate(${-y.width/2}, ${-y.height/2})`),l.attr("transform",`translate(${-m/2}, ${-p/2})`),c(e,l),e.calcIntersect=function(t,e){return w(t,e)},e.intersect=function(t){return n.log.info("Cloud intersect",e,t),w(e,t)},d}async function er(t,e){let{labelStyles:l,nodeStyles:i}=(0,a.styles2String)(e);e.labelStyle=l;let{shapeSvg:r,bbox:n,halfPadding:s,label:h}=await o(t,e,g(e)),d=n.width+8*s,y=n.height+2*s,f="neo"===e.look?`
|
|
43
|
+
M${-d/2} ${y/2-5}
|
|
44
|
+
v${-y+10}
|
|
45
|
+
q0,-5 5,-5
|
|
46
|
+
h${d-10}
|
|
47
|
+
q5,0 5,5
|
|
48
|
+
v${y-5}
|
|
49
|
+
H${-d/2}
|
|
50
|
+
Z
|
|
51
|
+
`:`
|
|
52
|
+
M${-d/2} ${y/2-5}
|
|
53
|
+
v${-y+10}
|
|
54
|
+
q0,-5 5,-5
|
|
55
|
+
h${d-10}
|
|
56
|
+
q5,0 5,5
|
|
57
|
+
v${y-10}
|
|
58
|
+
q0,5 -5,5
|
|
59
|
+
h${-(d-10)}
|
|
60
|
+
q-5,0 -5,-5
|
|
61
|
+
Z
|
|
62
|
+
`;if(!e.domId)throw Error(`defaultMindmapNode: node "${e.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let u=r.append("path").attr("id",e.domId).attr("class","node-bkg node-"+e.type).attr("style",i).attr("d",f);return r.append("line").attr("class","node-line-").attr("x1",-d/2).attr("y1",y/2).attr("x2",d/2).attr("y2",y/2),h.attr("transform",`translate(${-n.width/2}, ${-n.height/2})`),r.append(()=>h.node()),c(e,u),e.calcIntersect=function(t,e){return w(t,e)},e.intersect=function(t){return w(e,t)},r}async function en(t,e){let a={padding:e.padding??0};return W(t,e,a)}(0,n.__name)(ea,"kanbanItem"),(0,n.__name)(el,"bang"),(0,n.__name)(ei,"cloud"),(0,n.__name)(er,"defaultMindmapNode"),(0,n.__name)(en,"mindmapCircle");var es=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:tT},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:tR},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tI},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:tq},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:Q},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:te},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:W},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:el},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:ei},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:tB},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:to},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tx},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tp},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:tZ},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:tm},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tl},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:tU},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:E},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:tO},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:tW},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:tH},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tn},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:td},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:U},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:V},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:G},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tb},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:tK},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:ts},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:tG},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:tS},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:Z},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:ta},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:tJ},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:t0},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:ti},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:tY},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:tr},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:tP},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:tN},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tM},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:T},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:j},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:tz},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:tj},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:tQ},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:tA},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tv}],eh=(0,n.__name)(()=>Object.fromEntries([...Object.entries({state:tE,choice:H,note:tD,rectWithTitle:tL,labelRect:tw,iconSquare:tf,iconCircle:tg,icon:tc,iconRounded:ty,imageSquare:tu,anchor:R,kanbanItem:ea,mindmapCircle:en,defaultMindmapNode:er,classBox:t9,erBox:t5,requirementBox:t7}),...es.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function eo(t){return t in eh}(0,n.__name)(eo,"isValidShape");var ed=new Map;async function ec(t,e,a){let l,r;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let n=e.shape?eh[e.shape]:void 0;if(!n)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let i;"sandbox"===a.config.securityLevel?i="_top":e.linkTarget&&(i=e.linkTarget||"_blank"),l=t.insert("svg:a").attr("xlink:href",e.link).attr("target",i??null),r=await n(l,e,a)}else l=r=await n(t,e,a);return l.attr("data-look",(0,i.handleUndefinedAttr)(e.look)),e.tooltip&&r.attr("title",e.tooltip),ed.set(e.id,l),e.haveCallback&&l.attr("class",l.attr("class")+" clickable"),l}(0,n.__name)(ec,"insertNode");var eg=(0,n.__name)((t,e)=>{ed.set(e.id,t)},"setNodeElem"),ey=(0,n.__name)(()=>{ed.clear()},"clear"),ef=(0,n.__name)(t=>{let e=ed.get(t.id);n.log.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a},"positionNode");t.s(["clear",0,N,"clear2",0,ey,"createLabel_default",0,p,"insertCluster",0,M,"insertNode",0,ec,"isValidShape",0,eo,"labelHelper",0,o,"positionNode",0,ef,"setNodeElem",0,eg,"updateNodeBounds",0,c])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,351278,e=>{"use strict";var t=e.i(95547);e.i(609003);var n=e.i(347578),r=e.i(136013);e.i(620144),e.i(864421),e.i(669587);var a=e.i(908381),i=e.i(171206);e.i(461696);var o=e.i(915888),d=e.i(595007),l=e.i(142038),g=e.i(553908);e.i(178662);var s=e.i(704642);function c(e){var t,n,r,a={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(t=e,g.map(t.nodes(),function(e){var n=t.node(e),r=t.parent(e),a={v:e};return d.isUndefined(n)||(a.value=n),d.isUndefined(r)||(a.parent=r),a})),edges:(n=e,g.map(n.edges(),function(e){var t=n.edge(e),r={v:e.v,w:e.w};return d.isUndefined(e.name)||(r.name=e.name),d.isUndefined(t)||(r.value=t),r}))};return d.isUndefined(e.graph())||(r=e.graph(),a.value=(0,l.default)(r,4)),a}e.i(566661);var f=new Map,h=new Map,p=new Map,u=(0,i.__name)(()=>{h.clear(),p.clear(),f.clear()},"clear"),w=(0,i.__name)((e,t)=>{let n=h.get(t)||[];return i.log.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),v=(0,i.__name)((e,t)=>{let n=h.get(t)||[];return i.log.info("Descendants of ",t," is ",n),i.log.info("Edge is ",e),e.v!==t&&e.w!==t&&(n.includes(e.v)||w(e.v,t)||w(e.w,t)||n.includes(e.w))},"edgeInCluster"),m=(0,i.__name)((e,t,n,r)=>{i.log.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let a=t.children(e)||[];e!==r&&a.push(e),i.log.warn("Copying (nodes) clusterId",e,"nodes",a),a.forEach(a=>{if(t.children(a).length>0)m(a,t,n,r);else{let o=t.node(a);i.log.info("cp ",a," to ",r," with parent ",e),n.setNode(a,o),r!==t.parent(a)&&(i.log.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(i.log.debug("Setting parent",a,e),n.setParent(a,e)):(i.log.info("In copy ",e,"root",r,"data",t.node(e),r),i.log.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));let d=t.edges(a);i.log.debug("Copying Edges",d),d.forEach(a=>{i.log.info("Edge",a);let o=t.edge(a.v,a.w,a.name);i.log.info("Edge data",o,r);try{v(a,r)?(i.log.info("Copying as ",a.v,a.w,o,a.name),n.setEdge(a.v,a.w,o,a.name),i.log.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.log.info("Skipping copy of edge ",a.v,"-->",a.w," rootId: ",r," clusterId:",e)}catch(e){i.log.error(e)}})}i.log.debug("Removing node",a),t.removeNode(a)})},"copy"),y=(0,i.__name)((e,t)=>{let n=t.children(e),r=[...n];for(let a of n)p.set(a,e),r=[...r,...y(a,t)];return r},"extractDescendants"),X=(0,i.__name)((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),a=e.edges().filter(e=>e.v===n||e.w===n),i=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=a.map(e=>({v:e.v,w:e.w}));return i.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},"findCommonEdges"),b=(0,i.__name)((e,t,n)=>{let r,a=t.children(e);if(i.log.trace("Searching children of id ",e,a),a.length<1)return e;for(let e of a){let a=b(e,t,n),i=X(t,n,a);if(a)if(!(i.length>0))return a;else r=a}return r},"findNonClusterChild"),E=(0,i.__name)(e=>f.has(e)&&f.get(e).externalConnections&&f.has(e)?f.get(e).id:e,"getAnchorId"),N=(0,i.__name)((e,t)=>{if(!e||t>10)return void i.log.debug("Opting out, no graph ");for(let t of(i.log.debug("Opting in, graph "),e.nodes().forEach(function(t){e.children(t).length>0&&(i.log.warn("Cluster identified",t," Replacement id in edges: ",b(t,e,t)),h.set(t,y(t,e)),f.set(t,{id:b(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(i.log.debug("Cluster identified",t,h),r.forEach(e=>{w(e.v,t)^w(e.w,t)&&(i.log.warn("Edge: ",e," leaves cluster ",t),i.log.warn("Descendants of XXX ",t,": ",h.get(t)),f.get(t).externalConnections=!0)})):i.log.debug("Not a cluster ",t,h)}),f.keys())){let n=f.get(t).id,r=e.parent(n);r!==t&&f.has(r)&&!f.get(r).externalConnections&&(f.get(t).id=r)}e.edges().forEach(function(t){let n=e.edge(t);i.log.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),i.log.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,a=t.w;if(i.log.warn("Fix XXX",f,"ids:",t.v,t.w,"Translating: ",f.get(t.v)," --- ",f.get(t.w)),f.get(t.v)||f.get(t.w)){if(i.log.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),r=E(t.v),a=E(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let a=e.parent(r);f.get(a).externalConnections=!0,n.fromCluster=t.v}if(a!==t.w){let r=e.parent(a);f.get(r).externalConnections=!0,n.toCluster=t.w}i.log.warn("Fix Replacing with XXX",r,a,t.name),e.setEdge(r,a,n,t.name)}}),i.log.warn("Adjusted Graph",c(e)),C(e,0),i.log.trace(f)},"adjustClustersAndEdges"),C=(0,i.__name)((e,t)=>{if(i.log.warn("extractor - ",t,c(e),e.children("D")),t>10)return void i.log.error("Bailing out");let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r)return void i.log.debug("Done, no node has children",e.nodes());for(let r of(i.log.debug("Nodes = ",n,t),n))if(i.log.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),f.has(r))if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.log.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";f.get(r)?.clusterData?.dir&&(n=f.get(r).clusterData.dir,i.log.warn("Fixing dir",f.get(r).clusterData.dir,n));let a=new s.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.log.warn("Old graph before copy",c(e)),m(r,e,a,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:a}),i.log.warn("New graph after copy node: (",r,")",c(a)),i.log.debug("Old graph after copy",c(e))}else i.log.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.log.debug(f);else i.log.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),i.log.warn("New list of nodes",n),n)){let n=e.node(r);i.log.warn(" Now next level",r,n),n?.clusterNode&&C(n.graph,t+1)}},"extractor"),S=(0,i.__name)((e,t)=>{if(0===t.length)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=e.children(t),a=S(e,r);n=[...n,...a]}),n},"sorter"),_=(0,i.__name)(e=>S(e,e.children()),"sortNodesByHierarchy"),x=(0,i.__name)(async(e,a,d,l,g,s)=>{i.log.warn("Graph in recursive render:XAX",c(a),g);let h=a.graph().rankdir;i.log.trace("Dir in recursive render - dir:",h);let p=e.insert("g").attr("class","root");a.nodes()?i.log.info("Recursive render XXX",a.nodes()):i.log.info("No nodes found for",a),a.edges().length>0&&i.log.info("Recursive edges",a.edge(a.edges()[0]));let u=p.insert("g").attr("class","clusters"),w=p.insert("g").attr("class","edgePaths"),v=p.insert("g").attr("class","edgeLabels"),m=p.insert("g").attr("class","nodes");await Promise.all(a.nodes().map(async function(e){let t=a.node(e);if(void 0!==g){let t=JSON.parse(JSON.stringify(g.clusterData));i.log.trace("Setting data for parent cluster XXX\n Node.id = ",e,"\n data=",t.height,"\nParent cluster",g.height),a.setNode(g.id,t),a.parent(e)||(i.log.trace("Setting parent",e,g.id),a.setParent(e,g.id,t))}if(i.log.info("(Insert) Node XXX"+e+": "+JSON.stringify(a.node(e))),t?.clusterNode){i.log.info("Cluster identified XBX",e,t.width,a.node(e));let{ranksep:r,nodesep:o}=a.graph();t.graph.setGraph({...t.graph.graph(),ranksep:r+25,nodesep:o});let g=await x(m,t.graph,d,l,a.node(e),s),c=g.elem;(0,n.updateNodeBounds)(t,c),t.diff=g.diff||0,i.log.info("New compound node after recursive render XAX",e,"width",t.width,"height",t.height),(0,n.setNodeElem)(c,t)}else a.children(e).length>0?(i.log.trace("Cluster - the non recursive path XBX",e,t.id,t,t.width,"Graph:",a),i.log.trace(b(t.id,a)),f.set(t.id,{id:b(t.id,a),node:t})):(i.log.trace("Node - the non recursive path XAX",e,m,a.node(e),h),await (0,n.insertNode)(m,a.node(e),{config:s,dir:h}))}));let y=(0,i.__name)(async()=>{let e=a.edges().map(async function(e){let n=a.edge(e.v,e.w,e.name);i.log.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),i.log.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(a.edge(e))),i.log.info("Fix",f,"ids:",e.v,e.w,"Translating: ",f.get(e.v),f.get(e.w)),await (0,t.insertEdgeLabel)(v,n)});await Promise.all(e)},"processEdges");await y(),i.log.info("Graph before layout:",JSON.stringify(c(a))),i.log.info("############################################# XXX"),i.log.info("### Layout ### XXX"),i.log.info("############################################# XXX"),(0,o.layout)(a),i.log.info("Graph after layout:",JSON.stringify(c(a)));let X=0,{subGraphTitleTotalMargin:E}=(0,r.getSubGraphTitleMargins)(s);return await Promise.all(_(a).map(async function(e){let t=a.node(e);if(i.log.info("Position XBX => "+e+": ("+t.x,","+t.y,") width: ",t.width," height: ",t.height),t?.clusterNode)t.y+=E,i.log.info("A tainted cluster node XBX1",e,t.id,t.width,t.height,t.x,t.y,a.parent(e)),f.get(t.id).node=t,(0,n.positionNode)(t);else if(a.children(e).length>0){i.log.info("A pure cluster node XBX1",e,t.id,t.x,t.y,t.width,t.height,a.parent(e)),t.height+=E,a.node(t.parentId);let r=t?.padding/2||0,o=t?.labelBBox?.height||0;i.log.debug("OffsetY",o-r||0,"labelHeight",o,"halfPadding",r),await (0,n.insertCluster)(u,t),f.get(t.id).node=t}else{let e=a.node(t.parentId);t.y+=E/2,i.log.info("A regular node XBX1 - using the padding",t.id,"parent",t.parentId,t.width,t.height,t.x,t.y,"offsetY",t.offsetY,"parent",e,e?.offsetY,t),(0,n.positionNode)(t)}})),a.edges().forEach(function(e){let n=a.edge(e);i.log.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(n),n),n.points.forEach(e=>e.y+=E/2);let r=a.node(e.v);var o=a.node(e.w);let g=(0,t.insertEdge)(w,n,f,d,r,o,l);(0,t.positionEdgeLabel)(n,g)}),a.nodes().forEach(function(e){let t=a.node(e);i.log.info(e,t.type,t.diff),t.isGroup&&(X=t.diff)}),i.log.warn("Returning from recursive render XAX",p,X),{elem:p,diff:X}},"recursiveRender"),I=(0,i.__name)(async(e,r)=>{let o=new s.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),d=r.select("g");(0,t.markers_default)(d,e.markers,e.type,e.diagramId),(0,n.clear2)(),(0,t.clear)(),(0,n.clear)(),u(),e.nodes.forEach(e=>{o.setNode(e.id,{...e}),e.parentId&&o.setParent(e.id,e.parentId)}),i.log.debug("Edges:",e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,n=t+"---"+t+"---1",r=t+"---"+t+"---2",a=o.node(t);o.setNode(n,{domId:n,id:n,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),o.setParent(n,a.parentId),o.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),o.setParent(r,a.parentId);let i=structuredClone(e),d=structuredClone(e),l=structuredClone(e);i.label="",i.arrowTypeEnd="none",i.endLabelLeft="",i.endLabelRight="",i.startLabelLeft="",i.id=t+"-cyclic-special-1",d.startLabelRight="",d.startLabelLeft="",d.endLabelLeft="",d.endLabelRight="",d.arrowTypeStart="none",d.arrowTypeEnd="none",d.id=t+"-cyclic-special-mid",l.label="",l.startLabelRight="",l.startLabelLeft="",l.arrowTypeStart="none",a.isGroup&&(i.fromCluster=t,l.toCluster=t),l.id=t+"-cyclic-special-2",l.arrowTypeStart="none",o.setEdge(t,n,i,t+"-cyclic-special-0"),o.setEdge(n,r,d,t+"-cyclic-special-1"),o.setEdge(r,t,l,t+"-cyc<lic-special-2")}else o.setEdge(e.start,e.end,{...e},e.id)}),i.log.warn("Graph at first:",JSON.stringify(c(o))),N(o),i.log.warn("Graph after XAX:",JSON.stringify(c(o)));let l=(0,a.getConfig2)();await x(d,o,e.type,e.diagramId,void 0,l)},"render");e.s(["render",0,I],351278)}]);
|